| | |
| | | import WebViewPlus from "@/components/WebViewPlus.vue"; |
| | | import {getWebViewUrl} from "@/utils/index.js"; |
| | | |
| | | const wayLineJodInfoId = ref(null) |
| | | const wayLineJobInfoId = ref(null) |
| | | const viewUrl = ref('') |
| | | // const viewUrl = ref(getWebViewUrl('/execution')) |
| | | |
| | |
| | | }); |
| | | } else if (data.type === 'control') { |
| | | uni.redirectTo({ |
| | | url: `/pages/inspectionTask/execution/index?wayLineJodInfoId=${wayLineJodInfoId.value}` |
| | | url: `/pages/inspectionTask/execution/index?wayLineJobInfoId=${wayLineJobInfoId.value}` |
| | | }); |
| | | } else if(data.type === 'workid') { |
| | | uni.navigateTo({ |
| | |
| | | } |
| | | |
| | | onLoad((options) => { |
| | | wayLineJodInfoId.value = options.wayLineJodInfoId |
| | | viewUrl.value = getWebViewUrl('/execution', {wayLineJodInfoId: wayLineJodInfoId.value}) |
| | | wayLineJobInfoId.value = options.wayLineJobInfoId |
| | | viewUrl.value = getWebViewUrl('/execution', {wayLineJobInfoId: wayLineJobInfoId.value}) |
| | | }) |
| | | const isApp = ref(false) |
| | | onShow(() => { |