qx
qx
2025-06-24 bd8d09e08a6c179b7c842b4ac77c5f468a0b1470
src/views/hosp/rules/index.vue
@@ -617,16 +617,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;
      });
    },
@@ -788,13 +788,13 @@
              this.$modal.msgSuccess("修改成功");
              this.open = false;
              this.getList();
             this.getListByXmId()
            });
          } else {
            addRules(this.form).then((response) => {
              this.$modal.msgSuccess("新增成功");
              this.open = false;
              this.getList();
              this.getListByXmId()
            });
          }
        }