shuishen
2021-11-09 bc4f603fe677aecb273e3a192ff1be69202bbd78
src/views/statisticalQueryManagement/securityGuardDetail.vue
@@ -15,6 +15,7 @@
      @size-change="sizeChange"
      @refresh-change="refreshChange"
      @row-click="handleRowClick"
      @on-load="onLoad"
    >
    </avue-crud>
  </basic-container>
@@ -24,6 +25,7 @@
import { pageSecurity } from "../../api/statisticalQueryManagement/statisticalQueryManagement";
export default {
  name: "保安员明细",
  props: ["fwdeptId", "paramCz"],
  data() {
    return {
      page: {
@@ -95,8 +97,7 @@
            prop: "realName",
            search: true,
            searchSpan: 4,
            display: false,
            width: 78
            display: false
          },
          {
            label: "性别",
@@ -116,13 +117,12 @@
              }
            ],
            slot: true,
            display: false,
            width: 48
            display: false
          },
          {
            label: "保安公司",
            prop: "deptName",
            // width: 120,
            width: 300,
            // search: true,
            // searchSpan: 4,
            overHidden: true,
@@ -134,7 +134,8 @@
            prop: "securitynumber",
            display: false,
            searchSpan: 5,
            searchLabelWidth: 110
            searchLabelWidth: 110,
            width: 180
            // search: true,
          },
          {
@@ -142,37 +143,37 @@
            prop: "cardid",
            slot: true,
            display: false,
            width: 145
            width: 180
          },
          {
            label: "联系方式",
            prop: "phone",
            slot: true,
            display: false,
            width: 100
            width: 180
          },
          {
            label: "联系地址",
            prop: "address",
            slot: true,
            display: false,
            hide: true
          },
          // {
          //   label: "联系地址",
          //   prop: "address",
          //   slot: true,
          //   display: false,
          //   hide: true
          // },
          {
            label: "入职时间",
            prop: "rtime",
            slot: true,
            display: false,
            width: 82
            width: 180
          },
          {
            label: "所属角色",
            prop: "roleName",
            slot: true,
            display: false,
            width: 78,
            hide: true
          },
          // {
          //   label: "所属角色",
          //   prop: "roleName",
          //   slot: true,
          //   display: false,
          //   width: 78,
          //   hide: true
          // },
          // {
          //   label: "所属辖区",
@@ -212,8 +213,7 @@
              }
            ],
            slot: true,
            display: false,
            width: 70
            display: false
          },
          {
            label: "是否持证",
@@ -236,8 +236,7 @@
              }
            ],
            slot: true,
            display: false,
            width: 70
            display: false
          }
        ]
      },
@@ -286,8 +285,12 @@
      let param = {};
      param["realName"] = params["realName"] || "";
      param["status"] = params["status"] || "";
      param["deptId"] = this.deptid;
      param["hold"] = params["hold"] || "";
      param["deptId"] = this.fwdeptId;
      if (this.paramCz) {
        param["hold"] = "0";
      } else {
        param["hold"] = params["hold"] || "";
      }
      param["current"] = page.currentPage;
      param["size"] = page.pageSize;
      pageSecurity(param).then(res => {
@@ -312,7 +315,7 @@
    }
  },
  mounted() {
    this.getLocationParams();
    // this.getLocationParams();
  }
};
</script>