crm_second_opening_mini/components/approvalStatus.wxml

1 line
3.1 KiB
Plaintext
Raw Normal View History

2023-03-13 01:13:08 +00:00
<view class="boxwarp data-v-17169a44"><view class="apptitle data-v-17169a44">审批流程</view><block wx:if="{{process.status==1}}"><view class="approbox data-v-17169a44"><block wx:for="{{process.stepList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="appli data-v-17169a44"><view class="xian data-v-17169a44"></view><block wx:if="{{item.status==1}}"><view class="title data-v-17169a44">指定员工(任意一人)</view></block><block wx:if="{{item.status==2}}"><view class="title data-v-17169a44">指定员工(会签)</view></block><block wx:if="{{item.status==3}}"><view class="title data-v-17169a44">直属上级</view></block><block wx:for="{{item.stafflist}}" wx:for-item="staffitem" wx:for-index="staffindex" wx:key="staffindex"><view class="stafflist data-v-17169a44"><view class="staffli data-v-17169a44"><image class="staffimg data-v-17169a44" src="{{staffitem.img}}" mode></image><view class="staffname data-v-17169a44">{{staffitem.name}}</view></view><view class="staffcon data-v-17169a44"><view class="approval_status data-v-17169a44">{{staffitem.examine_reord.check_time?staffitem.examine_reord.check_time:''}}</view><block wx:if="{{staffitem.examine_reord.status==0}}"><view class="approval_status data-v-17169a44">待审核</view></block><block wx:if="{{staffitem.examine_reord.status==1}}"><view class="approval_status data-v-17169a44">审核通过</view></block><block wx:if="{{staffitem.examine_reord.status==2}}"><view class="approval_status data-v-17169a44">审核拒绝</view></block><block wx:if="{{staffitem.examine_reord.status==3}}"><view class="approval_status data-v-17169a44">撤销审批</view></block><view class="approval_status data-v-17169a44">{{staffitem.examine_reord.content?staffitem.examine_reord.content:''}}</view></view></view></block></view></block></view></block><block wx:if="{{process.status==0}}"><view class="info_item data-v-17169a44"><view class="operation_record data-v-17169a44"><block wx:for="{{process.stepList[0].stafflist}}" wx:for-item="aitem" wx:for-index="aindex" wx:key="aindex"><view class="record_item data-v-17169a44"><image src="{{aitem.img?aitem.img:BASE_IMG_URL+'headImg.png'}}" mode="scaleToFill" class="data-v-17169a44"></image><view class="record_info data-v-17169a44"><view class="info_top data-v-17169a44"><view class="data-v-17169a44">{{aitem.name}}</view><view class="record_time data-v-17169a44">{{''+(aitem.examine_reord.check_time?aitem.examine_reord.check_time:'')+''}}</view></view><block wx:if="{{aitem.examine_reord.status==0}}"><view class="data-v-17169a44">待审核</view></block><block wx:if="{{aitem.examine_reord.status==1}}"><view class="data-v-17169a44">审核通过</view></block><block wx:if="{{aitem.examine_reord.status==2}}"><view class="data-v-17169a44">审核拒绝</view></block><block wx:if="{{aitem.examine_reord.status==3}}"><view class="data-v-17169a44">撤销审批</view></block><block wx:if="{{aitem.examine_reord.status==1||aitem.examine_reord.status==2}}"><view class="shenhetext data-v-17169a44" style="margin-top:10rpx;">{{"审核意见:"+aitem.examine_reord.content}}</view></block></view></view></block></view></view></block></view>