改bug
This commit is contained in:
@@ -36,6 +36,20 @@ Page({
|
||||
url: `../meetingDetailSigned/meetingDetailSigned?meetingInfo=${meetingInfo}`,
|
||||
})
|
||||
},
|
||||
// 跳转合同详情
|
||||
contractDetail(){
|
||||
console.log(this.data.form)
|
||||
if(this.data.form.contractId) { // 关联了合同才能去合同详情
|
||||
wx.navigateTo({
|
||||
url: `../contractDetail/contractDetail?id=${this.data.form.contractId}`,
|
||||
})
|
||||
}else{
|
||||
wx.showToast({
|
||||
title: '未关联合同',
|
||||
icon: 'none'
|
||||
})
|
||||
}
|
||||
},
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user