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

94 lines
4.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-19 09:37:27 +08:00
<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>
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>
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>
2023-10-09 11:07:41 +08:00
<van-button type="danger" custom-style="width:40%" bindtap="handleOverruleOpen">驳回</van-button>
2023-08-31 11:12:54 +08:00
</view>
2023-08-31 10:43:26 +08:00
</view>
2023-08-31 10:38:54 +08:00
</view>
2023-10-09 11:07:41 +08:00
<!--驳回意见-->
<van-popup
show="{{ overruleShow }}"
position="bottom"
round
bind:close="handleOverruleClose"
>
<view class="overrule_wrap">
<van-cell-group>
<van-field
model:value="{{ remark }}"
label="驳回意见"
placeholder="请输入驳回意见"
/>
</van-cell-group>
<van-button type="info" custom-style="width:100%;margin-top:2%" bindtap="handleOverruleSubmit">提交</van-button>
</view>
</van-popup>