Commit 87a5a975 authored by liudong1993's avatar liudong1993

1

parent 60580656
...@@ -327,7 +327,7 @@ ...@@ -327,7 +327,7 @@
<div class="query-box"> <div class="query-box">
<ul> <ul>
<li> <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> <em>{{$t('system.query_workType')}}</em>
<el-select v-model="msg.QLeaderType" :placeholder="$t('system.ph_choice')"> <el-select v-model="msg.QLeaderType" :placeholder="$t('system.ph_choice')">
<el-option :label="$t('system.ph_buxian')" :value='0'></el-option> <el-option :label="$t('system.ph_buxian')" :value='0'></el-option>
...@@ -343,7 +343,7 @@ ...@@ -343,7 +343,7 @@
:placeholder="$t('ground.xuanzenian')"> :placeholder="$t('ground.xuanzenian')">
</el-date-picker> </el-date-picker>
</span> </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> <em>{{$t("ground.yuefen")}}</em>
<el-date-picker v-model="msg.MonthStr2" type="month" value-format="yyyy-MM" <el-date-picker v-model="msg.MonthStr2" type="month" value-format="yyyy-MM"
:placeholder="$t('ground.xuanzeyue')"> :placeholder="$t('ground.xuanzeyue')">
...@@ -362,7 +362,7 @@ ...@@ -362,7 +362,7 @@
</span> </span>
</li> </li>
<li> <li>
<span> <span v-if="msg.Type !=16">
<em>{{$t('ground.gwd')}}</em> <em>{{$t('ground.gwd')}}</em>
<el-select v-model="msg.ShoppingID" filterable :placeholder="$t('system.ph_choice')"> <el-select v-model="msg.ShoppingID" filterable :placeholder="$t('system.ph_choice')">
<el-option :label="$t('pub.pleaseSel')" :value='0' :key="0"></el-option> <el-option :label="$t('pub.pleaseSel')" :value='0' :key="0"></el-option>
...@@ -372,7 +372,7 @@ ...@@ -372,7 +372,7 @@
</li> </li>
<li> <li>
<input type="button" class="hollowFixedBtn" :value="$t('pub.searchBtn')" @click="getStatis()" /> <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> </li>
</ul> </ul>
</div> </div>
...@@ -384,7 +384,7 @@ ...@@ -384,7 +384,7 @@
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>
<div class="ChampionsLeague clearfix"> <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> <tr>
<th width="100">{{$t('hotel.hotel_SerialNumber')}}</th> <th width="100">{{$t('hotel.hotel_SerialNumber')}}</th>
<th width="100">{{$t('system.query_name')}}</th> <th width="100">{{$t('system.query_name')}}</th>
...@@ -494,6 +494,30 @@ ...@@ -494,6 +494,30 @@
<td><span>{{item.AvgCommission}}</span></td> <td><span>{{item.AvgCommission}}</span></td>
</tr> </tr>
</table> </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>
</div> </div>
...@@ -598,6 +622,11 @@ ...@@ -598,6 +622,11 @@
Type: "15", Type: "15",
titleName: "人均回佣排名", titleName: "人均回佣排名",
}, },
{
Name: "团队进店统计",
Type: "16",
titleName: "团队进店统计",
},
], ],
}; };
}, },
...@@ -619,10 +648,10 @@ ...@@ -619,10 +648,10 @@
QMonthStr: this.msg.MonthStr, QMonthStr: this.msg.MonthStr,
ShoppingID: this.msg.ShoppingID 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; 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) { if (this.msg.Month != -1) {
msg.QMonthStr = this.msg.Year + "-" + this.msg.Month; msg.QMonthStr = this.msg.Year + "-" + this.msg.Month;
} else { } else {
...@@ -675,6 +704,9 @@ ...@@ -675,6 +704,9 @@
if(this.msg.Type==15){ if(this.msg.Type==15){
fileName = "人均回佣排名.xls"; fileName = "人均回佣排名.xls";
} }
else if(this.msg.Type==16){
fileName = "团队进店统计.xls";
}
let msg = { let msg = {
Type: this.msg.Type, Type: this.msg.Type,
QLeaderType: this.msg.QLeaderType, QLeaderType: this.msg.QLeaderType,
...@@ -682,10 +714,10 @@ ...@@ -682,10 +714,10 @@
ShoppingID: this.msg.ShoppingID, ShoppingID: this.msg.ShoppingID,
EmployeeId: this.userId 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; 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) { if (this.msg.Month != -1) {
msg.QMonthStr = this.msg.Year + "-" + this.msg.Month; msg.QMonthStr = this.msg.Year + "-" + this.msg.Month;
} else { } 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