|
@@ -104,21 +104,35 @@
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<div class="table-button-box">
|
|
<div class="table-button-box">
|
|
<p class="table-button-null"></p>
|
|
<p class="table-button-null"></p>
|
|
|
|
+ <!-- 校级 -->
|
|
<p class="table-button-p"
|
|
<p class="table-button-p"
|
|
- v-if="scope.row.checkStatus == 0"
|
|
|
|
|
|
+ v-if="scope.row.checkStatus == 0 && propsData.pageType == 1"
|
|
@click="tableButton(1,scope.row)"
|
|
@click="tableButton(1,scope.row)"
|
|
v-hasPermiRouter="['security:checkPlan:detail']"
|
|
v-hasPermiRouter="['security:checkPlan:detail']"
|
|
>开始检查</p>
|
|
>开始检查</p>
|
|
|
|
+ <!-- 院级 -->
|
|
|
|
+ <p class="table-button-p"
|
|
|
|
+ v-if="scope.row.checkStatus == 0 && propsData.pageType == 2"
|
|
|
|
+ @click="tableButton(1,scope.row)"
|
|
|
|
+ v-hasPermiRouter="['security:checkPlan_1:detail']"
|
|
|
|
+ >开始检查</p>
|
|
<p class="table-button-p"
|
|
<p class="table-button-p"
|
|
v-if="scope.row.checkStatus == 1"
|
|
v-if="scope.row.checkStatus == 1"
|
|
@click="tableButton(2,scope.row)"
|
|
@click="tableButton(2,scope.row)"
|
|
|
|
|
|
>详情</p>
|
|
>详情</p>
|
|
|
|
+ <!-- 校级 -->
|
|
<p class="table-button-p"
|
|
<p class="table-button-p"
|
|
- v-if="scope.row.checkStatus == 2"
|
|
|
|
|
|
+ v-if="scope.row.checkStatus == 2 && propsData.pageType == 1"
|
|
@click="tableButton(3,scope.row)"
|
|
@click="tableButton(3,scope.row)"
|
|
v-hasPermiRouter="['security:checkPlan:detail']"
|
|
v-hasPermiRouter="['security:checkPlan:detail']"
|
|
>编辑</p>
|
|
>编辑</p>
|
|
|
|
+ <!-- 院级 -->
|
|
|
|
+ <p class="table-button-p"
|
|
|
|
+ v-if="scope.row.checkStatus == 2 && propsData.pageType == 2"
|
|
|
|
+ @click="tableButton(3,scope.row)"
|
|
|
|
+ v-hasPermiRouter="['security:checkPlan_1:detail']"
|
|
|
|
+ >编辑</p>
|
|
<p class="table-button-null"></p>
|
|
<p class="table-button-null"></p>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|