添加菜单权限。

master
kevin jiang 6 years ago
parent 4a76ae2122
commit 7f22740d54

@ -0,0 +1,13 @@
<template>
<div>活动分析</div>
</template>
<script>
export default {
name: "ActivityAnalysis"
}
</script>
<style scoped>
</style>

@ -0,0 +1,13 @@
<template>
<div>活动管理</div>
</template>
<script>
export default {
name: "ActivityManager"
}
</script>
<style scoped>
</style>

@ -0,0 +1,13 @@
<template>
<div>活动计划</div>
</template>
<script>
export default {
name: "ActivityPlan"
}
</script>
<style scoped>
</style>

@ -27,7 +27,7 @@
<DatePicker v-model="selectEndTime" type="date" placeholder="请选择时间"
class="date-picker" size="small" @on-change="diyDateChange"></DatePicker>
</span>
<img src="../../static/img/bsd-logo.png" class="title-logo"/>
<img src="../../../static/img/bsd-logo.png" class="title-logo"/>
</span>
</row>
<!--柱状图-->
@ -56,7 +56,7 @@
</template>
<script>
import customerView from "../services/datacenter/customerView";
import customerView from "../../services/datacenter/customerView";
import 'echarts/lib/component/markLine'
import 'echarts/lib/component/dataZoom'
import 'echarts/lib/component/toolbox'

@ -27,7 +27,7 @@
<DatePicker v-model="selectEndTime" type="date" placeholder="请选择时间"
class="date-picker" size="small" @on-change="diyDateChange"></DatePicker>
</span>
<img src="../../static/img/bsd-logo.png" class="title-logo"/>
<img src="../../../static/img/bsd-logo.png" class="title-logo"/>
</span>
</row>
<!--柱状图-->
@ -49,7 +49,7 @@
</template>
<script>
import customerView from "../services/datacenter/customerView";
import customerView from "../../services/datacenter/customerView";
import 'echarts/lib/chart/line'
import 'echarts/lib/component/toolbox'
export default {

@ -132,9 +132,9 @@
</div>
</template>
<script>
import customerDetail from "../services/datacenter/DataCenter";
import zeroExtend from "../services/customer/zeroExtend";
import staff from "../services/staff/staff";
import customerDetail from "../../services/datacenter/DataCenter";
import zeroExtend from "../../services/customer/zeroExtend";
import staff from "../../services/staff/staff";
export default {
inject: ['checkParamBlank'],
@ -347,7 +347,7 @@
let title = "客户明细";
require.ensure([], () => {
const {export_json_to_excel} = require('../excel/Export2Excel');
const {export_json_to_excel} = require('../../excel/Export2Excel');
const tHeader = ['序号', '好友名称', '所属门店', '店铺编号', '所属导购', '工号', '创建时间', '好友手机号', '关联会员', '会员等级', '会员生日'];
//
const filterVal = ['number', 'name', 'shopName', 'shopCode', 'sellerName', 'sellerCode', 'createTime', 'phone', 'vipName', 'vipLevel', 'birthday'];

@ -30,7 +30,7 @@
<Icon type="ios-alert-outline" style="margin-left: 5px"/>
</Tooltip>
</span>
<img src="../../static/img/bsd-logo.png" class="title-logo"/>
<img src="../../../static/img/bsd-logo.png" class="title-logo"/>
</span>
</row>
<!--5块客户数-->
@ -158,7 +158,7 @@
<span class="chart-top-10-title-span">推广为0的店铺数</span>
<span style="position: absolute;right: 5px;cursor: pointer"
@click="zeroExtendMore"><span style="vertical-align: top">更多</span><img
src="../../static/img/right-angle.png"/></span>
src="../../../static/img/right-angle.png"/></span>
<row v-if="customerViewVO.zeroExtendList.length === 0" class="text-center"></row>
<row v-if="customerViewVO.zeroExtendList.length > 0" class="padding-12">
<row>
@ -185,7 +185,7 @@
</template>
<script>
import customerView from "../services/datacenter/customerView";
import customerView from "../../services/datacenter/customerView";
export default {
inject: ['setMenuName'],

@ -1,11 +1,11 @@
<template>
<div style="width: 100%;height: 100%;background-color: #000d4a;">
<div class="loading">
<div class="loadbox"><img src="../../public/images/loading.gif"> 页面加载中...</div>
<div class="loadbox"><img src="../../../public/images/loading.gif"> 页面加载中...</div>
</div>
<div class="head">
<h1>
<img src="../../static/img/bsd-logo.png" class="title-logo"/>
<img src="../../../static/img/bsd-logo.png" class="title-logo"/>
</h1>
</div>
<div class="mainbox">
@ -63,9 +63,9 @@
<!-- </div>-->
</div>
<div class="map">
<div class="map1"><img src="../../public/images/lbx.png"></div>
<div class="map2"><img src="../../public/images/jt.png"></div>
<div class="map3"><img src="../../public/images/map.png"></div>
<div class="map1"><img src="../../../public/images/lbx.png"></div>
<div class="map2"><img src="../../../public/images/jt.png"></div>
<div class="map3"><img src="../../../public/images/map.png"></div>
<!-- <div class="map4" id="map_1"></div>-->
<div class="map">
@ -122,9 +122,9 @@
</template>
<script>
import $ from 'jquery';
import AreaMap from '../components/AreaMap';
import AreaMap from '../../components/AreaMap';
import countTo from 'vue-count-to';
import http from '../services/customer/CustomerViewHomeService'
import http from '../../services/customer/CustomerViewHomeService'
export default {
components: {
AreaMap,
@ -541,11 +541,11 @@
@font-face {
font-family: electronicFont;
src: url('../../public/font/DS-DIGIT.TTF')
src: url('../../../public/font/DS-DIGIT.TTF')
}
body {
background: #000d4a url('../../public/images/bg.jpg') center top;
background: #000d4a url('../../../public/images/bg.jpg') center top;
background-size: cover;
color: #666;
font-size: .1rem;
@ -679,7 +679,7 @@
.head {
height: 180px;
background: url(../../public/images/head_bg.png) no-repeat center center;
background: url(../../../public/images/head_bg.png) no-repeat center center;
background-size: 100% 100%;
position: relative;
z-index: 100;
@ -742,7 +742,7 @@
.boxall {
border: 1px solid rgba(25, 186, 139, .17);
padding: 0 .2rem .4rem .15rem;
background: rgba(255, 255, 255, .04) url(../../public/images/line.png);
background: rgba(255, 255, 255, .04) url(../../../public/images/line.png);
background-size: 100% auto;
position: relative;
margin-bottom: .15rem;

@ -38,7 +38,7 @@
</template>
<script>
import zeroExtend from "../services/customer/zeroExtend";
import zeroExtend from "../../services/customer/zeroExtend";
export default {
inject:['checkParamBlank'],
data() {
@ -200,7 +200,7 @@
that.originAllData.push(entity);
}
require.ensure([], () => {
const { export_json_to_excel } = require('../excel/Export2Excel');
const { export_json_to_excel } = require('../../excel/Export2Excel');
const tHeader = ['序号', '店铺名称', '店铺编码', '大区', '零售公司', '客户'];
//
const filterVal = ['number', 'shopName', 'shopCode', 'region', 'company', 'customer'];

@ -9,12 +9,12 @@ import AccountManagementModify from '@/pages/user/AccountManagementModify';
import AccountManagerUpload from '@/pages/user/AccountManagerUpload';
import RoleManager from '@/pages/user/RoleManager';
import IncreaseManager from '@/pages/shop/IncreaseManager';
import CustomerView from "@/pages/CustomerView";
import CustomerView from "@/pages/home/CustomerView";
import TableAnalysis from "@/pages/TableAnalysis";
import AddCustomerTable from "@/pages/AddCustomerTable";
import ApplyCustomerTable from "@/pages/ApplyCustomerTable";
import ZeroExtendDetail from "@/pages/ZeroExtendDetail";
import CustomerDetail from "@/pages/CustomerDetail";
import AddCustomerTable from "@/pages/analysis/AddCustomerTable";
import ApplyCustomerTable from "@/pages/analysis/ApplyCustomerTable";
import ZeroExtendDetail from "@/pages/home/ZeroExtendDetail";
import CustomerDetail from "@/pages/home/CustomerDetail";
import IncreaseData from '@/pages/shop/IncreaseData';
import IncreaseDataCompany from '@/pages/shop/IncreaseDataCompany';
import IncreaseDataStaff from '@/pages/shop/IncreaseDataStaff';
@ -27,7 +27,10 @@ import IncreaseGroupSendConfigure from '@/pages/shop/IncreaseGroupSendConfigure'
import IncreaseWelcomeConfigure from '@/pages/shop/IncreaseWelcomeConfigure';
import IncreaseGroupSendConfigureAdd from '@/pages/shop/IncreaseGroupSendConfigureAdd';
import NoPermission from '@/pages/shop/NoPermission';
import CustomerViewHome from "@/pages/CustomerViewHome";
import CustomerViewHome from '@/pages/home/CustomerViewHome';
import ActivityAnalysis from "@/pages/activity/ActivityAnalysis";
import ActivityManager from "@/pages/activity/ActivityManager";
import ActivityPlan from "@/pages/activity/ActivityPlan";
Vue.use(Router);
@ -54,7 +57,21 @@ const router = new Router({
name: 'Home',
component: Home,
children: [
{
path: '/activity/manager',
name: 'ActivityManager',
component: ActivityManager
},
{
path: '/activity/plan',
name: 'ActivityPlan',
component: ActivityPlan
},
{
path: '/activity/analysis',
name: 'ActivityAnalysis',
component: ActivityAnalysis
},
{
path: '/account/manager',
name: 'AccountManager',

Loading…
Cancel
Save