From 26b67ee34c405c0524d8a7baaaa9b1c521993d6b Mon Sep 17 00:00:00 2001
From: qianxj <qianxj15@sina.com>
Date: 星期二, 14 三月 2023 14:47:44 +0800
Subject: [PATCH] update patarchive
---
ruoyi-ui/src/smartor/dataobject/dw_patarchive_list.vue | 17 ++++++++++++++---
1 files changed, 14 insertions(+), 3 deletions(-)
diff --git a/ruoyi-ui/src/smartor/dataobject/dw_patarchive_list.vue b/ruoyi-ui/src/smartor/dataobject/dw_patarchive_list.vue
index 5430200..5997b14 100644
--- a/ruoyi-ui/src/smartor/dataobject/dw_patarchive_list.vue
+++ b/ruoyi-ui/src/smartor/dataobject/dw_patarchive_list.vue
@@ -1,6 +1,6 @@
<template>
- <el-table v-loading="loading" :data="patarchiveList" @ >
- <el-table-column type="selection" width="55" align="center" />
+ <el-table v-loading="loading" :data="patarchiveList" @row-click="rowChanged">
+ <!--el-table-column type="selection" width="55" align="center" /-->
<el-table-column label=" 鑷ID " align="center" prop="patid"/>
<el-table-column label=" 濮撳悕 " align="center" prop="name" />
<el-table-column label=" 鎬у埆 " align="center" prop="sex">
@@ -43,6 +43,7 @@
dicts: ['sys_user_sex', 'sys_patientfrom'],
data() {
return {
+ parent:null,
// 閬僵灞�
loading: true,
// 閫変腑鏁扮粍
@@ -87,9 +88,13 @@
};
},
created() {
- this.getList();
+ this.getList();
},
methods: {
+ initial(parent)
+ {
+ this.parent = parent
+ },
getList() {
this.loading = true;
listPatarchive(this.queryParams).then(response => {
@@ -106,6 +111,12 @@
//alert("selections:"+this.ids[0])
//this.$parent.selectionChanged(this.ids[0])
},
+ rowChanged(row){
+ //alert(row.patid)
+ //console.log(row)
+ //this.parent.selectionChanged(row.patid)
+ //this.$parent.selectionChanged(row.patid)
+ }
}
}
</script>
\ No newline at end of file
--
Gitblit v1.9.3