Commit c5af9542 authored by Mac's avatar Mac

修改一些跳转带文字过去

parent 3fd533d4
...@@ -328,7 +328,7 @@ ...@@ -328,7 +328,7 @@
}, },
created() { created() {
if (this.$route.query) { if (this.$route.query) {
this.msg.ClassName = this.$route.query.ClassName this.msg.ClassName = decodeURI(this.$route.query.ClassName)
} }
this.getClassStatus(); this.getClassStatus();
this.getSchool(); this.getSchool();
...@@ -517,9 +517,10 @@ ...@@ -517,9 +517,10 @@
this.isShowClassInfo = true; this.isShowClassInfo = true;
}, },
gomonthLessonCost(row){ gomonthLessonCost(row){
let ClassName = encodeURI(row.ClassName)
this.OpenNewUrl('/course/monthLessonCost' , { this.OpenNewUrl('/course/monthLessonCost' , {
ClassId: row.ClassId, ClassId: row.ClassId,
ClassName: row.ClassName, ClassName: ClassName,
}); });
} }
} }
......
...@@ -332,7 +332,7 @@ ...@@ -332,7 +332,7 @@
}), }),
mounted() { mounted() {
if(this.$route.query && this.$route.query.Name){//从订单完成统计跳转过来的带的参数 if(this.$route.query && this.$route.query.Name){//从订单完成统计跳转过来的带的参数
this.msg.CourseName = this.$route.query.Name this.msg.CourseName = decodeURI(this.$route.query.Name)
} }
this.getCategorytree(); this.getCategorytree();
this.currentUrl = this.$route.path; this.currentUrl = this.$route.path;
......
...@@ -1478,9 +1478,10 @@ ...@@ -1478,9 +1478,10 @@
}) })
}else if(column.title == '已上课时'){ }else if(column.title == '已上课时'){
if(rowData.ClassId>0){ if(rowData.ClassId>0){
let ClassName = encodeURI(rowData.ClassName)
this.OpenNewUrl('/course/monthLessonCost' , { this.OpenNewUrl('/course/monthLessonCost' , {
ClassId: rowData.ClassId, ClassId: rowData.ClassId,
ClassName:rowData.ClassName, ClassName:ClassName,
}); });
} }
} }
......
...@@ -3332,10 +3332,11 @@ ...@@ -3332,10 +3332,11 @@
}, },
jumpbjPage(path, item) { jumpbjPage(path, item) {
if (path == 'classManage') { if (path == 'classManage') {
let Name = encodeURI(item.ClassName)
this.$router.push({ this.$router.push({
path: '/course/' + path, path: '/course/' + path,
query: { query: {
'ClassName': item.ClassName 'ClassName': Name
} }
}) })
} else if (path == 'paymentDetail') { } else if (path == 'paymentDetail') {
......
...@@ -2424,16 +2424,21 @@ ...@@ -2424,16 +2424,21 @@
this.currentPage = 1; this.currentPage = 1;
}, },
goUrl(path, id, Conditon, pageIndex) { goUrl(path, id, Conditon, pageIndex) {
this.$router.push({ this.OpenNewUrl('/financial/financalDocument/' + path, {
path: '/financial/financalDocument/' + path,
query: {
"id": id, "id": id,
"Conditon": Conditon, "Conditon": Conditon,
"pageIndex": pageIndex, "pageIndex": pageIndex,
blank: 'y', });
tab: '单据详情' // this.$router.push({
} // path: '/financial/financalDocument/' + path,
}) // query: {
// "id": id,
// "Conditon": Conditon,
// "pageIndex": pageIndex,
// blank: 'y',
// tab: '单据详情'
// }
// })
}, },
goUrlWeituo(path) { goUrlWeituo(path) {
let tempStr = '/financial/financalDocument/' + path; let tempStr = '/financial/financalDocument/' + path;
......
...@@ -2192,10 +2192,11 @@ ...@@ -2192,10 +2192,11 @@
}, },
jumpbjPage(path, item) { jumpbjPage(path, item) {
if (path == 'classManage') { if (path == 'classManage') {
let Name = encodeURI(item.ClassName)
this.$router.push({ this.$router.push({
path: '/course/' + path, path: '/course/' + path,
query: { query: {
'ClassName': item.ClassName 'ClassName': Name
} }
}) })
} else if (path == 'paymentDetail') { } else if (path == 'paymentDetail') {
......
...@@ -628,12 +628,15 @@ ...@@ -628,12 +628,15 @@
} }
}, },
goUrl(path,Name){ goUrl(path,Names){
let Name = encodeURI(Names)
console.log(Name)
this.OpenNewUrl(path, { this.OpenNewUrl(path, {
Name: Name, Name: Name,
}); });
}, },
goUrl2(path,Name){//班级 goUrl2(path,Names){//班级
let Name = encodeURI(Names)
this.OpenNewUrl(path, { this.OpenNewUrl(path, {
ClassName: Name, ClassName: Name,
}); });
......
...@@ -118,20 +118,6 @@ ...@@ -118,20 +118,6 @@
<el-table-column prop="GuestNum" label="报名人数"> </el-table-column> <el-table-column prop="GuestNum" label="报名人数"> </el-table-column>
<el-table-column prop="JKNum" label="结课人数"> </el-table-column> <el-table-column prop="JKNum" label="结课人数"> </el-table-column>
<el-table-column prop="OrderNum" label="订单数量"> </el-table-column> <el-table-column prop="OrderNum" label="订单数量"> </el-table-column>
<!-- <el-table-column label="操作">
<template slot-scope="scope">
<div class="_icon_btn">
<el-tooltip class="item" effect="dark" content="查看老师" placement="top">
<i class="iconfont icon-sousuo"
@click="goUrl('teacherclassfee',scope.row.AccountId)"></i>
</el-tooltip>
<el-tooltip class="item" effect="dark" content="查看学生" placement="top">
<i class="iconfont icon-sousuo"
@click="goUrl('studentsClassfee',scope.row.AccountId)"></i>
</el-tooltip>
</div>
</template>
</el-table-column> -->
</el-table> </el-table>
<div style="margin-top: 10px;text-align: center;"> <div style="margin-top: 10px;text-align: center;">
......
...@@ -222,7 +222,8 @@ ...@@ -222,7 +222,8 @@
this.msg.EndMonth = this.$route.query.EndMonth this.msg.EndMonth = this.$route.query.EndMonth
} }
if(this.$route.query && this.$route.query.ClassName){ if(this.$route.query && this.$route.query.ClassName){
this.ClassName = [this.$route.query.ClassName] let Name = decodeURI(this.$route.query.ClassName)
this.ClassName = [Name]
} }
}, },
......
...@@ -251,7 +251,7 @@ ...@@ -251,7 +251,7 @@
created() {}, created() {},
mounted() { mounted() {
if(this.$route.query && this.$route.query.Name){//从订单完成统计跳转过来的带的参数 if(this.$route.query && this.$route.query.Name){//从订单完成统计跳转过来的带的参数
this.msg.ContractNo = this.$route.query.Name this.msg.ContractNo = decodeURI(this.$route.query.Name)
} }
this.getList() this.getList()
}, },
......
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