46 lines
2.0 KiB
Plaintext
46 lines
2.0 KiB
Plaintext
<!--pages/clockIn/index.wxml-->
|
||
<view class="clockin">
|
||
<view class="clockin-item" wx:for="{{dataList}}" wx:key="id">
|
||
<view class="item-top">
|
||
<text>{{item.plan_name}}</text>
|
||
<t-tag class="margin-16" variant="light" theme="success" wx:if="{{item.status == 2}}">已完成</t-tag>
|
||
<t-tag class="margin-16" variant="light" wx:if="{{item.status == 1}}">未开始</t-tag>
|
||
<t-tag class="margin-16" variant="light" theme="primary" wx:if="{{item.status == 3}}">待开始</t-tag>
|
||
</view>
|
||
<view class="dose">随访时间:{{item.plan_date}}</view>
|
||
<t-button theme="primary" block bindtap="toQuestionnaire" wx:if="{{item.status == 2}}">填写随访问卷</t-button>
|
||
<t-button bindtap="toRegister" theme="primary" block wx:if="{{item.status == 3}}">预约挂号</t-button>
|
||
</view>
|
||
<!-- <view class="clockin-item">
|
||
<view class="item-top">
|
||
<text>术后2个月随访</text>
|
||
<t-tag class="margin-16" variant="light" theme="primary">待开始</t-tag>
|
||
</view>
|
||
<view class="dose">随访时间:2025年5月20日</view>
|
||
<t-button bindtap="toRegister" theme="primary" block>预约挂号</t-button>
|
||
</view>
|
||
<view class="clockin-item">
|
||
<view class="item-top">
|
||
<text>术后3个月随访</text>
|
||
<t-tag class="margin-16" variant="light">未开始</t-tag>
|
||
</view>
|
||
<view class="dose">随访时间:2025年5月20日</view>
|
||
</view>
|
||
<view class="clockin-item">
|
||
<view class="item-top">
|
||
<text>术后4个月随访</text>
|
||
<t-tag class="margin-16" variant="light">未开始</t-tag>
|
||
</view>
|
||
<view class="dose">随访时间:2025年5月20日</view>
|
||
</view>
|
||
<view class="clockin-item">
|
||
<view class="item-top">
|
||
<text>术后1年随访</text>
|
||
<t-tag class="margin-16" variant="light">未开始</t-tag>
|
||
</view>
|
||
<view class="dose">随访时间:2025年5月20日</view>
|
||
</view> -->
|
||
<view class="footer-example">
|
||
<t-button theme="primary" block bindtap="toQuestionnaire">添加随访</t-button>
|
||
</view>
|
||
</view> |