微信小程序
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. <!--pages/payee/add/add.wxml-->
  2. <view class="ns" style="height:{{isIPX?'88px':'64px'}};">
  3. <image src="/image/apply/back.png" style="top:{{isIPX?'54px':'30px'}};height: 19.0909px;" mode="widthFix" bindtap="back"></image>
  4. <text style="top:{{isIPX?'54px':'30px'}};">{{form.id?"":"新增"}}重大项目</text>
  5. </view>
  6. <view class="main-box table-box table-boxs" style="margin-top:{{isIPX?'100px':'75px'}};">
  7. <van-field readonly label="项目名称" value="{{ form.eventName }}" placeholder="项目名称" border="{{ false }}" input-align="right" required />
  8. <van-field readonly label="发生日期" value="{{ form.eventTime }}" placeholder="发生日期" border="{{ false }}" input-align="right" required />
  9. <view style="width:100%;border: 1px solid #ddd;padding: 0 3vw;"><text style="display: block;">{{form.eventContent}}</text></view>
  10. <view style="margin-bottom: 15px;"></view>
  11. <van-field readonly label="备注" value="{{ form.remark }}" placeholder="备注" border="{{ false }}" bind:change="onChange" input-align="right" data-value="form.remark"/>
  12. </view>
  13. <view class="main-box" style="margin-top: 15px;">
  14. <view class="fj-box">
  15. <view class="fj-li" wx:for="{{fileList}}" wx:key="index" wx:for-item="item" >
  16. <view>
  17. <text>{{item.dictLabel}}</text>
  18. </view>
  19. <view class="img_box">
  20. <view class="img_li">
  21. <van-upload file-list="{{ item.list }}" show-upload='{{false}}' deletable='{{false}}' bind:click-preview="lookDown" data-idx="{{index}}"></van-upload>
  22. </view>
  23. </view>
  24. </view>
  25. </view>
  26. </view>
  27. <view class="main-box steps-box">
  28. <view class="steps-tit">审批流程</view>
  29. <van-row wx:for="{{spsxOptions}}" wx:key="index">
  30. <van-col span="3">
  31. <view class="index {{(item.approverStatus != null||index==0) ? 'active':'' }}">{{index+1}}</view>
  32. <!-- :class="{'indexCenter':index==0 ? false : true}" -->
  33. <block wx:if="{{index==0}}">
  34. <view class="indexBorder">
  35. <view class="ssT" wx:if="{{index>0}}"></view>
  36. <view class="yq"></view>
  37. <view class="ss" wx:if="{{spsxOptions.length != index+1}}"></view>
  38. </view>
  39. </block>
  40. <block wx:else>
  41. <view class="indexBorder indexCenter">
  42. <view class="ssT" wx:if="{{index>0}}"></view>
  43. <view class="yq"></view>
  44. <view class="ss" wx:if="{{spsxOptions.length != index+1 || pageType !='see'}}"></view>
  45. </view>
  46. </block>
  47. </van-col>
  48. <van-col span="21" style="height: 77px;">
  49. <van-cell center="{{true}}" border="{{false}}">
  50. <view slot="title" class="cellTit">
  51. <text>{{item.assigneeName == null ? '' : item.assigneeName}}</text>
  52. <text>{{item.activityName}}</text>
  53. </view>
  54. <!-- <view class="agree" wx:if="{{item.approverStatus=='true'}}">同意</view>
  55. <view class="in" wx:elif="{{(item.assigneeName==nickName && pageType!='see')}}">审核中</view>
  56. <view class="disagree" wx:elif="{{item.approverStatus=='false'}}">驳回</view> -->
  57. </van-cell>
  58. <van-cell center border="{{false}}">
  59. <view slot="title" style="margin-top: 10px;">
  60. <view style="color: #999999;line-height: 32px;">{{ item.comment == null ? '' : item.comment }}</view>
  61. </view>
  62. <view style="color: #999999;font-size: 12px;margin-top: 10px;line-height: 32px;">{{ sub.times(item.endTime) }}</view>
  63. </van-cell>
  64. </van-col>
  65. </van-row>
  66. <van-row wx:if="{{pageType!='see'}}">
  67. <van-col span="3">
  68. <view class="index active">{{spsxOptions.length+1}}</view>
  69. <view class="indexBorder indexCenter">
  70. <view class="ssT"></view>
  71. <view class="yq"></view>
  72. </view>
  73. </van-col>
  74. <van-col span="21" style="height: 77px;">
  75. <van-cell center="{{true}}" border="{{false}}">
  76. <view slot="title" class="cellTit">
  77. <text></text>
  78. <text></text>
  79. </view>
  80. </van-cell>
  81. <view>
  82. <input class="input_tit" value="{{comment}}" placeholder="意见输入" bindinput="commentInput" style="margin-top: 10px;margin-bottom: 0;"/>
  83. </view>
  84. </van-col>
  85. </van-row>
  86. </view>
  87. <view class="bottom" style="margin-bottom: 0px;" wx:if="{{pageType!='see'}}">
  88. <button type="warn" plain class="btnDis" bindtap="goDis">驳回</button>
  89. <button type="primary" class="btnAgree" bindtap="goAgree">同意</button>
  90. </view>
  91. <!-- <view class="bottom" wx:if="{{pageType!='see'}}">
  92. <button type="primary" plain class="btnOther" bindtap="goAgree">转办</button>
  93. </view> -->
  94. <view class="ipXbtn"></view>
  95. <wxs module="sub">
  96. var times = function(time){
  97. console.log(time)
  98. return time.substring(0,10);
  99. }
  100. module.exports.times = times;
  101. </wxs>