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