路由更改

This commit is contained in:
宋伟佳
2021-05-26 15:17:59 +08:00
parent 197a52df12
commit b0adad42ce
5 changed files with 13 additions and 13 deletions
+2 -2
View File
@@ -553,7 +553,7 @@ tr.el-table__row{
height: 44px;
}
.el-table--border td, .el-table--border th, .el-table__body-wrapper .el-table--border.is-scrolling-left~.el-table__fixed{
border-right: 1px dashed rgba(209, 209, 209, 1);
border-right: 1px solid rgba(209, 209, 209, 1);
}
.el-table td, .el-table th.is-leaf{
border-bottom: 1px solid rgba(209, 209, 209, 1);
@@ -569,7 +569,7 @@ tr.el-table__row{
input.el-input__inner{
display: inline-block;
width: 180px;
colro: #999;
color: #999;
height: 30px;
line-height: 30px;
font-family: MicrosoftYaHei,微软雅黑;
@@ -98,7 +98,7 @@ export default {
.primary_button {
width: 8.2vw;
height: 40px;
background-color: #007dfe;
background-color: #1885f5;
}
}
</style>
@@ -2,7 +2,7 @@
<template>
<div class="to-do-list">
<div>
<h3 class="task">待办任务</h3>
<span class="task">待办任务</span>
<span class="more">MORE</span>
</div>
<ul>
@@ -53,7 +53,7 @@ export default {
display: inline-block;
margin: 15px;
color: #FFFFFF;
font-size: 14px;
font-size: 16px;
}
.more {
float: right;
+4 -3
View File
@@ -58,6 +58,7 @@ export default {
} else if (this.password === '') {
this.$message.warning('密码不能为空')
} else {
// this.$router.push('/home1')
this.loginUser(this.username, this.password)
this.getEditPermission()
}
@@ -119,7 +120,7 @@ export default {
if (hasHomeMenu) {
this.setMenu(JSON.stringify(menuList)).then(res => {
this.loading = false
this.$router.push('/home')
this.$router.push('/home1')
}, e => {
this.loading = false
this.$message.warning('未获取到菜单')
@@ -160,7 +161,7 @@ export default {
})
if (hasHomeMenu) {
this.setMenu(JSON.stringify(menuList)).then(res => {
this.$router.push('/home')
this.$router.push('/home1')
}, e => {
this.$message.warning('未获取到菜单')
})
@@ -203,7 +204,7 @@ export default {
})
if (hasHomeMenu) {
this.setMenu(JSON.stringify(menuList)).then(res => {
this.$router.push('/home')
this.$router.push('/home1')
}, e => {
this.$message.warning('未获取到菜单')
})
@@ -62,18 +62,17 @@
<el-form-item class="search-item btn-box">
<el-button
:loading="searching"
icon="el-icon-search"
type="primary"
size="mini"
class="common-button-primary"
@click="searchBtnClick(standCommonlySearch)">
搜索
</el-button>
<el-button
size="mini"
class="common-button-default"
icon="el-icon-refresh-left"
@click="clearAllSearch('standCommonlySearch')"></el-button>
<el-button size="mini" type="primary" class="common-button-primary" @click="selectMoreBtn"><i class="iconfont">&#xe7a5;</i>高级查询</el-button>
@click="clearAllSearch('standCommonlySearch')">清空</el-button>
<el-button size="mini" type="primary" class="common-button-primary" @click="selectMoreBtn"><i class="iconfont">&#xe7a5;</i>高级检索</el-button>
</el-form-item>
</el-form>
</div>
@@ -134,7 +133,7 @@
height="100%"
:row-class-name="dragRowClassName"
@sort-change="sortChange"
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
:header-cell-style="{background: '#f5f1f1', color: '#333333', fontSize: '16px',
fontWeight: 'bold', height: '48px'}"
@selection-change="standSelectChange">
<el-table-column