From 9201094eda93a5429e1e83a73f9d18dd84f74099 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期一, 05 八月 2024 14:23:58 +0800
Subject: [PATCH] 测试完成
---
src/views/patient/patient/PatientChart.vue | 31 +++++++++++++------------------
1 files changed, 13 insertions(+), 18 deletions(-)
diff --git a/src/views/patient/patient/PatientChart.vue b/src/views/patient/patient/PatientChart.vue
index a7fc6f3..615b771 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.createTime) }}</span>
+ <span>{{ parseTime(scope.row.archivetime) }}</span>
</template>
</el-table-column>
<el-table-column
@@ -739,7 +739,7 @@
// 鏌ヨ鍙傛暟
queryParams: {
pageNum: 1,
- allhosp: "1",
+ allhosp: "0",
pageSize: 10,
idcardno: undefined,
name: undefined,
@@ -906,24 +906,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