Hwt 3 years ago
parent
commit
38bf55383c

+ 2 - 0
operationSupport/src/views/flow/index.vue

@@ -154,6 +154,8 @@ export default {
               return '运维工单'
             } else if (val == '4') {
               return '应收审核'
+            } else if (val == 5) {
+              return '关闭工单'
             }
             // debugger
             // let typeName = '',

+ 14 - 3
operationSupport/src/views/workOrders/index.vue

@@ -200,7 +200,8 @@ export default {
         }
       ],
       findUser: [],
-      mixins_post: 'get'
+      mixins_post: 'get',
+      companyOrgId: '',
     };
   },
   created () {
@@ -208,10 +209,20 @@ export default {
     this.mixins_dataUrl = '/czc-community/workOrder/pageByHandle';
     this.mixins_query = {};
     this.mixins_search();
-    this.getUserList();
+    this.findLoginUserById();
+
   },
   mounted () { },
   methods: {
+    // 0/czc-user-center/user/findLoginUserById
+    findLoginUserById () {
+      this.$http.postForm('/czc-user-center/user/findLoginUserById').then(({ status, data, msg }) => {
+        if (status == 0) {
+          this.companyOrgId = data.companyOrgId;
+          this.getUserList();
+        }
+      })
+    },
     getorgTree () {
       this.$http
         .get('/czc-community/assets/community/list')
@@ -223,7 +234,7 @@ export default {
         .catch(function () { });
     },
     getUserList () {
-      this.$http.get('/czc-user-center/user/findUserList').then(({ data, status, msg }) => {
+      this.$http.get('/czc-user-center/user/findUserList', { companyOrgId: this.companyOrgId, userType: 3 }).then(({ data, status, msg }) => {
         this.findUser = data;
       });
     },

+ 9 - 9
operationSupport/src/views/workOrders/popups/closeTsk.vue

@@ -78,7 +78,7 @@ export default {
         auditStatus: '',
         resource: '1'
       },
-      dataJurisdiction: '',//是否含有审核权限
+      // dataJurisdiction: '',//是否含有审核权限
     };
   },
 
@@ -122,13 +122,13 @@ export default {
       }
     },
     // /czc-community/workOrder/checkAudit
-    checkAudit () {
-      this.$http.postForm('/czc-community/workOrder/checkAudit', { orderId: Number(this.params.row.id) }).then(({ data, status, msg }) => {
-        if (status == 0) {
-          this.dataJurisdiction = data;
-        }
-      })
-    }
+    // checkAudit () {
+    //   this.$http.postForm('/czc-community/workOrder/checkAudit', { orderId: Number(this.params.row.id) }).then(({ data, status, msg }) => {
+    //     if (status == 0) {
+    //       this.dataJurisdiction = data;
+    //     }
+    //   })
+    // }
   },
   created () {
     // this.formData.orderId = JSON.parse(JSON.stringify(this.params.data)).id;
@@ -141,7 +141,7 @@ export default {
       this.form.resource = '0';
     }
     if (this.params.row.auditStatus != null) {
-      this.checkAudit();
+      // this.checkAudit();
     }
 
   }