Lou
2024-01-22 53ab5a896be6100a47867ebb6a98a26777d42cb7
更新
3 files modified
20 ■■■■■ changed files
subPackage/grid/tenement.vue 7 ●●●●● patch | view | raw | blame | history
subPackage/house/member/householdLabel.vue 11 ●●●● patch | view | raw | blame | history
subPackage/label/form.vue 2 ●●● patch | view | raw | blame | history
subPackage/grid/tenement.vue
@@ -101,13 +101,12 @@
            getScroe() {
                getSelfCommentInfo({
                    propertyCompanyId: this.id
                    propertyCompanyId: this.id,
                    createUser: uni.getStorageSync("userInfo").user_id
                }).then(res => {
                    this.scoreInfo = res.data;
                })
            },
            getDetailInfo(id) {
                getTenementDetail({
@@ -146,8 +145,8 @@
                    url: `comment?id=${this.detailInfo.id}&title=${this.detailInfo.name}`
                })
            },
            navToScore() {
                console.log(11111)
                uni.navigateTo({
                    url: `comment?id=${this.detailInfo.id}&title=${this.detailInfo.name}&data=${JSON.stringify(this.scoreInfo)}`,
                    complete: (res) => {
subPackage/house/member/householdLabel.vue
@@ -256,12 +256,13 @@
                        return
                    }
                } else {
                    if (!color) return;
                    this.addLabel(id, color)
                }
                // 刷新页面
                if (!this.from) {
                    this.getLabelList()
                }
                // if (!this.from) {
                //     this.getLabelList()
                // }
                this.popupShow = false
            },
@@ -283,6 +284,8 @@
                                icon: "error",
                                duration: 1200
                            })
                        } else {
                            this.getLabelList()
                        }
                    })
                }
@@ -311,6 +314,8 @@
                                icon: "error",
                                duration: 1200
                            })
                        } else {
                            this.getLabelList()
                        }
                    })
                }
subPackage/label/form.vue
@@ -170,7 +170,7 @@
                let siteInfo = uni.getStorageSync("siteInfo");
                let userInfo = uni.getStorageSync("userInfo");
                this.$set(this.info, "houseCode", siteInfo.houseCode);
                // this.$set(this.info, "districtName", siteInfo.name);
                this.$set(this.info, "districtName", siteInfo.name);
                this.$set(this.info, "userId", userInfo.user_id);
            }