Skip to content

Commit

Permalink
选择数据源表下拉框属性更改 #118
Browse files Browse the repository at this point in the history
  • Loading branch information
weiye committed May 7, 2020
1 parent 031bec7 commit 034fc5f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
6 changes: 6 additions & 0 deletions src/router/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,12 @@ export const asyncRoutes = [
component: () => import('@/views/datax/json-build/index'),
meta: { title: '任务构建', icon: 'guide', noCache: false }
},
{
path: 'jsonBuildBatch',
name: 'JsonBuildBatch',
component: () => import('@/views/datax/json-build-batch/index'),
meta: { title: '任务批量构建', icon: 'guide', noCache: false }
},
{
path: 'jdbcDatasource',
name: 'JdbcDatasource',
Expand Down
2 changes: 1 addition & 1 deletion src/views/datax/json-build/reader/RDBMSReader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</el-select>
</el-form-item>
<el-form-item label="数据库表名:" prop="tableName">
<el-select v-model="readerForm.tableName" filterable style="width: 300px" @change="rTbChange" >
<el-select v-model="readerForm.tableName" allow-create default-first-option filterable style="width: 300px" @change="rTbChange" >
<el-option v-for="item in rTbList" :key="item" :label="item" :value="item" />
</el-select>
</el-form-item>
Expand Down
4 changes: 3 additions & 1 deletion src/views/datax/json-build/writer/RDBMSWriter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@
<el-form-item label="数据库表名:" prop="tableName">
<el-select
v-model="fromTableName"
:disabled="writerForm.ifCreateTable"
allow-create
default-first-option
filterable
:disabled="writerForm.ifCreateTable"
@change="wTbChange"
style="width: 300px">
<el-option
Expand Down

0 comments on commit 034fc5f

Please sign in to comment.