解绑字典工具类和vuex的强绑定,字典类可单独使用
This commit is contained in:
@@ -77,25 +77,7 @@ export default {
|
||||
this.activeName = this.$route.query?.type
|
||||
this.areaId = JSON.parse(JSON.stringify(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",
|
||||
"livePeriod",
|
||||
"language",
|
||||
"nationality");
|
||||
"legality", "education", "maritalStatus", "politicsStatus", "householdName", "nation", "liveReason", "certificateType", "job", "militaryStatus", "householdRelation", "logoutReason", "nation", "registerStatus", "residentTipType", "liveCategory", "livePeriod", "language", "nationality");
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
32
packages/meta/AppResident/components/AiEditCard.vue
Normal file
32
packages/meta/AppResident/components/AiEditCard.vue
Normal file
@@ -0,0 +1,32 @@
|
||||
<template>
|
||||
<section class="AiEditCard">
|
||||
<ai-card v-bind="{...$props,...$attrs}">
|
||||
<template #content>
|
||||
<slot name="edit"/>
|
||||
<slot/>
|
||||
</template>
|
||||
</ai-card>
|
||||
</section>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "AiEditCard",
|
||||
props: {
|
||||
editable:{default:false}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
editable: false
|
||||
}
|
||||
},
|
||||
methods: {},
|
||||
created() {
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.AiEditCard {
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user