From b2cb339a78f4aa0f3610351c18157a8aa4accc2a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=BC=A0=E8=85=BE?= <3467447354@qq.com>
Date: Sun, 8 Sep 2024 23:51:12 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E6=A8=A1=E5=9D=97?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/etl/etl.js | 77 +++++++
src/views/components/task/index.vue | 144 ++++++++++--
src/views/etl/task/index.vue | 24 +-
src/views/etl/task/taskInfo.vue | 330 +++++++++++++++++++++-------
4 files changed, 460 insertions(+), 115 deletions(-)
diff --git a/src/api/etl/etl.js b/src/api/etl/etl.js
index 67adef7..7d2f940 100644
--- a/src/api/etl/etl.js
+++ b/src/api/etl/etl.js
@@ -45,4 +45,81 @@ export function selectByTableName(tableName) {
})
}
+export function addTaskInfo(data) {
+ return request({
+ url: `/integration/taskInfo/addTaskInfo`,
+ method: 'post',
+ data
+ })
+}
+
+export function selectByNodeId(data) {
+ return request({
+ url: `/integration/taskInfo/selectByNodeId`,
+ method: 'post',
+ data
+ })
+}
+
+export function selectByOne(nodeId) {
+ return request({
+ url: `/integration/taskInfo/selectByOne?nodeId=`+nodeId,
+ method: 'post',
+ })
+}
+
+export function addSelect(data) {
+ return request({
+ url: `/integration/sqlSelect/addSelectNode`,
+ method: 'post',
+ data
+ })
+}
+
+export function addTableField(data) {
+ return request({
+ url: `/integration/taskFields/addField`,
+ method: 'post',
+ data
+ })
+}
+
+export function seeTableField(data) {
+ return request({
+ url: `/integration/taskFields/showFieldList`,
+ method: 'post',
+ data
+ })
+}
+
+export function selectByAsField(data) {
+ return request({
+ url: `/integration/taskFields/selectByAsField`,
+ method: 'post',
+ data
+ })
+}
+
+export function addOutPut(data) {
+ return request({
+ url: `/integration/output/addOutput`,
+ method: 'post',
+ data
+ })
+}
+
+export function findBySelectId(nodeId) {
+ return request({
+ url: `/integration/sqlSelect/findBySelectId?nodeId=`+nodeId,
+ method: 'post',
+ })
+}
+
+export function todoTask(id) {
+ return request({
+ url: `/integration/task/todoTask?id=`+id,
+ method: 'GET',
+ })
+}
+
diff --git a/src/views/components/task/index.vue b/src/views/components/task/index.vue
index 8380a5e..ca43d42 100644
--- a/src/views/components/task/index.vue
+++ b/src/views/components/task/index.vue
@@ -1,12 +1,6 @@
-
-
-
+
左对齐
右对齐
@@ -15,7 +9,7 @@
-
+
@@ -24,41 +18,104 @@
-
+
-
-
+
+
+
+
+
+ {{ scope.row.id }}
+
+
+
+
+
+
+
+
+ {{ scope.row.dataField }}
+
+
+
+
+
+
+
+
+
+
+
+