Commit fe9eaafb authored by youjie's avatar youjie

优化 car 的菜单显示

parent 283876ca
......@@ -4,7 +4,7 @@
</style>
<template>
<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="menuItem">
<el-menu default-active="1" :background-color="!isRed?'#282733':'#FBFBFB'"
......@@ -31,7 +31,7 @@
</div>
</div>
<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;"
: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">
......@@ -81,6 +81,7 @@
export default {
data() {
return {
typeSystem: 0,
msg: {
ParentId: "",
MenuStatus: "0",
......@@ -992,7 +993,7 @@
window.localStorage.navTabs = JSON.stringify(this.tabs)
},
created() {
this.typeSystem = localStorage.typeSystem
}
};
......
......@@ -2,7 +2,10 @@
.page_fnDm {
background-color: white;
}
.page_fnDm.active{
position: relative;
top: -30px
}
.query-box {
overflow: inherit;
}
......@@ -676,7 +679,10 @@
</style>
<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">
<!-- <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>
......@@ -1577,6 +1583,8 @@
</div>
</el-dialog> -->
</div>
</div>
</template>
<script>
import myBill from "./FinancialSubmodule/BillModule.vue";
......@@ -1792,10 +1800,12 @@
F_Update_CurrencyRate: false,
costmodeHL: false,
trabeListHL: [], //修改费率下拉数据
isJapanCommission: false
isJapanCommission: false,
typeSystem: 0,
};
},
created() {
this.typeSystem = localStorage.typeSystem
this.isTerminate = -1
let userinfo = this.getLocalStorage();
let ActionMenuCode = userinfo.ActionMenuCode;
......
......@@ -1840,7 +1840,7 @@
this.GetCarList(path)
} else {
if(this.GetDetail.OtherType == 80){
if(this.typeSystem>0){
if(this.typeSystem==1){
let href = this.domainManager().CarUrl
window.parent.postMessage({
event_id: 'CarDealerOrder',
......@@ -2861,14 +2861,8 @@
}
},
mounted() {
if(localStorage.crmuserInfo){
let crmuserInfo = JSON.parse(localStorage.crmuserInfo)
if(crmuserInfo
&&crmuserInfo.parameter
&&crmuserInfo.parameter.typeSystem) {
this.typeSystem = crmuserInfo.parameter.typeSystem
}
}
this.typeSystem = localStorage.typeSystem
// document.onkeydown = this.KeyDown
// document.onkeyup = this.KeyUp
// document.oncontextmenu = function(){return false;}
......
......@@ -65,7 +65,7 @@
<template>
<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">
<img class="GroupPic" v-if="userInfo.GroupPic!='' " :src="userInfo.GroupPic" :onerror='defaultHeadImg' />
</div>
......@@ -957,7 +957,7 @@
<source src="/static/music/msgMusic.mp3" type="audio/mpeg">
</audio>
</div>
<div class="temDivs" :style="{'top':!typeSystem?'58px':'0px'}">
<div class="temDivs" :style="{'top':typeSystem==0?'58px':'58px'}">
<router-view></router-view>
</div>
......@@ -1753,14 +1753,7 @@
},
},
mounted() {
if(localStorage.crmuserInfo){
let crmuserInfo = JSON.parse(localStorage.crmuserInfo)
if(crmuserInfo
&&crmuserInfo.parameter
&&crmuserInfo.parameter.typeSystem) {
this.typeSystem = crmuserInfo.parameter.typeSystem
}
}
this.typeSystem = localStorage.typeSystem
let that = this;
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