This commit is contained in:
@zuopngfei 2025-08-06 17:52:18 +08:00
parent 8410bc1040
commit 5b2a6edea0
3 changed files with 16 additions and 5 deletions

View File

@ -370,6 +370,11 @@ Page({
[`form.white_blood_cells`]: ocr.value
})
}
if (ocr.name == '红细胞' || ocr.name == '红细胞计数') {
this.setData({
[`form.red_blood_cells`]: ocr.value
})
}
}
// 凝血功能
if (mode == 'coagulation_function_image') {

View File

@ -320,6 +320,14 @@
</view>
</view>
</t-col>
<t-col span="12">
<view class="dark">
<view class="input-example">
<view class="input-example__label">红细胞10^9/L</view>
<t-input type="digit" placeholder="请输入" bind:change="onInput" value="{{form.red_blood_cells}}" data-key="red_blood_cells" borderless="{{true}}" style="{{style}}" />
</view>
</view>
</t-col>
</t-row>
</view>
<view class="follow-item">

View File

@ -38,17 +38,15 @@ Page({
const list = res.list.map(item => {
const startDate = new Date(item.start_date)
const endDate = new Date(item.end_date)
if (startDate == endDate && today == startDate){
item.status = '进行中'
}
if (today > endDate) {
item.status = '已结束'
} else if (today < startDate) {
item.status = '未开始'
} else {
} else if (today >= startDate && today <= endDate) {
item.status = '进行中'
}
item.detail = JSON.parse(item.detail)
item.detail = JSON.parse(item.detail)
return item
})
this.setData({