BUG 29782
This commit is contained in:
@@ -86,6 +86,7 @@ export default {
|
|||||||
name: item.name
|
name: item.name
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
uni.showLoading({mask: true})
|
||||||
this.$http.post(`/app/appgirdinfo/addOrUpdateByEw`, {...this.form, girdMemberManageList, girdMemberList}).then((res) => {
|
this.$http.post(`/app/appgirdinfo/addOrUpdateByEw`, {...this.form, girdMemberManageList, girdMemberList}).then((res) => {
|
||||||
if (res?.code == 0) {
|
if (res?.code == 0) {
|
||||||
this.$u.toast('提交成功')
|
this.$u.toast('提交成功')
|
||||||
@@ -96,7 +97,7 @@ export default {
|
|||||||
}
|
}
|
||||||
}).catch((err) => {
|
}).catch((err) => {
|
||||||
this.$u.toast(err)
|
this.$u.toast(err)
|
||||||
})
|
}).finally(() => uni.hideLoading())
|
||||||
|
|
||||||
},
|
},
|
||||||
getArrayLabel(arr, key = 'name', separation = ',') {
|
getArrayLabel(arr, key = 'name', separation = ',') {
|
||||||
|
|||||||
@@ -115,6 +115,7 @@ export default {
|
|||||||
if (!this.form.girdName) {
|
if (!this.form.girdName) {
|
||||||
return this.$u.toast('请输入网格名称')
|
return this.$u.toast('请输入网格名称')
|
||||||
}
|
}
|
||||||
|
uni.showLoading({mask: true})
|
||||||
this.$http.post(`/app/appgirdinfo/addOrUpdateByEw`, {...this.form}).then((res) => {
|
this.$http.post(`/app/appgirdinfo/addOrUpdateByEw`, {...this.form}).then((res) => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
this.$u.toast('提交成功')
|
this.$u.toast('提交成功')
|
||||||
@@ -125,7 +126,7 @@ export default {
|
|||||||
}
|
}
|
||||||
}).catch((err) => {
|
}).catch((err) => {
|
||||||
this.$u.toast(err)
|
this.$u.toast(err)
|
||||||
})
|
}).finally(() => uni.hideLoading())
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user