wangziqian 5 years ago
parent
commit
492b7e43f0
1 changed files with 6 additions and 10 deletions
  1. 6 10
      src/views/ToConfigure/components/modifyNotice.vue

+ 6 - 10
src/views/ToConfigure/components/modifyNotice.vue

@@ -147,7 +147,7 @@
           v-model="formData.noticeTime"
           placeholder="任意时间点"
           size="small"
-          value-format="HH:mm:ss"
+          value-format="HH:mm"
           :picker-options="{
             start: '00:00',
             step: '00:15',
@@ -302,11 +302,11 @@ export default {
       },
       immediate: true
     },
-    'formData.clientId': { // 客户端改变,版本默认取第一个版本
-      handler(newV) {
-        this.formData.clientVersionId = (this.clientList[0] && this.clientList[0].code) || null
-      }
-    },
+    // 'formData.clientId': { // 客户端改变,版本默认取第一个版本
+    //   handler(newV) {
+    //     this.formData.clientVersionId = (this.clientList[0] && this.clientList[0].code) || null
+    //   }
+    // },
     'noticeList.Email': {
       handler(newV, oldV) {
         if (newV) {
@@ -497,10 +497,6 @@ export default {
       this.GroupList.splice(index, 1)
     },
     validate() { // 校验入参
-      if (this.formData.requireOrientIdList.length < 1 && this.type === 'require') {
-        this.$message({ message: '请选择需求方向', type: 'error', duration: 1000, offset: 150 })
-        return false
-      }
       if (this.formData.techModuleIdList.length < 1 && this.type === 'task') {
         this.$message({ message: '请选择技术方向', type: 'error', duration: 1000, offset: 150 })
         return false