Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
T
topology
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
姜立玮
topology
Commits
5d4b0e6b
提交
5d4b0e6b
authored
5 年前
作者:
RuoYi
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
添加主目录添加/删除操作
上级
e6cd9c43
变更
1
显示空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
7 行增加
和
5 行删除
+7
-5
index.vue
ruoyi-ui/src/views/system/menu/index.vue
+7
-5
没有找到文件。
ruoyi-ui/src/views/system/menu/index.vue
浏览文件 @
5d4b0e6b
...
...
@@ -41,7 +41,7 @@
<el-table-column
prop=
"orderNum"
label=
"排序"
width=
"60px"
></el-table-column>
<el-table-column
prop=
"perms"
label=
"权限标识"
width=
"130px"
:show-overflow-tooltip=
"true"
></el-table-column>
<el-table-column
prop=
"component"
label=
"组件路径"
width=
"180px"
:show-overflow-tooltip=
"true"
></el-table-column>
<el-table-column
prop=
"visible"
label=
"
可见"
:formatter=
"visibleFormat"
width=
"80px"
></el-table-column>
<el-table-column
prop=
"visible"
label=
"可见"
:formatter=
"visibleFormat"
width=
"80px"
></el-table-column>
<el-table-column
label=
"创建时间"
align=
"center"
prop=
"createTime"
width=
"180"
>
<
template
slot-scope=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
createTime
)
}}
</span>
...
...
@@ -63,7 +63,6 @@
v-hasPermi=
"['system:menu:add']"
>
新增
</el-button>
<el-button
v-if=
"scope.row.parentId != 0"
size=
"mini"
type=
"text"
icon=
"el-icon-delete"
...
...
@@ -78,7 +77,7 @@
<el-dialog
:title=
"title"
:visible
.
sync=
"open"
width=
"600px"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"80px"
>
<el-row>
<el-col
:span=
"24"
v-if=
"form.parentId !== 0"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"上级菜单"
>
<treeselect
v-model=
"form.parentId"
...
...
@@ -188,7 +187,7 @@ export default {
// 菜单表格树数据
menuList
:
[],
// 菜单树选项
menuOptions
:
undefined
,
menuOptions
:
[]
,
// 弹出层标题
title
:
""
,
// 是否显示弹出层
...
...
@@ -235,7 +234,10 @@ export default {
/** 查询菜单下拉树结构 */
getTreeselect
()
{
treeselect
().
then
(
response
=>
{
this
.
menuOptions
=
response
.
data
;
this
.
menuOptions
=
[];
const
menu
=
{
id
:
0
,
label
:
'主类目'
,
children
:
[]
};
menu
.
children
=
response
.
data
;
this
.
menuOptions
.
push
(
menu
);
});
},
// 菜单显示状态字典翻译
...
...
This diff is collapsed.
Click to expand it.
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论