+
-
+
-
+
1.构建
-
{{ jobTemplate ? jobTemplate : "2.选择模板" }}
-
复制json
+
{{
+ jobTemplate ? jobTemplate : "2.选择模板"
+ }}
+
复制json
(步骤:构建->选择模板->下一步)
{{ scope.row.jobDesc }}
- {{ scope.row.projectName }}
+ {{
+ scope.row.projectName
+ }}
- {{ scope.row.jobCron }}
+ {{ scope.row.jobCron }}
- {{ routeStrategies.find(t => t.value === scope.row.executorRouteStrategy).label }}
+
+ {{
+ routeStrategies.find(
+ t => t.value === scope.row.executorRouteStrategy
+ ).label
+ }}
-
+
-
+
-
上一步
-
下一步
+
上一步
+
下一步
-
+
diff --git a/src/views/datax/json-build/reader.vue b/src/views/datax/json-build/reader.vue
index 40fc5448..d42451e2 100644
--- a/src/views/datax/json-build/reader.vue
+++ b/src/views/datax/json-build/reader.vue
@@ -1,41 +1,62 @@
-
-
-
-
+
+
+
+
diff --git a/src/views/datax/json-build/reader/RDBMSReader.vue b/src/views/datax/json-build/reader/RDBMSReader.vue
index 76e7bbe5..a016fde9 100644
--- a/src/views/datax/json-build/reader/RDBMSReader.vue
+++ b/src/views/datax/json-build/reader/RDBMSReader.vue
@@ -1,8 +1,18 @@
-
+
-
+
-
-
+
+
-
-
+
+
-
-
- 解析字段
+
+
+ 解析字段
-
-
+
+
全选
+ >全选
-
- {{ c }}
+
+ {{
+ c
+ }}
-
-
+
+
diff --git a/src/views/datax/json-build/writer.vue b/src/views/datax/json-build/writer.vue
index 7c3bac6d..16ba03fc 100644
--- a/src/views/datax/json-build/writer.vue
+++ b/src/views/datax/json-build/writer.vue
@@ -1,60 +1,97 @@
-
-
-
-
-
+
+
+
+
+
diff --git a/src/views/datax/json-build/writer/RDBMSWriter.vue b/src/views/datax/json-build/writer/RDBMSWriter.vue
index 48b990f8..527f5f15 100644
--- a/src/views/datax/json-build/writer/RDBMSWriter.vue
+++ b/src/views/datax/json-build/writer/RDBMSWriter.vue
@@ -1,6 +1,11 @@
-
+
-
-
+
+
-
+
- 全选
+ 全选
-
- {{ c }}
+
+ {{
+ c
+ }}
-
+
-
+
diff --git a/src/views/datax/json-build/writer/RabbitmqWriter.vue b/src/views/datax/json-build/writer/RabbitmqWriter.vue
index c2e812cd..f6a1e26f 100644
--- a/src/views/datax/json-build/writer/RabbitmqWriter.vue
+++ b/src/views/datax/json-build/writer/RabbitmqWriter.vue
@@ -1,6 +1,11 @@
-
+
-
-
+
+
-
+
- 全选
+ 全选
-
- {{ c }}
+
+ {{
+ c
+ }}
-
-
-
-
-
-
+ aaaaaaaaa
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 是
+ 否
+
+
+
+
+
+
+
+
+
+
+
From 32773a01642ecf6f9999f03bd2a7bf01c53b5a4b Mon Sep 17 00:00:00 2001
From: jiangdw <598965300@qq.com>
Date: Thu, 24 Sep 2020 10:37:25 +0800
Subject: [PATCH 3/3] =?UTF-8?q?=E8=B0=83=E6=95=B4parquet=E6=96=87=E4=BB=B6?=
=?UTF-8?q?=E6=95=B0=E6=8D=AE=E6=BA=90=E6=B7=BB=E5=8A=A0=E7=9A=84=E5=8F=82?=
=?UTF-8?q?=E6=95=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/datax/jdbc-datasource/index.vue | 9 ++++++---
src/views/datax/json-build/writer/RabbitmqWriter.vue | 1 -
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/src/views/datax/jdbc-datasource/index.vue b/src/views/datax/jdbc-datasource/index.vue
index 898f36e3..6990d2f5 100644
--- a/src/views/datax/jdbc-datasource/index.vue
+++ b/src/views/datax/jdbc-datasource/index.vue
@@ -367,12 +367,12 @@ export default {
this.temp.columnx = ''
this.hbase = this.mongodb = false
this.jdbc = true
- this.enExtra = false
+ this.enExtra = true
this.rabbitmq = false
this.parquetfile = false
} else if (datasource === 'parquetfile') {
this.temp.jdbcUrl = '/{local_dir_absolute_path}/*'
- this.temp.extra = ''
+ this.temp.extra = '{"encoding": "UTF-8"}'
this.temp.columnx = '[{"name": "mmsi","type": "String"},{"name": "rot","type": "Integer"}]'
// this.temp.columnx = '[{"index": 0,"type": "string"},{"index": 1,"type": "integer"}]'
this.rabbitmq = false
@@ -490,11 +490,13 @@ export default {
this.hbase = true
this.parquetfile = false
this.rabbitmq = false
+ this.enExtra = false
} else if (datasource === 'mongodb') {
this.jdbc = this.hbase = false
this.mongodb = true
this.parquetfile = false
this.rabbitmq = false
+ this.enExtra = false
this.temp.jdbcUrl = 'mongodb://[username:password@]host1[:port1][,...hostN[:portN]]][/[database][?options]]'
} else if (datasource === 'rabbitmq') {
this.temp.extra = '{"port": "5672"}'
@@ -503,7 +505,7 @@ export default {
this.rabbitmq = true
this.parquetfile = false
} else if (datasource === 'parquetfile') {
- this.enExtra = false
+ this.enExtra = true
this.jdbc = false
this.parquetfile = true
this.rabbitmq = false
@@ -512,6 +514,7 @@ export default {
this.jdbc = true
this.parquetfile = false
this.rabbitmq = false
+ this.enExtra = false
}
},
handleDelete (row) {
diff --git a/src/views/datax/json-build/writer/RabbitmqWriter.vue b/src/views/datax/json-build/writer/RabbitmqWriter.vue
index f6a1e26f..d9bf75e1 100644
--- a/src/views/datax/json-build/writer/RabbitmqWriter.vue
+++ b/src/views/datax/json-build/writer/RabbitmqWriter.vue
@@ -88,7 +88,6 @@
}}
- aaaaaaaaa