Commit 773fe018 authored by 黄奎's avatar 黄奎

1

parent 00b24efa
...@@ -21,19 +21,50 @@ ...@@ -21,19 +21,50 @@
</el-table-column> </el-table-column>
<el-table-column prop="PageName" label="标题"> <el-table-column prop="PageName" label="标题">
</el-table-column> </el-table-column>
<el-table-column label="导航与模板" prop="DetailsList" width="500"> <el-table-column label="导航与模板" prop="DetailsList" width="400">
<template slot-scope="scope"> <template slot-scope="scope">
<div class="templat-list"> <div class="templat-list">
<template v-if="scope.row.DetailsList && scope.row.DetailsList.length>0" <template v-if="scope.row.DetailsList && scope.row.DetailsList.length>0"
v-for="(subItem,subIndex) in scope.row.DetailsList"> v-for="(subItem,subIndex) in scope.row.DetailsList">
<div class="templat-item" :key="subIndex"> <div class="templat-item" :key="subIndex">
<div>{{subItem.NavName}}</div> <div style="color: rgb(153, 153, 153);">
<div style="color: rgb(153, 153, 153);">{{subItem.TemplateShowName}}</div> <template v-if="subItem.NavName&&subItem.NavName!=''">{{subItem.NavName}}</template>
{{subItem.TemplateShowName}}</div>
</div> </div>
</template> </template>
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="IsShowBottomTabBar" label="导航条" width="100">
<template slot-scope="scope">
<template v-if="scope.row.IsShowNav==1">
显示
</template>
<template v-else>
<font style="color:red;">不显示</font>
</template>
</template>
</el-table-column>
<el-table-column prop="IsShowBottomTabBar" label="底部导航" width="100">
<template slot-scope="scope">
<template v-if="scope.row.IsShowBottomTabBar==1">
显示
</template>
<template v-else>
<font style="color:red;">不显示</font>
</template>
</template>
</el-table-column>
<el-table-column prop="IsNoShowTitle" label="标题" width="100">
<template slot-scope="scope">
<template v-if="scope.row.IsNoShowTitle==0">
显示
</template>
<template v-else>
<font style="color:red;">不显示</font>
</template>
</template>
</el-table-column>
<el-table-column prop="IsHome" label="设为首页" width="150"> <el-table-column prop="IsHome" label="设为首页" width="150">
<template slot-scope="scope"> <template slot-scope="scope">
<el-switch v-model="scope.row.IsHome" active-color="#409EFF" :active-value="1" :inactive-value="0" <el-switch v-model="scope.row.IsHome" active-color="#409EFF" :active-value="1" :inactive-value="0"
...@@ -48,6 +79,7 @@ ...@@ -48,6 +79,7 @@
</el-switch> </el-switch>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="IsUse" label="禁用/启用" width="120"> <el-table-column prop="IsUse" label="禁用/启用" width="120">
<template slot-scope="scope"> <template slot-scope="scope">
<el-switch v-model="scope.row.IsUse" active-color="#409EFF" :active-value="1" :inactive-value="0" <el-switch v-model="scope.row.IsUse" active-color="#409EFF" :active-value="1" :inactive-value="0"
...@@ -93,6 +125,10 @@ ...@@ -93,6 +125,10 @@
:inactive-value="0"> :inactive-value="0">
</el-switch> </el-switch>
</el-form-item> </el-form-item>
<el-form-item label="不显示标题">
<el-switch v-model="addMsg.IsNoShowTitle" active-color="#409EFF" :active-value="1" :inactive-value="0">
</el-switch>
</el-form-item>
<el-form-item label="模板和导航"> <el-form-item label="模板和导航">
<div style="max-width:480px;"> <div style="max-width:480px;">
<div class="Custom_item" v-for="(item,index) in addMsg.DetailsList" :key="index"> <div class="Custom_item" v-for="(item,index) in addMsg.DetailsList" :key="index">
...@@ -159,7 +195,8 @@ ...@@ -159,7 +195,8 @@
IsHome: 0, IsHome: 0,
IsUse: 1, IsUse: 1,
IsShowNav: 0, IsShowNav: 0,
IsShowBottomTabBar:1,//是否显示底部导航 IsShowBottomTabBar: 1, //是否显示底部导航
IsNoShowTitle: 0, //是否不显示标题
DetailsList: [] DetailsList: []
}, },
total: 0, total: 0,
...@@ -260,7 +297,8 @@ ...@@ -260,7 +297,8 @@
this.addMsg.IsShowNav = jsonData.IsShowNav; this.addMsg.IsShowNav = jsonData.IsShowNav;
this.addMsg.IsHome = jsonData.IsHome; this.addMsg.IsHome = jsonData.IsHome;
this.addMsg.DetailsList = jsonData.DetailsList; this.addMsg.DetailsList = jsonData.DetailsList;
this.addMsg.IsShowBottomTabBar=jsonData.IsShowBottomTabBar; this.addMsg.IsShowBottomTabBar = jsonData.IsShowBottomTabBar;
this.addMsg.IsNoShowTitle = jsonData.IsNoShowTitle;
this.CustomIsShowAdd = false; this.CustomIsShowAdd = false;
} else { } else {
this.Info(res.data.message); this.Info(res.data.message);
...@@ -340,7 +378,7 @@ ...@@ -340,7 +378,7 @@
} }
.CustomPage .templat-item div { .CustomPage .templat-item div {
width: 50%; width: 90%;
padding-left: 20px; padding-left: 20px;
} }
......
...@@ -433,7 +433,6 @@ ...@@ -433,7 +433,6 @@
this.getData(); this.getData();
} }
this.getTypeEnumList(); this.getTypeEnumList();
this.GetAuthenticationCategoryEnumList();
}, },
methods: { methods: {
//获取类型 //获取类型
......
<style> <style>
.offlineIndex { .offlineIndex {
height: 100%; height: 100%;
display: flex; display: flex;
-webkit-box-orient: horizontal; -webkit-box-orient: horizontal;
-ms-flex-direction: row; -ms-flex-direction: row;
flex-direction: row; flex-direction: row;
-webkit-box-flex: 1; -webkit-box-flex: 1;
-ms-flex: 1; -ms-flex: 1;
flex: 1; flex: 1;
-ms-flex-preferred-size: auto; -ms-flex-preferred-size: auto;
flex-basis: auto; flex-basis: auto;
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;
min-width: 0; min-width: 0;
font-size: 14px; font-size: 14px;
} }
.offlineIndex .mainLeftMenu { .offlineIndex .mainLeftMenu {
position: relative; position: relative;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
color: #fff; color: #fff;
} }
.offlineIndex .leftMenu1 { .offlineIndex .leftMenu1 {
background: #444444; background: #444444;
cursor: pointer; cursor: pointer;
width: 200px; width: 200px;
height: 100%; height: 100%;
overflow-y: auto; overflow-y: auto;
-webkit-user-select: none; -webkit-user-select: none;
-moz-user-select: none; -moz-user-select: none;
-ms-user-select: none; -ms-user-select: none;
user-select: none; user-select: none;
} }
.offlineIndex .asideInner { .offlineIndex .asideInner {
background: rgba(0, 0, 0, 0.15); background: rgba(0, 0, 0, 0.15);
padding: 6px 6px; padding: 6px 6px;
width: 100%; width: 100%;
border-radius: 3px; border-radius: 3px;
font-weight: bold; font-weight: bold;
} }
.offlineIndex .F_Logo { .offlineIndex .F_Logo {
height: 60px; height: 60px;
background: #464d54; background: #464d54;
color: #f2f2f2; color: #f2f2f2;
cursor: pointer; cursor: pointer;
font-weight: bold; font-weight: bold;
text-align: center; text-align: center;
padding: 0 15px; padding: 0 15px;
display: flex; display: flex;
align-items: center; align-items: center;
} }
.offlineIndex .mainRightContent { .offlineIndex .mainRightContent {
width: 100%; width: 100%;
height: 100%; height: 100%;
background-color: #f3f3f3; background-color: #f3f3f3;
min-width: 0; min-width: 0;
} }
.offlineIndex .mainRightTop { .offlineIndex .mainRightTop {
width: 100%; width: 100%;
height: 60px; height: 60px;
background: #fff; background: #fff;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
color: #909399; color: #909399;
} }
.offlineIndex .mainRightLeft { .offlineIndex .mainRightLeft {
width: 110px; width: 110px;
height: 60px; height: 60px;
line-height: 62px; line-height: 62px;
text-align: center; text-align: center;
margin-left: 30px; margin-left: 30px;
cursor: pointer; cursor: pointer;
position: relative; position: relative;
top: -2px; top: -2px;
} }
.offlineIndex .marinRightList { .offlineIndex .marinRightList {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
align-items: center; align-items: center;
width: 300px; width: 300px;
float: right; float: right;
} }
.offlineIndex .marinRightList ul { .offlineIndex .marinRightList ul {
display: flex; display: flex;
width: 100%; width: 100%;
justify-content: space-around; justify-content: space-around;
} }
.offlineIndex .marinRightList ul li { .offlineIndex .marinRightList ul li {
display: block; display: block;
list-style-type: none; list-style-type: none;
cursor: pointer; cursor: pointer;
color: #909399; color: #909399;
outline: none; outline: none;
border: none; border: none;
} }
.offlineIndex .main_routerPage { .offlineIndex .main_routerPage {
padding: 20px; padding: 20px;
overflow-y: scroll; overflow-y: scroll;
} }
.offlineIndex .FsettingUU { .offlineIndex .FsettingUU {
position: fixed; position: fixed;
width: 200px; width: 200px;
height: 100%; height: 100%;
position: fixed; position: fixed;
top: 60px; top: 60px;
left: 0; left: 0;
overflow: auto; overflow: auto;
z-index: 5; z-index: 5;
background-color: rgb(84, 92, 100); background-color: rgb(84, 92, 100);
} }
.offlineIndex .FsettingUU .menu_item { .offlineIndex .FsettingUU .menu_item {
font-size: 14px; font-size: 14px;
color: #303133; color: #303133;
padding: 0 20px; padding: 0 20px;
cursor: pointer; cursor: pointer;
-webkit-transition: border-color 0.3s, background-color 0.3s, color 0.3s; -webkit-transition: border-color 0.3s, background-color 0.3s, color 0.3s;
transition: border-color 0.3s, background-color 0.3s, color 0.3s; transition: border-color 0.3s, background-color 0.3s, color 0.3s;
box-sizing: border-box; box-sizing: border-box;
height: 56px; height: 56px;
line-height: 56px; line-height: 56px;
list-style: none; list-style: none;
white-space: nowrap; white-space: nowrap;
color: #fff; color: #fff;
display: flex; display: flex;
align-items: center; align-items: center;
} }
.offlineIndex .FsettingUU .menu_item i { .offlineIndex .FsettingUU .menu_item i {
margin-right: 5px; margin-right: 5px;
width: 24px; width: 24px;
text-align: center; text-align: center;
font-size: 18px; font-size: 18px;
vertical-align: middle; vertical-align: middle;
color: #909399; color: #909399;
} }
.offlineIndex .menu_item:hover { .offlineIndex .menu_item:hover {
background-color: rgba(67, 74, 80, 0); background-color: rgba(67, 74, 80, 0);
} }
.offlineIndex .F_Logo:hover { .offlineIndex .F_Logo:hover {
background-color: #30353a; background-color: #30353a;
color: #fff; color: #fff;
} }
.offlineIndex .Fchecked { .offlineIndex .Fchecked {
color: rgb(255, 208, 75) !important; color: rgb(255, 208, 75) !important;
} }
.offlineIndex .Fchecked i {
color: rgb(255, 208, 75) !important;
}
.offlineIndex .Fchecked i {
color: rgb(255, 208, 75) !important;
}
</style> </style>
<template> <template>
<div class="offlineIndex"> <div class="offlineIndex">
...@@ -174,79 +175,51 @@ ...@@ -174,79 +175,51 @@
{{ currentUser.MallName }} {{ currentUser.MallName }}
</div> </div>
</div> </div>
<ul class="FsettingUU" v-if="mall_userInfo.TenantId!=30"> <ul class="FsettingUU" v-if="currentUser.TenantId==18">
<!-- <li class="menu_item" :class="{'Fchecked':isChecked=='/companyList'}" <!-- <li class="menu_item" :class="{'Fchecked':isChecked=='/companyList'}"
@click="isChecked='/companyList',CommonJump('companyList')"> @click="isChecked='/companyList',CommonJump('companyList')">
<i class="el-icon-menu"></i><span>公司资料</span> <i class="el-icon-menu"></i><span>公司资料</span>
</li> --> </li> -->
<li <li class="menu_item" :class="{ Fchecked: isChecked == '/contactus' }"
class="menu_item" @click="(isChecked = '/contactus'), CommonJump('contactus')">
:class="{ Fchecked: isChecked == '/contactus' }"
@click="(isChecked = '/contactus'), CommonJump('contactus')"
>
<i class="el-icon-menu"></i><span>联系我们</span> <i class="el-icon-menu"></i><span>联系我们</span>
</li> </li>
<li <li class="menu_item" :class="{ Fchecked: isChecked == '/brandClassification' }" @click="
class="menu_item"
:class="{ Fchecked: isChecked == '/brandClassification' }"
@click="
(isChecked = '/brandClassification'), (isChecked = '/brandClassification'),
CommonJump('brandClassification') CommonJump('brandClassification')
" ">
>
<i class="el-icon-menu"></i><span>分类管理</span> <i class="el-icon-menu"></i><span>分类管理</span>
</li> </li>
<li <li class="menu_item" :class="{ Fchecked: isChecked == '/VehicleManagement' }" @click="
class="menu_item"
:class="{ Fchecked: isChecked == '/VehicleManagement' }"
@click="
(isChecked = '/VehicleManagement'), (isChecked = '/VehicleManagement'),
CommonJump('VehicleManagement') CommonJump('VehicleManagement')
" ">
>
<i class="el-icon-menu"></i><span>载体管理</span> <i class="el-icon-menu"></i><span>载体管理</span>
</li> </li>
<li <li class="menu_item" :class="{ Fchecked: isChecked == '/brandManagement' }" @click="
class="menu_item"
:class="{ Fchecked: isChecked == '/brandManagement' }"
@click="
(isChecked = '/brandManagement'), CommonJump('brandManagement') (isChecked = '/brandManagement'), CommonJump('brandManagement')
" ">
>
<i class="el-icon-menu"></i><span>品牌管理</span> <i class="el-icon-menu"></i><span>品牌管理</span>
</li> </li>
<li <li class="menu_item" :class="{ Fchecked: isChecked == '/activityType' }"
class="menu_item" @click="(isChecked = '/activityType'), CommonJump('activityType')">
:class="{ Fchecked: isChecked == '/activityType' }"
@click="(isChecked = '/activityType'), CommonJump('activityType')"
>
<i class="el-icon-menu"></i><span>活动类型管理</span> <i class="el-icon-menu"></i><span>活动类型管理</span>
</li> </li>
<li <li class="menu_item" :class="{ Fchecked: isChecked == '/tradeactivityList' }" @click="
class="menu_item"
:class="{ Fchecked: isChecked == '/tradeactivityList' }"
@click="
(isChecked = '/tradeactivityList'), (isChecked = '/tradeactivityList'),
CommonJump('tradeactivityList') CommonJump('tradeactivityList')
" ">
>
<i class="el-icon-menu"></i><span>活动列表</span> <i class="el-icon-menu"></i><span>活动列表</span>
</li> </li>
<li <li class="menu_item" :class="{ Fchecked: isChecked == '/newsList' }"
class="menu_item" @click="(isChecked = '/newsList'), CommonJump('newsList')">
:class="{ Fchecked: isChecked == '/newsList' }"
@click="(isChecked = '/newsList'), CommonJump('newsList')"
>
<i class="el-icon-menu"></i><span>新闻列表</span> <i class="el-icon-menu"></i><span>新闻列表</span>
</li> </li>
<li <li class="menu_item" :class="{ Fchecked: isChecked == '/consultList' }"
class="menu_item" @click="(isChecked = '/consultList'), CommonJump('consultList')">
:class="{ Fchecked: isChecked == '/consultList' }"
@click="(isChecked = '/consultList'), CommonJump('consultList')"
>
<i class="el-icon-menu"></i><span>咨询管理</span> <i class="el-icon-menu"></i><span>咨询管理</span>
</li> </li>
<!-- <li class="menu_item" :class="{'Fchecked':isChecked=='/investmentList'}" <!-- <li class="menu_item" :class="{'Fchecked':isChecked=='/investmentList'}"
...@@ -258,199 +231,113 @@ ...@@ -258,199 +231,113 @@
<i class="el-icon-menu"></i><span>采购管理</span> <i class="el-icon-menu"></i><span>采购管理</span>
</li> --> </li> -->
<li <li class="menu_item" :class="{ Fchecked: isChecked == '/realAuthentication' }" @click="
class="menu_item"
:class="{ Fchecked: isChecked == '/realAuthentication' }"
@click="
(isChecked = '/realAuthentication'), (isChecked = '/realAuthentication'),
CommonJump('realAuthentication') CommonJump('realAuthentication')
" ">
>
<i class="el-icon-menu"></i><span>企业认证</span> <i class="el-icon-menu"></i><span>企业认证</span>
</li> </li>
<li <li class="menu_item" :class="{ Fchecked: isChecked == '/firstStoreApply' }" @click="
class="menu_item"
:class="{ Fchecked: isChecked == '/firstStoreApply' }"
@click="
(isChecked = '/firstStoreApply'), CommonJump('firstStoreApply') (isChecked = '/firstStoreApply'), CommonJump('firstStoreApply')
" ">
>
<i class="el-icon-menu"></i><span>首店申请</span> <i class="el-icon-menu"></i><span>首店申请</span>
</li> </li>
<li <li class="menu_item" :class="{ Fchecked: isChecked == '/wishList' }"
class="menu_item" @click="(isChecked = '/wishList'), CommonJump('wishList')">
:class="{ Fchecked: isChecked == '/wishList' }"
@click="(isChecked = '/wishList'), CommonJump('wishList')"
>
<i class="el-icon-menu"></i><span>心愿列表</span> <i class="el-icon-menu"></i><span>心愿列表</span>
</li> </li>
<li <li class="menu_item" :class="{ Fchecked: isChecked == '/billboardList' }"
class="menu_item" @click="(isChecked = '/billboardList'), CommonJump('billboardList')">
:class="{ Fchecked: isChecked == '/billboardList' }"
@click="(isChecked = '/billboardList'), CommonJump('billboardList')"
>
<i class="el-icon-menu"></i><span>榜单管理</span> <i class="el-icon-menu"></i><span>榜单管理</span>
</li> </li>
<li <li class="menu_item" :class="{ Fchecked: isChecked == 'registrationLogin' }" @click="
class="menu_item"
:class="{ Fchecked: isChecked == 'registrationLogin' }"
@click="
(isChecked = 'registrationLogin'), CommonJump('registrationLogin') (isChecked = 'registrationLogin'), CommonJump('registrationLogin')
" ">
>
<i class="el-icon-menu"></i><span>榜单报名表单</span> <i class="el-icon-menu"></i><span>榜单报名表单</span>
</li> </li>
<li <li class="menu_item" :class="{ Fchecked: isChecked == '/prizeMange' }"
class="menu_item" @click="(isChecked = '/prizeMange'), CommonJump('prizeMange')">
:class="{ Fchecked: isChecked == '/prizeMange' }"
@click="(isChecked = '/prizeMange'), CommonJump('prizeMange')"
>
<i class="el-icon-menu"></i><span>奖项管理</span> <i class="el-icon-menu"></i><span>奖项管理</span>
</li> </li>
</ul> </ul>
<!-- 宜宾 --> <!-- 宜宾商载通 -->
<ul class="FsettingUU" v-else> <ul class="FsettingUU" v-if="currentUser.TenantId==30">
<li <li class="menu_item" :class="{ Fchecked: isChecked == '/ybrandClassification' }" @click="
class="menu_item"
:class="{ Fchecked: isChecked == '/ybrandClassification' }"
@click="
(isChecked = '/ybrandClassification'), (isChecked = '/ybrandClassification'),
CommonJump('ybrandClassification') CommonJump('ybrandClassification')
" ">
>
<i class="el-icon-menu"></i><span>分类管理</span> <i class="el-icon-menu"></i><span>分类管理</span>
</li> </li>
<li <li class="menu_item" :class="{ Fchecked: isChecked == '/BuildingServiceManager' }" @click="
class="menu_item"
:class="{ Fchecked: isChecked == '/BuildingServiceManager' }"
@click="
(isChecked = '/BuildingServiceManager'), (isChecked = '/BuildingServiceManager'),
CommonJump('BuildingServiceManager') CommonJump('BuildingServiceManager')
" ">
>
<i class="el-icon-menu"></i><span>商业载体管理</span> <i class="el-icon-menu"></i><span>商业载体管理</span>
</li> </li>
<li <li class="menu_item" :class="{ Fchecked: isChecked == '/BuildingManager' }" @click="
class="menu_item"
:class="{ Fchecked: isChecked == '/BuildingManager' }"
@click="
(isChecked = '/BuildingManager'), (isChecked = '/BuildingManager'),
CommonJump('BuildingManager') CommonJump('BuildingManager')
" ">
>
<i class="el-icon-menu"></i><span>楼宇管理</span> <i class="el-icon-menu"></i><span>楼宇管理</span>
</li> </li>
<li <li class="menu_item" :class="{ Fchecked: isChecked == '/BrandManager' }" @click="
class="menu_item"
:class="{ Fchecked: isChecked == '/BrandManager' }"
@click="
(isChecked = '/BrandManager'), CommonJump('BrandManager') (isChecked = '/BrandManager'), CommonJump('BrandManager')
" ">
>
<i class="el-icon-menu"></i><span>消费品牌管理</span> <i class="el-icon-menu"></i><span>消费品牌管理</span>
</li> </li>
<li <li class="menu_item" :class="{ Fchecked: isChecked == '/EnterpriseManager' }" @click="
class="menu_item"
:class="{ Fchecked: isChecked == '/EnterpriseManager' }"
@click="
(isChecked = '/EnterpriseManager'), CommonJump('EnterpriseManager') (isChecked = '/EnterpriseManager'), CommonJump('EnterpriseManager')
" ">
>
<i class="el-icon-menu"></i><span>企业服务管理</span> <i class="el-icon-menu"></i><span>企业服务管理</span>
</li> </li>
<li <li class="menu_item" :class="{ Fchecked: isChecked == '/activityType' }"
class="menu_item" @click="(isChecked = '/activityType'), CommonJump('activityType')">
:class="{ Fchecked: isChecked == '/activityType' }"
@click="(isChecked = '/activityType'), CommonJump('activityType')"
>
<i class="el-icon-menu"></i><span>活动类型管理</span> <i class="el-icon-menu"></i><span>活动类型管理</span>
</li> </li>
<li <li class="menu_item" :class="{ Fchecked: isChecked == '/tradeactivityList' }" @click="
class="menu_item"
:class="{ Fchecked: isChecked == '/tradeactivityList' }"
@click="
(isChecked = '/tradeactivityList'), (isChecked = '/tradeactivityList'),
CommonJump('tradeactivityList') CommonJump('tradeactivityList')
" ">
>
<i class="el-icon-menu"></i><span>活动列表</span> <i class="el-icon-menu"></i><span>活动列表</span>
</li> </li>
<li <li class="menu_item" :class="{ Fchecked: isChecked == '/newsList' }"
class="menu_item" @click="(isChecked = '/newsList'), CommonJump('newsList')">
:class="{ Fchecked: isChecked == '/newsList' }"
@click="(isChecked = '/newsList'), CommonJump('newsList')"
>
<i class="el-icon-menu"></i><span>新闻列表</span> <i class="el-icon-menu"></i><span>新闻列表</span>
</li> </li>
<!-- <li class="menu_item" :class="{'Fchecked':isChecked=='/serviceTypeList'}"
@click="isChecked='/serviceTypeList',CommonJump('serviceTypeList')"> <li class="menu_item" :class="{ Fchecked: isChecked == '/consultList' }"
<i class="el-icon-menu"></i><span>服务类型列表</span> @click="(isChecked = '/consultList'), CommonJump('consultList')">
</li> -->
<li
class="menu_item"
:class="{ Fchecked: isChecked == '/consultList' }"
@click="(isChecked = '/consultList'), CommonJump('consultList')"
>
<i class="el-icon-menu"></i><span>咨询管理</span> <i class="el-icon-menu"></i><span>咨询管理</span>
</li> </li>
<!-- <li class="menu_item" :class="{'Fchecked':isChecked=='/investmentList'}"
@click="isChecked='/investmentList',CommonJump('investmentList')">
<i class="el-icon-menu"></i><span>招商管理</span>
</li>
<li class="menu_item" :class="{'Fchecked':isChecked=='/procurementList'}"
@click="isChecked='/procurementList',CommonJump('procurementList')">
<i class="el-icon-menu"></i><span>采购管理</span>
</li> -->
<li <li class="menu_item" :class="{ Fchecked: isChecked == '/realAuthentication' }" @click="
class="menu_item"
:class="{ Fchecked: isChecked == '/realAuthentication' }"
@click="
(isChecked = '/realAuthentication'), (isChecked = '/realAuthentication'),
CommonJump('realAuthentication') CommonJump('realAuthentication')
" ">
>
<i class="el-icon-menu"></i><span>企业认证</span> <i class="el-icon-menu"></i><span>企业认证</span>
</li> </li>
<li <li class="menu_item" :class="{ Fchecked: isChecked == '/firstStoreApply' }" @click="
class="menu_item"
:class="{ Fchecked: isChecked == '/firstStoreApply' }"
@click="
(isChecked = '/firstStoreApply'), CommonJump('firstStoreApply') (isChecked = '/firstStoreApply'), CommonJump('firstStoreApply')
" ">
>
<i class="el-icon-menu"></i><span>首店申请</span> <i class="el-icon-menu"></i><span>首店申请</span>
</li> </li>
<li <li class="menu_item" :class="{ Fchecked: isChecked == '/wishList' }"
class="menu_item" @click="(isChecked = '/wishList'), CommonJump('wishList')">
:class="{ Fchecked: isChecked == '/wishList' }"
@click="(isChecked = '/wishList'), CommonJump('wishList')"
>
<i class="el-icon-menu"></i><span>心愿列表</span> <i class="el-icon-menu"></i><span>心愿列表</span>
</li> </li>
<li <li class="menu_item" :class="{ Fchecked: isChecked == '/billboardList' }"
class="menu_item" @click="(isChecked = '/billboardList'), CommonJump('billboardList')">
:class="{ Fchecked: isChecked == '/billboardList' }"
@click="(isChecked = '/billboardList'), CommonJump('billboardList')"
>
<i class="el-icon-menu"></i><span>榜单管理</span> <i class="el-icon-menu"></i><span>榜单管理</span>
</li> </li>
<li <li class="menu_item" :class="{ Fchecked: isChecked == 'registrationLogin' }" @click="
class="menu_item"
:class="{ Fchecked: isChecked == 'registrationLogin' }"
@click="
(isChecked = 'registrationLogin'), CommonJump('registrationLogin') (isChecked = 'registrationLogin'), CommonJump('registrationLogin')
" ">
>
<i class="el-icon-menu"></i><span>榜单报名表单</span> <i class="el-icon-menu"></i><span>榜单报名表单</span>
</li> </li>
<li <li class="menu_item" :class="{ Fchecked: isChecked == '/prizeMange' }"
class="menu_item" @click="(isChecked = '/prizeMange'), CommonJump('prizeMange')">
:class="{ Fchecked: isChecked == '/prizeMange' }"
@click="(isChecked = '/prizeMange'), CommonJump('prizeMange')"
>
<i class="el-icon-menu"></i><span>奖项管理</span> <i class="el-icon-menu"></i><span>奖项管理</span>
</li> </li>
</ul> </ul>
...@@ -458,12 +345,13 @@ ...@@ -458,12 +345,13 @@
</div> </div>
<div class="mainRightContent"> <div class="mainRightContent">
<div class="mainRightTop"> <div class="mainRightTop">
<div class="mainRightLeft">贸易服务</div> <div class="mainRightLeft">
{{currentUser.MallName}}
</div>
<div class="marinRightList"> <div class="marinRightList">
<ul> <ul>
<li style="display: none">缓存</li> <li style="display: none">缓存</li>
<li style="display: none"> <li style="display: none" title="教程管理">
title="教程管理">
<el-dropdown trigger="click"> <el-dropdown trigger="click">
<span class="el-dropdown-link"> <span class="el-dropdown-link">
教程管理<i class="el-icon-arrow-down el-icon--right"></i> 教程管理<i class="el-icon-arrow-down el-icon--right"></i>
...@@ -483,14 +371,10 @@ ...@@ -483,14 +371,10 @@
<el-dropdown-item disabled>{{ <el-dropdown-item disabled>{{
currentUser.MallName currentUser.MallName
}}</el-dropdown-item> }}</el-dropdown-item>
<el-dropdown-item disabled <el-dropdown-item disabled>{{ currentUser.Account }}({{
>{{ currentUser.Account }}({{
currentUser.MobilePhone currentUser.MobilePhone
}})</el-dropdown-item }})</el-dropdown-item>
> <el-dropdown-item @click.native="CommonJump('index')">返回系统</el-dropdown-item>
<el-dropdown-item @click.native="CommonJump('index')"
>返回系统</el-dropdown-item
>
</el-dropdown-menu> </el-dropdown-menu>
</el-dropdown> </el-dropdown>
</li> </li>
...@@ -504,33 +388,32 @@ ...@@ -504,33 +388,32 @@
</div> </div>
</template> </template>
<script> <script>
export default { export default {
data() { data() {
return { return {
currentUser: {}, currentUser: {},
isChecked: "", isChecked: "",
Height: 0, Height: 0,
ERPEmpId: 0, ERPEmpId: 0,
mall_userInfo:{} };
}; },
}, created() {
created() { this.currentUser = this.getLocalStorage();
this.currentUser = this.getLocalStorage(); this.ERPEmpId = this.currentUser.ERPEmpId;
this.ERPEmpId = this.currentUser.ERPEmpId; this.isChecked = this.$route.path;
this.isChecked = this.$route.path; if (this.$route.query.FIndex) {
this.mall_userInfo = JSON.parse(localStorage.mall_userInfo); this.CommonJump("companyList");
if (this.$route.query.FIndex) { this.isChecked = "/companyList";
this.CommonJump("companyList"); }
this.isChecked = "/companyList"; },
} methods: {},
}, mounted() {
methods: {},
mounted() {
this.Height = document.documentElement.clientHeight - 60;
//监听浏览器窗口变化
window.onresize = () => {
this.Height = document.documentElement.clientHeight - 60; this.Height = document.documentElement.clientHeight - 60;
}; //监听浏览器窗口变化
}, window.onresize = () => {
}; this.Height = document.documentElement.clientHeight - 60;
};
},
};
</script> </script>
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