diff --git a/kcui/src/api/kcInfo.js b/kcui/src/api/kcInfo.js index f98c4e7..2f0b105 100644 --- a/kcui/src/api/kcInfo.js +++ b/kcui/src/api/kcInfo.js @@ -71,3 +71,16 @@ export function getInfo(params) { } }) } + + +export function editInfoGraph(data) { + return request({ + url: '/kcDoc/editInfoGraph', + method: 'post', + data:data, + headers: { + 'Authorization': 'Bearer '+ getToken() // 将 token 放在请求头中 + } + }) +} + diff --git a/kcui/src/view/DhInfo.vue b/kcui/src/view/DhInfo.vue index 4fafe14..ee3113d 100644 --- a/kcui/src/view/DhInfo.vue +++ b/kcui/src/view/DhInfo.vue @@ -195,7 +195,7 @@ export default { {id: 2, name: "动画显示", info: "DhInfo"}, {id: 3, name: "计算模块", info: "JsInfo"}, {id: 4, name: "知识图谱", info: "Graph"}, - {id: 4, name: "帮助文档", info: "Help"} + {id: 5, name: "帮助文档", info: "Help"} ], page: "动画显示", typeList: ["全部", "起降", "飞行", "通信载荷使用", "探测载荷使用", "攻击载荷使用"], diff --git a/kcui/src/view/Graph.vue b/kcui/src/view/Graph.vue index 849bfa9..0a456c7 100644 --- a/kcui/src/view/Graph.vue +++ b/kcui/src/view/Graph.vue @@ -24,7 +24,8 @@
- {{ item.name }}
+ {{ item.name }} +
-
关键字:
- - -
- 查询 -
+
关键字:
+ + +
+ 查询 +
- 导入 + 导入 + +
+ 生成报告 +
@@ -96,11 +105,36 @@ - + + + + + + + + + + + 新增下级 + 修改 + 删除 + + + + + + + @@ -120,7 +154,7 @@ - + @@ -140,7 +174,8 @@
-
@@ -186,7 +325,7 @@