From a6536b1d93ee7be9e4ae59542bdcfbe6ad504b04 Mon Sep 17 00:00:00 2001 From: lijun Date: Mon, 16 Sep 2024 00:25:35 +0800 Subject: [PATCH] update code --- package.json | 2 +- src/views/connection/editFlow.vue | 5 +- src/views/simulationEvaluation/reportDesc.vue | 266 +++++++++++++----- yarn.lock | 39 ++- 4 files changed, 230 insertions(+), 82 deletions(-) diff --git a/package.json b/package.json index f5991df..982a568 100644 --- a/package.json +++ b/package.json @@ -55,6 +55,7 @@ "color": "^4.2.3", "echarts": "^5.5.0", "element-plus": "^2.7.2", + "html2canvas": "^1.4.1", "js-md5": "^0.8.3", "json-editor-vue3": "^1.1.1", "lodash-es": "^4.17.21", @@ -63,7 +64,6 @@ "path-browserify": "^1.0.1", "path-to-regexp": "^6.2.2", "pinia": "^2.1.7", - "print-js": "^1.6.0", "sockjs-client": "1.6.1", "sortablejs": "^1.15.2", "stompjs": "^2.3.3", diff --git a/src/views/connection/editFlow.vue b/src/views/connection/editFlow.vue index ccdf281..d7dafb4 100644 --- a/src/views/connection/editFlow.vue +++ b/src/views/connection/editFlow.vue @@ -184,13 +184,12 @@ defineExpose({ .flow-card { height: 80%; width: calc(100% - 450px); - + margin: 0px 12px; .el-card__body { height: 100%; padding: 4px; } - - margin: 0px 12px; + } .node-panel { diff --git a/src/views/simulationEvaluation/reportDesc.vue b/src/views/simulationEvaluation/reportDesc.vue index 9bc9925..bf58d20 100644 --- a/src/views/simulationEvaluation/reportDesc.vue +++ b/src/views/simulationEvaluation/reportDesc.vue @@ -1,5 +1,5 @@