From 53ab5a896be6100a47867ebb6a98a26777d42cb7 Mon Sep 17 00:00:00 2001
From: Lou <luzhiping@qqyjz.com>
Date: Mon, 22 Jan 2024 16:33:46 +0800
Subject: [PATCH] 更新
---
subPackage/grid/tenement.vue | 7 +++----
subPackage/house/member/householdLabel.vue | 11 ++++++++---
subPackage/label/form.vue | 2 +-
3 files changed, 12 insertions(+), 8 deletions(-)
diff --git a/subPackage/grid/tenement.vue b/subPackage/grid/tenement.vue
index e839bc1..bc42d84 100644
--- a/subPackage/grid/tenement.vue
+++ b/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) => {
diff --git a/subPackage/house/member/householdLabel.vue b/subPackage/house/member/householdLabel.vue
index 3ec9104..d730c0a 100644
--- a/subPackage/house/member/householdLabel.vue
+++ b/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()
}
})
}
diff --git a/subPackage/label/form.vue b/subPackage/label/form.vue
index 16743fc..5ba6313 100644
--- a/subPackage/label/form.vue
+++ b/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);
}
--
Gitblit v1.9.3