Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
datax-cloud
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄营
datax-cloud
Commits
4aba1a96
Commit
4aba1a96
authored
Jun 29, 2020
by
yuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2.0.0项目初始化
parent
dc74abdc
Hide whitespace changes
Inline
Side-by-side
Showing
47 changed files
with
327 additions
and
243 deletions
+327
-243
DataSetDetail.vue
datax-ui/src/views/factory/dataset/DataSetDetail.vue
+2
-0
DataSetEdit.vue
datax-ui/src/views/factory/dataset/DataSetEdit.vue
+2
-0
DataSetList.vue
datax-ui/src/views/factory/dataset/DataSetList.vue
+2
-0
DataSourceDetail.vue
datax-ui/src/views/factory/datasource/DataSourceDetail.vue
+2
-0
DataSourceEdit.vue
datax-ui/src/views/factory/datasource/DataSourceEdit.vue
+2
-0
DataSourceList.vue
datax-ui/src/views/factory/datasource/DataSourceList.vue
+2
-0
ApiMaskDetail.vue
datax-ui/src/views/market/apimask/ApiMaskDetail.vue
+2
-2
ApiMaskEdit.vue
datax-ui/src/views/market/apimask/ApiMaskEdit.vue
+2
-0
ApiMaskList.vue
datax-ui/src/views/market/apimask/ApiMaskList.vue
+2
-0
DataApiAdd.vue
datax-ui/src/views/market/dataapi/DataApiAdd.vue
+84
-86
DataApiCall.vue
datax-ui/src/views/market/dataapi/DataApiCall.vue
+3
-1
DataApiDetail.vue
datax-ui/src/views/market/dataapi/DataApiDetail.vue
+67
-67
DataApiEdit.vue
datax-ui/src/views/market/dataapi/DataApiEdit.vue
+86
-86
DataApiList.vue
datax-ui/src/views/market/dataapi/DataApiList.vue
+2
-0
LogDetail.vue
datax-ui/src/views/monitor/loginlog/LogDetail.vue
+2
-0
LogList.vue
datax-ui/src/views/monitor/loginlog/LogList.vue
+2
-0
LogDetail.vue
datax-ui/src/views/monitor/operlog/LogDetail.vue
+2
-0
LogList.vue
datax-ui/src/views/monitor/operlog/LogList.vue
+2
-0
JobDetail.vue
datax-ui/src/views/scheduler/job/JobDetail.vue
+2
-0
JobEdit.vue
datax-ui/src/views/scheduler/job/JobEdit.vue
+2
-0
JobList.vue
datax-ui/src/views/scheduler/job/JobList.vue
+2
-0
JobLogDetail.vue
datax-ui/src/views/scheduler/log/JobLogDetail.vue
+2
-0
JobLogList.vue
datax-ui/src/views/scheduler/log/JobLogList.vue
+3
-1
ConfigDetail.vue
datax-ui/src/views/system/config/ConfigDetail.vue
+2
-0
ConfigEdit.vue
datax-ui/src/views/system/config/ConfigEdit.vue
+2
-0
ConfigList.vue
datax-ui/src/views/system/config/ConfigList.vue
+2
-0
DeptDetail.vue
datax-ui/src/views/system/dept/DeptDetail.vue
+2
-0
DeptEdit.vue
datax-ui/src/views/system/dept/DeptEdit.vue
+2
-0
DeptList.vue
datax-ui/src/views/system/dept/DeptList.vue
+2
-0
DictDetail.vue
datax-ui/src/views/system/dict/DictDetail.vue
+2
-0
DictEdit.vue
datax-ui/src/views/system/dict/DictEdit.vue
+2
-0
DictList.vue
datax-ui/src/views/system/dict/DictList.vue
+2
-0
DictItemDetail.vue
datax-ui/src/views/system/dict/item/DictItemDetail.vue
+2
-0
DictItemEdit.vue
datax-ui/src/views/system/dict/item/DictItemEdit.vue
+2
-0
DictItemList.vue
datax-ui/src/views/system/dict/item/DictItemList.vue
+2
-0
MenuDetail.vue
datax-ui/src/views/system/menu/MenuDetail.vue
+2
-0
MenuEdit.vue
datax-ui/src/views/system/menu/MenuEdit.vue
+2
-0
MenuList.vue
datax-ui/src/views/system/menu/MenuList.vue
+2
-0
PostDetail.vue
datax-ui/src/views/system/post/PostDetail.vue
+2
-0
PostEdit.vue
datax-ui/src/views/system/post/PostEdit.vue
+2
-0
PostList.vue
datax-ui/src/views/system/post/PostList.vue
+2
-0
RoleDetail.vue
datax-ui/src/views/system/role/RoleDetail.vue
+2
-0
RoleEdit.vue
datax-ui/src/views/system/role/RoleEdit.vue
+2
-0
RoleList.vue
datax-ui/src/views/system/role/RoleList.vue
+2
-0
UserDetail.vue
datax-ui/src/views/system/user/UserDetail.vue
+2
-0
UserEdit.vue
datax-ui/src/views/system/user/UserEdit.vue
+2
-0
UserList.vue
datax-ui/src/views/system/user/UserList.vue
+2
-0
No files found.
datax-ui/src/views/factory/dataset/DataSetDetail.vue
View file @
4aba1a96
...
...
@@ -139,6 +139,8 @@ export default {
}
})
this
.
getDataSourceList
()
},
mounted
()
{
this
.
getDataSet
(
this
.
data
.
id
)
},
methods
:
{
...
...
datax-ui/src/views/factory/dataset/DataSetEdit.vue
View file @
4aba1a96
...
...
@@ -159,6 +159,8 @@ export default {
}
})
this
.
getDataSourceList
()
},
mounted
()
{
this
.
getDataSet
(
this
.
data
.
id
)
},
methods
:
{
...
...
datax-ui/src/views/factory/dataset/DataSetList.vue
View file @
4aba1a96
...
...
@@ -211,6 +211,8 @@ export default {
},
created
()
{
this
.
getList
()
},
mounted
()
{
this
.
initCols
()
},
methods
:
{
...
...
datax-ui/src/views/factory/datasource/DataSourceDetail.vue
View file @
4aba1a96
...
...
@@ -117,6 +117,8 @@ export default {
this
.
dbTypeOptions
=
response
.
data
}
})
},
mounted
()
{
this
.
getDataSource
(
this
.
data
.
id
)
},
methods
:
{
...
...
datax-ui/src/views/factory/datasource/DataSourceEdit.vue
View file @
4aba1a96
...
...
@@ -152,6 +152,8 @@ export default {
this
.
dbTypeOptions
=
response
.
data
}
})
},
mounted
()
{
this
.
getDataSource
(
this
.
data
.
id
)
},
methods
:
{
...
...
datax-ui/src/views/factory/datasource/DataSourceList.vue
View file @
4aba1a96
...
...
@@ -211,6 +211,8 @@ export default {
},
created
()
{
this
.
getList
()
},
mounted
()
{
this
.
initCols
()
},
methods
:
{
...
...
datax-ui/src/views/market/apimask/ApiMaskDetail.vue
View file @
4aba1a96
...
...
@@ -139,6 +139,8 @@ export default {
this
.
algorithmCryptoOptions
=
response
.
data
}
})
},
mounted
()
{
this
.
getApiMask
(
this
.
data
.
id
)
},
methods
:
{
...
...
@@ -161,8 +163,6 @@ export default {
return
item
.
resParams
})
this
.
form
.
rules
.
forEach
(
rule
=>
{
console
.
log
(
rule
)
console
.
log
(
this
.
resParamList
)
let
fieldParamIndex
=
this
.
resParamList
.
findIndex
((
param
)
=>
{
return
param
.
fieldName
===
rule
.
fieldName
})
...
...
datax-ui/src/views/market/apimask/ApiMaskEdit.vue
View file @
4aba1a96
...
...
@@ -208,6 +208,8 @@ export default {
this
.
algorithmCryptoOptions
=
response
.
data
}
})
},
mounted
()
{
this
.
getApiMask
(
this
.
data
.
id
)
},
methods
:
{
...
...
datax-ui/src/views/market/apimask/ApiMaskList.vue
View file @
4aba1a96
...
...
@@ -211,6 +211,8 @@ export default {
},
created
()
{
this
.
getList
()
},
mounted
()
{
this
.
initCols
()
},
methods
:
{
...
...
datax-ui/src/views/market/dataapi/DataApiAdd.vue
View file @
4aba1a96
...
...
@@ -166,92 +166,90 @@
</el-form-item>
</el-form>
<el-form
ref=
"form3"
:model=
"form3"
:rules=
"rules3"
label-width=
"80px"
v-if=
"active == 3"
>
<el-form-item
label=
"请求参数"
>
<el-table
:data=
"form3.reqParams"
stripe
border
:max-height=
"300"
style=
"width: 100%; margin: 15px 0;"
>
<el-table-column
label=
"序号"
width=
"55"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
$index
+
1
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"paramName"
label=
"参数名称"
align=
"center"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"nullable"
label=
"是否允许为空"
align=
"center"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<el-checkbox
v-model=
"scope.row.nullable"
true-label=
"1"
false-label=
"0"
></el-checkbox>
</
template
>
</el-table-column>
<el-table-column
prop=
"remark"
label=
"描述"
align=
"center"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"paramType"
label=
"参数类型"
align=
"center"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<el-form-item
:prop=
" 'reqParams.' + scope.$index + '.paramType' "
:rules=
"rules3.paramType"
>
<el-select
v-model=
"scope.row.paramType"
placeholder=
"请选择参数类型"
>
<el-option
v-for=
"dict in paramTypeOptions"
:key=
"dict.id"
:label=
"dict.itemValue"
:value=
"dict.itemText"
></el-option>
</el-select>
</el-form-item>
</
template
>
</el-table-column>
<el-table-column
prop=
"whereType"
label=
"操作符"
align=
"center"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<el-form-item
:prop=
" 'reqParams.' + scope.$index + '.whereType' "
:rules=
"rules3.whereType"
>
<el-select
v-model=
"scope.row.whereType"
placeholder=
"请选择操作符"
>
<el-option
v-for=
"dict in whereTypeOptions"
:key=
"dict.id"
:label=
"dict.itemValue"
:value=
"dict.itemText"
></el-option>
</el-select>
</el-form-item>
</
template
>
</el-table-column>
<el-table-column
prop=
"exampleValue"
label=
"示例值"
align=
"center"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<el-form-item
:prop=
" 'reqParams.' + scope.$index + '.exampleValue' "
:rules=
"rules3.exampleValue"
>
<el-input
v-model=
"scope.row.exampleValue"
placeholder=
"请输入示例值"
/>
</el-form-item>
</
template
>
</el-table-column>
<el-table-column
prop=
"defaultValue"
label=
"默认值"
align=
"center"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<el-form-item
:prop=
" 'reqParams.' + scope.$index + '.defaultValue' "
:rules=
"rules3.defaultValue"
>
<el-input
v-model=
"scope.row.defaultValue"
placeholder=
"请输入默认值"
/>
</el-form-item>
</
template
>
</el-table-column>
</el-table>
</el-form-item>
<el-form-item
label=
"返回字段"
>
<el-table
:data=
"form3.resParams"
stripe
border
:max-height=
"300"
style=
"width: 100%; margin: 15px 0;"
>
<el-table-column
label=
"序号"
width=
"55"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
$index
+
1
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"fieldName"
label=
"字段名称"
align=
"center"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"remark"
label=
"描述"
align=
"center"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"dataType"
label=
"数据类型"
align=
"center"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"exampleValue"
label=
"示例值"
align=
"center"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<el-form-item
:prop=
" 'resParams.' + scope.$index + '.exampleValue' "
:rules=
"rules3.exampleValue"
>
<el-input
v-model=
"scope.row.exampleValue"
placeholder=
"请输入示例值"
/>
</el-form-item>
</
template
>
</el-table-column>
</el-table>
</el-form-item>
<el-divider
content-position=
"left"
>
请求参数
</el-divider>
<el-table
:data=
"form3.reqParams"
stripe
border
:max-height=
"300"
style=
"width: 100%; margin: 15px 0;"
>
<el-table-column
label=
"序号"
width=
"55"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
$index
+
1
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"paramName"
label=
"参数名称"
align=
"center"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"nullable"
label=
"是否允许为空"
align=
"center"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<el-checkbox
v-model=
"scope.row.nullable"
true-label=
"1"
false-label=
"0"
></el-checkbox>
</
template
>
</el-table-column>
<el-table-column
prop=
"remark"
label=
"描述"
align=
"center"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"paramType"
label=
"参数类型"
align=
"center"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<el-form-item
:prop=
" 'reqParams.' + scope.$index + '.paramType' "
:rules=
"rules3.paramType"
>
<el-select
v-model=
"scope.row.paramType"
placeholder=
"请选择参数类型"
>
<el-option
v-for=
"dict in paramTypeOptions"
:key=
"dict.id"
:label=
"dict.itemValue"
:value=
"dict.itemText"
></el-option>
</el-select>
</el-form-item>
</
template
>
</el-table-column>
<el-table-column
prop=
"whereType"
label=
"操作符"
align=
"center"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<el-form-item
:prop=
" 'reqParams.' + scope.$index + '.whereType' "
:rules=
"rules3.whereType"
>
<el-select
v-model=
"scope.row.whereType"
placeholder=
"请选择操作符"
>
<el-option
v-for=
"dict in whereTypeOptions"
:key=
"dict.id"
:label=
"dict.itemValue"
:value=
"dict.itemText"
></el-option>
</el-select>
</el-form-item>
</
template
>
</el-table-column>
<el-table-column
prop=
"exampleValue"
label=
"示例值"
align=
"center"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<el-form-item
:prop=
" 'reqParams.' + scope.$index + '.exampleValue' "
:rules=
"rules3.exampleValue"
>
<el-input
v-model=
"scope.row.exampleValue"
placeholder=
"请输入示例值"
/>
</el-form-item>
</
template
>
</el-table-column>
<el-table-column
prop=
"defaultValue"
label=
"默认值"
align=
"center"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<el-form-item
:prop=
" 'reqParams.' + scope.$index + '.defaultValue' "
:rules=
"rules3.defaultValue"
>
<el-input
v-model=
"scope.row.defaultValue"
placeholder=
"请输入默认值"
/>
</el-form-item>
</
template
>
</el-table-column>
</el-table>
<el-divider
content-position=
"left"
>
返回字段
</el-divider>
<el-table
:data=
"form3.resParams"
stripe
border
:max-height=
"300"
style=
"width: 100%; margin: 15px 0;"
>
<el-table-column
label=
"序号"
width=
"55"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
$index
+
1
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"fieldName"
label=
"字段名称"
align=
"center"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"remark"
label=
"描述"
align=
"center"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"dataType"
label=
"数据类型"
align=
"center"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"exampleValue"
label=
"示例值"
align=
"center"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<el-form-item
:prop=
" 'resParams.' + scope.$index + '.exampleValue' "
:rules=
"rules3.exampleValue"
>
<el-input
v-model=
"scope.row.exampleValue"
placeholder=
"请输入示例值"
/>
</el-form-item>
</
template
>
</el-table-column>
</el-table>
</el-form>
<el-button
style=
"margin-top: 12px;"
@
click=
"handleNextStep"
v-if=
"active < 3"
>
下一步
</el-button>
<el-button
style=
"margin-top: 12px;"
@
click=
"handleLastStep"
v-if=
"active > 1"
>
上一步
</el-button>
...
...
datax-ui/src/views/market/dataapi/DataApiCall.vue
View file @
4aba1a96
...
...
@@ -195,9 +195,11 @@ export default {
this
.
paramTypeOptions
=
response
.
data
}
})
this
.
getDataApi
(
this
.
data
.
id
)
this
.
getApiHeader
(
this
.
data
.
id
)
},
mounted
()
{
this
.
getDataApi
(
this
.
data
.
id
)
},
methods
:
{
showCard
()
{
this
.
$emit
(
'showCard'
,
this
.
showOptions
)
...
...
datax-ui/src/views/market/dataapi/DataApiDetail.vue
View file @
4aba1a96
...
...
@@ -163,73 +163,71 @@
</el-row>
</el-form>
<el-form
ref=
"form3"
:model=
"form3"
label-width=
"80px"
v-if=
"active == 3"
disabled
>
<el-form-item
label=
"请求参数"
>
<el-table
:data=
"form3.reqParams"
stripe
border
:max-height=
"300"
style=
"width: 100%; margin: 15px 0;"
>
<el-table-column
label=
"序号"
width=
"55"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
$index
+
1
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"paramName"
label=
"参数名称"
align=
"center"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"nullable"
label=
"是否允许为空"
align=
"center"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<el-checkbox
v-model=
"scope.row.nullable"
true-label=
"1"
false-label=
"0"
></el-checkbox>
</
template
>
</el-table-column>
<el-table-column
prop=
"remark"
label=
"描述"
align=
"center"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"paramType"
label=
"参数类型"
align=
"center"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<el-select
v-model=
"scope.row.paramType"
placeholder=
"请选择参数类型"
>
<el-option
v-for=
"dict in paramTypeOptions"
:key=
"dict.id"
:label=
"dict.itemValue"
:value=
"dict.itemText"
></el-option>
</el-select>
</
template
>
</el-table-column>
<el-table-column
prop=
"whereType"
label=
"操作符"
align=
"center"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<el-select
v-model=
"scope.row.whereType"
placeholder=
"请选择操作符"
>
<el-option
v-for=
"dict in whereTypeOptions"
:key=
"dict.id"
:label=
"dict.itemValue"
:value=
"dict.itemText"
></el-option>
</el-select>
</
template
>
</el-table-column>
<el-table-column
prop=
"exampleValue"
label=
"示例值"
align=
"center"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"defaultValue"
label=
"默认值"
align=
"center"
show-overflow-tooltip
>
</el-table-column>
</el-table>
</el-form-item>
<el-form-item
label=
"返回字段"
>
<el-table
:data=
"form3.resParams"
stripe
border
:max-height=
"300"
style=
"width: 100%; margin: 15px 0;"
>
<el-table-column
label=
"序号"
width=
"55"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
$index
+
1
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"fieldName"
label=
"字段名称"
align=
"center"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"remark"
label=
"描述"
align=
"center"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"dataType"
label=
"数据类型"
align=
"center"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"exampleValue"
label=
"示例值"
align=
"center"
show-overflow-tooltip
>
</el-table-column>
</el-table>
</el-form-item>
<el-divider
content-position=
"left"
>
请求参数
</el-divider>
<el-table
:data=
"form3.reqParams"
stripe
border
:max-height=
"300"
style=
"width: 100%; margin: 15px 0;"
>
<el-table-column
label=
"序号"
width=
"55"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
$index
+
1
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"paramName"
label=
"参数名称"
align=
"center"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"nullable"
label=
"是否允许为空"
align=
"center"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<el-checkbox
v-model=
"scope.row.nullable"
true-label=
"1"
false-label=
"0"
></el-checkbox>
</
template
>
</el-table-column>
<el-table-column
prop=
"remark"
label=
"描述"
align=
"center"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"paramType"
label=
"参数类型"
align=
"center"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<el-select
v-model=
"scope.row.paramType"
placeholder=
"请选择参数类型"
>
<el-option
v-for=
"dict in paramTypeOptions"
:key=
"dict.id"
:label=
"dict.itemValue"
:value=
"dict.itemText"
></el-option>
</el-select>
</
template
>
</el-table-column>
<el-table-column
prop=
"whereType"
label=
"操作符"
align=
"center"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<el-select
v-model=
"scope.row.whereType"
placeholder=
"请选择操作符"
>
<el-option
v-for=
"dict in whereTypeOptions"
:key=
"dict.id"
:label=
"dict.itemValue"
:value=
"dict.itemText"
></el-option>
</el-select>
</
template
>
</el-table-column>
<el-table-column
prop=
"exampleValue"
label=
"示例值"
align=
"center"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"defaultValue"
label=
"默认值"
align=
"center"
show-overflow-tooltip
>
</el-table-column>
</el-table>
<el-divider
content-position=
"left"
>
返回字段
</el-divider>
<el-table
:data=
"form3.resParams"
stripe
border
:max-height=
"300"
style=
"width: 100%; margin: 15px 0;"
>
<el-table-column
label=
"序号"
width=
"55"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
$index
+
1
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"fieldName"
label=
"字段名称"
align=
"center"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"remark"
label=
"描述"
align=
"center"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"dataType"
label=
"数据类型"
align=
"center"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"exampleValue"
label=
"示例值"
align=
"center"
show-overflow-tooltip
>
</el-table-column>
</el-table>
</el-form>
<el-button
style=
"margin-top: 12px;"
@
click=
"handleNextStep"
v-if=
"active < 3"
>
下一步
</el-button>
<el-button
style=
"margin-top: 12px;"
@
click=
"handleLastStep"
v-if=
"active > 1"
>
上一步
</el-button>
...
...
@@ -389,6 +387,8 @@ export default {
this
.
paramTypeOptions
=
response
.
data
}
})
},
mounted
()
{
this
.
getDataApi
(
this
.
data
.
id
)
},
methods
:
{
...
...
datax-ui/src/views/market/dataapi/DataApiEdit.vue
View file @
4aba1a96
...
...
@@ -166,92 +166,90 @@
</el-form-item>
</el-form>
<el-form
ref=
"form3"
:model=
"form3"
:rules=
"rules3"
label-width=
"80px"
v-if=
"active == 3"
>
<el-form-item
label=
"请求参数"
>
<el-table
:data=
"form3.reqParams"
stripe
border
:max-height=
"300"
style=
"width: 100%; margin: 15px 0;"
>
<el-table-column
label=
"序号"
width=
"55"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
$index
+
1
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"paramName"
label=
"参数名称"
align=
"center"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"nullable"
label=
"是否允许为空"
align=
"center"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<el-checkbox
v-model=
"scope.row.nullable"
true-label=
"1"
false-label=
"0"
></el-checkbox>
</
template
>
</el-table-column>
<el-table-column
prop=
"remark"
label=
"描述"
align=
"center"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"paramType"
label=
"参数类型"
align=
"center"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<el-form-item
:prop=
" 'reqParams.' + scope.$index + '.paramType' "
:rules=
"rules3.paramType"
>
<el-select
v-model=
"scope.row.paramType"
placeholder=
"请选择参数类型"
>
<el-option
v-for=
"dict in paramTypeOptions"
:key=
"dict.id"
:label=
"dict.itemValue"
:value=
"dict.itemText"
></el-option>
</el-select>
</el-form-item>
</
template
>
</el-table-column>
<el-table-column
prop=
"whereType"
label=
"操作符"
align=
"center"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<el-form-item
:prop=
" 'reqParams.' + scope.$index + '.whereType' "
:rules=
"rules3.whereType"
>
<el-select
v-model=
"scope.row.whereType"
placeholder=
"请选择操作符"
>
<el-option
v-for=
"dict in whereTypeOptions"
:key=
"dict.id"
:label=
"dict.itemValue"
:value=
"dict.itemText"
></el-option>
</el-select>
</el-form-item>
</
template
>
</el-table-column>
<el-table-column
prop=
"exampleValue"
label=
"示例值"
align=
"center"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<el-form-item
:prop=
" 'reqParams.' + scope.$index + '.exampleValue' "
:rules=
"rules3.exampleValue"
>
<el-input
v-model=
"scope.row.exampleValue"
placeholder=
"请输入示例值"
/>
</el-form-item>
</
template
>
</el-table-column>
<el-table-column
prop=
"defaultValue"
label=
"默认值"
align=
"center"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<el-form-item
:prop=
" 'reqParams.' + scope.$index + '.defaultValue' "
:rules=
"rules3.defaultValue"
>
<el-input
v-model=
"scope.row.defaultValue"
placeholder=
"请输入默认值"
/>
</el-form-item>
</
template
>
</el-table-column>
</el-table>
</el-form-item>
<el-form-item
label=
"返回字段"
>
<el-table
:data=
"form3.resParams"
stripe
border
:max-height=
"300"
style=
"width: 100%; margin: 15px 0;"
>
<el-table-column
label=
"序号"
width=
"55"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
$index
+
1
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"fieldName"
label=
"字段名称"
align=
"center"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"remark"
label=
"描述"
align=
"center"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"dataType"
label=
"数据类型"
align=
"center"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"exampleValue"
label=
"示例值"
align=
"center"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<el-form-item
:prop=
" 'resParams.' + scope.$index + '.exampleValue' "
:rules=
"rules3.exampleValue"
>
<el-input
v-model=
"scope.row.exampleValue"
placeholder=
"请输入示例值"
/>
</el-form-item>
</
template
>
</el-table-column>
</el-table>
</el-form-item>
<el-divider
content-position=
"left"
>
请求参数
</el-divider>
<el-table
:data=
"form3.reqParams"
stripe
border
:max-height=
"300"
style=
"width: 100%; margin: 15px 0;"
>
<el-table-column
label=
"序号"
width=
"55"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
$index
+
1
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"paramName"
label=
"参数名称"
align=
"center"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"nullable"
label=
"是否允许为空"
align=
"center"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<el-checkbox
v-model=
"scope.row.nullable"
true-label=
"1"
false-label=
"0"
></el-checkbox>
</
template
>
</el-table-column>
<el-table-column
prop=
"remark"
label=
"描述"
align=
"center"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"paramType"
label=
"参数类型"
align=
"center"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<el-form-item
:prop=
" 'reqParams.' + scope.$index + '.paramType' "
:rules=
"rules3.paramType"
>
<el-select
v-model=
"scope.row.paramType"
placeholder=
"请选择参数类型"
>
<el-option
v-for=
"dict in paramTypeOptions"
:key=
"dict.id"
:label=
"dict.itemValue"
:value=
"dict.itemText"
></el-option>
</el-select>
</el-form-item>
</
template
>
</el-table-column>
<el-table-column
prop=
"whereType"
label=
"操作符"
align=
"center"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<el-form-item
:prop=
" 'reqParams.' + scope.$index + '.whereType' "
:rules=
"rules3.whereType"
>
<el-select
v-model=
"scope.row.whereType"
placeholder=
"请选择操作符"
>
<el-option
v-for=
"dict in whereTypeOptions"
:key=
"dict.id"
:label=
"dict.itemValue"
:value=
"dict.itemText"
></el-option>
</el-select>
</el-form-item>
</
template
>
</el-table-column>
<el-table-column
prop=
"exampleValue"
label=
"示例值"
align=
"center"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<el-form-item
:prop=
" 'reqParams.' + scope.$index + '.exampleValue' "
:rules=
"rules3.exampleValue"
>
<el-input
v-model=
"scope.row.exampleValue"
placeholder=
"请输入示例值"
/>
</el-form-item>
</
template
>
</el-table-column>
<el-table-column
prop=
"defaultValue"
label=
"默认值"
align=
"center"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<el-form-item
:prop=
" 'reqParams.' + scope.$index + '.defaultValue' "
:rules=
"rules3.defaultValue"
>
<el-input
v-model=
"scope.row.defaultValue"
placeholder=
"请输入默认值"
/>
</el-form-item>
</
template
>
</el-table-column>
</el-table>
<el-divider
content-position=
"left"
>
返回字段
</el-divider>
<el-table
:data=
"form3.resParams"
stripe
border
:max-height=
"300"
style=
"width: 100%; margin: 15px 0;"
>
<el-table-column
label=
"序号"
width=
"55"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
$index
+
1
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"fieldName"
label=
"字段名称"
align=
"center"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"remark"
label=
"描述"
align=
"center"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"dataType"
label=
"数据类型"
align=
"center"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"exampleValue"
label=
"示例值"
align=
"center"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<el-form-item
:prop=
" 'resParams.' + scope.$index + '.exampleValue' "
:rules=
"rules3.exampleValue"
>
<el-input
v-model=
"scope.row.exampleValue"
placeholder=
"请输入示例值"
/>
</el-form-item>
</
template
>
</el-table-column>
</el-table>
</el-form>
<el-button
style=
"margin-top: 12px;"
@
click=
"handleNextStep"
v-if=
"active < 3"
>
下一步
</el-button>
<el-button
style=
"margin-top: 12px;"
@
click=
"handleLastStep"
v-if=
"active > 1"
>
上一步
</el-button>
...
...
@@ -430,6 +428,8 @@ export default {
this
.
paramTypeOptions
=
response
.
data
}
})
},
mounted
()
{
this
.
getDataApi
(
this
.
data
.
id
)
},
methods
:
{
...
...
datax-ui/src/views/market/dataapi/DataApiList.vue
View file @
4aba1a96
...
...
@@ -216,6 +216,8 @@ export default {
},
created
()
{
this
.
getList
()
},
mounted
()
{
this
.
initCols
()
},
methods
:
{
...
...
datax-ui/src/views/monitor/loginlog/LogDetail.vue
View file @
4aba1a96
...
...
@@ -62,6 +62,8 @@ export default {
},
created
()
{
console
.
log
(
'id:'
+
this
.
data
.
id
)
},
mounted
()
{
this
.
getLog
(
this
.
data
.
id
)
},
methods
:
{
...
...
datax-ui/src/views/monitor/loginlog/LogList.vue
View file @
4aba1a96
...
...
@@ -184,6 +184,8 @@ export default {
},
created
()
{
this
.
getList
()
},
mounted
()
{
this
.
initCols
()
},
methods
:
{
...
...
datax-ui/src/views/monitor/operlog/LogDetail.vue
View file @
4aba1a96
...
...
@@ -89,6 +89,8 @@ export default {
},
created
()
{
console
.
log
(
'id:'
+
this
.
data
.
id
)
},
mounted
()
{
this
.
getLog
(
this
.
data
.
id
)
},
methods
:
{
...
...
datax-ui/src/views/monitor/operlog/LogList.vue
View file @
4aba1a96
...
...
@@ -202,6 +202,8 @@ export default {
},
created
()
{
this
.
getList
()
},
mounted
()
{
this
.
initCols
()
},
methods
:
{
...
...
datax-ui/src/views/scheduler/job/JobDetail.vue
View file @
4aba1a96
...
...
@@ -83,6 +83,8 @@ export default {
this
.
statusOptions
=
response
.
data
}
})
},
mounted
()
{
this
.
getJob
(
this
.
data
.
id
)
},
methods
:
{
...
...
datax-ui/src/views/scheduler/job/JobEdit.vue
View file @
4aba1a96
...
...
@@ -105,6 +105,8 @@ export default {
this
.
statusOptions
=
response
.
data
}
})
},
mounted
()
{
this
.
getJob
(
this
.
data
.
id
)
},
methods
:
{
...
...
datax-ui/src/views/scheduler/job/JobList.vue
View file @
4aba1a96
...
...
@@ -260,6 +260,8 @@ export default {
},
created
()
{
this
.
getList
()
},
mounted
()
{
this
.
initCols
()
},
methods
:
{
...
...
datax-ui/src/views/scheduler/log/JobLogDetail.vue
View file @
4aba1a96
...
...
@@ -69,6 +69,8 @@ export default {
this
.
statusOptions
=
response
.
data
}
})
},
mounted
()
{
this
.
getLog
(
this
.
data
.
id
)
},
methods
:
{
...
...
datax-ui/src/views/scheduler/log/JobLogList.vue
View file @
4aba1a96
...
...
@@ -196,9 +196,11 @@ export default {
}
},
created
()
{
this
.
getJobList
()
this
.
getList
()
},
mounted
()
{
this
.
initCols
()
this
.
getJobList
()
},
methods
:
{
getJobList
()
{
...
...
datax-ui/src/views/system/config/ConfigDetail.vue
View file @
4aba1a96
...
...
@@ -77,6 +77,8 @@ export default {
this
.
statusOptions
=
response
.
data
}
})
},
mounted
()
{
this
.
getConfig
(
this
.
data
.
id
)
},
methods
:
{
...
...
datax-ui/src/views/system/config/ConfigEdit.vue
View file @
4aba1a96
...
...
@@ -96,6 +96,8 @@ export default {
this
.
statusOptions
=
response
.
data
}
})
},
mounted
()
{
this
.
getConfig
(
this
.
data
.
id
)
},
methods
:
{
...
...
datax-ui/src/views/system/config/ConfigList.vue
View file @
4aba1a96
...
...
@@ -220,6 +220,8 @@ export default {
},
created
()
{
this
.
getList
()
},
mounted
()
{
this
.
initCols
()
},
methods
:
{
...
...
datax-ui/src/views/system/dept/DeptDetail.vue
View file @
4aba1a96
...
...
@@ -84,6 +84,8 @@ export default {
}
})
this
.
getDeptTreeSelect
()
},
mounted
()
{
this
.
getDept
(
this
.
data
.
id
)
},
methods
:
{
...
...
datax-ui/src/views/system/dept/DeptEdit.vue
View file @
4aba1a96
...
...
@@ -103,6 +103,8 @@ export default {
}
})
this
.
getDeptTreeSelect
()
},
mounted
()
{
this
.
getDept
(
this
.
data
.
id
)
},
methods
:
{
...
...
datax-ui/src/views/system/dept/DeptList.vue
View file @
4aba1a96
...
...
@@ -152,6 +152,8 @@ export default {
},
created
()
{
this
.
getList
()
},
mounted
()
{
this
.
initCols
()
},
methods
:
{
...
...
datax-ui/src/views/system/dict/DictDetail.vue
View file @
4aba1a96
...
...
@@ -78,6 +78,8 @@ export default {
this
.
statusOptions
=
response
.
data
}
})
},
mounted
()
{
this
.
getDict
(
this
.
data
.
id
)
},
methods
:
{
...
...
datax-ui/src/views/system/dict/DictEdit.vue
View file @
4aba1a96
...
...
@@ -94,6 +94,8 @@ export default {
this
.
statusOptions
=
response
.
data
}
})
},
mounted
()
{
this
.
getDict
(
this
.
data
.
id
)
},
methods
:
{
...
...
datax-ui/src/views/system/dict/DictList.vue
View file @
4aba1a96
...
...
@@ -237,6 +237,8 @@ export default {
},
created
()
{
this
.
getList
()
},
mounted
()
{
this
.
initCols
()
},
methods
:
{
...
...
datax-ui/src/views/system/dict/item/DictItemDetail.vue
View file @
4aba1a96
...
...
@@ -81,6 +81,8 @@ export default {
this
.
statusOptions
=
response
.
data
}
})
},
mounted
()
{
this
.
getDictItem
(
this
.
data
.
id
)
},
methods
:
{
...
...
datax-ui/src/views/system/dict/item/DictItemEdit.vue
View file @
4aba1a96
...
...
@@ -97,6 +97,8 @@ export default {
this
.
statusOptions
=
response
.
data
}
})
},
mounted
()
{
this
.
getDictItem
(
this
.
data
.
id
)
},
methods
:
{
...
...
datax-ui/src/views/system/dict/item/DictItemList.vue
View file @
4aba1a96
...
...
@@ -236,6 +236,8 @@ export default {
console
.
log
(
'data:'
+
JSON
.
stringify
(
this
.
data
))
this
.
queryParams
.
dictId
=
this
.
data
.
dictId
this
.
getList
()
},
mounted
()
{
this
.
initCols
()
},
methods
:
{
...
...
datax-ui/src/views/system/menu/MenuDetail.vue
View file @
4aba1a96
...
...
@@ -118,6 +118,8 @@ export default {
}
})
this
.
getMenuTreeSelect
()
},
mounted
()
{
this
.
getMenu
(
this
.
data
.
id
)
},
methods
:
{
...
...
datax-ui/src/views/system/menu/MenuEdit.vue
View file @
4aba1a96
...
...
@@ -137,6 +137,8 @@ export default {
}
})
this
.
getMenuTreeSelect
()
},
mounted
()
{
this
.
getMenu
(
this
.
data
.
id
)
},
methods
:
{
...
...
datax-ui/src/views/system/menu/MenuList.vue
View file @
4aba1a96
...
...
@@ -166,6 +166,8 @@ export default {
},
created
()
{
this
.
getList
()
},
mounted
()
{
this
.
initCols
()
},
methods
:
{
...
...
datax-ui/src/views/system/post/PostDetail.vue
View file @
4aba1a96
...
...
@@ -71,6 +71,8 @@ export default {
this
.
statusOptions
=
response
.
data
}
})
},
mounted
()
{
this
.
getPost
(
this
.
data
.
id
)
},
methods
:
{
...
...
datax-ui/src/views/system/post/PostEdit.vue
View file @
4aba1a96
...
...
@@ -84,6 +84,8 @@ export default {
this
.
statusOptions
=
response
.
data
}
})
},
mounted
()
{
this
.
getPost
(
this
.
data
.
id
)
},
methods
:
{
...
...
datax-ui/src/views/system/post/PostList.vue
View file @
4aba1a96
...
...
@@ -211,6 +211,8 @@ export default {
},
created
()
{
this
.
getList
()
},
mounted
()
{
this
.
initCols
()
},
methods
:
{
...
...
datax-ui/src/views/system/role/RoleDetail.vue
View file @
4aba1a96
...
...
@@ -139,6 +139,8 @@ export default {
})
this
.
getMenuTree
()
this
.
getDeptTree
()
},
mounted
()
{
this
.
getRole
(
this
.
data
.
id
)
},
methods
:
{
...
...
datax-ui/src/views/system/role/RoleEdit.vue
View file @
4aba1a96
...
...
@@ -155,6 +155,8 @@ export default {
})
this
.
getMenuTree
()
this
.
getDeptTree
()
},
mounted
()
{
this
.
getRole
(
this
.
data
.
id
)
},
methods
:
{
...
...
datax-ui/src/views/system/role/RoleList.vue
View file @
4aba1a96
...
...
@@ -218,6 +218,8 @@ export default {
},
created
()
{
this
.
getList
()
},
mounted
()
{
this
.
initCols
()
},
methods
:
{
...
...
datax-ui/src/views/system/user/UserDetail.vue
View file @
4aba1a96
...
...
@@ -128,6 +128,8 @@ export default {
this
.
getDeptTreeSelect
()
this
.
getPostList
()
this
.
getRoleList
()
},
mounted
()
{
this
.
getUser
(
this
.
data
.
id
)
},
methods
:
{
...
...
datax-ui/src/views/system/user/UserEdit.vue
View file @
4aba1a96
...
...
@@ -163,6 +163,8 @@ export default {
this
.
getDeptTreeSelect
()
this
.
getPostList
()
this
.
getRoleList
()
},
mounted
()
{
this
.
getUser
(
this
.
data
.
id
)
},
methods
:
{
...
...
datax-ui/src/views/system/user/UserList.vue
View file @
4aba1a96
...
...
@@ -281,6 +281,8 @@ export default {
created
()
{
this
.
getList
()
this
.
getDeptTree
()
},
mounted
()
{
this
.
initCols
()
},
methods
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment