脾脏状态计算更改
parent
c559ff52b5
commit
b2290ca739
|
@ -315,7 +315,7 @@ export default {
|
||||||
async getSplenicState() {
|
async getSplenicState() {
|
||||||
try {
|
try {
|
||||||
var spleenLength = this.questionForm[this.spleenLengthId]
|
var spleenLength = this.questionForm[this.spleenLengthId]
|
||||||
spleenLength = isNaN(parseFloat(spleenLength)) ? 0 : parseFloat(spleenLength)
|
spleenLength = isNaN(parseFloat(spleenLength)) ? -1 : parseFloat(spleenLength)
|
||||||
const result = await getSplenicState(this.visitTaskId, spleenLength)
|
const result = await getSplenicState(this.visitTaskId, spleenLength)
|
||||||
return { isSuccess: true, result: result.Result }
|
return { isSuccess: true, result: result.Result }
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
|
Loading…
Reference in New Issue