From 09a1bd58e04706d7e1d6e1543b990c08a4b8f97c Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期四, 16 一月 2025 13:57:03 +0800 Subject: [PATCH] 测试完成 --- src/views/patient/patient/index.vue | 28 ++++++++++++++++++++++++++-- 1 files changed, 26 insertions(+), 2 deletions(-) diff --git a/src/views/patient/patient/index.vue b/src/views/patient/patient/index.vue index ecdbad6..8400f7a 100644 --- a/src/views/patient/patient/index.vue +++ b/src/views/patient/patient/index.vue @@ -226,13 +226,37 @@ key="id" prop="id" /> --> - <el-table-column + <!-- <el-table-column fixed label="濮撳悕" align="center" key="name" prop="name" - /> + /> --> + <el-table-column + + label="濮撳悕" + align="center" + key="name" + prop="name" + > + <template slot-scope="scope"> + <el-button + size="medium" + type="text" + @click=" + $router.push({ + path: '/patient/indexls/', + query: { id: scope.row.id }, + }) + " + ><span class="button-textsc" + >{{scope.row.name}}</span + ></el-button + > + + </template> + </el-table-column> <el-table-column label="鎬у埆" align="center" key="sex" prop="sex"> <template slot-scope="scope"> <span>{{ scope.row.sex == 1 ? "鐢�" : "濂�" }}</span> -- Gitblit v1.9.3