|
|
@ -201,12 +201,12 @@ |
|
|
|
<el-table-column prop="note" label="备注" header-align="center" align="center" width="110" show-overflow-tooltip></el-table-column> |
|
|
|
<el-table-column prop="checkStateName" label="审核状态" header-align="center" align="center" width="80" show-overflow-tooltip></el-table-column> |
|
|
|
<el-table-column prop="checkReason" label="审核理由" header-align="center" align="center" width="80" show-overflow-tooltip></el-table-column> |
|
|
|
<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="170"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-button v-if="scope.row.checkState === '0'" type="text" size="small" class="div-table-button--edit" @click="handleEdit(scope.$index)">{{ $t('update') }}</el-button> |
|
|
|
<el-button type="text" size="small" class="div-table-button--delete--noline" @click="handleDelete(scope.row.id)">{{ $t('delete') }}</el-button> |
|
|
|
<el-button v-if="scope.row.checkState === '0'" type="text" class="div-table-button--detail" size="small" |
|
|
|
@click="handleWatch(scope.row)">审核</el-button> |
|
|
|
<el-button v-if="scope.row.checkState !== '2'"type="text" size="small" class="div-table-button--delete--noline" @click="handleDelete(scope.row.id)">{{ $t('delete') }}</el-button> |
|
|
|
<el-button v-if="scope.row.checkState === '0'" type="text" class="div-table-button--detail" size="small" @click="handleWatch(scope.row)">审核</el-button> |
|
|
|
<el-button type="text" class="div-table-button--detail" size="small" @click="handleLook(scope.$index)">查看</el-button> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
@ -436,6 +436,13 @@ export default { |
|
|
|
this.$message.success("操作失败!"); |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
async handleLook(rowIndex) { |
|
|
|
this.formTitle = "查看"; |
|
|
|
this.checkVisible = true; |
|
|
|
await nextTick(); |
|
|
|
this.$refs.add_parameter.init(this.dataList[rowIndex],true); |
|
|
|
}, |
|
|
|
handleClearVillage() { |
|
|
|
this.dataForm.buildId = '' |
|
|
|
this.dataForm.homeId = '' |
|
|
@ -488,7 +495,7 @@ export default { |
|
|
|
this.$http |
|
|
|
.post('/gov/org/customergrid/gridoption', { |
|
|
|
agencyId: user.agencyId, |
|
|
|
purpose: 'query' |
|
|
|
purpose: 'addorupdate' |
|
|
|
}) |
|
|
|
.then(({ data: res }) => { |
|
|
|
if (res.code !== 0) { |
|
|
|