Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
D
dataease
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
zhu
dataease
Commits
440dd28f
提交
440dd28f
authored
5月 28, 2021
作者:
junjie
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat(frontend):1.角色分页相关bug修复;2.内置角色禁止编辑和删除;3.右上角下拉菜单文案修改
上级
ef6d89bd
显示空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
19 行增加
和
12 行删除
+19
-12
en.js
frontend/src/lang/en.js
+3
-2
tw.js
frontend/src/lang/tw.js
+3
-2
zh.js
frontend/src/lang/zh.js
+3
-2
Topbar.vue
frontend/src/layout/components/Topbar.vue
+1
-1
form.vue
frontend/src/views/system/role/form.vue
+1
-1
index.vue
frontend/src/views/system/role/index.vue
+7
-3
personPwd.vue
frontend/src/views/system/user/personPwd.vue
+1
-1
没有找到文件。
frontend/src/lang/en.js
浏览文件 @
440dd28f
...
@@ -278,7 +278,7 @@ export default {
...
@@ -278,7 +278,7 @@ export default {
default_module
:
'Default Module'
default_module
:
'Default Module'
},
},
datasource
:
'Datasource'
,
datasource
:
'Datasource'
,
char_can_not_more_50
:
'
Name c
an not more 50 char'
,
char_can_not_more_50
:
'
C
an not more 50 char'
,
share_success
:
'Share Success'
share_success
:
'Share Success'
},
},
documentation
:
{
documentation
:
{
...
@@ -435,7 +435,8 @@ export default {
...
@@ -435,7 +435,8 @@ export default {
current_user
:
'Current User'
,
current_user
:
'Current User'
,
origin_passwd
:
'Origin Password'
,
origin_passwd
:
'Origin Password'
,
new_passwd
:
'New Password'
,
new_passwd
:
'New Password'
,
confirm_passwd
:
'Confirm Password'
confirm_passwd
:
'Confirm Password'
,
change_password
:
'Change Password'
},
},
role
:
{
role
:
{
menu_authorization
:
'Menu Authorization'
,
menu_authorization
:
'Menu Authorization'
,
...
...
frontend/src/lang/tw.js
浏览文件 @
440dd28f
...
@@ -278,7 +278,7 @@ export default {
...
@@ -278,7 +278,7 @@ export default {
default_module
:
'默认模块'
default_module
:
'默认模块'
},
},
datasource
:
'數據源'
,
datasource
:
'數據源'
,
char_can_not_more_50
:
'
名稱
不能超過50字符'
,
char_can_not_more_50
:
'不能超過50字符'
,
share_success
:
'分享成功'
share_success
:
'分享成功'
},
},
documentation
:
{
documentation
:
{
...
@@ -435,7 +435,8 @@ export default {
...
@@ -435,7 +435,8 @@ export default {
current_user
:
'當前用戶'
,
current_user
:
'當前用戶'
,
origin_passwd
:
'原始密碼'
,
origin_passwd
:
'原始密碼'
,
new_passwd
:
'新密碼'
,
new_passwd
:
'新密碼'
,
confirm_passwd
:
'確認密碼'
confirm_passwd
:
'確認密碼'
,
change_password
:
'修改密碼'
},
},
role
:
{
role
:
{
menu_authorization
:
'菜單授權'
,
menu_authorization
:
'菜單授權'
,
...
...
frontend/src/lang/zh.js
浏览文件 @
440dd28f
...
@@ -278,7 +278,7 @@ export default {
...
@@ -278,7 +278,7 @@ export default {
default_module
:
'默认模块'
default_module
:
'默认模块'
},
},
datasource
:
'数据源'
,
datasource
:
'数据源'
,
char_can_not_more_50
:
'
名称
不能超过50字符'
,
char_can_not_more_50
:
'不能超过50字符'
,
share_success
:
'分享成功'
share_success
:
'分享成功'
},
},
documentation
:
{
documentation
:
{
...
@@ -435,7 +435,8 @@ export default {
...
@@ -435,7 +435,8 @@ export default {
current_user
:
'当前用户'
,
current_user
:
'当前用户'
,
origin_passwd
:
'原始密码'
,
origin_passwd
:
'原始密码'
,
new_passwd
:
'新密码'
,
new_passwd
:
'新密码'
,
confirm_passwd
:
'确认密码'
confirm_passwd
:
'确认密码'
,
change_password
:
'修改密码'
},
},
role
:
{
role
:
{
menu_authorization
:
'菜单授权'
,
menu_authorization
:
'菜单授权'
,
...
...
frontend/src/layout/components/Topbar.vue
浏览文件 @
440dd28f
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
<el-dropdown-item>
{{ $t('commons.personal_info') }}
</el-dropdown-item>
<el-dropdown-item>
{{ $t('commons.personal_info') }}
</el-dropdown-item>
</router-link>
</router-link>
<router-link
to=
"/person-pwd/index"
>
<router-link
to=
"/person-pwd/index"
>
<el-dropdown-item>
{{ $t('user.
reset
_password') }}
</el-dropdown-item>
<el-dropdown-item>
{{ $t('user.
change
_password') }}
</el-dropdown-item>
</router-link>
</router-link>
<a
href=
"/swagger-ui.html"
target=
"_blank"
>
<a
href=
"/swagger-ui.html"
target=
"_blank"
>
<el-dropdown-item>
{{ $t('commons.help_documentation') }}
</el-dropdown-item>
<el-dropdown-item>
{{ $t('commons.help_documentation') }}
</el-dropdown-item>
...
...
frontend/src/views/system/role/form.vue
浏览文件 @
440dd28f
...
@@ -30,7 +30,7 @@ export default {
...
@@ -30,7 +30,7 @@ export default {
name
:
[
name
:
[
{
required
:
true
,
trigger
:
'blur'
,
validator
:
this
.
roleValidator
}
{
required
:
true
,
trigger
:
'blur'
,
validator
:
this
.
roleValidator
}
],
],
code
:
[{
required
:
true
,
message
:
'请输入代码'
,
trigger
:
'blur'
}]
description
:
[{
max
:
50
,
message
:
this
.
$t
(
'commons.char_can_not_more_50'
)
,
trigger
:
'blur'
}]
},
},
roles
:
[],
roles
:
[],
originName
:
null
originName
:
null
...
...
frontend/src/views/system/role/index.vue
浏览文件 @
440dd28f
...
@@ -18,6 +18,7 @@
...
@@ -18,6 +18,7 @@
</
template
>
</
template
>
<el-table-column
prop=
"name"
:label=
"$t('commons.name')"
/>
<el-table-column
prop=
"name"
:label=
"$t('commons.name')"
/>
<el-table-column
:show-overflow-tooltip=
"true"
prop=
"description"
:label=
"$t('commons.description')"
/>
<el-table-column
:show-overflow-tooltip=
"true"
prop=
"createTime"
:label=
"$t('commons.create_time')"
>
<el-table-column
:show-overflow-tooltip=
"true"
prop=
"createTime"
:label=
"$t('commons.create_time')"
>
<
template
v-slot:default=
"scope"
>
<
template
v-slot:default=
"scope"
>
<span>
{{
scope
.
row
.
createTime
|
timestampFormatDate
}}
</span>
<span>
{{
scope
.
row
.
createTime
|
timestampFormatDate
}}
</span>
...
@@ -118,9 +119,9 @@ export default {
...
@@ -118,9 +119,9 @@ export default {
columns
:
[],
columns
:
[],
buttons
:
[
buttons
:
[
{
{
label
:
this
.
$t
(
'commons.edit'
),
icon
:
'el-icon-edit'
,
type
:
'primary'
,
click
:
this
.
edit
label
:
this
.
$t
(
'commons.edit'
),
icon
:
'el-icon-edit'
,
type
:
'primary'
,
click
:
this
.
edit
,
disabled
:
this
.
btnDisabled
},
{
},
{
label
:
this
.
$t
(
'commons.delete'
),
icon
:
'el-icon-delete'
,
type
:
'danger'
,
click
:
this
.
handleDelete
label
:
this
.
$t
(
'commons.delete'
),
icon
:
'el-icon-delete'
,
type
:
'danger'
,
click
:
this
.
handleDelete
,
disabled
:
this
.
btnDisabled
}
}
],
],
searchConfig
:
{
searchConfig
:
{
...
@@ -156,7 +157,7 @@ export default {
...
@@ -156,7 +157,7 @@ export default {
const
param
=
temp
||
{}
const
param
=
temp
||
{}
roleGrid
(
this
.
paginationConfig
.
currentPage
,
this
.
paginationConfig
.
pageSize
,
param
).
then
(
response
=>
{
roleGrid
(
this
.
paginationConfig
.
currentPage
,
this
.
paginationConfig
.
pageSize
,
param
).
then
(
response
=>
{
const
data
=
response
.
data
const
data
=
response
.
data
this
.
total
=
data
.
itemCount
this
.
paginationConfig
.
total
=
data
.
itemCount
this
.
tableData
=
data
.
listObject
this
.
tableData
=
data
.
listObject
})
})
},
},
...
@@ -263,6 +264,9 @@ export default {
...
@@ -263,6 +264,9 @@ export default {
}).
catch
(()
=>
{
}).
catch
(()
=>
{
})
})
},
btnDisabled
(
row
)
{
return
!
row
.
createTime
}
}
}
}
}
}
...
...
frontend/src/views/system/user/personPwd.vue
浏览文件 @
440dd28f
<
template
>
<
template
>
<layout-content
:header=
"$t('
member.edit
_password')"
>
<layout-content
:header=
"$t('
user.change
_password')"
>
<el-form
ref=
"createUserForm"
:model=
"form"
:rules=
"rule"
size=
"small"
label-width=
"auto"
label-position=
"right"
>
<el-form
ref=
"createUserForm"
:model=
"form"
:rules=
"rule"
size=
"small"
label-width=
"auto"
label-position=
"right"
>
<el-form-item
:label=
"$t('user.origin_passwd')"
prop=
"oldPwd"
>
<el-form-item
:label=
"$t('user.origin_passwd')"
prop=
"oldPwd"
>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论