regular_invite.wxml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <!--pages/regular_invite/regular_invite.wxml-->
  2. <view class="card over-hidden">
  3. <van-cell title="{{international.start_time[language]}}" border="{{ false }}" class="label-sm">
  4. <zyh-picker type="date-time" delay="{{0}}" placeholder="{{['请选择日期','请选择时间']}}" data-type="startTime" bind:change="getValue"></zyh-picker>
  5. </van-cell>
  6. <van-cell title="{{international.end_time[language]}}" border="{{ false }}" class="label-sm">
  7. <zyh-picker type="date-time" delay="{{8*60*60*1000}}" placeholder="{{['请选择日期','请选择时间']}}" data-type="endTime" bind:change="getValue"></zyh-picker>
  8. </van-cell>
  9. <van-cell title="{{international.Personnel_type[language]}}" border="{{ false }}" class="label-sm">
  10. <zyh-radio-group list="{{personTypeList}}" value="{{0}}" label-key="{{language=='ch'?'name_ch':'name_en'}}" value-key="id" data-type="personnelType" bind:change="getValue"></zyh-radio-group>
  11. </van-cell>
  12. <!-- 拜访事由 -->
  13. <van-cell border="{{ false }}" class="label-sm">
  14. <view slot="title">
  15. <text class="{{form.reason?'text-green':'text-red'}}">*</text>
  16. <text class="van-cell-text">{{international.Visit_for[language]}}</text>
  17. </view>
  18. <zyh-picker closeNum="{{closeNum}}" list="{{reasonList}}" range-key="name" placeholder="{{[international.select_occasion[language]]}}" index="{{0}}" data-type="reason" bind:change="getValue">
  19. </zyh-picker>
  20. </van-cell>
  21. <van-cell border="{{ false }}" class="label-sm" bindtap="showSN" wx:if="{{machineList.length>0}}">
  22. <view slot="title">
  23. <!-- <text class="{{snListLength?'text-green':'text-red'}}">*</text> -->
  24. <text class="van-cell-text">{{international.Channel_access[language]}}</text>
  25. </view>
  26. <text>{{snListLength?'已选择'+snListLength+'个通道':international.select_channel[language]}} </text>
  27. <van-icon class="icon" name="arrow" />
  28. </van-cell>
  29. <zjy-radio-checkbox list="{{machineList}}" range-key="sn" data-type="snList" bind:change="getValue" type="checkbox" chooseBuilding="{{chooseSN}}" className="block" sn="{{true}}" />
  30. <van-cell title="{{international.invitation_way[language]}}" border="{{ false }}" class="label-sm">
  31. <zyh-radio-group list="{{isRealNameList}}" value="{{0}}" label-key="{{language=='ch'?'name_ch':'name_en'}}" value-key="id" data-type="invitationWay" bind:change="getValue"></zyh-radio-group>
  32. </van-cell>
  33. <zyh-auto-add language="{{language}}" data-type="phoneList" bind:change="getValue" showAddBut="{{showAddBut}}" closeNum="{{closeNum}}"></zyh-auto-add>
  34. </view>
  35. <view class="btn-area">
  36. <button wx:if="{{!showAddBut}}" open-type="share" class="{{isDisabled?'bg-info':'bg-blue'}}" disabled="{{isDisabled}}">{{international.Immediately_invited[language]}}</button>
  37. <button wx:else class="{{isDisabled?'bg-info':'bg-blue'}}" disabled="{{isDisabled}}" bindtap="gotoInvited">{{international.Immediately_invited[language]}}</button>
  38. </view>