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

机票业绩新增验证

parent 864c1c5e
...@@ -78,12 +78,20 @@ ...@@ -78,12 +78,20 @@
} }
}, },
mounted() { 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(); 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() this.getList()
}, },
methods: { methods: {
......
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
<th>总人数</th> <th>总人数</th>
<th>提成金额</th> <th>提成金额</th>
<th>期数</th> <th>期数</th>
<th>详情</th>
</tr> </tr>
<tr v-for="item in dataList"> <tr v-for="item in dataList">
<td>{{item.BName}}</td> <td>{{item.BName}}</td>
...@@ -24,6 +25,7 @@ ...@@ -24,6 +25,7 @@
<td>{{item.TotalPersion}}</td> <td>{{item.TotalPersion}}</td>
<td>{{item.CommissionMoney}}</td> <td>{{item.CommissionMoney}}</td>
<td>{{item.Periods}}</td> <td>{{item.Periods}}</td>
<td><a @click="goUrl(item)" style="color:blue;text-decoration:underline;cursor:pointer;">详情</a></td>
</tr> </tr>
</table> </table>
</div> </div>
...@@ -64,8 +66,17 @@ ...@@ -64,8 +66,17 @@
null 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