疫情防控
This commit is contained in:
@@ -3,13 +3,20 @@
|
||||
<template slot="content">
|
||||
<ai-search-bar class="search-bar">
|
||||
<template #left>
|
||||
<!-- <ai-select
|
||||
v-model="search.infoType"
|
||||
<ai-select
|
||||
v-model="search.handleType"
|
||||
clearable
|
||||
placeholder="请选择对象类型"
|
||||
:selectList="dict.getDict('EP_registerInfoType')"
|
||||
placeholder="请选择处理意见"
|
||||
:selectList="dict.getDict('EP_handleType2')"
|
||||
@change="search.current = 1, getList()">
|
||||
</ai-select> -->
|
||||
</ai-select>
|
||||
<ai-select
|
||||
v-model="search.queryType"
|
||||
clearable
|
||||
placeholder="请选择核酸状态"
|
||||
:selectList="dict.getDict('EP_nucleicAcidStatus')"
|
||||
@change="search.current = 1, getList()">
|
||||
</ai-select>
|
||||
<ai-select
|
||||
v-model="search.status"
|
||||
clearable
|
||||
@@ -25,6 +32,22 @@
|
||||
<i class="el-icon-circle-close" v-if="search.controllerUserId" @click.stop="user = [], search.controllerUserId = '', name = '', search.current = 1, getList()"></i>
|
||||
</div>
|
||||
</ai-user-selecter>
|
||||
<el-date-picker
|
||||
v-model="search.queryBeginTime"
|
||||
type="date"
|
||||
size="small"
|
||||
value-format="yyyy-MM-dd"
|
||||
placeholder="选择开始日期"
|
||||
@change="search.current = 1, getList()">
|
||||
</el-date-picker>
|
||||
<el-date-picker
|
||||
v-model="search.queryEndTime"
|
||||
type="date"
|
||||
size="small"
|
||||
value-format="yyyy-MM-dd"
|
||||
placeholder="选择结束日期"
|
||||
@change="search.current = 1, getList()">
|
||||
</el-date-picker>
|
||||
</template>
|
||||
<template #right>
|
||||
<ai-download :instance="instance" url="/app/appepidemicpreventioncommunitymanagement/export" :params="search" fileName="社区管理" :disabled="tableData.length == 0">
|
||||
@@ -78,6 +101,11 @@
|
||||
current: 1,
|
||||
size: 10,
|
||||
name: '',
|
||||
queryBeginTime: '',
|
||||
queryEndTime: '',
|
||||
handleType: '',
|
||||
gatewayId: '',
|
||||
queryType: '',
|
||||
infoType: '',
|
||||
status: '',
|
||||
controllerUserId: ''
|
||||
@@ -105,7 +133,7 @@
|
||||
},
|
||||
|
||||
created() {
|
||||
this.$dict.load(['EP_CM_status', 'EP_registerInfoType', 'EP_registerInfoType', 'EP_handleType']).then(() => {
|
||||
this.$dict.load(['EP_CM_status', 'EP_registerInfoType', 'EP_registerInfoType', 'EP_handleType', 'EP_handleType2', 'EP_nucleicAcidStatus']).then(() => {
|
||||
this.getList()
|
||||
})
|
||||
},
|
||||
@@ -114,7 +142,9 @@
|
||||
getList() {
|
||||
this.instance.post(`/app/appepidemicpreventioncommunitymanagement/list`, null, {
|
||||
params: {
|
||||
...this.search
|
||||
...this.search,
|
||||
queryBeginTime: this.search.queryBeginTime ? this.search.queryBeginTime + ' 00:00:00' : '',
|
||||
queryEndTime: this.search.queryEndTime ? this.search.queryEndTime + ' 23:59:59' : ''
|
||||
}
|
||||
}).then(res => {
|
||||
if (res.code == 0) {
|
||||
|
||||
Reference in New Issue
Block a user