From a90f11d8c3c8251211c9c93974378e3f38191347 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期一, 07 七月 2025 17:09:45 +0800
Subject: [PATCH] 测试完成
---
/dev/null | 0
src/views/patient/patient/physical.vue | 6 +++---
src/views/patient/propaganda/Missionotice.vue | 4 ++--
src/views/patient/patient/outpatient.vue | 35 +++++++++++++++++++++++------------
src/views/patient/patient/profile/index.vue | 6 +++---
src/views/patient/subsequent/index.vue | 4 ++--
6 files changed, 33 insertions(+), 22 deletions(-)
diff --git "a/dist \0502\051.zip" "b/dist \0502\051.zip"
deleted file mode 100644
index 7de9996..0000000
--- "a/dist \0502\051.zip"
+++ /dev/null
Binary files differ
diff --git a/src/views/patient/patient/outpatient.vue b/src/views/patient/patient/outpatient.vue
index 511dfb1..69f8809 100644
--- a/src/views/patient/patient/outpatient.vue
+++ b/src/views/patient/patient/outpatient.vue
@@ -43,12 +43,20 @@
</el-form-item>
<el-row>
<el-form-item label=" 灏辫瘖鏃ユ湡 " prop="createTime">
- <el-date-picker
+ <!-- <el-date-picker
clearable
v-model="queryParams.createTime"
type="date"
value-format="yyyy-MM-dd"
placeholder="璇烽�夋嫨 灏辫瘖鏃ユ湡 "
+ >
+ </el-date-picker> -->
+ <el-date-picker
+ v-model="pickertime"
+ type="daterange"
+ range-separator="鑷�"
+ start-placeholder="寮�濮嬫棩鏈�"
+ end-placeholder="缁撴潫鏃ユ湡"
>
</el-date-picker>
</el-form-item>
@@ -151,20 +159,20 @@
<el-table-column
label="灏辫瘖鏃堕棿"
align="center"
- key="createTime"
- prop="createTime"
+ key="admindate"
+ prop="admindate"
width="160"
>
<template slot-scope="scope">
- <span>{{ formatTime(scope.row.createTime) }}</span>
+ <span>{{ formatTime(scope.row.admindate) }}</span>
</template>
</el-table-column>
<el-table-column
- label="闂ㄨ瘖鍙�"
+ label="鎮h�呯紪鍙�"
align="center"
- key="patid"
- prop="patid"
+ key="patno"
+ prop="patno"
/>
<el-table-column
label="濮撳悕"
@@ -407,7 +415,7 @@
initPassword: undefined,
amendtag: false, //鏄惁淇敼
// 鏃ユ湡鑼冨洿
- dateRange: [],
+ pickertime:[],
paperstypes: [
{ papersname: "韬唤璇�" },
{ papersname: "鎶ょ収" },
@@ -468,6 +476,7 @@
pageNum: 1,
pageSize: 10,
},
+
// 琛ㄥ崟鏍¢獙
rules: {
// userName: [
@@ -594,16 +603,18 @@
/** 鎼滅储鎸夐挳鎿嶄綔 */
handleQuery() {
this.queryParams.pageNum = 1;
+ this.queryParams.starttime=pickertime[0];
+ this.queryParams.endtime=pickertime[1];
this.getList();
},
/** 閲嶇疆鎸夐挳鎿嶄綔 */
resetQuery() {
- this.dateRange = [];
- this.queryParams= {
+ this.pickertime = [];
+ (this.queryParams = {
pageNum: 1,
pageSize: 10,
- },
- this.handleQuery();
+ }),
+ this.handleQuery();
},
// 澶氶�夋閫変腑鏁版嵁
handleSelectionChange(selection) {
diff --git a/src/views/patient/patient/physical.vue b/src/views/patient/patient/physical.vue
index f53258a..9111f53 100644
--- a/src/views/patient/patient/physical.vue
+++ b/src/views/patient/patient/physical.vue
@@ -252,12 +252,12 @@
<el-table-column
label="灏辫瘖鏃堕棿"
align="center"
- key="createTime"
- prop="createTime"
+ key="admindate"
+ prop="admindate"
width="160"
>
<template slot-scope="scope">
- <span>{{ formatTime(scope.row.createTime) }}</span>
+ <span>{{ formatTime(scope.row.admindate) }}</span>
</template>
</el-table-column>
<el-table-column
diff --git a/src/views/patient/patient/profile/index.vue b/src/views/patient/patient/profile/index.vue
index 364eb18..53838c1 100644
--- a/src/views/patient/patient/profile/index.vue
+++ b/src/views/patient/patient/profile/index.vue
@@ -372,12 +372,12 @@
<el-table-column
label="灏辫瘖鏃堕棿"
align="center"
- key="createTime"
- prop="createTime"
+ key="admindate"
+ prop="admindate"
width="160"
>
<template slot-scope="scope">
- <span>{{ formatTime(scope.row.createTime) }}</span>
+ <span>{{ formatTime(scope.row.admindate) }}</span>
</template>
</el-table-column>
diff --git a/src/views/patient/propaganda/Missionotice.vue b/src/views/patient/propaganda/Missionotice.vue
index 60a681c..c5e091d 100644
--- a/src/views/patient/propaganda/Missionotice.vue
+++ b/src/views/patient/propaganda/Missionotice.vue
@@ -198,8 +198,8 @@
<el-table-column
label="灏辫瘖鏃堕棿"
align="center"
- key="visitTime"
- prop="visitTime"
+ key="admindate"
+ prop="admindate"
width="160"
>
</el-table-column>
diff --git a/src/views/patient/subsequent/index.vue b/src/views/patient/subsequent/index.vue
index a48448d..544c3e0 100644
--- a/src/views/patient/subsequent/index.vue
+++ b/src/views/patient/subsequent/index.vue
@@ -236,11 +236,11 @@
label="灏辫瘖鏃堕棿"
sortable
align="center"
- prop="createTime"
+ prop="admindate"
width="160"
>
<template slot-scope="scope">
- <span>{{ formatTime(scope.row.createTime) }}</span>
+ <span>{{ formatTime(scope.row.admindate) }}</span>
</template>
</el-table-column>
<el-table-column
--
Gitblit v1.9.3