From 2fe94c2414aa1b8840e4dbf9a8e19121a8a867b6 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期六, 12 十月 2024 09:35:31 +0800
Subject: [PATCH] 测试完成
---
src/views/patient/patient/PatientChart.vue | 56 +++++++++++++++-----------------------------------------
1 files changed, 15 insertions(+), 41 deletions(-)
diff --git a/src/views/patient/patient/PatientChart.vue b/src/views/patient/patient/PatientChart.vue
index 2b54b5c..ac1d085 100644
--- a/src/views/patient/patient/PatientChart.vue
+++ b/src/views/patient/patient/PatientChart.vue
@@ -252,7 +252,7 @@
width="160"
>
<template slot-scope="scope">
- <span>{{ parseTime(scope.row.archivetime) }}</span>
+ <span>{{ formatTime(scope.row.archivetime) }}</span>
</template>
</el-table-column>
<el-table-column
@@ -500,7 +500,7 @@
href="http://m.qpic.cn/psc?/V50ZTolo1AIhq00dqrJP2169QM2VHGTU/ruAMsa53pVQWN7FLK88i5qfmCJclyMduqqL6kjE4h7TXDAjimVtmLmTyGVfF4qlkyOISsYQ4Mxx705X2tkXEIUPrfCS4L4yK.f11SmO8Tq0!/b&bo=twb0AgAAAAADB2U!&rf=viewer_4"
target="_blank"
>
- 鏌ョ湅妯$増</el-link
+ 鏌ョ湅妯℃澘</el-link
>
</div>
</el-upload>
@@ -674,28 +674,7 @@
},
],
- cardlist: [
- {
- name: "鎮h�呮�绘暟",
- value: 123,
- },
- {
- name: "鍦ㄩ櫌鎮h��",
- value: 23,
- },
- {
- name: "绂婚櫌鎮h��",
- value: 41,
- },
- {
- name: "璇婄枟鎮h��",
- value: 56,
- },
- {
- name: "绂讳笘鎮h��",
- value: 0,
- },
- ],
+
// 琛ㄥ崟鍙傛暟
form: {
name: "",
@@ -739,7 +718,7 @@
// 鏌ヨ鍙傛暟
queryParams: {
pageNum: 1,
- allhosp: "1",
+ allhosp: "0",
pageSize: 10,
idcardno: undefined,
name: undefined,
@@ -906,24 +885,19 @@
//淇敼/鏂板鎮h��
submitForm() {
if (this.amendtag) {
- alterpatient(this.form)
- .then((response) => {
- console.log(response);
- })
- .then(() => {
- this.getList();
- this.$modal.msgSuccess("淇敼鎴愬姛");
- });
+ console.log(22);
+ this.form.isoperation = 2;
} else {
- addpatient(this.form)
- .then((response) => {
- console.log(response);
- })
- .then(() => {
- this.getList();
- this.$modal.msgSuccess("娣诲姞鎴愬姛");
- });
+ this.form.isoperation = 1;
}
+ alterpatient(this.form)
+ .then((response) => {
+ console.log(response);
+ })
+ .then(() => {
+ this.getList();
+ this.$modal.msgSuccess("淇濆瓨鎴愬姛");
+ });
this.reset();
// this.idds = "";
this.Labelchange = false;
--
Gitblit v1.9.3