修改脾脏状态自动计算缺陷
parent
8d3d7c6db9
commit
bd843fd186
|
@ -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
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue