liuyg
2021-12-29 ef992ecbf20a65db22860b54a54f98bff0a5b04d
src/views/securityAnalysis/child/certificate.vue
@@ -10,6 +10,7 @@
      :data="data1"
      :page.sync="page1"
      :table-loading="loading1"
       @sort-change="sortChange"
      @on-load="getPractitionersPageInfo(page1)"
      @search-change="searchChange"
      @search-reset="searchReset"
@@ -38,6 +39,8 @@
      search = false;
    }
    return {
      sort: "",
      sortName: "",
      securityid1: "",
      ExperienceVisible: false,
      loading1: true,
@@ -84,6 +87,7 @@
            // prop: "deptName",
            prop: "deptId",
            type: "tree",
            sort:true,
            dicUrl: dicUrl,
            props: {
              label: "title",
@@ -176,6 +180,11 @@
            ],
          },
          {
            label: "保安证编号",
            prop: "securitynumber",
            disabled: true,
          },
          {
            label: "发证时间",
            prop: "paperTime",
            disabled: true,
@@ -185,6 +194,35 @@
    };
  },
  methods: {
    //排序
    sortChange(value) {
      // console.log(value, 51151515);
      if (value.order == "ascending") {
        this.sort = "asc";
      }
      if (value.order == "descending") {
        this.sort = "desc";
      }
      this.sortName = value.prop;
      //字段匹配
      if (value.prop == "sexs") {
        this.sortName = "sex";
      }
      if (value.prop == "examinationType") {
        this.sortName = "examination_type";
      }
      if (value.prop == "userType") {
        this.sortName = "user_type";
      }
      this.onLoad(this.page, this.query);
    },
    //清空按钮
    selectionClear() {
      // this.selectionList = [];
      this.sort = "";
      this.sortName = "";
      // this.$refs.crud.toggleSelection();
    },
    getPractitionersPageInfo(page, params = {}) {
      if (this.card.jurisdiction == 1372091709474910209) {
        this.card.jurisdiction = "";