diff --git a/src/project/saas/AppResidentDocument/Add.vue b/src/project/saas/AppResidentDocument/Add.vue index 35651f88..6d7433c5 100644 --- a/src/project/saas/AppResidentDocument/Add.vue +++ b/src/project/saas/AppResidentDocument/Add.vue @@ -84,7 +84,7 @@
现住址 - +
{{ form.currentAreaName }} 请选择 @@ -94,20 +94,6 @@
-
- * -
- - 居民标签 - - 请选择 - - - -
-
@@ -122,7 +108,7 @@
户籍地址 - +
{{ form.householdAreaName }} 请选择 @@ -141,6 +127,19 @@
+
+
+ + 居民标签 + + 请选择 + + + +
+
保存
@@ -174,7 +173,8 @@ export default { householdAreaName: '', householdAddress: '', residentType: '', - age: '' + age: '', + residentLabelList: [] }, showSelect: false, formName: '', @@ -191,6 +191,11 @@ export default { this.form.residentType = options.type } this.$dict.load('yesOrNo', 'sex', 'householdRelation', 'nation', 'education', 'maritalStatus', 'politicsStatus', 'militaryStatus', 'faithType') + + uni.$on('onChecked', e => { + console.log(e) + this.form.residentLabelList = e + }) }, computed: { ...mapState(['user']), @@ -246,7 +251,9 @@ export default { }, toChooseTags () { - uni.navigateTo({url: `./Tags`}) + uni.navigateTo({ + url: `./Tags?ids=${this.form.residentLabelList.map(v => v).join(',')}` + }) }, confirmSelect(e) { @@ -302,6 +309,15 @@ export default {