禅道bug修复

This commit is contained in:
BianLzhaoMin 2025-07-04 14:30:10 +08:00
parent ab2574e691
commit 9ef45569a8
4 changed files with 11 additions and 2 deletions

View File

@ -259,7 +259,7 @@ export default {
let title = '整改回传'
if (type === 1) {
isApprove = true
title = '隐患整改审批'
title = '延期申请审批'
} else if (type === 2) {
isRectify = true
title = '整改回传'

View File

@ -1487,7 +1487,7 @@ export default {
personType: jsonData[i][6] === '监理负责人' ? '1' : '2',
sex: jsonData[i][2] === '男' ? '0' : '1',
}
const isDuplicate = this.excelData.some(item => item.arg5 === rowData.arg5)
const isDuplicate = this.excelData.some(item => item.arg5 && item.arg5 === rowData.arg5)
if (isDuplicate) {
this.errorPhone.push(rowData.arg5)
}

View File

@ -397,6 +397,7 @@ export default {
},
//
resetQuery() {
this.queryParams.consName = undefined
this.loading = true
this.resetForm('personQueryForm')
this.handleQuery()

View File

@ -152,6 +152,9 @@
<el-button type="primary" @click="submitForm" v-preventReClick="5000"> </el-button>
<el-button @click="cancel"> </el-button>
</div>
<div slot="footer" class="dialog-footer" v-else style="float: right">
<el-button type="primary" @click="onHandleCancel">关闭</el-button>
</div>
</div>
</el-tab-pane>
<!-- <el-tab-pane label="审批信息" name="second">
@ -469,6 +472,11 @@ export default {
cancel() {
this.$tab.closePage()
},
onHandleCancel() {
this.$router.go(-1)
this.$tab.closePage()
},
},
}
</script>