wangziqian 5 年 前
コミット
c4f942498b

+ 7 - 0
src/views/ToConfigure/components/modifyNotice.vue

@@ -324,6 +324,13 @@ export default {
           this.DChartList = []
         }
       }
+    },
+    'noticeList.Group': {
+      handler(newV, oldV) {
+        if (!newV) {
+          this.GroupList = []
+        }
+      }
     }
   },
   created() {

+ 5 - 0
src/views/ToConfigure/components/noticeConfig.vue

@@ -186,6 +186,11 @@ export default {
       }
     },
     showDetail(item) { // 查看详情
+      if (item.requireOrientIdList.length > 0) {
+        this.modifyType = 'require'
+      } else if (item.techModuleIdList.length > 0) {
+        this.modifyType = 'task'
+      }
       this.modifyData = item
       this.disabled = true
       this.visibleModify = true