网格区块
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user