| | |
| | | clickable |
| | | @touchstart.stop="show = true" |
| | | /> |
| | | <van-number-keyboard v-model="score" :show="show" :maxlength="6" @blur="show = false" /> |
| | | <van-number-keyboard v-model="score" :show="show" :maxlength="6" extra-key="." @blur="show = false" /> |
| | | <p class="title">评分说明</p> |
| | | <van-field v-model="instructions" rows="3" type="textarea" placeholder="请描述" /> |
| | | <van-button type="primary" block @click="submit()" :disabled="disabledsubmit">提交</van-button> |
| | |
| | | methods: { |
| | | submit() { |
| | | let beId = ""; |
| | | let outRange = |
| | | this.poepleinfo.rangeVal == "-1" ? 50 : this.poepleinfo.rangeVal; |
| | | let outRange =this.poepleinfo.rangeVal; |
| | | if (parseFloat(this.score) > 100 + outRange) { |
| | | this.$toast.fail("超出评分范围"); |
| | | } else if (parseFloat(this.score) < 100 - outRange) { |