修改脾脏状态自动计算缺陷

uat_us
caiyiling 2024-01-15 16:45:19 +08:00
parent 8d3d7c6db9
commit bd843fd186
3 changed files with 48 additions and 50 deletions

View File

@ -4,7 +4,8 @@ src/utils/*
public
dist
src/*
# src/*
src/views/trials/trials-panel/reading/global-review/*
src/views/dictionary/checkConfig/*
src/views/trials/trials-panel/trial-summary/*
src/main.js

View File

@ -345,7 +345,6 @@ export default {
// return
// }
if (question.QuestionType === 49) {
console.log(question,v)
this.$emit('setFormItemData', { key: question.Id, val: v })
}
if (question.Childrens.length > 0) {

View File

@ -63,7 +63,7 @@ export default {
isQulityIssues: {
type: Boolean,
default: true
},
}
},
data() {
return {
@ -119,7 +119,6 @@ export default {
},
methods: {
async getQuestions(visitTaskId) {
console.log('getQuestions')
this.visitTaskId = visitTaskId
// const loading = this.$loading({ fullscreen: true })
var idx = this.visitTaskList.findIndex(i => i.VisitTaskId === visitTaskId)
@ -196,7 +195,6 @@ export default {
if (i.QuestionType === 48) {
//
this.spleenLengthId = i.Id
}
if (i.QuestionType === 58) {
//
@ -487,7 +485,7 @@ export default {
var diffFromBaseline = length - this.spleenInfo.BaseLineSpleenLength
var percentFormBaseline = 0
if (this.spleenInfo.BaseLineSpleenLength) {
percentFormBaseline = length * 100 / (this.spleenInfo.BaseLineSpleenLength - 130)
percentFormBaseline = diffFromBaseline * 100 / (this.spleenInfo.BaseLineSpleenLength - 130)
}
if (this.spleenInfo.BaseLineSpleenLength > 130 && diffFromBaseline >= 10 && percentFormBaseline > 50) {
// 1线 >130 mm