From ec00c0781c1e61c8cc7b3976cedc248dad7a0697 Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期四, 19 九月 2024 18:32:40 +0800
Subject: [PATCH] update
---
src/views/ecg/doctor/components/DevInstallPanel.vue | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/src/views/ecg/doctor/components/DevInstallPanel.vue b/src/views/ecg/doctor/components/DevInstallPanel.vue
index 8661eee..c5d132d 100644
--- a/src/views/ecg/doctor/components/DevInstallPanel.vue
+++ b/src/views/ecg/doctor/components/DevInstallPanel.vue
@@ -30,11 +30,11 @@
<!-- 鍖荤敓鎷嗘満鍒楄〃 -->
<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" >
+ <el-table-column label="瑁呮満鎯呭喌" align="center" prop="cancelled" >
<template #default="scope">
- {{scope.row.cancelled == 1 ? "鏀惧純" : ""}}
+ {{scope.row.cancelled == 1 ? "鏀惧純" : "瀹屾垚"}}
</template>
</el-table-column>
<!-- <el-table-column label="浣滀笟绫诲瀷" align="center" prop="jobType" />-->
@@ -47,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" />
@@ -234,7 +235,7 @@
}
}
-const onCurChange = (cur) => {
+const onRowClick = (cur) => {
if (cur !== null)
getSelectedRent( cur.rentId )
}
--
Gitblit v1.9.3