index.axml 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532
  1. <view class='detailsCard-index {{className}}' style='{{style}}' ref='saveChildRef0'>
  2. <import-sjs from='../../utils/util/util.sjs' name='util'>
  3. </import-sjs>
  4. <view class='card card-padding'>
  5. <view class='card-cont'>
  6. <image class='triangle' src='/static/comment/triangle.svg'>
  7. </image>
  8. <image a:if='{{status != null}}' class='audit' src='../../static/comment/{{imageUrl}}.png'>
  9. </image>
  10. <view class='title'>
  11. <text>
  12. {{title}}
  13. </text>
  14. </view>
  15. <view a:if='{{type}}' class='cont'>
  16. <block>
  17. <van-cell
  18. custom-class='van-cell'
  19. title-class='text-gray'
  20. value-class='text-black flex-sm'
  21. border='{{ false }}'
  22. title="{{language=='ch'?msg[0].label_ch:msg[0].label_en}}"
  23. ref='saveChildRef1'
  24. >
  25. <text>
  26. {{userInfo.createTime}}
  27. </text>
  28. </van-cell>
  29. <van-cell
  30. custom-class='van-cell'
  31. title-class='text-gray'
  32. value-class='text-black flex-sm'
  33. border='{{ false }}'
  34. title="{{language=='ch'?msg[1].label_ch:msg[1].label_en}}"
  35. ref='saveChildRef2'
  36. >
  37. <text>
  38. {{userInfo.username}}
  39. </text>
  40. </van-cell>
  41. <van-cell
  42. custom-class='van-cell'
  43. title-class='text-gray'
  44. value-class='text-black flex-sm'
  45. border='{{ false }}'
  46. title="{{language=='ch'?msg[3].label_ch:msg[3].label_en}}"
  47. ref='saveChildRef3'
  48. >
  49. <text>
  50. {{util.desensitization(userInfo.idNumber, 6, 14)}}
  51. </text>
  52. </van-cell>
  53. <van-cell
  54. custom-class='van-cell'
  55. title-class='text-gray'
  56. value-class='text-black flex-sm'
  57. border='{{ false }}'
  58. title="{{language=='ch'?msg[2].label_ch:msg[2].label_en}}"
  59. ref='saveChildRef4'
  60. >
  61. <text>
  62. {{util.desensitization(userInfo.phone, 3, 7)}}
  63. </text>
  64. </van-cell>
  65. <van-cell
  66. a:if="{{item.type === 'photo'}}"
  67. title-class='text-gray'
  68. value-class='text-black'
  69. border='{{ false }}'
  70. title="{{language=='ch'?item.label_ch:item.label_en}}"
  71. ref='saveChildRef5'
  72. >
  73. <image class='photo' src='{{item.value}}'>
  74. </image>
  75. </van-cell>
  76. <block a:if='{{regularList.reviewStatus==3}}'>
  77. <van-cell
  78. custom-class='van-cell'
  79. title-class='text-gray'
  80. value-class='text-black flex-sm'
  81. border='{{ false }}'
  82. title='{{international.PassageEntry[language]}}'
  83. ref='saveChildRef6'
  84. >
  85. <text>
  86. {{regularList.snAddr|| ''}}
  87. </text>
  88. </van-cell>
  89. <van-cell
  90. custom-class='van-cell'
  91. title-class='text-gray'
  92. value-class='text-black flex-sm'
  93. border='{{ false }}'
  94. title='{{international.TimeEntry[language]}}'
  95. ref='saveChildRef7'
  96. >
  97. <text>
  98. {{regularList.inTime || ''}}
  99. </text>
  100. </van-cell>
  101. <van-cell
  102. title-class='text-gray'
  103. value-class='text-black'
  104. border='{{ false }}'
  105. title='{{international.EntrancePhotos[language]}}'
  106. ref='saveChildRef8'
  107. >
  108. <image class='photo' src='{{regularList.inPhoto}}'>
  109. </image>
  110. </van-cell>
  111. </block>
  112. <view a:if="{{item.type === 'cutLine'}}" class='cut-line-dash'>
  113. </view>
  114. </block>
  115. <block a:if='{{type||(regularList.reviewStatus==2&&!isRegular)}}'>
  116. <view class='qrcode-area'>
  117. <view>
  118. <image src='/static/comment/qrcode.png' class='img'>
  119. </image>
  120. </view>
  121. <text>
  122. {{international.click_QRcode[language]}}
  123. </text>
  124. </view>
  125. <view class='tip'>
  126. <text>
  127. {{international.scanning[language]}}
  128. </text>
  129. </view>
  130. </block>
  131. </view>
  132. <view a:else class='cont'>
  133. <block>
  134. <van-cell
  135. custom-class='van-cell'
  136. title-class='text-gray'
  137. value-class='text-black flex-sm'
  138. border='{{ false }}'
  139. title='{{international.start_time[language]}}'
  140. ref='saveChildRef9'
  141. >
  142. <text>
  143. {{regularList.startTime}}
  144. </text>
  145. </van-cell>
  146. <van-cell
  147. custom-class='van-cell'
  148. title-class='text-gray'
  149. value-class='text-black flex-sm'
  150. border='{{ false }}'
  151. title='{{international.end_time[language]}}'
  152. ref='saveChildRef10'
  153. >
  154. <text>
  155. {{regularList.endTime}}
  156. </text>
  157. </van-cell>
  158. <van-cell
  159. custom-class='van-cell'
  160. title-class='text-gray'
  161. value-class='text-black flex-sm'
  162. border='{{ false }}'
  163. title='{{international.Visit_for[language]}}'
  164. ref='saveChildRef11'
  165. >
  166. <text>
  167. {{regularList.reason || '暂未接受'}}
  168. </text>
  169. </van-cell>
  170. <van-cell
  171. a:if='{{regularList.remark}}'
  172. custom-class='van-cell'
  173. title-class='text-gray'
  174. value-class='text-black flex-sm'
  175. border='{{ false }}'
  176. title='{{international.remark[language]}}'
  177. ref='saveChildRef12'
  178. >
  179. <text>
  180. {{regularList.remark || ''}}
  181. </text>
  182. </van-cell>
  183. <block a:if='{{regularList.reviewStatus==3}}'>
  184. <van-cell
  185. custom-class='van-cell'
  186. title-class='text-gray'
  187. value-class='text-black flex-sm'
  188. border='{{ false }}'
  189. title='{{international.PassageEntry[language]}}'
  190. ref='saveChildRef13'
  191. >
  192. <text>
  193. {{regularList.snAddr|| ''}}
  194. </text>
  195. </van-cell>
  196. <van-cell
  197. custom-class='van-cell'
  198. title-class='text-gray'
  199. value-class='text-black flex-sm'
  200. border='{{ false }}'
  201. title='{{international.TimeEntry[language]}}'
  202. ref='saveChildRef14'
  203. >
  204. <text>
  205. {{regularList.inTime || ''}}
  206. </text>
  207. </van-cell>
  208. <van-cell
  209. title-class='text-gray'
  210. value-class='text-black'
  211. border='{{ false }}'
  212. title='{{international.EntrancePhotos[language]}}'
  213. ref='saveChildRef15'
  214. >
  215. <image class='photo' src='{{regularList.inPhoto}}'>
  216. </image>
  217. </van-cell>
  218. </block>
  219. <block a:if='{{type||(regularList.reviewStatus==2&&!isRegular)}}'>
  220. <view class='qrcode-area'>
  221. <image a:if='{{qrCodeType===1}}' src='/static/appointment_my/qrCodeLose.png'>
  222. </image>
  223. <image a:if='{{qrCodeType===2}}' src='/static/appointment_my/noTime.png'>
  224. </image>
  225. <view
  226. a:if='{{qrCodeType===3}}'
  227. onTap='antmoveAction'
  228. data-antmove-tap='getVisitorQrcodeId'
  229. >
  230. <image src='{{qrCode}}' class='img'>
  231. </image>
  232. <canvas
  233. class='canvas-code'
  234. style='background:#fff;width:176px;height: 176px; display:block; left:-800rpx;position:absolute;'
  235. id='myQrcode'
  236. >
  237. </canvas>
  238. </view>
  239. <text>
  240. {{international.click_QRcode[language]}}
  241. </text>
  242. </view>
  243. <view class='tip'>
  244. <text>
  245. {{international.scanning[language]}}
  246. </text>
  247. </view>
  248. </block>
  249. <view class='cut-line-dash'>
  250. </view>
  251. <van-cell
  252. custom-class='van-cell'
  253. title-class='text-gray'
  254. value-class='text-black flex-sm'
  255. border='{{ false }}'
  256. title='{{international.Name_Visitor[language]}}'
  257. ref='saveChildRef16'
  258. >
  259. <text>
  260. {{regularList.name || '暂未接受'}}
  261. </text>
  262. </van-cell>
  263. <van-cell
  264. custom-class='van-cell'
  265. title-class='text-gray'
  266. value-class='text-black flex-sm'
  267. border='{{ false }}'
  268. title='{{international.phone_Visitor[language]}}'
  269. ref='saveChildRef17'
  270. >
  271. <text>
  272. {{regularList.phone}}
  273. </text>
  274. </van-cell>
  275. <van-cell
  276. custom-class='van-cell'
  277. title-class='text-gray'
  278. value-class='text-black flex-sm'
  279. border='{{ false }}'
  280. title='{{international.Visiting_unit[language]}}'
  281. ref='saveChildRef18'
  282. >
  283. <text>
  284. {{regularList.company || '暂未接受'}}
  285. </text>
  286. </van-cell>
  287. <van-cell
  288. a:if='{{regularList.photo}}'
  289. custom-class='van-cell'
  290. title-class='text-gray'
  291. value-class='text-black flex-sm'
  292. border='{{ false }}'
  293. title='{{international.Visitor_photo[language]}}'
  294. ref='saveChildRef19'
  295. >
  296. <image class='photo' src='{{regularList.photo}}'>
  297. </image>
  298. </van-cell>
  299. <van-cell
  300. a:if='{{regularList.jkm}}'
  301. custom-class='van-cell'
  302. title-class='text-gray'
  303. value-class='text-black flex-sm'
  304. border='{{ false }}'
  305. ref='saveChildRef20'
  306. >
  307. <view slot='title'>
  308. {{international.healthCode[language]}}
  309. <van-icon
  310. name='checked'
  311. style='color:#2dcb92'
  312. size='30rpx'
  313. ref='saveChildRef21'
  314. >
  315. </van-icon>
  316. </view>
  317. <text>
  318. {{regularList.jkm}}
  319. </text>
  320. </van-cell>
  321. <van-cell
  322. a:if='{{regularList.jkmPhoto}}'
  323. custom-class='van-cell'
  324. title-class='text-gray'
  325. value-class='text-black flex-sm'
  326. border='{{ false }}'
  327. title='{{international.HealthCodeScreenshot[language]}}'
  328. ref='saveChildRef22'
  329. >
  330. <image
  331. class='photo'
  332. src='{{regularList.jkmPhoto}}'
  333. data-src='{{regularList.jkmPhoto}}'
  334. onTap='antmoveAction'
  335. data-antmove-tap='preview'
  336. >
  337. </image>
  338. </van-cell>
  339. <van-cell
  340. a:if='{{regularList.hs}}'
  341. custom-class='van-cell'
  342. title-class='text-gray'
  343. value-class='text-black flex-sm'
  344. border='{{ false }}'
  345. ref='saveChildRef23'
  346. >
  347. <view slot='title'>
  348. {{international.Nucleate[language]}}
  349. <van-icon
  350. name='checked'
  351. style='color:#2dcb92'
  352. size='30rpx'
  353. ref='saveChildRef24'
  354. >
  355. </van-icon>
  356. </view>
  357. <text>
  358. {{regularList.hs}}
  359. </text>
  360. </van-cell>
  361. <van-cell
  362. a:if='{{regularList.hsPhoto}}'
  363. custom-class='van-cell'
  364. title-class='text-gray'
  365. value-class='text-black flex-sm'
  366. border='{{ false }}'
  367. title='{{international.NucleicScreenshots[language]}}'
  368. ref='saveChildRef25'
  369. >
  370. <image
  371. class='photo'
  372. src='{{regularList.hsPhoto}}'
  373. data-src='{{regularList.hsPhoto}}'
  374. onTap='antmoveAction'
  375. data-antmove-tap='preview'
  376. >
  377. </image>
  378. </van-cell>
  379. <van-cell
  380. a:if='{{regularList.xc==1}}'
  381. custom-class='van-cell'
  382. title-class='text-gray'
  383. value-class='text-black flex-sm'
  384. border='{{ false }}'
  385. ref='saveChildRef26'
  386. >
  387. <view slot='title'>
  388. {{international.TourCode[language]}}
  389. <van-icon
  390. name='checked'
  391. style='color:#2dcb92'
  392. size='30rpx'
  393. ref='saveChildRef27'
  394. >
  395. </van-icon>
  396. </view>
  397. <text>
  398. 未去过高风险地区
  399. </text>
  400. </van-cell>
  401. <van-cell
  402. a:if='{{regularList.xcPhoto}}'
  403. custom-class='van-cell'
  404. title-class='text-gray'
  405. value-class='text-black flex-sm'
  406. border='{{ false }}'
  407. title='{{international.ScreenshoCode[language]}}'
  408. ref='saveChildRef28'
  409. >
  410. <image
  411. class='photo'
  412. src='{{regularList.xcPhoto}}'
  413. data-src='{{regularList.xcPhoto}}'
  414. onTap='antmoveAction'
  415. data-antmove-tap='preview'
  416. >
  417. </image>
  418. </van-cell>
  419. <view
  420. a:for='{{regularList.contents}}'
  421. a:if='{{regularList.contents}}'
  422. ref-numbers='{{regularList.contents}}'
  423. >
  424. <van-cell
  425. a:if='{{item.isShow==1}}'
  426. custom-class='van-cell'
  427. title-class='text-gray'
  428. value-class='text-black flex-sm'
  429. border='{{ false }}'
  430. title='{{item.customName}}'
  431. ref='saveChildRef29'
  432. >
  433. <image
  434. a:if="{{item.customType=='图片'}}"
  435. class='photo'
  436. src='{{item.customNameVal}}'
  437. data-src='{{item.customNameVal}}'
  438. onTap='antmoveAction'
  439. data-antmove-tap='preview'
  440. >
  441. </image>
  442. <text a:else>
  443. {{item.customNameVal}}
  444. </text>
  445. </van-cell>
  446. </view>
  447. <van-cell
  448. a:if='{{regularList.reviewStatus==2}}'
  449. custom-class='van-cell'
  450. title-class='text-gray'
  451. value-class='text-black flex-sm'
  452. border='{{ false }}'
  453. title='{{international.Passable_passage[language]}}'
  454. ref='saveChildRef30'
  455. >
  456. <text>
  457. {{regularList.throughList || ''}}
  458. </text>
  459. </van-cell>
  460. <van-cell
  461. a:if='{{regularList.personnelType!=null}}'
  462. custom-class='van-cell'
  463. title-class='text-gray'
  464. value-class='text-black flex-sm'
  465. border='{{ false }}'
  466. title='{{international.Personnel_type[language]}}'
  467. ref='saveChildRef31'
  468. >
  469. <text a:if='{{regularList.personnelType== 0}}'>
  470. 访客
  471. </text>
  472. <text a:if='{{regularList.personnelType== 1}}'>
  473. 同事
  474. </text>
  475. <text a:if='{{regularList.personnelType== 2}}'>
  476. 亲属
  477. </text>
  478. </van-cell>
  479. <van-cell
  480. a:if="{{item.type === 'photo'}}"
  481. title-class='text-gray'
  482. value-class='text-black'
  483. border='{{ false }}'
  484. title="{{language=='ch'?item.label_ch:item.label_en}}"
  485. ref='saveChildRef32'
  486. >
  487. <image class='photo' src='{{item.value}}'>
  488. </image>
  489. </van-cell>
  490. <view class='cut-line-dash'>
  491. </view>
  492. <van-cell
  493. custom-class='van-cell'
  494. title-class='text-gray'
  495. value-class='text-black flex-sm'
  496. border='{{ false }}'
  497. title='{{international.Name_nterviewee[language]}}'
  498. ref='saveChildRef33'
  499. >
  500. <text>
  501. {{regularList.visiteeXm}}
  502. </text>
  503. </van-cell>
  504. <van-cell
  505. custom-class='van-cell'
  506. title-class='text-gray'
  507. value-class='text-black flex-sm'
  508. border='{{ false }}'
  509. title='{{international.number_person_interviewed[language]}}'
  510. ref='saveChildRef34'
  511. >
  512. <text>
  513. {{regularList.visiteePhone}}
  514. </text>
  515. </van-cell>
  516. <van-cell
  517. custom-class='van-cell'
  518. title-class='text-gray'
  519. value-class='text-black flex-sm'
  520. border='{{ false }}'
  521. title='{{international.Of_unit[language]}}'
  522. ref='saveChildRef35'
  523. >
  524. <text>
  525. {{regularList.visiteeCompany || ''}}
  526. </text>
  527. </van-cell>
  528. </block>
  529. </view>
  530. </view>
  531. </view>
  532. </view>