网格区块

This commit is contained in:
liuye
2023-11-06 15:27:54 +08:00
parent ec8da18298
commit a2519d82a2
2 changed files with 6 additions and 2 deletions

View File

@@ -163,7 +163,9 @@ export default {
girdMemberManageList: girdMemberManageList?.map(v => ({wxUserId: v.id})) || [], girdMemberManageList: girdMemberManageList?.map(v => ({wxUserId: v.id})) || [],
girdMemberList: girdMemberList?.map(v => ({wxUserId: v.id})) || [], girdMemberList: girdMemberList?.map(v => ({wxUserId: v.id})) || [],
isCoordination: this.forms.currIndex, isCoordination: this.forms.currIndex,
coordinationId: this.forms.currIndex == 1 ? this.forms.parentGirdId : null coordinationId: this.forms.currIndex == 1 ? this.forms.parentGirdId : null,
parentGirdId: this.forms.currIndex == 1 ? this.forms.coordinationId : this.forms.parentGirdId,
parentGirdName: this.forms.currIndex == 1 ? this.forms.coordinationName : this.forms.parentGirdName
}).then((res) => { }).then((res) => {
if (res.code == 0) { if (res.code == 0) {
this.cancel(true) this.cancel(true)

View File

@@ -310,8 +310,10 @@ export default {
}, },
toAdd() { toAdd() {
let {id: parentGirdId, girdName: parentGirdName} = this.info let {id: parentGirdId, girdName: parentGirdName} = this.info
var coordinationId = this.info.parentGirdId
var coordinationName = this.info.parentGirdName
this.$router.push({ this.$router.push({
hash: "#add", query: {parentGirdId, parentGirdName, currIndex: this.currIndex} hash: "#add", query: {parentGirdId, parentGirdName, coordinationId, coordinationName, currIndex: this.currIndex}
}) })
}, },
goBack() { goBack() {