Compare commits

..

No commits in common. "aa526aad8ca268a83626fde8d0409486ce73ca5d" and "adf6bdc44ac1d5fd753d022e3914f0aa83ec1559" have entirely different histories.

2 changed files with 6 additions and 12 deletions

View File

@ -76,13 +76,13 @@
<div style="position: absolute;left: 60px;top: 2px;">
<div style="display: flex;flex-direction: row;font-size: 11px;width:200px;height: 30px;">
<div v-show="item.TableQuestions.Answers[i].area1" style="margin-left:10px;">
{{ numberToFixed(item.TableQuestions.Answers[i].area1,'m㎡') }}
{{ item.TableQuestions.Answers[i].area1 }}m
</div>
<div v-show="item.TableQuestions.Answers[i].area2" style="margin-left:10px;">
{{ numberToFixed(item.TableQuestions.Answers[i].area2,'m㎡') }}
{{ item.TableQuestions.Answers[i].area2 }}m
</div>
<div v-show="item.TableQuestions.Answers[i].diff" style="margin-left:10px;margin-bottom:5px;">
{{ numberToFixed(item.TableQuestions.Answers[i].diff, 'm㎡') }}
{{ item.TableQuestions.Answers[i].diff }}m
</div>
</div>
</div>
@ -610,9 +610,6 @@ export default {
this.$set(this.questionForm, qId, parseFloat(value).toFixed(this.digitPlaces))
}
},
numberToFixed(v, unit){
return isNaN(parseFloat(v)) ? null : `${parseFloat(v).toFixed(this.digitPlaces)}${unit}`
},
async handleSave(index) {
const refName = `questions${index}`
const valid = await this.$refs[refName][0].validate()

View File

@ -76,13 +76,13 @@
<div style="position: absolute;left: 60px;top: 2px;">
<div style="display: flex;flex-direction: row;font-size: 11px;width:200px;height: 30px;">
<div v-show="item.TableQuestions.Answers[i].min && item.LesionType === 101" style="margin-left:10px;">
min: {{ numberToFixed(item.TableQuestions.Answers[i].min,'μm') }}
min: {{ item.TableQuestions.Answers[i].min }}μm
</div>
<div v-show="item.TableQuestions.Answers[i].mean && item.LesionType === 101" style="margin-left:10px;">
mean: {{ numberToFixed(item.TableQuestions.Answers[i].mean,'μm') }}
mean: {{ item.TableQuestions.Answers[i].mean }}μm
</div>
<div v-show="item.TableQuestions.Answers[i].angle && item.LesionType === 103" style="margin-left:10px;">
{{ numberToFixed(item.TableQuestions.Answers[i].angle,'°') }}
{{ item.TableQuestions.Answers[i].angle }}°
</div>
</div>
</div>
@ -617,9 +617,6 @@ export default {
this.$set(this.questionForm, qId, parseFloat(value).toFixed(this.digitPlaces))
}
},
numberToFixed(v, unit){
return isNaN(parseFloat(v)) ? null : `${parseFloat(v).toFixed(this.digitPlaces)}${unit}`
},
async handleSave(index) {
const refName = `questions${index}`
const valid = await this.$refs[refName][0].validate()