From cb1f69717eed3b6a61b6c61a8934bac752782b2d Mon Sep 17 00:00:00 2001 From: wwl <xchao828@163.com> Date: 星期三, 05 三月 2025 17:00:38 +0800 Subject: [PATCH] 1 --- src/views/hosp/teamAppLog/index.vue | 21 ++++++++++++++++++--- 1 files changed, 18 insertions(+), 3 deletions(-) diff --git a/src/views/hosp/teamAppLog/index.vue b/src/views/hosp/teamAppLog/index.vue index 0de9d3c..cabe4f9 100644 --- a/src/views/hosp/teamAppLog/index.vue +++ b/src/views/hosp/teamAppLog/index.vue @@ -49,8 +49,9 @@ <el-form-item label="棰勭害鏃堕棿"> <el-date-picker v-model="daterangeTjTime" - style="width: 240px" - value-format="yyyy-MM-dd" + :default-time="['00:00:00', '23:59:00']" + format="yyyy-MM-dd HH:mm" + value-format="yyyy-MM-dd HH:mm" type="daterange" range-separator="-" start-placeholder="寮�濮嬫棩鏈�" @@ -362,6 +363,10 @@ <script> import { + getNewDateList, +} from "@/api/hosp/order"; +import moment from "moment"; +import { listTeamAppLog, getTeamAppLog, goutongList, @@ -462,11 +467,21 @@ }; }, created() { - this.getList(); + + this.getdate(); // this.username = this.form.contactUserId; }, methods: { + getdate() { + getNewDateList().then((res) => { + this.daterangeTjTime = [ + moment(res.data).format("YYYY-MM-DD 00:00:00"), + moment(res.data).format("YYYY-MM-DD 23:59:00") + ];; + this.getList(); + }); + }, /** 鏌ヨ灏忕▼搴忓洟闃熼绾﹁褰曞垪琛� */ getList() { this.loading = true; -- Gitblit v1.8.0