From 38b17821f508620d6c8bbf8b1b1fd1a72e2d71f2 Mon Sep 17 00:00:00 2001 From: yxh <172933527@qq.com> Date: 星期五, 24 十一月 2023 12:39:48 +0800 Subject: [PATCH] Merge branch 'wulong' of http://116.62.18.175:6699/r/~yxh/smartor-web into yxh01 --- src/views/patient/patient/index.vue | 54 ++++++++++++++++++++++++++++++++++++++++-------------- 1 files changed, 40 insertions(+), 14 deletions(-) diff --git a/src/views/patient/patient/index.vue b/src/views/patient/patient/index.vue index 78afbd9..a700041 100644 --- a/src/views/patient/patient/index.vue +++ b/src/views/patient/patient/index.vue @@ -155,6 +155,31 @@ </template> </el-table-column> <el-table-column + label="骞撮緞" + align="center" + key="age" + prop="age" + width="120" + /> + <el-table-column + label="鍑虹敓骞存湀" + align="center" + key="archivetime" + prop="archivetime" + width="160" + > + <template slot-scope="scope"> + <span>{{ parseTime(scope.row.createTime) }}</span> + </template> + </el-table-column> + <el-table-column + label="瀹跺涵浣忓潃" + align="center" + key="age" + prop="age" + width="120" + /> + <el-table-column label="鎮h�呮爣绛�" align="center" key="tagList" @@ -178,13 +203,6 @@ key="iccardno" prop="iccardno" width="190" - /> - <el-table-column - label="骞撮緞" - align="center" - key="age" - prop="age" - width="120" /> <el-table-column @@ -478,7 +496,15 @@ updatepat_archive, delpat_archive, } from "@/api/smartorpor/pat_archive"; -import { listbase_tag } from "@/api/smartorpor/base_tag"; +import { + messagelistpatient, + alterpatient, + addpatient, + particularpatient, + deletepatient, + Exporterrorpatient, + toleadpatient, +} from "@/api/patient/homepage"; import { listtag } from "@/api/system/label"; import { getToken } from "@/utils/auth"; import Treeselect from "@riophae/vue-treeselect"; @@ -634,7 +660,7 @@ /** 鏌ヨ鎮h�呭垪琛� */ getList() { this.loading = true; - listpat_archive(this.queryParams).then((response) => { + messagelistpatient(this.queryParams).then((response) => { console.log(response); this.userList = response.rows; this.total = response.total; @@ -644,7 +670,7 @@ /** 鏌ヨ鏍囩鍒楄〃 */ gettabList() { const queryParams = {}; - listbase_tag().then((response) => { + listtag().then((response) => { console.log(response); this.optionstag = response.rows; }); @@ -718,7 +744,7 @@ handleUpdate(row) { console.log(row); const userIds = row.patid || this.ids; - getpat_archive(userIds).then((response) => { + particularpatient(userIds).then((response) => { console.log(response); this.form = response.data; }); @@ -729,7 +755,7 @@ //淇敼/鏂板鎮h�� submitForm() { if (this.amendtag) { - updatepat_archive(this.form) + alterpatient(this.form) .then((response) => { console.log(response); }) @@ -738,7 +764,7 @@ this.$modal.msgSuccess("淇敼鎴愬姛"); }); } else { - addpat_archive(this.form) + addpatient(this.form) .then((response) => { console.log(response); }) @@ -758,7 +784,7 @@ this.$modal .confirm('鏄惁纭鍒犻櫎鐢ㄦ埛缂栧彿涓�"' + userIds + '"鐨勬暟鎹」锛�') .then(function () { - return delpat_archive(userIds); + return deletepatient(userIds); }) .then(() => { this.getList(); -- Gitblit v1.9.3