diff --git a/hb_client/package.json b/hb_client/package.json index 44c26e7..d8201b2 100644 --- a/hb_client/package.json +++ b/hb_client/package.json @@ -20,6 +20,8 @@ "axios": "^0.21.1", "cache-loader": "^4.1.0", "compression-webpack-plugin": "^5.0.1", + "d3": "^5.16.0", + "dagre-d3": "^0.6.4", "element-ui": "^2.15.5", "file-saver": "^2.0.2", "fuse.js": "^6.4.6", diff --git a/hb_client/src/api/workflow.js b/hb_client/src/api/workflow.js index 0b388a9..724227a 100644 --- a/hb_client/src/api/workflow.js +++ b/hb_client/src/api/workflow.js @@ -120,4 +120,12 @@ export function deleteWfTransition(id, data) { method: 'delete', data }) -} \ No newline at end of file +} +//工单详情 +export function getTickets(query) { + return request({ + url: `/wf/ticket/`, + method: 'get', + params:query + }) +} diff --git a/hb_client/src/layout/components/Navbar.vue b/hb_client/src/layout/components/Navbar.vue index ae69bc5..7cb30fd 100644 --- a/hb_client/src/layout/components/Navbar.vue +++ b/hb_client/src/layout/components/Navbar.vue @@ -7,7 +7,7 @@