From 8d0f7fcc4a961a6a2cd969171066f652cc8e736f Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期五, 18 四月 2025 16:56:52 +0800 Subject: [PATCH] 测试完成 --- src/views/patient/patient/profile/index.vue | 115 +++++++++++++++++++++++++++++---------------------------- 1 files changed, 59 insertions(+), 56 deletions(-) diff --git a/src/views/patient/patient/profile/index.vue b/src/views/patient/patient/profile/index.vue index fbaa877..3e27924 100644 --- a/src/views/patient/patient/profile/index.vue +++ b/src/views/patient/patient/profile/index.vue @@ -122,6 +122,8 @@ maxlength="30" ></el-input> </el-form-item ></el-col> + </el-row> + <el-row :gutter="20"> <el-col :span="12" ><el-form-item label="鑱旂郴鏂瑰紡" prop="telcode"> <el-input @@ -129,6 +131,14 @@ placeholder="璇疯緭鍏ヨ仈绯绘柟寮�" maxlength="30" /> </el-form-item + ></el-col> + <el-col :span="12"> + <el-form-item label="浜插睘鑱旂郴鏂瑰紡" prop="name"> + <el-input + v-model="userform.telcodewx" + placeholder="璇疯緭鍏ュ鍚�" + maxlength="30" + ></el-input> </el-form-item ></el-col> </el-row> <el-row :gutter="20"> @@ -321,8 +331,7 @@ > <el-table-column prop="id" label="搴忓彿" width="180"> </el-table-column> - <el-table-column prop="contactname" label="濮撳悕" - width="100" > + <el-table-column prop="contactname" label="濮撳悕" width="100"> </el-table-column> <el-table-column prop="contactway" label="鑱旂郴鏂瑰紡" width="180"> </el-table-column> @@ -381,7 +390,7 @@ /> <el-table-column label="濮撳悕" - width="100" + width="100" align="center" key="patname" prop="patname" @@ -459,7 +468,7 @@ /> <el-table-column label="濮撳悕" - width="100" + width="100" align="center" key="patname" prop="patname" @@ -522,7 +531,6 @@ prop="bedNo" width="120" /> - </el-table> </div> <!-- 鍑洪櫌 --> @@ -537,7 +545,7 @@ /> <el-table-column label="濮撳悕" - width="100" + width="100" align="center" key="patname" prop="patname" @@ -601,7 +609,6 @@ prop="bedNo" width="120" /> - </el-table> </div> </div> @@ -622,26 +629,22 @@ border-left: 4px solid rgb(190, 65, 134); " > - <span v-if="item.serviceType==2">鍑洪櫌闅忚</span> - <span v-if="item.serviceType==1">蹇冪數闅忚</span> - <span v-if="item.serviceType==3">褰卞儚闅忚</span> - <span v-if="item.serviceType==4">瀹f暀鍏虫��</span> + <span v-if="item.serviceType == 2">鍑洪櫌闅忚</span> + <span v-if="item.serviceType == 1">蹇冪數闅忚</span> + <span v-if="item.serviceType == 3">褰卞儚闅忚</span> + <span v-if="item.serviceType == 4">瀹f暀鍏虫��</span> </div> <el-divider></el-divider> <div style="margin-top: 10px"> - 鏈嶅姟鍚嶇О锛�<span style="color: #2775b6" - >{{ item.templatename }}</span - > + 鏈嶅姟鍚嶇О锛�<span style="color: #2775b6">{{ + item.templatename + }}</span> </div> <div style="margin-top: 10px"> - 鍒涘缓鏃堕棿锛�<span style="color: #2775b6" - >{{item.createTime}}</span - > + 鍒涘缓鏃堕棿锛�<span style="color: #2775b6">{{ item.createTime }}</span> </div> <div style="margin-top: 10px"> - 瀹屾垚鏃堕棿锛�<span style="color: #2775b6" - >{{ item.finishtime }}</span - > + 瀹屾垚鏃堕棿锛�<span style="color: #2775b6">{{ item.finishtime }}</span> </div> <div style="margin-top: 10px"> <el-row :gutter="20"> @@ -651,9 +654,10 @@ > <el-col :span="12" >鐥呭尯锛� - <span style="color: #2775b6">{{ item.leavehospitaldistrictname }}</span></el-col + <span style="color: #2775b6">{{ + item.leavehospitaldistrictname + }}</span></el-col > - </el-row> </div> @@ -678,15 +682,15 @@ <span style="color: #2775b6">{{ item.drname }}</span></el-col > <el-col :span="6" - >璐d换鎶ゅ+ <span style="color: #2775b6">{{ item.nurseName }}</span></el-col + >璐d换鎶ゅ+ + <span style="color: #2775b6">{{ item.nurseName }}</span></el-col > </el-row> </div> <div style="margin-top: 10px"> 缁撴灉鐘舵�侊細 - <span style="color: #2775b6" v-if="item.excep==0">鏈嶅姟姝e父</span> - <span style="color: #B55E54" v-if="item.excep==1">寮傚父</span> - + <span style="color: #2775b6" v-if="item.excep == 0">鏈嶅姟姝e父</span> + <span style="color: #b55e54" v-if="item.excep == 1">寮傚父</span> </div> <!-- <div style="margin-top: 10px"> 澶囨敞锛� @@ -803,8 +807,7 @@ <el-dialog :title="titletb" :visible.sync="AddanumberVisible"> <el-form :model="numberform" label-width="100px"> - <el-form-item label="濮撳悕" - width="100"> + <el-form-item label="濮撳悕" width="100"> <el-input v-model="numberform.contactname"></el-input> </el-form-item> <el-form-item label="鑱旂郴鐢佃瘽"> @@ -843,10 +846,7 @@ Patientclinic, } from "@/api/patient/homepage"; -import { - getsearchrResults, - getTaskservelist, -} from "@/api/AiCentre/index"; +import { getsearchrResults, getTaskservelist } from "@/api/AiCentre/index"; import { listPatouthosp } from "@/api/smartor/patouthosp"; import { listpatient } from "@/api/patient/record"; @@ -877,29 +877,29 @@ record: [ { name: "瀹f暀浠诲姟", - serviceType:'4', - templatename:'绠¢ゲ瀹f暀涓�鏈�', - createTime:'2024-11-10', - finishtime:'2024-11-12', - createBy:'鐜嬫斂', - drname:'鍒樻槑', - nurseName:'寮犳窇鐞�', - excep:'0', - deptname:'鍛煎惛绉�', - leavehospitaldistrictname:'浜旂梾鍖�', + serviceType: "4", + templatename: "绠¢ゲ瀹f暀涓�鏈�", + createTime: "2024-11-10", + finishtime: "2024-11-12", + createBy: "鐜嬫斂", + drname: "鍒樻槑", + nurseName: "寮犳窇鐞�", + excep: "0", + deptname: "鍛煎惛绉�", + leavehospitaldistrictname: "浜旂梾鍖�", }, { name: "闅忚浠诲姟", - serviceType:'2', - templatename:'蹇冭绠¢殢璁夸竴鏈�', - createTime:'2024-11-11', - finishtime:'2024-11-14', - createBy:'绔犵▼', - drname:'鍒樻槑', - nurseName:'鏉庝附', - excep:'0', - deptname:'鍛煎惛绉�', - leavehospitaldistrictname:'浜旂梾鍖�', + serviceType: "2", + templatename: "蹇冭绠¢殢璁夸竴鏈�", + createTime: "2024-11-11", + finishtime: "2024-11-14", + createBy: "绔犵▼", + drname: "鍒樻槑", + nurseName: "鏉庝附", + excep: "0", + deptname: "鍛煎惛绉�", + leavehospitaldistrictname: "浜旂梾鍖�", }, // { // name: "闂嵎璋冩煡", @@ -1069,7 +1069,7 @@ if (response.code == 200) { this.serviceDatacy = response.rows; console.log(this.serviceDatacy); - this.$forceUpdate() + this.$forceUpdate(); } }); } @@ -1077,6 +1077,9 @@ getcontactlist() { listcontactinformation({ patid: this.id }).then((response) => { this.tableData = response.rows; + if (this.tableData.length) { + this.userform.telcodewx = this.tableData[0].contactway; + } }); }, processElement(element) { @@ -1231,8 +1234,8 @@ handleClick(tab, event) { if (tab.index == "1") { this.getList(1); - }else if (tab.index == "2") { -this.handleClickfw(); + } else if (tab.index == "2") { + this.handleClickfw(); } }, handleClickson(tab, event) { @@ -1240,7 +1243,7 @@ this.getList(tab.index); }, // 鏌ヨ鏈嶅姟璁板綍 - handleClickfw(){ + handleClickfw() { getTaskservelist({ patid: this.id, }).then((res) => { -- Gitblit v1.9.3