lugano靶病灶保存如果必填信息填写不全,将滚动条滚到顶部
parent
13ac2e2834
commit
1e7237e7ac
|
@ -18,7 +18,7 @@
|
||||||
<i class="el-icon-circle-close" style="font-size: 25px;cursor: pointer;" @click="handleClose" />
|
<i class="el-icon-circle-close" style="font-size: 25px;cursor: pointer;" @click="handleClose" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="height: 420px;overflow-y: auto;overflow-x: hidden;" @scroll.stop="scrollHandle">
|
<div ref="scrollPanel" style="height: 420px;overflow-y: auto;overflow-x: hidden;" @scroll.stop="scrollHandle">
|
||||||
<el-form-item
|
<el-form-item
|
||||||
:label="$t('trials:reading:title:lesionType')"
|
:label="$t('trials:reading:title:lesionType')"
|
||||||
prop="LesionType"
|
prop="LesionType"
|
||||||
|
@ -1182,7 +1182,12 @@ export default {
|
||||||
handleSave() {
|
handleSave() {
|
||||||
console.log('handleSave')
|
console.log('handleSave')
|
||||||
this.$refs.measurementForm.validate(async valid => {
|
this.$refs.measurementForm.validate(async valid => {
|
||||||
if (!valid) return
|
if (!valid) {
|
||||||
|
if(this.lesionType === 0){
|
||||||
|
this.$refs['scrollPanel'].scrollTo({ top: 0, behavior: 'smooth' })
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
||||||
const loading = this.$loading({ fullscreen: true })
|
const loading = this.$loading({ fullscreen: true })
|
||||||
var measureData = this.questionForm.MeasureData
|
var measureData = this.questionForm.MeasureData
|
||||||
var lesionState = this.getQuestionVal(7)
|
var lesionState = this.getQuestionVal(7)
|
||||||
|
|
Loading…
Reference in New Issue