diff --git a/src/App.vue b/src/App.vue
index 743fec1..905cb03 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -3,7 +3,7 @@
* @email: 18603454788@163.com
* @Date: 2021-02-22 09:20:03
* @LastEditors: wally
- * @LastEditTime: 2021-04-26 18:12:14
+ * @LastEditTime: 2021-04-28 09:57:13
-->
diff --git a/src/components/CaseTable/CaseTable.vue b/src/components/CaseTable/CaseTable.vue
index e2f64ae..7f0f058 100644
--- a/src/components/CaseTable/CaseTable.vue
+++ b/src/components/CaseTable/CaseTable.vue
@@ -24,7 +24,7 @@
- 查看详情
+ 查看详情
@@ -120,7 +120,7 @@ export default {
},
methods: {
- ...mapMutations('home', ['setPatientId', 'setHospitalization']),
+ ...mapMutations('home', ['setPatientId', 'setHospitalization', 'setRecordCode']),
// 选择病患
chooseItem(id) {
@@ -130,9 +130,10 @@ export default {
const { current } = pagination;
this.$emit('setData', current);
},
- details(Id, hospitalization) {
+ details(Id, hospitalization, code) {
this.setPatientId(Id);
this.setHospitalization(hospitalization);
+ this.setRecordCode(code);
this.$router.push('/patientInfo');
},
showEditModal(id, inputStatus) {
diff --git a/src/views/PatientInfo/PatientInfo.vue b/src/views/PatientInfo/PatientInfo.vue
index bceb100..12a971e 100644
--- a/src/views/PatientInfo/PatientInfo.vue
+++ b/src/views/PatientInfo/PatientInfo.vue
@@ -1319,7 +1319,7 @@
-
+