添加页面及附件查看

This commit is contained in:
zhengw
2026-02-04 11:42:19 +08:00
parent 1c0e0b265d
commit e10c7bc537
34 changed files with 817 additions and 68 deletions

View File

@@ -113,6 +113,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} 附件`)}`,
});
},
/**
* 生命周期函数--监听页面加载
*/