卡口登记

This commit is contained in:
yanran200730
2022-09-26 17:10:55 +08:00
parent b631420500
commit 6716deb004

View File

@@ -1,5 +1,5 @@
<template> <template>
<ai-detail isHasSidebar> <ai-detail isHasSidebar v-loading="isLoading">
<template slot="title"> <template slot="title">
<ai-title title="返乡登记详情" isShowBack isShowBottomBorder @onBackClick="cancel(false)"> <ai-title title="返乡登记详情" isShowBack isShowBottomBorder @onBackClick="cancel(false)">
</ai-title> </ai-title>
@@ -126,6 +126,7 @@
info: {}, info: {},
isShow: false, isShow: false,
currIndex: 0, currIndex: 0,
isLoading: false,
tableData: [], tableData: [],
colConfigs: [ colConfigs: [
{prop: 'createUserName', label: '姓名', align: 'center' }, {prop: 'createUserName', label: '姓名', align: 'center' },
@@ -136,6 +137,7 @@
}, },
created () { created () {
this.isLoading = true
if (this.params && this.params.id) { if (this.params && this.params.id) {
this.id = this.params.id this.id = this.params.id
this.$dict.load(['EP_riskLevel', 'EP_handleType', 'EP_registerPersonType', 'EP_highRiskIndustries', 'EP_travelType', 'yesOrNo', 'EP_handoverObject', this.$dict.load(['EP_riskLevel', 'EP_handleType', 'EP_registerPersonType', 'EP_highRiskIndustries', 'EP_travelType', 'yesOrNo', 'EP_handoverObject',
@@ -156,6 +158,10 @@
return this.dict.getLabel('EP_travelType', v) return this.dict.getLabel('EP_travelType', v)
}).join('') }).join('')
} }
this.isLoading = false
}).catch(() => {
this.isLoading = false
}) })
}, },