From af0aaf0fe19dc69369ee2f7e5ca001c24353a22e Mon Sep 17 00:00:00 2001
From: liuyg <liuyg@qq.com>
Date: Wed, 16 Feb 2022 17:22:52 +0800
Subject: [PATCH] 冲突

---
 src/views/securityGuardManagement/registerOnce.vue |   15 ++++++++++-----
 1 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/src/views/securityGuardManagement/registerOnce.vue b/src/views/securityGuardManagement/registerOnce.vue
index ae542ac..90f06c6 100644
--- a/src/views/securityGuardManagement/registerOnce.vue
+++ b/src/views/securityGuardManagement/registerOnce.vue
@@ -28,14 +28,14 @@
             @refresh-change="refreshChange"
             @on-load="onLoad"
           >
-            <template slot-scope="{ row }" slot="deptId">
+            <!-- <template slot-scope="{ row }" slot="deptId">
               <el-tag
                 class="rowClickSelf"
                 title="点击查看所属公司情况"
                 @click="rowClickSelf(row.deptId)"
                 >{{ row.$deptId }}</el-tag
               >
-            </template>
+            </template> -->
             <template slot-scope="{ type, size, row }" slot="menu">
               <el-button
                 :size="size"
@@ -300,7 +300,7 @@
             display: false,
           },
           {
-            label: "所属保安公司",
+            label: "企业名称",
             searchLabelWidth: "110",
             // prop: "deptName",
             prop: "deptId",
@@ -616,6 +616,9 @@
       return ids.join(",");
     },
   },
+  created(){
+    this.departmentid = this.$route.query.departmentid;
+  },
   mounted() {
     //重复菜单
 
@@ -643,7 +646,7 @@
     // 判断是否从保安公司人数点击跳转
     if (this.$route.query.departmentid) {
       this.departmentid = this.$route.query.departmentid;
-      // console.log(this.departmentid, "ddddddddddddd");
+      console.log(this.departmentid, "ddddddddddddd");
       this.spanRight = 24;
       this.spanLeft = 0;
       var d = this.option.column;
@@ -809,12 +812,14 @@
     refreshChange() {
       this.onLoad(this.page, this.query);
     },
-    onLoad(page, params = {}, deptId) {
+    onLoad(page, params = {}) {
       this.loading = true;
       params["jurisdiction"] = this.jurisdiction;
       if (this.departmentid) {
         params["deptId"] = this.departmentid;
       }
+      console.log(params,123456)
+      console.log(this.query,123456)
       getListSecurity(
         page.currentPage,
         page.pageSize,

--
Gitblit v1.9.3