保安服务企业管理项目备份
shuishen
2021-11-12 8e2a42e4a2da78f9cda9fa3e7732a0ef72f0c906
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)