From 0d4d05c40fac91136f6e6083b4a4beac673c9229 Mon Sep 17 00:00:00 2001 From: RenCheng Date: Sat, 8 Mar 2025 12:23:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=9B=BE=E8=A1=A8=E5=86=85?= =?UTF-8?q?=E5=AE=B9=EF=BC=8C=E6=B7=BB=E5=8A=A0=E6=A0=87=E7=AD=BE=E7=BB=91?= =?UTF-8?q?=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/idcTableTagRef.js | 13 ++ src/views/data/dataCataloguing.vue | 213 ++++++++++++++++++++--------- src/views/data/statistics.vue | 20 +-- 3 files changed, 171 insertions(+), 75 deletions(-) create mode 100644 src/api/idcTableTagRef.js diff --git a/src/api/idcTableTagRef.js b/src/api/idcTableTagRef.js new file mode 100644 index 0000000..04218ca --- /dev/null +++ b/src/api/idcTableTagRef.js @@ -0,0 +1,13 @@ +import { getAction, deleteAction, putAction, postAction, httpAction,uploadAction } from '@/api/manage' + +const idcTableTagRef = (params)=>postAction("/idcTableTagRef/add",params); +const getTableTagRefs = (params)=>getAction("/idcTableTagRef/getTableTagRefs",params); +const getAllTable = (params)=>getAction("/idcTableTagRef/getAllTable",params); +const idcTableTagRefdelete = (params)=>deleteAction("/idcTableTagRef/delete",params); + +export { + idcTableTagRef, + getTableTagRefs, + getAllTable, + idcTableTagRefdelete +} diff --git a/src/views/data/dataCataloguing.vue b/src/views/data/dataCataloguing.vue index a432dd8..db3d9a0 100644 --- a/src/views/data/dataCataloguing.vue +++ b/src/views/data/dataCataloguing.vue @@ -5,22 +5,22 @@ - - - - - - - - - {{ d.cnName }} + + + + {{ d.tagName }} + + + + + - 查询 + 查询 @@ -28,12 +28,15 @@
+ :pagination="false" + :scroll="{ y: 800 }" + :columns="tagcolumns" + :dataSource="dataRefsSources"> @@ -42,9 +45,9 @@
- 添加标签 + 添加标签
- 移除标签 + 移除标签
@@ -52,12 +55,12 @@ - + - 查询 + 查询 @@ -67,10 +70,13 @@ + :dataSource="dataSource"> @@ -84,9 +90,12 @@ \ No newline at end of file diff --git a/src/views/data/statistics.vue b/src/views/data/statistics.vue index e30b4ab..3f93d1a 100644 --- a/src/views/data/statistics.vue +++ b/src/views/data/statistics.vue @@ -60,7 +60,10 @@ title: { text: '数据清洗差异统计' }, - legend: {}, + legend: { + bottom: 10, + left: 'center' + }, tooltip: {}, dataset: { source: [ @@ -89,7 +92,9 @@ title: { text: '数据编目总量统计' }, - legend: {}, + legend: { + bottom: 10, + left: 'center'}, tooltip: {}, dataset: { source: [ @@ -131,13 +136,10 @@ type: 'pie', radius: '50%', data: [ - { value: 1048, name: '平台' }, - { value: 735, name: '编队' }, - { value: 580, name: '航空兵' }, - { value: 484, name: '陆战队' }, - { value: 300, name: '作战' }, - { value: 735, name: '反潜' }, - { value: 580, name: '舰炮' } + { value: 1048, name: '文档' }, + { value: 735, name: '视频' }, + { value: 580, name: '音频' }, + { value: 484, name: '结构化数据' }, ], emphasis: { itemStyle: {