From ec64a69276a1a7fa64096d45e2f804fd38d99d17 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期三, 19 二月 2025 10:50:13 +0800 Subject: [PATCH] 测试完成 --- src/views/patient/patient/hospital.vue | 36 ++++++++++++++++++++++++++++++------ 1 files changed, 30 insertions(+), 6 deletions(-) diff --git a/src/views/patient/patient/hospital.vue b/src/views/patient/patient/hospital.vue index 41fe57a..444db8d 100644 --- a/src/views/patient/patient/hospital.vue +++ b/src/views/patient/patient/hospital.vue @@ -77,7 +77,7 @@ </el-form> <el-row :gutter="10" class="mb8"> - <el-col :span="1.5"> + <!-- <el-col :span="1.5"> <el-button type="primary" plain @@ -87,8 +87,8 @@ v-hasPermi="['system:user:add']" >鏂板</el-button > - </el-col> - <el-col :span="1.5"> + </el-col> --> + <!-- <el-col :span="1.5"> <el-button type="success" plain @@ -99,7 +99,7 @@ v-hasPermi="['system:user:edit']" >淇敼</el-button > - </el-col> + </el-col> --> <el-col :span="1.5"> <el-button type="danger" @@ -148,12 +148,36 @@ prop="patno" width="120" /> - <el-table-column + <!-- <el-table-column label="濮撳悕" align="center" key="patname" prop="patname" - /> + /> --> + <el-table-column + fixed + label="濮撳悕" + align="center" + key="patname" + prop="patname" + > + <template slot-scope="scope"> + <el-button + size="medium" + type="text" + @click=" + $router.push({ + path: '/patient/indexls/', + query: { sfzh: scope.row.idcardno }, + }) + " + ><span class="button-textsc" + >{{scope.row.patname}}</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