diff --git a/src/project/saas/AppBuilding/list.vue b/src/project/saas/AppBuilding/list.vue index 2773777b..4702b9e3 100644 --- a/src/project/saas/AppBuilding/list.vue +++ b/src/project/saas/AppBuilding/list.vue @@ -18,7 +18,7 @@ 重新定位 - + @@ -60,7 +60,7 @@ export default { } }).then(res => { if (res?.data) { - if (res.data.records.length < 10) { + if (res.data.records.length < 10 && this.current === 1) { this.isMore = true } diff --git a/src/project/saas/AppResidentDocument/Add.vue b/src/project/saas/AppResidentDocument/Add.vue index ba9efc0e..3f8d5d9e 100644 --- a/src/project/saas/AppResidentDocument/Add.vue +++ b/src/project/saas/AppResidentDocument/Add.vue @@ -84,7 +84,7 @@
现住址 - +
{{ form.currentAreaName }} 请选择 @@ -94,19 +94,6 @@
-
- * -
- 居民标签 - -
-
残疾人
-
-
-
@@ -121,7 +108,7 @@
户籍地址 - +
{{ form.householdAreaName }} 请选择 @@ -140,6 +127,19 @@
+
+
+ + 居民标签 +
+
{{ item.labelName }}
+
+ + 请选择 + + +
+
保存
@@ -173,7 +173,8 @@ export default { householdAreaName: '', householdAddress: '', residentType: '', - age: '' + age: '', + residentLabelList: [] }, showSelect: false, formName: '', @@ -190,6 +191,16 @@ 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.map(v => { + return { + labelId: v.id, + labelName: v.labelName + } + }) + }) }, computed: { ...mapState(['user']), @@ -245,7 +256,9 @@ export default { }, toChooseTags () { - uni.navigateTo({url: `./Tags`}) + uni.navigateTo({ + url: `./Tags?ids=${this.form.residentLabelList.map(v => v.labelId).join(',')}` + }) }, confirmSelect(e) { @@ -301,6 +314,15 @@ export default {