7.3提交

This commit is contained in:
zoujiandong
2025-07-03 13:14:39 +08:00
parent 8f4ee464dc
commit 5a56083d0c
44 changed files with 2003 additions and 485 deletions
File diff suppressed because it is too large Load Diff
+2
View File
@@ -2,6 +2,8 @@
"usingComponents": {
"navBar":"../../../components/navBar/navBar",
"van-tab": "@vant/weapp/tab/index",
"van-button": "@vant/weapp/button/index",
"van-tag": "@vant/weapp/tag/index",
"van-tabs": "@vant/weapp/tabs/index",
"van-picker": "@vant/weapp/picker/index",
"van-icon": "@vant/weapp/icon/index",
+311 -160
View File
@@ -1,5 +1,6 @@
<!--case/pages/createCase/createCase.wxml-->
<!-- <navBar navName="创建病例"></navBar> -->
<wxs src="../../../filters/filter.wxs" module="filters"></wxs>
<view class="ui-navigatorbar" style="background: #FFFFFF">
<van-icon name="arrow-left" bindtap="goBack" class="ui-navigatorbar-back" />
<view class="ui-title">{{navName}}</view>
@@ -31,7 +32,9 @@
性别<text class="red">*</text>
</view>
<view class="right">
<van-radio-group value="{{ case.sex }}" bind:change="onChange" disabled="{{!showSaveBtn}}" direction="horizontal">
<van-radio-group value="{{ case.sex }}" bind:change="onChangeRadio" disabled="{{!showSaveBtn}}"
data-type="case.sex"
direction="horizontal">
<van-radio name="{{1}}">男</van-radio>
<van-radio name="{{2}}">女</van-radio>
</van-radio-group>
@@ -59,7 +62,9 @@
治疗类型(多选)<text class="red">*</text>
</view>
<view class="right">
<van-checkbox-group value="{{case.case_type }}" bind:change="onChange" disabled="{{!showSaveBtn}}" direction="horizontal">
<van-checkbox-group value="{{case.caseType }}" bind:change="onChangeCheck" disabled="{{!showSaveBtn}}"
data-type="case.caseType"
direction="horizontal">
<van-checkbox name="{{1}}">DPMAS及联合模式</van-checkbox>
<van-checkbox name="{{2}}">CA280及联合模式</van-checkbox>
</van-checkbox-group>
@@ -72,58 +77,40 @@
主要诊断(多选)<text class="red">*</text>
</view>
<view class="right">
<van-checkbox-group bind:change="onChangeCheck" value="{{case.main_diagnose.select}}" disabled="{{!showSaveBtn}}" direction="horizontal" data-type="main_diagnose">
<van-checkbox-group bind:change="onChangeCheck" value="{{case.mainDiagnose.select}}" disabled="{{!showSaveBtn}}" direction="horizontal"
data-clear="case.mainDiagnose.otherValue"
data-type="case.mainDiagnose.select">
<van-checkbox name="{{item.value}}" wx:for="{{diagnoseOption}}" wx:key="value" data-value="{{item.value}}">{{item.name}}</van-checkbox>
</van-checkbox-group>
</view>
<textarea value="{{case.main_diagnose.otherValue}}" disabled="{{!showSaveBtn}}" class="textArea" placeholder="请输入其他诊断" bind:input="onChangeOther" bind:change="onChangeOther" data-type="case.main_diagnose.otherValue" placeholder-style="color:rgba(0,0,0,0.25)" confirm-type="done" maxlength="500" auto-height="{{true}}" />
<textarea wx:if="{{filters.isContain(case.mainDiagnose.select,'-1')}}" value="{{case.mainDiagnose.otherValue}}" disabled="{{!showSaveBtn}}" class="textArea" placeholder="请输入其他诊断" bind:input="onChangeOther" bind:change="onChangeOther" data-type="case.mainDiagnose.otherValue" placeholder-style="color:rgba(0,0,0,0.25)" confirm-type="done" maxlength="500" auto-height="{{true}}" />
<!-- <view class="word">{{wordLength}}/500</view> -->
<view class="left" style="margin-top: 12rpx;">患者出院诊断照片(可上传1-6张)</view>
<view class="left" style="margin-top: 12rpx;">患者出院诊断照片(1张)<text class="red">*</text></view>
<view class="uploadbox">
<van-uploader file-list="{{ fileList_basic }}" name="basic"
readonly="{{fileList_basic.length>=6}}"
deletable="{{showSaveBtn}}" show-upload="{{showSaveBtn}}" bind:delete="deleteImg" max-count="6" bind:after-read="afterRead" upload-text="上传" upload-icon="{{img_host+'/upload.png'}}" />
readonly="{{fileList_basic.length>=1}}"
deletable="{{showSaveBtn}}" show-upload="{{showSaveBtn}}" bind:delete="deleteImg" max-count="1" bind:after-read="afterRead" upload-text="上传" upload-icon="{{img_host+'/upload.png'}}" />
</view>
</view>
</view>
<view class="row" style="flex-direction: column;">
<view class="row" style="flex-direction: column;" >
<view class="left">
患者病因(多选)<text class="red">*</text>
</view>
<view class="right">
<van-checkbox-group value="{{ case.disease_cause.select }}" bind:change="onChangeCheck" data-type="disease_cause" disabled="{{!showSaveBtn}}" direction="horizontal">
<van-checkbox-group value="{{ case.diseaseCause.select }}" bind:change="onChangeCheck"
data-clear="case.diseaseCause.otherValue"
data-type="case.diseaseCause.select" disabled="{{!showSaveBtn}}" direction="horizontal">
<van-checkbox name="{{item.value}}" wx:for="{{patientSickOption}}" wx:key="value">{{item.name}}</van-checkbox>
</van-checkbox-group>
</view>
<textarea value="{{case.disease_cause.otherValue}}" disabled="{{!showSaveBtn}}" class="textArea" placeholder="请输入其他患者原因" bind:input="onChangeOther" bind:change="onChangeOther" data-type="case.disease_cause.otherValue" placeholder-style="color:rgba(0,0,0,0.25)" confirm-type="done" maxlength="500" auto-height="{{true}}" />
<textarea wx:if="{{filters.isContain(case.diseaseCause.select,'-1')}}" value="{{case.diseaseCause.otherValue}}" disabled="{{!showSaveBtn}}" class="textArea" placeholder="请输入其他患者原因" bind:input="onChangeOther" bind:change="onChangeOther" data-type="case.diseaseCause.otherValue" placeholder-style="color:rgba(0,0,0,0.25)" confirm-type="done" maxlength="500" auto-height="{{true}}" />
<!-- <view class="word">{{wordLength}}/500</view> -->
<view class="row" style="flex-direction: column;">
<view class="left">
诱因(多选)<text class="red">*</text>
</view>
<view class="desctitle">肝内:</view>
<view class="right">
<van-checkbox-group value="{{ case.trigger.inside.select }}" bind:change="onChange" disabled="{{!showSaveBtn}}" direction="horizontal">
<van-checkbox name="{{item.value}}" wx:for="{{ganneiOption}}" wx:key="value">{{item.name}}</van-checkbox>
</van-checkbox-group>
</view>
<textarea value="{{case.trigger.inside.otherValue}}" disabled="{{!showSaveBtn}}" class="textArea" placeholder="请输入肝内诱因" bind:input="onChangeOther" bind:change="onChangeOther" data-type="case.trigger.inside.otherValue" placeholder-style="color:rgba(0,0,0,0.25)" confirm-type="done" maxlength="500" auto-height="{{true}}" />
<view class="desctitle">肝外:</view>
<view class="right">
<van-checkbox-group value="{{ case.trigger.outside.select}}" bind:change="onChange" disabled="{{!showSaveBtn}}" direction="horizontal">
<van-checkbox name="{{item.value}}" wx:for="{{ganwaiOption}}" wx:key="value">{{item.name}} </van-checkbox>
</van-checkbox-group>
</view>
<textarea value="{{case.trigger.outside.otherValue}}" disabled="{{!showSaveBtn}}" class="textArea" placeholder="请输入肝外诱因" bind:input="onChangeOther" bind:change="onChangeOther" data-type="case.trigger.outside.otherValue" placeholder-style="color:rgba(0,0,0,0.25)" confirm-type="done" maxlength="500" auto-height="{{true}}" />
<!-- <view class="word">{{wordLength}}/500</view> -->
</view>
<!-- <view class="row" style="flex-direction: column;">
<view class="left">
病案照片(可上传1-6张)<text class="red">*</text>
@@ -133,7 +120,38 @@
</view>
</view> -->
</view>
<view class="tip" style="padding-bottom: 130rpx;">注意:“病案首页”需包含患者住院号或姓名</view>
<view class="row" style="flex-direction: column;" >
<view class="left">
诱因(多选)<text class="red"></text>
</view>
<view class="desctitle" >肝内:</view>
<view class="right" >
<van-checkbox-group value="{{ case.seductionReason.inside.select }}"
data-clear="case.seductionReason.inside.otherValue"
data-type="case.seductionReason.inside.select"
bind:change="onChangeCheck" disabled="{{!showSaveBtn}}" direction="horizontal">
<van-checkbox name="{{item.value}}" wx:for="{{ganneiOption}}" wx:key="value">{{item.name}}</van-checkbox>
</van-checkbox-group>
</view>
<textarea wx:if="{{filters.isContain(case.seductionReason.inside.select,'-1')}}" value="{{case.seductionReason.inside.otherValue}}" disabled="{{!showSaveBtn}}" class="textArea" placeholder="请输入肝内诱因" bind:input="onChangeOther" bind:change="onChangeOther" data-type="case.seductionReason.inside.otherValue" placeholder-style="color:rgba(0,0,0,0.25)" confirm-type="done" maxlength="500" auto-height="{{true}}" />
<view class="desctitle" >肝外:</view>
<view class="right" >
<van-checkbox-group value="{{ case.seductionReason.outside.select}}"
data-type="case.seductionReason.outside.select"
data-clear="case.seductionReason.outside.otherValue"
bind:change="onChangeCheck" disabled="{{!showSaveBtn}}" direction="horizontal">
<van-checkbox name="{{item.value}}" wx:for="{{ganwaiOption}}" wx:key="value">{{item.name}} </van-checkbox>
</van-checkbox-group>
</view>
<textarea wx:if="{{filters.isContain(case.seductionReason.outside.select,'-1')}}" value="{{case.seductionReason.outside.otherValue}}" disabled="{{!showSaveBtn}}" class="textArea" placeholder="请输入肝外诱因" bind:input="onChangeOther" bind:change="onChangeOther" data-type="case.seductionReason.outside.otherValue" placeholder-style="color:rgba(0,0,0,0.25)" confirm-type="done" maxlength="500" auto-height="{{true}}" />
<!-- <view class="word">{{wordLength}}/500</view> -->
</view>
<view class="tip" style="padding-bottom: 130rpx;">
<!-- 注意:“病案首页”需包含患者住院号或姓名-->
</view>
<view class="btnbox" wx:if="{{showSaveBtn}}">
<view class="btn" bind:tap="saveBasic">下一步</view>
</view>
@@ -149,11 +167,17 @@
病历摘要<text class="red">*</text>
</view>
<view class="container" >
<editor id="editor" style="height:{{editorHeight}};" class="ql-container" placeholder="请输入主诉,既往史,现病史相关内容" bindstatuschange="onStatusChange" bindready="onEditorReady">
<editor id="editor" style="height:{{editorHeight}}" wx:if="{{active==1}}"
read-only="{{!showSaveBtn}}"
class="ql-container" placeholder="请输入主诉,既往史,现病史相关内容" bindinput="onChangeEditor" bindready="onEditorReady">
</editor>
<view class="word">
<view class="textdesc">
<van-uploader file-list="{{ fileList }}" bind:after-read="afterRead">
<van-uploader file-list="{{ fileList }}"
disabled="{{!showSaveBtn}}"
name="abstractStr"
bind:after-read="afterReadOcr">
<view class="con">
<van-icon slot name="photo-o" size="20px" />上传图片识别内容
</view>
@@ -163,7 +187,7 @@
</view>
<!-- <view class="unit">
<view class="desctitle">主诉:</view>
<textarea value="{{case.abstractStr}}" disabled="{{!showSaveBtn}}" class="textArea" placeholder="请输入主诉" bind:input="onChangeAbstract" bind:change="onChangeAbstract" placeholder-style="color:rgba(0,0,0,0.25)" confirm-type="done" maxlength="500" auto-height="{{true}}" />
<textarea value="{{case.abstractStr}}" disabled="{{!showSaveBtn}}" class="textArea" placeholder="请输入主诉" bind:input="onChangeOther" bind:change="onChangeOther" placeholder-style="color:rgba(0,0,0,0.25)" confirm-type="done" maxlength="500" auto-height="{{true}}" />
<view class="word">
<view class="textdesc">
<van-uploader file-list="{{ fileList }}" bind:after-read="afterRead">
@@ -176,7 +200,7 @@
</view> -->
<!-- <view class="unit">
<view class="desctitle">现病史:</view>
<textarea value="{{case.abstractStr}}" disabled="{{!showSaveBtn}}" class="textArea" placeholder="请输入现病史" bind:input="onChangeAbstract" bind:change="onChangeAbstract" placeholder-style="color:rgba(0,0,0,0.25)" confirm-type="done" maxlength="500" auto-height="{{true}}" />
<textarea value="{{case.abstractStr}}" disabled="{{!showSaveBtn}}" class="textArea" placeholder="请输入现病史" bind:input="onChangeOther" bind:change="onChangeOther" placeholder-style="color:rgba(0,0,0,0.25)" confirm-type="done" maxlength="500" auto-height="{{true}}" />
<view class="word">
<view class="textdesc">
<van-uploader file-list="{{ fileList }}" bind:after-read="afterRead">
@@ -190,7 +214,7 @@
</view> -->
<!-- <view class="unit">
<view class="desctitle">既往史:</view>
<textarea value="{{case.abstractStr}}" disabled="{{!showSaveBtn}}" class="textArea" placeholder="请输入既往史" bind:input="onChangeAbstract" bind:change="onChangeAbstract" placeholder-style="color:rgba(0,0,0,0.25)" confirm-type="done" maxlength="500" auto-height="{{true}}" />
<textarea value="{{case.abstractStr}}" disabled="{{!showSaveBtn}}" class="textArea" placeholder="请输入既往史" bind:input="onChangeOther" bind:change="onChangeOther" placeholder-style="color:rgba(0,0,0,0.25)" confirm-type="done" maxlength="500" auto-height="{{true}}" />
<view class="word">
<view class="textdesc">
<van-uploader file-list="{{ fileList }}" bind:after-read="afterRead">
@@ -216,12 +240,14 @@
<view class="btnbox" wx:if="{{showSaveBtn}}">
<view class="btn" bind:tap="saveAbstract">下一步</view>
</view>
<view class="tip">注意:病历摘要,文字填写或者上传图片,二选一</view>
<view class="tip">注意:病历摘要,文字填写或者上传图片OCR识别</view>
</view>
</van-tab>
<van-tab title="DPMAS治疗记录" disabled="{{disable_record}}">
<van-tab title="人工肝治疗" disabled="{{disable_record}}">
<view class="basic {{!showSaveBtn?'active':''}}">
<view class="recordcon">
<view class="tips">
<van-icon name="todo-list" color="orange" size="24" />总共治疗<text>{{case.dpmas.length}}</text>次</view>
<view class="record" wx:for="{{case.dpmas}}" wx:key="index">
<view class="title">
<view class="titlename">
@@ -236,7 +262,7 @@
</view>
<view class="right" bind:tap="openDealTime" data-index="{{index}}">
<input type="text" value="{{dpmas_list[index].treatTime}}" class="ipt" placeholder="请选择时间" placeholder-class="placeholder" disabled />
<text wx:if="{{dpmas_list[index].treatTime}}">h</text>
<!-- <text wx:if="{{case.dpmas[index].treatTime}}">h</text> -->
<van-icon name="arrow" color="#83858a" size="38rpx" class="righticon" />
</view>
</view>
@@ -245,20 +271,28 @@
模式(单选)<text class="red">*</text>
</view>
<view class="right">
<van-radio-group value="{{ case.sex }}" bind:change="onChange" disabled="{{!showSaveBtn}}" direction="horizontal">
<van-radio name="{{item.value}}" wx:for="{{moshiOption}}" wx:key="value">{{item.name}}</van-radio>
<van-radio-group value="{{case.dpmas[index].content.mode.select}}" data-type="case.dpmas[{{index}}].content.mode.select"
data-clear="case.dpmas[{{index}}].content.mode.otherValue"
bind:change="onChangeRadio" disabled="{{!showSaveBtn}}" direction="horizontal">
<van-radio
name="{{item.value}}" wx:for="{{moshiOption}}" wx:key="value">{{item.name}}</van-radio>
</van-radio-group>
</view>
<textarea value="{{case.abstractStr}}" disabled="{{!showSaveBtn}}" class="textArea" placeholder="请输入其他模式" bind:input="onChangeAbstract" bind:change="onChangeAbstract" placeholder-style="color:rgba(0,0,0,0.25)" confirm-type="done" maxlength="500" auto-height="{{true}}" />
<textarea wx:if="{{case.dpmas[index].content.mode.select=='-1'}}" value="{{case.dpmas[index].content.mode.otherValue}}" disabled="{{!showSaveBtn}}" class="textArea" placeholder="请输入其他模式" bind:input="onChangeOther" bind:change="onChangeOther"
data-type="case.dpmas[{{index}}].content.mode.otherValue"
placeholder-style="color:rgba(0,0,0,0.25)" confirm-type="done" maxlength="500" auto-height="{{true}}" />
</view>
<view class="row">
<view class="left">
血浆吸附处理量(ml)<text class="red">*</text>
</view>
<view class="right">
<input type="text" value="{{case.headTime}}" class="ipt" placeholder="请输入血浆吸附处理量" placeholder-class="placeholder" />
<text wx:if="{{case.headTime}}">ml</text>
<input type="digit" value="{{case.dpmas[index].content.plasma.handle}}" disabled="{{!showSaveBtn}}" class="ipt" placeholder="请输入血浆吸附处理量"
bindinput="handleIpt"
data-type="number"
data-id="dpmas[{{index}}].content.plasma.handle"
placeholder-class="placeholder" />
<!-- <van-icon name="arrow" color="#83858a" size="38rpx" class="righticon" style="opacity: 0;" /> -->
</view>
</view>
@@ -267,104 +301,165 @@
血浆置换量(ml)<text class="red">*</text>
</view>
<view class="right">
<input type="text" value="{{case.headTime}}" class="ipt" placeholder="请输入血浆置换量" placeholder-class="placeholder" />
<text wx:if="{{case.headTime}}">ml</text>
<!-- <van-icon name="arrow" color="#83858a" size="38rpx" class="righticon" style="opacity: 0;" /> -->
<input type="digit" value="{{case.dpmas[index].content.plasma.replace}}" disabled="{{!showSaveBtn}}" class="ipt" placeholder="请输入血浆置换量"
bindinput="handleIpt"
data-type="number"
data-id="dpmas[{{index}}].content.plasma.replace"
placeholder-class="placeholder" />
</view>
</view>
<view class="row" style="flex-direction: column;">
<view class="row" style="flex-direction: column;" >
<view class="left">
抗凝剂量(多选)<text class="red"></text>
</view>
<view class="right">
<van-checkbox-group value="{{ case.sex }}" bind:change="onChange" disabled="{{!showSaveBtn}}" direction="horizontal">
<van-checkbox-group value="{{case.dpmas[index].content.dose.select }}"
data-type="case.dpmas[{{index}}].content.dose.select"
data-clear="case.dpmas[{{index}}].content.dose"
bind:change="onChangeCheck" disabled="{{!showSaveBtn}}" direction="horizontal">
<van-checkbox name="{{item.value}}" wx:for="{{kangningOption}}" wx:key="value">{{item.name}}</van-checkbox>
<!-- <van-checkbox name="{{2}}">低分子肝素 </van-checkbox>
<van-checkbox name="{{2}}">枸橼酸 </van-checkbox>
<van-checkbox name="{{2}}">甲磺酸萘莫司他</van-checkbox>
<van-checkbox name="{{2}}">其他</van-checkbox> -->
</van-checkbox-group>
</view>
<view class="cellunit">
<view class="desctitle">肝素: </view>
<view class="row innerrow">
<view class="cellunit" wx:if="{{filters.isContain(case.dpmas[index].content.dose.select,'1')}}">
<view class="desctitle" >肝素: </view>
<view class="row innerrow" >
<view class="left">首剂</view>
<view class="right">
<input type="text" value="{{case.headTime}}" class="ipt" placeholder="请输入首剂剂量" placeholder-class="placeholder" />
<text wx:if="{{case.headTime}}">ml</text>
<input type="digit" value="{{case.dpmas[index].content.dose.heparin.firstDose}}" class="ipt"
bindinput="handleIpt"
data-type="number"
disabled="{{!showSaveBtn}}"
data-id="dpmas[{{index}}].content.dose.heparin.firstDose"
style="margin-right: 20rpx;"
placeholder="请输入首剂剂量" placeholder-class="placeholder" />
<van-radio-group value="{{case.dpmas[index].content.dose.heparin.firstDoseUnit}}"
data-type="case.dpmas[{{index}}].content.dose.heparin.firstDoseUnit"
bind:change="onChangeRadio" disabled="{{!showSaveBtn}}">
<van-radio icon-size="17" name="{{item.value}}" wx:for="{{doseUnit}}" wx:key="value">{{item.name}}</van-radio>
</van-radio-group>
</view>
</view>
<view class="row innerrow">
<view class="row innerrow" >
<view class="left">追加</view>
<view class="right">
<input type="text" value="{{case.headTime}}" class="ipt" placeholder="请输入追加剂量" placeholder-class="placeholder" />
<text wx:if="{{case.headTime}}">ml</text>
<input type="digit" value="{{case.dpmas[index].content.dose.heparin.append}}" class="ipt" placeholder="请输入追加剂量"
style="margin-right: 20rpx;"
data-type="number"
disabled="{{!showSaveBtn}}"
bindinput="handleIpt"
data-id="dpmas[{{index}}].content.dose.heparin.append"
placeholder-class="placeholder" />
<van-radio-group value="{{case.dpmas[index].content.dose.heparin.appendUnit}}"
data-type="case.dpmas[{{index}}].content.dose.heparin.appendUnit"
bind:change="onChangeRadio" disabled="{{!showSaveBtn}}">
<van-radio icon-size="17" name="{{item.value}}" wx:for="{{doseUnit}}" wx:key="value">{{item.name}}</van-radio>
</van-radio-group>
</view>
</view>
</view>
<view class="cellunit">
<view class="desctitle">低分子肝素: </view>
<view class="row innerrow">
<view class="cellunit" wx:if="{{filters.isContain(case.dpmas[index].content.dose.select,'2')}}">
<view class="desctitle" >低分子肝素: </view>
<view class="row innerrow" >
<view class="left">低分子肝素(IU)</view>
<view class="right">
<input type="text" value="{{case.headTime}}" class="ipt" placeholder="请输入低分子肝素剂量" placeholder-class="placeholder" />
<text wx:if="{{case.headTime}}">ml</text>
<input type="digit" value="{{case.dpmas[index].content.dose.lowHeparin.value}}" class="ipt"
data-type="number"
disabled="{{!showSaveBtn}}"
bindinput="handleIpt"
data-id="dpmas[{{index}}].content.dose.lowHeparin.value"
placeholder="请输入低分子肝素剂量" placeholder-class="placeholder" />
</view>
</view>
</view>
<view class="cellunit">
<view class="desctitle">枸橼酸: </view>
<view class="row innerrow">
<view class="cellunit" wx:if="{{filters.isContain(case.dpmas[index].content.dose.select,'3')}}">
<view class="desctitle" >枸橼酸: </view>
<view class="row innerrow" >
<view class="left">血液流速(ml/min)</view>
<view class="right">
<input type="text" value="{{case.headTime}}" class="ipt" placeholder="请输入血液流速" placeholder-class="placeholder" />
<text wx:if="{{case.headTime}}">ml</text>
<input type="digit" value="{{case.dpmas[index].content.dose.citricAcid.bloodFlowRate}}" class="ipt" placeholder="请输入血液流速"
bindinput="handleIpt"
disabled="{{!showSaveBtn}}"
data-type="number"
data-id="dpmas[{{index}}].content.dose.citricAcid.bloodFlowRate" placeholder-class="placeholder" />
</view>
</view>
<view class="row innerrow">
<view class="row innerrow" >
<view class="left">枸橼酸钠流速(ml/h)</view>
<view class="right">
<input type="text" value="{{case.headTime}}" class="ipt" placeholder="请输入枸橼酸钠流速" placeholder-class="placeholder" />
<text wx:if="{{case.headTime}}">ml</text>
<input type="digit" value="{{case.dpmas[index].content.dose.citricAcid.citricAcidFlowRate}}" class="ipt" placeholder="请输入枸橼酸钠流速"
bindinput="handleIpt"
disabled="{{!showSaveBtn}}"
data-id="dpmas[{{index}}].content.dose.citricAcid.citricAcidFlowRate"
data-type="number"
placeholder-class="placeholder" />
</view>
</view>
<view class="row innerrow">
<view class="row innerrow" >
<view class="left">钙剂(ml/h)</view>
<view class="right">
<input type="text" style="width:210rpx;margin-right: 20rpx;" value="{{case.headTime}}" class="ipt" placeholder="请输入钙剂剂量" placeholder-class="placeholder" />
<text wx:if="{{case.headTime}}">ml/h</text>
<van-radio-group value="{{ case.sex }}" bind:change="onChange" disabled="{{!showSaveBtn}}">
<van-radio name="{{1}}">10%葡萄糖酸钙</van-radio>
<van-radio name="{{1}}">5%氯化钙</van-radio>
<input type="digit"
disabled="{{!showSaveBtn}}"
style="width:210rpx;margin-right: 20rpx;" value="{{case.dpmas[index].content.dose.citricAcid.calciumAgent.value}}" class="ipt"
bindinput="handleIpt"
data-type="number"
data-id="dpmas[{{index}}].content.dose.citricAcid.calciumAgent.value"
placeholder="请输入钙剂剂量" placeholder-class="placeholder" />
<van-radio-group value="{{ case.dpmas[index].content.dose.citricAcid.calciumAgent.select}}"
data-type="case.dpmas[{{index}}].content.dose.citricAcid.calciumAgent.select"
bind:change="onChangeRadio" disabled="{{!showSaveBtn}}">
<van-radio icon-size="17px" name="{{1}}">10%葡萄糖酸钙</van-radio>
<van-radio icon-size="17px" name="{{2}}">5%氯化钙</van-radio>
</van-radio-group>
</view>
</view>
</view>
<view class="cellunit">
<view class="desctitle">甲磺酸萘莫司他: </view>
<view class="cellunit" wx:if="{{filters.isContain(case.dpmas[index].content.dose.select,'4')}}">
<view class="desctitle" >甲磺酸萘莫司他: </view>
<view class="row innerrow">
<view class="left">甲磺酸萘莫司他(mg/h)</view>
<view class="left">维持量(mg/h)</view>
<view class="right">
<input type="text" value="{{case.headTime}}" class="ipt" placeholder="请输入甲磺酸萘莫司他剂量" placeholder-class="placeholder" />
<text wx:if="{{case.headTime}}">mg/h</text>
<input type="digit" value="{{case.dpmas[index].content.dose.nafamostat.value}}" class="ipt"
disabled="{{!showSaveBtn}}"
bindinput="handleIpt"
style="width:350rpx"
data-id="dpmas[{{index}}].content.dose.nafamostat.value"
data-type="number"
placeholder="请输入甲磺酸萘莫司他剂量" placeholder-class="placeholder" />
</view>
</view>
</view>
<view class="cellunit">
<view class="cellunit" wx:if="{{filters.isContain(case.dpmas[index].content.dose.select,'-1')}}">
<view class="desctitle">其他: </view>
<view class="row innerrow">
<view class="row innerrow" >
<view class="left">名称</view>
<view class="right">
<input type="text" value="{{case.headTime}}" class="ipt" placeholder="请输入名称" placeholder-class="placeholder" />
<input type="text" value="{{case.dpmas[index].content.dose.other.name}}" class="ipt"
disabled="{{!showSaveBtn}}"
bindinput="handleIpt"
data-id="dpmas[{{index}}].content.dose.other.name"
placeholder="请输入名称" placeholder-class="placeholder" />
</view>
</view>
<view class="row innerrow">
<view class="row innerrow" >
<view class="left">剂量</view>
<view class="right">
<input type="text" value="{{case.headTime}}" class="ipt" placeholder="请输入剂量" placeholder-class="placeholder" />
<input type="digit" value="{{case.dpmas[index].content.dose.other.dose}}" class="ipt"
data-type="number"
disabled="{{!showSaveBtn}}"
bindinput="handleIpt"
data-id="dpmas[{{index}}].content.dose.other.dose"
placeholder="请输入剂量" placeholder-class="placeholder" />
</view>
</view>
@@ -375,7 +470,8 @@
附人工肝治疗记录相关照片(可上传1-3张)<text class="red">*</text>
</view>
<view class="uploadbox">
<van-uploader file-list="{{ dpmas_list[index].fileList}}" bind:delete="deleteImg" multiple max-count="3" name="{{'record'+index}}" show-upload="{{showSaveBtn}}" deletable="{{showSaveBtn}}" bind:after-read="afterRead" upload-text="上传" upload-icon="{{img_host+'/upload.png'}}" />
<van-uploader file-list="{{ dpmas_list[index].fileList}}" bind:delete="deleteImg"
readonly="{{dpmas_list[index].fileList.length>=3}}" max-count="3" name="{{'record'+index}}" show-upload="{{showSaveBtn}}" deletable="{{showSaveBtn}}" bind:after-read="afterRead" upload-text="上传" upload-icon="{{img_host+'/upload.png'}}" />
</view>
</view>
</view>
@@ -385,51 +481,49 @@
</view>
</view>
<view class="tip" style="padding-bottom: 120rpx;">
<text>
<!-- <text>
注意:“DPMAS治疗凭证”照片需包含患者住院号或姓名
1.4次及以上疗程化病例,每次治疗对应一张凭证照片;
2.早前期(INR≤1.5)的病例,上传第一次DPMAS治疗前最新的“INR检验报告单”
3.早前期(INR≤1.5)的病例,DPMAS治疗时间不能晚于INR出报告时间24小时。
</text>
</view>
</text> -->
</view>
<view class="btnbox" wx:if="{{showSaveBtn}}">
<view class="btn" bind:tap="saveRecord">下一步</view>
</view>
<!-- <view class="bottom">
<view class="savebtn">保 存</view>
</view> -->
</view>
</van-tab>
<van-tab title="实验室检测" disabled="{{disable_check}}">
<view class="basic record {{!showSaveBtn?'active':''}}" style="background-color: #fff;">
<view class="message"> (早前期为首次治疗前后、4次及以上为疗程化治疗前后)</view>
<view class="message"> (首次人工肝治疗前后、最后一次人工肝治疗后)</view>
<view class="row">
<view class="left">
首次治疗前检测时间<text class="red">*</text>
首次人工肝治疗前检测时间<text class="red">*</text>
</view>
<view class="right" bind:tap="openHeadTime">
<input type="text" value="{{case.headTime}}" class="ipt" placeholder="请选择时间" placeholder-class="placeholder" disabled />
<text wx:if="{{case.headTime}}">h</text>
<van-icon name="arrow" color="#83858a" size="38rpx" class="righticon" />
</view>
</view>
<view class="row">
<view class="left">
首次治疗后检测时间<text class="red">*</text>
首次人工肝治疗后检测时间<text class="red">*</text>
</view>
<view class="right" bind:tap="openAfterTime">
<input type="text" value="{{case.afterTime}}" class="ipt" placeholder="请选择时间" placeholder-class="placeholder" disabled />
<text wx:if="{{case.afterTime}}">h</text>
<!-- <text wx:if="{{case.afterTime}}">h</text> -->
<van-icon name="arrow" color="#83858a" size="38rpx" class="righticon" />
</view>
</view>
<view class="row">
</view>
<view class="row" wx:if="{{case.dpmas.length>1}}">
<view class="left">
最后一次治疗后检测时间<text class="red">*</text>
最后一次人工肝治疗后检测时间<text class="red">*</text>
</view>
<view class="right" bind:tap="openAfterTime">
<input type="text" value="{{case.afterTime}}" class="ipt" placeholder="请选择时间" placeholder-class="placeholder" disabled />
<text wx:if="{{case.afterTime}}">h</text>
<view class="right" bind:tap="openLastTime">
<input type="text" value="{{case.lastTime}}" class="ipt" placeholder="请选择时间" placeholder-class="placeholder" disabled />
<text wx:if="{{case.lastTime}}">h</text>
<van-icon name="arrow" color="#83858a" size="38rpx" class="righticon" />
</view>
</view>
@@ -443,16 +537,16 @@
<input type="digit" value="{{case.headTb}}" bindinput="handleIpt" class="ipt" data-id="headTb" data-type="number" placeholder="请输入" placeholder-class="placeholder" disabled="{{!showSaveBtn}}" />
</view>
</view>
<view class="row">
<view class="row" wx:if="case.dpmas.length>1">
<view class="left">首次治疗后</view>
<view class="right">
<input type="digit" value="{{case.afterTb}}" bindinput="handleIpt" class="ipt" data-id="afterTb" data-type="number" placeholder="请输入" placeholder-class="placeholder" disabled="{{!showSaveBtn}}" />
</view>
</view>
<view class="row">
<view class="row" wx:if="{{case.dpmas.length>1}}">
<view class="left">最后一次治疗后</view>
<view class="right">
<input type="digit" value="{{case.afterTb}}" bindinput="handleIpt" class="ipt" data-id="afterTb" data-type="number" placeholder="请输入" placeholder-class="placeholder" disabled="{{!showSaveBtn}}" />
<input type="digit" value="{{case.lastTb}}" bindinput="handleIpt" class="ipt" data-id="lastTb" data-type="number" placeholder="请输入" placeholder-class="placeholder" disabled="{{!showSaveBtn}}" />
</view>
</view>
</view>
@@ -463,19 +557,19 @@
<view class="row">
<view class="left">首次治疗前</view>
<view class="right">
<input type="digit" value="{{case.headTb}}" bindinput="handleIpt" class="ipt" data-id="headTb" data-type="number" placeholder="请输入" placeholder-class="placeholder" disabled="{{!showSaveBtn}}" />
<input type="digit" value="{{case.headDb}}" bindinput="handleIpt" class="ipt" data-id="headDb" data-type="number" placeholder="请输入" placeholder-class="placeholder" disabled="{{!showSaveBtn}}" />
</view>
</view>
<view class="row">
<view class="left">首次治疗后</view>
<view class="right">
<input type="digit" value="{{case.afterTb}}" bindinput="handleIpt" class="ipt" data-id="afterTb" data-type="number" placeholder="请输入" placeholder-class="placeholder" disabled="{{!showSaveBtn}}" />
<input type="digit" value="{{case.afterDb}}" bindinput="handleIpt" class="ipt" data-id="afterDb" data-type="number" placeholder="请输入" placeholder-class="placeholder" disabled="{{!showSaveBtn}}" />
</view>
</view>
<view class="row">
<view class="row" wx:if="{{case.dpmas.length>1}}">
<view class="left">最后一次治疗后</view>
<view class="right">
<input type="digit" value="{{case.afterTb}}" bindinput="handleIpt" class="ipt" data-id="afterTb" data-type="number" placeholder="请输入" placeholder-class="placeholder" disabled="{{!showSaveBtn}}" />
<input type="digit" value="{{case.lastDb}}" bindinput="handleIpt" class="ipt" data-id="lastDb" data-type="number" placeholder="请输入" placeholder-class="placeholder" disabled="{{!showSaveBtn}}" />
</view>
</view>
</view>
@@ -486,19 +580,19 @@
<view class="row">
<view class="left">首次治疗前</view>
<view class="right">
<input type="digit" value="{{case.headTb}}" bindinput="handleIpt" class="ipt" data-id="headTb" data-type="number" placeholder="请输入" placeholder-class="placeholder" disabled="{{!showSaveBtn}}" />
<input type="digit" value="{{case.headIb}}" bindinput="handleIpt" class="ipt" data-id="headIb" data-type="number" placeholder="请输入" placeholder-class="placeholder" disabled="{{!showSaveBtn}}" />
</view>
</view>
<view class="row">
<view class="left">首次治疗后</view>
<view class="right">
<input type="digit" value="{{case.afterTb}}" bindinput="handleIpt" class="ipt" data-id="afterTb" data-type="number" placeholder="请输入" placeholder-class="placeholder" disabled="{{!showSaveBtn}}" />
<input type="digit" value="{{case.afterIb}}" bindinput="handleIpt" class="ipt" data-id="afterIb" data-type="number" placeholder="请输入" placeholder-class="placeholder" disabled="{{!showSaveBtn}}" />
</view>
</view>
<view class="row">
<view class="row" wx:if="{{case.dpmas.length>1}}">
<view class="left">最后一次治疗后</view>
<view class="right">
<input type="digit" value="{{case.afterTb}}" bindinput="handleIpt" class="ipt" data-id="afterTb" data-type="number" placeholder="请输入" placeholder-class="placeholder" disabled="{{!showSaveBtn}}" />
<input type="digit" value="{{case.lastIb}}" bindinput="handleIpt" class="ipt" data-id="lastIb" data-type="number" placeholder="请输入" placeholder-class="placeholder" disabled="{{!showSaveBtn}}" />
</view>
</view>
</view>
@@ -518,10 +612,10 @@
<input type="digit" value="{{case.afterAlt}}" bindinput="handleIpt" class="ipt" data-id="afterAlt" placeholder="请输入" data-type="number" placeholder-class="placeholder" disabled="{{!showSaveBtn}}" />
</view>
</view>
<view class="row">
<view class="row" wx:if="{{case.dpmas.length>1}}">
<view class="left">最后一次治疗后</view>
<view class="right">
<input type="digit" value="{{case.afterAlt}}" bindinput="handleIpt" class="ipt" data-id="afterAlt" placeholder="请输入" data-type="number" placeholder-class="placeholder" disabled="{{!showSaveBtn}}" />
<input type="digit" value="{{case.lastAlt}}" bindinput="handleIpt" class="ipt" data-id="lastAlt" placeholder="请输入" data-type="number" placeholder-class="placeholder" disabled="{{!showSaveBtn}}" />
</view>
</view>
</view>
@@ -541,10 +635,10 @@
<input type="digit" value="{{case.afterAst}}" bindinput="handleIpt" class="ipt" data-id="afterAst" placeholder="请输入" data-type="number" placeholder-class="placeholder" disabled="{{!showSaveBtn}}" />
</view>
</view>
<view class="row">
<view class="row" wx:if="{{case.dpmas.length>1}}">
<view class="left">最后一次治疗后</view>
<view class="right">
<input type="digit" value="{{case.afterAst}}" bindinput="handleIpt" class="ipt" data-id="afterAst" placeholder="请输入" data-type="number" placeholder-class="placeholder" disabled="{{!showSaveBtn}}" />
<input type="digit" value="{{case.lastAst}}" bindinput="handleIpt" class="ipt" data-id="lastAst" placeholder="请输入" data-type="number" placeholder-class="placeholder" disabled="{{!showSaveBtn}}" />
</view>
</view>
</view>
@@ -564,10 +658,10 @@
<input type="digit" value="{{case.afterAlb}}" bindinput="handleIpt" class="ipt" data-id="afterAlb" placeholder="请输入" data-type="number" placeholder-class="placeholder" disabled="{{!showSaveBtn}}" />
</view>
</view>
<view class="row">
<view class="row" wx:if="{{case.dpmas.length>1}}">
<view class="left">最后一次治疗后</view>
<view class="right">
<input type="digit" value="{{case.afterAlb}}" bindinput="handleIpt" class="ipt" data-id="afterAlb" placeholder="请输入" data-type="number" placeholder-class="placeholder" disabled="{{!showSaveBtn}}" />
<input type="digit" value="{{case.lastAlb}}" bindinput="handleIpt" class="ipt" data-id="lastAlb" placeholder="请输入" data-type="number" placeholder-class="placeholder" disabled="{{!showSaveBtn}}" />
</view>
</view>
</view>
@@ -587,10 +681,10 @@
<input type="digit" value="{{case.afterPta}}" bindinput="handleIpt" class="ipt" data-id="afterPta" placeholder="请输入" data-type="number" placeholder-class="placeholder" disabled="{{!showSaveBtn}}" />
</view>
</view>
<view class="row">
<view class="row" wx:if="{{case.dpmas.length>1}}">
<view class="left">最后一次治疗后</view>
<view class="right">
<input type="digit" value="{{case.afterPta}}" bindinput="handleIpt" class="ipt" data-id="afterPta" placeholder="请输入" data-type="number" placeholder-class="placeholder" disabled="{{!showSaveBtn}}" />
<input type="digit" value="{{case.lastPta}}" bindinput="handleIpt" class="ipt" data-id="lastPta" placeholder="请输入" data-type="number" placeholder-class="placeholder" disabled="{{!showSaveBtn}}" />
</view>
</view>
</view>
@@ -610,10 +704,10 @@
<input type="digit" value="{{case.afterInr}}" bindinput="handleIpt" class="ipt" data-id="afterInr" placeholder="请输入" data-type="number" placeholder-class="placeholder" disabled="{{!showSaveBtn}}" />
</view>
</view>
<view class="row">
<view class="row" wx:if="{{case.dpmas.length>1}}">
<view class="left">最后一次治疗后</view>
<view class="right">
<input type="digit" value="{{case.afterInr}}" bindinput="handleIpt" class="ipt" data-id="afterInr" placeholder="请输入" data-type="number" placeholder-class="placeholder" disabled="{{!showSaveBtn}}" />
<input type="digit" value="{{case.lastInr}}" bindinput="handleIpt" class="ipt" data-id="lastInr" placeholder="请输入" data-type="number" placeholder-class="placeholder" disabled="{{!showSaveBtn}}" />
</view>
</view>
</view>
@@ -624,26 +718,29 @@
<view class="row">
<view class="left">首次治疗前</view>
<view class="right">
<input type="digit" value="{{case.headAlb}}" bindinput="handleIpt" class="ipt" data-id="headAlb" data-type="number" placeholder="请输入" placeholder-class="placeholder" disabled="{{!showSaveBtn}}" />
<input type="digit" value="{{case.headCrp}}" bindinput="handleIpt" class="ipt" data-id="headCrp" data-type="number" placeholder="请输入" placeholder-class="placeholder" disabled="{{!showSaveBtn}}" />
</view>
</view>
<view class="row">
<view class="left">首次治疗后</view>
<view class="right">
<input type="digit" value="{{case.afterAlb}}" bindinput="handleIpt" class="ipt" data-id="afterAlb" placeholder="请输入" data-type="number" placeholder-class="placeholder" disabled="{{!showSaveBtn}}" />
<input type="digit" value="{{case.afterCrp}}" bindinput="handleIpt" class="ipt" data-id="afterCrp" placeholder="请输入" data-type="number" placeholder-class="placeholder" disabled="{{!showSaveBtn}}" />
</view>
</view>
<view class="row">
<view class="row" wx:if="{{case.dpmas.length>1}}">
<view class="left">最后一次治疗后</view>
<view class="right">
<input type="digit" value="{{case.afterAlb}}" bindinput="handleIpt" class="ipt" data-id="afterAlb" placeholder="请输入" data-type="number" placeholder-class="placeholder" disabled="{{!showSaveBtn}}" />
<input type="digit" value="{{case.lastCrp}}" bindinput="handleIpt" class="ipt" data-id="lastCrp" placeholder="请输入" data-type="number" placeholder-class="placeholder" disabled="{{!showSaveBtn}}" />
</view>
</view>
</view>
<view class="table">
<view class="t_title">
白介素6(IL-6-ng/L)<text class="red"></text>
<view class="t_title baijiesu">
白介素6(<van-radio-group style="margin-left: 4px;" value="{{case.il6Unit}}" bind:change="onChangeRadio" data-type="case.il6Unit" disabled="{{!showSaveBtn}}" direction="horizontal">
<van-radio icon-size="15" name="{{item.value}}" wx:for="{{il6Unit}}" wx:key="value">{{item.name}}</van-radio>
</van-radio-group>)<text class="red"></text>
</view>
<view class="row">
<view class="left">首次治疗前</view>
@@ -657,10 +754,10 @@
<input type="digit" value="{{case.afterIl6}}" bindinput="handleIpt" class="ipt" data-id="afterIl6" placeholder="请输入" data-type="number" placeholder-class="placeholder" disabled="{{!showSaveBtn}}" />
</view>
</view>
<view class="row">
<view class="row" wx:if="{{case.dpmas.length>1}}">
<view class="left">最后一次治疗后</view>
<view class="right">
<input type="digit" value="{{case.afterIl6}}" bindinput="handleIpt" class="ipt" data-id="afterIl6" placeholder="请输入" data-type="number" placeholder-class="placeholder" disabled="{{!showSaveBtn}}" />
<input type="digit" value="{{case.lastIl6}}" bindinput="handleIpt" class="ipt" data-id="lastIl6" placeholder="请输入" data-type="number" placeholder-class="placeholder" disabled="{{!showSaveBtn}}" />
</view>
</view>
</view>
@@ -680,25 +777,26 @@
<input type="digit" value="{{case.afterTnf}}" bindinput="handleIpt" class="ipt" data-id="afterTnf" placeholder="请输入" data-type="number" placeholder-class="placeholder" disabled="{{!showSaveBtn}}" />
</view>
</view>
<view class="row">
<view class="row" wx:if="{{case.dpmas.length>1}}">
<view class="left">最后一次治疗后</view>
<view class="right">
<input type="digit" value="{{case.afterTnf}}" bindinput="handleIpt" class="ipt" data-id="afterTnf" placeholder="请输入" data-type="number" placeholder-class="placeholder" disabled="{{!showSaveBtn}}" />
<input type="digit" value="{{case.lastTnf}}" bindinput="handleIpt" class="ipt" data-id="lastTnf" placeholder="请输入" data-type="number" placeholder-class="placeholder" disabled="{{!showSaveBtn}}" />
</view>
</view>
</view>
<view class="row" style="flex-direction: column;border:none;padding-bottom:120rpx;">
<view class="left">
检查报告单(可上传1-6张)<text class="red">*</text>
上传报告单图片(1-6张)<text class="red">*</text>
</view>
<view class="red rederror">包含肝功能或生化检测(必须有、审查)、凝血功能、炎症因子化验单,至少包含首次治疗前后化验单拍照,需进行隐私信息脱敏(姓名、电话、身份证)</view>
<view class="uploadbox">
<van-uploader file-list="{{ fileList_check }}" multiple bind:delete="deleteImg" max-count="6" name="check" show-upload="{{showSaveBtn}}" deletable="{{showSaveBtn}}" bind:after-read="afterRead" upload-text="上传" upload-icon="{{img_host+'/upload.png'}}" />
<van-uploader file-list="{{ fileList_check }}" bind:delete="deleteImg" readonly="{{ fileList_check.length>=6}}" max-count="6" name="check" show-upload="{{showSaveBtn}}" deletable="{{showSaveBtn}}" bind:after-read="afterRead" upload-text="上传" upload-icon="{{img_host+'/upload.png'}}" />
</view>
</view>
<view class="btnbox" wx:if="{{showSaveBtn}}">
<view class="btn" bind:tap="save">提交</view>
<view class="btn" bind:tap="saveCheck">下一步</view>
</view>
</view>
</van-tab>
<van-tab title="疾病转归" disabled="{{disable_back}}">
@@ -707,9 +805,8 @@
<view class="left">
出院时间<text class="red">*</text>
</view>
<view class="right" bind:tap="openHeadTime">
<input type="text" value="{{case.headTime}}" class="ipt" placeholder="请选择时间" placeholder-class="placeholder" disabled />
<text wx:if="{{case.headTime}}">h</text>
<view class="right" bind:tap="openDischargeTime">
<input type="text" value="{{case.dischargeTime}}" class="ipt" placeholder="请选择时间" placeholder-class="placeholder" disabled />
<van-icon name="arrow" color="#83858a" size="38rpx" class="righticon" />
</view>
</view>
@@ -718,41 +815,74 @@
住院天数<text class="red">*</text>
</view>
<view class="right">
<input type="text" value="{{case.headTime}}" class="ipt" placeholder="请输入住院天数" placeholder-class="placeholder" />
<text wx:if="{{case.headTime}}">天</text>
<input type="number" value="{{case.day}}" class="ipt" placeholder="请输入住院天数"
bindinput="handleIpt"
data-type="number"
data-id="day"
placeholder-class="placeholder" />
<text wx:if="{{case.day}}">天</text>
<van-icon name="arrow" color="#83858a" size="38rpx" class="righticon" style="opacity: 0;" />
</view>
</view>
<view class="row" style="flex-direction: column;">
<view class="row" style="flex-direction: column;overflow: hidden;position: relative;">
<view class="left">
出院情况<text class="red">*</text>
</view>
<view class="unit" style="border:none;margin-bottom:0;">
<textarea value="{{case.abstractStr}}" disabled="{{!showSaveBtn}}" class="textArea" placeholder="请输入出院情况" bind:input="onChangeAbstract" bind:change="onChangeAbstract" placeholder-style="color:rgba(0,0,0,0.25)" confirm-type="done" maxlength="500" auto-height="{{true}}" />
<view class="container" >
<editor id="editor2" style="height:{{editorHeight2}}" wx:if="{{active==4}}"
read-only="{{!showSaveBtn}}"
class="ql-container" placeholder="请输入出院情况" bindinput="onChangeEditorDischarge" bindready="onEditorReadyDischarge">
</editor>
<view class="word">
<view class="textdesc">
<van-uploader file-list="{{ fileList }}"
disabled="{{!showSaveBtn}}"
name="dischargeSituation"
bind:after-read="afterReadOcr">
<view class="con">
<van-icon slot name="photo-o" size="20px" />上传图片识别内容
</view>
</van-uploader>
</view>
</view>
</view>
<!-- <view class="unit" style="border:none;margin-bottom:0;">
<textarea value="{{case.dischargeSituation}}" disabled="{{!showSaveBtn}}" class="textArea" placeholder="请输入出院情况"
bind:input="onChangeOther" bind:change="onChangeOther"
wx:if="{{active==4}}"
adjust-keyboard-to="bottom"
bindblur="blurDischargeSituation"
data-type="case.dischargeSituation"
placeholder-style="color:rgba(0,0,0,0.25)" confirm-type="return" maxlength="5000" auto-height="{{true}}" />
<view class="word">
<view class="textdesc">
<van-uploader file-list="{{ fileList }}" bind:after-read="afterRead">
<van-uploader file-list="{{ fileList }}" name="dischargeSituation"
bind:after-read="afterReadOcr" disabled="{{!showSaveBtn}}">
<view class="con">
<van-icon slot name="photo-o" size="20px" />上传图片识别内容
</view>
</van-uploader>
</view>
</view>
</view>
</view> -->
</view>
<view class="row back" style="flex-direction: column;">
<view class="row back" style="flex-direction: column;margin-bottom: 120rpx;">
<view class="left">
出院状态(单选)<text class="red">*</text>
</view>
<view class="right">
<van-radio-group value="{{ case.sex }}" bind:change="onChange" disabled="{{!showSaveBtn}}" direction="horizontal">
<van-radio-group value="{{ case.dischargeStatus }}" bind:change="onChangeRadio" data-type="case.dischargeStatus" disabled="{{!showSaveBtn}}" direction="horizontal">
<van-radio name="{{item.value}}" wx:for="{{hospitalOption}}" wx:key="value">{{item.name}}</van-radio>
</van-radio-group>
</view>
</view>
<view class="btnbox" wx:if="{{showSaveBtn}}">
<view class="btn" bind:tap="save">提交</view>
</view>
</view>
</van-tab>
</van-tab>
</van-tabs>
<!-- <view class="btnbox">
<view class="btn" bind:tap="save">保存</view>
@@ -770,8 +900,29 @@
</dialog>
<dialog showDialog="{{showUseDraft}}" title="提示" message="加载上次草稿?" showCancel="{{false}}" confirmText="确定" bind:confirm="onConfirmUseDraft" bind:cancel="onCancelUseDraft">
</dialog>
<paintCanvas showPaint="{{showPaint}}" bind:afterhandlePaint="afterhandlePaint" paintSrc="{{paintSrc}}" paintFrom="{{paintFrom}}"></paintCanvas>
<paintCanvas showPaint="{{showPaint}}" bind:afterhandlePaint="afterhandlePaint" paintSrc="{{paintSrc}}" paintFrom="{{paintFrom}}" hidden="{{!showPaint}}"></paintCanvas>
<van-popup show="{{ showType }}" round position="bottom" custom-style="height: 50%">
<van-picker columns="{{ columns }}" default-index="{{case.caseType}}" title="请选择病例类型" bind:cancel="onCancelType" show-toolbar bind:confirm="onConfirmType" />
</van-popup>
<van-popup show="{{showOcr}}" round position="bottom" custom-style="height:1100rpx"
close-icon="close" >
<view class="ocrlist">
<view class="titlebox">
<view class="cancel" bind:tap="closeOcr">取消</view>
<view class="title">选择识别内容</view>
<view class="ok" bind:tap="confirmOcr">确定</view>
</view>
<view class="ocrcontent">
<view class="btnBox">
<van-checkbox value="{{ocrChecked}}" bind:change="onChangeOcrCheck">选中所有</van-checkbox>
</view>
<view class="ocrbox">
<view class="tag {{item.checked?'active':''}}" wx:for="{{tagList}}" wx:key="index" bind:tap="toggleWord" data-index="{{index}}">{{item.words}}</view>
</view>
</view>
</view>
</van-popup>
+90 -2
View File
@@ -63,7 +63,7 @@ page{
width:100%!important;
height:100%!important;
}
.unit .con{
.word .con{
display: flex;
padding: 5rpx 0;
align-items: center;
@@ -157,6 +157,15 @@ margin-top: 24rpx;
background-color: #fff;
padding-bottom: 28rpx;
}
.recordcon .tips{
margin:0 32rpx;
display: flex;
align-items: center;
padding: 10rpx 0;
}
.recordcon .tips text{
color:orange;
}
.van-cell {
padding:10px 0 !important;
}
@@ -411,14 +420,25 @@ color: #3881F7;
.van-radio__icon--disabled{
background-color: #fff!important;
}
.van-checkbox__icon--disabled{
background-color: #fff!important;
}
.van-radio__icon--disabled.van-radio__icon--checked{
color:#fff!important;
background-color: #1989fa!important;
border-color:#1989fa ;
}
.van-checkbox__icon--disabled.van-checkbox__icon--checked{
color:#fff!important;
background-color: #1989fa!important;
border-color:#1989fa ;
}
.van-radio__label--disabled{
color:#000!important;
}
.van-checkbox__label--disabled{
color:#000!important;
}
.basic .textArea{
border-radius:10px;
padding:10px;
@@ -436,4 +456,72 @@ color: #3881F7;
.record .textArea{
padding:10px;
}
.baijiesu .van-radio--horizontal{
margin-right:5px;
}
.baijiesu .van-radio__label{
padding-left:5px;
}
.ocrlist{
display: flex;
max-height:1100rpx;
flex-direction: column;
}
.ocrlist .titlebox{
display: flex;
text-align: center;
justify-content: space-between;
padding: 30rpx 30rpx;
border: 1rpx solid rgba(0,0,0,0.1);
}
.ocrlist .titlebox .cancel{
color:#999;
}
.ocrlist .titlebox .ok{
color:#1989fa
}
.ocrlist .ocrcontent{
padding:10rpx 32rpx;
flex:1;
overflow-y: scroll;
}
.ocrlist .ocrbox{
display: inline-flex;
flex-wrap: wrap;
}
.ocrlist .btnBox{
margin-top: 12rpx;
display: flex;
align-items: center;
}
.ocrlist .ocrbox .tag{
padding:10rpx 10rpx;
margin-right: 8rpx;
margin-bottom: 10rpx;
color:#999;
border-radius: 10rpx;
font-size: 26rpx;
border:1px solid #999;
word-break: break-all;
display: flex;
}
.ocrlist .ocrbox .tag.active{
color:#1989fa;
border:1px solid #1989fa;
}
.back .textArea{
min-height: 600rpx!important;
max-height: 1200rpx!important;
}
.ql-editor.ql-blank:before {
/* 此处设置 placeholder 样式 */
color: rgba(0,0,0,0.25);
font-style: normal;
}