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