sdwew
This commit is contained in:
parent
8410bc1040
commit
5b2a6edea0
@ -370,6 +370,11 @@ Page({
|
|||||||
[`form.white_blood_cells`]: ocr.value
|
[`form.white_blood_cells`]: ocr.value
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
if (ocr.name == '红细胞' || ocr.name == '红细胞计数') {
|
||||||
|
this.setData({
|
||||||
|
[`form.red_blood_cells`]: ocr.value
|
||||||
|
})
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// 凝血功能
|
// 凝血功能
|
||||||
if (mode == 'coagulation_function_image') {
|
if (mode == 'coagulation_function_image') {
|
||||||
|
|||||||
@ -320,6 +320,14 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</t-col>
|
</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>
|
</t-row>
|
||||||
</view>
|
</view>
|
||||||
<view class="follow-item">
|
<view class="follow-item">
|
||||||
|
|||||||
@ -38,17 +38,15 @@ Page({
|
|||||||
const list = res.list.map(item => {
|
const list = res.list.map(item => {
|
||||||
const startDate = new Date(item.start_date)
|
const startDate = new Date(item.start_date)
|
||||||
const endDate = new Date(item.end_date)
|
const endDate = new Date(item.end_date)
|
||||||
if (startDate == endDate && today == startDate){
|
|
||||||
item.status = '进行中'
|
|
||||||
}
|
|
||||||
if (today > endDate) {
|
if (today > endDate) {
|
||||||
item.status = '已结束'
|
item.status = '已结束'
|
||||||
} else if (today < startDate) {
|
} else if (today < startDate) {
|
||||||
item.status = '未开始'
|
item.status = '未开始'
|
||||||
} else {
|
} else if (today >= startDate && today <= endDate) {
|
||||||
item.status = '进行中'
|
item.status = '进行中'
|
||||||
}
|
}
|
||||||
item.detail = JSON.parse(item.detail)
|
item.detail = JSON.parse(item.detail)
|
||||||
return item
|
return item
|
||||||
})
|
})
|
||||||
this.setData({
|
this.setData({
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user