Commit 63d544e7 authored by 黄奎's avatar 黄奎

页面修改

parent 023f24a1
......@@ -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>
......
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment