dev-2024年1月8日 #8
|
@ -801,6 +801,21 @@ export default {
|
||||||
// 保存
|
// 保存
|
||||||
confirm() {
|
confirm() {
|
||||||
for (let i = 0; i < this.inspectorList.length; i++) {
|
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 == '') {
|
if (this.inspectorList[i].INSPECTION_USER_ID == '') {
|
||||||
this.$message.warning('第' + (i + 1) + '行必须添加处罚人')
|
this.$message.warning('第' + (i + 1) + '行必须添加处罚人')
|
||||||
return
|
return
|
||||||
|
|
|
@ -67,7 +67,7 @@
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="ACCIDENTS_NAME" label="事故类型" />
|
<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">
|
<el-table-column label="操作" align="center" width="200">
|
||||||
<template slot-scope="{row}">
|
<template slot-scope="{row}">
|
||||||
<el-button type="success" icon="el-icon-view" size="mini" @click="goDetails(row)">查看</el-button>
|
<el-button type="success" icon="el-icon-view" size="mini" @click="goDetails(row)">查看</el-button>
|
||||||
|
|
Loading…
Reference in New Issue