|
@@ -51,7 +51,7 @@ const clickA = () =>{
|
|
|
}
|
|
|
|
|
|
onMounted(async () => {
|
|
|
- const { type = '', id = '', userId='', deptId='',createTime='',orderStatus='' } = route.query
|
|
|
+ let { type = '', id = '', userId='', deptId='',createTime='',orderStatus='' } = route.query
|
|
|
const isValidType = Object.keys(businessRoutes).includes(type as string)
|
|
|
if (isMobileDevice()) {
|
|
|
if (type==='generateOperation') {
|
|
@@ -96,10 +96,12 @@ onMounted(async () => {
|
|
|
}
|
|
|
})
|
|
|
} else if(type === 'generateOperation'){
|
|
|
- push({
|
|
|
- name: 'FillOrderInfo',
|
|
|
- params: { deptId,userId,createTime,id,orderStatus }
|
|
|
- })
|
|
|
+ // push({
|
|
|
+ // name: 'FillOrderInfo',
|
|
|
+ // params: { deptId,userId,createTime,id,orderStatus }
|
|
|
+ // })
|
|
|
+ id = deptId+','+userId+','+createTime+','+id+','+orderStatus
|
|
|
+ push({ name: 'FillOrderInfo',params:{id}})
|
|
|
} else if (type === 'generateMaintenance') {
|
|
|
push({
|
|
|
name: 'IotMainWorkOrderBom',
|