bug
This commit is contained in:
@@ -195,6 +195,8 @@
|
||||
this.info = res.data
|
||||
this.info.riskDisposalList = res.data.riskDisposalList.filter(v => !v.communityHandleType)
|
||||
this.communityInfo = res.data.riskDisposalList.filter(v => v.communityHandleType).length ? res.data.riskDisposalList.filter(v => v.communityHandleType)[0] : {}
|
||||
console.log(res.data.riskDisposalList.filter(v => v.communityHandleType))
|
||||
console.log(this.communityInfo)
|
||||
|
||||
this.info.travelTypeNames = res.data.travelType.split(',').map(v => {
|
||||
return this.dict.getLabel('EP_travelType', v)
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
placeholder="选择结束日期"
|
||||
@change="search.current = 1, getList()">
|
||||
</el-date-picker>
|
||||
<ai-download :instance="instance" url="/app/appepidemicpreventionregisterinfo/export" :params="search" fileName="卡口登记" :disabled="tableData.length == 0">
|
||||
<ai-download :instance="instance" url="/app/appepidemicpreventionregisterinfo/export" :params="params" fileName="卡口登记" :disabled="tableData.length == 0">
|
||||
<el-button icon="iconfont iconExported" :disabled="tableData.length == 0">导出</el-button>
|
||||
</ai-download>
|
||||
</template>
|
||||
@@ -139,7 +139,16 @@
|
||||
},
|
||||
|
||||
computed: {
|
||||
...mapState(['user'])
|
||||
...mapState(['user']),
|
||||
|
||||
params () {
|
||||
return {
|
||||
...this.search,
|
||||
arriveAreaId: this.search.arriveAreaId,
|
||||
queryBeginTime: this.search.queryBeginTime ? this.search.queryBeginTime + ' 00:00:00' : '',
|
||||
queryEndTime: this.search.queryEndTime ? this.search.queryEndTime + ' 23:59:59' : ''
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
created () {
|
||||
|
||||
Reference in New Issue
Block a user