diff --git a/package.json b/package.json
index 48d25b6..e715b04 100644
--- a/package.json
+++ b/package.json
@@ -66,6 +66,7 @@
"markdown-it": "^14.1.0",
"markdown-it-highlightjs": "^4.2.0",
"mavon-editor": "^2.9.1",
+ "neo4j-driver": "^5.28.1",
"normalize.css": "7.0.0",
"nprogress": "0.2.0",
"ofd-xml-parser": "^0.0.2",
@@ -82,9 +83,11 @@
"sm-crypto": "^0.3.2",
"sortablejs": "1.8.4",
"spark-md5": "^3.0.2",
+ "swiper": "^5.4.5",
"v-viewer": "^1.6.4",
"vkbeautify": "^0.99.3",
"vue": "^2.6.14",
+ "vue-awesome-swiper": "^3.1.3",
"vue-count-to": "^1.0.13",
"vue-cropper": "0.4.9",
"vue-demi": "^0.14.7",
diff --git a/src/api/archivesManage/library.js b/src/api/archivesManage/library.js
index 40d601e..c52a67a 100644
--- a/src/api/archivesManage/library.js
+++ b/src/api/archivesManage/library.js
@@ -127,6 +127,14 @@ export function FetchOfflineTransferConfirm(data) {
})
}
+// 根据档案获得操作记录
+export function FetchArchivesOperateLog(params) {
+ return request({
+ url: 'api/control/getArchivesOperateLog' + '?' + qs.stringify(params, { indices: false }),
+ method: 'get'
+ })
+}
+
export default {
FetchInitContorlView,
FetchPrintData,
@@ -142,5 +150,6 @@ export default {
FetchArchivesReturnConfirm,
FetchTransferConfirm,
FetchOfflineTransferConfirm,
- FetchHandBusinessFlowDetails
+ FetchHandBusinessFlowDetails,
+ FetchArchivesOperateLog
}
diff --git a/src/assets/images/test/1.png b/src/assets/images/test/1.png
new file mode 100644
index 0000000..2d8263c
Binary files /dev/null and b/src/assets/images/test/1.png differ
diff --git a/src/assets/images/test/2.png b/src/assets/images/test/2.png
new file mode 100644
index 0000000..49e784a
Binary files /dev/null and b/src/assets/images/test/2.png differ
diff --git a/src/assets/images/test/3.png b/src/assets/images/test/3.png
new file mode 100644
index 0000000..0f42fe1
Binary files /dev/null and b/src/assets/images/test/3.png differ
diff --git a/src/assets/images/test/4.png b/src/assets/images/test/4.png
new file mode 100644
index 0000000..8f58036
Binary files /dev/null and b/src/assets/images/test/4.png differ
diff --git a/src/neo4j.js b/src/neo4j.js
new file mode 100644
index 0000000..dae94b6
--- /dev/null
+++ b/src/neo4j.js
@@ -0,0 +1,48 @@
+import neo4j from 'neo4j-driver'
+
+const driver = neo4j.driver(
+ 'bolt://192.168.99.107:7687',
+ neo4j.auth.basic('neo4j', 'ftzn83560792')
+)
+
+export async function getGraphData() {
+ const session = driver.session()
+ console.log('session', session)
+ try {
+ const result = await session.run('MATCH (n)-[r]->(m) RETURN n, r, m')
+ // const result = await session.run('MATCH (n)-[r]->(m) RETURN n, r, m LIMIT 25')
+
+ const nodes = []
+ const edges = []
+ console.log('result', result)
+ result.records.forEach(record => {
+ const sourceNode = record.get('n')
+ console.log('sourceNode', sourceNode)
+ const targetNode = record.get('m')
+ console.log('targetNode', targetNode)
+ const relationship = record.get('r')
+ console.log('relationship', relationship)
+
+ // 添加节点
+ if (!nodes.some(node => node.id === sourceNode.identity.low)) {
+ // nodes.push({ id: sourceNode.identity.low, label: sourceNode.labels[0] })
+ nodes.push({ id: sourceNode.identity.low, text: sourceNode.properties.title, type: sourceNode.labels[0] })
+ }
+ if (!nodes.some(node => node.id === targetNode.identity.low)) {
+ // nodes.push({ id: targetNode.identity.low, label: targetNode.labels[0] })
+ nodes.push({ id: targetNode.identity.low, text: targetNode.properties.title, type: targetNode.labels[0] })
+ }
+
+ // 添加边
+ edges.push({ from: sourceNode.identity.low, to: targetNode.identity.low, text: relationship.type })
+ })
+ console.log(nodes, edges)
+ return { nodes, edges }
+ } finally {
+ await session.close()
+ }
+}
+
+export function closeDriver() {
+ driver.close()
+}
diff --git a/src/views/AIAssistant/AIKeywords/index.vue b/src/views/AIAssistant/AIKeywords/index.vue
index 4d9fd45..d67690f 100644
--- a/src/views/AIAssistant/AIKeywords/index.vue
+++ b/src/views/AIAssistant/AIKeywords/index.vue
@@ -79,19 +79,25 @@
+
+
+ 未解析
+ 已解析
+
+
未标注
已标注
-
+
@@ -143,11 +149,78 @@
+
+
+
+
+
+
+
+
+
+
+

+
+
+
+
+
+

+
+
+ dddd
+
+
+
+
+

+
+
+ dddd
+
+
+
+
+

+
+
+ 444
+
+
+
+
+
+
+
+
+