qx
qx
2025-04-15 d65aa7fee641733e13fcbcd6c326d6bd27a45d96
src/views/hosp/rules/index.vue
@@ -1102,10 +1102,10 @@
      this.loading = true;
      // this.List = true;
      listAdvice(this.queryParam).then((response) => {
        response.data.list.forEach((item, index) => {
          item.newID =
            (this.queryParam.page - 1) * this.queryParam.pageSize + index + 1;
        });
        // response.data.list.forEach((item, index) => {
        //   item.newID =
        //     (this.queryParam.page - 1) * this.queryParam.pageSize + index + 1;
        // });
        this.adviceList = response.data.list;
        this.total = response.data.total;
@@ -1123,16 +1123,16 @@
    getListByXmId() {
      this.loading = true;
      listRules(this.queryParams).then((response) => {
        response.rows.forEach((item, index) => {
        response.data.rows.forEach((item, index) => {
          item.newID =
            (this.queryParams.pageNum - 1) * this.queryParams.pageSize +
            index +
            1;
        });
        this.rulesList = response.rows;
        this.rulesList = response.data.rows;
        console.log(this.rulesList, 999);
        this.total = response.total;
        this.total = response.data.total;
        this.loading = false;
      });
    },