linwe
2023-12-08 a228c5c73f2df5038cfc742f47ce899194a4c9e4
出租房bug修复
2 files modified
6 ■■■■ changed files
subPackage/house/member/index.vue 4 ●●●● patch | view | raw | blame | history
subPackage/user/family/edit.vue 2 ●●● patch | view | raw | blame | history
subPackage/house/member/index.vue
@@ -194,7 +194,7 @@
                    relationName: '',
                    location: "",
                    title: "",
                    roleType:null,
                    // roleType:null,
                    description: "",
                },
                rules: {
@@ -383,7 +383,7 @@
                const workStatusIndex = this.dataList.workStatusList.findIndex(item => item.name === this.workStatusName)
                const maritalStatusIndex = this.dataList.maritalStatusList.findIndex(item => item.name === this.maritalStatusName)
                
                this.form['roleType'] = roleTypeIndex >0 ? this.dataList.roleList[roleTypeIndex].value : ""
                this.form['roleType'] = roleTypeIndex >=0 ? this.dataList.roleList[roleTypeIndex].value : ""
                this.form['relationship'] = relationshipIndex >0 ? this.dataList.relationshipList[relationshipIndex].value: ""
                this.form['gender'] = genderIndex >0 ?this.dataList.genderList[genderIndex].value: ""
                this.form['isPrimaryContact'] = isPrimaryContactIndex >0 ?this.dataList.isPrimaryContactList[isPrimaryContactIndex].value: ""
subPackage/user/family/edit.vue
@@ -368,7 +368,7 @@
            },
            //类型选择确认
            typeSelect(item) {
                const [ result ] = e.value
                const [ result ] = item.value
                this[this.selectBusModel] = result.name
                this.form[this.selectBusKey] = result.value
                this.typeShow = !this.typeShow