dev-2024年1月8日 #8

Merged
guoyuepeng merged 3 commits from dev-2024年1月8日 into 2024年2月1日测试 2024-02-01 14:07:26 +08:00
2 changed files with 16 additions and 1 deletions

View File

@ -801,6 +801,21 @@ export default {
//
confirm() {
for (let i = 0; i < this.inspectorList.length; i++) {
requestFN(
'/outsourced/checkDepartment',
{
departmentId: this.form.JURISDICTION_UNIT
}
).then((data) => {
if (data.data.errInfo === 'fail') {
this.$message({
message: '勿选其他公司部门!',
type: 'error'
})
}
resolve(true)
}).catch((e) => {
});
if (this.inspectorList[i].INSPECTION_USER_ID == '') {
this.$message.warning('第' + (i + 1) + '行必须添加处罚人')
return

View File

@ -67,7 +67,7 @@
</template>
</el-table-column>
<el-table-column prop="ACCIDENTS_NAME" label="事故类型" />
<el-table-column prop="USER_ID" label="管控责任人" />
<el-table-column prop="USER_NAME" label="管控责任人" />
<el-table-column label="操作" align="center" width="200">
<template slot-scope="{row}">
<el-button type="success" icon="el-icon-view" size="mini" @click="goDetails(row)"></el-button>