seimin 2 anos atrás
pai
commit
b1feb9f47b
2 arquivos alterados com 3 adições e 3 exclusões
  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 1203
       if (
1204 1204
         this.order == 1 &&
1205
-        ((this.integralMechanism == 1 && intersection.length) ||
1205
+        ((this.integralMechanism == 1 && intersection.length && integralRoles.length) ||
1206 1206
           (this.integralMechanism == 2 && this.loginUser.userType.value == 2))
1207 1207
       ) {
1208 1208
         // 直接处理,积分机制
@@ -1312,7 +1312,7 @@ export default {
1312 1312
             }
1313 1313
             if (
1314 1314
               this.order == 1 &&
1315
-              ((this.integralMechanism == 1 && intersection.length) ||
1315
+              ((this.integralMechanism == 1 && intersection.length && integralRoles.length) ||
1316 1316
                 (this.integralMechanism == 2 &&
1317 1317
                   this.loginUser.userType.value == 2))
1318 1318
             ) {

+ 1 - 1
src/views/processing.vue

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