From b8085c12e2f5542210c8a73a997e0b88d39e18b0 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期四, 20 三月 2025 16:45:56 +0800
Subject: [PATCH] 测试完成
---
src/views/patient/patient/index.vue | 60 ++++++++++++++++++++++++++++++++++++++++--------------------
1 files changed, 40 insertions(+), 20 deletions(-)
diff --git a/src/views/patient/patient/index.vue b/src/views/patient/patient/index.vue
index ecdbad6..bc2a4eb 100644
--- a/src/views/patient/patient/index.vue
+++ b/src/views/patient/patient/index.vue
@@ -226,14 +226,24 @@
key="id"
prop="id"
/> -->
- <el-table-column
+ <!-- <el-table-column
fixed
label="濮撳悕"
+ width="100"
align="center"
key="name"
prop="name"
- />
- <el-table-column label="鎬у埆" align="center" key="sex" prop="sex">
+ /> -->
+ <el-table-column
+
+ label="濮撳悕"
+ width="100"
+ align="center"
+ key="name"
+ prop="name"
+ >
+ </el-table-column>
+ <el-table-column label="鎬у埆"width="100" align="center" key="sex" prop="sex">
<template slot-scope="scope">
<span>{{ scope.row.sex == 1 ? "鐢�" : "濂�" }}</span>
</template>
@@ -243,7 +253,7 @@
align="center"
key="age"
prop="age"
- width="60"
+ width="100"
/>
<el-table-column
label="鍑虹敓骞存湀"
@@ -266,7 +276,7 @@
align="center"
key="tagList"
prop="tagList"
- width="160"
+ width="180"
:show-overflow-tooltip="true"
>
<template slot-scope="scope">
@@ -288,14 +298,12 @@
align="center"
key="telcode"
prop="telcode"
- width="120"
/>
<el-table-column
label="寤烘。鏃ユ湡"
align="center"
key="createTime"
prop="createTime"
- width="160"
>
<template slot-scope="scope">
<span>{{ formatTime(scope.row.createTime) }}</span>
@@ -305,7 +313,6 @@
label="鏇存柊鏃ユ湡"
align="center"
prop="archivetime"
- width="160"
>
<template slot-scope="scope">
<span>{{ formatTime(scope.row.archivetime) }}</span>
@@ -315,7 +322,7 @@
fixed="right"
label="鎿嶄綔"
align="center"
- width="190"
+ width="200"
class-name="small-padding fixed-width"
>
<template slot-scope="scope">
@@ -419,7 +426,7 @@
prop="templatename"
/>
<el-table-column
- label="寰呮墽琛�/鎬讳换鍔�"
+ label="寰呴殢璁�/鎬讳换鍔�"
align="center"
key="nickName"
prop="nickName"
@@ -453,7 +460,7 @@
align="center"
key="sendState"
prop="sendState"
- width="120"
+ width="180"
>
<template slot-scope="scope">
<dict-tag
@@ -502,7 +509,8 @@
<el-form ref="form" :model="form" :rules="rules" label-width="100px">
<el-row>
<el-col :span="8">
- <el-form-item label="濮撳悕" prop="name">
+ <el-form-item label="濮撳悕"
+ width="100" prop="name">
<el-input
v-model="form.name"
placeholder="璇疯緭鍏ュ鍚�"
@@ -511,7 +519,7 @@
</el-form-item>
</el-col>
<el-col :span="8">
- <el-form-item label="鎬у埆" prop="sex">
+ <el-form-item label="鎬у埆"width="100" prop="sex">
<el-select v-model="form.sex" placeholder="璇烽�夋嫨鎬у埆">
<el-option
v-for="dict in sextype"
@@ -694,8 +702,9 @@
<div class="uploading" v-else-if="dractive == 2">
<el-table :data="uploadingData" style="width: 100%">
<el-table-column prop="serial" label="搴忓彿"> </el-table-column>
- <el-table-column prop="name" label="濮撳悕"> </el-table-column>
- <el-table-column prop="sex" label="鎬у埆"> </el-table-column>
+ <el-table-column prop="name" label="濮撳悕"
+ width="100"> </el-table-column>
+ <el-table-column prop="sex" label="鎬у埆"width="100"> </el-table-column>
<el-table-column prop="certificatenum" label="璇佷欢鍙风爜">
</el-table-column>
@@ -733,8 +742,9 @@
<div v-if="dractive == 3">
<el-table :data="uploadingData" style="width: 100%">
<el-table-column prop="serial" label="搴忓彿"> </el-table-column>
- <el-table-column prop="name" label="濮撳悕"> </el-table-column>
- <el-table-column prop="sex" label="鎬у埆"> </el-table-column>
+ <el-table-column prop="name" label="濮撳悕"
+ width="100"> </el-table-column>
+ <el-table-column prop="sex" label="鎬у埆"width="100"> </el-table-column>
<el-table-column prop="certificatenum" label="璇佷欢鍙风爜">
</el-table-column>
<el-table-column prop="goday" label="鍑虹敓鏃ユ湡"> </el-table-column>
@@ -998,6 +1008,7 @@
pageNum: 1,
allhosp: "1",
pageSize: 10,
+ notrequiredFlag:0,
searchscope: 2,
idcardno: undefined,
name: undefined,
@@ -1018,7 +1029,6 @@
],
sex: [{ required: true, message: "鎬у埆涓嶈兘涓虹┖", trigger: "blur" }],
- age: [{ required: true, message: "骞撮緞涓嶈兘涓虹┖", trigger: "blur" }],
nation: [{ required: true, message: "姘戞棌涓嶈兘涓虹┖", trigger: "blur" }],
telcode: [
{ required: true, message: "鑱旂郴鏂瑰紡涓嶈兘涓虹┖", trigger: "blur" },
@@ -1150,8 +1160,18 @@
/** 閲嶇疆鎸夐挳鎿嶄綔 */
resetQuery() {
this.dateRange = [];
- this.resetForm("queryForm");
- this.$refs.tree.setCurrentKey(null);
+ this.queryParams= {
+ pageNum: 1,
+ allhosp: "1",
+ pageSize: 10,
+ notrequiredFlag:0,
+ searchscope: 2,
+ idcardno: undefined,
+ name: undefined,
+ status: undefined,
+ tagIds: undefined,
+ telcode: undefined,
+ },
this.handleQuery();
},
// 澶氶�夋閫変腑鏁版嵁
--
Gitblit v1.9.3