diff --git a/src/views/tested/status/delay/components/edit.vue b/src/views/tested/status/delay/components/edit.vue index c6b5434..7cf1260 100644 --- a/src/views/tested/status/delay/components/edit.vue +++ b/src/views/tested/status/delay/components/edit.vue @@ -191,21 +191,10 @@ } // 编辑 const editForm = () => { - // $route.params.type = dialogStatus.value - // mainPage.reload() - // $router.push({ - // path: `/dinfo/${dialogStatus.value}`, - // query: { - // row: $route.query.row, - // statusName, - // }, - // }) - // document.getElementById('reload-btn')?.click() - // $router.push({ - // // params: { ...$route.params, type: 'update' }, - // path: `/${$route.query.equipmentType === '1' ? 'dinfo' : 'speciallist'}/update`, - // query: { ...$route.query }, - // }) + $router.push({ + path: `/${statusTypeNameDict.value[$route.query.statusType as string]}/update`, + query: { ...$route.query }, + }) initDialog() } // 删除 diff --git a/src/views/tested/status/delay/components/edit.vue b/src/views/tested/status/delay/components/edit.vue index c6b5434..7cf1260 100644 --- a/src/views/tested/status/delay/components/edit.vue +++ b/src/views/tested/status/delay/components/edit.vue @@ -191,21 +191,10 @@ } // 编辑 const editForm = () => { - // $route.params.type = dialogStatus.value - // mainPage.reload() - // $router.push({ - // path: `/dinfo/${dialogStatus.value}`, - // query: { - // row: $route.query.row, - // statusName, - // }, - // }) - // document.getElementById('reload-btn')?.click() - // $router.push({ - // // params: { ...$route.params, type: 'update' }, - // path: `/${$route.query.equipmentType === '1' ? 'dinfo' : 'speciallist'}/update`, - // query: { ...$route.query }, - // }) + $router.push({ + path: `/${statusTypeNameDict.value[$route.query.statusType as string]}/update`, + query: { ...$route.query }, + }) initDialog() } // 删除 diff --git a/src/views/tested/subpackage/certificate/index.vue b/src/views/tested/subpackage/certificate/index.vue index fe3af86..37d81b4 100644 --- a/src/views/tested/subpackage/certificate/index.vue +++ b/src/views/tested/subpackage/certificate/index.vue @@ -1,3 +1,188 @@ + + + +