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