diff --git a/src/api/menu/index.ts b/src/api/menu/index.ts index abb5bce..b231096 100644 --- a/src/api/menu/index.ts +++ b/src/api/menu/index.ts @@ -141,6 +141,18 @@ class MenuAPI { keepAlive: true, alwaysShow: false, }, + },{ + path: "compile", + component: "simulationEvaluation/compile", + name: "simulationEvaluationCompile", + meta: { + title: "编译部署", + icon: "user", + hidden: true, + roles: ["ADMIN", "GUEST"], + keepAlive: true, + alwaysShow: false, + }, }, { path: "reason", diff --git a/src/views/model/index.vue b/src/views/model/index.vue index a04d5e2..c9fe99d 100644 --- a/src/views/model/index.vue +++ b/src/views/model/index.vue @@ -165,7 +165,7 @@ function handleDelete(row: { [key: string]: any }) { } const doShowModelDetail=(row:any)=>{ - router.replace({path:"/modelMgr/modelDetail",query:{id:row.id}}) + router.replace({path:"/modelMgr/modelDetail",query:{id:row.id,from:'model'}}) } /** * 打开弹窗 diff --git a/src/views/model/modelDetail.vue b/src/views/model/modelDetail.vue index 2a11742..033c990 100644 --- a/src/views/model/modelDetail.vue +++ b/src/views/model/modelDetail.vue @@ -83,11 +83,16 @@ diff --git a/src/views/protocol/edit.vue b/src/views/protocol/edit.vue index f653cf2..a3f8fbd 100644 --- a/src/views/protocol/edit.vue +++ b/src/views/protocol/edit.vue @@ -44,7 +44,7 @@ 算子互联