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

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 public
dist dist
src/* # src/*
src/views/trials/trials-panel/reading/global-review/*
src/views/dictionary/checkConfig/* src/views/dictionary/checkConfig/*
src/views/trials/trials-panel/trial-summary/* src/views/trials/trials-panel/trial-summary/*
src/main.js src/main.js

View File

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

View File

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