From bc4f603fe677aecb273e3a192ff1be69202bbd78 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Tue, 09 Nov 2021 20:49:00 +0800
Subject: [PATCH] 部分改动

---
 src/views/securityCompany/computents/service.vue |   29 ++---------------------------
 1 files changed, 2 insertions(+), 27 deletions(-)

diff --git a/src/views/securityCompany/computents/service.vue b/src/views/securityCompany/computents/service.vue
index fec9cb1..b97fc23 100644
--- a/src/views/securityCompany/computents/service.vue
+++ b/src/views/securityCompany/computents/service.vue
@@ -135,28 +135,7 @@
           // },
           {
             label: "所属辖区",
-            prop: "jurisdiction",
-            // hide: true,
-            searchLabelWidth: 80,
-            // search: true,
-            searchSpan: 4,
-            overHidden: true,
-            labelWidth: 138,
-            type: "tree",
-            dicUrl: "/api/jurisdiction/lazy-tree",
-            props: {
-              label: "title",
-              value: "id",
-            },
-            checkStrictly: true,
-            slot: true,
-            rules: [
-              {
-                required: true,
-                message: "请选择所属辖区",
-                trigger: "click",
-              },
-            ],
+            prop: "dispatcherUnitName",
           },
           // {
           //   label: "所属辖区",
@@ -301,7 +280,6 @@
   },
   created() {
     var that = this;
-    // console.log(this.form);
     this.departmentids = {
       deptId: this.form.departmentid,
     };
@@ -341,13 +319,11 @@
       this.serviceOnLoad(this.servicePage, this.serviceQuery);
     },
     serviceOnLoad(page, params = {}) {
-      // console.log(this.form.departmentid, "serviceData");
       this.serviceLoading = true;
       params = {
         ...params,
         ...this.departmentids,
       };
-      // console.log(params);
       getdatas(
         page.currentPage,
         page.pageSize,
@@ -357,7 +333,6 @@
 
         this.servicePage.total = data.total;
         this.serviceData = data.records;
-        // console.log(this.serviceData, "this.serviceData");
         this.serviceLoading = false;
         this.$refs.serviceCrud.refreshTable();
         this.$refs.serviceCrud.doLayout();
@@ -392,4 +367,4 @@
 </script>
 
 <style>
-</style>
\ No newline at end of file
+</style>

--
Gitblit v1.9.3