index.axml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. <view class='page-container-classname' ref='saveChildRef0'>
  2. <zyh-face-verify
  3. type="{{adminInfo?'常客':'访客'}}"
  4. language='{{language}}'
  5. isDisabled='{{isDisabled}}'
  6. userInfo='{{userInfo}}'
  7. choose='{{choose}}'
  8. onCertificationState='getCertificationState'
  9. onUpdateState='getUpdateState'
  10. ref='saveChildRef1'
  11. >
  12. </zyh-face-verify>
  13. <block a:if='{{adminInfo}}'>
  14. <view class='box'>
  15. <view a:if='{{isRegularQRCode || temporary_adminInfo}}' class='end-tip'>
  16. <text a:if='{{temporary_adminInfo}}'>
  17. {{international.Lock[language]}}
  18. </text>
  19. <text a:if='{{isRegularQRCode}}'>
  20. {{international.scanRegularQRCode[language]}}
  21. </text>
  22. </view>
  23. <!-- 所在楼宇 -->
  24. <view class='card card-cont'>
  25. <van-cell border='{{ false }}' class='label-sm' ref='saveChildRef2'>
  26. <view slot='title'>
  27. <text class="{{buildingAdminId?'text-green':'text-red'}}">
  28. *
  29. </text>
  30. <text class='van-cell-text'>
  31. {{international.building[language]}}
  32. </text>
  33. </view>
  34. <zyh-picker
  35. list='{{building_list}}'
  36. index='{{buildingIndex}}'
  37. range-key='name'
  38. placeholder='{{[international.enter_premises[language]]}}'
  39. data-type='buildingAdminId'
  40. isAudit='{{temporary_adminInfo?true:false}}'
  41. onChange='getValue'
  42. ref='saveChildRef3'
  43. >
  44. </zyh-picker>
  45. </van-cell>
  46. <!-- 所在公司 -->
  47. <van-cell
  48. a:if='{{companyList.length>0 }}'
  49. border='{{ false }}'
  50. class='label-sm'
  51. ref='saveChildRef4'
  52. >
  53. <view slot='title'>
  54. <text class="{{companyAdminId?'text-green':'text-red'}}">
  55. *
  56. </text>
  57. <text class='van-cell-text'>
  58. {{international.company[language]}}
  59. </text>
  60. </view>
  61. <zyh-picker
  62. list='{{temporary_adminInfo?companyList:newCompanyList}}'
  63. index='{{companyIndex}}'
  64. range-key='name'
  65. placeholder='{{[international.select_company[language]]}}'
  66. data-type='companyAdminId'
  67. isAudit='{{temporary_adminInfo?true:false}}'
  68. onChange='getValue'
  69. ref='saveChildRef5'
  70. >
  71. </zyh-picker>
  72. </van-cell>
  73. </view>
  74. <!-- 三码合一 -->
  75. <view a:if='{{threeCodeList.length>0}}' class='card card-cont'>
  76. <three_yards
  77. xcPhone='{{phone}}'
  78. hsHour='{{hsHour}}'
  79. threeCodeList='{{threeCodeList}}'
  80. buildingId='{{buildingAdminId}}'
  81. onIsthreeYards='isthreeYards'
  82. ref='saveChildRef6'
  83. >
  84. </three_yards>
  85. </view>
  86. <!-- 自定义字段 -->
  87. <custom-field
  88. a:if='{{isShowApplet}}'
  89. orgId='{{buildingAdminId}}'
  90. onIsFillFields='isFillFields'
  91. ref='saveChildRef7'
  92. >
  93. </custom-field>
  94. </view>
  95. <view class='btn-area'>
  96. <btn
  97. class="{{isSubmit?'bg-blue':'bg-grey'}}"
  98. disabled='{{!isSubmit}}'
  99. onTap='antmoveAction'
  100. data-antmove-tap='sure'
  101. >
  102. {{international.submit[language]}}
  103. </btn>
  104. </view>
  105. </block>
  106. </view>