|
@@ -2415,7 +2415,7 @@
|
|
|
<div class="psBox">
|
|
|
<div>
|
|
|
<!-- <span>总分</span -->
|
|
|
- <span>评分(总分100)分</span>
|
|
|
+ <span>评分(总分100分)</span>
|
|
|
<el-input
|
|
|
class="number"
|
|
|
placeholder="请输入评分"
|
|
@@ -2563,6 +2563,7 @@
|
|
|
width="100%"
|
|
|
:before-close="handleClose"
|
|
|
class="dialog_diy"
|
|
|
+ :show-close="false"
|
|
|
:class="{ fullStyle: full }"
|
|
|
>
|
|
|
<div slot="title" class="header-title">
|
|
@@ -2574,6 +2575,7 @@
|
|
|
alt=""
|
|
|
@click="fullTools"
|
|
|
/>
|
|
|
+ <span class="hTitleBack" @click.stop='dialogVisible = false'>返回</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
<pdf
|
|
@@ -2861,19 +2863,19 @@ export default {
|
|
|
// }
|
|
|
// },
|
|
|
setScore(e) {
|
|
|
- let newValue = parseInt(e);
|
|
|
- if(!newValue){
|
|
|
- this.$message.error("请输入分数,请重新评分")
|
|
|
- this.scoreDetail[0].scoreAll.first = '';
|
|
|
- }
|
|
|
- if(newValue<0){
|
|
|
- this.$message.error("当前评分小于0,请重新评分")
|
|
|
- this.scoreDetail[0].scoreAll.first = '';
|
|
|
- }
|
|
|
- if(newValue>100){
|
|
|
- this.$message.error("当前评分超出最高分,请重新评分")
|
|
|
- this.scoreDetail[0].scoreAll.first = '';
|
|
|
- }
|
|
|
+ // let newValue = parseFloat(e);
|
|
|
+ // if(!newValue){
|
|
|
+ // return this.$message.error("请输入分数,请重新评分")
|
|
|
+ // //this.scoreDetail[0].scoreAll.first = '';
|
|
|
+ // }
|
|
|
+ // if(newValue<0){
|
|
|
+ // return this.$message.error("当前评分小于0,请重新评分")
|
|
|
+ // // this.scoreDetail[0].scoreAll.first = '';
|
|
|
+ // }
|
|
|
+ // if(newValue>100){
|
|
|
+ // return this.$message.error("当前评分超出最高分,请重新评分")
|
|
|
+ // // this.scoreDetail[0].scoreAll.first = '';
|
|
|
+ // }
|
|
|
this.scoreDetail[0].scoreAll.second = this.scoreDetail[0].scoreAll.first;
|
|
|
this.scoreDetail[0].scoreAll.third = this.scoreDetail[0].scoreAll.first;
|
|
|
this.$forceUpdate();
|
|
@@ -3018,6 +3020,21 @@ export default {
|
|
|
this.$message.error("请填写案例评分");
|
|
|
return reject(false);
|
|
|
}
|
|
|
+ let newValue = parseFloat(this.scoreDetail[0].scoreAll.first);
|
|
|
+ if(!newValue){
|
|
|
+ this.$message.error("请输入分数,请重新评分")
|
|
|
+ return reject(false)
|
|
|
+ //this.scoreDetail[0].scoreAll.first = '';
|
|
|
+ }
|
|
|
+ if(newValue<0){
|
|
|
+ this.$message.error("当前评分小于0,请重新评分")
|
|
|
+ return reject(false)
|
|
|
+ // this.scoreDetail[0].scoreAll.first = '';
|
|
|
+ }
|
|
|
+ if(newValue>100){
|
|
|
+ this.$message.error("当前评分超出最高分,请重新评分")
|
|
|
+ return reject(false)
|
|
|
+ }
|
|
|
// else if (this.scoreDetail[0].scoreAll.second == "") {
|
|
|
// this.$message.error("请将信息填写完整");
|
|
|
// return;
|
|
@@ -4754,6 +4771,15 @@ body {
|
|
|
}
|
|
|
.header-title {
|
|
|
display: flex;
|
|
|
+ align-items:center;
|
|
|
+}
|
|
|
+.hTitleBack{
|
|
|
+ color:white;
|
|
|
+ margin-left:20px;
|
|
|
+ position:relative;
|
|
|
+ cursor:pointer;
|
|
|
+ top:-3px;
|
|
|
+ left:10px;
|
|
|
}
|
|
|
.logoImg {
|
|
|
width: 30px;
|