IVUS标准更改
parent
9a040024d9
commit
8b12d6a576
|
@ -49,7 +49,10 @@ function getQuestions(questions) {
|
|||
answerObj.saveTypeEnum = isNaN(parseInt(answerObj.lesionNum)) ? 1 : 2
|
||||
} else if (criterionType === 19) {
|
||||
// ivus
|
||||
answerObj.area1 = getQuestionAnswer(item.TableQuestions.Questions, 1001, answerObj)
|
||||
answerObj.area2 = getQuestionAnswer(item.TableQuestions.Questions, 1002, answerObj)
|
||||
var v = getQuestionAnswer(item.TableQuestions.Questions, 1003, answerObj)
|
||||
answerObj.diff = v
|
||||
answerObj.saveTypeEnum = isNaN(parseFloat(v)) ? 1 : 2
|
||||
} else {
|
||||
answerObj.lesionPart = getQuestionAnswer(item.TableQuestions.Questions, 8, answerObj)
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<!-- <el-form-item
|
||||
<!-- <el-form-item
|
||||
:label="$t('trials:reading:title:lesionType')"
|
||||
prop="LesionType"
|
||||
:rules="[
|
||||
|
@ -383,7 +383,10 @@ export default {
|
|||
if (question.QuestionMark === 1001 || question.QuestionMark === 1002) {
|
||||
this.questionForm[this.getQuestionId(1003)] = this.calculate([1001, 1002], '-')
|
||||
}
|
||||
this.$emit('resetQuestions', { saveTypeEnum: this.questionForm.saveTypeEnum, rowIndex: this.rowIndex, questionId: this.parentQsId, anwsers: this.questionForm })
|
||||
const area1 = this.getQuestionVal(1001)
|
||||
const area2 = this.getQuestionVal(1002)
|
||||
const diff = this.getQuestionVal(1003)
|
||||
this.$emit('resetQuestions', { area1, area2, diff, saveTypeEnum: this.questionForm.saveTypeEnum, rowIndex: this.rowIndex, questionId: this.parentQsId, anwsers: this.questionForm })
|
||||
},
|
||||
calculate(qsMarkArr, type) {
|
||||
var num = 0
|
||||
|
@ -493,7 +496,10 @@ export default {
|
|||
this.$set(this.questionForm, 'saveTypeEnum', 2)
|
||||
this.originalQuestionForm = { ...this.questionForm }
|
||||
this.$set(this.questionForm, 'RowId', res.Result.RowId)
|
||||
this.$emit('resetQuestions', { saveTypeEnum: this.questionForm.saveTypeEnum, rowIndex: this.rowIndex, questionId: this.parentQsId, anwsers: this.questionForm })
|
||||
const area1 = this.getQuestionVal(1001)
|
||||
const area2 = this.getQuestionVal(1002)
|
||||
const diff = this.getQuestionVal(1003)
|
||||
this.$emit('resetQuestions', { area1, area2, diff, saveTypeEnum: this.questionForm.saveTypeEnum, rowIndex: this.rowIndex, questionId: this.parentQsId, anwsers: this.questionForm })
|
||||
this.$emit('close')
|
||||
|
||||
DicomEvent.$emit('refreshQuestions')
|
||||
|
|
|
@ -73,6 +73,19 @@
|
|||
<el-tooltip v-if="readingTaskState<2 && parseInt(item.TableQuestions.Answers[i].saveTypeEnum) ===1" class="item" effect="dark" :content="$t('trials:reading:button:incompleteInfor')" placement="bottom">
|
||||
<i class="el-icon-warning" style="color:#ff9800" />
|
||||
</el-tooltip>
|
||||
<div style="position: absolute;left: 60px;top: 2px;">
|
||||
<div style="display: flex;flex-direction: row;font-size: 11px;width:200px;height: 30px;">
|
||||
<div style="margin-left:10px;">
|
||||
{{ item.TableQuestions.Answers[i].area1 }}m㎡
|
||||
</div>
|
||||
<div style="margin-left:10px;">
|
||||
{{ item.TableQuestions.Answers[i].area2 }}m㎡
|
||||
</div>
|
||||
<div style="margin-left:10px;margin-bottom:5px;">
|
||||
{{ item.TableQuestions.Answers[i].diff }}m㎡
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</template>
|
||||
|
@ -349,7 +362,9 @@ export default {
|
|||
if (item.Type === 'table' && item.Id === obj.questionId) {
|
||||
var idx = item.TableQuestions.Answers.findIndex(i => i.RowIndex === obj.rowIndex)
|
||||
item.TableQuestions.Answers[idx].saveTypeEnum = obj.saveTypeEnum
|
||||
|
||||
item.TableQuestions.Answers[idx].area1 = obj.area1
|
||||
item.TableQuestions.Answers[idx].area2 = obj.area2
|
||||
item.TableQuestions.Answers[idx].diff = obj.diff
|
||||
for (const i in obj.anwsers) {
|
||||
item.TableQuestions.Answers[idx][i] = String(obj.anwsers[i])
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue