regular_invite.axml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. <view class='page-container-classname' style="min-height:100%;" ref='saveChildRef0'>
  2. <view class='card over-hidden'>
  3. <van-cell
  4. title='{{international.start_time[language]}}'
  5. border='{{ false }}'
  6. class='label-sm'
  7. ref='saveChildRef1'
  8. >
  9. <zyh-picker
  10. type='date-time'
  11. delay='{{0}}'
  12. placeholder="{{['请选择日期','请选择时间']}}"
  13. data-type='startTime'
  14. onChange='getValue'
  15. ref='saveChildRef2'
  16. >
  17. </zyh-picker>
  18. </van-cell>
  19. <van-cell
  20. title='{{international.end_time[language]}}'
  21. border='{{ false }}'
  22. class='label-sm'
  23. ref='saveChildRef3'
  24. >
  25. <zyh-picker
  26. type='date-time'
  27. delay='{{8*60*60*1000}}'
  28. placeholder="{{['请选择日期','请选择时间']}}"
  29. data-type='endTime'
  30. onChange='getValue'
  31. ref='saveChildRef4'
  32. >
  33. </zyh-picker>
  34. </van-cell>
  35. <van-cell
  36. title='{{international.Personnel_type[language]}}'
  37. border='{{ false }}'
  38. class='label-sm'
  39. ref='saveChildRef5'
  40. >
  41. <zyh-radio-group
  42. list='{{personTypeList}}'
  43. value='{{0}}'
  44. label-key="{{language=='ch'?'name_ch':'name_en'}}"
  45. value-key='id'
  46. data-type='personnelType'
  47. onChange='getValue'
  48. ref='saveChildRef6'
  49. >
  50. </zyh-radio-group>
  51. </van-cell>
  52. <van-cell border='{{ false }}' class='label-sm' ref='saveChildRef7'>
  53. <view slot='title'>
  54. <text class="{{form.reason?'text-green':'text-red'}}">
  55. *
  56. </text>
  57. <text class='van-cell-text'>
  58. {{international.Visit_for[language]}}
  59. </text>
  60. </view>
  61. <zyh-picker
  62. closeNum='{{closeNum}}'
  63. list='{{reasonList}}'
  64. range-key='name'
  65. placeholder='{{[international.select_occasion[language]]}}'
  66. data-type='reason'
  67. onChange='getValue'
  68. ref='saveChildRef8'
  69. >
  70. </zyh-picker>
  71. </van-cell>
  72. <van-cell border='{{ false }}' class='label-sm' onClick='showSN' ref='saveChildRef9'>
  73. <view slot='title'>
  74. <text class="{{snListLength?'text-green':'text-red'}}">
  75. *
  76. </text>
  77. <text class='van-cell-text'>
  78. {{international.Channel_access[language]}}
  79. </text>
  80. </view>
  81. <text>
  82. {{snListLength?'已选择'+snListLength+'个通道':international.select_channel[language]}}
  83. </text>
  84. <van-icon class='icon' name='arrow' ref='saveChildRef10'>
  85. </van-icon>
  86. </van-cell>
  87. <zjy-radio-checkbox
  88. list='{{machineList}}'
  89. range-key='sn'
  90. data-type='snList'
  91. type='checkbox'
  92. chooseBuilding='{{chooseSN}}'
  93. className='block'
  94. sn='{{true}}'
  95. onChange='getValue'
  96. ref='saveChildRef11'
  97. >
  98. </zjy-radio-checkbox>
  99. <van-cell
  100. title='{{international.invitation_way[language]}}'
  101. border='{{ false }}'
  102. class='label-sm'
  103. ref='saveChildRef12'
  104. >
  105. <zyh-radio-group
  106. list='{{isRealNameList}}'
  107. value='{{1}}'
  108. label-key="{{language=='ch'?'name_ch':'name_en'}}"
  109. value-key='id'
  110. data-type='invitationWay'
  111. onChange='getValue'
  112. ref='saveChildRef13'
  113. >
  114. </zyh-radio-group>
  115. </van-cell>
  116. <zyh-auto-add
  117. language='{{language}}'
  118. data-type='phoneList'
  119. showAddBut='{{showAddBut}}'
  120. closeNum='{{closeNum}}'
  121. onChange='getValue'
  122. ref='saveChildRef14'
  123. >
  124. </zyh-auto-add>
  125. </view>
  126. <view class='btn-area'>
  127. <btn
  128. a:if='{{!showAddBut}}'
  129. open-type='share'
  130. class="{{isDisabled?'bg-info':'bg-blue'}}"
  131. disabled='{{isDisabled}}'
  132. >
  133. {{international.Immediately_invited[language]}}
  134. </btn>
  135. <btn
  136. a:else
  137. class="{{isDisabled?'bg-info':'bg-blue'}}"
  138. disabled='{{isDisabled}}'
  139. onTap='antmoveAction'
  140. data-antmove-tap='gotoInvited'
  141. >
  142. {{international.Immediately_invited[language]}}
  143. </btn>
  144. </view>
  145. </view>