This commit is contained in:
yanran200730
2022-09-27 14:54:14 +08:00
parent 39849cea5a
commit 039d65c94d

View File

@@ -1,6 +1,6 @@
<template> <template>
<ai-list class="list"> <ai-list class="list">
<ai-title slot="title" title="卡口登记" isShowBottomBorder :instance="instance" :hideLevel="disabledLevel" :disabledLevel="disabledLevel" isShowArea v-model="search.arriveAreaId" @change="changeArea"></ai-title> <ai-title slot="title" title="卡口登记" isShowBottomBorder :instance="instance" :hideLevel="0" :disabledLevel="disabledLevel" isShowArea v-model="search.arriveAreaId" @change="changeArea"></ai-title>
<template slot="content"> <template slot="content">
<div class="statistics-top"> <div class="statistics-top">
<div class="statistics-top__item"> <div class="statistics-top__item">
@@ -31,7 +31,7 @@
@change="search.current = 1, getList()"> @change="search.current = 1, getList()">
</ai-select> </ai-select>
<el-date-picker <el-date-picker
v-model="search.createTime" v-model="search.queryBeginTime"
type="date" type="date"
size="small" size="small"
value-format="yyyy-MM-DD" value-format="yyyy-MM-DD"
@@ -39,7 +39,7 @@
@change="search.current = 1, getList()"> @change="search.current = 1, getList()">
</el-date-picker> </el-date-picker>
<el-date-picker <el-date-picker
v-model="search.createTime" v-model="search.queryEndTime"
type="date" type="date"
size="small" size="small"
value-format="yyyy-MM-DD" value-format="yyyy-MM-DD"
@@ -104,7 +104,8 @@
gatewayId: '', gatewayId: '',
status: '', status: '',
arriveAreaId: '', arriveAreaId: '',
createTime: '' queryBeginTime: '',
queryEndTime: ''
}, },
dictList: [], dictList: [],
info: {}, info: {},
@@ -168,7 +169,9 @@
this.instance.post(`/app/appepidemicpreventionregisterinfo/list`, null, { this.instance.post(`/app/appepidemicpreventionregisterinfo/list`, null, {
params: { params: {
...this.search, ...this.search,
arriveAreaId: this.search.arriveAreaId arriveAreaId: this.search.arriveAreaId,
queryBeginTime: this.search.queryBeginTime ? this.search.queryBeginTime + ' 00:00:00' : '',
queryEndTime: this.search.queryEndTime ? this.search.queryEndTime + ' 23:59:59' : ''
} }
}).then(res => { }).then(res => {
if (res.code == 0) { if (res.code == 0) {