Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
SuperMan
Commits
2c88a2c0
Commit
2c88a2c0
authored
Dec 20, 2019
by
黄奎
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
6e326c75
d45a7f70
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
2 deletions
+20
-2
menuManagement.vue
src/components/platformModule/menuManagement.vue
+20
-2
No files found.
src/components/platformModule/menuManagement.vue
View file @
2c88a2c0
...
...
@@ -147,6 +147,15 @@
</td>
</tr>
<tr>
<td>
<el-form-item
label=
"系统菜单"
prop=
"menutype"
>
<el-select
filterable
class=
'w200'
v-model=
'addMsg.menutype'
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
label=
"ERP菜单"
:value=
"1"
></el-option>
<el-option
label=
"资产菜单"
:value=
"2"
></el-option>
</el-option>
</el-select>
</el-form-item>
</td>
<td>
<el-form-item
label=
"状态"
>
<el-switch
v-model=
"addMsg.MenuStatus"
active-value=
"0"
inactive-value=
"1"
></el-switch>
...
...
@@ -212,7 +221,8 @@
'MenuName'
:
''
,
'ParentId'
:
''
,
'MenuStatus'
:
'0'
,
'Tier'
:
''
'Tier'
:
''
,
},
addMsg
:
{
'MenuId'
:
'0'
,
...
...
@@ -224,7 +234,8 @@
'MenuStatus'
:
'0'
,
MenuStyleIcon
:
''
,
MenuStyleColor
:
''
,
Sort
:
0
Sort
:
0
,
menutype
:
1
,
},
rules
:
{
Sort
:
[{
...
...
@@ -246,6 +257,11 @@
validator
:
validateParent
,
trigger
:
'change'
}],
menutype
:[{
required
:
true
,
message
:
'请选择系统菜单'
,
trigger
:
'change'
}],
MenuUrl
:
[{
validator
:
validateUrl
,
trigger
:
'blur'
...
...
@@ -346,7 +362,9 @@
this
.
addMsg
.
MenuStatus
=
updateList
.
MenuStatus
.
toString
()
let
style
=
JSON
.
parse
(
updateList
.
MenuStyle
)
this
.
addMsg
.
MenuStyleIcon
=
style
.
icon
this
.
addMsg
.
MenuStyleIcon
=
style
.
menutype
this
.
addMsg
.
MenuStyleColor
=
style
.
color
this
.
currentUpdateIndex
=
index
},
err
=>
{})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment