Commit e002774c authored by Mac's avatar Mac

新增订单统计跳转

parent 7825a47a
......@@ -330,6 +330,9 @@
}
}),
mounted() {
if(this.$route.query && this.$route.query.Name){//从订单完成统计跳转过来的带的参数
this.msg.CourseName = this.$route.query.Name
}
this.getCategorytree();
this.currentUrl = this.$route.path;
this.getcourselist();
......
......@@ -219,11 +219,11 @@
<template v-for="(item,index) in DataList" v-loading="loading">
<tr>
<!-- -合同信息-- -->
<td>{{item.OrderId}}</td>
<td @click="goUrl3('/sale/orderStatistics',item.OrderId)"><span style="cursor: pointer;text-decoration: underline;" >{{item.OrderId}}</span></td>
<td>{{item.CreateTime}}</td>
<td>{{item.ContractNo}}</td>
<td>{{item.CourseName}}</td>
<td>{{item.ClassName}}</td>
<td @click="goUrl('/sale/contractManage',item.ContractNo)"><span style="cursor: pointer;text-decoration: underline;" >{{item.ContractNo}}</span></td>
<td @click="goUrl('/course/course',item.CourseName)"><span style="cursor: pointer;text-decoration: underline;" >{{item.CourseName}}</span></td>
<td @click="goUrl2('/course/classManage',item.ClassName)"><span style="cursor: pointer;text-decoration: underline;" >{{item.ClassName}}</span></td>
<td>{{item.StudentName}}</td>
<td>{{item.CreateByName}}</td>
<td>{{item.TotalClassHours}}</td>
......@@ -626,6 +626,22 @@
}
},
goUrl(path,Name){
this.OpenNewUrl(path, {
Name: Name,
});
},
goUrl2(path,Name){//班级
this.OpenNewUrl(path, {
ClassName: Name,
});
},
goUrl3(path,ID){//订单跳转
this.OpenNewUrl(path, {
OrderId: ID,
});
},
}
}
......
......@@ -250,6 +250,9 @@
},
created() {},
mounted() {
if(this.$route.query && this.$route.query.Name){//从订单完成统计跳转过来的带的参数
this.msg.ContractNo = this.$route.query.Name
}
this.getList()
},
methods: {
......
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