cyx-ament-wechat/miniprogram/pages/approvalWarning/approvalForm/approvalForm.wxml

54 lines
2.0 KiB
Plaintext

<!--pages/approvalWarning/approvalForm/approvalForm.wxml-->
<view class="approval_form_wrap">
<view class="form_one">
<view>提交人:{{fData.head || '暂无'}}</view>
<view>提交时间:{{fData.updateTime || '暂无'}}</view>
<view>提交指标:{{fData.target || '暂无'}}</view>
</view>
<view class="public_content">
<view class="public_title">附件信息</view>
<view class="file_list" wx:if="{{fileList.length> 0}}">
<view
wx:for="{{fileList}}"
wx:key="id"
class="file_list_item"
data-url="{{item.url}}"
bindtap="handlePreView"
>
({{index+1}})、{{item.name}}
</view>
</view>
<view wx:else class="no_data">暂无数据</view>
</view>
<view class="public_content">
<view class="public_title">审批</view>
<van-cell-group>
<van-field
label="评定分数"
required="{{true}}"
value="{{ submit_form.nowScore }}"
placeholder="请输入评定分数"
error-message="{{scoreMsg}}"
border="{{ true }}"
data-type="score"
bind:change="handlePublicInput"
/>
</van-cell-group>
<van-cell-group>
<van-field
label="批注"
value="{{ submit_form.remark }}"
placeholder="请输入批注"
border="{{ true }}"
data-type="remark"
bind:change="handlePublicInput"
/>
</van-cell-group>
<view class="footer_wrap">审批人:{{fData.reviewer || '暂无'}}</view>
<view class="submit_btn">
<van-button type="info" custom-style="width:40%" bindtap="handleApproval">审批</van-button>
<van-button type="danger" custom-style="width:40%" bindtap="handleOverrule">驳回</van-button>
</view>
</view>
</view>