wangziqian 5 년 전
부모
커밋
c4f942498b
2개의 변경된 파일12개의 추가작업 그리고 0개의 파일을 삭제
  1. 7 0
      src/views/ToConfigure/components/modifyNotice.vue
  2. 5 0
      src/views/ToConfigure/components/noticeConfig.vue

+ 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