Selaa lähdekoodia

化验辅检默认推送为是

Luolei 6 vuotta sitten
vanhempi
commit
f4c0eb7740
2 muutettua tiedostoa jossa 20 lisäystä ja 1 poistoa
  1. 14 0
      src/components/icss/PubIndeptTag.vue
  2. 6 1
      src/components/icss/PubTagGroup.vue

+ 14 - 0
src/components/icss/PubIndeptTag.vue

@@ -440,6 +440,20 @@
       newSex(nextVal, prevVal) {
         this.tmpSex = prevVal;
       },
+      newType(nextVal, prevVal) {
+        if(nextVal == 4 || nextVal == 5){
+          this.form.region12 = '0'
+        }else{
+          this.form.region12 = '1'
+        }
+      },
+      newSign(nextVal, prevVal) {
+        if(this.form.region1 == 4 || this.form.region1 == 5){
+          this.form.region12 = '0'
+        }else{
+          this.form.region12 = '1'
+        }
+      },
       newName(nextVal, prevVal) {
         if (this.isNeedSearchSys && nextVal != prevVal && (this.form.region12 == 0)) {
           this.focusSystemName()

+ 6 - 1
src/components/icss/PubTagGroup.vue

@@ -416,7 +416,7 @@ export default {
     },
     newType(nextVal, prevVal) {
       this.tmpOwn = prevVal;
-      if(nextVal == 4){
+      if(nextVal == 4 || nextVal == 5){
         this.form.region12 = '0'
       }else{
         this.form.region12 = '1'
@@ -424,6 +424,11 @@ export default {
     },
     newSign(nextVal, prevVal) {
       this.tmpType = prevVal;
+      if(this.form.region1 == 4 || this.form.region1 == 5){
+        this.form.region12 = '0'
+      }else{
+        this.form.region12 = '1'
+      }
       if (nextVal != prevVal && (this.form.region2 == 2 || this.form.region2 == 6 || this.form.region2 == 7 || this.form.region2 == 4 || this.form.region2 == 11)) {
         this.searchTagList()
       }