BUG 30135

This commit is contained in:
aixianling
2022-06-09 17:25:56 +08:00
parent b3e7126701
commit 06d81ba7ea

View File

@@ -70,14 +70,14 @@ export default {
getAllGrids() {
this.slectList = []
let {girdMemberId} = this.user,
url = `/app/appgirdinfo/queryAppGirdInfoByGirdLevel`,
url = `/app/appgirdinfo/queryMyGirdListByLevel2AndUser`,
params = {girdMemberId}
if (this.isApply) {
url = `/app/appgirdinfo/listByInfo`
params = {}
}
if (this.isMyGirds) {
url = `/app/appgirdmemberinfo/queryMyGirdListByLevel2AndUser`
url = `/app/appgirdmemberinfo/queryMyGirdListByLevel2`
params = {}
}
this.$http.post(url, null, {params}).then((res) => {
@@ -145,7 +145,9 @@ export default {
},
submit() {
if (this.SelectGird.id != null) {
uni.setStorageSync("lastSelectedGrid", this.SelectGird.parentGirdId)
if (!this.isApply && !this.isMyGirds) {
uni.setStorageSync("lastSelectedGrid", this.SelectGird.parentGirdId)
}
uni.navigateBack({
success: () => {
uni.$emit("pagePicker:custom", this.SelectGird)