| | |
| | | |
| | | // 固定的选项列表(移除了"遗体") |
| | | firstLineOrgans: [ |
| | | "肝脏", "肾脏", "单左肾", "单右肾", |
| | | "肝脏", "肾脏", "左肾脏", "右肾脏", |
| | | "心脏", "肺脏", "胰腺", "小肠" |
| | | ], |
| | | // 第二行选项(您需要一起换行的两项) |
| | |
| | | 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 |
| | | // 替换器官名称 |
| | | 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(","); |
| | | } |
| | |
| | | // 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, |