wwl
11 小时以前 1d7a460b0fbc460ffcf3dd94864f2f3adf4369b2
富文本
3个文件已修改
116 ■■■■ 已修改文件
src/views/hosp/hosp/index.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/charge/index.vue 88 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/refund/index.vue 22 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/hosp/hosp/index.vue
@@ -192,7 +192,7 @@
      orgList: [],
      title: "",
      open: false,
      apiKey: '3ceaxd5ckw4te35xj38vj3p5rmmeyv0x8pq2yrr92rwdiqzp', // 替换为您的 TinyMCE API 密钥
      apiKey: '3ceaxd5ckw4te35xj38vj3p5rmmeyv0x8pq2yrr92rwdiqzp',
      editorInit: {
        height: 200,
        menubar: false,
@@ -237,7 +237,7 @@
        orderNum: null,
      },
      form: {
        introduction: '<p>请输入医院简介...</p>', // 默认值
        introduction: '', // 默认值
      },
      rules: {
        hospAreaName: [
@@ -367,7 +367,7 @@
        updateByName: null,
        imgbase64: null,
        deleted: null,
        introduction: '<p>请输入医院简介...</p>', // 重置时恢复默认值
        introduction: '', // 重置时恢复默认值
      };
      this.resetForm("form");
    },
src/views/system/charge/index.vue
@@ -292,51 +292,55 @@
        this.submitFormchanck();
      }
    },
    submitFormchanck() {
      this.loading = true;
      getfindTj(this.form).then((response) => {
        if (response.data != []) {
          this.tableData = response.data;
          this.tableData.forEach((item1) => {
            this.tjnumber = item1.tjNumber;
          });
          if (this.tableData.length != 0) {
            this.$nextTick(() => {
              this.$refs.multipleTable.toggleRowSelection(
                this.tableData[0],
                true
              );
            });
          } else {
            this.$refs.multipleTable.clearSelection();
          }
          this.tableData.forEach((item) => {
            if (item.isAdditionCollectFees === "N") {
              item.isAdditionCollectFees = "否";
            } else {
              item.isAdditionCollectFees = "是";
            }
            if (item.tjType === "2") {
              item.tjType = "个人";
            } else {
              item.tjType = "团队";
            }
            if (item.sex === "0") {
              item.sex = "男";
            } else if (item.sex === "1") {
              item.sex = "女";
            } else {
              item.sex = "未知";
            }
  submitFormchanck() {
  this.loading = true;
  getfindTj(this.form)
    .then((response) => {
      if (response.data != []) {
        this.tableData = response.data;
        this.tableData.forEach((item1) => {
          this.tjnumber = item1.tjNumber;
        });
        if (this.tableData.length != 0) {
          this.$nextTick(() => {
            this.$refs.multipleTable.toggleRowSelection(
              this.tableData[0],
              true
            );
          });
        } else {
          this.tableData = [];
          this.disabled = 1;
          this.$refs.multipleTable.clearSelection();
        }
        this.loading = false;
      });
    },
        this.tableData.forEach((item) => {
          if (item.isAdditionCollectFees === "N") {
            item.isAdditionCollectFees = "否";
          } else {
            item.isAdditionCollectFees = "是";
          }
          if (item.tjType === "2") {
            item.tjType = "个人";
          } else {
            item.tjType = "团队";
          }
          if (item.sex === "0") {
            item.sex = "男";
          } else if (item.sex === "1") {
            item.sex = "女";
          } else {
            item.sex = "未知";
          }
        });
      } else {
        this.tableData = [];
        this.disabled = 1;
      }
      this.loading = false;
    })
    .catch((error) => {
      console.error("Error:", error);
      this.loading = false;
    });
},
    //重置按钮
    resetQuery() {
      this.$tab.refreshPage();
src/views/system/refund/index.vue
@@ -207,11 +207,12 @@
      }
    },
    /** 搜索操作 */
    handle() {
      this.loading = true;
      getTjRefundList2(this.form).then((response) => {
        if( response.data){
          this.customerList = response.data;
   handle() {
  this.loading = true;
  getTjRefundList2(this.form)
    .then((response) => {
      if (response.data) {
        this.customerList = response.data;
        this.customerList.forEach((item1) => {
          this.tjnumber = item1.tjNumber;
        });
@@ -239,10 +240,13 @@
        });
        this.total = response.total;
        this.loading = false;
        }
      });
    },
      }
    })
    .catch((error) => {
      console.error("错误:", error);
      this.loading = false;
    });
},
    //重置按钮
    resetQuery() {