| | |
| | | <p |
| | | class="illustrate" |
| | | v-if="this.poepleinfo.isAssessmentOk==false" |
| | | >说明:对当前评分,权重占{{this.poepleinfo.weight}}%,评分范围(100分制)±50</p> |
| | | >说明:对当前评分,权重占{{this.poepleinfo.weight}}%,评分范围(100分制)±{{this.poepleinfo.rangeVal=='-1'?50:this.poepleinfo.rangeVal}}</p> |
| | | <div v-if="this.poepleinfo.isAssessmentOk==false" class="todetails"> |
| | | <p class="title">评分</p> |
| | | <van-field |
| | |
| | | <p |
| | | class="illustrate" |
| | | v-if="this.poepleinfo.isAssessmentOk==true" |
| | | >说明:对当前评分,权重占{{this.poepleinfo.weight}}%,评分范围(100分制)±50</p> |
| | | >说明:对当前评分,权重占{{this.poepleinfo.weight}}%,评分范围(100分制)±{{this.poepleinfo.rangeVal=='-1'?50:this.poepleinfo.rangeVal}}</p> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | methods: { |
| | | submit() { |
| | | let beId = ""; |
| | | if (parseFloat(this.score) > 150) { |
| | | let outRange = |
| | | this.poepleinfo.rangeVal == "-1" ? 50 : this.poepleinfo.rangeVal; |
| | | if (parseFloat(this.score) > 100 + outRange) { |
| | | this.$toast.fail("超出评分范围"); |
| | | } else if (parseFloat(this.score) < 50) { |
| | | } else if (parseFloat(this.score) < 100 - outRange) { |
| | | this.$toast.fail("低于评分范围"); |
| | | } else { |
| | | if (this.poepleinfo.assessmentTaskVO.type == 0) { |