From 8e2a42e4a2da78f9cda9fa3e7732a0ef72f0c906 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Fri, 12 Nov 2021 09:29:02 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.105:10010/r/zhba_enterprises

---
 src/views/securityAnalysis/child/socialSecurity.vue |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/src/views/securityAnalysis/child/socialSecurity.vue b/src/views/securityAnalysis/child/socialSecurity.vue
index 20a398b..ee4ba8b 100644
--- a/src/views/securityAnalysis/child/socialSecurity.vue
+++ b/src/views/securityAnalysis/child/socialSecurity.vue
@@ -65,6 +65,7 @@
 
 <script>
 import {
+  getListJurisdiction,
   getuseList,
   getList,
   getDetail,
@@ -75,7 +76,7 @@
 import { mapGetters } from "vuex";
 import { getToken } from "@/util/auth";
 export default {
-  props: ["card"],
+  props: ["card", "reself"],
   data() {
     var card = this.card;
     var deptid,
@@ -401,6 +402,11 @@
           this.deptid;
       }
     },
+    reself() {
+      //刷新表格
+      this.$refs.crud.refreshTable();
+      this.$refs.crud.doLayout();
+    },
   },
   computed: {
     ...mapGetters(["permission", "userInfo"]),
@@ -564,7 +570,11 @@
     onLoad(page, params = {}) {
       this.loading = true;
       params["deptid"] = this.deptid;
-      getList(
+
+      if (this.userInfo.role_name == "公安管理员") {
+        params["jurisdiction"] = this.userInfo.jurisdiction;
+      }
+      getListJurisdiction(
         page.currentPage,
         page.pageSize,
         Object.assign(params, this.query)

--
Gitblit v1.9.3