Commit c3557d3d authored by 罗超's avatar 罗超

新增销冠排名

parent d76d585e
This diff is collapsed.
<template>
<div class="personal">
<div class="u-box ">
<div class="left-point"></div>
<div class="right-point"></div>
<div class="h-info-box">
<div class="h-info">
<div class="k">姓名</div>
<div class="v">{{u.emName}}</div>
<div class="k">职务</div>
<div class="v">{{u.PostName}}</div>
</div>
<div class="h-img">
<div class="left-point-samll"></div>
<div class="right-point-samll"></div>
<img :src="u.Icon" :onerror='defaultHeadImg'/>
</div>
</div>
<div class="u-info">
</div>
</div>
</div>
</template>
<script>
export default {
data() {
return {
u:{},
defaultHeadImg: `this.src="${require("../assets/img/default_head_img.jpg")}"`,
}
},
mounted() {
this.u = this.getLocalStorage();
},
}
</script>
<style>
.personal{
width: 100%;
height: 100%;
overflow: hidden;
/* background: #000; */
background: #0a0919 url('../assets/img/persion/bg.png') 100% 100%;
position: relative;
}
.personal .u-box{
width:300px;
position: absolute;
background: #19133e6e;
left: 30px;
top: 30px;
bottom: 30px;
border:1px solid #2c2739;
}
.personal .u-box .h-info-box{
margin: 15px;
display: flex;
}
.personal .u-box .h-info-box .h-info{
flex:1;
}
.personal .u-box .h-info-box .h-info .k{
color: #8a8894;
height: 20px;
line-height: 20px;
font-size: 16px;
font-family: "pingfangR";
text-align: right;
display: block;
margin-top: 10px;
}
.personal .u-box .h-info-box .h-info .v{
color: #DDD;
height: 20;
line-height: 20px;
font-size: 20px;
font-family: "pingfangR";
text-align: right;
display: block;
margin-top: 10px;
}
.personal .u-box .h-info-box .h-img{
width: 120px;
height: 120px;
border: 1px solid #2c2739;
position: relative;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
margin-left: 20px;
display: flex;
}
.personal .u-box .h-info-box .h-img img{
width: 82px;
height: 82px;
}
.personal .u-box .u-info{
}
.personal .left-point::after{
position: absolute;
width: 9px;
height: 9px;
left: -2px;
top: -2px;
content: ' ';
border-left: 3px solid #8a8894;
border-top: 3px solid #8a8894;
}
.personal .left-point::before{
position: absolute;
width: 9px;
height: 9px;
left: -2px;
bottom: -2px;
content: ' ';
border-left: 3px solid #8a8894;
border-bottom: 3px solid #8a8894;
}
.personal .right-point::after{
position: absolute;
width: 9px;
height: 9px;
right: -2px;
top: -2px;
content: ' ';
border-right: 3px solid #8a8894;
border-top: 3px solid #8a8894;
}
.personal .right-point::before{
position: absolute;
width: 9px;
height: 9px;
right: -2px;
bottom: -2px;
content: ' ';
border-right: 3px solid #8a8894;
border-bottom: 3px solid #8a8894;
}
.personal .left-point-samll::after{
position: absolute;
width: 5px;
height: 5px;
left: -1px;
top: -1px;
content: ' ';
border-left: 2px solid #8a8894;
border-top: 2px solid #8a8894;
}
.personal .left-point-samll::before{
position: absolute;
width: 5px;
height: 5px;
left: -1px;
bottom: -1px;
content: ' ';
border-left: 2px solid #8a8894;
border-bottom: 2px solid #8a8894;
}
.personal .right-point-samll::after{
position: absolute;
width: 5px;
height: 5px;
right: -1px;
top: -1px;
content: ' ';
border-right: 2px solid #8a8894;
border-top: 2px solid #8a8894;
}
.personal .right-point-samll::before{
position: absolute;
width: 5px;
height: 5px;
right: -1px;
bottom: -1px;
content: ' ';
border-right: 2px solid #8a8894;
border-bottom: 2px solid #8a8894;
}
</style>
...@@ -4,11 +4,12 @@ ...@@ -4,11 +4,12 @@
<el-tab-pane label="个人排行榜" name="first"></el-tab-pane> <el-tab-pane label="个人排行榜" name="first"></el-tab-pane>
<el-tab-pane label="部门排行榜" name="second"></el-tab-pane> <el-tab-pane label="部门排行榜" name="second"></el-tab-pane>
<el-tab-pane label="公司排行榜" name="third" v-if="authority.indexOf('Sales_Volume_Rank_Show')!=-1"></el-tab-pane> <el-tab-pane label="公司排行榜" name="third" v-if="authority.indexOf('Sales_Volume_Rank_Show')!=-1"></el-tab-pane>
<el-tab-pane label="销冠排行榜" name="four"></el-tab-pane>
</el-tabs> </el-tabs>
<div class="query-box"> <div class="query-box">
<el-form class="_info_box clearfix" label-width="110px"> <el-form class="_info_box clearfix" label-width="110px">
<el-row style="padding:15px 0px 0 0;"> <el-row style="padding:15px 0px 0 0;">
<el-col :span="4"> <el-col :span="4" v-show="activeName!='four'">
<el-form-item label="公司:"> <el-form-item label="公司:">
<el-select filterable v-model="msg.RB_Branch_Id" @change="getDepartment" class> <el-select filterable v-model="msg.RB_Branch_Id" @change="getDepartment" class>
<el-option :value="-1" label="不限"></el-option> <el-option :value="-1" label="不限"></el-option>
...@@ -21,7 +22,7 @@ ...@@ -21,7 +22,7 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4" v-show="activeName!='third'"> <el-col :span="4" v-show="activeName!='third'&&activeName!='four'">
<el-form-item label="部门:"> <el-form-item label="部门:">
<el-select filterable v-model="msg.RB_Department_Id" @change="getEmployee" class> <el-select filterable v-model="msg.RB_Department_Id" @change="getEmployee" class>
<el-option :value="0" label="不限"></el-option> <el-option :value="0" label="不限"></el-option>
...@@ -124,7 +125,8 @@ export default { ...@@ -124,7 +125,8 @@ export default {
EnterID: 0, EnterID: 0,
tStartDates: [], tStartDates: [],
qStartDates: [], qStartDates: [],
GroupBy: "EnterID" GroupBy: "EnterID",
QueryType:0
}, },
getCompanyMsg: { getCompanyMsg: {
// 公司 // 公司
...@@ -347,7 +349,8 @@ export default { ...@@ -347,7 +349,8 @@ export default {
this.msg.qStartDates && this.msg.qStartDates.length == 2 this.msg.qStartDates && this.msg.qStartDates.length == 2
? this.msg.qStartDates[1] ? this.msg.qStartDates[1]
: null, : null,
GroupBy: this.msg.GroupBy GroupBy: this.msg.GroupBy,
QueryType: this.msg.QueryType
}; };
if (!param.QStartDate) { if (!param.QStartDate) {
param.QStartDate = "2019-01-01"; param.QStartDate = "2019-01-01";
...@@ -422,12 +425,18 @@ export default { ...@@ -422,12 +425,18 @@ export default {
}, },
handleClick(tab, event) { handleClick(tab, event) {
this.msg.EnterID = 0; this.msg.EnterID = 0;
this.msg.QueryType=0;
if (this.activeName == "first") this.msg.GroupBy = "EnterID"; if (this.activeName == "first") this.msg.GroupBy = "EnterID";
else if (this.activeName == "second") else if (this.activeName == "second")
this.msg.GroupBy = "RB_Department_Id"; this.msg.GroupBy = "RB_Department_Id";
else { else if (this.activeName == "third"){
this.msg.GroupBy = "RB_Branch_Id"; this.msg.GroupBy = "RB_Branch_Id";
this.msg.RB_Department_Id = 0; this.msg.RB_Department_Id = 0;
} else {
this.msg.RB_Department_Id = 0;
this.msg.RB_Branch_Id = -1;
this.msg.GroupBy = "EnterID";
this.msg.QueryType=4;
} }
this.initColumns(); this.initColumns();
this.initData(); this.initData();
......
...@@ -1473,8 +1473,7 @@ export default { ...@@ -1473,8 +1473,7 @@ export default {
meta: { meta: {
title: '车资分摊管理' title: '车资分摊管理'
}, },
}, }, , {
, {
path: '/busStockManager', path: '/busStockManager',
name: 'busStockManager', name: 'busStockManager',
component: resolve => require(['@/components/busManagement/busStockManager'], resolve), component: resolve => require(['@/components/busManagement/busStockManager'], resolve),
...@@ -2396,7 +2395,7 @@ export default { ...@@ -2396,7 +2395,7 @@ export default {
meta: { meta: {
title: '奖励管理' title: '奖励管理'
} }
} , { // 财务往来单据 收入确认单 }, { // 财务往来单据 收入确认单
path: '/priceIncomeConfirmList', path: '/priceIncomeConfirmList',
name: 'priceIncomeConfirmList', name: 'priceIncomeConfirmList',
component: resolve => require(['@/components/FinancialModule/priceIncomeConfirmList'], resolve), component: resolve => require(['@/components/FinancialModule/priceIncomeConfirmList'], resolve),
...@@ -2510,7 +2509,7 @@ export default { ...@@ -2510,7 +2509,7 @@ export default {
meta: { meta: {
title: '领队导游往来账' title: '领队导游往来账'
}, },
},{ //财务 付款对象 明细 }, { //财务 付款对象 明细
path: '/PayAccDetail', path: '/PayAccDetail',
name: 'PayAccDetail', name: 'PayAccDetail',
component: resolve => require(['@/components/FinancialModule/accDetail/PayAccDetail'], resolve), component: resolve => require(['@/components/FinancialModule/accDetail/PayAccDetail'], resolve),
...@@ -2770,14 +2769,14 @@ export default { ...@@ -2770,14 +2769,14 @@ export default {
meta: { meta: {
title: '变更报表' title: '变更报表'
}, },
},{ //财务 变更详情 }, { //财务 变更详情
path: '/ChangeRevenueDetail', path: '/ChangeRevenueDetail',
name: 'ChangeRevenueDetail', name: 'ChangeRevenueDetail',
component: resolve => require(['@/components/FinancialModule/ReportForm/ChangeRevenueDetail'], resolve), component: resolve => require(['@/components/FinancialModule/ReportForm/ChangeRevenueDetail'], resolve),
meta: { meta: {
title: '变更详情' title: '变更详情'
}, },
},{ //财务 报表 团队营收变更报表 }, { //财务 报表 团队营收变更报表
path: '/TeamRevenueReportChange', path: '/TeamRevenueReportChange',
name: 'TeamRevenueReportChange', name: 'TeamRevenueReportChange',
component: resolve => require(['@/components/FinancialModule/ReportForm/TeamRevenueReportChange'], resolve), component: resolve => require(['@/components/FinancialModule/ReportForm/TeamRevenueReportChange'], resolve),
...@@ -3423,6 +3422,14 @@ export default { ...@@ -3423,6 +3422,14 @@ export default {
meta: { meta: {
title: '供应商' title: '供应商'
} }
},
{
path: '/personalCenter', //供应商一级页面
name: 'personalCenter',
component: resolve => require(['@/components/personalCenter'], resolve),
meta: {
title: '个人中心'
}
} }
] ]
}, },
...@@ -3440,15 +3447,15 @@ export default { ...@@ -3440,15 +3447,15 @@ export default {
} }
}, },
{ {
path: '/supplierLogin',//供应商登录 path: '/supplierLogin', //供应商登录
name: 'supplierLogin', name: 'supplierLogin',
component: supplierLogin component: supplierLogin
}, },
{ {
path: '/supplierIndex',//供应商首页 path: '/supplierIndex', //供应商首页
name: 'supplierIndex', name: 'supplierIndex',
component: supplierIndex, component: supplierIndex,
children: [ { children: [{
path: '/HotelManagement2', //供应商->酒店管理 path: '/HotelManagement2', //供应商->酒店管理
name: 'HotelManagement2', name: 'HotelManagement2',
component: resolve => require(['@/components/Supplier/HotelManagement'], resolve), component: resolve => require(['@/components/Supplier/HotelManagement'], resolve),
......
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