【update】 起草组列表和详情、跳转会议
This commit is contained in:
@@ -87,9 +87,19 @@ Page({
|
||||
},
|
||||
// 项目详情
|
||||
projectDetail(e){
|
||||
wx.navigateTo({
|
||||
url: `../projectDetail/projectDetail?id=${e.currentTarget.dataset.project.id}&type=${this.data.type}&workingGroupId=${e.currentTarget.dataset.project.workingGroupId}`,
|
||||
})
|
||||
// 工作组id
|
||||
const workingGroupId = e.currentTarget.dataset.project.workingGroupId
|
||||
// 起草组id
|
||||
const draftingGroupId = e.currentTarget.dataset.project.draftingGroupId
|
||||
if (workingGroupId) {
|
||||
wx.navigateTo({
|
||||
url: `../projectDetail/projectDetail?id=${e.currentTarget.dataset.project.id}&type=${this.data.type}&workingGroupId=${workingGroupId}`,
|
||||
})
|
||||
} else if (draftingGroupId) {
|
||||
wx.navigateTo({
|
||||
url: `../projectDetail/projectDetail?id=${e.currentTarget.dataset.project.id}&type=${this.data.type}&draftingGroupId=${draftingGroupId}`,
|
||||
})
|
||||
}
|
||||
},
|
||||
loadData(){
|
||||
const that = this
|
||||
|
||||
Reference in New Issue
Block a user