Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
R
ruoshui-ui
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
etl-ruoshui
ruoshui-ui
Commits
567f8e9d
提交
567f8e9d
authored
1月 28, 2026
作者:
吕本才
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
还原路由,修改数据源管理页面的表格宽度大小
上级
e9c54205
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
285 行增加
和
269 行删除
+285
-269
.env.development
.env.development
+2
-2
.env.production
.env.production
+1
-1
.env.staging
.env.staging
+1
-1
index.js
src/router/index.js
+275
-259
index.vue
src/views/datax/jdbc-datasource/index.vue
+6
-6
没有找到文件。
.env.development
浏览文件 @
567f8e9d
# 页面标题
VUE_APP_TITLE =
若水数据中台
VUE_APP_TITLE =
王小卤ETL
# 开发环境配置
ENV = 'development'
# 若水数据中台/开发环境
#
VUE_APP_BASE_API = ''
VUE_APP_BASE_API = ''
# VUE_APP_BASE_API = 'http://192.168.100.38:10001'
# 路由懒加载
...
...
.env.production
浏览文件 @
567f8e9d
# 页面标题
VUE_APP_TITLE =
若水数据中台
VUE_APP_TITLE =
王小卤ETL
# 生产环境配置
ENV = 'production'
...
...
.env.staging
浏览文件 @
567f8e9d
# 页面标题
VUE_APP_TITLE =
若水数据中台
VUE_APP_TITLE =
王小卤ETL
NODE_ENV = production
...
...
src/router/index.js
浏览文件 @
567f8e9d
import
Vue
from
'vue'
import
Router
from
'vue-router'
import
Vue
from
"vue"
;
import
Router
from
"vue-router"
;
Vue
.
use
(
Router
)
Vue
.
use
(
Router
)
;
/* Layout */
import
Layout
from
'@/layout'
import
Layout
from
"@/layout"
;
/**
* Note: 路由配置项
...
...
@@ -31,385 +31,401 @@ import Layout from '@/layout'
// 公共路由
export
const
constantRoutes
=
[
{
path
:
'/redirect'
,
path
:
"/redirect"
,
component
:
Layout
,
hidden
:
true
,
children
:
[
{
path
:
'/redirect/:path(.*)'
,
component
:
()
=>
import
(
'@/views/redirect'
)
}
]
},
{
path
:
'/login'
,
component
:
()
=>
import
(
'@/views/login'
),
hidden
:
true
},
{
path
:
'/register'
,
component
:
()
=>
import
(
'@/views/register'
),
hidden
:
true
},
{
path
:
'/404'
,
component
:
()
=>
import
(
'@/views/error/404'
),
hidden
:
true
},
{
path
:
'/401'
,
component
:
()
=>
import
(
'@/views/error/401'
),
hidden
:
true
},
{
path
:
''
,
component
:
Layout
,
redirect
:
'index'
,
children
:
[
{
path
:
'index'
,
component
:
()
=>
import
(
'@/views/index/admin/index'
),
name
:
'Index'
,
meta
:
{
title
:
'首页'
,
icon
:
'dashboard'
,
affix
:
true
}
}
]
path
:
"/redirect/:path(.*)"
,
component
:
()
=>
import
(
"@/views/redirect"
),
},
],
},
{
path
:
'/user'
,
component
:
Layout
,
path
:
"/login"
,
component
:
()
=>
import
(
"@/views/login"
)
,
hidden
:
true
,
redirect
:
'noredirect'
,
children
:
[
{
path
:
'profile'
,
component
:
()
=>
import
(
'@/views/system/user/profile/index'
),
name
:
'Profile'
,
meta
:
{
title
:
'个人中心'
,
icon
:
'user'
}
}
]
},
// 快捷菜单路由
{
path
:
'/jcjs'
,
component
:
Layout
,
path
:
"/register"
,
component
:
()
=>
import
(
"@/views/register"
)
,
hidden
:
true
,
children
:
[
{
path
:
'sjy'
,
component
:
()
=>
import
(
'@/views/rule/datasource/index'
),
name
:
'DataSource'
,
meta
:
{
title
:
'数据源管理'
}
}
]
},
{
path
:
'/sjjc'
,
component
:
Layout
,
path
:
"/404"
,
component
:
()
=>
import
(
"@/views/error/404"
)
,
hidden
:
true
,
children
:
[
{
path
:
'jobInfo'
,
component
:
()
=>
import
(
'@/views/datax/jobInfo/index'
),
name
:
'JobInfo'
,
meta
:
{
title
:
'任务管理'
}
}
]
},
{
path
:
'/flink'
,
component
:
Layout
,
path
:
"/401"
,
component
:
()
=>
import
(
"@/views/error/401"
)
,
hidden
:
true
,
children
:
[
{
path
:
'FlinkTaskManage'
,
component
:
()
=>
import
(
'@/views/flink/task-manage/index'
),
name
:
'FlinkTaskManage'
,
meta
:
{
title
:
'任务列表'
}
}
]
},
{
path
:
'/market'
,
path
:
""
,
component
:
Layout
,
hidden
:
true
,
redirect
:
"index"
,
children
:
[
{
path
:
'dataapi'
,
component
:
()
=>
import
(
'@/views/market/dataapi/index'
),
name
:
'DataApi'
,
meta
:
{
title
:
'数据服务'
}
}
]
path
:
"index"
,
component
:
()
=>
import
(
"@/views/index/admin/index"
),
name
:
"Index"
,
meta
:
{
title
:
"首页"
,
icon
:
"dashboard"
,
affix
:
true
},
}
,
]
,
},
{
path
:
'/quality'
,
path
:
"/user"
,
component
:
Layout
,
hidden
:
true
,
redirect
:
"noredirect"
,
children
:
[
{
path
:
'checkrule'
,
component
:
()
=>
import
(
'@/views/quality/checkrule/index'
),
name
:
'CheckRule'
,
meta
:
{
title
:
'规则配置'
}
}
]
path
:
"profile"
,
component
:
()
=>
import
(
"@/views/system/user/profile/index"
),
name
:
"Profile"
,
meta
:
{
title
:
"个人中心"
,
icon
:
"user"
},
}
,
]
,
},
// 快捷菜单路由
// {
// path: '/jcjs',
// component: Layout,
// hidden: true,
// children: [
// {
// path: 'sjy',
// component: () => import('@/views/rule/datasource/index'),
// name: 'DataSource',
// meta: { title: '数据源管理' }
// }
// ]
// },
// {
// path: '/sjjc',
// component: Layout,
// hidden: true,
// children: [
// {
// path: 'jobInfo',
// component: () => import('@/views/datax/jobInfo/index'),
// name: 'JobInfo',
// meta: { title: '任务管理' }
// }
// ]
// },
// {
// path: '/flink',
// component: Layout,
// hidden: true,
// children: [
// {
// path: 'FlinkTaskManage',
// component: () => import('@/views/flink/task-manage/index'),
// name: 'FlinkTaskManage',
// meta: { title: '任务列表' }
// }
// ]
// },
// {
// path: '/market',
// component: Layout,
// hidden: true,
// children: [
// {
// path: 'dataapi',
// component: () => import('@/views/market/dataapi/index'),
// name: 'DataApi',
// meta: { title: '数据服务' }
// }
// ]
// },
// {
// path: '/quality',
// component: Layout,
// hidden: true,
// children: [
// {
// path: 'checkrule',
// component: () => import('@/views/quality/checkrule/index'),
// name: 'CheckRule',
// meta: { title: '规则配置' }
// }
// ]
// },
{
path
:
'/flink/task-manage'
,
redirect
:
'noRedirect'
,
name
:
'TaskManage'
,
meta
:
{
title
:
'任务管理'
,
icon
:
'list'
},
path
:
"/flink/task-manage"
,
redirect
:
"noRedirect"
,
name
:
"TaskManage"
,
meta
:
{
title
:
"任务管理"
,
icon
:
"list"
},
component
:
Layout
,
hidden
:
true
,
children
:
[
{
path
:
'index'
,
name
:
'FlinkTaskManage'
,
component
:
()
=>
import
(
'@/views/flink/task-manage/index'
),
meta
:
{
title
:
'任务列表'
,
icon
:
'el-icon-star-off'
},
path
:
"index"
,
name
:
"FlinkTaskManage"
,
component
:
()
=>
import
(
"@/views/flink/task-manage/index"
),
meta
:
{
title
:
"任务列表"
,
icon
:
"el-icon-star-off"
},
children
:
[
{
path
:
'/flink/task-manage/create_sql_streaming_task'
,
name
:
'CreateSqlStreamingTask'
,
component
:
(
resolve
)
=>
require
([
`@/views/flink/task-manage/sqltask.vue`
],
resolve
),
path
:
"/flink/task-manage/create_sql_streaming_task"
,
name
:
"CreateSqlStreamingTask"
,
component
:
(
resolve
)
=>
require
([
`@/views/flink/task-manage/sqltask.vue`
],
resolve
),
hidden
:
true
,
meta
:
{
title
:
'创建SQL流任务'
},
children
:
[]
meta
:
{
title
:
"创建SQL流任务"
},
children
:
[]
,
},
{
path
:
'/flink/task-manage/edit_sql_streaming_task'
,
name
:
'UpdateSqlStreamingTask'
,
component
:
(
resolve
)
=>
require
([
`@/views/flink/task-manage/sqltask.vue`
],
resolve
),
path
:
"/flink/task-manage/edit_sql_streaming_task"
,
name
:
"UpdateSqlStreamingTask"
,
component
:
(
resolve
)
=>
require
([
`@/views/flink/task-manage/sqltask.vue`
],
resolve
),
hidden
:
true
,
meta
:
{
title
:
'编辑SQL流任务'
},
children
:
[]
meta
:
{
title
:
"编辑SQL流任务"
},
children
:
[]
,
},
{
path
:
'/flink/task-manage/view_sql_streaming_task'
,
name
:
'ViewSqlStreamingTask'
,
component
:
(
resolve
)
=>
require
([
`@/views/flink/task-manage/sqltask.vue`
],
resolve
),
path
:
"/flink/task-manage/view_sql_streaming_task"
,
name
:
"ViewSqlStreamingTask"
,
component
:
(
resolve
)
=>
require
([
`@/views/flink/task-manage/sqltask.vue`
],
resolve
),
hidden
:
true
,
meta
:
{
title
:
'查看SQL流任务'
},
children
:
[]
meta
:
{
title
:
"查看SQL流任务"
},
children
:
[]
,
},
{
path
:
'/flink/task-manage/create_sql_batch_task'
,
name
:
'CreateSqlBatchTask'
,
component
:
(
resolve
)
=>
require
([
`@/views/flink/task-manage/sqltask.vue`
],
resolve
),
path
:
"/flink/task-manage/create_sql_batch_task"
,
name
:
"CreateSqlBatchTask"
,
component
:
(
resolve
)
=>
require
([
`@/views/flink/task-manage/sqltask.vue`
],
resolve
),
hidden
:
true
,
meta
:
{
title
:
'创建SQL批任务'
},
children
:
[]
meta
:
{
title
:
"创建SQL批任务"
},
children
:
[]
,
},
{
path
:
'/flink/task-manage/edit_sql_batch_task'
,
name
:
'UpdateSqlBatchTask'
,
component
:
(
resolve
)
=>
require
([
`@/views/flink/task-manage/sqltask.vue`
],
resolve
),
path
:
"/flink/task-manage/edit_sql_batch_task"
,
name
:
"UpdateSqlBatchTask"
,
component
:
(
resolve
)
=>
require
([
`@/views/flink/task-manage/sqltask.vue`
],
resolve
),
hidden
:
true
,
meta
:
{
title
:
'编辑SQL批任务'
},
children
:
[]
meta
:
{
title
:
"编辑SQL批任务"
},
children
:
[]
,
},
{
path
:
'/flink/task-manage/view_sql_batch_task'
,
name
:
'ViewSqlBatchTask'
,
component
:
(
resolve
)
=>
require
([
`@/views/flink/task-manage/sqltask.vue`
],
resolve
),
path
:
"/flink/task-manage/view_sql_batch_task"
,
name
:
"ViewSqlBatchTask"
,
component
:
(
resolve
)
=>
require
([
`@/views/flink/task-manage/sqltask.vue`
],
resolve
),
hidden
:
true
,
meta
:
{
title
:
'查看SQL批任务'
},
children
:
[]
meta
:
{
title
:
"查看SQL批任务"
},
children
:
[]
,
},
{
path
:
'/flink/task-manage/create_jar_task'
,
name
:
'CreateJarTask'
,
component
:
(
resolve
)
=>
require
([
`@/views/flink/task-manage/jartask.vue`
],
resolve
),
path
:
"/flink/task-manage/create_jar_task"
,
name
:
"CreateJarTask"
,
component
:
(
resolve
)
=>
require
([
`@/views/flink/task-manage/jartask.vue`
],
resolve
),
hidden
:
true
,
meta
:
{
title
:
'创建JAR任务'
},
children
:
[]
meta
:
{
title
:
"创建JAR任务"
},
children
:
[]
,
},
{
path
:
'/flink/task-manage/create_jar_task'
,
name
:
'CreateJarBatchTask'
,
component
:
(
resolve
)
=>
require
([
`@/views/flink/task-manage/jartask.vue`
],
resolve
),
path
:
"/flink/task-manage/create_jar_task"
,
name
:
"CreateJarBatchTask"
,
component
:
(
resolve
)
=>
require
([
`@/views/flink/task-manage/jartask.vue`
],
resolve
),
hidden
:
true
,
meta
:
{
title
:
'创建JAR批任务'
},
children
:
[]
meta
:
{
title
:
"创建JAR批任务"
},
children
:
[]
,
},
{
path
:
'/flink/task-manage/edit_jar_task'
,
name
:
'UpdateJarTask'
,
component
:
(
resolve
)
=>
require
([
`@/views/flink/task-manage/jartask.vue`
],
resolve
),
path
:
"/flink/task-manage/edit_jar_task"
,
name
:
"UpdateJarTask"
,
component
:
(
resolve
)
=>
require
([
`@/views/flink/task-manage/jartask.vue`
],
resolve
),
hidden
:
true
,
meta
:
{
title
:
'编辑JAR任务'
},
children
:
[]
meta
:
{
title
:
"编辑JAR任务"
},
children
:
[]
,
},
{
path
:
'/flink/task-manage/edit_jar_task'
,
name
:
'UpdateJarBatchTask'
,
component
:
(
resolve
)
=>
require
([
`@/views/flink/task-manage/jartask.vue`
],
resolve
),
path
:
"/flink/task-manage/edit_jar_task"
,
name
:
"UpdateJarBatchTask"
,
component
:
(
resolve
)
=>
require
([
`@/views/flink/task-manage/jartask.vue`
],
resolve
),
hidden
:
true
,
meta
:
{
title
:
'编辑JAR批任务'
},
children
:
[]
meta
:
{
title
:
"编辑JAR批任务"
},
children
:
[]
,
},
{
path
:
'/flink/task-manage/view_jar_task'
,
name
:
'ViewJarTask'
,
component
:
(
resolve
)
=>
require
([
`@/views/flink/task-manage/jartask.vue`
],
resolve
),
path
:
"/flink/task-manage/view_jar_task"
,
name
:
"ViewJarTask"
,
component
:
(
resolve
)
=>
require
([
`@/views/flink/task-manage/jartask.vue`
],
resolve
),
hidden
:
true
,
meta
:
{
title
:
'查看JAR任务'
},
children
:
[]
meta
:
{
title
:
"查看JAR任务"
},
children
:
[]
,
},
{
path
:
'/flink/task-manage/view_jar_task'
,
name
:
'ViewJarBatchTask'
,
component
:
(
resolve
)
=>
require
([
`@/views/flink/task-manage/jartask.vue`
],
resolve
),
path
:
"/flink/task-manage/view_jar_task"
,
name
:
"ViewJarBatchTask"
,
component
:
(
resolve
)
=>
require
([
`@/views/flink/task-manage/jartask.vue`
],
resolve
),
hidden
:
true
,
meta
:
{
title
:
'查看JAR批任务'
},
children
:
[]
meta
:
{
title
:
"查看JAR批任务"
},
children
:
[]
,
},
{
path
:
'/flink/log-manage/view_logdetail'
,
name
:
'ViewTaskLogDetail'
,
component
:
(
resolve
)
=>
require
([
`@/views/flink/log-manage/logdetail.vue`
],
resolve
),
path
:
"/flink/log-manage/view_logdetail"
,
name
:
"ViewTaskLogDetail"
,
component
:
(
resolve
)
=>
require
([
`@/views/flink/log-manage/logdetail.vue`
],
resolve
),
hidden
:
true
,
meta
:
{
title
:
'查看日志详情'
},
children
:
[]
meta
:
{
title
:
"查看日志详情"
},
children
:
[]
,
},
{
path
:
'index'
,
name
:
'FlinkLogManage'
,
component
:
()
=>
import
(
'@/views/flink/log-manage/index'
),
meta
:
{
title
:
'运行日志'
,
icon
:
'documentation'
},
path
:
"index"
,
name
:
"FlinkLogManage"
,
component
:
()
=>
import
(
"@/views/flink/log-manage/index"
),
meta
:
{
title
:
"运行日志"
,
icon
:
"documentation"
},
children
:
[
{
path
:
'/flink/log-manage/view_logdetail'
,
name
:
'ViewLogDetail'
,
component
:
(
resolve
)
=>
require
([
`@/views/flink/log-manage/logdetail.vue`
],
resolve
),
path
:
"/flink/log-manage/view_logdetail"
,
name
:
"ViewLogDetail"
,
component
:
(
resolve
)
=>
require
([
`@/views/flink/log-manage/logdetail.vue`
],
resolve
),
hidden
:
true
,
meta
:
{
title
:
'查看日志详情'
},
children
:
[]
}
]
}
]
meta
:
{
title
:
"查看日志详情"
},
children
:
[]
,
}
,
]
,
}
,
]
,
},
{
path
:
'/flink/task-manage/history'
,
name
:
'HistoryTask'
,
component
:
(
resolve
)
=>
require
([
`@/views/flink/task-manage/history.vue`
],
resolve
),
meta
:
{
title
:
'历史版本'
,
icon
:
'el-icon-tickets'
},
path
:
"/flink/task-manage/history"
,
name
:
"HistoryTask"
,
component
:
(
resolve
)
=>
require
([
`@/views/flink/task-manage/history.vue`
],
resolve
),
meta
:
{
title
:
"历史版本"
,
icon
:
"el-icon-tickets"
},
children
:
[
{
path
:
'/flink/task-manage/view_sql_streaming_task'
,
name
:
'ViewHistorySqlStreamingTask'
,
component
:
(
resolve
)
=>
require
([
`@/views/flink/task-manage/sqltask.vue`
],
resolve
),
path
:
"/flink/task-manage/view_sql_streaming_task"
,
name
:
"ViewHistorySqlStreamingTask"
,
component
:
(
resolve
)
=>
require
([
`@/views/flink/task-manage/sqltask.vue`
],
resolve
),
hidden
:
true
,
meta
:
{
title
:
'查看SQL流任务'
},
children
:
[]
meta
:
{
title
:
"查看SQL流任务"
},
children
:
[]
,
},
{
path
:
'/flink/task-manage/view_sql_batch_task'
,
name
:
'ViewHistorySqlBatchTask'
,
component
:
(
resolve
)
=>
require
([
`@/views/flink/task-manage/sqltask.vue`
],
resolve
),
path
:
"/flink/task-manage/view_sql_batch_task"
,
name
:
"ViewHistorySqlBatchTask"
,
component
:
(
resolve
)
=>
require
([
`@/views/flink/task-manage/sqltask.vue`
],
resolve
),
hidden
:
true
,
meta
:
{
title
:
'查看SQL批任务'
},
children
:
[]
meta
:
{
title
:
"查看SQL批任务"
},
children
:
[]
,
},
{
path
:
'/flink/task-manage/view_jar_task'
,
name
:
'ViewHistoryJarTask'
,
component
:
(
resolve
)
=>
require
([
`@/views/flink/task-manage/jartask.vue`
],
resolve
),
path
:
"/flink/task-manage/view_jar_task"
,
name
:
"ViewHistoryJarTask"
,
component
:
(
resolve
)
=>
require
([
`@/views/flink/task-manage/jartask.vue`
],
resolve
),
hidden
:
true
,
meta
:
{
title
:
'查看JAR批任务'
},
children
:
[]
}
]
}
]
}
]
meta
:
{
title
:
"查看JAR批任务"
},
children
:
[]
,
}
,
]
,
}
,
]
,
}
,
]
;
// 动态路由,基于用户权限动态去加载
export
const
dynamicRoutes
=
[
{
path
:
'/system/user-auth'
,
path
:
"/system/user-auth"
,
component
:
Layout
,
hidden
:
true
,
permissions
:
[
'system:user:edit'
],
permissions
:
[
"system:user:edit"
],
children
:
[
{
path
:
'role/:userId(
\\
d+)'
,
component
:
()
=>
import
(
'@/views/system/user/authRole'
),
name
:
'AuthRole'
,
meta
:
{
title
:
'分配角色'
,
activeMenu
:
'/system/user'
}
}
]
path
:
"role/:userId(
\\
d+)"
,
component
:
()
=>
import
(
"@/views/system/user/authRole"
),
name
:
"AuthRole"
,
meta
:
{
title
:
"分配角色"
,
activeMenu
:
"/system/user"
},
}
,
]
,
},
{
path
:
'/system/role-auth'
,
path
:
"/system/role-auth"
,
component
:
Layout
,
hidden
:
true
,
permissions
:
[
'system:role:edit'
],
permissions
:
[
"system:role:edit"
],
children
:
[
{
path
:
'user/:roleId(
\\
d+)'
,
component
:
()
=>
import
(
'@/views/system/role/authUser'
),
name
:
'AuthUser'
,
meta
:
{
title
:
'分配用户'
,
activeMenu
:
'/system/role'
}
}
]
path
:
"user/:roleId(
\\
d+)"
,
component
:
()
=>
import
(
"@/views/system/role/authUser"
),
name
:
"AuthUser"
,
meta
:
{
title
:
"分配用户"
,
activeMenu
:
"/system/role"
},
}
,
]
,
},
{
path
:
'/system/dict-data'
,
path
:
"/system/dict-data"
,
component
:
Layout
,
hidden
:
true
,
permissions
:
[
'system:dict:list'
],
permissions
:
[
"system:dict:list"
],
children
:
[
{
path
:
'index/:dictId(
\\
d+)'
,
component
:
()
=>
import
(
'@/views/system/dict/data'
),
name
:
'Data'
,
meta
:
{
title
:
'字典数据'
,
activeMenu
:
'/system/dict'
}
}
]
path
:
"index/:dictId(
\\
d+)"
,
component
:
()
=>
import
(
"@/views/system/dict/data"
),
name
:
"Data"
,
meta
:
{
title
:
"字典数据"
,
activeMenu
:
"/system/dict"
},
}
,
]
,
},
{
path
:
'/monitor/job-log'
,
path
:
"/monitor/job-log"
,
component
:
Layout
,
hidden
:
true
,
permissions
:
[
'monitor:job:list'
],
permissions
:
[
"monitor:job:list"
],
children
:
[
{
path
:
'index'
,
component
:
()
=>
import
(
'@/views/monitor/job/log'
),
name
:
'JobLog'
,
meta
:
{
title
:
'调度日志'
,
activeMenu
:
'/monitor/job'
}
}
]
path
:
"index"
,
component
:
()
=>
import
(
"@/views/monitor/job/log"
),
name
:
"JobLog"
,
meta
:
{
title
:
"调度日志"
,
activeMenu
:
"/monitor/job"
},
}
,
]
,
},
{
path
:
'/tool/gen-edit'
,
path
:
"/tool/gen-edit"
,
component
:
Layout
,
hidden
:
true
,
permissions
:
[
'tool:gen:edit'
],
permissions
:
[
"tool:gen:edit"
],
children
:
[
{
path
:
'index/:tableId(
\\
d+)'
,
component
:
()
=>
import
(
'@/views/tool/gen/editTable'
),
name
:
'GenEdit'
,
meta
:
{
title
:
'修改生成配置'
,
activeMenu
:
'/tool/gen'
}
}
]
}
]
path
:
"index/:tableId(
\\
d+)"
,
component
:
()
=>
import
(
"@/views/tool/gen/editTable"
),
name
:
"GenEdit"
,
meta
:
{
title
:
"修改生成配置"
,
activeMenu
:
"/tool/gen"
},
},
],
},
];
// 防止连续点击多次路由报错
let
routerPush
=
Router
.
prototype
.
push
;
Router
.
prototype
.
push
=
function
push
(
location
)
{
return
routerPush
.
call
(
this
,
location
).
catch
(
err
=>
err
)
}
return
routerPush
.
call
(
this
,
location
).
catch
(
(
err
)
=>
err
);
}
;
export
default
new
Router
({
mode
:
'hash'
,
// 去掉url中的#
mode
:
"hash"
,
// 去掉url中的#
scrollBehavior
:
()
=>
({
y
:
0
}),
routes
:
constantRoutes
})
routes
:
constantRoutes
,
})
;
src/views/datax/jdbc-datasource/index.vue
浏览文件 @
567f8e9d
...
...
@@ -27,13 +27,13 @@
<!--
<el-table-column
align=
"center"
label=
"序号"
width=
"95"
>
<template
slot-scope=
"scope"
>
{{
scope
.
$index
}}
</
template
>
</el-table-column>
-->
<el-table-column
label=
"数据源"
width=
"
2
00"
align=
"center"
>
<el-table-column
label=
"数据源"
width=
"
1
00"
align=
"center"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
datasource
}}
</
template
>
</el-table-column>
<el-table-column
label=
"数据源名称"
width=
"
15
0"
align=
"center"
>
<el-table-column
label=
"数据源名称"
width=
"
20
0"
align=
"center"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
datasourceName
}}
</
template
>
</el-table-column>
<el-table-column
label=
"数据源分组"
width=
"
2
00"
align=
"center"
>
<el-table-column
label=
"数据源分组"
width=
"
1
00"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<dict-tag
:options=
"dict.type.source_group"
:value=
"scope.row.datasourceGroup"
/>
</
template
>
...
...
@@ -41,16 +41,16 @@
<!--<el-table-column label="用户名" width="150" align="center">
<template slot-scope="scope">{{ scope.row.jdbcUsername ? scope.row.jdbcUsername:'-' }}</template>
</el-table-column>-->
<el-table-column
label=
"jdbc连接串"
align=
"center"
:show-overflow-tooltip=
"true"
>
<el-table-column
label=
"jdbc连接串"
width=
"300"
align=
"center"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
jdbcUrl
?
scope
.
row
.
jdbcUrl
:
'-'
}}
</
template
>
</el-table-column>
<!-- <el-table-column label="jdbc驱动类" width="200" align="center" :show-overflow-tooltip="true">
<template slot-scope="scope">{{ scope.row.jdbcDriverClass ? scope.row.jdbcDriverClass:'-' }}</template>
</el-table-column>-->
<el-table-column
label=
"ZK地址"
width=
"
2
00"
align=
"center"
:show-overflow-tooltip=
"true"
>
<el-table-column
label=
"ZK地址"
width=
"
1
00"
align=
"center"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
zkAdress
?
scope
.
row
.
zkAdress
:
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"数据库名"
width=
"
2
00"
align=
"center"
:show-overflow-tooltip=
"true"
>
-->
<el-table-column
label=
"数据库名"
width=
"
1
00"
align=
"center"
:show-overflow-tooltip=
"true"
>
-->
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
databaseName
?
scope
.
row
.
databaseName
:
'-'
}}
</
template
>
-->
</el-table-column>
<el-table-column
label=
"备注"
width=
"150"
align=
"center"
>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论