Commit 639a14cb by cmosquito

修改了所有页面进入学员详情页都是一个新页面

parent 9adf757b
......@@ -155,13 +155,20 @@ export default {
this.getNewAddClew();
},
handleStuDetail(id) {
this.$router.push({
path: "/pms/stuDetail",
// 跳转学员详情页打开新页面
// this.$router.push({
// path: "/pms/stuDetail",
// query: {
// id: id
// }
// });
const { href } = this.$router.resolve({
path: '/pms/stuDetail',
query: {
id: id
id: id
}
});
// console.log(123);
window.open(href, '_blank');
},
changeTableSort(column) {
console.log("prop", column.prop);
......
......@@ -511,14 +511,20 @@ export default {
},
handleStuDetail(id) {
// 测试用的
this.$router.push({
path: "/pms/stuDetail",
// 跳转学员详情页打开新页面
// this.$router.push({
// path: "/pms/stuDetail",
// query: {
// id: id
// }
// });
const { href } = this.$router.resolve({
path: '/pms/stuDetail',
query: {
id: id
id: id
}
});
// console.log(123);
window.open(href, '_blank');
},
submitForm(formName) {
......
......@@ -213,14 +213,20 @@ export default {
},
handleStuDetail(id) {
// 测试用的
this.$router.push({
path: "/pms/stuDetail",
// 跳转学员详情页打开新页面
// this.$router.push({
// path: "/pms/stuDetail",
// query: {
// id: id
// }
// });
const { href } = this.$router.resolve({
path: '/pms/stuDetail',
query: {
id: id
id: id
}
});
// console.log(123);
window.open(href, '_blank');
},
changeTableSort(column) {
console.log("prop", column.prop);
......
......@@ -296,14 +296,20 @@ export default {
this.$router.push({ path: "/pms/addProduct" });
},
handleStuDetail(id) {
// 测试用的
this.$router.push({
path: "/pms/stuDetail",
// 跳转学员详情页打开新页面
// this.$router.push({
// path: "/pms/stuDetail",
// query: {
// id: id
// }
// });
const { href } = this.$router.resolve({
path: '/pms/stuDetail',
query: {
id: id
id: id
}
});
// console.log(123);
window.open(href, '_blank');
},
handleCurrentChange(val) {
......
......@@ -488,25 +488,22 @@ export default {
},
handleStuDetail(id) {
// 测试用的
this.$router.push({
path: "/pms/stuDetail",
// 跳转学员详情页打开新页面
// this.$router.push({
// path: "/pms/stuDetail",
// query: {
// id: id
// }
// });
const { href } = this.$router.resolve({
path: '/pms/stuDetail',
query: {
id: id
id: id
}
});
// console.log(123);
},
handleStuDetail(id) {
// 跳到学员详情
this.$router.push({
path: "/pms/stuDetail",
query: {
id: id
}
});
// console.log(123);
window.open(href, '_blank');
},
handleCurrentChange(val) {
// 翻页
this.listQuery.pageNum = val;
......
......@@ -255,14 +255,20 @@ export default {
this.getData();
},
handleStuDetail(id) {
// 测试用的
this.$router.push({
path: "/pms/stuDetail",
// 跳转学员详情页打开新页面
// this.$router.push({
// path: "/pms/stuDetail",
// query: {
// id: id
// }
// });
const { href } = this.$router.resolve({
path: '/pms/stuDetail',
query: {
id: id
id: id
}
});
// console.log(123);
window.open(href, '_blank');
},
changeTableSort(column) {
console.log("prop", column.prop);
......
......@@ -278,14 +278,20 @@ export default {
this.getNewAddClew();
},
handleStuDetail(id) {
// 测试用的
this.$router.push({
path: "/pms/stuDetail",
// 跳转学员详情页打开新页面
// this.$router.push({
// path: "/pms/stuDetail",
// query: {
// id: id
// }
// });
const { href } = this.$router.resolve({
path: '/pms/stuDetail',
query: {
id: id
id: id
}
});
// console.log(123);
window.open(href, '_blank');
},
handleAddRecord(id) {
this.chatRecord = {};
......
......@@ -212,14 +212,20 @@ export default {
this.getNewStu();
},
handleStuDetail(id) {
// 测试用的
this.$router.push({
path: "/pms/stuDetail",
// 跳转学员详情页打开新页面
// this.$router.push({
// path: "/pms/stuDetail",
// query: {
// id: id
// }
// });
const { href } = this.$router.resolve({
path: '/pms/stuDetail',
query: {
id: id
id: id
}
});
// console.log(123);
window.open(href, '_blank');
},
changeTableSort(column) {
console.log("prop", column.prop);
......
......@@ -555,14 +555,20 @@ export default {
this.$router.push({ path: "/pms/addProduct" });
},
handleStuDetail(id) {
// 测试用的
this.$router.push({
path: "/pms/stuDetail",
// 跳转学员详情页打开新页面
// this.$router.push({
// path: "/pms/stuDetail",
// query: {
// id: id
// }
// });
const { href } = this.$router.resolve({
path: '/pms/stuDetail',
query: {
id: id
id: id
}
});
// console.log(123);
window.open(href, '_blank');
},
handleCurrentChange(val) {
......
......@@ -270,14 +270,20 @@ export default {
this.getNewUnChatUser();
},
handleStuDetail(id) {
// 测试用的
this.$router.push({
path: "/pms/stuDetail",
// 跳转学员详情页打开新页面
// this.$router.push({
// path: "/pms/stuDetail",
// query: {
// id: id
// }
// });
const { href } = this.$router.resolve({
path: '/pms/stuDetail',
query: {
id: id
id: id
}
});
// console.log(123);
window.open(href, '_blank');
},
handleAddRecord(id) {
this.chatRecord = {};
......
......@@ -479,14 +479,20 @@ export default {
},
handleStuDetail(id) {
// 测试用的
this.$router.push({
path: "/pms/stuDetail",
// 跳转学员详情页打开新页面
// this.$router.push({
// path: "/pms/stuDetail",
// query: {
// id: id
// }
// });
const { href } = this.$router.resolve({
path: '/pms/stuDetail',
query: {
id: id
id: id
}
});
// console.log(123);
window.open(href, '_blank');
},
changeTableSort(column) {
// console.log("prop", column.prop);
......
......@@ -249,13 +249,20 @@ export default {
this.getData();
},
handleStuDetail(id) {
this.$router.push({
path: "/pms/stuDetail",
// 跳转学员详情页打开新页面
// this.$router.push({
// path: "/pms/stuDetail",
// query: {
// id: id
// }
// });
const { href } = this.$router.resolve({
path: '/pms/stuDetail',
query: {
id: id
id: id
}
});
// console.log(123);
window.open(href, '_blank');
},
changeTableSort(column) {
console.log("prop", column.prop);
......
......@@ -447,14 +447,20 @@ export default {
this.getData();
},
handleStuDetail(id) {
// 测试用的
this.$router.push({
path: "/pms/stuDetail",
// 跳转学员详情页打开新页面
// this.$router.push({
// path: "/pms/stuDetail",
// query: {
// id: id
// }
// });
const { href } = this.$router.resolve({
path: '/pms/stuDetail',
query: {
id: id
id: id
}
});
// console.log(123);
window.open(href, '_blank');
},
changeTableSort(column) {
// console.log("prop", column.prop);
......
......@@ -186,14 +186,20 @@ export default {
},
handleStuDetail(id) {
// 测试用的
this.$router.push({
path: "/pms/stuDetail",
// 跳转学员详情页打开新页面
// this.$router.push({
// path: "/pms/stuDetail",
// query: {
// id: id
// }
// });
const { href } = this.$router.resolve({
path: '/pms/stuDetail',
query: {
id: id
id: id
}
});
// console.log(123);
window.open(href, '_blank');
},
changeTableSort(column) {
console.log("prop", column.prop);
......
......@@ -229,13 +229,20 @@ export default {
this.getData();
},
handleStuDetail(id) {
this.$router.push({
path: "/pms/stuDetail",
// 跳转学员详情页打开新页面
// this.$router.push({
// path: "/pms/stuDetail",
// query: {
// id: id
// }
// });
const { href } = this.$router.resolve({
path: '/pms/stuDetail',
query: {
id: id
id: id
}
});
// console.log(123);
window.open(href, '_blank');
},
changeTableSort(column) {
console.log("prop", column.prop);
......
......@@ -169,13 +169,20 @@ export default {
},
handleStuDetail(id) {
this.$router.push({
path: "/pms/stuDetail",
// 跳转学员详情页打开新页面
// this.$router.push({
// path: "/pms/stuDetail",
// query: {
// id: id
// }
// });
const { href } = this.$router.resolve({
path: '/pms/stuDetail',
query: {
id: id
id: id
}
});
// console.log(123);
window.open(href, '_blank');
},
changeTableSort(column) {
console.log("prop", column.prop);
......
......@@ -291,13 +291,20 @@ export default {
},
handleStuDetail(id) {
this.$router.push({
path: "/pms/stuDetail",
// 跳转学员详情页打开新页面
// this.$router.push({
// path: "/pms/stuDetail",
// query: {
// id: id
// }
// });
const { href } = this.$router.resolve({
path: '/pms/stuDetail',
query: {
id: id
id: id
}
});
// console.log(123);
window.open(href, '_blank');
},
changeTableSort(column) {
console.log("prop", column.prop);
......
......@@ -519,14 +519,20 @@ export default {
},
handleStuDetail(id) {
// 跳到学员详情
this.$router.push({
path: "/pms/stuDetail",
// 跳转学员详情页打开新页面
// this.$router.push({
// path: "/pms/stuDetail",
// query: {
// id: id
// }
// });
const { href } = this.$router.resolve({
path: '/pms/stuDetail',
query: {
id: id
id: id
}
});
// console.log(123);
window.open(href, '_blank');
},
handleCurrentChange(val) {
// 翻页
......
......@@ -471,14 +471,21 @@ export default {
this.$router.push({ path: "/pms/addProduct" });
},
handleStuDetail(id) {
// 测试用的
this.$router.push({
path: "/pms/stuDetail",
// 跳转学员详情页打开新页面
// this.$router.push({
// path: "/pms/stuDetail",
// query: {
// id: id
// }
// });
const { href } = this.$router.resolve({
path: '/pms/stuDetail',
query: {
id: id
id: id
}
});
// console.log(123);
window.open(href, '_blank');
},
handleCurrentChange(val) {
......
......@@ -340,13 +340,20 @@ export default {
},
handleStuDetail(id) {
this.$router.push({
path: "/pms/stuDetail",
// 跳转学员详情页打开新页面
// this.$router.push({
// path: "/pms/stuDetail",
// query: {
// id: id
// }
// });
const { href } = this.$router.resolve({
path: '/pms/stuDetail',
query: {
id: id
id: id
}
});
// console.log(123);
window.open(href, '_blank');
},
changeTableSort(column) {
console.log("prop", column.prop);
......
......@@ -502,14 +502,20 @@ export default {
this.$router.push({ path: "/pms/addProduct" });
},
handleStuDetail(id) {
// 测试用的
this.$router.push({
path: "/pms/stuDetail",
// 跳转学员详情页打开新页面
// this.$router.push({
// path: "/pms/stuDetail",
// query: {
// id: id
// }
// });
const { href } = this.$router.resolve({
path: '/pms/stuDetail',
query: {
id: id
id: id
}
});
// console.log(123);
window.open(href, '_blank');
},
handleCurrentChange(val) {
......
......@@ -343,14 +343,20 @@ export default {
this.getData();
},
handleStuDetail(id) {
// 测试用的
this.$router.push({
path: "/pms/stuDetail",
// 跳转学员详情页打开新页面
// this.$router.push({
// path: "/pms/stuDetail",
// query: {
// id: id
// }
// });
const { href } = this.$router.resolve({
path: '/pms/stuDetail',
query: {
id: id
id: id
}
});
// console.log(123);
window.open(href, '_blank');
},
changeTableSort(column) {
console.log("prop", column.prop);
......
......@@ -242,14 +242,20 @@ export default {
}
},
handleStuDetail(id) {
// 测试用的
this.$router.push({
path: "/pms/stuDetail",
// 跳转学员详情页打开新页面
// this.$router.push({
// path: "/pms/stuDetail",
// query: {
// id: id
// }
// });
const { href } = this.$router.resolve({
path: '/pms/stuDetail',
query: {
id: id
id: id
}
});
// console.log(123);
window.open(href, '_blank');
},
del() {
// this.$refs[formName].validate(valid => {
......
......@@ -424,14 +424,20 @@ export default {
this.$router.push({ path: "/pms/addProduct" });
},
handleStuDetail(id) {
// 测试用的
this.$router.push({
path: "/pms/stuDetail",
// 跳转学员详情页打开新页面
// this.$router.push({
// path: "/pms/stuDetail",
// query: {
// id: id
// }
// });
const { href } = this.$router.resolve({
path: '/pms/stuDetail',
query: {
id: id
id: id
}
});
// console.log(123);
window.open(href, '_blank');
},
handleCurrentChange(val) {
......
......@@ -216,14 +216,20 @@ export default {
this.getData();
},
handleStuDetail(id) {
// 测试用的
this.$router.push({
path: "/pms/stuDetail",
// 跳转学员详情页打开新页面
// this.$router.push({
// path: "/pms/stuDetail",
// query: {
// id: id
// }
// });
const { href } = this.$router.resolve({
path: '/pms/stuDetail',
query: {
id: id
id: id
}
});
// console.log(123);
window.open(href, '_blank');
},
changeTableSort(column) {
console.log("prop", column.prop);
......
......@@ -178,13 +178,20 @@ export default {
},
handleStuDetail(id) {
this.$router.push({
path: "/pms/stuDetail",
// 跳转学员详情页打开新页面
// this.$router.push({
// path: "/pms/stuDetail",
// query: {
// id: id
// }
// });
const { href } = this.$router.resolve({
path: '/pms/stuDetail',
query: {
id: id
id: id
}
});
// console.log(123);
window.open(href, '_blank');
},
changeTableSort(column) {
console.log("prop", column.prop);
......
......@@ -525,14 +525,20 @@ export default {
this.$router.push({ path: "/pms/addProduct" });
},
handleStuDetail(id) {
// 测试用的
this.$router.push({
path: "/pms/stuDetail",
// 跳转学员详情页打开新页面
// this.$router.push({
// path: "/pms/stuDetail",
// query: {
// id: id
// }
// });
const { href } = this.$router.resolve({
path: '/pms/stuDetail',
query: {
id: id
id: id
}
});
// console.log(123);
window.open(href, '_blank');
},
handleCurrentChange(val) {
......
......@@ -521,12 +521,20 @@ export default {
this.$router.push({ path: "/pms/addProduct" });
},
handleStuDetail(id) {
this.$router.push({
path: "/pms/stuDetail",
// 跳转学员详情页打开新页面
// this.$router.push({
// path: "/pms/stuDetail",
// query: {
// id: id
// }
// });
const { href } = this.$router.resolve({
path: '/pms/stuDetail',
query: {
id: id
id: id
}
});
window.open(href, '_blank');
},
handleCurrentChange(val) {
......
......@@ -227,14 +227,20 @@ export default {
this.getSingleTag();
},
handleStuDetail(id) {
// 测试用的
this.$router.push({
path: "/pms/stuDetail",
// 跳转学员详情页打开新页面
// this.$router.push({
// path: "/pms/stuDetail",
// query: {
// id: id
// }
// });
const { href } = this.$router.resolve({
path: '/pms/stuDetail',
query: {
id: id
id: id
}
});
// console.log(123);
window.open(href, '_blank');
},
del() {
// this.$refs[formName].validate(valid => {
......
......@@ -223,14 +223,20 @@ export default {
},
handleStuDetail(id) {
// 测试用的
this.$router.push({
path: "/pms/stuDetail",
// 跳转学员详情页打开新页面
// this.$router.push({
// path: "/pms/stuDetail",
// query: {
// id: id
// }
// });
const { href } = this.$router.resolve({
path: '/pms/stuDetail',
query: {
id: id
id: id
}
});
// console.log(123);
window.open(href, '_blank');
},
submitForm(formName) {
......
......@@ -231,14 +231,20 @@ export default {
},
handleStuDetail(id) {
// 测试用的
this.$router.push({
path: "/pms/stuDetail",
// 跳转学员详情页打开新页面
// this.$router.push({
// path: "/pms/stuDetail",
// query: {
// id: id
// }
// });
const { href } = this.$router.resolve({
path: '/pms/stuDetail',
query: {
id: id
id: id
}
});
// console.log(123);
window.open(href, '_blank');
},
submitForm(formName) {
......
......@@ -423,14 +423,20 @@ export default {
this.$router.push({ path: "/pms/addProduct" });
},
handleStuDetail(id) {
// 测试用的
this.$router.push({
path: "/pms/stuDetail",
// 跳转学员详情页打开新页面
// this.$router.push({
// path: "/pms/stuDetail",
// query: {
// id: id
// }
// });
const { href } = this.$router.resolve({
path: '/pms/stuDetail',
query: {
id: id
id: id
}
});
// console.log(123);
window.open(href, '_blank');
},
handleCurrentChange(val) {
......
......@@ -579,14 +579,20 @@ export default {
this.$router.push({ path: "/pms/addProduct" });
},
handleStuDetail(id) {
// 测试用的
this.$router.push({
path: "/pms/stuDetail",
// 跳转学员详情页打开新页面
// this.$router.push({
// path: "/pms/stuDetail",
// query: {
// id: id
// }
// });
const { href } = this.$router.resolve({
path: '/pms/stuDetail',
query: {
id: id
id: id
}
});
// console.log(123);
window.open(href, '_blank');
},
handleCurrentChange(val) {
......
......@@ -571,14 +571,20 @@ export default {
this.$router.push({ path: "/pms/addProduct" });
},
handleStuDetail(id) {
// 测试用的
this.$router.push({
path: "/pms/stuDetail",
// 跳转学员详情页打开新页面
// this.$router.push({
// path: "/pms/stuDetail",
// query: {
// id: id
// }
// });
const { href } = this.$router.resolve({
path: '/pms/stuDetail',
query: {
id: id
id: id
}
});
// console.log(123);
window.open(href, '_blank');
},
handleCurrentChange(val) {
......
......@@ -467,14 +467,20 @@ export default {
this.$router.push({ path: "/pms/addProduct" });
},
handleStuDetail(id) {
// 测试用的
this.$router.push({
path: "/pms/stuDetail",
// 跳转学员详情页打开新页面
// this.$router.push({
// path: "/pms/stuDetail",
// query: {
// id: id
// }
// });
const { href } = this.$router.resolve({
path: '/pms/stuDetail',
query: {
id: id
id: id
}
});
// console.log(123);
window.open(href, '_blank');
},
handleCurrentChange(val) {
......
......@@ -751,14 +751,20 @@ export default {
this.$router.push({ path: "/pms/addProduct" });
},
handleStuDetail(id) {
// 测试用的
this.$router.push({
path: "/pms/stuDetail",
// 跳转学员详情页打开新页面
// this.$router.push({
// path: "/pms/stuDetail",
// query: {
// id: id
// }
// });
const { href } = this.$router.resolve({
path: '/pms/stuDetail',
query: {
id: id
id: id
}
});
// console.log(123);
window.open(href, '_blank');
},
handleCurrentChange(val) {
......
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