BUG 30925
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
<template>
|
||||
<section class="AppResident">
|
||||
<ai-list v-if="!showDetail" isTabs>
|
||||
<ai-title slot="title" title="居民档案" :instance="instance" :hideLevel="hideLevel-1" isShowArea
|
||||
v-model="areaId"/>
|
||||
<ai-title slot="title" title="居民档案" :instance="instance" :hideLevel="hideLevel-1" :isShowArea="permissions('app_datastatistics')" v-model="areaId"/>
|
||||
<template #tabs>
|
||||
<el-tabs v-model="activeName">
|
||||
<el-tab-pane v-for="op in tabs" :key="op.value" :name="op.value" :label="op.label">
|
||||
@@ -67,14 +66,14 @@ export default {
|
||||
comp: ResidentList,
|
||||
detail: ResidentDetail
|
||||
})),
|
||||
{label: "居民统计", value: "3", comp: ResidentSta},
|
||||
{label: "居民统计", value: "3", comp: ResidentSta, permit: "app_datastatistics"},
|
||||
{label: "居民档案审核", value: "4", comp: auditList, detail: auditDetail, permit: "app_appresident_examine"}
|
||||
].filter(e => !e.permit || this.permissions(e.permit))
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.activeName = this.$route.query?.type
|
||||
this.areaId = this.$copy(this.user.info.areaId)
|
||||
this.areaId = this.permissions("app_datastatistics") ? this.$copy(this.user.info.areaId) : ""
|
||||
this.dict.load('residentType', "sex", "faithType", "fileStatus", "legality", "education", "maritalStatus",
|
||||
"politicsStatus", "householdName", "nation", "liveReason", "certificateType", "job", "militaryStatus",
|
||||
"householdRelation", "logoutReason", "nation", "registerStatus", "residentTipType", "liveCategory",
|
||||
|
||||
Reference in New Issue
Block a user