123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326 |
- <view class='page-container-classname' ref='saveChildRef0'>
- <import-sjs from='../../utils/util/util.sjs' name='util'>
- </import-sjs>
- <zyh-navigator
- showArrow='{{type == 2 ? false : true}}'
- title='{{international.Visitors_appointment[language]}}'
- title-style='white'
- bg-color='#2F6FD1'
- ref='saveChildRef1'
- >
- </zyh-navigator>
- <view>
- <view class='top'>
- <view class='top-area'>
- </view>
- </view>
- <view class='top-item'>
- <zyh-dot-line
- currentIndex='{{currentIndex}}'
- swiperDx='{{swiperDx}}'
- width='140'
- list='{{stepsList}}'
- language='{{language}}'
- ref='saveChildRef2'
- >
- </zyh-dot-line>
- <custom-swiper
- class='swiper'
- duration='200'
- disableTouch="{{true}}"
- current='{{currentIndex}}'
- onTransition='getSwiperPercent'
- onAnimationEnd='changeSwiper'
- >
- <custom-swiper-item>
- <scroll-view class='scroll-area' scroll-y='true'>
- <zyh-face-verify
- a:if='{{!isDisabled}}'
- language='{{language}}'
- isDisabled='{{isDisabled}}'
- userInfo='{{userInfo}}'
- type='访客'
- onCertificationState='getCertificationState'
- onUpdateState='getUpdateState'
- ref='saveChildRef3'
- >
- </zyh-face-verify>
- <view a:if='{{isDisabled}}' class='card card-cont'>
- <view class='title'>
- {{international.visitor_information[language]}}
- </view>
- <van-cell
- title='{{international.name[language]}}'
- border='{{ false }}'
- class='label-sm'
- ref='saveChildRef4'
- >
- <text>
- {{userInfo.username}}
- </text>
- </van-cell>
- <van-cell
- title='{{international.idNumber[language]}}'
- border='{{ false }}'
- class='label-sm'
- ref='saveChildRef5'
- >
- <text>
- {{util.desensitization(userInfo.idNumber, 6, 14)}}
- </text>
- </van-cell>
- <van-cell
- title='{{international.phone[language]}}'
- border='{{ false }}'
- class='label-sm'
- ref='saveChildRef6'
- >
- <text>
- {{util.desensitization(userInfo.phone, 3, 7)}}
- </text>
- </van-cell>
- <van-cell border='{{ false }}' class='label-sm' ref='saveChildRef7'>
- <view slot='title'>
- <text class="{{form.company?'text-green':'text-red'}}">
- *
- </text>
- <text class='van-cell-text'>
- {{international.unit[language]}}
- </text>
- </view>
- <zyh-input
- value='{{form.company}}'
- placeholder='{{international.enter_unit[language]}}'
- data-type='company'
- onChange='getValue'
- ref='saveChildRef8'
- >
- </zyh-input>
- </van-cell>
- <van-cell
- title='{{international.License_number[language]}}'
- border='{{ false }}'
- class='label-sm'
- ref='saveChildRef9'
- >
- <add-car-number
- value='{{form.carno}}'
- placeholder='{{international.enter_plate_number[language]}}'
- data-type='carno'
- onChange='getValue'
- onShowChange="carNumberShowChange"
- ref='saveChildRef10'
- >
- </add-car-number>
- </van-cell>
- </view>
- </scroll-view>
- <view a:if='{{isDisabled}}' class='btn-area-one'>
- <btn
- a:if="{{ !carNumberShow }}"
- class="{{stepsList[0].complete?'bg-blue':'bg-grey'}}"
- disabled='{{!stepsList[0].complete}}'
- onTap='antmoveAction'
- data-antmove-tap='next_step'
- >
- {{international.next_step[language]}}
- </btn>
- </view>
- </custom-swiper-item>
- <custom-swiper-item>
- <scroll-view class='scroll-area' scroll-y='true'>
- <view class='card card-cont'>
- <view class='title'>
- {{international.Visit_information[language]}}
- </view>
- <van-cell border='{{ false }}' class='label-sm' ref='saveChildRef11'>
- <view slot='title'>
- <text class="{{form.visiteePhone?'text-green':'text-red'}}">
- *
- </text>
- <text class='van-cell-text'>
- {{international.number_person_interviewed[language]}}
- </text>
- </view>
- <custom-input
- type='text'
- value='{{form.visiteePhone}}'
- maxLength='{{11}}'
- placeholder='{{international.enter_number[language]}}'
- disabled='{{isAudit}}'
- onBlur='visiteePhoneFun'
- >
- </custom-input>
- </van-cell>
- <view a:if='{{building_list.length>0}}'>
- <van-cell border='{{ false }}' class='label-sm' ref='saveChildRef12'>
- <view slot='title'>
- <text class='van-cell-text'>
- {{international.Of_building[language]}}
- </text>
- </view>
- <zyh-picker
- list='{{building_list}}'
- index='{{buildingIndex}}'
- range-key='username'
- placeholder='{{[international.select_interviewed[language]]}}'
- data-type='visiteeBuilding'
- isAudit='{{isAudit}}'
- onChange='getValue'
- ref='saveChildRef13'
- >
- </zyh-picker>
- </van-cell>
- <van-cell
- title='{{international.Of_unit[language]}}'
- border='{{ false }}'
- class='label-sm'
- ref='saveChildRef14'
- >
- <zyh-picker
- list='{{companyList}}'
- index='{{companyIndex}}'
- range-key='companyName'
- placeholder='{{[international.select_interviewee[language]]}}'
- data-type='visiteeCompany'
- isAudit='{{isAudit}}'
- onChange='getValue'
- ref='saveChildRef15'
- >
- </zyh-picker>
- </van-cell>
- </view>
- <van-cell
- a:if='{{companyList.length > 0}}'
- title='{{international.Name_nterviewee[language]}}'
- border='{{ false }}'
- class='label-sm'
- ref='saveChildRef16'
- >
- <zyh-input
- value='{{form.visiteeXm}}'
- placeholder='{{international.enterName_nterviewee[language]}}'
- data-type='visiteeXm'
- isAudit='{{isAudit}}'
- onChange='getValue'
- ref='saveChildRef17'
- >
- </zyh-input>
- </van-cell>
- <van-cell border='{{ false }}' class='label-sm' ref='saveChildRef18'>
- <view slot='title'>
- <text class="{{form.reason?'text-green':'text-red'}}">
- *
- </text>
- <text class='van-cell-text'>
- {{international.Visit_for[language]}}
- </text>
- </view>
- <zyh-picker
- list='{{reasonList}}'
- index='{{reasonIndex}}'
- range-key='name'
- placeholder='{{[international.select_occasion[language]]}}'
- data-type='reason'
- isAudit='{{isAudit}}'
- onChange='getValue'
- ref='saveChildRef19'
- >
- </zyh-picker>
- </van-cell>
- <van-cell
- a:if='{{type===2}}'
- title='{{international.Personnel_type[language]}}'
- border='{{ false }}'
- class='label-sm'
- ref='saveChildRef20'
- >
- <zyh-radio-group
- list='{{personTypeList}}'
- value='{{personTypIndex}}'
- label-key="{{language=='ch'?'name_ch':'name_en'}}"
- value-key='id'
- data-type='personnelType'
- isAudit='{{isAudit}}'
- onChange='getValue'
- ref='saveChildRef21'
- >
- </zyh-radio-group>
- </van-cell>
- <van-cell
- title='{{international.start_time[language]}}'
- border='{{ false }}'
- class='label-sm'
- ref='saveChildRef22'
- >
- <zyh-picker
- type='date-time'
- dateTime='{{form.startTime}}'
- delay='{{0}}'
- placeholder="{{['请选择日期','请选择时间']}}"
- data-type='startTime'
- isAudit='{{isAudit}}'
- onChange='getValue'
- ref='saveChildRef23'
- >
- </zyh-picker>
- </van-cell>
- <van-cell
- title='{{international.end_time[language]}}'
- border='{{ false }}'
- class='label-sm'
- ref='saveChildRef24'
- >
- <zyh-picker
- type='date-time'
- dateTime='{{form.endTime}}'
- delay='{{12*60*60*1000}}'
- placeholder="{{['请选择日期','请选择时间']}}"
- data-type='endTime'
- isAudit='{{isAudit}}'
- onChange='getValue'
- ref='saveChildRef25'
- >
- </zyh-picker>
- </van-cell>
- </view>
- <view a:if='{{threeCodeList.length>0}}' class='card card-cont'>
- <three_yards
- xcPhone='{{userInfo.phone}}'
- startTime='{{startTime}}'
- hsHour='{{hsHour}}'
- threeCodeList='{{threeCodeList}}'
- language='{{language}}'
- buildingId='{{form.visiteeBuildingId}}'
- onIsthreeYards='isthreeYards'
- ref='saveChildRef26'
- >
- </three_yards>
- </view>
- <custom-field
- a:if='{{isShowApplet}}'
- orgId='{{form.visiteeBuildingId}}'
- currentIndex='{{currentIndex}}'
- onIsFillFields='isFillFields'
- ref='saveChildRef27'
- >
- </custom-field>
- </scroll-view>
- <view class='btn-area-two'>
- <btn class='bg-grey' onTap='antmoveAction' data-antmove-tap='previous_step'>
- {{international.previous_step[language]}}
- </btn>
- <btn
- class="{{stepsList[1].complete?'bg-blue':'bg-grey'}}"
- disabled='{{!stepsList[1].complete}}'
- onTap='antmoveAction'
- data-antmove-tap='submit'
- >
- {{type===1?international.submit[language]:international.acceptInvitation[language]}}
- </btn>
- </view>
- </custom-swiper-item>
- </custom-swiper>
- </view>
- </view>
- </view>
|