|
@@ -51,10 +51,14 @@ const clickA = () =>{
|
|
}
|
|
}
|
|
|
|
|
|
onMounted(async () => {
|
|
onMounted(async () => {
|
|
- const { type = '', id = '', userId='' } = route.query
|
|
|
|
|
|
+ const { type = '', id = '', userId='', deptId='',createTime='',orderStatus='' } = route.query
|
|
const isValidType = Object.keys(businessRoutes).includes(type as string)
|
|
const isValidType = Object.keys(businessRoutes).includes(type as string)
|
|
if (isMobileDevice()) {
|
|
if (isMobileDevice()) {
|
|
- window.location.href = 'https://iot.deepoil.cc/deepoil/#/?type=' + type+'&id='+id+'&userId='+userId;
|
|
|
|
|
|
+ if (type==='generateOperation') {
|
|
|
|
+ window.location.href = 'https://iot.deepoil.cc/deepoil/#/?type=' + type+'&id='+id+'&userId='+userId+'&deptId='+deptId+'&createTime='+createTime+'&orderStatus='+orderStatus;
|
|
|
|
+ }else {
|
|
|
|
+ window.location.href = 'https://iot.deepoil.cc/deepoil/#/?type=' + type+'&id='+id+'&userId='+userId;
|
|
|
|
+ }
|
|
// 移动端跳转deepoil协议
|
|
// 移动端跳转deepoil协议
|
|
// try{
|
|
// try{
|
|
// const typelower = type.toLowerCase();
|
|
// const typelower = type.toLowerCase();
|
|
@@ -91,6 +95,11 @@ onMounted(async () => {
|
|
id: id
|
|
id: id
|
|
}
|
|
}
|
|
})
|
|
})
|
|
|
|
+ }else if(type === 'generateOperation'){
|
|
|
|
+ push({
|
|
|
|
+ name: 'IotOpeationFill',
|
|
|
|
+ params: { id }
|
|
|
|
+ })
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
// 默认跳转
|
|
// 默认跳转
|