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

54 lines
2.0 KiB
Plaintext
Raw Normal View History

2023-08-31 10:38:54 +08:00
<!--pages/approvalWarning/approvalForm/approvalForm.wxml-->
<view class="approval_form_wrap">
<view class="form_one">
2023-09-12 16:28:42 +08:00
<view>提交人:{{fData.header || '暂无'}}</view>
2023-08-31 10:38:54 +08:00
<view>提交时间:{{fData.updateTime || '暂无'}}</view>
<view>提交指标:{{fData.target || '暂无'}}</view>
</view>
2023-08-31 10:43:26 +08:00
<view class="public_content">
<view class="public_title">附件信息</view>
2023-08-31 11:12:54 +08:00
<view class="file_list" wx:if="{{fileList.length> 0}}">
2023-08-31 10:38:54 +08:00
<view
wx:for="{{fileList}}"
wx:key="id"
class="file_list_item"
data-url="{{item.url}}"
bindtap="handlePreView"
>
({{index+1}})、{{item.name}}
</view>
</view>
2023-08-31 11:12:54 +08:00
<view wx:else class="no_data">暂无数据</view>
2023-08-31 10:38:54 +08:00
</view>
2023-08-31 10:43:26 +08:00
<view class="public_content">
<view class="public_title">审批</view>
<van-cell-group>
<van-field
2023-08-31 11:12:54 +08:00
label="评定分数"
required="{{true}}"
value="{{ submit_form.nowScore }}"
placeholder="请输入评定分数"
error-message="{{scoreMsg}}"
border="{{ true }}"
data-type="score"
bind:change="handlePublicInput"
2023-08-31 10:43:26 +08:00
/>
</van-cell-group>
2023-08-31 11:12:54 +08:00
<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>
2023-08-31 10:43:26 +08:00
</view>
2023-08-31 10:38:54 +08:00
</view>