Commit 87a5a975 authored by liudong1993's avatar liudong1993

1

parent 60580656
......@@ -327,7 +327,7 @@
<div class="query-box">
<ul>
<li>
<span v-if="msg.Type != 14 && msg.Type !=15">
<span v-if="msg.Type != 14 && msg.Type !=15 && msg.Type !=16">
<em>{{$t('system.query_workType')}}</em>
<el-select v-model="msg.QLeaderType" :placeholder="$t('system.ph_choice')">
<el-option :label="$t('system.ph_buxian')" :value='0'></el-option>
......@@ -343,7 +343,7 @@
:placeholder="$t('ground.xuanzenian')">
</el-date-picker>
</span>
<span v-else-if="msg.Type==2 || msg.Type == 14 || msg.Type ==15">
<span v-else-if="msg.Type==2 || msg.Type == 14 || msg.Type ==15 || msg.Type ==16">
<em>{{$t("ground.yuefen")}}</em>
<el-date-picker v-model="msg.MonthStr2" type="month" value-format="yyyy-MM"
:placeholder="$t('ground.xuanzeyue')">
......@@ -362,7 +362,7 @@
</span>
</li>
<li>
<span>
<span v-if="msg.Type !=16">
<em>{{$t('ground.gwd')}}</em>
<el-select v-model="msg.ShoppingID" filterable :placeholder="$t('system.ph_choice')">
<el-option :label="$t('pub.pleaseSel')" :value='0' :key="0"></el-option>
......@@ -372,7 +372,7 @@
</li>
<li>
<input type="button" class="hollowFixedBtn" :value="$t('pub.searchBtn')" @click="getStatis()" />
<input type="button" v-if="msg.Type==14 || msg.Type==15" class="normalBtn" value="导出" @click="exportExcel">
<input type="button" v-if="msg.Type==14 || msg.Type==15 || msg.Type==16" class="normalBtn" value="导出" @click="exportExcel">
</li>
</ul>
</div>
......@@ -384,7 +384,7 @@
</el-tab-pane>
</el-tabs>
<div class="ChampionsLeague clearfix">
<table v-if="msg.Type != 14 && msg.Type !=15" class="singeRowTable" style="margin-top:5px;">
<table v-if="msg.Type != 14 && msg.Type !=15 && msg.Type !=16" class="singeRowTable" style="margin-top:5px;">
<tr>
<th width="100">{{$t('hotel.hotel_SerialNumber')}}</th>
<th width="100">{{$t('system.query_name')}}</th>
......@@ -494,6 +494,30 @@
<td><span>{{item.AvgCommission}}</span></td>
</tr>
</table>
<table v-else-if="msg.Type ==16" class="singeRowTable" style="margin-top:5px;">
<tr>
<th width="100">团号</th>
<th width="100">导游</th>
<th width="100">公社</th>
<th width="100">乐天</th>
<th width="100">LAOX</th>
<th width="100">AKKTWO</th>
<th width="100">田崎</th>
<th width="100">御宝</th>
<th width="100">自费</th>
</tr>
<tr v-for="(item,index) in DataList" :key="index">
<td><span>{{item.TCNUM}}</span></td>
<td><span>{{item.GuideName}}</span></td>
<td><span :style="item.GS?'color:#059ff6':''">{{item.GS?'√':'X'}}</span></td>
<td><span :style="item.LT?'color:#059ff6':''">{{item.LT?'√':'X'}}</span></td>
<td><span :style="item.LaoX?'color:#059ff6':''">{{item.LaoX?'√':'X'}}</span></td>
<td><span :style="item.AkkTwo?'color:#059ff6':''">{{item.AkkTwo?'√':'X'}}</span></td>
<td><span :style="item.TQ?'color:#059ff6':''">{{item.TQ?'√':'X'}}</span></td>
<td><span :style="item.YB?'color:#059ff6':''">{{item.YB?'√':'X'}}</span></td>
<td><span :style="item.ZF?'color:#059ff6':''">{{item.ZF?'√':'X'}}</span></td>
</tr>
</table>
</div>
</div>
......@@ -598,6 +622,11 @@
Type: "15",
titleName: "人均回佣排名",
},
{
Name: "团队进店统计",
Type: "16",
titleName: "团队进店统计",
},
],
};
},
......@@ -619,10 +648,10 @@
QMonthStr: this.msg.MonthStr,
ShoppingID: this.msg.ShoppingID
};
if (this.msg.Type == 2 || this.msg.Type == 14 || this.msg.Type ==15) {
if (this.msg.Type == 2 || this.msg.Type == 14 || this.msg.Type ==15 || this.msg.Type ==16) {
msg.QMonthStr = this.msg.MonthStr2;
}
if (this.msg.Type != 2 && this.msg.Type != 3 && this.msg.Type != 6 && this.msg.Type != 14 && this.msg.Type !=15) {
if (this.msg.Type != 2 && this.msg.Type != 3 && this.msg.Type != 6 && this.msg.Type != 14 && this.msg.Type !=15 && this.msg.Type !=16) {
if (this.msg.Month != -1) {
msg.QMonthStr = this.msg.Year + "-" + this.msg.Month;
} else {
......@@ -675,6 +704,9 @@
if(this.msg.Type==15){
fileName = "人均回佣排名.xls";
}
else if(this.msg.Type==16){
fileName = "团队进店统计.xls";
}
let msg = {
Type: this.msg.Type,
QLeaderType: this.msg.QLeaderType,
......@@ -682,10 +714,10 @@
ShoppingID: this.msg.ShoppingID,
EmployeeId: this.userId
};
if (this.msg.Type == 2 || this.msg.Type == 14 || this.msg.Type ==15) {
if (this.msg.Type == 2 || this.msg.Type == 14 || this.msg.Type ==15 || this.msg.Type ==16) {
msg.QMonthStr = this.msg.MonthStr2;
}
if (this.msg.Type != 2 && this.msg.Type != 3 && this.msg.Type != 6 && this.msg.Type != 14 && this.msg.Type !=15) {
if (this.msg.Type != 2 && this.msg.Type != 3 && this.msg.Type != 6 && this.msg.Type != 14 && this.msg.Type !=15 && this.msg.Type !=16) {
if (this.msg.Month != -1) {
msg.QMonthStr = this.msg.Year + "-" + this.msg.Month;
} else {
......
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