文档服务地址:http://47.92.0.57:3000/ 周报索引地址:http://47.92.0.57:3000/s/NruNXRYmV

Commit 664a5b43 by 李严凡

审核打分逻辑修改

parent c370727c
...@@ -930,6 +930,7 @@ export default { ...@@ -930,6 +930,7 @@ export default {
}, },
submit() { submit() {
// alert("打分成功"); // alert("打分成功");
console.log(this.$route.params)
if(this.scoreForm.score == '' || this.scoreForm.accuracy == ''){ if(this.scoreForm.score == '' || this.scoreForm.accuracy == ''){
alert("请打分和填写准确率"); alert("请打分和填写准确率");
return; return;
...@@ -937,7 +938,7 @@ export default { ...@@ -937,7 +938,7 @@ export default {
this.axios({ this.axios({
method: "get", method: "get",
params: { params: {
userId: this.$store.state.userInfo.userId, userId: this.$route.params.executor.id,
fileId: this.$route.params.file.id, fileId: this.$route.params.file.id,
scoreForm: this.scoreForm scoreForm: this.scoreForm
}, },
......
...@@ -194,7 +194,7 @@ ...@@ -194,7 +194,7 @@
let routeParams = this.$route.params let routeParams = this.$route.params
console.log("routeParams") console.log("routeParams")
console.log(routeParams) console.log(routeParams)
this.relationId = routeParams.relationId this.relationId = routeParams.relationId
this.description = routeParams.piece.template this.description = routeParams.piece.template
let res = await this.getLayerList() let res = await this.getLayerList()
...@@ -789,6 +789,8 @@ ...@@ -789,6 +789,8 @@
}, },
submit() { submit() {
// alert("打分成功"); // alert("打分成功");
// console.log("route:")
// console.log(this.$route.params.executor.id)
if(this.scoreForm.score == '' || this.scoreForm.accuracy == ''){ if(this.scoreForm.score == '' || this.scoreForm.accuracy == ''){
alert("请打分和填写准确率"); alert("请打分和填写准确率");
return; return;
...@@ -796,7 +798,7 @@ ...@@ -796,7 +798,7 @@
this.axios({ this.axios({
method: "get", method: "get",
params: { params: {
userId: this.$store.state.userInfo.userId, userId: this.$route.params.executor.id,
fileId: this.$route.params.file.id, fileId: this.$route.params.file.id,
scoreForm: this.scoreForm scoreForm: this.scoreForm
}, },
......
...@@ -210,6 +210,8 @@ export default { ...@@ -210,6 +210,8 @@ export default {
}, },
// 打分 // 打分
addScore() { addScore() {
// alert("Inin")
// console.log(this.$route.params.executor.id)
if (this.scoreForm.accuracy == "" || this.scoreForm.score == "") if (this.scoreForm.accuracy == "" || this.scoreForm.score == "")
this.$message("请输入内容"); this.$message("请输入内容");
else if ( else if (
...@@ -239,13 +241,13 @@ export default { ...@@ -239,13 +241,13 @@ export default {
} }
}, },
submit() { submit() {
alert("打分成功"); // alert("打分成功");
// this.$router.push({ path: "/taskhall" }); // this.$router.push({ path: "/taskhall" });
// alert("inin"); // alert("inin");
this.axios({ this.axios({
method: "get", method: "get",
params: { params: {
userId: this.$store.state.userInfo.userId, userId: this.$route.params.executor.id,
fileId: this.file.id, fileId: this.file.id,
scoreForm: this.scoreForm scoreForm: this.scoreForm
}, },
......
...@@ -288,14 +288,14 @@ export default { ...@@ -288,14 +288,14 @@ export default {
}, },
submit(){ submit(){
alert("打分成功"); // alert("打分成功");
// this.$router.push({path: '/taskhall'}); // this.$router.push({path: '/taskhall'});
// alert("inin"); // alert("inin");
this.axios({ this.axios({
method:"get", method:"get",
params:{ params:{
userId:this.$store.state.userInfo.userId, userId:this.$route.params.executor.id,
fileId:this.file.id, fileId:this.file.id,
scoreForm:this.scoreForm scoreForm:this.scoreForm
}, },
......
参加过一次软院心理讲座,但是未录入
有博雅记录的一共4次
总共5次博雅
\ No newline at end of file
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