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}") }} - + + +