diff --git a/src/api/admin/menu.js b/src/api/admin/menu.js index 070cf9c..68b887d 100644 --- a/src/api/admin/menu.js +++ b/src/api/admin/menu.js @@ -4,7 +4,7 @@ import request from '@/router/axios' export function getMenu(id) { return request({ url: '/admin/menu', - params: {parentId: id,orgType:localStorage.getItem('orgType'),agentId:localStorage.getItem('agentId'),orgType:localStorage.getItem('orgType')}, + params: {parentId: id,orgType:localStorage.getItem('orgType'),agentId:localStorage.getItem('agentId'),orgCode:localStorage.getItem('orgCode')}, method: 'get' }) } @@ -12,7 +12,7 @@ export function getMenu(id) { export function getTopMenu() { return request({ url: '/admin/menu', - params: {type: 'top',orgType:localStorage.getItem('orgType'),agentId:localStorage.getItem('agentId'),orgType:localStorage.getItem('orgType')}, + params: {type: 'top',orgType:localStorage.getItem('orgType'),agentId:localStorage.getItem('agentId'),orgCode:localStorage.getItem('orgCode')}, method: 'get' }) } diff --git a/src/api/modules/api.js b/src/api/modules/api.js index 4cb9076..d4776a8 100644 --- a/src/api/modules/api.js +++ b/src/api/modules/api.js @@ -918,3 +918,26 @@ export function houseStatistics1(query) { params:query }) } +//顾问能力列表 +export function prohibitedStatistics(query) { + return request({ + url: '/autoSR/cusStageStatistics/prohibitedStatistics', + method:'get', + params:query + }) +} +export function accountRank(query) { + return request({ + url: '/autoSR/cusStageStatistics/accountRank', + method:'get', + params:query + }) +} + +export function accountRankTOP10(query) { + return request({ + url: '/autoSR/cusStageStatistics/accountRankTOP10', + method:'get', + params:query + }) +} diff --git a/src/page/index/top/index.vue b/src/page/index/top/index.vue index 3ebb8f4..95140a9 100644 --- a/src/page/index/top/index.vue +++ b/src/page/index/top/index.vue @@ -20,7 +20,7 @@ cursor: pointer; " > -
+
{{ orgType == 0 ? "系统后台" @@ -425,7 +425,7 @@ export default { .daili { // width: 100px; height: 30px; - background: #2671e2; + // background: #2671e2; border-radius: 4px; line-height: 30px; text-align: center; @@ -435,7 +435,8 @@ export default { } .change { font-size: 16px; - color: #2671e2; + // color: #2671e2; + color: white; margin-left: 10px; } diff --git a/src/router/router.js b/src/router/router.js index f28c782..c1ae718 100644 --- a/src/router/router.js +++ b/src/router/router.js @@ -8,8 +8,12 @@ Vue.use(VueRouter) //创建路由 // console.log(PageRouter,ViewsRouter,'123') // console.log(Store) +console.log(process.env.BASE_URL,123); export const createRouter = () => new VueRouter({ + // mode:'history', + // base:'/wel/index', routes: [...PageRouter, ...ViewsRouter] + }) const Router = createRouter() diff --git a/src/views/Statistics/ConsultantBrand.vue b/src/views/Statistics/ConsultantBrand.vue index 463f80a..892748c 100644 --- a/src/views/Statistics/ConsultantBrand.vue +++ b/src/views/Statistics/ConsultantBrand.vue @@ -1,13 +1,18 @@