From 3e5fad59bfe090227c929b3e3981dc9bab2977cc Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期六, 14 九月 2024 15:50:21 +0800 Subject: [PATCH] 调整 医生界面 布局 待完善 --- src/views/ecg/doctor/components/DevInstallPanel.vue | 18 ++++++++++++++---- 1 files changed, 14 insertions(+), 4 deletions(-) diff --git a/src/views/ecg/doctor/components/DevInstallPanel.vue b/src/views/ecg/doctor/components/DevInstallPanel.vue index 7fc88e3..c62a129 100644 --- a/src/views/ecg/doctor/components/DevInstallPanel.vue +++ b/src/views/ecg/doctor/components/DevInstallPanel.vue @@ -23,13 +23,14 @@ </el-form-item> </el-form> <el-button @click="submitForm" type="primary" :disabled="formLoading">瑁呮満瀹屾垚</el-button> - <el-button @click="cancelInstall" type="primary" :disabled="formLoading">鏀惧純瑁呮満</el-button> <el-button @click="resetForm()">閲� 缃�</el-button> + <el-button @click="printBill()">鎵撳嵃灏忕エ</el-button> + <el-button @click="cancelInstall" :disabled="formLoading">鏀惧純瑁呮満</el-button> <!-- 鍖荤敓鎷嗘満鍒楄〃 --> <ContentWrap> - <el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true" @current-change="onCurChange" > + <el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true" @row-click="onRowClick" > <el-table-column label="id" align="center" prop="id" /> <el-table-column label="--" align="center" prop="cancelled" > <template #default="scope"> @@ -46,7 +47,8 @@ label="浣滀笟鏃堕棿" align="center" prop="jobTime" - :formatter="timeFormatter" + :formatter="dateFormatter" + width="180px" /> <!-- <el-table-column label="浣滀笟姒傝" align="center" prop="summary" />--> <el-table-column label="澶囨敞" align="center" prop="remark" /> @@ -233,7 +235,7 @@ } } -const onCurChange = (cur) => { +const onRowClick = (cur) => { if (cur !== null) getSelectedRent( cur.rentId ) } @@ -242,6 +244,14 @@ formData.value = await DevRentApi.getDevRent(rentId) } +const printBill = async () => { + ElNotification({ + title: '娓╅Θ鎻愮ず', + message: '寰呭疄鐜帮紒', + type: 'warning' + }) +} + /** 鍒濆鍖� **/ onMounted(() => { getList() -- Gitblit v1.9.3