Commit 0c92adde authored by 黄奎's avatar 黄奎

机票业绩新增验证

parent 864c1c5e
......@@ -78,12 +78,20 @@
}
},
mounted() {
let date = new Date(),
y = date.getFullYear(),
m = date.getMonth() < 10 ? "0" + (date.getMonth() + 1) : date.getMonth() + 1;
this.msg.QMonth = y + '-' + m;
this.initAirlines();
this.getEmployeeList();
if (this.$route.query.UserId) {
this.msg.CreateBy = Number(this.$route.query.UserId);
}
if (this.$route.query.Periods) {
var str = this.$route.query.Periods;
this.msg.QMonth = str.substring(0, 4) + "-" + str.substring(4);
} else {
let date = new Date(),
y = date.getFullYear(),
m = date.getMonth() < 10 ? "0" + (date.getMonth() + 1) : date.getMonth() + 1;
this.msg.QMonth = y + '-' + m;
}
this.initAirlines();
this.getList()
},
methods: {
......
......@@ -16,6 +16,7 @@
<th>总人数</th>
<th>提成金额</th>
<th>期数</th>
<th>详情</th>
</tr>
<tr v-for="item in dataList">
<td>{{item.BName}}</td>
......@@ -24,6 +25,7 @@
<td>{{item.TotalPersion}}</td>
<td>{{item.CommissionMoney}}</td>
<td>{{item.Periods}}</td>
<td><a @click="goUrl(item)" style="color:blue;text-decoration:underline;cursor:pointer;">详情</a></td>
</tr>
</table>
</div>
......@@ -64,8 +66,17 @@
null
);
},
}
goUrl(item) {
this.$router.push({
path: "flightPerformance",
query: {
UserId:item.UserId,
Periods:item.Periods,
blank: 'y',
tab: '票务业绩详情'
}
});
}
},
}
</script>
</script>
\ No newline at end of file
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