bug
This commit is contained in:
@@ -195,6 +195,8 @@
|
|||||||
this.info = res.data
|
this.info = res.data
|
||||||
this.info.riskDisposalList = res.data.riskDisposalList.filter(v => !v.communityHandleType)
|
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] : {}
|
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 => {
|
this.info.travelTypeNames = res.data.travelType.split(',').map(v => {
|
||||||
return this.dict.getLabel('EP_travelType', v)
|
return this.dict.getLabel('EP_travelType', v)
|
||||||
|
|||||||
@@ -46,7 +46,7 @@
|
|||||||
placeholder="选择结束日期"
|
placeholder="选择结束日期"
|
||||||
@change="search.current = 1, getList()">
|
@change="search.current = 1, getList()">
|
||||||
</el-date-picker>
|
</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>
|
<el-button icon="iconfont iconExported" :disabled="tableData.length == 0">导出</el-button>
|
||||||
</ai-download>
|
</ai-download>
|
||||||
</template>
|
</template>
|
||||||
@@ -139,7 +139,16 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
computed: {
|
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 () {
|
created () {
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
<ai-import :instance="instance" :dict="dict" type="appepidemicpreventiondatamatch" name="数据比对" @success="getList()">
|
<ai-import :instance="instance" :dict="dict" type="appepidemicpreventiondatamatch" name="数据比对" @success="getList()">
|
||||||
<el-button icon="iconfont iconImport" type="primary">导入</el-button>
|
<el-button icon="iconfont iconImport" type="primary">导入</el-button>
|
||||||
</ai-import>
|
</ai-import>
|
||||||
<ai-download :instance="instance" url="/app/appepidemicpreventiondatamatch/export" :params="search" fileName="数据比对" :disabled="tableData.length == 0">
|
<ai-download :instance="instance" url="/app/appepidemicpreventiondatamatch/export" :params="params" fileName="数据比对" :disabled="tableData.length == 0">
|
||||||
<el-button icon="iconfont iconExported" :disabled="tableData.length == 0">导出</el-button>
|
<el-button icon="iconfont iconExported" :disabled="tableData.length == 0">导出</el-button>
|
||||||
</ai-download>
|
</ai-download>
|
||||||
</template>
|
</template>
|
||||||
@@ -131,6 +131,17 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
computed: {
|
||||||
|
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 () {
|
created () {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user