增加整改状态与延期状态

This commit is contained in:
binbin_pan 2025-01-17 10:17:53 +08:00
parent 460fbebe42
commit 4b81af70ad
2 changed files with 15 additions and 3 deletions

View File

@ -66,6 +66,11 @@
<template v-slot="scope" v-if="column.prop == 'intoStatus'">
<span>{{ updateStatus(scope.row.intoStatus) }}</span>
</template>
<template v-slot="scope" v-else-if="column.prop == 'isDelayCheck' && userType == '02'">
<span v-if="scope.row.isDelayCheck == 0">未申请</span>
<span v-else-if="scope.row.isDelayCheck == 1">申请中</span>
<span v-else-if="scope.row.isDelayCheck == 2">已申请</span>
</template>
</el-table-column>
<!-- 操作 -->
<el-table-column label="操作" align="center" width="150">
@ -162,6 +167,9 @@ export default {
}
},
created() {
if (this.userType == '02') {
this.tableColumns.splice(9, 0, { label: '延期状态', prop: 'isDelayCheck' })
}
this.getList()
this.getTroubleType()
this.getTroubleLevel()

View File

@ -43,9 +43,7 @@
<el-form-item style="display: flex; justify-content: flex-end" v-if="userType == '00'">
<el-button type="primary" icon="el-icon-search" @click="handleQuery">查询</el-button>
<el-button icon="el-icon-refresh" @click="handleReset">重置</el-button>
<el-button type="text" style="margin-left: 30px; color: #409eff" @click="drawer = true">
高级筛选
</el-button>
<el-button type="text" style="margin-left: 30px; color: #409eff" @click="drawer = true">高级筛选</el-button>
</el-form-item>
<el-form-item v-else>
<el-button type="primary" icon="el-icon-search" @click="handleQuery">查询</el-button>
@ -251,6 +249,11 @@
<template v-slot="scope" v-if="column.prop == 'intoStatus'">
<span>{{ updateStatus(scope.row.intoStatus) }}</span>
</template>
<template v-slot="scope" v-else-if="column.prop == 'isCheck' && userType == '02'">
<span v-if="scope.row.isCheck == 0">未整改</span>
<span v-else-if="scope.row.isCheck == 1">整改中</span>
<span v-else-if="scope.row.isCheck == 2">已整改</span>
</template>
</el-table-column>
<!-- 操作 -->
<el-table-column label="操作" align="center" width="150">
@ -407,6 +410,7 @@ export default {
if (this.userType == '02') {
//
this.tableColumns = this.tableColumns.filter(item => item.prop !== 'proName' && item.prop !== 'subName')
this.tableColumns.splice(9, 0, { label: '整改状态', prop: 'isCheck' })
}
this.getList()
this.getTroubleType()