zhengpz
2021-12-09 208246a88f9ef91a45d540f0101f016cf782edd2
现实表现及资格审查参数更改
2 files modified
46 ■■■■ changed files
src/api/index/index.js 8 ●●●●● patch | view | raw | blame | history
src/views/home/index.vue 38 ●●●● patch | view | raw | blame | history
src/api/index/index.js
@@ -184,3 +184,11 @@
    params: param
  })
}
// 现实表现弹窗接口
export const xsbxPages = params => {
  return request({
    url: "/api/information/selectBxc",
    method: "post",
    params: params
  });
};
src/views/home/index.vue
@@ -755,6 +755,7 @@
  seCountI,
  selectExtypeUser,
  qualificationPages,
  xsbxPages,
  selectCf,
  selectCl,
  selectYs,
@@ -889,7 +890,7 @@
      );
    },
    getCarPosition() {
      getNewPosition({ type: 2, workerId: "861636056082414" }).then(result => {
      getNewPosition({ type: 2, workerId: "赣AD77669" }).then(result => {
        var res = result.data.data;
        if (JSON.stringify(res) != "{}") {
          this.carGps = {
@@ -1222,6 +1223,7 @@
              cardNumber: m.gunNum,
              id: m.id
            };
            debugger
            this.mapData[3]["geoData"].push([
              Number(m.longitude),
              Number(m.latitude)
@@ -1329,7 +1331,7 @@
        this.getPunishList(1);
      } else if (type === "xs") {
        this.gridData.title = "现实表现差人员清单";
        this.getQualificationPages(1);
        this.getXsbxPages(1);
      }
    },
    getWgTable() {
@@ -1390,7 +1392,7 @@
      });
    },
    changePage(page) {
      if (this.gridData.type === "zg" || this.gridData.type === "xs") {
      if (this.gridData.type === "zg") {
        this.getQualificationPages(page);
      } else if (this.gridData.type === "wg") {
        this.gridData.data = this.dialogTable.wgTable.slice(
@@ -1411,7 +1413,29 @@
        this.getPunishList(page);
      } else if (this.gridData.type === "ywdx_gs") {
        this.showDialogTable(this.gridData.type);
      } else if (this.gridData.type === "xs") {
        this.getXsbxPages(page);
      }
    },
  // 现实表现差弹框
    getXsbxPages(page) {
      this.gridData.current = page;
      this.dialogloading = true;
      this.gridData.data = [];
      let types = this.poorPerformanceType.toString()
      let params = {
        current: this.gridData.current,
        size: 10,
        jurisdiction: this.value1,
        type:types
      };
      xsbxPages(params).then(res => {
        if (res.data.code === 200) {
          this.gridData.data = res.data.data.records;
          this.gridData.total = res.data.data.total;
        }
        this.dialogloading = false;
      });
    },
    getQualificationPages(page) {
      this.gridData.current = page;
@@ -1420,13 +1444,9 @@
      let params = {
        current: this.gridData.current,
        size: 10,
        jurisdiction: this.value1
        jurisdiction: this.value1,
        examinationType: 1
      };
      if (this.gridData.type === "zg") {
        Object.assign(params, { examinationType: 1 });
      } else if (this.gridData.type === "xs") {
        Object.assign(params, { score: 3 });
      }
      qualificationPages(params).then(res => {
        if (res.data.code === 200) {
          this.gridData.data = res.data.data.records;