保安监管系统-验收版本
zhengpz
2021-09-17 272e2e6fb71488f65f46c559daabfea22942c344
首页
3 files modified
86 ■■■■■ changed files
src/views/home/index.vue 79 ●●●●● patch | view | raw | blame | history
src/views/home/indexEchart.js 1 ●●●● patch | view | raw | blame | history
src/views/securityUnitOperation/operationAnalysis.vue 6 ●●●● patch | view | raw | blame | history
src/views/home/index.vue
@@ -402,6 +402,73 @@
      :visible.sync="dialogTableVisible"
    >
      <el-table :data="gridData.data">
        <template v-if="gridData.type === 'zg'">
          <el-table-column :key="gridData.type" type="index"> </el-table-column>
          <el-table-column
            :key="gridData.type"
            prop="realName"
            label="保安姓名"
            :show-overflow-tooltip="true"
            width="100"
          ></el-table-column>
          <el-table-column
            :key="gridData.type"
            prop="deptName"
            label="保安公司"
            :show-overflow-tooltip="true"
          ></el-table-column>
          <el-table-column
            :key="gridData.type"
            prop="sex"
            label="性别"
            :formatter="sexFormatter"
            :show-overflow-tooltip="true"
            width="100"
          ></el-table-column>
          <el-table-column
            :key="gridData.type"
            prop="cardid"
            label="身份证号"
            :show-overflow-tooltip="true"
            width="180"
          ></el-table-column>
          <el-table-column
            :key="gridData.type"
            prop="age"
            label="年龄"
            :show-overflow-tooltip="true"
            width="100"
          ></el-table-column>
          <el-table-column
            :key="gridData.type"
            prop="securitynumber"
            label="保安员证编号"
            :show-overflow-tooltip="true"
            width="150"
          ></el-table-column>
          <el-table-column
            :key="gridData.type"
            prop="phone"
            label="联系方式"
            :show-overflow-tooltip="true"
            width="150"
          ></el-table-column>
          <el-table-column
            :key="gridData.type"
            prop="examinationType"
            label="审查状态"
            :formatter="examinationFormatter"
            :show-overflow-tooltip="true"
            width="100"
          ></el-table-column>
          <el-table-column
            :key="gridData.type"
            prop="examinationMx"
            label="审查明细"
            :show-overflow-tooltip="true"
            width="150"
          ></el-table-column>
        </template>
        <template v-if="gridData.type === 'ks'">
          <el-table-column :key="gridData.type" type="index"> </el-table-column>
          <el-table-column
@@ -730,6 +797,17 @@
    }
  },
  methods: {
    //点击节点
    handleNodeClick1(data) {
      this.value1 = data;
      this.right1loading = true;
      this.getPoorPerformance(3);
    },
    //点击节点
    handleNodeClick2(data) {
      this.value2 = data;
      this.peoWarning();
    },
    shoeDialog1(type, param) {
      this.gridData.data = [];
      this.gridData.total = 0;
@@ -1156,6 +1234,7 @@
      this.gridData.total = 0;
      this.dialogTableVisible = true;
      if (type === "zg") {
        debugger;
        this.gridData.title = "资格异常人员清单";
        this.getQualificationPages(1);
      } else if (type === "wg") {
src/views/home/indexEchart.js
@@ -556,7 +556,6 @@
  return option;
}
function middleData(allData, type) {
  debugger;
  var ncMap = nc;
  let name = "";
  let label = "";
src/views/securityUnitOperation/operationAnalysis.vue
@@ -10,7 +10,7 @@
              class="select1"
              default-expand-all
              v-model="value1"
              placeholder="请选择内容"
              placeholder="请选择辖区"
              type="tree"
              :dic="options1"
              :props="props"
@@ -465,7 +465,7 @@
      lazyTrees().then(res => {
        if (res.data.code === 200) {
          this.options1 = res.data.data;
          this.value1 = this.options1[0] ? this.options1[0].id : "";
          // this.value1 = this.options1[0] ? this.options1[0].id : "";
          this.node = this.options1[0];
          this.getCompanys();
        } else {
@@ -478,7 +478,7 @@
      getCompanys({ jurisdiction: this.value1 }).then(res => {
        if (res.data.code === 200) {
          this.options2 = res.data.data;
          this.value2 = this.options2[0] ? this.options2[0].departmentid : "";
          // this.value2 = this.options2[0] ? this.options2[0].departmentid : "";
          this.enterpriseName = this.options2[0]
            ? this.options2[0].enterpriseName
            : "";