| | |
| | | |
| | | getScroe() { |
| | | getSelfCommentInfo({ |
| | | propertyCompanyId: this.id |
| | | propertyCompanyId: this.id, |
| | | createUser: uni.getStorageSync("userInfo").user_id |
| | | }).then(res => { |
| | | this.scoreInfo = res.data; |
| | | }) |
| | | }, |
| | | |
| | | |
| | | |
| | | getDetailInfo(id) { |
| | | getTenementDetail({ |
| | |
| | | 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) => { |
| | |
| | | return
|
| | | }
|
| | | } else {
|
| | | if (!color) return;
|
| | | this.addLabel(id, color)
|
| | | }
|
| | | // 刷新页面
|
| | | if (!this.from) {
|
| | | this.getLabelList()
|
| | | }
|
| | | // if (!this.from) {
|
| | | // this.getLabelList()
|
| | | // }
|
| | | this.popupShow = false
|
| | | },
|
| | |
|
| | |
| | | icon: "error",
|
| | | duration: 1200
|
| | | })
|
| | | } else {
|
| | | this.getLabelList()
|
| | | }
|
| | | })
|
| | | }
|
| | |
| | | icon: "error",
|
| | | duration: 1200
|
| | | })
|
| | | } else {
|
| | | this.getLabelList()
|
| | | }
|
| | | })
|
| | | }
|
| | |
| | | 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); |
| | | } |
| | | |