Commit f34c5511 authored by IvyXia123's avatar IvyXia123

Merge branch 'dev' of http://git.singsingenglish.com/new-sing/admin into dev

parents abf93254 5d117cda
...@@ -5,10 +5,10 @@ ...@@ -5,10 +5,10 @@
<el-card shadow="never" class="callback-info callback-item" style="margin-bottom: 15px;"> <el-card shadow="never" class="callback-info callback-item" style="margin-bottom: 15px;">
ID:{{user.user_id}} &emsp; ID:{{user.user_id}} &emsp;
用户昵称:{{user.nickname}} &emsp; 用户昵称:{{user.info.nickname || '-'}} &emsp;
宝宝名称:{{user.baby_name || '-'}} &emsp; 宝宝名称:{{user.info.baby_name || '-'}} &emsp;
宝宝生日:{{(user.birthday == '0000-00-00') ? '-' : user.birthday}} &emsp; 宝宝生日:{{(user.info.birthday == '0000-00-00') ? '-' : user.info.birthday}} &emsp;
手机号:{{user.mobile || '-'}} &emsp; 手机号:{{user.info.mobile || '-'}} &emsp;
<div style="display: inline-block; white-space: nowrap"> <div style="display: inline-block; white-space: nowrap">
关联手机号: 关联手机号:
<span class="callback-edit"> <span class="callback-edit">
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
:disabled="(callbackEdit.wechat.value == callbackEdit.wechat.origin) && (callbackEdit.mobile.value == callbackEdit.mobile.origin)" :disabled="(callbackEdit.wechat.value == callbackEdit.wechat.origin) && (callbackEdit.mobile.value == callbackEdit.mobile.origin)"
type="primary" plain size="small">更新用户信息 type="primary" plain size="small">更新用户信息
</el-button>&emsp; </el-button>&emsp;
<span style="font-size: 12px; color: #999999; white-space: nowrap">最后更新:{{user.updated_at || '-'}}</span> <span style="font-size: 12px; color: #999999; white-space: nowrap">最后更新:{{user.info.updated_at || '-'}}</span>
</el-card> </el-card>
<el-card shadow="never" class="callback-item" style="display: flex; align-items: flex-start; margin-bottom: 15px; line-height: 32px;"> <el-card shadow="never" class="callback-item" style="display: flex; align-items: flex-start; margin-bottom: 15px; line-height: 32px;">
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
</el-card> </el-card>
<!--添加回访信息--> <!--添加回访信息-->
<el-card shadow="never" v-if="callbackObj.teacher_id && callbackAdd && !$store.state.readonly" class="callback-item callback-input"> <el-card shadow="never" v-if="callbackObj.teacher_id && !$store.state.readonly" class="callback-item callback-input">
<el-form size="small" inline> <el-form size="small" inline>
<el-form-item required> <el-form-item required>
<el-select v-model="add.method" placeholder="回访方式" style="width: 140px;"> <el-select v-model="add.method" placeholder="回访方式" style="width: 140px;">
...@@ -184,25 +184,21 @@ ...@@ -184,25 +184,21 @@
name: "CallBack", name: "CallBack",
components: {page}, components: {page},
props: { props: {
callbackObj: { callbackObj: { // user_id、teacher_id、timestamp
type: Object, type: Object,
default: () => {} default: () => {}
}, },
callbackAdd: { hasUserInfo: { // 是否传过来用户信息,传来用户信息就不调接口请求用户新,否则请求(防止同时请求用户信息接口报错)
type: Boolean, type: Boolean,
default: false default: false
} },
}, },
data() { data() {
return { return {
loading: true, loading: true,
user: { user: {
user_id: '', user_id: '',
nickname: '', info: {}
baby_name: '',
birthday: '',
mobile: '',
updated_at: ''
}, },
CALLBACK_METHOD: CALLBACK_METHOD, CALLBACK_METHOD: CALLBACK_METHOD,
CALLBACK_TYPE: CALLBACK_TYPE, CALLBACK_TYPE: CALLBACK_TYPE,
...@@ -262,11 +258,14 @@ ...@@ -262,11 +258,14 @@
created() { created() {
}, },
watch: { watch: {
'user'() { 'callbackObj.info'() {
this.callbackEdit.mobile.value = this.user.relation_mobile; this.user.info = this.callbackObj.info || {};
this.callbackEdit.mobile.origin = this.user.relation_mobile; },
this.callbackEdit.wechat.value = this.user.wx_number; 'user.info'() {
this.callbackEdit.wechat.origin = this.user.wx_number; this.callbackEdit.mobile.value = this.user.info.relation_mobile;
this.callbackEdit.mobile.origin = this.user.info.relation_mobile;
this.callbackEdit.wechat.value = this.user.info.wx_number;
this.callbackEdit.wechat.origin = this.user.info.wx_number;
}, },
'callbackObj.timestamp'() { 'callbackObj.timestamp'() {
this.user.user_id = this.callbackObj.user_id; this.user.user_id = this.callbackObj.user_id;
...@@ -276,8 +275,26 @@ ...@@ -276,8 +275,26 @@
}, },
mounted() { mounted() {
this.user.user_id = this.callbackObj.user_id; this.user.user_id = this.callbackObj.user_id;
if (!this.hasUserInfo) {
this.getUser(); this.getUser();
} else {
this.user.info = this.callbackObj.info;
}
this.getTag(); this.getTag();
this.getData();
if (this.callbackObj.teacher_id) {
let json = {
user_id: this.callbackObj.user_id
}
getCallBackPrevApi(json).then(res => {
if (res && res[0] && res[0].next_visit_at && res[0].intention) {
this.add.intention = res[0].intention;
this.add.next_visit_at = res[0].next_visit_at;
}
})
}
}, },
methods: { methods: {
filterName(string, type) { filterName(string, type) {
...@@ -300,7 +317,9 @@ ...@@ -300,7 +317,9 @@
putUserInfoApi(this.user.user_id, json).then(res => { putUserInfoApi(this.user.user_id, json).then(res => {
this.$message({type: 'success', message: '用户信息更新成功'}); this.$message({type: 'success', message: '用户信息更新成功'});
this.getUser(); this.getUser();
// this.$emit('updateUser'); if (this.hasUserInfo) {
this.$emit('updateUser');
}
}) })
}, },
...@@ -388,20 +407,7 @@ ...@@ -388,20 +407,7 @@
getUser() { getUser() {
getUserDetailApi(this.user.user_id).then(res => { getUserDetailApi(this.user.user_id).then(res => {
// console.log(res, 999) // console.log(res, 999)
this.user = res; this.user.info = res;
this.getData();
if (this.callbackObj.teacher_id) {
let json = {
user_id: this.callbackObj.user_id
}
getCallBackPrevApi(json).then(res => {
if (res && res[0] && res[0].next_visit_at && res[0].intention) {
this.add.intention = res[0].intention;
this.add.next_visit_at = res[0].next_visit_at;
}
})
}
this.loading = false;
}) })
}, },
getTag() { getTag() {
...@@ -420,6 +426,7 @@ ...@@ -420,6 +426,7 @@
this.list = res.page_data; this.list = res.page_data;
this.total = res.total this.total = res.total
// this.total = res.total_page // this.total = res.total_page
this.loading = false;
}) })
}, },
callbackReset() { callbackReset() {
......
...@@ -331,13 +331,6 @@ export default { ...@@ -331,13 +331,6 @@ export default {
</script> </script>
<style scoped lang="less"> <style scoped lang="less">
.searchFrom{
/*position: absolute;
top: 20px;*/
}
.el-table{
/*margin-top: 130px;*/
}
/deep/.el-table--enable-row-hover .el-table__body tr:hover > td { /deep/.el-table--enable-row-hover .el-table__body tr:hover > td {
background-color: #fff; background-color: #fff;
} }
...@@ -347,7 +340,4 @@ export default { ...@@ -347,7 +340,4 @@ export default {
/deep/.el-progress-bar__inner { /deep/.el-progress-bar__inner {
max-width: 100% !important; max-width: 100% !important;
} }
.el-main .content .router-block .child-view {
/*height: 100vh;*/
}
</style> </style>
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
} }
</script> </script>
<style scoped lang="less"> <style lang="less">
@import "../../util/public"; @import "../../util/public";
.el-header{ .el-header{
background: #333333; background: #333333;
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
<el-dialog append-to-body :visible.sync="descDialog.show" title="沟通情况列表" width="75%"> <el-dialog append-to-body :visible.sync="descDialog.show" title="沟通情况列表" width="75%">
<!--TODO @updateUser--> <!--TODO @updateUser-->
<call-back :callbackAdd="true" :callbackObj="callbackObj"></call-back> <call-back :callbackObj="callbackObj"></call-back>
<!--<el-form label-width="90px"> <!--<el-form label-width="90px">
<el-form-item> <el-form-item>
......
...@@ -471,7 +471,7 @@ ...@@ -471,7 +471,7 @@
</el-table-column> </el-table-column>
<el-table-column prop="mobile" label="手机号"></el-table-column> <el-table-column prop="mobile" label="手机号"></el-table-column>
</el-table> </el-table>
<page :total="userObj.total" :limit="userObj.limit" :small="true" @pageChange="onPageChange3" @sizeChange="onSizeChange3"/> <page :total="userObj.total" :limit="userObj.limit" :small="true" @pageChange="onPageChange4" @sizeChange="onSizeChange4"/>
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
<el-button @click="addShow = false">取 消</el-button> <el-button @click="addShow = false">取 消</el-button>
<el-button type="primary" @click="onAdd">确 定</el-button> <el-button type="primary" @click="onAdd">确 定</el-button>
...@@ -821,15 +821,15 @@ ...@@ -821,15 +821,15 @@
type: data.type type: data.type
} }
}, },
/*onPageChange3(val) { onPageChange4(val) {
this.userObj.nowPage = val; this.userObj.nowPage = val;
this.getUser() this.getUser()
},*/ },
/*onSizeChange3(val) { onSizeChange4(val) {
this.userObj.limit = val; this.userObj.limit = val;
this.userObj.nowPage = 1; this.userObj.nowPage = 1;
this.getUser(); this.getUser();
},*/ },
onPageChange(val) { onPageChange(val) {
this.nowPage = val; this.nowPage = val;
this.getTeacherDetail(); this.getTeacherDetail();
......
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
<!--<el-tabs type="border-card" v-model="tabs">--> <!--<el-tabs type="border-card" v-model="tabs">-->
<el-tabs type="border-card" v-model="tabs"> <el-tabs type="border-card" v-model="tabs">
<el-tab-pane label="回访信息" name="callback"> <el-tab-pane label="回访信息" name="callback">
<call-back :callbackObj="callbackObj" :callbackAdd="true" @updateUser="getDetail"></call-back> <call-back :hasUserInfo="true" :callbackObj="callbackObj" @updateUser="getDetail"></call-back>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="期数列表" name="periods"> <el-tab-pane label="期数列表" name="periods">
<el-table @expand-change="changeRow" :data="periodList"> <el-table @expand-change="changeRow" :data="periodList">
...@@ -550,7 +550,8 @@ ...@@ -550,7 +550,8 @@
callbackObj: { callbackObj: {
user_id: '', user_id: '',
teacher_id: '', teacher_id: '',
timestamp: '' timestamp: '',
info: {}
}, },
userList: [], userList: [],
yunjiList: [], yunjiList: [],
...@@ -875,11 +876,10 @@ ...@@ -875,11 +876,10 @@
if (!this.id) return; if (!this.id) return;
getUserDetailApi(this.id).then(res => { getUserDetailApi(this.id).then(res => {
this.detail = res; this.detail = res;
// this.callbackObj.detail = res; // 用户的所有数据
if (res.periods_list) { if (res.periods_list) {
this.periodList = res.periods_list this.periodList = res.periods_list
} }
// console.log(res) this.callbackObj.info = res; // 用户的所有数据
}) })
getSubAccountInfoApi(this.id).then(res => { getSubAccountInfoApi(this.id).then(res => {
if (res.family_user == 1) { if (res.family_user == 1) {
......
export default [{ export default [
{
name: '', name: '',
value: '教研管理', value: '教研管理',
icon: 'icon-material', icon: 'icon-material',
list: [{ list: [
{
value: '教材列表', value: '教材列表',
routerName: 'resources', routerName: 'resources',
path: '/resources', path: '/resources',
...@@ -12,12 +14,14 @@ export default [{ ...@@ -12,12 +14,14 @@ export default [{
name: 'resources', name: 'resources',
component: e => require(['@/components/resources'], e), component: e => require(['@/components/resources'], e),
} }
}] }
}, { ]
}, {
name: '', name: '',
value: '商品课程', value: '商品课程',
icon: 'icon-shangpin1', icon: 'icon-shangpin1',
list: [{ list: [
{
value: '课程列表', value: '课程列表',
routerName: 'lesson', routerName: 'lesson',
path: '/lesson', path: '/lesson',
...@@ -37,12 +41,14 @@ export default [{ ...@@ -37,12 +41,14 @@ export default [{
name: 'shop', name: 'shop',
component: e => require(['@/components/shop'], e), component: e => require(['@/components/shop'], e),
}, },
},] },
}, { ]
}, {
name: '', name: '',
value: '期数管理', value: '期数管理',
icon: 'icon-kecheng', icon: 'icon-kecheng',
list: [{ list: [
{
value: '期数列表', value: '期数列表',
routerName: 'periods', routerName: 'periods',
path: '/periods', path: '/periods',
...@@ -52,8 +58,7 @@ export default [{ ...@@ -52,8 +58,7 @@ export default [{
name: 'periods', name: 'periods',
component: e => require(['@/components/periods'], e), component: e => require(['@/components/periods'], e),
} }
}, }, {
{
value: '班级列表', value: '班级列表',
routerName: 'class', routerName: 'class',
path: '/class', path: '/class',
...@@ -73,8 +78,7 @@ export default [{ ...@@ -73,8 +78,7 @@ export default [{
name: 'marketStatistics', name: 'marketStatistics',
component: e => require(['@/components/marketStatistics'], e), component: e => require(['@/components/marketStatistics'], e),
} }
}, }, {
{
value: '不上课日期', value: '不上课日期',
routerName: 'noLesson', routerName: 'noLesson',
path: '/noLesson', path: '/noLesson',
...@@ -84,8 +88,7 @@ export default [{ ...@@ -84,8 +88,7 @@ export default [{
name: 'noLesson', name: 'noLesson',
component: e => require(['@/components/noLesson'], e), component: e => require(['@/components/noLesson'], e),
} }
}, }, {
{
value: '自化课列表', value: '自化课列表',
routerName: 'autoClass', routerName: 'autoClass',
path: '/autoClass', path: '/autoClass',
...@@ -97,11 +100,12 @@ export default [{ ...@@ -97,11 +100,12 @@ export default [{
} }
}, },
] ]
}, { }, {
name: '', name: '',
value: '销售管理', value: '销售管理',
icon: 'icon-laoshi', icon: 'icon-laoshi',
list: [{ list: [
{
value: '教师列表', value: '教师列表',
routerName: 'teacher', routerName: 'teacher',
path: '/teacher', path: '/teacher',
...@@ -121,8 +125,7 @@ export default [{ ...@@ -121,8 +125,7 @@ export default [{
name: 'monthOrder', name: 'monthOrder',
component: e => require(['@/components/monthOrder'], e), component: e => require(['@/components/monthOrder'], e),
} }
}, }, {
{
value: '月课订单统计', value: '月课订单统计',
routerName: 'monthOrderCount', routerName: 'monthOrderCount',
path: '/monthOrderCount', path: '/monthOrderCount',
...@@ -162,7 +165,7 @@ export default [{ ...@@ -162,7 +165,7 @@ export default [{
name: 'talkingSkill', name: 'talkingSkill',
component: e => require(['@/components/talkingSkill'], e), component: e => require(['@/components/talkingSkill'], e),
} }
},{ }, {
value: '销售级别配置', value: '销售级别配置',
routerName: 'salesLevel', routerName: 'salesLevel',
path: '/salesLevel', path: '/salesLevel',
...@@ -182,9 +185,9 @@ export default [{ ...@@ -182,9 +185,9 @@ export default [{
name: 'brokerage', name: 'brokerage',
component: e => require(['@/components/brokerage'], e), component: e => require(['@/components/brokerage'], e),
} }
},] },
}, ]
{ }, {
name: '', name: '',
value: '用户管理', value: '用户管理',
icon: 'icon-yonghu', icon: 'icon-yonghu',
...@@ -199,8 +202,7 @@ export default [{ ...@@ -199,8 +202,7 @@ export default [{
name: 'user', name: 'user',
component: e => require(['@/components/user'], e), component: e => require(['@/components/user'], e),
} }
}, }, {
{
value: '用户详情', value: '用户详情',
routerName: 'userDetail', routerName: 'userDetail',
path: '/userDetail', path: '/userDetail',
...@@ -211,8 +213,7 @@ export default [{ ...@@ -211,8 +213,7 @@ export default [{
name: 'userDetail', name: 'userDetail',
component: e => require(['@/components/userDetail/index'], e), component: e => require(['@/components/userDetail/index'], e),
} }
}, }, {
{
value: '老系统用户列表', value: '老系统用户列表',
routerName: 'oldUser', routerName: 'oldUser',
path: '/oldUser', path: '/oldUser',
...@@ -222,8 +223,7 @@ export default [{ ...@@ -222,8 +223,7 @@ export default [{
name: 'oldUser', name: 'oldUser',
component: e => require(['@/components/oldUser/'], e), component: e => require(['@/components/oldUser/'], e),
} }
}, }, {
{
value: '用户积分列表', value: '用户积分列表',
routerName: 'integral', routerName: 'integral',
path: '/integral', path: '/integral',
...@@ -233,8 +233,7 @@ export default [{ ...@@ -233,8 +233,7 @@ export default [{
name: 'integral', name: 'integral',
component: e => require(['@/components/integral/'], e), component: e => require(['@/components/integral/'], e),
} }
}, }, {
{
value: '绑定子账号列表', value: '绑定子账号列表',
routerName: 'subList', routerName: 'subList',
path: '/subList', path: '/subList',
...@@ -246,8 +245,7 @@ export default [{ ...@@ -246,8 +245,7 @@ export default [{
} }
}, },
] ]
}, }, {
{
name: '', name: '',
value: '订单管理', value: '订单管理',
icon: 'icon-dingdan', icon: 'icon-dingdan',
...@@ -262,8 +260,7 @@ export default [{ ...@@ -262,8 +260,7 @@ export default [{
name: 'order', name: 'order',
component: e => require(['@/components/order'], e), component: e => require(['@/components/order'], e),
} }
}, }, {
{
value: '提现列表', value: '提现列表',
routerName: 'putForward', routerName: 'putForward',
path: '/putForward', path: '/putForward',
...@@ -273,8 +270,7 @@ export default [{ ...@@ -273,8 +270,7 @@ export default [{
name: 'putForward', name: 'putForward',
component: e => require(['@/components/putForward'], e), component: e => require(['@/components/putForward'], e),
} }
}, }, {
{
value: '发货管理', value: '发货管理',
routerName: 'consignment', routerName: 'consignment',
path: '/consignment', path: '/consignment',
...@@ -284,8 +280,7 @@ export default [{ ...@@ -284,8 +280,7 @@ export default [{
name: 'consignment', name: 'consignment',
component: e => require(['@/components/consignment'], e), component: e => require(['@/components/consignment'], e),
} }
}, }, {
{
value: '订单统计', value: '订单统计',
routerName: 'orderCount', routerName: 'orderCount',
path: '/orderCount', path: '/orderCount',
...@@ -295,8 +290,7 @@ export default [{ ...@@ -295,8 +290,7 @@ export default [{
name: 'orderCount', name: 'orderCount',
component: e => require(['@/components/orderCount/index'], e), component: e => require(['@/components/orderCount/index'], e),
} }
}, }, {
{
value: '日课订单统计', value: '日课订单统计',
routerName: 'dayOrderCount', routerName: 'dayOrderCount',
path: '/dayOrderCount', path: '/dayOrderCount',
...@@ -306,8 +300,7 @@ export default [{ ...@@ -306,8 +300,7 @@ export default [{
name: 'dayOrderCount', name: 'dayOrderCount',
component: e => require(['@/components/orderCount/dayOrderCount'], e), component: e => require(['@/components/orderCount/dayOrderCount'], e),
} }
}, }, {
{
value: '优惠券列表', value: '优惠券列表',
routerName: 'coupon', routerName: 'coupon',
path: '/coupon', path: '/coupon',
...@@ -317,8 +310,7 @@ export default [{ ...@@ -317,8 +310,7 @@ export default [{
name: 'coupon', name: 'coupon',
component: e => require(['@/components/coupon'], e), component: e => require(['@/components/coupon'], e),
} }
}, }, {
{
value: '扫码入课列表', value: '扫码入课列表',
routerName: 'notBuyClass', routerName: 'notBuyClass',
path: '/notBuyClass', path: '/notBuyClass',
...@@ -328,8 +320,7 @@ export default [{ ...@@ -328,8 +320,7 @@ export default [{
name: 'notBuyClass', name: 'notBuyClass',
component: e => require(['@/components/notBuyClass'], e), component: e => require(['@/components/notBuyClass'], e),
} }
}, }, {
{
value: '外部订单列表', value: '外部订单列表',
routerName: 'yunji', routerName: 'yunji',
path: '/yunji', path: '/yunji',
...@@ -339,8 +330,7 @@ export default [{ ...@@ -339,8 +330,7 @@ export default [{
name: 'yunji', name: 'yunji',
component: e => require(['@/components/yunji'], e), component: e => require(['@/components/yunji'], e),
} }
}, }, {
{
value: '兑换码管理', value: '兑换码管理',
routerName: 'exchange', routerName: 'exchange',
path: '/exchange', path: '/exchange',
...@@ -352,8 +342,7 @@ export default [{ ...@@ -352,8 +342,7 @@ export default [{
} }
} }
] ]
}, }, {
{
name: '', name: '',
value: '数据管理', value: '数据管理',
icon: 'icon-shezhi', icon: 'icon-shezhi',
...@@ -368,8 +357,7 @@ export default [{ ...@@ -368,8 +357,7 @@ export default [{
name: 'sourceConversionList', name: 'sourceConversionList',
component: e => require(['@/components/conversionList/sourceConversionList'], e), component: e => require(['@/components/conversionList/sourceConversionList'], e),
} }
}, }, {
{
value: '市场招生列表', value: '市场招生列表',
routerName: 'marketEnrollmentConversionList', routerName: 'marketEnrollmentConversionList',
path: '/marketEnrollmentConversionList', path: '/marketEnrollmentConversionList',
...@@ -379,8 +367,7 @@ export default [{ ...@@ -379,8 +367,7 @@ export default [{
name: 'marketEnrollmentConversionList', name: 'marketEnrollmentConversionList',
component: e => require(['@/components/conversionList/marketEnrollmentConversionList'], e), component: e => require(['@/components/conversionList/marketEnrollmentConversionList'], e),
} }
}, }, {
{
value: '渠道转化数据', value: '渠道转化数据',
routerName: 'channelConversionList', routerName: 'channelConversionList',
path: '/channelConversionList', path: '/channelConversionList',
...@@ -390,8 +377,7 @@ export default [{ ...@@ -390,8 +377,7 @@ export default [{
name: 'channelConversionList', name: 'channelConversionList',
component: e => require(['@/components/conversionList/channelConversionList'], e), component: e => require(['@/components/conversionList/channelConversionList'], e),
} }
}, }, {
{
value: '渠道分商品转化数据', value: '渠道分商品转化数据',
routerName: 'channelGoodsConversionList', routerName: 'channelGoodsConversionList',
path: '/channelGoodsConversionList', path: '/channelGoodsConversionList',
...@@ -401,8 +387,7 @@ export default [{ ...@@ -401,8 +387,7 @@ export default [{
name: 'channelGoodsConversionList', name: 'channelGoodsConversionList',
component: e => require(['@/components/conversionList/channelGoodsConversionList'], e), component: e => require(['@/components/conversionList/channelGoodsConversionList'], e),
} }
}, }, {
{
value: '期数转化数据', value: '期数转化数据',
routerName: 'periodsConversionList', routerName: 'periodsConversionList',
path: '/periodsConversionList', path: '/periodsConversionList',
...@@ -412,8 +397,7 @@ export default [{ ...@@ -412,8 +397,7 @@ export default [{
name: 'periodsConversionList', name: 'periodsConversionList',
component: e => require(['@/components/conversionList/periodsConversionList'], e), component: e => require(['@/components/conversionList/periodsConversionList'], e),
} }
}, }, {
{
value: '销售小组数据', value: '销售小组数据',
routerName: 'squadConversionList', routerName: 'squadConversionList',
path: '/squadConversionList', path: '/squadConversionList',
...@@ -423,8 +407,7 @@ export default [{ ...@@ -423,8 +407,7 @@ export default [{
name: 'squadConversionList', name: 'squadConversionList',
component: e => require(['@/components/conversionList/squadConversionList'], e), component: e => require(['@/components/conversionList/squadConversionList'], e),
} }
}, }, {
{
value: '班主任转化数据', value: '班主任转化数据',
routerName: 'teacherConversionList', routerName: 'teacherConversionList',
path: '/teacherConversionList', path: '/teacherConversionList',
...@@ -434,8 +417,7 @@ export default [{ ...@@ -434,8 +417,7 @@ export default [{
name: 'teacherConversionList', name: 'teacherConversionList',
component: e => require(['@/components/conversionList/teacherConversionList'], e), component: e => require(['@/components/conversionList/teacherConversionList'], e),
} }
}, }, {
{
value: '各期数班主任转化数据', value: '各期数班主任转化数据',
routerName: 'teacherPeriodsConversionList', routerName: 'teacherPeriodsConversionList',
path: '/teacherPeriodsConversionList', path: '/teacherPeriodsConversionList',
...@@ -445,8 +427,7 @@ export default [{ ...@@ -445,8 +427,7 @@ export default [{
name: 'teacherPeriodsConversionList', name: 'teacherPeriodsConversionList',
component: e => require(['@/components/conversionList/teacherPeriodsConversionList'], e), component: e => require(['@/components/conversionList/teacherPeriodsConversionList'], e),
} }
}, }, {
{
value: '明细数据列表', value: '明细数据列表',
routerName: 'channelTransList', routerName: 'channelTransList',
path: '/channelTransList', path: '/channelTransList',
...@@ -457,13 +438,13 @@ export default [{ ...@@ -457,13 +438,13 @@ export default [{
component: e => require(['@/components/conversionList/channelTransList'], e), component: e => require(['@/components/conversionList/channelTransList'], e),
} }
}, },
] ]
}, { }, {
name: '', name: '',
value: '实物管理', value: '实物管理',
icon: 'icon-shu', icon: 'icon-shu',
list: [{ list: [
{
value: '单品列表', value: '单品列表',
routerName: 'single', routerName: 'single',
path: '/single', path: '/single',
...@@ -483,7 +464,7 @@ export default [{ ...@@ -483,7 +464,7 @@ export default [{
name: 'box', name: 'box',
component: e => require(['@/components/box'], e), component: e => require(['@/components/box'], e),
} }
},{ }, {
value: '待发货列表', value: '待发货列表',
routerName: 'logistics', routerName: 'logistics',
path: '/logistics', path: '/logistics',
...@@ -493,7 +474,7 @@ export default [{ ...@@ -493,7 +474,7 @@ export default [{
name: 'logistics', name: 'logistics',
component: e => require(['@/components/logistics'], e), component: e => require(['@/components/logistics'], e),
} }
},{ }, {
value: '一次性物流信息', value: '一次性物流信息',
routerName: 'disposable', routerName: 'disposable',
path: '/disposable', path: '/disposable',
...@@ -503,12 +484,14 @@ export default [{ ...@@ -503,12 +484,14 @@ export default [{
name: 'disposable', name: 'disposable',
component: e => require(['@/components/disposable'], e), component: e => require(['@/components/disposable'], e),
} }
}] }
}, { ]
}, {
name: '', name: '',
value: '公众号', value: '公众号',
icon: 'icon-ai-weixin', icon: 'icon-ai-weixin',
list: [{ list: [
{
value: '自动回复', value: '自动回复',
routerName: 'focusReply', routerName: 'focusReply',
path: '/focusReply', path: '/focusReply',
...@@ -518,8 +501,7 @@ export default [{ ...@@ -518,8 +501,7 @@ export default [{
name: 'focusReply', name: 'focusReply',
component: e => require(['@/components/weChat/focusReply'], e), component: e => require(['@/components/weChat/focusReply'], e),
} }
}, }, {
{
value: '关键词回复', value: '关键词回复',
routerName: 'autoReply', routerName: 'autoReply',
path: '/autoReply', path: '/autoReply',
...@@ -529,9 +511,7 @@ export default [{ ...@@ -529,9 +511,7 @@ export default [{
name: 'autoReply', name: 'autoReply',
component: e => require(['@/components/weChat/autoReply'], e), component: e => require(['@/components/weChat/autoReply'], e),
} }
}, {
},
{
value: '公众号菜单', value: '公众号菜单',
routerName: 'weChat', routerName: 'weChat',
path: '/weChat', path: '/weChat',
...@@ -541,8 +521,7 @@ export default [{ ...@@ -541,8 +521,7 @@ export default [{
name: 'weChat', name: 'weChat',
component: e => require(['@/components/weChat'], e), component: e => require(['@/components/weChat'], e),
} }
}, }, {
{
value: '素材管理', value: '素材管理',
routerName: 'weChatResource', routerName: 'weChatResource',
path: '/weChatResource', path: '/weChatResource',
...@@ -552,8 +531,7 @@ export default [{ ...@@ -552,8 +531,7 @@ export default [{
name: 'weChatResource', name: 'weChatResource',
component: e => require(['@/components/weChat/weChatResource'], e), component: e => require(['@/components/weChat/weChatResource'], e),
} }
}, }, {
{
value: '二维码管理', value: '二维码管理',
routerName: 'qrcode', routerName: 'qrcode',
path: '/qrcode', path: '/qrcode',
...@@ -563,8 +541,7 @@ export default [{ ...@@ -563,8 +541,7 @@ export default [{
name: 'qrcode', name: 'qrcode',
component: e => require(['@/components/qrcode'], e), component: e => require(['@/components/qrcode'], e),
} }
}, }, {
{
value: '群发助手', value: '群发助手',
routerName: 'groupSend', routerName: 'groupSend',
path: '/groupSend', path: '/groupSend',
...@@ -574,8 +551,7 @@ export default [{ ...@@ -574,8 +551,7 @@ export default [{
name: 'groupSend', name: 'groupSend',
component: e => require(['@/components/groupSend'], e), component: e => require(['@/components/groupSend'], e),
} }
}, }, {
{
value: '关注取关统计', value: '关注取关统计',
routerName: 'watchCount', routerName: 'watchCount',
path: '/watchCount', path: '/watchCount',
...@@ -585,8 +561,7 @@ export default [{ ...@@ -585,8 +561,7 @@ export default [{
name: 'watchCount', name: 'watchCount',
component: e => require(['@/components/watchCount'], e), component: e => require(['@/components/watchCount'], e),
} }
}, }, {
{
value: '微信统计', value: '微信统计',
routerName: 'weChatStatistics', routerName: 'weChatStatistics',
path: '/weChatStatistics', path: '/weChatStatistics',
...@@ -596,8 +571,7 @@ export default [{ ...@@ -596,8 +571,7 @@ export default [{
name: 'weChatStatistics', name: 'weChatStatistics',
component: e => require(['@/components/weChatStatistics'], e), component: e => require(['@/components/weChatStatistics'], e),
} }
}, }, {
{
value: '测试', value: '测试',
routerName: 'test', routerName: 'test',
path: '/test', path: '/test',
...@@ -609,12 +583,12 @@ export default [{ ...@@ -609,12 +583,12 @@ export default [{
} }
}, },
] ]
}, }, {
{
name: '', name: '',
value: '系统管理', value: '系统管理',
icon: 'icon-xitongquanxian', icon: 'icon-xitongquanxian',
list: [{ list: [
{
value: '首页管理', value: '首页管理',
routerName: 'banner', routerName: 'banner',
path: '/banner', path: '/banner',
...@@ -634,8 +608,7 @@ export default [{ ...@@ -634,8 +608,7 @@ export default [{
name: 'externalLaunch', name: 'externalLaunch',
component: e => require(['@/components/externalLaunch'], e), component: e => require(['@/components/externalLaunch'], e),
} }
}, }, {
{
value: '来源码管理', value: '来源码管理',
routerName: 'sourceManage', routerName: 'sourceManage',
path: '/sourceManage', path: '/sourceManage',
...@@ -645,8 +618,7 @@ export default [{ ...@@ -645,8 +618,7 @@ export default [{
name: 'sourceManage', name: 'sourceManage',
component: e => require(['@/components/sourceManage'], e), component: e => require(['@/components/sourceManage'], e),
} }
}, }, {
{
value: '短信发送记录', value: '短信发送记录',
routerName: 'smsRecord', routerName: 'smsRecord',
path: '/smsRecord', path: '/smsRecord',
...@@ -656,8 +628,7 @@ export default [{ ...@@ -656,8 +628,7 @@ export default [{
name: 'smsRecord', name: 'smsRecord',
component: e => require(['@/components/smsRecord'], e), component: e => require(['@/components/smsRecord'], e),
} }
}, }, {
{
value: '设备监管记录', value: '设备监管记录',
routerName: 'staffRecord', routerName: 'staffRecord',
path: '/staffRecord', path: '/staffRecord',
...@@ -667,8 +638,7 @@ export default [{ ...@@ -667,8 +638,7 @@ export default [{
name: 'staffRecord', name: 'staffRecord',
component: e => require(['@/components/system/staffRecord'], e), component: e => require(['@/components/system/staffRecord'], e),
} }
}, }, {
{
value: '标签管理', value: '标签管理',
routerName: 'tag', routerName: 'tag',
path: '/tag', path: '/tag',
...@@ -678,8 +648,7 @@ export default [{ ...@@ -678,8 +648,7 @@ export default [{
name: 'tag', name: 'tag',
component: e => require(['@/components/system/tag'], e), component: e => require(['@/components/system/tag'], e),
} }
}, }, {
{
value: '员工管理', value: '员工管理',
routerName: 'staff', routerName: 'staff',
path: '/staff', path: '/staff',
...@@ -689,8 +658,7 @@ export default [{ ...@@ -689,8 +658,7 @@ export default [{
name: 'staff', name: 'staff',
component: e => require(['@/components/system/staff'], e), component: e => require(['@/components/system/staff'], e),
} }
}, }, {
{
value: '系统配置', value: '系统配置',
routerName: 'config', routerName: 'config',
path: '/config', path: '/config',
...@@ -702,13 +670,12 @@ export default [{ ...@@ -702,13 +670,12 @@ export default [{
} }
}, },
] ]
}, }, {
{
name: '', name: '',
value: '后台管理', value: '后台管理',
icon: 'icon-shezhi', icon: 'icon-shezhi',
list: [{ list: [
{
value: '账号管理', value: '账号管理',
routerName: 'admin', routerName: 'admin',
path: '/admin', path: '/admin',
...@@ -748,10 +715,7 @@ export default [{ ...@@ -748,10 +715,7 @@ export default [{
name: 'sysConfig', name: 'sysConfig',
component: e => require(['@/components/system/sysConfig'], e), component: e => require(['@/components/system/sysConfig'], e),
} }
}, {
},
{
value: '操作日志', value: '操作日志',
routerName: 'adminLog', routerName: 'adminLog',
path: '/adminLog', path: '/adminLog',
...@@ -763,7 +727,7 @@ export default [{ ...@@ -763,7 +727,7 @@ export default [{
} }
} }
] ]
} }
] ]
// { // {
// name: '', // name: '',
......
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