index.wxml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <!--pages/make_appointment/changeUserInfo/index.wxml-->
  2. <block>
  3. <view class="box" wx:if="{{userType=='常客'}}">
  4. <!-- <view class="end-tip" wx:if="{{isRegularQRCode || temporary_adminInfo}}">
  5. <text wx:if="{{temporary_adminInfo}}">{{international.Lock[language]}}</text>
  6. <text wx:if="{{isRegularQRCode}}">{{international.scanRegularQRCode[language]}}</text>
  7. </view> -->
  8. <!-- 所在楼宇 -->
  9. <view class="card card-cont">
  10. <view class="msg_info">{{international.msg_info[language]}}</view>
  11. <van-cell border="{{ false }}" class="label-sm">
  12. <view slot="title">
  13. <text class="{{buildingAdminId?'text-green':'text-red'}}">*</text>
  14. <text class="van-cell-text">{{international.building[language]}}</text>
  15. </view>
  16. <zyh-picker list="{{building_list}}" index="{{buildingIndex}}" range-key="name" placeholder="{{[international.enter_premises[language]]}}" data-type="buildingAdminId" bind:change="getValue" isAudit="{{disableSelectAdminInfo}}"></zyh-picker>
  17. </van-cell>
  18. <!-- 所在公司 -->
  19. <van-cell border="{{ false }}" class="label-sm">
  20. <view slot="title">
  21. <text class="{{companyAdminId?'text-green':'text-red'}}">*</text>
  22. <text class="van-cell-text">{{international.company[language]}}</text>
  23. </view>
  24. <zyh-picker list="{{temporary_adminInfo?companyList:newCompanyList}}" index="{{companyIndex}}" range-key="name" placeholder="{{[international.select_company[language]]}}" data-type="companyAdminId" bind:change="getValue" isAudit="{{disableSelectAdminInfo}}"></zyh-picker>
  25. </van-cell>
  26. </view>
  27. </view>
  28. <!-- 认证 -->
  29. <view class="card card-cont" wx:if="{{userType=='常客'?companyAdminId:'buildingAdminId'}}">
  30. <zyh-face-verify userType="{{userType}}" bind:certificationState="getCertificationState" bind:updateState="getUpdateState" language="{{language}}" isDisabled="{{isDisabled}}" pageType="更改" needLoginList="{{needLoginList}}" needPhoto="{{needPhoto}}" needRealname="{{needRealname}}" needPhone="{{needPhone}}"></zyh-face-verify>
  31. </view>
  32. <view wx:if="{{userType=='常客'}}">
  33. <!-- 三码合一 -->
  34. <view class="card card-cont" wx:if="{{threeCodeList.length>0}}">
  35. <three_yards xcPhone="{{phone}}" hsHour="{{hsHour}}" threeCodeList="{{threeCodeList}}" bind:isthreeYards="isthreeYards" buildingId="{{buildingAdminId}}" />
  36. </view>
  37. <!-- 自定义字段 -->
  38. <custom-field wx:if="{{isShowApplet}}" orgId="{{buildingAdminId}}" bind:isFillFields="isFillFields" />
  39. </view>
  40. <!-- 按钮 -->
  41. <view class="btn-area" wx:if="{{userType=='常客'}}">
  42. <button bindtap="sure" class="{{isSubmit?'bg-blue':'bg-grey'}}" disabled="{{!isSubmit}}">{{international.submit[language]}}</button>
  43. </view>
  44. </block>