From 3fd7a12be67b3412035731aa8ff23575b92d6009 Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期三, 27 十一月 2024 14:15:04 +0800 Subject: [PATCH] 预约小票 格式调整 --- src/views/ecg/queue/index.vue | 24 +++++++++++++++++------- 1 files changed, 17 insertions(+), 7 deletions(-) diff --git a/src/views/ecg/queue/index.vue b/src/views/ecg/queue/index.vue index 84e4000..175be25 100644 --- a/src/views/ecg/queue/index.vue +++ b/src/views/ecg/queue/index.vue @@ -67,6 +67,7 @@ </el-form-item> <el-form-item label="鎺掗槦鐘舵��" prop="status"> <el-select + multiple v-model="queryParams.status" placeholder="璇烽�夋嫨鎺掗槦鐘舵��" clearable @@ -130,6 +131,7 @@ <ContentWrap> <el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true"> <!-- <el-table-column label="id" align="center" prop="id" />--> + <el-table-column label="灏辫瘖娴佹按鍙�" align="center" prop="episodeId" min-width="150px"/> <el-table-column label="鎮h�呯紪鍙�" align="center" prop="patId" /> <el-table-column label="鎮h�呭鍚�" align="center" min-width="120px"> <template #default="scope"> @@ -176,7 +178,7 @@ <el-button link type="primary" - @click="openAppointmentForm('preview', scope.row.patId)" + @click="openAppointmentForm('preview', scope.row.patId, scope.row.bookCheckType)" v-hasPermi="['ecg:appointment:preview']" > 鏌ョ湅 @@ -204,7 +206,7 @@ link type="danger" @click="recall(scope.row)" - v-if="scope.row.status === 5" + v-if="scope.row.status === 5 || scope.row.status === 7" v-hasPermi="['ecg:queue:recall']" > 鍙洖 @@ -259,7 +261,7 @@ bookTimeslot: undefined, bookCheckType: undefined, seqNum: undefined, - status: undefined, + status: [], passed: undefined, expired: undefined, roomId: undefined, @@ -297,8 +299,8 @@ const openForm = (type: string, id?: number) => { formRef.value.open(type, id) } -const openAppointmentForm = (type: string, patId: string, status: number) => { - formRef.value.openByQueue(type, patId, status) +const openAppointmentForm = (type: string, patId: string, checkType: number) => { + formRef.value.openByQueue(type, patId, checkType) } /** 鍒犻櫎鎸夐挳鎿嶄綔 */ @@ -334,10 +336,18 @@ roomId: item.roomId, bedNo: item.bedNo, patId: item.patId, - jumpFlag: 0 + checkType: item.bookCheckType, + //jumpFlag: 0, + roomId_operator: item.roomId, // 闃熷垪鐣岄潰 鍙洖鎿嶄綔鏃� 淇濇寔鍘熸潵鐨勫伐浣� + bedNo_operator: item.bedNo, // 闃熷垪鐣岄潰 鍙洖鎿嶄綔鏃� 淇濇寔鍘熸潵鐨勫伐浣� } - const data = await DoctorApi.recallPatient(patientVO); + let data = "" + if (item.status === 5) // 甯歌銆侀鐢� 杩囧彿 + data = await DoctorApi.recallPatient(patientVO); + else if (item.status === 7) + data = await DoctorApi.recallInstallPatient(patientVO); + message.info(data) // 鍒锋柊鍒楄〃 await getList() -- Gitblit v1.9.3