| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- <view class="container">
- <van-search use-action-slot placeholder='请输入搜索关键词' shape='round' bind:search="onSearch" bind:clear="onSearch" />
- <view class="header" style="height: 20rpx;"></view>
- <Yl_ListBox id='ListBox' bind:getlist='getList'>
- <view class="item" wx:for="{{list}}" wx:key="sa_esign_contract_taskmxid" bindtap="onItemClick" data-item="{{item}}">
- <view class="reconfirm-btn" wx:if="{{item._status === '待签署'}}" catchtap="onReconfirm" data-item="{{item}}">变更签署信息</view>
- <view class="top">
- <view class="name">{{item.taskname || '--'}}</view>
- <view class="statu" style="border-color: {{set.color(item._status)}}; color: {{set.color(item._status)}};">
- {{item._status || '--'}}
- </view>
- </view>
- <view class="content">
- <view class="row">
- <view class="exp">合同模版:{{item.name || '--'}}</view>
- </view>
- <view class="row">
- <view class="exp">年度:{{item.year || '--'}}</view>
- <view class="exp">合同类型:{{item.type || '--'}}</view>
- </view>
- <view class="row">
- <view class="exp">发布时间:{{item.senddate || '--'}}</view>
- </view>
- <view class="row">
- <view class="exp full-width">备注:{{item.remarks || '--'}}</view>
- </view>
- </view>
- </view>
- <Yl_Empty wx:if="{{list.length==0}}" />
- <view style="height:150rpx;" />
- </Yl_ListBox>
- </view>
- <wxs module="set">
- module.exports = {
- color: function (statu) {
- var color = '#999999';
- switch (statu) {
- case "待开始":
- color = '#909399';
- break;
- case "待签署":
- color = '#3874F6';
- break;
- case "部分签署":
- color = '#E6A23C';
- break;
- case "合同签署完成":
- case "已签署":
- case "已完成":
- color = '#67C23A';
- break;
- case "已拒签":
- color = '#F56C6C';
- break;
- };
- return color;
- }
- }
- </wxs>
|