|
|
@ -69,7 +69,7 @@ |
|
|
<el-table-column :label="$t('handle')" fixed="right" header-align="center" align="center" width="150"> |
|
|
<el-table-column :label="$t('handle')" fixed="right" header-align="center" align="center" width="150"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<el-button type="text" size="small" @click="addHandle(scope.row.id,'1')">{{ '查看' }}</el-button> |
|
|
<el-button type="text" size="small" @click="addHandle(scope.row.id,'1')">{{ '查看' }}</el-button> |
|
|
<el-button v-if="scope.row.delShow" type="text" size="small" @click="addHandle(scope.row.id,null)">{{ '修改' }}</el-button> |
|
|
<el-button v-if="scope.row.delShow" type="text" size="small" @click="updateHandle(scope.row.id)">{{ '修改' }}</el-button> |
|
|
<el-button v-if="$hasPermission('sub:check:tiral') && scope.row.status==='1'" type="text" size="small" @click="addHandle(scope.row.id,scope.row.status)">{{ '初审' }}</el-button> |
|
|
<el-button v-if="$hasPermission('sub:check:tiral') && scope.row.status==='1'" type="text" size="small" @click="addHandle(scope.row.id,scope.row.status)">{{ '初审' }}</el-button> |
|
|
<el-button v-if="$hasPermission('sub:check:acceptance') && scope.row.status==='2'" type="text" size="small" @click="addHandle(scope.row.id,scope.row.status)">{{ '验收' }}</el-button> |
|
|
<el-button v-if="$hasPermission('sub:check:acceptance') && scope.row.status==='2'" 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="deleteHandle(scope.row.id)">{{ '删除' }}</el-button> |
|
|
<el-button v-if="scope.row.delShow" type="text" size="small" @click="deleteHandle(scope.row.id)">{{ '删除' }}</el-button> |
|
|
@ -174,6 +174,10 @@ export default { |
|
|
this.$parent.selectComponent = 'Kpisubpositiondetail' |
|
|
this.$parent.selectComponent = 'Kpisubpositiondetail' |
|
|
this.$router.push({ path: '/kpi-subpositioncheckinforoute'}) |
|
|
this.$router.push({ path: '/kpi-subpositioncheckinforoute'}) |
|
|
}, |
|
|
}, |
|
|
|
|
|
updateHandle (id) { |
|
|
|
|
|
this.$parent.selectComponent = 'Kpisubpositiondetail' |
|
|
|
|
|
this.$router.push({ path: '/kpi-subpositioncheckinforoute', query: { id: id } }) |
|
|
|
|
|
}, |
|
|
firstTrial (infoId) { |
|
|
firstTrial (infoId) { |
|
|
this.trialVisible = true |
|
|
this.trialVisible = true |
|
|
this.$nextTick(() => { |
|
|
this.$nextTick(() => { |
|
|
|