123456789101112131415161718192021222324252627282930313233343536373839 |
- <!--pages/regular_invite/regular_invite.wxml-->
- <view class="card over-hidden">
- <van-cell title="{{international.start_time[language]}}" border="{{ false }}" class="label-sm">
- <zyh-picker type="date-time" delay="{{0}}" placeholder="{{['请选择日期','请选择时间']}}" data-type="startTime" bind:change="getValue"></zyh-picker>
- </van-cell>
- <van-cell title="{{international.end_time[language]}}" border="{{ false }}" class="label-sm">
- <zyh-picker type="date-time" delay="{{8*60*60*1000}}" placeholder="{{['请选择日期','请选择时间']}}" data-type="endTime" bind:change="getValue"></zyh-picker>
- </van-cell>
- <van-cell title="{{international.Personnel_type[language]}}" border="{{ false }}" class="label-sm">
- <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>
- </van-cell>
- <!-- 拜访事由 -->
- <van-cell border="{{ false }}" class="label-sm">
- <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 closeNum="{{closeNum}}" list="{{reasonList}}" range-key="name" placeholder="{{[international.select_occasion[language]]}}" index="{{0}}" data-type="reason" bind:change="getValue">
- </zyh-picker>
- </van-cell>
- <van-cell border="{{ false }}" class="label-sm" bindtap="showSN" wx:if="{{machineList.length>0}}">
- <view slot="title">
- <!-- <text class="{{snListLength?'text-green':'text-red'}}">*</text> -->
- <text class="van-cell-text">{{international.Channel_access[language]}}</text>
- </view>
- <text>{{snListLength?'已选择'+snListLength+'个通道':international.select_channel[language]}} </text>
- <van-icon class="icon" name="arrow" />
- </van-cell>
- <zjy-radio-checkbox list="{{machineList}}" range-key="sn" data-type="snList" bind:change="getValue" type="checkbox" chooseBuilding="{{chooseSN}}" className="block" sn="{{true}}" />
- <van-cell title="{{international.invitation_way[language]}}" border="{{ false }}" class="label-sm">
- <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>
- </van-cell>
- <zyh-auto-add language="{{language}}" data-type="phoneList" bind:change="getValue" showAddBut="{{showAddBut}}" closeNum="{{closeNum}}"></zyh-auto-add>
- </view>
- <view class="btn-area">
- <button wx:if="{{!showAddBut}}" open-type="share" class="{{isDisabled?'bg-info':'bg-blue'}}" disabled="{{isDisabled}}">{{international.Immediately_invited[language]}}</button>
- <button wx:else class="{{isDisabled?'bg-info':'bg-blue'}}" disabled="{{isDisabled}}" bindtap="gotoInvited">{{international.Immediately_invited[language]}}</button>
- </view>
|