保安监管系统-验收版本
zhengpz
2021-09-17 c12a6cdcbbef8ebcb07db87bbb702b7c4e792815
改接口
5 files modified
34 ■■■■ changed files
src/api/index/index.js 12 ●●●● patch | view | raw | blame | history
src/views/home/index.vue 6 ●●●●● patch | view | raw | blame | history
src/views/securityUnitOperation/economicAnalysis.vue 2 ●●● patch | view | raw | blame | history
src/views/securityUnitOperation/operationAnalysis.vue 12 ●●●● patch | view | raw | blame | history
src/views/statisticalQueryManagement/businessStatisticsPq.vue 2 ●●● patch | view | raw | blame | history
src/api/index/index.js
@@ -47,10 +47,16 @@
    params: params
  });
};
// export const selectFj = () => {
//   return request({
//     url: "/api/information/selectFj",
//     method: "post"
//   });
// };
export const selectFj = () => {
  return request({
    url: "/api/information/selectFj",
    method: "post"
    url: "/api/information/selectSubstationWarnInfo",
    method: "get"
  });
};
export const selectBx = params => {
@@ -217,4 +223,4 @@
    method: "get",
    params: params
  });
};
};
src/views/home/index.vue
@@ -601,6 +601,12 @@
            label="预警信息内容"
            :show-overflow-tooltip="true"
          ></el-table-column>
           <el-table-column
            :key="gridData.type"
            prop="znum"
            label="数量(条)"
            :show-overflow-tooltip="true"
          ></el-table-column>
        </template>
        <template v-if="gridData.type === 'ywdx_gs'">
          <el-table-column :key="gridData.type" type="index"> </el-table-column>
src/views/securityUnitOperation/economicAnalysis.vue
@@ -413,7 +413,7 @@
      this.showcurTable(type);
    },
    showcurTable(type) {
      this.dialogloading = true;
      // this.dialogloading = true;
      this.dialogTableVisible = true;
      if (type === "sb") {
        this.gridData.title = "社保缴纳预警保安公司";
src/views/securityUnitOperation/operationAnalysis.vue
@@ -198,7 +198,6 @@
            :key="gridData.type"
            prop="enterprisename"
            label="保安公司名称"
            width="180"
            :show-overflow-tooltip="true"
          ></el-table-column>
          <el-table-column
@@ -223,6 +222,7 @@
            :key="gridData.type"
            prop="pnum"
            label="派遣比例"
            :formatter="kslFormatter"
            :show-overflow-tooltip="true"
          ></el-table-column>
          <!-- <el-table-column
@@ -263,6 +263,7 @@
            :key="gridData.type"
            prop="pnum"
            label="持证比例"
            :formatter="kslFormatter"
            :show-overflow-tooltip="true"
          ></el-table-column>
          <!-- <el-table-column
@@ -394,6 +395,13 @@
    };
  },
  methods: {
    kslFormatter(row) {
      if (row.pnum && row.pnum !== "0") {
        return row.pnum + "%";
      } else {
        return row.pnum;
      }
    },
    changePage() {
      this.showcurTable(this.gridData.type);
    },
@@ -404,8 +412,8 @@
      this.showcurTable(type);
    },
    showcurTable(type) {
      this.dialogloading = true;
      this.dialogTableVisible = true;
      // this.dialogloading = true;
      if (type === "fw") {
        this.gridData.title = "服务对象预警保安公司";
        this.getSecurityUnitServerLessPage();
src/views/statisticalQueryManagement/businessStatisticsPq.vue
@@ -132,7 +132,7 @@
          },
          {
            label: "保安员姓名",
            prop: "realName",
            prop: "securityName",
            display: false
          },
          {