Commit 9978c2e8 by 无尘

fix: 修改BUG

parent 668602e2
......@@ -4,16 +4,16 @@
* @Author: 无尘
* @Date: 2019-10-10 17:21:32
* @LastEditors: 无尘
* @LastEditTime: 2020-08-07 15:50:19
* @LastEditTime: 2020-08-07 16:25:22
-->
<template>
<div class="nav-header">
<!-- logo -->
<div class="nav-header-logo fl cursor-pointer" :class="{ moveleft: isCollapse, moveright: !isCollapse }" @click="toIndex"><span class="pro-name">好办管理平台</span></div>
<div class="nav-header-item fl">
<template v-for="(menuitem, index) in menuHead">
<a :key="index" :class="['itemlink menu-mall menu-font-16']" @click="changeRouter(menuitem.url)">
<span :class="['inline-block bottom', menuitem.url.indexOf(pathName) != -1 ? 'current-module' : '']">{{ menuitem.rightName }}</span>
<template v-for="(menuItem, index) in menuHead">
<a :key="index" :class="['itemlink menu-mall menu-font-16']" @click="changeRouter(menuItem.menuUrl)">
<span :class="['inline-block bottom', menuItem.menuUrl.indexOf(pathName) != -1 ? 'current-module' : '']">{{ menuItem.menuName }}</span>
</a>
</template>
<!-- 最右侧用户信息 -->
......@@ -70,25 +70,31 @@ export default {
project: 'office'
}, */
{
menuCode: null,
rightName: '通讯录',
url: '/contactsList',
menuCode: 'contactsList',
menuName: '通讯录',
menuUrl: '/contactsList',
parentCode: null,
project: 'office'
project: 'office',
target: 0,
isShow: 1
},
{
menuCode: null,
rightName: '审核中心',
url: '/unreview?/reviewed/reviewSet',
menuName: '审核中心',
menuUrl: '/unreview?/reviewed/reviewSet',
parentCode: null,
project: 'office'
project: 'office',
target: 0,
isShow: 1
},
{
menuCode: null,
rightName: '企业设置',
url: '/enterpriseSet?/adminList',
menuName: '企业设置',
menuUrl: '/enterpriseSet?/adminList',
parentCode: null,
project: 'office'
project: 'office',
target: 0,
isShow: 1
}
],
routePathName: '', // 当前路由值
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2018-10-10 14:44:45
* @LastEditors: 无尘
* @LastEditTime: 2020-08-07 15:29:14
* @LastEditTime: 2020-08-07 16:23:02
-->
<template>
<div class="unreview-wrap common-set-wrap">
......@@ -336,9 +336,12 @@ export default {
if (res.code == '0000') {
showMsg.showmsg('操作成功', 'success');
that.approveVisible = false;
that.currentPage = 1;
that.getTableList();
that.$forceUpdate();
}else {
that.currentPage = 1;
that.getTableList();
that.$message({
message: res.message || '未知错误',
type: 'warning'
......@@ -467,12 +470,15 @@ export default {
showMsg.showmsg('操作成功', 'success');
that.refuseVisible = false;
that.$refs['ruleForm'].resetFields();
that.currentPage = 1;
that.getTableList();
}else {
that.$message({
message: res.message || '未知错误',
type: 'warning'
});
that.currentPage = 1;
that.getTableList();
}
})
.catch(function(error) {
......
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