Commit fe9eaafb authored by youjie's avatar youjie

优化 car 的菜单显示

parent 283876ca
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
</style> </style>
<template> <template>
<div class="flexDiv"> <div class="flexDiv">
<div class="secondMenu" :class="{'big':!isCollapse}"> <div v-if="typeSystem==0" class="secondMenu" :class="{'big':!isCollapse}">
<div class="secondMenu_l"> <div class="secondMenu_l">
<div class="menuItem"> <div class="menuItem">
<el-menu default-active="1" :background-color="!isRed?'#282733':'#FBFBFB'" <el-menu default-active="1" :background-color="!isRed?'#282733':'#FBFBFB'"
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
</div> </div>
</div> </div>
<div class="flexParent" v-if="openMode==1"> <div class="flexParent" v-if="openMode==1">
<div class="nav-tabs-box" @contextmenu.prevent="showRightMenu" :style="{width:`${navWidth}px`}"> <div v-if="typeSystem==0" class="nav-tabs-box" @contextmenu.prevent="showRightMenu" :style="{width:`${navWidth}px`}">
<el-tabs v-if='tabs && tabs.length>0' v-model="currentTabName" style="margin-left: 120px;" <el-tabs v-if='tabs && tabs.length>0' v-model="currentTabName" style="margin-left: 120px;"
:closable="tabs.length>1" type="card" @edit="handleTabsEdit"> :closable="tabs.length>1" type="card" @edit="handleTabsEdit">
<el-tab-pane :key="i" v-for="(item,i) in tabs" :label="item.title" :name="item.name+'_'+i"> <el-tab-pane :key="i" v-for="(item,i) in tabs" :label="item.title" :name="item.name+'_'+i">
...@@ -81,6 +81,7 @@ ...@@ -81,6 +81,7 @@
export default { export default {
data() { data() {
return { return {
typeSystem: 0,
msg: { msg: {
ParentId: "", ParentId: "",
MenuStatus: "0", MenuStatus: "0",
...@@ -992,7 +993,7 @@ ...@@ -992,7 +993,7 @@
window.localStorage.navTabs = JSON.stringify(this.tabs) window.localStorage.navTabs = JSON.stringify(this.tabs)
}, },
created() { created() {
this.typeSystem = localStorage.typeSystem
} }
}; };
......
...@@ -2,7 +2,10 @@ ...@@ -2,7 +2,10 @@
.page_fnDm { .page_fnDm {
background-color: white; background-color: white;
} }
.page_fnDm.active{
position: relative;
top: -30px
}
.query-box { .query-box {
overflow: inherit; overflow: inherit;
} }
...@@ -676,7 +679,10 @@ ...@@ -676,7 +679,10 @@
</style> </style>
<template> <template>
<div class="page_fnDm" @keyup.enter="resetPageIndex(),getPageList()"> <div>
<div class="page_fnDm page_RecPayQuer"
:class="[typeSystem==1?'active':'']" @keyup.enter="resetPageIndex(),getPageList()">
<ul class="_nav clearfix"> <ul class="_nav clearfix">
<!-- <li :class="active==5?'_active':''" @click="active=5,msg.Conditon=5,getPageList()">全部</li> --> <!-- <li :class="active==5?'_active':''" @click="active=5,msg.Conditon=5,getPageList()">全部</li> -->
<li :class="active==1?'_active':''" @click="getActive(1,1,-1)">{{$t('ios.wfqide')}}</li> <li :class="active==1?'_active':''" @click="getActive(1,1,-1)">{{$t('ios.wfqide')}}</li>
...@@ -1577,6 +1583,8 @@ ...@@ -1577,6 +1583,8 @@
</div> </div>
</el-dialog> --> </el-dialog> -->
</div> </div>
</div>
</template> </template>
<script> <script>
import myBill from "./FinancialSubmodule/BillModule.vue"; import myBill from "./FinancialSubmodule/BillModule.vue";
...@@ -1792,10 +1800,12 @@ ...@@ -1792,10 +1800,12 @@
F_Update_CurrencyRate: false, F_Update_CurrencyRate: false,
costmodeHL: false, costmodeHL: false,
trabeListHL: [], //修改费率下拉数据 trabeListHL: [], //修改费率下拉数据
isJapanCommission: false isJapanCommission: false,
typeSystem: 0,
}; };
}, },
created() { created() {
this.typeSystem = localStorage.typeSystem
this.isTerminate = -1 this.isTerminate = -1
let userinfo = this.getLocalStorage(); let userinfo = this.getLocalStorage();
let ActionMenuCode = userinfo.ActionMenuCode; let ActionMenuCode = userinfo.ActionMenuCode;
......
...@@ -1840,7 +1840,7 @@ ...@@ -1840,7 +1840,7 @@
this.GetCarList(path) this.GetCarList(path)
} else { } else {
if(this.GetDetail.OtherType == 80){ if(this.GetDetail.OtherType == 80){
if(this.typeSystem>0){ if(this.typeSystem==1){
let href = this.domainManager().CarUrl let href = this.domainManager().CarUrl
window.parent.postMessage({ window.parent.postMessage({
event_id: 'CarDealerOrder', event_id: 'CarDealerOrder',
...@@ -2861,14 +2861,8 @@ ...@@ -2861,14 +2861,8 @@
} }
}, },
mounted() { mounted() {
if(localStorage.crmuserInfo){ this.typeSystem = localStorage.typeSystem
let crmuserInfo = JSON.parse(localStorage.crmuserInfo)
if(crmuserInfo
&&crmuserInfo.parameter
&&crmuserInfo.parameter.typeSystem) {
this.typeSystem = crmuserInfo.parameter.typeSystem
}
}
// document.onkeydown = this.KeyDown // document.onkeydown = this.KeyDown
// document.onkeyup = this.KeyUp // document.onkeyup = this.KeyUp
// document.oncontextmenu = function(){return false;} // document.oncontextmenu = function(){return false;}
......
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
<template> <template>
<div style="position: relative;" class="myIndexStyle" ref="firstParent"> <div style="position: relative;" class="myIndexStyle" ref="firstParent">
<div class="nav" v-if="!typeSystem"> <div class="nav" v-if="typeSystem==0">
<div class="nav-left"> <div class="nav-left">
<img class="GroupPic" v-if="userInfo.GroupPic!='' " :src="userInfo.GroupPic" :onerror='defaultHeadImg' /> <img class="GroupPic" v-if="userInfo.GroupPic!='' " :src="userInfo.GroupPic" :onerror='defaultHeadImg' />
</div> </div>
...@@ -957,7 +957,7 @@ ...@@ -957,7 +957,7 @@
<source src="/static/music/msgMusic.mp3" type="audio/mpeg"> <source src="/static/music/msgMusic.mp3" type="audio/mpeg">
</audio> </audio>
</div> </div>
<div class="temDivs" :style="{'top':!typeSystem?'58px':'0px'}"> <div class="temDivs" :style="{'top':typeSystem==0?'58px':'58px'}">
<router-view></router-view> <router-view></router-view>
</div> </div>
...@@ -1753,14 +1753,7 @@ ...@@ -1753,14 +1753,7 @@
}, },
}, },
mounted() { mounted() {
if(localStorage.crmuserInfo){ this.typeSystem = localStorage.typeSystem
let crmuserInfo = JSON.parse(localStorage.crmuserInfo)
if(crmuserInfo
&&crmuserInfo.parameter
&&crmuserInfo.parameter.typeSystem) {
this.typeSystem = crmuserInfo.parameter.typeSystem
}
}
let that = this; let that = this;
this.qjGroupId = this.QjGroupId(); this.qjGroupId = this.QjGroupId();
......
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