From ad910edb8d16eb8bd5d1e0ab2e0da1cb3948a5e1 Mon Sep 17 00:00:00 2001 From: "hong.yang" Date: Fri, 22 Sep 2023 10:42:13 +0800 Subject: [PATCH 1/5] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=E6=A8=A1?= =?UTF-8?q?=E6=8B=9F=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 新增模拟数据 --- .../src/main/resources/chart/mock/sales.json | 53 +++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 DataRoom/dataroom-core/src/main/resources/chart/mock/sales.json diff --git a/DataRoom/dataroom-core/src/main/resources/chart/mock/sales.json b/DataRoom/dataroom-core/src/main/resources/chart/mock/sales.json new file mode 100644 index 00000000..0be7d0aa --- /dev/null +++ b/DataRoom/dataroom-core/src/main/resources/chart/mock/sales.json @@ -0,0 +1,53 @@ +{ + "success": false, + "data": [ + { + "month": "2022-1", + "sales": 47 + }, + { + "month": "2022-2", + "sales": 64 + }, + { + "month": "2022-3", + "sales": 27 + }, + { + "month": "2022-4", + "sales": 44 + }, + { + "month": "2022-5", + "sales": 90 + }, + { + "month": "2022-6", + "sales": 83 + }, + { + "month": "2022-7", + "sales": 37 + }, + { + "month": "2022-8", + "sales": 86 + }, + { + "month": "2022-9", + "sales": 98 + }, + { + "month": "2022-10", + "sales": 84 + }, + { + "month": "2022-11", + "sales": 35 + }, + { + "month": "2022-12", + "sales": 73 + } + ] +} \ No newline at end of file From f34d5b929768bb9bff45ba1d8fcc5e4394e9c199 Mon Sep 17 00:00:00 2001 From: "hong.yang" Date: Fri, 22 Sep 2023 10:43:11 +0800 Subject: [PATCH 2/5] =?UTF-8?q?fix:=20=E6=95=B0=E6=8D=AE=E9=9B=86=E5=88=86?= =?UTF-8?q?=E7=B1=BB=E5=90=8D=E7=A7=B0=E6=9F=A5=E9=87=8D=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 数据集分类名称查重优化 --- .../RightSetting/DataSetting.vue | 5 +++- .../src/CategroyEditForm.vue | 27 ++++++++++++++++++- .../packages/js/utils/datasetConfigService.js | 11 +++++++- 3 files changed, 40 insertions(+), 3 deletions(-) diff --git a/data-room-ui/packages/BigScreenDesign/RightSetting/DataSetting.vue b/data-room-ui/packages/BigScreenDesign/RightSetting/DataSetting.vue index f0d544b5..22051172 100644 --- a/data-room-ui/packages/BigScreenDesign/RightSetting/DataSetting.vue +++ b/data-room-ui/packages/BigScreenDesign/RightSetting/DataSetting.vue @@ -57,7 +57,10 @@ v-model="config.dataHandler" type="textarea" :rows="5" - placeholder="请输入数据处理脚本" + placeholder="示例: +data.forEach(item => { +// 数据处理 +})" /> diff --git a/data-room-ui/packages/DataSetManagement/src/CategroyEditForm.vue b/data-room-ui/packages/DataSetManagement/src/CategroyEditForm.vue index d0e7ef79..614d0629 100644 --- a/data-room-ui/packages/DataSetManagement/src/CategroyEditForm.vue +++ b/data-room-ui/packages/DataSetManagement/src/CategroyEditForm.vue @@ -51,6 +51,7 @@