路由跳转bug修改
This commit is contained in:
@@ -41,7 +41,7 @@ export function useRouterPush(inSetup = true) {
|
||||
const meta = allRoutes.find(item => item.name === key)?.meta || null;
|
||||
// 处理 my_initiatechange 路由,如果 id 存在,直接跳转
|
||||
// 判断发起变更是否是编辑
|
||||
if(key==='my_initiatechange' && route.value?.query?.id){
|
||||
if(route.value?.name==='my_initiatechange' && route.value?.query?.id){
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
@@ -683,8 +683,7 @@ onMounted(() => {
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex items-center justify-between border-t pt-3 mt-3">
|
||||
<p class="text-xs text-slate-400">待归档 5 项:培训签到与考核记录、PSSR 检查记录(含现场照片)、验收报告与运行数据、更新后的 P&ID / 操作规程(受控最新版)、设备 / 联锁台账更新记录</p>
|
||||
<div class="flex items-center justify-end border-t pt-3 mt-3">
|
||||
<div class="flex gap-2">
|
||||
<NButton size="small" @click="approvalDrawer = true">审批流程设置</NButton>
|
||||
<NButton ghost size="small" @click="back">取消</NButton>
|
||||
|
||||
Reference in New Issue
Block a user