Commit ffd1eeb1 authored by 黄奎's avatar 黄奎
parents 6ff5a112 a27695a3
...@@ -605,7 +605,6 @@ ...@@ -605,7 +605,6 @@
left:50%; left:50%;
transform: translate3d(-50%,-50%,0); transform: translate3d(-50%,-50%,0);
width: 180px; width: 180px;
display:none;
text-align:center; text-align:center;
z-index:3 z-index:3
} }
......
...@@ -10,15 +10,16 @@ ...@@ -10,15 +10,16 @@
.PersonalData{width: 100%;height: 350px;background: white;margin-top: 10px} .PersonalData{width: 100%;height: 350px;background: white;margin-top: 10px}
.PersonalData_l{width: 100%;height: 368px;overflow-x: auto;padding: 20px} .PersonalData_l{width: 100%;height: 368px;overflow-x: auto;padding: 20px}
.PersonalData_l .l_top{width: 700px;height: 118px;} .PersonalData_l .l_top{width: 700px;height: 118px;}
.l_top .tx_img{width: 94px;height: 94px;border-radius: 50%;overflow: hidden;float: left} .l_top .tx_img{width: 94px;height: 94px;border-radius: 50%;overflow: hidden;float: left;margin-top: 10px;}
.l_top .img{width: 60px;height: 60px; .l_top .img{width: 60px;height: 60px;
margin-left: 10px; margin-left: 10px;
/* margin-left: 90px; */
float: left;margin-top: 15px} float: left;margin-top: 15px}
.p_name{margin-left: 17px;margin-top: 15px;float: left} .p_name{margin-left: 17px;margin-top: 15px;float: left}
.p_name span:nth-child(1){font-size: 18px;color: #333333;display: block} .p_name span:nth-child(1){font-size: 18px;color: #333333;display: block}
.p_name span:nth-child(2){font-size: 12px;color: #333333;margin-top: 5px;display: block} .p_name span:nth-child(2){font-size: 12px;color: #333333;margin-top: 5px;display: block}
.l_top .royalty{margin-left: 30px;float: left;margin-top: 17px;display: flex;flex-direction: column} .l_top .royalty{margin-left: 30px;float: left;
margin-top: 10px;
display: flex;flex-direction: column}
.l_top .royalty .tc{display: flex; .l_top .royalty .tc{display: flex;
flex-direction: column; flex-direction: column;
align-items: flex-start} align-items: flex-start}
......
...@@ -164,13 +164,9 @@ ...@@ -164,13 +164,9 @@
this.msg.UserId = this.$route.query.UserId?Number(this.$route.query.UserId):Number(userInfo.EmployeeId) this.msg.UserId = this.$route.query.UserId?Number(this.$route.query.UserId):Number(userInfo.EmployeeId)
} }
} }
if (this.$route.query && this.$route.query.PeriodId) { if (this.$route.query && this.$route.query.PeriodId) {
this.msg.PeriodId = this.$route.query.PeriodId this.msg.PeriodId = this.$route.query.PeriodId
} }
if (this.$route.query && this.$route.query.Type) {
this.msg.Type = this.$route.query.Type
}
this.getqishilist() this.getqishilist()
this.getCompanyList()//获取公司 this.getCompanyList()//获取公司
this.getEmployee()//人员 this.getEmployee()//人员
...@@ -259,12 +255,12 @@ ...@@ -259,12 +255,12 @@
this.$router.push({ this.$router.push({
path: path, path: path,
query: { query: {
PeriodId: this.$route.query.PeriodId, PeriodId: this.msg.PeriodId,//this.$route.query.PeriodId
UserId:item.UserId, UserId:item.UserId,
RB_Branch_Id:item.RB_Branch_Id, RB_Branch_Id:item.RB_Branch_Id,
RB_Department_Id:item.RB_Department_Id, RB_Department_Id:item.RB_Department_Id,
blank: 'y', blank: 'y',
Type: this.msg.Type, Type: this.msg.Type?this.msg.Type:1,
tab: '单项服务提现详情', tab: '单项服务提现详情',
} }
}); });
......
...@@ -158,7 +158,7 @@ ...@@ -158,7 +158,7 @@
</td> --> </td> -->
</tr> </tr>
<tr v-if="dataList.length==0"> <tr v-if="dataList.length==0">
<td style="text-align:center" colspan="11">暂无数据</td> <td style="text-align:center" colspan="14">暂无数据</td>
</tr> </tr>
</table> </table>
<!-- 分页 --> <!-- 分页 -->
...@@ -309,7 +309,7 @@ ...@@ -309,7 +309,7 @@
if (this.PeriodsList && this.PeriodsList.length > 0) { if (this.PeriodsList && this.PeriodsList.length > 0) {
// this.msg.Periods = Number(this.PeriodsList[0].Id) // this.msg.Periods = Number(this.PeriodsList[0].Id)
} }
this.getList()
} else { } else {
this.Error(res.data.message); this.Error(res.data.message);
} }
......
...@@ -627,8 +627,7 @@ ...@@ -627,8 +627,7 @@
this.msg.StartTime = this.getBeforeDate(0, new Date()) this.msg.StartTime = this.getBeforeDate(0, new Date())
this.msg.EndTime = this.getBeforeDate(0, new Date()) this.msg.EndTime = this.getBeforeDate(0, new Date())
this.DatelistBM = [new Date(this.msg.StartTime),new Date()] this.DatelistBM = [new Date(this.msg.StartTime),new Date()]
if(this.$route.query.Q_IsCollect){ if(this.$route.query.DepartSTime){
this.msg.Q_IsCollect=this.$route.query.Q_IsCollect
this.msg.DepartSTime=this.$route.query.DepartSTime this.msg.DepartSTime=this.$route.query.DepartSTime
this.msg.DepartETime=this.$route.query.DepartETime this.msg.DepartETime=this.$route.query.DepartETime
this.msg.CommissionType = this.$route.query.CommissionType this.msg.CommissionType = this.$route.query.CommissionType
......
...@@ -529,9 +529,13 @@ export default { ...@@ -529,9 +529,13 @@ export default {
); );
}, },
settStartDates() { settStartDates() {
let date = moment().format('yyyy-MM-DD') if(this.$route.query.tStartDates){
let start = moment().subtract(1, 'months').format('yyyy-MM-DD') this.msg.tStartDates = this.$route.query.tStartDates
this.msg.tStartDates = [start, date] }else{
let date = moment().format('yyyy-MM-DD')
let start = moment().subtract(1, 'months').format('yyyy-MM-DD')
this.msg.tStartDates = [start, date]
}
}, },
handleClick(tab, event) { handleClick(tab, event) {
this.msg.EnterID = 0; this.msg.EnterID = 0;
......
...@@ -312,7 +312,7 @@ ...@@ -312,7 +312,7 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="ProfitRate" <el-table-column prop="ProfitRate"
label="提成" width="150"> label="提成" width="60">
<template slot-scope="scope"> <template slot-scope="scope">
<template v-if="scope.row.Way==1"> <template v-if="scope.row.Way==1">
{{scope.row.Money+'/人'}} {{scope.row.Money+'/人'}}
...@@ -388,21 +388,16 @@ ...@@ -388,21 +388,16 @@
</div> </div>
<!-- 消息通知 -->
<notification v-if="rightOpen" @close="rightOpen = false"></notification>
</div> </div>
</template> </template>
<script> <script>
import notification from './components/notification'
import OrderList from './components/OrderList' import OrderList from './components/OrderList'
import detailsButtom from './components/details' import detailsButtom from './components/details'
// import OrderList from '../myOrdersAllType/components/OrderList' // import OrderList from '../myOrdersAllType/components/OrderList'
import progressComm from './components/progressComm' import progressComm from './components/progressComm'
export default { export default {
components: { components: {
notification,
OrderList, OrderList,
progressComm, progressComm,
detailsButtom detailsButtom
......
...@@ -57,7 +57,6 @@ ...@@ -57,7 +57,6 @@
this.$router.push({ this.$router.push({
name: name, name: name,
query: { query: {
Q_IsCollect: "1",
DepartSTime: DepartSTime, DepartSTime: DepartSTime,
DepartETime: DepartETime, DepartETime: DepartETime,
CommissionType: String(this.type), CommissionType: String(this.type),
......
<template>
<div>
<div class="ListCar-form"></div>
<div class="ListCar-form-box">
<div class="ListCar-box">
<div class="normalBtn ListCar-close" @click="close">
<i class="el-icon-close"></i>
</div>
</div>
</div>
</div>
</template>
<script>
export default {
props: {
parameters: {
type: Object,
require: false
},
},
data() {
return {
loading: false,
sysMsgList: [],
};
},
watch: {
parameters: {
handler: function (val, oldVal) {
},
deep: true
}
},
created() {
},
mounted() {
},
methods: {
// 关闭
close(){
this.$emit('close')
},
}
};
</script>
<style scoped>
.ListCar-form{
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(23,23,23,.5);
z-index: 3;
}
.ListCar-form-box{
position: fixed;
top: 0;
right: 0;
bottom: 0;
width: 550px;
background: #ffffff;
z-index: 100;
}
.ListCar-box{
width: 100%;
height: 100%;
position: relative;
padding: 15px 0;
}
.ListCar-close{
position: absolute;
left: -47px;
top: 20%;
line-height: 26px;
}
.ListCar-close i{
margin-left: 3px;
}
.normalBtn.ListCar-close{
border-top-right-radius: 0;
border-bottom-right-radius: 0;
padding: 0 8px !important;
}
.ListCar-header{
border-bottom: -;
}
.ListCar-header-right{
border-radius: 3px;
padding: 5px 8px;
background: #fff3e0;
}
</style>
...@@ -52,7 +52,8 @@ ...@@ -52,7 +52,8 @@
border-radius: 0 !important; border-radius: 0 !important;
} }
/deep/.relative-position .el-progress-bar__inner{ /deep/.relative-position .el-progress-bar__inner{
text-align: center; text-align: left;
text-indent: 10px;
border-radius: 0 !important; border-radius: 0 !important;
} }
/deep/.relative-position:first-child .el-progress{ /deep/.relative-position:first-child .el-progress{
...@@ -71,13 +72,12 @@ ...@@ -71,13 +72,12 @@
<div class="progress-box"> <div class="progress-box">
<div v-for="(item,index) in commissionratioList.CommissionRateList" :key="index" <div v-for="(item,index) in commissionratioList.CommissionRateList" :key="index"
class="relative-position"> class="relative-position">
<!-- :text-color="(commissionratioList.type==2&&commissionratioList.CommissionRate>=item.Rate)||
(commissionratioList.type!=2&&commissionratioList.AvgLureNum>=item.StartValue)?'#fff':'#666666'" -->
<el-progress :text-inside="true" :stroke-width="20" <el-progress :text-inside="true" :stroke-width="20"
:percentage="setItemProgress(item)" :percentage="setItemProgress(item)"
:status="setItemStatus(item)" :status="setItemStatus(item)"
:format="setItemText(item)" :format="setItemText(item)"
:text-color="(commissionratioList.type==2&&commissionratioList.CommissionRate>=item.Rate)||
(commissionratioList.type!=2&&commissionratioList.AvgLureNum>=item.StartValue)?'#666666':'#666666'"
:color="(commissionratioList.type==2&&commissionratioList.CommissionRate>=item.Rate)|| :color="(commissionratioList.type==2&&commissionratioList.CommissionRate>=item.Rate)||
(commissionratioList.type!=2&&commissionratioList.AvgLureNum>=item.StartValue)?customColor[0]:customColor[1]"> (commissionratioList.type!=2&&commissionratioList.AvgLureNum>=item.StartValue)?customColor[0]:customColor[1]">
</el-progress> </el-progress>
......
...@@ -60,29 +60,30 @@ ...@@ -60,29 +60,30 @@
<div class="p_name"> <div class="p_name">
<span>{{data.emName}}</span> <span>{{data.emName}}</span>
<span>{{data.postName}}</span> <span>{{data.postName}}</span>
<div style="padding: 5px 0 0 0;font-size: 14px;color: #333333;" v-if="rankingNum"> <div @click="goAnticipate(5)" style="cursor: pointer;">
<a style="color: #FF8C00;margin-left: 3px;margin-right: 3px;font-size: 18px;font-weight: bold;">{{rankingNum}}</a> <div v-if="SumPreferPrice" style="padding: 2px 0 0 0;"><a style="color: #666666;font-size: 14px;font-weight: bold;">{{SumPreferPrice}}</a></div>
<div style="font-size: 14px;color: #333333;" v-if="rankingNum">
<a style="color: #FF8C00;margin-left: 3px;margin-right: 3px;
font-size: 18px;font-weight: bold;">{{rankingNum}}</a
>
</div>
</div> </div>
</div> </div>
<div style="display: flex;justify-content: space-between;"> <div style="display: flex;justify-content: space-between;">
<!-- <img style="cursor: pointer;" src="../../assets/img/jinbin@2x.png" alt="" class="img" @click="goAnticipate(1)"> --> <!-- <img style="cursor: pointer;" src="../../assets/img/jinbin@2x.png" alt="" class="img" @click="goAnticipate(1)"> -->
<div class="royalty" style="cursor: pointer;" @click="goAnticipate(1)"> <div style="cursor: pointer;cursor: pointer;position: relative;" class="royalty" @click="goAnticipate(1)">
<div class="tc"> <div class="tc">
<p> <p>
<span></span> <span></span>
<span>{{data.totalCommission}}</span> <span>{{data.totalCommission}}</span>
</p> </p>
<p style="margin-bottom: 3px;"> <p style="color: #BDBDBD;font-size: 13px;padding: 0 0 5px 0;">{{data.periodsName}}<el-tag
<el-tag v-if="data.peopelBonus" size="mini" type="danger" effect="dark" style="color: #ffff;">奖+{{data.peopelBonus}}</el-tag> v-if="data.peopelBonus" size="mini" type="danger"
<!-- <span v-if="data.peopelBonus" style="margin-right: 10px;">奖励:+{{data.peopelBonus}}</span> --> effect="dark" style="color: #ffff;position: absolute;left: 70px;bottom: 23px;font-size: 11px;">奖+{{data.peopelBonus}}</el-tag></p>
<span style="color: #BDBDBD;font-size: 13px;
padding: 0 0 5px 0;font-weight: 100;">{{data.periodsName}}</span>
</p>
</div> </div>
<!-- <span><p class="tc">{{data.totalCommission}}</p></span>-->
<div stye="font-size: 16px;color: #666666;display: block;display: inline-block;"> <div stye="font-size: 16px;color: #666666;display: block;display: inline-block;">
<span>出境提成</span> <span>出境提成</span>
<template v-if="data.comissionGeneralId>0"> <template v-if="data.comissionGeneralId>0">
<span v-if="data.share==1" class="Sale_Share" style="color:#333;cursor:default;">已确认</span> <span v-if="data.share==1" class="Sale_Share" style="color:#333;cursor:default;">已确认</span>
<span v-if="data.share==0" @click="tichengDialog=true" class="Sale_Share" <span v-if="data.share==0" @click="tichengDialog=true" class="Sale_Share"
...@@ -120,7 +121,7 @@ ...@@ -120,7 +121,7 @@
</div> </div>
<el-tooltip class="item" effect="dark" content="预期提成" placement="top"> <el-tooltip class="item" effect="dark" content="预期提成" placement="top">
<img src="../../assets/img/xiaosouYQ.png" @click="goAnticipate(4)" <img src="../../assets/img/xiaosouYQ.png" @click="goAnticipate(4)"
style="width: 15px;height: auto; position: absolute;right: -0;top: -10px;cursor: pointer;color: #33B3FF;"></img> style="width: 15px;height: auto; position: absolute;right: -0;top: -13px;cursor: pointer;color: #33B3FF;"></img>
</el-tooltip> </el-tooltip>
</div> </div>
</div> </div>
...@@ -602,6 +603,7 @@ ...@@ -602,6 +603,7 @@
export default { export default {
data() { data() {
return { return {
SumPreferPrice: 0,
rankingNum: 0, rankingNum: 0,
type: 1, type: 1,
defaultHeadImg: 'this.src="' + require("../../assets/img/default_head_img.jpg") + '"', defaultHeadImg: 'this.src="' + require("../../assets/img/default_head_img.jpg") + '"',
...@@ -657,8 +659,12 @@ ...@@ -657,8 +659,12 @@
}, },
methods: { methods: {
settStartDates() { settStartDates() {
let date = moment().format('yyyy-MM-DD') let nowdays = new Date()
let start = moment().subtract(1, 'months').format('yyyy-MM-DD') let Year = new Date().getFullYear()
let MonthTime = new Date().getMonth() + 1
let MonthDayNum = new Date(Year, 12, 0).getDate();
let date = Year+'-12-'+(MonthDayNum>10?MonthDayNum:'0'+MonthDayNum)
let start = Year+'-01-01'
this.PMMsg.tStartDates = [start, date] this.PMMsg.tStartDates = [start, date]
}, },
initData() { initData() {
...@@ -701,6 +707,7 @@ ...@@ -701,6 +707,7 @@
tableData.forEach((item,index)=>{ tableData.forEach((item,index)=>{
if(item.EnterID==Number(userInfo.EmployeeId)){ if(item.EnterID==Number(userInfo.EmployeeId)){
this.rankingNum = index+1 this.rankingNum = index+1
this.SumPreferPrice = item.SumPreferPrice
} }
}) })
}); });
...@@ -718,15 +725,27 @@ ...@@ -718,15 +725,27 @@
name = 'ServiceCommissionUser' name = 'ServiceCommissionUser'
}else if(type==4){ }else if(type==4){
name = 'saleExpectedCommission' name = 'saleExpectedCommission'
}else if(type==5){
name = 'salesVolumeRank'
this.$router.push({
name: name,
query: {
tStartDates: this.PMMsg.tStartDates,
blank: 'y'
}
});
} }
this.$router.push({ if(type!=5){
name: name, this.$router.push({
query: { name: name,
UserId: Number(userInfo.EmployeeId), query: {
isSale: 1, UserId: Number(userInfo.EmployeeId),
blank: 'y' isSale: 1,
} blank: 'y'
}); }
});
}
}, },
iWorkbench() { iWorkbench() {
this.apipost('customerIndex_post_GetMySelfSellInfo', {}, res => { this.apipost('customerIndex_post_GetMySelfSellInfo', {}, res => {
......
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