diff --git a/src/project/wuxi/AppHandSnapshot/Content.vue b/src/project/wuxi/AppHandSnapshot/Content.vue index f761f38c..eae5da41 100644 --- a/src/project/wuxi/AppHandSnapshot/Content.vue +++ b/src/project/wuxi/AppHandSnapshot/Content.vue @@ -2,10 +2,8 @@
- - - - + + @@ -71,30 +69,19 @@ export default { this.forms.groupId = option.groupId this.forms.groupName = option.groupName this.typeList() - // uni.$on('pagePicker:custom', (res) => { - // this.selectUser = res - // if (res.name) { - // this.forms.name = res.name - // } else { - // this.forms.name = res.girdName - // } - // }) + uni.$on('goback', (res) => { + this.selectUser = res + this.forms.girdId = res.girdId + this.forms.girdName = res.girdName + this.forms.girdMemberId = res.id + this.forms.girdMemberName = res.name + this.forms.name = `${res.girdName}${res.name ? '-' + res.name : ''}` + }) }, onShow() { document.title = this.titleList[this.status] }, methods: { - handleSelectGrid(v) { - // this.forms.name = v.girdName - // this.forms.girdId = v.girdId - // this.selectUser = v - this.forms.girdId = v.girdId - this.forms.girdName = v.girdName - this.forms.girdMemberId = v.id - this.forms.girdMemberName = v.name - this.forms.name = `${v.girdName}${v.name ? '-' + v.name : ''}` - this.selectUser = {...v} - }, typeList() { this.$http.post(`/app/appclapeventgroup/list`, null, { params: { @@ -167,9 +154,9 @@ export default { this.forms.groupName = e[0].label this.forms.groupId = e[0].value }, - // toSelectUser() { - // uni.navigateTo({url: '../AppGridManagement/selectGridMember'}) - // }, + toSelectUser() { + uni.navigateTo({url: `./SelectUser?detailId=${this.id}`}) + }, }, } diff --git a/src/project/wuxi/AppHandSnapshot/Detail.vue b/src/project/wuxi/AppHandSnapshot/Detail.vue index 30699c6c..b718fcfe 100644 --- a/src/project/wuxi/AppHandSnapshot/Detail.vue +++ b/src/project/wuxi/AppHandSnapshot/Detail.vue @@ -207,6 +207,7 @@ export default {