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

Commit a051e969 by 李严凡

打分范围限制

parent c590d05c
......@@ -276,7 +276,7 @@
:label="item.templateName"
:value="index">
</el-option>
<el-button @click="createModle">查看</el-button>
<!-- <el-button @click="createModle">查看</el-button>-->
</el-select>
<el-tree
:data="this.pOptions[templateChoose].entityList"
......
......@@ -273,18 +273,23 @@ export default {
parseInt(this.scoreForm.accuracy) < 0
)
this.$message("准确度应在0~100范围内");
else if(
parseInt(this.scoreForm.score) > 100 ||
parseInt(this.scoreForm.score) < 0
)
this.$message("分数范围在0~100");
else {
this.commentScore = false;
this.$message("打分成功");
}
},
submit(){
alert("打分成功");
this.$router.push({path: '/taskhall'});
// alert("inin");
this.axios({
method:"get",
params:{
userId:this.$store.state.userInfo.userId,
......
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