Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ElectricitySheep
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
黄媛媛
ElectricitySheep
Commits
63d544e7
Commit
63d544e7
authored
May 27, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
023f24a1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
4 deletions
+17
-4
minipage.vue
src/components/StoreDesign/minipage.vue
+1
-1
minimenu.vue
src/components/system/minimenu.vue
+16
-3
No files found.
src/components/StoreDesign/minipage.vue
View file @
63d544e7
...
...
@@ -52,7 +52,7 @@
<span>
{{
subItem
.
PageUrl
}}
</span>
</el-form-item>
<el-form-item
label=
"参数1"
v-if=
"subItem.IsParameter==1"
>
<el-input
size=
"small"
v-model=
"subItem.ParameterValue"
></el-input>
<el-input
size=
"small"
v-model=
"subItem.ParameterValue"
:placeholder=
"subItem.TipText"
></el-input>
</el-form-item>
</el-form>
</div>
...
...
src/components/system/minimenu.vue
View file @
63d544e7
...
...
@@ -46,17 +46,25 @@
<table
class=
"commonTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
v-loading=
"loading"
>
<tr>
<th>
菜单编号
</th>
<th>
菜单分类
</th>
<th>
菜单名称
</th>
<th>
菜单链接
</th>
<th>
菜单分类
</th>
<th>
是否有参数
</th>
<th>
状态
</th>
<th>
操作
</th>
</tr>
<tr
v-for=
"(item,index) in dataList"
:key=
"index"
>
<td>
{{
item
.
PageId
}}
</td>
<td>
{{
item
.
PageTypeStr
}}
</td>
<td>
{{
item
.
PageName
}}
</td>
<td>
{{
item
.
PageUrl
}}
</td>
<td>
{{
item
.
PageTypeStr
}}
</td>
<td><template
v-if=
"item.IsParameter==0"
>
<span>
无参数
</span>
</
template
>
<
template
v-if=
"item.IsParameter==1"
>
<span
style=
"color:red"
>
有参数
</span>
</
template
>
</td>
<td>
{{item.StatusStr}}
</td>
<td>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"修改"
placement=
"top-start"
>
...
...
@@ -99,6 +107,10 @@
<el-input
type=
"text"
style=
"width:234px"
size=
"small"
maxlength=
"25"
v-model=
"addMsg.ParameterValue"
>
</el-input>
</el-form-item>
<el-form-item
label=
"参数值提示"
v-if=
"addMsg.IsParameter==1"
>
<el-input
type=
"text"
style=
"width:234px"
size=
"small"
maxlength=
"50"
v-model=
"addMsg.TipText"
>
</el-input>
</el-form-item>
<el-form-item
label=
"排序"
>
<el-input
type=
"text"
style=
"width:234px"
@
keyup
.
native=
"checkInteger(addMsg,'PageSort')"
size=
"small"
maxlength=
"25"
v-model=
"addMsg.PageSort"
></el-input>
...
...
@@ -135,6 +147,7 @@
PageSort
:
0
,
//页面排序
IsParameter
:
0
,
//是否有参数(0-无参数,1-有参数)
ParameterValue
:
""
,
//参数值
TipText
:
""
,
//参数值提示
},
pageType
:
[],
menurules
:
{
...
...
@@ -173,6 +186,7 @@
this
.
addMsg
.
PageSort
=
0
;
this
.
addMsg
.
IsParameter
=
0
;
this
.
addMsg
.
ParameterValue
=
""
;
this
.
addMsg
.
TipText
=
""
;
},
//获取页面类型
getPageTypeList
()
{
...
...
@@ -251,7 +265,6 @@
}
})
},
},
mounted
()
{
this
.
getPageTypeList
();
...
...
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