微信小程序
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

83 linhas
5.3 KiB

  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 label="项目名称" value="{{ form.eventName }}" placeholder="项目名称" border="{{ false }}" bind:change="onChange" input-align="right" required data-value="form.eventName"/>
  8. <view class="section" style="margin-top: -28rpx;">
  9. <view class="section__title"><text style="color:red;margin-right: 8rpx;">*</text>发生日期</view>
  10. <picker mode="date" value="{{form.eventTime}}" bindchange="onConfirmEventTime">
  11. <view class="picker">
  12. {{form.eventTime?form.eventTime:'发生日期'}}
  13. </view>
  14. </picker>
  15. </view>
  16. <van-popup show="{{form.showMajorType}}" round position="bottom" bind:close="closeBox" data-name="form.showMajorType">
  17. <van-picker
  18. columns="{{majorTypeOptions}}"
  19. show-toolbar
  20. value-key="dictLabel"
  21. bind:cancel="closeBox"
  22. bind:confirm="onConfirm"
  23. data-name="form.showMajorType"
  24. data-value="form.majorType"
  25. />
  26. </van-popup>
  27. <van-field required label="事项类型" readonly value="{{ form.majorTypeText }}" placeholder="请选择事项类型" border="{{ false }}" bind:change="onChange" input-align="right" is-link arrow-direction ="down" bindtap="openBox" data-name="form.showMajorType"/>
  28. <van-popup show="{{form.showApprovalTemplateName}}" round position="bottom" bind:close="closeBox" data-name="form.showApprovalTemplateName">
  29. <van-picker
  30. columns="{{approvalTemplateList}}"
  31. show-toolbar
  32. value-key="name"
  33. bind:cancel="closeBox"
  34. bind:confirm="onConfirmPickApproval"
  35. data-name="form.showApprovalTemplateName"
  36. data-value="form.approvalTemplateId"
  37. />
  38. </van-popup>
  39. <van-field required label="审批流程" readonly value="{{ form.approvalTemplateName }}" placeholder="请选择审批流程" border="{{ false }}" bind:change="onChange" input-align="right" is-link arrow-direction="down" bindtap="openBox" data-name="form.showApprovalTemplateName"/>
  40. <van-field required label="事项内容" readonly border="{{ false }}" />
  41. <view style="width:100%;margin-bottom: 15px;">
  42. <hf_editor style="width:100%" height="600rpx" insertPicture="{{true}}" placeholder="编写文章..." bind:Content="getHtml" data-name="form.eventContent" bind:insertImage="insertImage" data-id='hf_editor' id="hf_editor"/>
  43. </view>
  44. <van-field required label="理事会提议" readonly border="{{ false }}"/>
  45. <view style="width:100%;margin-bottom: 15px;">
  46. <hf_editor style="width:100%" height="600rpx" insertPicture="{{true}}" placeholder="编写文章..." bind:Content="getHtml" data-name="form.dzbty" bind:insertImage="insertImage" id="hf_editor2" data-id='hf_editor2'/>
  47. </view>
  48. <van-field label="村党支部和理事会商议" border="{{ false }}" required/>
  49. <view style="width:100%;margin-bottom: 15px;">
  50. <hf_editor style="width:100%" height="600rpx" insertPicture="{{true}}" placeholder="编写文章..." bind:Content="getHtml" data-name="form.lwhsy" bind:insertImage="insertImage" id="hf_editor3" data-id='hf_editor3'/>
  51. </view>
  52. <van-field label="党员会审议" border="{{ false }}" required/>
  53. <view style="width:100%;margin-bottom: 15px;">
  54. <hf_editor style="width:100%" height="600rpx" insertPicture="{{true}}" placeholder="编写文章..." bind:Content="getHtml" data-name="form.dqyshsyhjy" bind:insertImage="insertImage" id="hf_editor4" data-id='hf_editor4'/>
  55. </view>
  56. <van-field label="成员(代表)会决议" border="{{ false }}" required/>
  57. <view style="width:100%;margin-bottom: 15px;">
  58. <hf_editor style="width:100%" height="600rpx" insertPicture="{{true}}" placeholder="编写文章..." bind:Content="getHtml" data-name="form.cydbhjy" bind:insertImage="insertImage" id="hf_editor5" data-id='hf_editor5'/>
  59. </view>
  60. <van-field label="决策结果公开" border="{{ false }}" required/>
  61. <view style="width:100%;margin-bottom: 15px;">
  62. <hf_editor style="width:100%" height="600rpx" insertPicture="{{true}}" placeholder="编写文章..." bind:Content="getHtml" data-name="form.jcjggk" bind:insertImage="insertImage" id="hf_editor6" data-id='hf_editor6'/>
  63. </view>
  64. <van-field label="实施情况公开" border="{{ false }}" required/>
  65. <view style="width:100%;margin-bottom: 15px;">
  66. <hf_editor style="width:100%" height="600rpx" insertPicture="{{true}}" placeholder="编写文章..." bind:Content="getHtml" data-name="form.ssqkgk" bind:insertImage="insertImage" id="hf_editor7" data-id='hf_editor7'/>
  67. </view>
  68. <van-field label="备注" value="{{ form.remark }}" placeholder="备注" border="{{ false }}" bind:change="onChange" input-align="right" data-value="form.remark"/>
  69. </view>
  70. <view class="bottom" wx:if="{{showBtn}}">
  71. <view class="btn2" bindtap="goSubmit">保存</view>
  72. </view>
  73. <view style="height: 30px;"></view>