Commit e518662b by chenwq

fix: 更新轻改区域日报相关代码和路由参数

更新轻改日报为轻改区域日报,并添加相关路由参数传递
1 parent fed54ad5
......@@ -608,7 +608,8 @@ Page({
) {
wx.$util.pointRecord(item.recordId)
return wx.$router.go(item.url, {
scene: 1
scene: 1,
params: item.params || {},
})
} else {
wx.$util.showNoAccess()
......@@ -1439,13 +1440,16 @@ Page({
userInfo?.isSuper ||
userInfo?.loginRole === 3 ||
userInfo?.loginRole === 5) &&
menu.every(item => item.name != '轻改日报')
menu.every(item => item.name != '轻改区域日报')
) {
menu.push({
name: '轻改日报',
name: '轻改区域日报',
url: 'tabWorkOrder.supervisorDaily',
params: {
templateCode: 'qinggai-temp-001'
},
recordId: 18,
icon: 'icon-market',
icon: 'lightDaily',
noCheckdailyReport: true
})
}
......
......@@ -26,7 +26,7 @@ Page({
isUpload: false,
isTodayEdit: false,
// userInfo: {},
// 轻改日报模版code
// 轻改区域日报模版code
qgReportCode: null,
title: '',
// 模版表单提交数据
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!