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

76 lines
3.5 KiB
Plaintext

<!--pages/approvalWarning/approvalForm/approvalForm.wxml-->
<view class="approval_form_wrap">
<view class="form_one">
<view wx:if="{{fData.type === '党务及意识形态' || fData.type === '党风廉政建设'}}">
<view>类型:{{fData.type || '暂无'}}</view>
<view>目标项:{{fData.target || '暂无'}}</view>
<view>目标要求:{{fData.demand || '暂无'}}</view>
<view>工作任务:{{fData.detailed || '暂无'}}</view>
<view>达标分:{{fData.score || '暂无'}}</view>
<view>当前得分:{{fData.nowScore || '暂无'}}</view>
<view>考核方式:{{fData.method || '暂无'}}</view>
<view>截止时间:{{fData.finishDate || '暂无'}}</view>
<view>提交人:{{fData.header || '暂无'}}</view>
<view>提交时间:{{fData.updateTime || '暂无'}}</view>
</view>
<view wx:if="{{fData.type === '季度考核指标' || fData.type === '日常考核指标'}}">
<view>类型:{{fData.type || '暂无'}}</view>
<view>考核内容:{{fData.target || '暂无'}}</view>
<view>考核目标:{{fData.demand || '暂无'}}</view>
<view>标准要求:{{fData.method || '暂无'}}</view>
<view>工作任务:{{fData.detailed || '暂无'}}</view>
<view>达标分:{{fData.score || '暂无'}}</view>
<view>当前得分:{{fData.nowScore || '暂无'}}</view>
<view>考核类别:{{fData.unit || '暂无'}}</view>
<view>考核类别:{{fData.unit || '暂无'}}</view>
<view>提交人:{{fData.header || '暂无'}}</view>
<view>提交时间:{{fData.updateTime || '暂无'}}</view>
</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>