Commit c5af9542 authored by Mac's avatar Mac

修改一些跳转带文字过去

parent 3fd533d4
......@@ -328,7 +328,7 @@
},
created() {
if (this.$route.query) {
this.msg.ClassName = this.$route.query.ClassName
this.msg.ClassName = decodeURI(this.$route.query.ClassName)
}
this.getClassStatus();
this.getSchool();
......@@ -517,9 +517,10 @@
this.isShowClassInfo = true;
},
gomonthLessonCost(row){
let ClassName = encodeURI(row.ClassName)
this.OpenNewUrl('/course/monthLessonCost' , {
ClassId: row.ClassId,
ClassName: row.ClassName,
ClassName: ClassName,
});
}
}
......
......@@ -332,7 +332,7 @@
}),
mounted() {
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.currentUrl = this.$route.path;
......
......@@ -1478,9 +1478,10 @@
})
}else if(column.title == '已上课时'){
if(rowData.ClassId>0){
let ClassName = encodeURI(rowData.ClassName)
this.OpenNewUrl('/course/monthLessonCost' , {
ClassId: rowData.ClassId,
ClassName:rowData.ClassName,
ClassName:ClassName,
});
}
}
......
......@@ -3332,10 +3332,11 @@
},
jumpbjPage(path, item) {
if (path == 'classManage') {
let Name = encodeURI(item.ClassName)
this.$router.push({
path: '/course/' + path,
query: {
'ClassName': item.ClassName
'ClassName': Name
}
})
} else if (path == 'paymentDetail') {
......
......@@ -2424,16 +2424,21 @@
this.currentPage = 1;
},
goUrl(path, id, Conditon, pageIndex) {
this.$router.push({
path: '/financial/financalDocument/' + path,
query: {
"id": id,
this.OpenNewUrl('/financial/financalDocument/' + path, {
"id": id,
"Conditon": Conditon,
"pageIndex": pageIndex,
blank: 'y',
tab: '单据详情'
}
})
});
// this.$router.push({
// path: '/financial/financalDocument/' + path,
// query: {
// "id": id,
// "Conditon": Conditon,
// "pageIndex": pageIndex,
// blank: 'y',
// tab: '单据详情'
// }
// })
},
goUrlWeituo(path) {
let tempStr = '/financial/financalDocument/' + path;
......
......@@ -2192,10 +2192,11 @@
},
jumpbjPage(path, item) {
if (path == 'classManage') {
let Name = encodeURI(item.ClassName)
this.$router.push({
path: '/course/' + path,
query: {
'ClassName': item.ClassName
'ClassName': Name
}
})
} else if (path == 'paymentDetail') {
......
......@@ -628,12 +628,15 @@
}
},
goUrl(path,Name){
goUrl(path,Names){
let Name = encodeURI(Names)
console.log(Name)
this.OpenNewUrl(path, {
Name: Name,
});
},
goUrl2(path,Name){//班级
goUrl2(path,Names){//班级
let Name = encodeURI(Names)
this.OpenNewUrl(path, {
ClassName: Name,
});
......
......@@ -118,20 +118,6 @@
<el-table-column prop="GuestNum" 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 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>
<div style="margin-top: 10px;text-align: center;">
......
......@@ -222,7 +222,8 @@
this.msg.EndMonth = this.$route.query.EndMonth
}
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 @@
created() {},
mounted() {
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()
},
......
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