修改adviceType值为药品,手术安排md文档命名更改

This commit is contained in:
chenjinyang
2026-02-11 13:02:10 +08:00
parent d8a4487b2b
commit 730476e927
2 changed files with 2 additions and 2 deletions

View File

@@ -1347,11 +1347,11 @@ function handleMedicalAdvice(row) {
// 尝试从 contentJson 中解析数据 // 尝试从 contentJson 中解析数据
const contentData = JSON.parse(item.contentJson) const contentData = JSON.parse(item.contentJson)
const adviceType = Number(contentData.adviceType) const adviceType = Number(contentData.adviceType)
return adviceType === 3 return adviceType === 1
} catch (e) { } catch (e) {
// 如果解析失败,尝试使用顶层的 adviceType // 如果解析失败,尝试使用顶层的 adviceType
const adviceType = Number(item.adviceType) const adviceType = Number(item.adviceType)
return adviceType === 3 return adviceType === 1
} }
}) })