Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
D
dataease
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
njgzx
dataease
Commits
5f8a0126
提交
5f8a0126
authored
5月 19, 2021
作者:
fit2cloud-chenyw
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat: 路由名称改为英文
上级
14a5d7f6
隐藏空白字符变更
内嵌
并排
正在显示
11 个修改的文件
包含
25 行增加
和
25 行删除
+25
-25
index.vue
frontend/src/components/Breadcrumb/index.vue
+1
-1
form.vue
frontend/src/views/system/datasource/form.vue
+2
-2
index.vue
frontend/src/views/system/datasource/index.vue
+2
-2
form.vue
frontend/src/views/system/dept/form.vue
+2
-2
index.vue
frontend/src/views/system/dept/index.vue
+3
-3
form.vue
frontend/src/views/system/menu/form.vue
+2
-2
index.vue
frontend/src/views/system/menu/index.vue
+2
-2
form.vue
frontend/src/views/system/role/form.vue
+3
-3
index.vue
frontend/src/views/system/role/index.vue
+4
-4
form.vue
frontend/src/views/system/user/form.vue
+2
-2
index.vue
frontend/src/views/system/user/index.vue
+2
-2
没有找到文件。
frontend/src/components/Breadcrumb/index.vue
浏览文件 @
5f8a0126
...
...
@@ -45,7 +45,7 @@ export default {
return
false
}
// return name.trim().toLocaleLowerCase() === 'Dashboard'.toLocaleLowerCase()
return
name
.
trim
().
toLocaleLowerCase
()
===
'
仪表板
'
.
toLocaleLowerCase
()
return
name
.
trim
().
toLocaleLowerCase
()
===
'
panel
'
.
toLocaleLowerCase
()
},
pathCompile
(
path
)
{
// To solve this problem https://github.com/PanJiaChen/vue-element-admin/issues/561
...
...
frontend/src/views/system/datasource/form.vue
浏览文件 @
5f8a0126
<
template
>
<layout-content
:header=
"formType=='add' ? $t('datasource.create') : $t('datasource.modify')"
back-name=
"
数据源
"
>
<layout-content
:header=
"formType=='add' ? $t('datasource.create') : $t('datasource.modify')"
back-name=
"
datasource
"
>
<el-form
ref=
"dsForm"
:model=
"form"
:rules=
"rule"
size=
"small"
label-width=
"auto"
label-position=
"right"
>
<el-form-item
:label=
"$t('commons.name')"
prop=
"name"
>
<el-input
v-model=
"form.name"
autocomplete=
"off"
/>
...
...
@@ -127,7 +127,7 @@ export default {
}
},
backToList
()
{
this
.
$router
.
push
({
name
:
'
数据源
'
})
this
.
$router
.
push
({
name
:
'
datasource
'
})
}
}
}
...
...
frontend/src/views/system/datasource/index.vue
浏览文件 @
5f8a0126
...
...
@@ -165,7 +165,7 @@ export default {
// this.dialogVisible = true
// },
create
()
{
this
.
$router
.
push
({
name
:
'
数据源表单
'
})
this
.
$router
.
push
({
name
:
'
datasource-form
'
})
},
// edit(row) {
...
...
@@ -175,7 +175,7 @@ export default {
// this.form.configuration = JSON.parse(this.form.configuration)
// },
edit
(
row
)
{
this
.
$router
.
push
({
name
:
'
数据源表单
'
,
params
:
row
})
this
.
$router
.
push
({
name
:
'
datasource-form
'
,
params
:
row
})
},
_handleDelete
(
datasource
)
{
...
...
frontend/src/views/system/dept/form.vue
浏览文件 @
5f8a0126
<
template
>
<layout-content
:header=
"formType=='add' ? $t('organization.create') : $t('organization.modify')"
back-name=
"
组织管理
"
>
<layout-content
:header=
"formType=='add' ? $t('organization.create') : $t('organization.modify')"
back-name=
"
system-dept
"
>
<el-form
ref=
"deptForm"
:model=
"form"
:rules=
"rule"
size=
"small"
label-width=
"auto"
label-position=
"right"
>
<el-form-item
:label=
"$t('organization.name')"
prop=
"name"
>
<el-input
v-model=
"form.name"
/>
...
...
@@ -157,7 +157,7 @@ export default {
})
},
backToList
()
{
this
.
$router
.
push
({
name
:
'
组织管理
'
})
this
.
$router
.
push
({
name
:
'
system-dept
'
})
}
}
}
...
...
frontend/src/views/system/dept/index.vue
浏览文件 @
5f8a0126
...
...
@@ -7,7 +7,7 @@
>
<template
#
toolbar
>
<el-button
v-permission=
"['dept:add']"
icon=
"el-icon-circle-plus-outline"
@
click=
"create"
>
{{
$t
(
'organization.create'
)
}}
</el-button>
</
template
>
</
template
>
<el-table
ref=
"table"
:data=
"tableData"
...
...
@@ -184,10 +184,10 @@ export default {
// this.treeByRow(row)
// },
create
()
{
this
.
$router
.
push
({
name
:
'
组织表单
'
})
this
.
$router
.
push
({
name
:
'
system-dept-form
'
})
},
edit
(
row
)
{
this
.
$router
.
push
({
name
:
'
组织表单
'
,
params
:
row
})
this
.
$router
.
push
({
name
:
'
system-dept-form
'
,
params
:
row
})
},
treeByRow
(
row
)
{
...
...
frontend/src/views/system/menu/form.vue
浏览文件 @
5f8a0126
<
template
>
<layout-content
:header=
"formType=='add' ? $t('menu.create') : $t('menu.modify')"
back-name=
"
菜单管理
"
>
<layout-content
:header=
"formType=='add' ? $t('menu.create') : $t('menu.modify')"
back-name=
"
system-menu
"
>
<el-form
ref=
"menuForm"
:model=
"form"
:rules=
"rule"
size=
"small"
label-width=
"auto"
label-position=
"right"
>
<el-form-item
label=
"菜单类型"
prop=
"type"
>
<el-radio-group
v-model=
"form.type"
size=
"mini"
:disabled=
"formType!=='add'"
>
...
...
@@ -167,7 +167,7 @@ export default {
})
},
backToList
()
{
this
.
$router
.
push
({
name
:
'
菜单管理
'
})
this
.
$router
.
push
({
name
:
'
system-menu
'
})
}
}
}
...
...
frontend/src/views/system/menu/index.vue
浏览文件 @
5f8a0126
...
...
@@ -201,7 +201,7 @@ export default {
// this.formType = 'add'
// },
create
()
{
this
.
$router
.
push
({
name
:
'
菜单表单
'
})
this
.
$router
.
push
({
name
:
'
system-menu-form
'
})
},
search
(
condition
)
{
console
.
log
(
condition
)
...
...
@@ -215,7 +215,7 @@ export default {
// this.treeByRow(row)
// },
edit
(
row
)
{
this
.
$router
.
push
({
name
:
'
菜单表单
'
,
params
:
row
})
this
.
$router
.
push
({
name
:
'
system-menu-form
'
,
params
:
row
})
},
treeByRow
(
row
)
{
...
...
frontend/src/views/system/role/form.vue
浏览文件 @
5f8a0126
<
template
>
<layout-content
:header=
"formType=='add' ? $t('role.add') : $t('role.modify')"
back-name=
"
角色管理
"
>
<layout-content
:header=
"formType=='add' ? $t('role.add') : $t('role.modify')"
back-name=
"
system-role
"
>
<el-form
ref=
"roleForm"
:model=
"form"
:rules=
"rule"
size=
"small"
label-width=
"auto"
label-position=
"right"
>
<el-form-item
:label=
"$t('commons.name')"
prop=
"name"
>
<el-input
v-model=
"form.name"
/>
</el-form-item>
<el-form-item
:label=
"$t('commons.description')"
prop=
"description"
>
<el-form-item
:label=
"$t('commons.description')"
prop=
"description"
>
<el-input
v-model=
"form.description"
type=
"textarea"
/>
</el-form-item>
<el-form-item>
...
...
@@ -97,7 +97,7 @@ export default {
}
},
backToList
()
{
this
.
$router
.
push
({
name
:
'
角色管理
'
})
this
.
$router
.
push
({
name
:
'
system-role
'
})
}
}
}
...
...
frontend/src/views/system/role/index.vue
浏览文件 @
5f8a0126
...
...
@@ -148,7 +148,7 @@ export default {
console
.
log
(
tab
,
event
)
},
create
()
{
this
.
$router
.
push
({
name
:
'
角色表单
'
})
this
.
$router
.
push
({
name
:
'
system-role-form
'
})
},
search
(
condition
)
{
const
temp
=
formatCondition
(
condition
)
...
...
@@ -160,7 +160,7 @@ export default {
})
},
edit
(
row
)
{
this
.
$router
.
push
({
name
:
'
角色表单
'
,
params
:
row
})
this
.
$router
.
push
({
name
:
'
system-role-form
'
,
params
:
row
})
},
saveRole
(
roleForm
)
{
...
...
@@ -250,9 +250,9 @@ export default {
this
.
$refs
.
menu
.
setCheckedKeys
(
this
.
menuIds
)
},
handleDelete
(
row
)
{
this
.
$confirm
(
this
.
$t
(
'commons.confirm_delete'
)
+
": "
+
row
.
name
+
'?'
,
this
.
$t
(
'role.tips'
),
{
this
.
$confirm
(
this
.
$t
(
'commons.confirm_delete'
)
+
': '
+
row
.
name
+
'?'
,
this
.
$t
(
'role.tips'
),
{
confirmButtonText
:
this
.
$t
(
'commons.confirm'
),
cancelButtonText
:
this
.
$t
(
'commons.cancel'
),
cancelButtonText
:
this
.
$t
(
'commons.cancel'
),
type
:
'warning'
}).
then
(()
=>
{
delRole
(
row
.
roleId
).
then
(
res
=>
{
...
...
frontend/src/views/system/user/form.vue
浏览文件 @
5f8a0126
<
template
>
<layout-content
:header=
"formType=='add' ? $t('user.create') : $t('user.modify')"
back-name=
"
用户管理
"
>
<layout-content
:header=
"formType=='add' ? $t('user.create') : $t('user.modify')"
back-name=
"
system-user
"
>
<el-form
ref=
"createUserForm"
:model=
"form"
:rules=
"rule"
size=
"small"
label-width=
"auto"
label-position=
"right"
>
<el-form-item
:label=
"$t('commons.name')"
prop=
"username"
>
<el-input
v-model=
"form.username"
/>
...
...
@@ -258,7 +258,7 @@ export default {
})
},
backToList
()
{
this
.
$router
.
push
({
name
:
'
用户管理
'
})
this
.
$router
.
push
({
name
:
'
system-user
'
})
},
filterData
(
instanceId
)
{
const
results
=
this
.
depts
.
map
(
node
=>
{
...
...
frontend/src/views/system/user/index.vue
浏览文件 @
5f8a0126
...
...
@@ -299,7 +299,7 @@ export default {
})
},
create
()
{
this
.
$router
.
push
({
name
:
'
用户表单
'
})
this
.
$router
.
push
({
name
:
'
system-user-form
'
})
},
// create() {
// this.depts = null
...
...
@@ -308,7 +308,7 @@ export default {
// this.dialogVisible = true
// },
edit
(
row
)
{
this
.
$router
.
push
({
name
:
'
用户表单
'
,
params
:
row
})
this
.
$router
.
push
({
name
:
'
system-user-form
'
,
params
:
row
})
},
// edit(row) {
// this.depts = null
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论