clarms-plugins-verifyform.vue 2.76 KB
<template>
	<div class="comp reservation-container clarms-plugins-verifyform">
		<div class="title" v-if="!(userInfo && userInfo.name)">
			<u>
				<span class="pointer" @click="toRegisterPage">{{$t('clarms.step1.register')}}</span>/
				<span class="pointer" @click="toLoginPage">{{$t('clarms.step1.login')}}</span>
			</u>
			<span v-if="$i18n.locale == 'en'">&nbsp;</span>{{$t('clarms.step1.t1')}}</div>
		<div class="form-name default-mt"> {{$t('clarms.step1.label0')}}</div>
		<div class="gird-g form default-mt">
			<div class="form-item">
				<div class="label">
					{{$t('clarms.step1.label1')}}
				</div>
				<div class="ipt-wrap">
					<div class="cont">
						<input class="ipt" type="text" v-model="data.lastName">
					</div>
				</div>
			</div>

			<div class="form-item">
				<div class="label">
					{{$t('clarms.step1.label2')}}
				</div>
				<div class="ipt-wrap">
					<div class="cont">

						<input class="ipt" type="text" v-model="data.firstName">
					</div>
				</div>
			</div>

			<div class="form-item">
				<div class="label">
					{{$t('clarms.step1.label3')}}
				</div>
				<div class="ipt-wrap">
					<div class="down-arrow"></div>
					<div class="cont">
						<el-select class="ipt" v-model="data.idType" :placeholder="$t('clarms.step2.placeHolder1')">
							<el-option v-for="(item, index) in policyIdTypeList" :key="index" :label="item.n" :value="item.v"></el-option>
						</el-select>
					</div>

				</div>
			</div>

			<div class="form-item">
				<div class="label">
					{{$t('clarms.step1.label4')}}
				</div>
				<div class="ipt-wrap">
					<div class="cont">
						<input class="ipt" type="text" v-model="data.idNo">
					</div>
				</div>
			</div>

			<div class="form-item">
				<div class="label">
					{{$t('clarms.step1.label5')}}
				</div>
				<div class="ipt-wrap">
					<div class="down-arrow"></div>
					<div class="cont">
						<date-picker class="ipt-date" :formatter="'dd-MM-yyyy'" v-model="data.birthDate" :filtModel="['future']" :check="checkDate" :cusStyle="{border:'none !important','background-color':'transparent !important',height:'48px', padding:'0', color:'#606266'}"></date-picker>
					</div>
				</div>
			</div>
		</div>
		<div class="submit-btn pointer flex-center" @click="handleConfirm" :class="{disabled : btnDisabled}">
			<van-loading v-if="loading" />
			<span>{{$t('clarms.step1.btn')}}</span>
		</div>
		<div class="tips" v-if="showTips">
			<img class="icon" src="@/assets/images/common/icon-alert-i.png" alt="">
			<div class="txt">
				{{$t('clarms.step1.noPolicy')}}
				<span class="pointer btn" @click="toContactUs">{{$t('clarms.step1.customService')}}</span>
			</div>
		</div>
	</div>
</template>

<script src="./clarms-plugins-verifyform.js"></script>
<style lang="scss" scoped>
@import "./clarms-plugins-verifyform.scss";
</style>