This commit is contained in:
yanran200730
2022-01-07 09:06:53 +08:00
parent 2aea462902
commit c09b2a01d5

View File

@@ -312,10 +312,16 @@
onConfirm () {
if (this.gridInfo.userId || this.gridInfo.isLastLevel === '1') {
this.forwardForm.girdId = this.gridInfo.girdId
if (this.gridInfo.userId) {
this.forwardForm.girdId = this.gridInfo.girdId
this.forwardForm.girdName = this.gridInfo.girdName
this.forwardForm.girdMemberId = this.gridInfo.userId
this.forwardForm.girdMemberName = this.gridInfo.name
} else {
this.forwardForm.girdId = this.gridInfo.id
}
this.forwardForm.girdName = this.gridInfo.girdName
this.forwardForm.girdMemberId = this.gridInfo.userId
this.forwardForm.girdMemberName = this.gridInfo.name
this.forwardForm.name = `${this.gridInfo.girdName}${this.gridInfo.name ? '-' + this.gridInfo.name : ''}`
this.isShowUser = false