sdwew
This commit is contained in:
parent
8410bc1040
commit
5b2a6edea0
@ -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') {
|
||||
|
||||
@ -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">
|
||||
|
||||
@ -38,14 +38,12 @@ 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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user