Commit f9fc7b62 authored by 黄奎's avatar 黄奎

页面修改

parent 215d3627
...@@ -603,16 +603,18 @@ ...@@ -603,16 +603,18 @@
}, },
//跳转至最后一步 //跳转至最后一步
LastStep() { LastStep() {
this.apipost("/api/Tenant/SetTenantSecond", this.msg2, res => {
if (res.data.resultCode == 1) {
this.StepIndex = 3; this.StepIndex = 3;
} else {
this.Info(res.data.message);
}
})
}, },
//跳转登录 //跳转登录
goLogin() { goLogin() {
this.$router.push({ this.CommonJump('login')
name: 'login',
query: {
blank: "y"
}
});
}, },
}, },
mounted() { mounted() {
...@@ -623,4 +625,5 @@ ...@@ -623,4 +625,5 @@
} }
} }
}; };
</script> </script>
<style> <style>
.menuDiv{ .menuDiv {
padding:20px; padding: 20px;
} }
.menuDiv .query-box { .menuDiv .query-box {
width: 100%; width: 100%;
padding: 0 0 20px; padding: 0 0 20px;
...@@ -9,6 +10,7 @@ ...@@ -9,6 +10,7 @@
position: relative; position: relative;
text-align: right; text-align: right;
} }
.menuDiv .normalBtn { .menuDiv .normalBtn {
color: #fff; color: #fff;
padding: 0 15px; padding: 0 15px;
...@@ -20,6 +22,7 @@ ...@@ -20,6 +22,7 @@
margin-left: 10px; margin-left: 10px;
outline: none; outline: none;
} }
</style> </style>
<template> <template>
<div class="menuDiv"> <div class="menuDiv">
...@@ -44,14 +47,8 @@ ...@@ -44,14 +47,8 @@
<td>正常</td> <td>正常</td>
</tr> </tr>
</table> </table>
<el-pagination background <el-pagination background @current-change="handleCurrentChange" :current-page.sync="currentPage"
@current-change="handleCurrentChange" v-if="dataList.length>0" layout="total,prev, pager, next, jumper" :page-size="msg.pageSize" :total="total">
:current-page.sync="currentPage"
v-if="dataList.length>0"
layout="total,prev, pager, next, jumper"
:page-size="msg.pageSize"
:total="total"
>
</el-pagination> </el-pagination>
<!-- 修改密码 --> <!-- 修改密码 -->
...@@ -64,7 +61,11 @@ ...@@ -64,7 +61,11 @@
<el-input type="text" style="width:234px" size="small" maxlength="25" v-model="addMsg.MenuUrl"></el-input> <el-input type="text" style="width:234px" size="small" maxlength="25" v-model="addMsg.MenuUrl"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="菜单等级" prop="MenuLevel"> <el-form-item label="菜单等级" prop="MenuLevel">
<el-input type="text" style="width:234px" size="small" maxlength="25" v-model="addMsg.MenuLevel"></el-input> <el-select style="width:234px;" size="small" v-model="addMsg.MenuLevel">
<el-option label="一级" :key="1" :value="1"></el-option>
<el-option label="二级" :key="2" :value="2"></el-option>
<el-option label="三级" :key="3" :value="3"></el-option>
</el-select>
</el-form-item> </el-form-item>
<el-form-item label="父级菜单编号" prop="ParentId"> <el-form-item label="父级菜单编号" prop="ParentId">
<el-select style="width:234px;" size="small" v-model="addMsg.ParentId"> <el-select style="width:234px;" size="small" v-model="addMsg.ParentId">
...@@ -88,24 +89,24 @@ ...@@ -88,24 +89,24 @@
export default { export default {
data() { data() {
return { return {
loading:false, loading: false,
menuDialog:false, menuDialog: false,
currentPage: 1, currentPage: 1,
total: 0, total: 0,
msg: { msg: {
pageIndex:1, pageIndex: 1,
pageSize:20 pageSize: 20
}, },
dataList:[], dataList: [],
addMsg:{ addMsg: {
MenuName:'', MenuName: '',
MenuUrl:'', MenuUrl: '',
MenuLevel:0, MenuLevel: 0,
ParentId:0, ParentId: 0,
IconClass:'', IconClass: '',
Status:0, Status: 0,
}, },
menurules:{ menurules: {
} }
}; };
...@@ -119,15 +120,14 @@ ...@@ -119,15 +120,14 @@
this.getList(); this.getList();
}, },
//获取数据 //获取数据
getList(){ getList() {
}, },
addMenu(){ addMenu() {
} }
}, },
mounted() { mounted() {
this.getList();
} }
}; };
......
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