Browse Source

患者信息录入相关界面

master
aBin 4 years ago
parent
commit
91b73801eb
  1. 37
      src/views/PatientInfo/PatientInfo.vue

37
src/views/PatientInfo/PatientInfo.vue

@ -984,25 +984,24 @@ export default {
}, },
// //
async setData() { async setData() {
await console.log(this.patientId); try {
// try { const params = {
// const params = { param: {
// param: { list: this.contentList,
// list: this.contentList, patientId: this.patientId,
// patientId: this.patientId, timeSlot: this.subDateTime ? this.subDateTime : this.$moment(this.dateChoose).format('YYYY-MM-DD'),
// timeSlot: this.subDateTime ? this.subDateTime : this.$moment(this.dateChoose).format('YYYY-MM-DD'), },
// }, };
// }; const res = await saveCaseMes(params);
// const res = await saveCaseMes(params); const { code, msg, data } = res.data;
// const { code, msg, data } = res.data; if (code === 200) {
// if (code === 200) { this.$message.success('提交成功');
// this.$message.success(''); } else {
// } else { this.$message.error('提交失败');
// this.$message.error(''); }
// } } catch (error) {
// } catch (error) { this.$message.error('error');
// this.$message.error('error'); }
// }
}, },
}, },
}; };

Loading…
Cancel
Save