You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
2.4 KiB
Plaintext
53 lines
2.4 KiB
Plaintext
<view class="cu-bar search bg-white">
|
|
<view class="search-form round">
|
|
<text class="cuIcon-search"></text>
|
|
<input type="text" placeholder="输入病案号或姓名" bindinput="getKeyword"></input>
|
|
</view>
|
|
<view class="action">
|
|
<button class="cu-btn bg-green shadow-blur round" style="width:20vw" bindtap="loadData">搜索</button>
|
|
</view>
|
|
</view>
|
|
<scroll-view scroll-x class="bg-white nav">
|
|
<view class="flex text-center">
|
|
<view class="cu-item flex-sub {{index==TabCur?'text-orange cur':''}}" wx:for="{{tabItem}}" wx:key="index" bindtap="tabSelect" data-id="{{index}}">
|
|
{{tabItem[index]}}
|
|
</view>
|
|
</view>
|
|
</scroll-view>
|
|
<scroll-view scroll-y style="height:calc(100vh - 194rpx)" bindscrolltolower="loadNextData">
|
|
<view class="cu-list menu-avatar">
|
|
<view class="cu-item" wx:for="{{listData}}" wx:key="id" style="height:172rpx">
|
|
<text class="cu-avatar lg cuIcon-form" style="height:130rpx"></text>
|
|
<view class="content">
|
|
<view class="text-grey text-lg">{{item.mrNumber}}</view>
|
|
<view class="text-gray">患者:{{item.patientName}},就诊次数:{{item.times}}</view>
|
|
<view class="text-gray text-sm">出院日期:{{item.dischargeDate}}</view>
|
|
</view>
|
|
<view class="action" style="width:200rpx">
|
|
<view class="text-grey text-xs">{{item.type}}</view>
|
|
<view class="cu-tag round bg-grey" wx:if="{{item.type==='原件寄回'||item.status!=='已完成'}}">{{item.status}}</view>
|
|
<view class="cu-tag round bg-grey" wx:if="{{item.type==='电子扫描件'&&item.status==='已完成'}}" bindtap="showDownUrl" data-target="Modal" data-downurl="{{item.downUrl}}">下载地址</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</scroll-view>
|
|
|
|
<view class="cu-modal {{modalName=='Modal'?'show':''}}">
|
|
<view class="cu-dialog">
|
|
<view class="cu-bar bg-white justify-end">
|
|
<view class="content">下载地址</view>
|
|
<view class="action" bindtap="hideModal">
|
|
<text class="cuIcon-close text-red"></text>
|
|
</view>
|
|
</view>
|
|
<view class="padding-xl">
|
|
<text>{{textContent}}</text>
|
|
</view>
|
|
<view class="cu-bar bg-white justify-end">
|
|
<view class="action">
|
|
<button class="cu-btn line-green text-green" bindtap="hideModal" size="mini">取消</button>
|
|
<button class="cu-btn bg-green margin-left" bindtap="copyText" size="mini">复制</button>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view> |