diff --git a/hb_client/package.json b/hb_client/package.json index 4a4ab4c..21eedd0 100644 --- a/hb_client/package.json +++ b/hb_client/package.json @@ -19,6 +19,8 @@ "@riophae/vue-treeselect": "^0.4.0", "axios": "^0.21.1", "compression-webpack-plugin": "^5.0.1", + "d3": "^5.14.2", + "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 @@