Commit e002774c authored by Mac's avatar Mac

新增订单统计跳转

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