Commit dc9e4a58 authored by youjie's avatar youjie

no message

parent 571e7a61
......@@ -10,6 +10,7 @@
<el-tab-pane v-if="PermissionState!=3&&PermissionState!=4" label="平台收款占比" name="7"></el-tab-pane>
<el-tab-pane v-if="PermissionState!=3&&PermissionState!=4" label="待付款情况" name="8"></el-tab-pane>
<el-tab-pane v-if="PermissionState!=3&&PermissionState!=4" label="会员返利情况" name="9"></el-tab-pane>
<el-tab-pane label="永乐车费用情况" name="10"></el-tab-pane>
</el-tabs>
<div class="query-box">
<el-form class="_info_box clearfix" label-width="90px">
......@@ -401,7 +402,7 @@ export default {
},
handleClick(e){
this.activeName = e._props.name
if(e._props.name!='4')this.msg.Type = e._props.name
if(this.activeName!='4') this.msg.Type = e._props.name
if(!this.dateTime||this.dateTime.length==0){
let sDate = moment().subtract(7, 'months').format('YYYY-MM');
let eDate = moment().subtract(1, 'months').format('YYYY-MM');
......@@ -419,7 +420,9 @@ export default {
this.msg.endDate = eDate
this.msg.LineId =14;
}else{
}else if(this.activeName=='10'){
return this.goToBus()
} else{
let eDate = moment().subtract(1, 'months').format('YYYY-MM');
if(this.msg.startDate == this.msg.endDate && this.msg.startDate== eDate){
let sDate = moment().subtract(7, 'months').format('YYYY-MM');
......@@ -433,6 +436,18 @@ export default {
this.getStatement()
},
//跳转到车
goToBus() {
let carUrl = this.domainManager().CarUrl;
var nPath = "CarMonthOrder";
var that = this;
this.apipost("travel_temp_token", {}, res => {
if (res.data.resultCode == 1) {
let newUrl = carUrl + "/auth/autologin?tk=" + res.data.data + "&gpath=" + nPath;
window.open(newUrl)
}
})
},
getDateTime(){
if(this.dateTime&&this.dateTime.length>0){
this.msg.startDate = this.dateTime[0]
......
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