|
|
|
@ -90,10 +90,9 @@ export default { |
|
|
|
|
pageNo: 1, |
|
|
|
|
pageSize: 10, |
|
|
|
|
currentPage: 1, |
|
|
|
|
systemId: "", |
|
|
|
|
userId: "", |
|
|
|
|
systemName: "", |
|
|
|
|
host: location.host.includes('liuwanr.cn') ? 'http://www.liuwanr.cn' : 'http://www.occupationlab.com' |
|
|
|
|
systemId: this.$route.query.systemId, |
|
|
|
|
userId: this.$route.query.userId, |
|
|
|
|
systemName: this.$route.query.systemName, |
|
|
|
|
}; |
|
|
|
|
}, |
|
|
|
|
components: {quill}, |
|
|
|
@ -106,6 +105,8 @@ export default { |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
mounted() { |
|
|
|
|
console.log(11,this.$route.query.token) |
|
|
|
|
this.$route.query.token && this.$store.commit('setParam',{token: atob(decodeURI(this.$route.query.token)),referrer: atob(decodeURI(this.$route.query.referrer))}) |
|
|
|
|
this.handleCurrentChange(this.pageNo); |
|
|
|
|
}, |
|
|
|
|
methods: { |
|
|
|
@ -126,14 +127,9 @@ export default { |
|
|
|
|
handleCurrentChange(val) { |
|
|
|
|
this.$get(`${this.api.queryUserIds}`).then(res => { |
|
|
|
|
this.pageNo = val; |
|
|
|
|
this.systemId = this.getCookie("systemId"); |
|
|
|
|
this.systemId = this.systemId ? this.systemId : 1 |
|
|
|
|
this.systemName = this.getCookie("systemName"); |
|
|
|
|
this.userId = this.getCookie("userId"); |
|
|
|
|
this.$get(this.api.QueryPointOfJudgement, { |
|
|
|
|
systemId: this.systemId, |
|
|
|
|
userId: this.userId, |
|
|
|
|
// systemId: 1, |
|
|
|
|
pageNum: this.pageNo, |
|
|
|
|
pageSize: this.pageSize, |
|
|
|
|
queryName: this.keyword, |
|
|
|
@ -172,7 +168,7 @@ export default { |
|
|
|
|
// this.setCookie("judgmentPointsId", ""); |
|
|
|
|
// console.log(this.getCookie("judgmentPointsId")); |
|
|
|
|
// this.$router.push({ path: "/program" }); |
|
|
|
|
this.$router.push({ path: "/program" }); |
|
|
|
|
this.$router.push(`program?systemId=${this.systemId}&userId=${this.userId}`); |
|
|
|
|
}, |
|
|
|
|
// 表头样式设置 |
|
|
|
|
headClass() { |
|
|
|
@ -237,10 +233,7 @@ export default { |
|
|
|
|
}, |
|
|
|
|
// 编辑 |
|
|
|
|
handleClick(res) { |
|
|
|
|
this.$router.push({ |
|
|
|
|
path: "/program", |
|
|
|
|
query: { judgmentPointsId: res.judgmentPointsId } |
|
|
|
|
}); |
|
|
|
|
this.$router.push(`program?judgmentPointsId=${res.judgmentPointsId}&systemId=${this.systemId}&userId=${this.userId}`) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|