|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107 |
- <!--pages/payee/add/add.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'}};">{{form.id?"":"新增"}}重大项目</text>
- </view>
- <view class="main-box table-box table-boxs" style="margin-top:{{isIPX?'100px':'75px'}};">
- <van-field readonly label="项目名称" value="{{ form.eventName }}" placeholder="项目名称" border="{{ false }}" input-align="right" required />
- <van-field readonly label="发生日期" value="{{ form.eventTime }}" placeholder="发生日期" border="{{ false }}" input-align="right" required />
- <view style="width:100%;border: 1px solid #ddd;padding: 0 3vw;"><text style="display: block;">{{form.eventContent}}</text></view>
- <view style="margin-bottom: 15px;"></view>
- <van-field readonly label="备注" value="{{ form.remark }}" placeholder="备注" border="{{ false }}" bind:change="onChange" input-align="right" data-value="form.remark"/>
- </view>
-
- <view class="main-box" style="margin-top: 15px;">
- <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='{{false}}' deletable='{{false}}' bind:click-preview="lookDown" data-idx="{{index}}"></van-upload>
- </view>
- </view>
- </view>
- </view>
- </view>
-
- <view class="main-box steps-box">
- <view class="steps-tit">审批流程</view>
- <van-row wx:for="{{spsxOptions}}" wx:key="index">
- <van-col span="3">
- <view class="index {{(item.approverStatus != null||index==0) ? 'active':'' }}">{{index+1}}</view>
- <!-- :class="{'indexCenter':index==0 ? false : true}" -->
- <block wx:if="{{index==0}}">
- <view class="indexBorder">
- <view class="ssT" wx:if="{{index>0}}"></view>
- <view class="yq"></view>
- <view class="ss" wx:if="{{spsxOptions.length != index+1}}"></view>
- </view>
- </block>
- <block wx:else>
- <view class="indexBorder indexCenter">
- <view class="ssT" wx:if="{{index>0}}"></view>
- <view class="yq"></view>
- <view class="ss" wx:if="{{spsxOptions.length != index+1 || pageType !='see'}}"></view>
- </view>
- </block>
- </van-col>
- <van-col span="21" style="height: 77px;">
- <van-cell center="{{true}}" border="{{false}}">
- <view slot="title" class="cellTit">
- <text>{{item.assigneeName == null ? '' : item.assigneeName}}</text>
- <text>{{item.activityName}}</text>
- </view>
- <!-- <view class="agree" wx:if="{{item.approverStatus=='true'}}">同意</view>
- <view class="in" wx:elif="{{(item.assigneeName==nickName && pageType!='see')}}">审核中</view>
- <view class="disagree" wx:elif="{{item.approverStatus=='false'}}">驳回</view> -->
- </van-cell>
-
- <van-cell center border="{{false}}">
- <view slot="title" style="margin-top: 10px;">
- <view style="color: #999999;line-height: 32px;">{{ item.comment == null ? '' : item.comment }}</view>
- </view>
- <view style="color: #999999;font-size: 12px;margin-top: 10px;line-height: 32px;">{{ sub.times(item.endTime) }}</view>
- </van-cell>
-
- </van-col>
- </van-row>
- <van-row wx:if="{{pageType!='see'}}">
- <van-col span="3">
- <view class="index active">{{spsxOptions.length+1}}</view>
- <view class="indexBorder indexCenter">
- <view class="ssT"></view>
- <view class="yq"></view>
- </view>
- </van-col>
- <van-col span="21" style="height: 77px;">
- <van-cell center="{{true}}" border="{{false}}">
- <view slot="title" class="cellTit">
- <text></text>
- <text></text>
- </view>
- </van-cell>
-
- <view>
- <input class="input_tit" value="{{comment}}" placeholder="意见输入" bindinput="commentInput" style="margin-top: 10px;margin-bottom: 0;"/>
- </view>
-
- </van-col>
- </van-row>
- </view>
- <view class="bottom" style="margin-bottom: 0px;" wx:if="{{pageType!='see'}}">
- <button type="warn" plain class="btnDis" bindtap="goDis">驳回</button>
- <button type="primary" class="btnAgree" bindtap="goAgree">同意</button>
- </view>
- <!-- <view class="bottom" wx:if="{{pageType!='see'}}">
- <button type="primary" plain class="btnOther" bindtap="goAgree">转办</button>
- </view> -->
- <view class="ipXbtn"></view>
- <wxs module="sub">
- var times = function(time){
- console.log(time)
- return time.substring(0,10);
- }
- module.exports.times = times;
- </wxs>
|