feat:任务详情跳转工单多加一个参数,改成对象传参
| | |
| | | url: `/pages/inspectionTask/execution/index?wayLineJodInfoId=${wayLineJodInfoId.value}` |
| | | }); |
| | | } else if(data.type === 'workid') { |
| | | const params = { |
| | | eventNum: data.eventNum, |
| | | wLJobInfoId: data.wLJobInfoId |
| | | }; |
| | | uni.navigateTo({ |
| | | url: `/subPackages/workDetail/index?eventNum=${encodeURIComponent(JSON.stringify(params))}` |
| | | url: `/subPackages/workDetail/index?eventNum=${data.eventNum}&wLJobInfoId=${data.wLJobInfoId}` |
| | | }); |
| | | } |
| | | } |
| | |
| | | const viewUrl = ref('') |
| | | onLoad( (options) => { |
| | | const eventNum= options.eventNum; |
| | | viewUrl.value = getWebViewUrl('/workDetail', {eventNum:eventNum,totalNum:options.totalNum,keyword:options.keyword,aiType:options.aiType}) |
| | | viewUrl.value = getWebViewUrl('/workDetail', {eventNum:eventNum,totalNum:options.totalNum,keyword:options.keyword,aiType:options.aiType,wLJobInfoId:options.wLJobInfoId}) |
| | | }); |
| | | |
| | | function onPostMessage(data) { |