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