Browse Source

【网格实体化运作】-【按钮状态】-(王童)-2020/12/9

master
Jackwang 5 years ago
parent
commit
42d71bca95
  1. 4
      src/views/modules/kpi/subpositioncheckinfo.vue

4
src/views/modules/kpi/subpositioncheckinfo.vue

@ -70,8 +70,8 @@
<template slot-scope="scope">
<el-button type="text" size="small" @click="addHandle(scope.row.id,scope.row.status)">{{ '查看' }}</el-button>
<el-button v-if="scope.row.delShow" type="text" size="small" @click="openHandle(scope.row.id)">{{ '修改' }}</el-button>
<el-button v-if="$hasPermission('sub:check:tiral')" type="text" size="small" @click="firstTrial(scope.row.id)">{{ '初审' }}</el-button>
<el-button v-if="$hasPermission('sub:check:acceptance')" type="text" size="small" @click="acceptance(scope.row.id)">{{ '验收' }}</el-button>
<el-button v-if="$hasPermission('sub:check:tiral') && scope.row.status==='1'" type="text" size="small" @click="firstTrial(scope.row.id)">{{ '初审' }}</el-button>
<el-button v-if="$hasPermission('sub:check:acceptance') && scope.row.status==='2'" type="text" size="small" @click="acceptance(scope.row.id)">{{ '验收' }}</el-button>
<el-button v-if="scope.row.delShow" type="text" size="small" @click="deleteHandle(scope.row.id)">{{ '删除' }}</el-button>
<!-- <el-button v-if="$hasPermission('kpi:subpositioncheckinfo:update')" type="text" size="small" @click="addOrUpdateHandle(scope.row.id)">{{ $t('update') }}</el-button>-->
<!-- <el-button v-if="$hasPermission('kpi:subpositioncheckinfo:delete')" type="text" size="small" @click="deleteHandle(scope.row.id)">{{ $t('delete') }}</el-button>-->

Loading…
Cancel
Save