脾脏状态计算更改

uat_us
caiyiling 2024-03-11 09:09:33 +08:00
parent c559ff52b5
commit b2290ca739
1 changed files with 1 additions and 1 deletions

View File

@ -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) {