diff --git a/src/api/menu/index.ts b/src/api/menu/index.ts index 8930f44..d9ad20a 100644 --- a/src/api/menu/index.ts +++ b/src/api/menu/index.ts @@ -74,13 +74,39 @@ class MenuAPI { roles: ["GUEST", "ADMIN", "ADMIN6"], alwaysShow: false, }, - children: [ + children: [ { path: "index", component: "protocol/index", name: "protocolIndex", meta: { - title: "互联协议1", + title: "互联协议", + icon: "user", + hidden: true, + roles: ["ADMIN", "GUEST"], + keepAlive: true, + alwaysShow: false, + }, + }, + { + path: "edit", + component: "protocol/edit", + name: "protocolEdit", + meta: { + title: "互联协议修改", + icon: "user", + hidden: true, + roles: ["ADMIN", "GUEST"], + keepAlive: true, + alwaysShow: false, + }, + }, + { + path: "detail", + component: "protocol/detail", + name: "protocolDetail", + meta: { + title: "互联协议详情", icon: "user", hidden: true, roles: ["ADMIN", "GUEST"], diff --git a/src/views/flow/demo/index.vue b/src/views/flow/demo/index.vue index 20cc46c..daef86a 100644 --- a/src/views/flow/demo/index.vue +++ b/src/views/flow/demo/index.vue @@ -41,7 +41,7 @@ const themeApprove = { }, polyline: { strokeWidth: 1, - stroke: '#3CB371' + stroke: 'red' }, edgeText: { background: { diff --git a/src/views/flow/demo/nodePanel.vue b/src/views/flow/demo/nodePanel.vue index 37e02e3..2d20664 100644 --- a/src/views/flow/demo/nodePanel.vue +++ b/src/views/flow/demo/nodePanel.vue @@ -45,10 +45,10 @@ const list1 = reactive([ const list2 = reactive([ { text: "VIT推理算子1", id: 301,show:true }, - { text: "VIT推理算子2", id: 301,show:true }, - { text: "VIT后处理算子1", id: 301,show:true }, - { text: "VIT后处理算子2", id: 301,show:true }, - { text: "VIT后处理算子3", id: 301,show:true }, + { text: "VIT推理算子2", id: 302,show:true }, + { text: "VIT后处理算子1", id: 303,show:true }, + { text: "VIT后处理算子2", id: 304,show:true }, + { text: "VIT后处理算子3", id: 305,show:true }, ]); const updateNode=(nodes)=>{ diff --git a/src/views/model/index.vue b/src/views/model/index.vue index 272d463..a04d5e2 100644 --- a/src/views/model/index.vue +++ b/src/views/model/index.vue @@ -32,7 +32,7 @@ 查看 互联 + @click="doUploadModel()">互联 删除 diff --git a/src/views/model/modelDetail.vue b/src/views/model/modelDetail.vue index a474efe..2a11742 100644 --- a/src/views/model/modelDetail.vue +++ b/src/views/model/modelDetail.vue @@ -67,7 +67,7 @@ 前处理-GRAY图像格式 前处理-RGB24图像格式 - + @@ -75,14 +75,21 @@ + + 返回 + diff --git a/src/views/model/uploadModel.vue b/src/views/model/uploadModel.vue index 62b08f6..7bc2168 100644 --- a/src/views/model/uploadModel.vue +++ b/src/views/model/uploadModel.vue @@ -123,14 +123,21 @@ - 分割 - 取消 + 分割 + 取消 + diff --git a/src/views/protocol/detailFlow.vue b/src/views/protocol/detailFlow.vue new file mode 100644 index 0000000..1d8567b --- /dev/null +++ b/src/views/protocol/detailFlow.vue @@ -0,0 +1,123 @@ + + + + \ No newline at end of file diff --git a/src/views/protocol/edit.vue b/src/views/protocol/edit.vue new file mode 100644 index 0000000..f653cf2 --- /dev/null +++ b/src/views/protocol/edit.vue @@ -0,0 +1,196 @@ + + + + \ No newline at end of file diff --git a/src/views/protocol/editFlow.vue b/src/views/protocol/editFlow.vue new file mode 100644 index 0000000..abaef73 --- /dev/null +++ b/src/views/protocol/editFlow.vue @@ -0,0 +1,187 @@ + + + + \ No newline at end of file diff --git a/src/views/protocol/index.vue b/src/views/protocol/index.vue index a78b6b4..f315ded 100644 --- a/src/views/protocol/index.vue +++ b/src/views/protocol/index.vue @@ -1,11 +1,220 @@ + - - \ No newline at end of file + + + + diff --git a/src/views/protocol/nodePanel.vue b/src/views/protocol/nodePanel.vue new file mode 100644 index 0000000..2d20664 --- /dev/null +++ b/src/views/protocol/nodePanel.vue @@ -0,0 +1,87 @@ + + + + \ No newline at end of file