|
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- <!--pages/bank/bank.wxml-->
- <view class="ns" style="height:{{isIPX?'88px':'64px'}};">
- <image src="../../image/apply/back.png" style="top:{{isIPX?'54px':'30px'}};height: 19.0909px;" mode="widthFix" bindtap="back"></image>
- <text style="top:{{isIPX?'54px':'30px'}};">重大事项</text>
- </view>
-
- <view class="search_box" id="top_view" style="margin-top:{{isIPX?'100px':'75px'}};">
- <van-search
- value="{{ eventName }}"
- shape="round"
- background="transparent"
- placeholder="请输入事项名称"
- clearable
- bind:change="goSearch"
- />
- <view class="add_btn" bindtap="goAdd"><text>新增</text></view>
- </view>
- <scroll-view scroll-y refresher-threshold="0" style="height:{{scrollHeight}}px" bindscrolltolower="paging" lower-threshold="100">
- <van-swipe-cell right-width="{{ 130 }}" class="workflow" wx:for="{{list}}" wx:key="index">
- <view class="li" bindtap="goUpdate" data-id="{{item.id}}">
- <view class="tit_box">
- <view class="tit_box_left">
- <image src="/image/icon/icon_gc.png" style="width: 17px; height: 15px;"></image>
- <text class="tit">{{item.eventName}}</text>
- </view>
- </view>
- <view class="detail_time_box">
- <view class="detail_time">
- <image src="/image/icon/icon_date.png" style="width: 14px;height: 14px;"></image>
- <text>{{item.eventTime}}</text>
- </view>
- <view class="detail_time">
- <text class="detail_box_money" wx:if="{{item.auditStatus==0}}" style="color:#000">草稿</text>
- <text class="detail_box_money" wx:if="{{item.auditStatus==1}}" style="color:#e6a23c;">待审</text>
- <text class="detail_box_money" wx:if="{{item.auditStatus==2}}" style="color:#f56c6c;">驳回</text>
- <text class="detail_box_money" wx:if="{{item.auditStatus==3}}" style="color:#67c23a;">通过</text>
- </view>
- </view>
- </view>
- <view slot="right" class="deleteBox">
- <view style="flex: 1;height: 100%;display: flex;align-items: center;flex-direction: column;justify-content: center;background-color: rgb(255,0,0,0.2);" data-id="{{item.id}}" data-index="{{index}}" bindtap="delete" wx:if="{{item.auditStatus==0||item.auditStatus==2}}">
- <view>
- <image src="../../image/apply/icon_delete.png" style="width: 25px;height: 25px;margin: 0 auto;display: block;" ></image>
- </view>
- <view>
- <text style="color:red">删除</text>
- </view>
- </view>
- <view style="flex: 1;height: 100%;display: flex;align-items: center;flex-direction: column;justify-content: center;background-color: rgb(98,173,102,0.2);" data-id="{{item.id}}" data-index="{{index}}" data-status="{{item.auditStatus}}" bindtap="upload">
- <view>
- <image src="../../image/icon/upload_icon.png" style="width: 25px;height: 25px;margin: 0 auto;display: block;" ></image>
- </view>
- <view>
- <text style="color: #62AD66;">附件</text>
- </view>
- </view>
- <view style="flex: 1;height: 100%;display: flex;align-items: center;flex-direction: column;justify-content: center;background-color: rgb(239,135,7,0.2);" data-id="{{item.id}}" data-index="{{index}}" bindtap="submit" wx:if="{{item.auditStatus==0||item.auditStatus==2}}">
- <view>
- <image src="../../image/icon/relevance_icon.png" style="width: 25px;height: 25px;margin: 0 auto;display: block;" ></image>
- </view>
- <view>
- <text style="color: rgb(239,135,7);">提交</text>
- </view>
- </view>
- </view>
- </van-swipe-cell>
- </scroll-view>
- <van-action-sheet show="{{showUpload}}" title="附件" bind:close="closeBox">
- <scroll-view scroll-y="true" style="height: 600rpx;" bindscrolltoupper="upper" bindscrolltolower="lower" bindscroll="scroll" scroll-top="0">
- <view class="fj-box">
- <view class="fj-li" wx:for="{{fileList}}" wx:key="index" wx:for-item="item" >
- <view>
- <text>{{item.dictLabel}}</text>
- </view>
- <view class="img_box">
- <view class="img_li">
- <van-upload file-list="{{ item.list }}" show-upload='{{showupbtn}}' deletable='{{showupbtn}}' bind:after-read="afterRead" bind:delete="deleteImg" bind:click-preview="lookDown" data-idx="{{index}}">
- </van-upload>
- </view>
- </view>
- </view>
- </view>
- </scroll-view>
- </van-action-sheet>
- <modal hidden="{{!showPopup}}" title="是否删除?" confirm-text="是" cancel-text="否" bindcancel="cancelTem" bindconfirm="confirmTem">
-
- </modal>
- <modal hidden="{{!showPopupDel}}" title="是否删除?" confirm-text="是" cancel-text="否" bindcancel="cancelTemDel" bindconfirm="confirmTemDel">
- </modal>
- <modal hidden="{{!showPopupSubmit}}" title="是否提交?" confirm-text="是" cancel-text="否" bindcancel="cancelTemSub" bindconfirm="confirmTemSub">
- </modal>
|