diff --git a/ruoyi-ui/src/views/ehs/ehsHiddenDanger/index.vue b/ruoyi-ui/src/views/ehs/ehsHiddenDanger/index.vue
index 436be2f..3a3c88b 100644
--- a/ruoyi-ui/src/views/ehs/ehsHiddenDanger/index.vue
+++ b/ruoyi-ui/src/views/ehs/ehsHiddenDanger/index.vue
@@ -374,7 +374,7 @@
@@ -382,21 +382,21 @@
协办
录入反馈
显示反馈
@@ -1041,13 +1041,16 @@ export default {
handleAssist(row) {
this.reset();
this.openAssist = true;
- this.assistDeptList = row.assistDept.split(",").map(Number);
+ if (row.assistDept) {
+ this.assistDeptList = row.assistDept.split(",").map(Number);
+ } else {
+ this.assistDeptList = [];
+ }
this.currAssistHiddenDangerId = row.hiddenDangerId;
},
/** 协办提交*/
assistForm() {
let deptIds = this.assistDeptList.join();
- console.log(this.currAssistHiddenDangerId)
if (this.currAssistHiddenDangerId != null) {
assistEhsHiddenDanger({"hiddenDangerId":this.currAssistHiddenDangerId,"assistDept":deptIds}).then(response => {
this.$modal.msgSuccess("协办成功");