From 1af737fe87be7849cb2c155e62b8b660fcfaaa01 Mon Sep 17 00:00:00 2001 From: huangdeliang Date: Tue, 17 Aug 2021 18:41:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8D=A1=E8=AE=B0=E5=BD=95=E8=B7=B3?= =?UTF-8?q?=E8=BD=AC=E6=90=9C=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- stdiet-ui/src/views/custom/customer/index.vue | 6 + .../src/views/custom/wxUserLog/index.vue | 166 +++++++++++------- 2 files changed, 112 insertions(+), 60 deletions(-) diff --git a/stdiet-ui/src/views/custom/customer/index.vue b/stdiet-ui/src/views/custom/customer/index.vue index e41791e88..4e8870811 100644 --- a/stdiet-ui/src/views/custom/customer/index.vue +++ b/stdiet-ui/src/views/custom/customer/index.vue @@ -641,6 +641,12 @@ export default { this.physicalSignsList = response.rows; }); }, + activated() { + if (this.$route.query.cusName) { + this.queryParams.name = this.$route.query.cusName; + this.handleQuery(); + } + }, computed: { isPartner() { return this.roles && this.roles.includes("partner"); diff --git a/stdiet-ui/src/views/custom/wxUserLog/index.vue b/stdiet-ui/src/views/custom/wxUserLog/index.vue index 4c1a87f42..b1a6fbee8 100644 --- a/stdiet-ui/src/views/custom/wxUserLog/index.vue +++ b/stdiet-ui/src/views/custom/wxUserLog/index.vue @@ -32,37 +32,51 @@ /> - + - + - - + + + v-model="logTimeScope" + type="daterange" + range-separator="至" + start-placeholder="打卡开始日期" + end-placeholder="打卡结束日期" + format="yyyy-MM-dd" + value-format="yyyy-MM-dd" + :picker-options="logTimePickerOptions" + > @@ -87,7 +101,7 @@ icon="el-icon-s-flag" size="mini" @click="showNotLunch()" - >未打卡客户列表 + >未打卡客户列表 @@ -153,7 +167,16 @@ {{ parseTime(scope.row.logTime, "{y}-{m}-{d}") }} - + + +