From 3fd01faff41c99bf70b4afe2ccdfe795dd54359a Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期四, 20 三月 2025 15:36:31 +0800 Subject: [PATCH] 测试完成 --- src/views/followvisit/discharge/index.vue | 49 ++++++++++++++++++++++++++++++++++++------------- 1 files changed, 36 insertions(+), 13 deletions(-) diff --git a/src/views/followvisit/discharge/index.vue b/src/views/followvisit/discharge/index.vue index 8208b99..118c58a 100644 --- a/src/views/followvisit/discharge/index.vue +++ b/src/views/followvisit/discharge/index.vue @@ -90,6 +90,17 @@ end-placeholder="缁撴潫鏃ユ湡" ></el-date-picker> </el-form-item> + <el-form-item label="搴旈殢璁挎椂闂�"> + <el-date-picker + v-model="dateRangefs" + style="width: 240px" + value-format="yyyy-MM-dd" + type="daterange" + range-separator="-" + start-placeholder="寮�濮嬫棩鏈�" + end-placeholder="缁撴潫鏃ユ湡" + ></el-date-picker> + </el-form-item> <el-form-item label="鎮h�呭鍚�" prop="sendname"> <el-input @@ -213,6 +224,8 @@ <el-table-column label="浠诲姟鍚嶇О" fixed + width="150" + show-overflow-tooltip align="center" key="taskName" prop="taskName" @@ -462,18 +475,24 @@ </el-table-column> --> <el-table-column label="浠诲姟缁撴灉璇存槑" - width="200" + width="220" align="center" key="remark" prop="remark" > - <template slot-scope="scope" v-if="scope.row.remark"> - <el-tag - type="warning" - v-if="scope.row.sendstate != 5 && scope.row.sendstate != 4" - >{{ scope.row.remark }}</el-tag + <template slot-scope="scope" v-if="scope.row.remark"> + <el-tooltip + :content="scope.row.remark" + placement="top" + effect="dark" > - <el-tag type="warning" v-else>{{ scope.row.remark }}</el-tag> + <el-tag + type="warning" + v-if="scope.row.sendstate != 5 && scope.row.sendstate != 4" + >{{ scope.row.remark }}</el-tag + > + <el-tag type="warning" v-else>{{ scope.row.remark }}</el-tag> + </el-tooltip> </template> </el-table-column> <el-table-column @@ -781,6 +800,7 @@ initPassword: undefined, // 鏃ユ湡鑼冨洿 dateRange: [], + dateRangefs: [], // 宀椾綅閫夐」 postOptions: [], ruleForm: { @@ -880,8 +900,8 @@ topqueryParams: { pageNum: 1, pageSize: 10, - sendstate:2, - sort: 1, + sendstate: 2, + sort: 2, //0 鍑洪櫌鏃堕棿(姝e簭) 1 鍑洪櫌鏃堕棿(鍊掑簭) 2 鍙戦�佹椂闂�(姝e簭) 3 鍙戦�佹椂闂�(鍊掑簭) serviceType: 2, searchscope: 3, scopetype: [], @@ -1163,7 +1183,8 @@ this.topqueryParams.pageNum = 1; this.topqueryParams.startOutHospTime = this.dateRange[0]; this.topqueryParams.endOutHospTime = this.dateRange[1]; - + this.topqueryParams.startSendDateTime = this.dateRangefs[0]; + this.topqueryParams.endSendDateTime = this.dateRangefs[1]; this.getList(refresh); }, // 鎮h�呰寖鍥村鐞� @@ -1188,13 +1209,14 @@ /** 閲嶇疆鎸夐挳鎿嶄綔 */ resetQuery() { this.dateRange = []; + this.dateRangefs = []; this.topqueryParams = { pageNum: 1, pageSize: 10, serviceType: 2, - sendstate:2, + sendstate: 2, searchscope: 2, - sort: 1, + sort: 2, }; this.handleQuery(1); }, @@ -1415,10 +1437,11 @@ }, // 鍒涘缓鍐嶆闅忚鏈嶅姟 setupsubtask() { - this.$refs['zcform'].validate((valid) => { + this.$refs["zcform"].validate((valid) => { if (valid) { let form = structuredClone(this.zcform); form.longSendTime = this.formatTime(form.date1); + form.finishtime = ''; if (form.resource) { if (form.resource == 2) { form.serviceType = 10; -- Gitblit v1.9.3