WXL
4 天以前 05c3df33bd02a611c4930f38f3e6f5ca034e1c38
省人民提交
已删除1个文件
已修改2个文件
65 ■■■■■ 文件已修改
SRMopo.zip 补丁 | 查看 | 原始文档 | blame | 历史
src/views/project/donationdetails/index.vue 63 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
vue.config.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
SRMopo.zip
Binary files differ
src/views/project/donationdetails/index.vue
@@ -2854,7 +2854,7 @@
      // 固定的选项列表(移除了"遗体")
      firstLineOrgans: [
      "肝脏", "肾脏", "单左肾", "单右肾",
      "肝脏", "肾脏", "左肾脏", "右肾脏",
      "心脏", "肺脏", "胰腺", "小肠"
    ],
    // 第二行选项(您需要一起换行的两项)
@@ -3292,32 +3292,41 @@
      } else if (this.actives == 2) {
        this.activetele = "捐献确认";
        listRelativesconfirmation(searchParam).then(response => {
          if (response.code == 200 && response.rows[0]) {
            this.affirmform = response.rows[0];
            if (this.affirmform.organdecision) {
              this.organdecision = this.affirmform.organdecision
                .split(",")
                .flatMap(item => (item === "双肾脏" ? ["左肾", "右肾"] : item));
            }
            if (this.affirmform.kinship) {
              this.kinship = this.affirmform.kinship.split(",");
            }
            if (!this.affirmform) {
              this.affirmform = {};
              this.affirmform.residenceprovincename = "";
              this.affirmform.residencecityname = "";
              this.affirmform.residencetownname = "";
            }
            this.defultAddresss.sheng = this.affirmform.residenceprovincename;
            this.defultAddresss.shi = this.affirmform.residencecityname;
            this.defultAddresss.qu = this.affirmform.residencetownname;
          } else {
            // this.$modal.msgError(
            //   "查询是否存在确认登记记录失败" + JSON.stringify(response)
            // );
          }
        });
       listRelativesconfirmation(searchParam).then(response => {
  if (response.code == 200 && response.rows[0]) {
    this.affirmform = response.rows[0];
    // 修改器官决策的显示文本
    if (this.affirmform.organdecision) {
      // 替换器官名称
      let organdecision = this.affirmform.organdecision
        .replace(/单左肾/g, '左肾脏')
        .replace(/单右肾/g, '右肾脏')
        .replace(/双肾脏/g, '双肾脏'); // 保持双肾脏不变
      this.organdecision = organdecision
        .split(",")
        .flatMap(item => (item === "双肾脏" ? ["左肾", "右肾"] : item));
    }
    if (this.affirmform.kinship) {
      this.kinship = this.affirmform.kinship.split(",");
    }
    if (!this.affirmform) {
      this.affirmform = {};
      this.affirmform.residenceprovincename = "";
      this.affirmform.residencecityname = "";
      this.affirmform.residencetownname = "";
    }
    this.defultAddresss.sheng = this.affirmform.residenceprovincename;
    this.defultAddresss.shi = this.affirmform.residencecityname;
    this.defultAddresss.qu = this.affirmform.residencetownname;
  } else {
    // this.$modal.msgError(
    //   "查询是否存在确认登记记录失败" + JSON.stringify(response)
    // );
  }
});
      } else if (this.actives == 3) {
        this.activetele = "伦理审查";
vue.config.js
@@ -34,7 +34,7 @@
      // detail: https://cli.vuejs.org/config/#devserver-proxy
      [process.env.VUE_APP_BASE_API]: {
        target:`http://localhost:8080`,
        // target:`http://192.168.100.10:8080`,
        // target:`http://192.168.100.10:8081`,
        // target:`http://192.168.100.137:8080`,
        // target: `https://slb.hospitalstar.com:9093`,
        changeOrigin: true,