|
|
@ -1,15 +1,6 @@ |
|
|
|
<wxs src="/utils/util.wxs" module="tools" /> |
|
|
|
<wxs src="/utils/util.wxs" module="tools" /> |
|
|
|
<van-nav-bar |
|
|
|
<van-nav-bar title="录入病历" fixed bind:click-left="handleBack" bind:click-right="onClickRight"> |
|
|
|
title="录入病历" |
|
|
|
<van-icon name="arrow-left" slot="left" size="18px" /> |
|
|
|
fixed |
|
|
|
|
|
|
|
bind:click-left="handleBack" |
|
|
|
|
|
|
|
bind:click-right="onClickRight" |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<van-icon |
|
|
|
|
|
|
|
name="arrow-left" |
|
|
|
|
|
|
|
slot="left" |
|
|
|
|
|
|
|
size="18px" |
|
|
|
|
|
|
|
/> |
|
|
|
|
|
|
|
</van-nav-bar> |
|
|
|
</van-nav-bar> |
|
|
|
<view class="page" style="padding-top:{{menuButtonInfo.top + 60}}px;"> |
|
|
|
<view class="page" style="padding-top:{{menuButtonInfo.top + 60}}px;"> |
|
|
|
<view class="card"> |
|
|
|
<view class="card"> |
|
|
@ -18,23 +9,9 @@ |
|
|
|
<text class="limit">({{images.length}}/9)</text> |
|
|
|
<text class="limit">({{images.length}}/9)</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="image-files"> |
|
|
|
<view class="image-files"> |
|
|
|
<view |
|
|
|
<view class="photo" wx:for="{{images}}" wx:key="index" bind:tap="handlePreviewImage" data-url="{{item.url}}"> |
|
|
|
class="photo" |
|
|
|
<image class="p-img" src="{{item.url}}" mode="aspectFill"></image> |
|
|
|
wx:for="{{images}}" |
|
|
|
<view class="del" catch:tap="handleDelPhoto" data-index="{{index}}"> |
|
|
|
wx:key="index" |
|
|
|
|
|
|
|
bind:tap="handlePreviewImage" |
|
|
|
|
|
|
|
data-url="{{item.url}}" |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<image |
|
|
|
|
|
|
|
class="p-img" |
|
|
|
|
|
|
|
src="{{item.url}}" |
|
|
|
|
|
|
|
mode="aspectFill" |
|
|
|
|
|
|
|
></image> |
|
|
|
|
|
|
|
<view |
|
|
|
|
|
|
|
class="del" |
|
|
|
|
|
|
|
catch:tap="handleDelPhoto" |
|
|
|
|
|
|
|
data-index="{{index}}" |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<van-icon name="cross" /> |
|
|
|
<van-icon name="cross" /> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="repeat" wx:if="{{item.repeat}}"> |
|
|
|
<view class="repeat" wx:if="{{item.repeat}}"> |
|
|
@ -42,12 +19,7 @@ |
|
|
|
<view class="r-title">重复图片</view> |
|
|
|
<view class="r-title">重复图片</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<uploadFile |
|
|
|
<uploadFile obscure edit="{{edit}}" bind:file="handlePhoto" bind:tap="handleMapPhoto" wx:if="{{images.length<9}}"> |
|
|
|
obscure |
|
|
|
|
|
|
|
edit="{{edit}}" |
|
|
|
|
|
|
|
bind:file="handlePhoto" |
|
|
|
|
|
|
|
wx:if="{{images.length<9}}" |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<view class="upload-file"> |
|
|
|
<view class="upload-file"> |
|
|
|
<van-icon class="add" name="plus" /> |
|
|
|
<van-icon class="add" name="plus" /> |
|
|
|
</view> |
|
|
|
</view> |
|
|
@ -68,16 +40,8 @@ |
|
|
|
<view class="limit">{{description.length}}/3000</view> |
|
|
|
<view class="limit">{{description.length}}/3000</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="audio-list"> |
|
|
|
<view class="audio-list"> |
|
|
|
<view |
|
|
|
<view class="row" wx:for="{{audios}}" wx:key="index"> |
|
|
|
class="row" |
|
|
|
<customAudioBar class="audio-bar" url="{{item.url}}" time="{{item.duration}}"></customAudioBar> |
|
|
|
wx:for="{{audios}}" |
|
|
|
|
|
|
|
wx:key="index" |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<customAudioBar |
|
|
|
|
|
|
|
class="audio-bar" |
|
|
|
|
|
|
|
url="{{item.url}}" |
|
|
|
|
|
|
|
time="{{item.duration}}" |
|
|
|
|
|
|
|
></customAudioBar> |
|
|
|
|
|
|
|
<image |
|
|
|
<image |
|
|
|
class="del" |
|
|
|
class="del" |
|
|
|
src="{{imageUrl}}icon-clsoe-green.png?t={{Timestamp}}" |
|
|
|
src="{{imageUrl}}icon-clsoe-green.png?t={{Timestamp}}" |
|
|
@ -85,23 +49,26 @@ |
|
|
|
data-index="{{index}}" |
|
|
|
data-index="{{index}}" |
|
|
|
></image> |
|
|
|
></image> |
|
|
|
<view class="options"> |
|
|
|
<view class="options"> |
|
|
|
<customAudioText class="trans" url="{{item.url}}">转文字</customAudioText> |
|
|
|
<customAudioText |
|
|
|
|
|
|
|
class="trans" |
|
|
|
|
|
|
|
url="{{item.url}}" |
|
|
|
|
|
|
|
data-map1="BTN_INPUTCASEVOICETOTEXT" |
|
|
|
|
|
|
|
data-map2="BTN_INPUTCASECOPYTEXT" |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
转文字 |
|
|
|
|
|
|
|
</customAudioText> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="record"> |
|
|
|
<view class="record"> |
|
|
|
<customRecord class="custom-record" bind:file="handleAudio"></customRecord> |
|
|
|
<customRecord class="custom-record" bind:file="handleAudio" bind:tap="handleMapAudio"></customRecord> |
|
|
|
<view class="r-title">您也可以长按录入语音</view> |
|
|
|
<view class="r-title">您也可以长按录入语音</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="card"> |
|
|
|
<view class="card"> |
|
|
|
<view class="card-title"> |
|
|
|
<view class="card-title"> |
|
|
|
病历相关文件 |
|
|
|
病历相关文件 |
|
|
|
<uploadFile |
|
|
|
<uploadFile class="message-select-wrap" chooseMessage bind:file="handleFile" bind:tap="handleMapFile"> |
|
|
|
class="message-select-wrap" |
|
|
|
|
|
|
|
chooseMessage |
|
|
|
|
|
|
|
bind:file="handleFile" |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<view class="message-select">从聊天记录选择文件</view> |
|
|
|
<view class="message-select">从聊天记录选择文件</view> |
|
|
|
</uploadFile> |
|
|
|
</uploadFile> |
|
|
|
</view> |
|
|
|
</view> |
|
|
@ -160,33 +127,13 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="footer"> |
|
|
|
<view class="footer"> |
|
|
|
<view |
|
|
|
<view class="cancel" wx:if="{{ !caseId || auth.canDraft }}" bind:tap="handleCache">存为草稿</view> |
|
|
|
class="cancel" |
|
|
|
<view wx:if="{{isInvite}}" class="submit" bind:tap="handleInvite">保存并提交</view> |
|
|
|
wx:if="{{ !caseId || auth.canDraft }}" |
|
|
|
<view wx:else class="submit disabled" bind:tap="handleNoInvite">保存并提交</view> |
|
|
|
bind:tap="handleCache" |
|
|
|
|
|
|
|
>存为草稿 |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
<view |
|
|
|
|
|
|
|
wx:if="{{isInvite}}" |
|
|
|
|
|
|
|
class="submit" |
|
|
|
|
|
|
|
bind:tap="handleInvite" |
|
|
|
|
|
|
|
>保存并提交 |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
<view |
|
|
|
|
|
|
|
wx:else |
|
|
|
|
|
|
|
class="submit disabled" |
|
|
|
|
|
|
|
bind:tap="handleNoInvite" |
|
|
|
|
|
|
|
>保存并提交 |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<van-popup |
|
|
|
<van-popup show="{{ show1 }}" bind:close="onClose" round closeable> |
|
|
|
show="{{ show1 }}" |
|
|
|
|
|
|
|
bind:close="onClose" |
|
|
|
|
|
|
|
round |
|
|
|
|
|
|
|
closeable |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<view class="popup1"> |
|
|
|
<view class="popup1"> |
|
|
|
<view class="title">确认提交您的反馈信息</view> |
|
|
|
<view class="title">确认提交您的反馈信息</view> |
|
|
|
<view class="btn1" bind:tap="handleSubmit">直接提交我的反馈信息</view> |
|
|
|
<view class="btn1" bind:tap="handleSubmit">直接提交我的反馈信息</view> |
|
|
@ -197,12 +144,7 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</van-popup> |
|
|
|
</van-popup> |
|
|
|
|
|
|
|
|
|
|
|
<van-popup |
|
|
|
<van-popup show="{{ show2 }}" bind:close="onClose" round closeable> |
|
|
|
show="{{ show2 }}" |
|
|
|
|
|
|
|
bind:close="onClose" |
|
|
|
|
|
|
|
round |
|
|
|
|
|
|
|
closeable |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<view class="popup2"> |
|
|
|
<view class="popup2"> |
|
|
|
<view class="title">您的病历没有进行涂抹</view> |
|
|
|
<view class="title">您的病历没有进行涂抹</view> |
|
|
|
<!-- prettier-ignore --> |
|
|
|
<!-- prettier-ignore --> |
|
|
|