From 723edee74f397996aa7eb0f9f0e1e6ee2cf3135a Mon Sep 17 00:00:00 2001
From: yaoxin <1752800946@qq.com>
Date: Wed, 24 Apr 2024 21:58:26 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=E4=BA=86=E5=AD=97?=
=?UTF-8?q?=E5=85=B8=E8=A1=A8=E7=9A=84=E6=96=B0=E5=A2=9E,=E5=88=A0?=
=?UTF-8?q?=E9=99=A4,=E5=92=8C=E5=AD=97=E5=85=B8=E8=A1=A8=E6=95=B0?=
=?UTF-8?q?=E6=8D=AE=E7=9A=84=E6=96=B0=E5=A2=9E,=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/etl/data.js | 44 ++++
src/api/etl/dictionary.js | 59 ++++++
src/api/etl/source.js | 7 +
.../dashboard/OverallAssetStructure.vue | 192 +++++++++++-------
.../etl/assets/dashboard/OverallAssets.vue | 28 ++-
.../dashboard/OverallSpecificAssets.vue | 140 ++++++++++++-
src/views/etl/assets/index.vue | 8 +-
src/views/etl/source/index.vue | 26 +--
8 files changed, 402 insertions(+), 102 deletions(-)
create mode 100644 src/api/etl/data.js
create mode 100644 src/api/etl/dictionary.js
diff --git a/src/api/etl/data.js b/src/api/etl/data.js
new file mode 100644
index 0000000..a50df65
--- /dev/null
+++ b/src/api/etl/data.js
@@ -0,0 +1,44 @@
+import request from '@/utils/request'
+
+// 查询【请填写功能名称】列表
+export function listData(query) {
+ return request({
+ url: '/etl/data/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询【请填写功能名称】详细
+export function getData(id) {
+ return request({
+ url: '/etl/data/' + id,
+ method: 'get'
+ })
+}
+
+// 新增【请填写功能名称】
+export function addData(data) {
+ return request({
+ url: '/etl/data',
+ method: 'post',
+ data: data
+ })
+}
+
+// 修改【请填写功能名称】
+export function updateData(data) {
+ return request({
+ url: '/etl/data',
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除【请填写功能名称】
+export function delData(id) {
+ return request({
+ url: '/etl/data/' + id,
+ method: 'delete'
+ })
+}
diff --git a/src/api/etl/dictionary.js b/src/api/etl/dictionary.js
new file mode 100644
index 0000000..44d54a3
--- /dev/null
+++ b/src/api/etl/dictionary.js
@@ -0,0 +1,59 @@
+import request from '@/utils/request'
+
+// 查询【请填写功能名称】列表
+export function listDictionary(query) {
+ return request({
+ url: '/etl/dictionary/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询【请填写功能名称】详细
+export function getDictionary(id) {
+ return request({
+ url: '/etl/dictionary/' + id,
+ method: 'get'
+ })
+}
+
+// 根据key删除字典详细
+export function deleteDictionary(id) {
+ return request({
+ url: '/etl/dictionary/DeleteDictionary?id=' + id,
+ method: 'get'
+ })
+}
+
+// 新增【请填写功能名称】
+export function addDictionary(data) {
+ return request({
+ url: '/etl/dictionary',
+ method: 'post',
+ data: data
+ })
+}
+
+// 修改【请填写功能名称】
+export function updateDictionary(data) {
+ return request({
+ url: '/etl/dictionary',
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除【请填写功能名称】
+export function delDictionary(id) {
+ return request({
+ url: '/etl/dictionary/' + id,
+ method: 'delete'
+ })
+}
+
+export function getDictionaryList(id) {
+ return request({
+ url: '/etl/dictionary/GetDictionaryList?dataSourceId=' + id,
+ method: 'get'
+ })
+}
diff --git a/src/api/etl/source.js b/src/api/etl/source.js
index 94681ed..953df40 100644
--- a/src/api/etl/source.js
+++ b/src/api/etl/source.js
@@ -9,6 +9,13 @@ export function listSource(query) {
})
}
+export function statisticsInfo(){
+ return request({
+ url: '/etl/source/Statistics',
+ method: 'get'
+ })
+}
+
export function dataAssetList(data) {
return request({
url: '/etl/source/DataAssetList',
diff --git a/src/views/etl/assets/dashboard/OverallAssetStructure.vue b/src/views/etl/assets/dashboard/OverallAssetStructure.vue
index e61ee95..f64b75f 100644
--- a/src/views/etl/assets/dashboard/OverallAssetStructure.vue
+++ b/src/views/etl/assets/dashboard/OverallAssetStructure.vue
@@ -69,27 +69,132 @@
- 编辑
+ 编辑
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{form.isPrimaryKey}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{form.isNull}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+