修改adviceType值为药品,手术安排md文档命名更改
This commit is contained in:
@@ -1347,11 +1347,11 @@ function handleMedicalAdvice(row) {
|
||||
// 尝试从 contentJson 中解析数据
|
||||
const contentData = JSON.parse(item.contentJson)
|
||||
const adviceType = Number(contentData.adviceType)
|
||||
return adviceType === 3
|
||||
return adviceType === 1
|
||||
} catch (e) {
|
||||
// 如果解析失败,尝试使用顶层的 adviceType
|
||||
const adviceType = Number(item.adviceType)
|
||||
return adviceType === 3
|
||||
return adviceType === 1
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user