1
lkk
9 天以前 f1bd530bc3fcfc006426ebd2e79d0b09c31ba41f
src/views/hosp/advicerules/index.vue
@@ -88,10 +88,10 @@
          v-hasPermi="['hosp:advicerules:export']">导出
        </el-button>
      </el-col> -->
      <right-toolbar
      <!-- <right-toolbar
        :showSearch.sync="showSearch"
        @queryTable="getList"
      ></right-toolbar>
      ></right-toolbar> -->
    </el-row>
    <el-row :gutter="20" style="display: flex">
@@ -667,6 +667,7 @@
        this.total = response.total;
        this.loading = false;
      }); */
      getTjProAdvicerulesKsList().then((response) => {
        this.deptOptions = response.data.map((name, index) => {
          return {
@@ -684,6 +685,8 @@
    getListByXmId() {
      this.loading = true;
      listAdvicerules(this.queryParams).then((response) => {
        console.log(response,123456);
        response.rows.forEach((item, index) => {
          item.newID =
            (this.queryParams.pageNum - 1) * this.queryParams.pageSize +
@@ -757,7 +760,7 @@
    /** 搜索按钮操作 */
    handleQuery() {
      this.queryParams.pageNum = 1;
      this.getList();
      this.getListByXmId();
    },
    handlecharge() {
      this.querycharge.pageNum = 1;
@@ -862,13 +865,13 @@
            updateAdvicerules(this.form).then((response) => {
              this.$modal.msgSuccess("修改成功");
              this.open = false;
              this.getList();
              this.getListByXmId();
            });
          } else {
            addAdvicerules(this.form).then((response) => {
              this.$modal.msgSuccess("新增成功");
              this.open = false;
              this.getList();
              this.getListByXmId();
            });
          }
        }