添加页面及附件查看
This commit is contained in:
@@ -108,6 +108,16 @@ Page({
|
||||
});
|
||||
});
|
||||
},
|
||||
onViewAttachment(e: any) {
|
||||
const data = getDataSet(e);
|
||||
const index = data.index;
|
||||
const item = this.data.list[index];
|
||||
wx.navigateTo({
|
||||
url: `/pages/base/viewAttachment/viewAttachment?head_id=${
|
||||
item.head_id
|
||||
}&title=${encodeURIComponent(`${item.bill_no} 附件`)}`,
|
||||
});
|
||||
},
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user