seimin 2 years ago
parent
commit
1759189b09
2 changed files with 3 additions and 3 deletions
  1. 2 2
      src/views/newIncident.vue
  2. 1 1
      src/views/processing.vue

+ 2 - 2
src/views/newIncident.vue

@@ -1202,7 +1202,7 @@ export default {
1202
       }
1202
       }
1203
       if (
1203
       if (
1204
         this.order == 1 &&
1204
         this.order == 1 &&
1205
-        ((this.integralMechanism == 1 && intersection.length && integralRoles.length) ||
1205
+        ((this.integralMechanism == 1 && (intersection.length || integralRoles.length === 0)) ||
1206
           (this.integralMechanism == 2 && this.loginUser.userType.value == 2))
1206
           (this.integralMechanism == 2 && this.loginUser.userType.value == 2))
1207
       ) {
1207
       ) {
1208
         // 直接处理,积分机制
1208
         // 直接处理,积分机制
@@ -1312,7 +1312,7 @@ export default {
1312
             }
1312
             }
1313
             if (
1313
             if (
1314
               this.order == 1 &&
1314
               this.order == 1 &&
1315
-              ((this.integralMechanism == 1 && intersection.length && integralRoles.length) ||
1315
+              ((this.integralMechanism == 1 && (intersection.length || integralRoles.length === 0)) ||
1316
                 (this.integralMechanism == 2 &&
1316
                 (this.integralMechanism == 2 &&
1317
                   this.loginUser.userType.value == 2))
1317
                   this.loginUser.userType.value == 2))
1318
             ) {
1318
             ) {

+ 1 - 1
src/views/processing.vue

@@ -1689,7 +1689,7 @@ export default {
1689
       }
1689
       }
1690
       if (
1690
       if (
1691
         this.order == 1 &&
1691
         this.order == 1 &&
1692
-        ((this.integralMechanism == 1 && intersection.length && integralRoles.length) ||
1692
+        ((this.integralMechanism == 1 && (intersection.length || integralRoles.length === 0)) ||
1693
           (this.integralMechanism == 2 && this.loginUser.userType.value == 2))
1693
           (this.integralMechanism == 2 && this.loginUser.userType.value == 2))
1694
       ) {
1694
       ) {
1695
         //liaomingming
1695
         //liaomingming