|
|
|
|
@ -12,7 +12,7 @@
|
|
|
|
|
</view>
|
|
|
|
|
<view style="text-align: center;">
|
|
|
|
|
<view class="configbtn" @click="closeConfig">
|
|
|
|
|
确认
|
|
|
|
|
<view>确认/Confirm</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
@ -22,19 +22,25 @@
|
|
|
|
|
|
|
|
|
|
<!-- 普通访客 先选择区域 -->
|
|
|
|
|
<u-popup :show="areaShow" class="configwrap" mode="bottom">
|
|
|
|
|
<view class="configtitle">
|
|
|
|
|
前往区域
|
|
|
|
|
<view class="configtitle label-with-en">
|
|
|
|
|
<view>前往区域</view>
|
|
|
|
|
<view class="en-text">Visit Area</view>
|
|
|
|
|
</view>
|
|
|
|
|
<block v-if="visitArea.length>0">
|
|
|
|
|
<view class="configvalue areavalue">
|
|
|
|
|
<uni-data-checkbox mode="button" @change='changeVisitArea' v-model="form.visit_area_id"
|
|
|
|
|
:localdata="visitArea" :map="{text:'name',value:'id'}" />
|
|
|
|
|
</view>
|
|
|
|
|
<button class="areabtn" @click="closeArea" size="large" type="primary">确认</button>
|
|
|
|
|
<button class="areabtn button-with-en" @click="closeArea" size="large" type="primary">
|
|
|
|
|
<view>确认/Confirm</view>
|
|
|
|
|
</button>
|
|
|
|
|
</block>
|
|
|
|
|
|
|
|
|
|
<view class="configvalue configload" v-else>
|
|
|
|
|
<view class="label-with-en">
|
|
|
|
|
<text>数据加载中...</text>
|
|
|
|
|
<text class="en-text">Loading data...</text>
|
|
|
|
|
</view>
|
|
|
|
|
<u-icon @click="getVisitArea" name="reload" color="#2979ff" size="28"></u-icon>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
@ -43,128 +49,294 @@
|
|
|
|
|
<view class="steps">
|
|
|
|
|
<uni-steps :options="steps" :active="stepActive" active-color="#4f607e" />
|
|
|
|
|
</view>
|
|
|
|
|
<uni-forms ref="formdata" :model="form" :rules="rules" labelWidth="120px">
|
|
|
|
|
<view class="formtext">拜访信息</view>
|
|
|
|
|
<uni-forms-item label="开始日期" required name="start_date">
|
|
|
|
|
<uni-forms ref="formdata" :model="form" :rules="rules" labelWidth="140px">
|
|
|
|
|
<view class="formtext label-with-en">
|
|
|
|
|
<view>拜访信息</view>
|
|
|
|
|
<view class="en-text">Visit Information</view>
|
|
|
|
|
</view>
|
|
|
|
|
<uni-forms-item required name="start_date">
|
|
|
|
|
<template slot="label">
|
|
|
|
|
<view class="label-with-en-inline">
|
|
|
|
|
<text>开始日期</text>
|
|
|
|
|
<text class="en-text">Start Date</text>
|
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
<uni-datetime-picker type="date" :start="toadyStart" return-type="string" v-model="form.start_date" @change="onStartDateChange" style="width: 100%;" />
|
|
|
|
|
</uni-forms-item>
|
|
|
|
|
<uni-forms-item label="结束日期" required name="end_date">
|
|
|
|
|
<uni-forms-item required name="end_date">
|
|
|
|
|
<template slot="label">
|
|
|
|
|
<view class="label-with-en-inline">
|
|
|
|
|
<text>结束日期</text>
|
|
|
|
|
<text class="en-text">End Date</text>
|
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
<uni-datetime-picker type="date" :start="toadyStart" return-type="string" v-model="form.end_date" @change="onEndDateChange" style="width: 100%;" />
|
|
|
|
|
</uni-forms-item>
|
|
|
|
|
<uni-forms-item label="到访时段" required name="visit_time_id">
|
|
|
|
|
<uni-forms-item required name="visit_time_id">
|
|
|
|
|
<template slot="label">
|
|
|
|
|
<view class="label-with-en-inline">
|
|
|
|
|
<text>到访时段</text>
|
|
|
|
|
<text class="en-text">Visit Time</text>
|
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
<uni-data-checkbox v-model="form.visit_time_id" :localdata="visitTime"
|
|
|
|
|
:map="{text:'visitTimeRange',value:'id'}" />
|
|
|
|
|
</uni-forms-item>
|
|
|
|
|
<uni-forms-item label="前往区域" required name="visit_area_id">
|
|
|
|
|
<uni-forms-item required name="visit_area_id">
|
|
|
|
|
<template slot="label">
|
|
|
|
|
<view class="label-with-en-inline">
|
|
|
|
|
<text>前往区域</text>
|
|
|
|
|
<text class="en-text">Visit Area</text>
|
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
<uni-data-checkbox @change='changeVisitArea' v-model="form.visit_area_id" :localdata="visitArea"
|
|
|
|
|
:map="{text:'name',value:'id'}" />
|
|
|
|
|
</uni-forms-item>
|
|
|
|
|
<uni-forms-item label="到访事由" v-if="form.type==1">
|
|
|
|
|
<uni-forms-item v-if="form.type==1">
|
|
|
|
|
<template slot="label">
|
|
|
|
|
<view class="label-with-en-inline">
|
|
|
|
|
<text>到访事由</text>
|
|
|
|
|
<text class="en-text">Visit Reason</text>
|
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
<uni-data-select v-model="form.reason" :localdata="reasonList">
|
|
|
|
|
</uni-data-select>
|
|
|
|
|
</uni-forms-item>
|
|
|
|
|
<uni-forms-item label="施工开始时段" v-if="form.type==2">
|
|
|
|
|
<uni-forms-item v-if="form.type==2">
|
|
|
|
|
<template slot="label">
|
|
|
|
|
<view class="label-with-en-inline">
|
|
|
|
|
<text>施工开始时段</text>
|
|
|
|
|
<text class="en-text">Construction Start Time</text>
|
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
<uni-datetime-picker type="date" :start="toadyStart" return-type="string"
|
|
|
|
|
v-model="form.work_start_time" />
|
|
|
|
|
</uni-forms-item>
|
|
|
|
|
<uni-forms-item label="施工结束时段" v-if="form.type==2">
|
|
|
|
|
<uni-forms-item v-if="form.type==2">
|
|
|
|
|
<template slot="label">
|
|
|
|
|
<view class="label-with-en-inline">
|
|
|
|
|
<text>施工结束时段</text>
|
|
|
|
|
<text class="en-text">Construction End Time</text>
|
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
<uni-datetime-picker type="date" :start="toadyStart" return-type="string"
|
|
|
|
|
v-model="form.work_end_time" />
|
|
|
|
|
</uni-forms-item>
|
|
|
|
|
<!-- <uni-forms-item label="车牌号" v-if="form.type==3"> -->
|
|
|
|
|
<uni-forms-item label="车辆类型" required name="plate" v-if="form.type==3">
|
|
|
|
|
<uni-forms-item required name="plate" v-if="form.type==3">
|
|
|
|
|
<template slot="label">
|
|
|
|
|
<view class="label-with-en-inline">
|
|
|
|
|
<text>车辆类型</text>
|
|
|
|
|
<text class="en-text">Vehicle Type</text>
|
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
<uni-data-checkbox v-model="form.plate" :localdata="parkAreaList" :map="{text:'value',value:'value'}" />
|
|
|
|
|
</uni-forms-item>
|
|
|
|
|
<uni-forms-item label="备注">
|
|
|
|
|
<uni-easyinput type="textarea" v-model="form.remark" placeholder="请输入自我备注" />
|
|
|
|
|
<uni-forms-item>
|
|
|
|
|
<template slot="label">
|
|
|
|
|
<view class="label-with-en-inline">
|
|
|
|
|
<text>备注</text>
|
|
|
|
|
<text class="en-text">Remark</text>
|
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
<uni-easyinput type="textarea" v-model="form.remark" placeholder="请输入自我备注 / Please enter remarks" />
|
|
|
|
|
</uni-forms-item>
|
|
|
|
|
<view class="formtext" style="display: flex;justify-content: space-between;align-items: center;">
|
|
|
|
|
<view class="label-with-en" style="flex: 1;">
|
|
|
|
|
<text>拜访人信息</text>
|
|
|
|
|
<text class="en-text">Visitor Information</text>
|
|
|
|
|
</view>
|
|
|
|
|
<button style="background-color: #4f607e!important;" type="primary" size="mini"
|
|
|
|
|
@click="pullVisitorInfo">拉取拜访人信息</button>
|
|
|
|
|
@click="pullVisitorInfo" class="button-mini-with-en">
|
|
|
|
|
<view>拉取拜访人信息</view>
|
|
|
|
|
<view class="en-text">Pull Visitor Info</view>
|
|
|
|
|
</button>
|
|
|
|
|
</view>
|
|
|
|
|
<uni-forms-item required name="name">
|
|
|
|
|
<template slot="label">
|
|
|
|
|
<view class="label-with-en-inline">
|
|
|
|
|
<text>姓名</text>
|
|
|
|
|
<text class="en-text">Name</text>
|
|
|
|
|
</view>
|
|
|
|
|
<uni-forms-item label="姓名" required name="name">
|
|
|
|
|
<uni-easyinput v-model="form.name" placeholder="请输入姓名" />
|
|
|
|
|
</template>
|
|
|
|
|
<uni-easyinput v-model="form.name" placeholder="请输入姓名 / Please enter name" />
|
|
|
|
|
</uni-forms-item>
|
|
|
|
|
<uni-forms-item label="联系电话" required name="mobile">
|
|
|
|
|
<uni-easyinput v-model="form.mobile" placeholder="请输入联系电话" />
|
|
|
|
|
<uni-forms-item required name="mobile">
|
|
|
|
|
<template slot="label">
|
|
|
|
|
<view class="label-with-en-inline">
|
|
|
|
|
<text>联系电话</text>
|
|
|
|
|
<text class="en-text">Phone Number</text>
|
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
<uni-easyinput v-model="form.mobile" placeholder="请输入联系电话 / Please enter phone number" />
|
|
|
|
|
</uni-forms-item>
|
|
|
|
|
<uni-forms-item label="证件类型" required name="credent">
|
|
|
|
|
<uni-forms-item required name="credent">
|
|
|
|
|
<template slot="label">
|
|
|
|
|
<view class="label-with-en-inline">
|
|
|
|
|
<text>证件类型</text>
|
|
|
|
|
<text class="en-text">ID Type</text>
|
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
<uni-data-select v-model="form.credent" :localdata="credentList">
|
|
|
|
|
</uni-data-select>
|
|
|
|
|
</uni-forms-item>
|
|
|
|
|
<uni-forms-item label="证件号码" required name="idcard" v-if="form.credent==1">
|
|
|
|
|
<uni-easyinput type="idcard" v-model="form.idcard" placeholder="请输入证件号码" />
|
|
|
|
|
<uni-forms-item required name="idcard" v-if="form.credent==1">
|
|
|
|
|
<template slot="label">
|
|
|
|
|
<view class="label-with-en-inline">
|
|
|
|
|
<text>证件号码</text>
|
|
|
|
|
<text class="en-text">ID Card Number</text>
|
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
<uni-easyinput type="idcard" v-model="form.idcard" placeholder="请输入证件号码 / Please enter ID card number" />
|
|
|
|
|
</uni-forms-item>
|
|
|
|
|
<uni-forms-item label="护照号码" required name="passcard" v-if="form.credent==2">
|
|
|
|
|
<uni-easyinput type="text" v-model="form.passcard" placeholder="请输入证件号码" />
|
|
|
|
|
<uni-forms-item required name="passcard" v-if="form.credent==2">
|
|
|
|
|
<template slot="label">
|
|
|
|
|
<view class="label-with-en-inline">
|
|
|
|
|
<text>护照号码</text>
|
|
|
|
|
<text class="en-text">Passport Number</text>
|
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
<uni-easyinput type="text" v-model="form.passcard" placeholder="请输入证件号码 / Please enter passport number" />
|
|
|
|
|
</uni-forms-item>
|
|
|
|
|
<uni-forms-item label="单位名称" required name="company_name">
|
|
|
|
|
<uni-easyinput v-model="form.company_name" placeholder="请输入单位名称" />
|
|
|
|
|
<uni-forms-item required name="company_name">
|
|
|
|
|
<template slot="label">
|
|
|
|
|
<view class="label-with-en-inline">
|
|
|
|
|
<text>单位名称</text>
|
|
|
|
|
<text class="en-text">Company Name</text>
|
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
<uni-easyinput v-model="form.company_name" placeholder="请输入单位名称 / Please enter company name" />
|
|
|
|
|
</uni-forms-item>
|
|
|
|
|
<uni-forms-item label="CDA编号" required name="cda" v-if="form.type==1&&visitAreaText=='生产区'">
|
|
|
|
|
<uni-easyinput type='textarea' v-model="form.cda" placeholder="请输入CDA编号(如无注明原因)" />
|
|
|
|
|
<uni-forms-item required name="cda" v-if="form.type==1&&visitAreaText=='生产区'">
|
|
|
|
|
<template slot="label">
|
|
|
|
|
<view class="label-with-en-inline">
|
|
|
|
|
<text>CDA编号</text>
|
|
|
|
|
<text class="en-text">CDA Number</text>
|
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
<uni-easyinput type='textarea' v-model="form.cda" placeholder="请输入CDA编号(如无注明原因) / Please enter CDA number (if none, specify reason)" />
|
|
|
|
|
</uni-forms-item>
|
|
|
|
|
<uni-forms-item label="到访车辆" v-if="form.type!=3">
|
|
|
|
|
<uni-forms-item v-if="form.type!=3">
|
|
|
|
|
<template slot="label">
|
|
|
|
|
<view class="label-with-en-inline">
|
|
|
|
|
<text>到访车辆</text>
|
|
|
|
|
<text class="en-text">Visiting Vehicles</text>
|
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
<view style="text-align: right;">
|
|
|
|
|
<button style="background-color: #4f607e;" type="primary" size="mini"
|
|
|
|
|
@click="form.cars.push('')">新增车辆</button>
|
|
|
|
|
@click="form.cars.push('')" class="button-mini-with-en">
|
|
|
|
|
<view>新增车辆</view>
|
|
|
|
|
<view class="en-text">Add Vehicle</view>
|
|
|
|
|
</button>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<view v-for='(item,index) in form.cars' class="justify-between align-center"
|
|
|
|
|
<view v-for='(item,index) in form.cars' :key="index" class="justify-between align-center"
|
|
|
|
|
style="margin-bottom:20rpx">
|
|
|
|
|
<uni-easyinput disabled @tap="plateShow=true,carindex=index" v-model.trim="form.cars[index]"
|
|
|
|
|
placeholder="请输入到访车辆" />
|
|
|
|
|
<text @click="form.cars.splice(index,1)" style="color: red;margin-left:20rpx">删除</text>
|
|
|
|
|
placeholder="请输入到访车辆 / Please enter license plate" />
|
|
|
|
|
<view @click="form.cars.splice(index,1)" style="color: red;margin-left:20rpx" class="label-with-en-inline-del">
|
|
|
|
|
<text>删除</text>
|
|
|
|
|
<text class="en-text">Delete</text>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<plate-input v-if="plateShow" :plate="form.cars[carindex]" @export="setCars"
|
|
|
|
|
@close="plateShow = false" />
|
|
|
|
|
</uni-forms-item>
|
|
|
|
|
<uni-forms-item label="到访车辆" required name="cars" v-else>
|
|
|
|
|
<uni-forms-item required name="cars" v-else>
|
|
|
|
|
<template slot="label">
|
|
|
|
|
<view class="label-with-en-inline">
|
|
|
|
|
<text>到访车辆</text>
|
|
|
|
|
<text class="en-text">Visiting Vehicles</text>
|
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
<view style="text-align: right;">
|
|
|
|
|
<button style="background-color: #4f607e;" type="primary" size="mini"
|
|
|
|
|
@click="form.cars.push('')">新增车辆</button>
|
|
|
|
|
@click="form.cars.push('')" class="button-mini-with-en">
|
|
|
|
|
<view>新增车辆</view>
|
|
|
|
|
<view class="en-text">Add Vehicle</view>
|
|
|
|
|
</button>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<view v-for='(item,index) in form.cars' class="justify-between align-center"
|
|
|
|
|
<view v-for='(item,index) in form.cars' :key="index" class="justify-between align-center"
|
|
|
|
|
style="margin-bottom:20rpx">
|
|
|
|
|
<uni-easyinput disabled @tap="plateShow=true,carindex=index" v-model.trim="form.cars[index]"
|
|
|
|
|
placeholder="请输入到访车辆" />
|
|
|
|
|
<text @click="form.cars.splice(index,1)" style="color: red;margin-left:20rpx">删除</text>
|
|
|
|
|
placeholder="请输入到访车辆 / Please enter license plate" />
|
|
|
|
|
<view @click="form.cars.splice(index,1)" style="color: red;margin-left:20rpx" class="label-with-en-inline-del">
|
|
|
|
|
<text>删除</text>
|
|
|
|
|
<text class="en-text">Delete</text>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<plate-input v-if="plateShow" :plate="form.cars[carindex]" @export="setCars"
|
|
|
|
|
@close="plateShow = false" />
|
|
|
|
|
</uni-forms-item>
|
|
|
|
|
<template v-if="form.type!=3">
|
|
|
|
|
<view class="formtext" style="display: flex;justify-content: space-between;">
|
|
|
|
|
<view class="label-with-en">
|
|
|
|
|
<text>随访人员</text>
|
|
|
|
|
<text class="en-text">Follow-up Personnel</text>
|
|
|
|
|
</view>
|
|
|
|
|
<button style="background-color: #4f607e!important;" type="primary" size="mini"
|
|
|
|
|
@click="$refs.showRight.open(),follw_people_obj={credent:1},follow_people_index=-1">新增随访人员</button>
|
|
|
|
|
@click="$refs.showRight.open(),follw_people_obj={credent:1},follow_people_index=-1" class="button-mini-with-en">
|
|
|
|
|
<view>新增随访人员</view>
|
|
|
|
|
<view class="en-text">Add Personnel</view>
|
|
|
|
|
</button>
|
|
|
|
|
</view>
|
|
|
|
|
<!-- 随访人员表格 -->
|
|
|
|
|
<template>
|
|
|
|
|
<uni-table ref="table" border emptyText="暂无更多数据">
|
|
|
|
|
<uni-table ref="table" border emptyText="暂无更多数据 / No more data">
|
|
|
|
|
<uni-tr>
|
|
|
|
|
<uni-th width="160" align="center">操作</uni-th>
|
|
|
|
|
<uni-th width="120" align="center">姓名</uni-th>
|
|
|
|
|
<uni-th width="120" align="left">联系电话</uni-th>
|
|
|
|
|
<uni-th width="120" align="center">证件类型</uni-th>
|
|
|
|
|
<uni-th width="120" align="left">证件号码</uni-th>
|
|
|
|
|
<uni-th width="160" align="center">
|
|
|
|
|
<view class="label-with-en-table">
|
|
|
|
|
<text>操作</text>
|
|
|
|
|
<text class="en-text">Action</text>
|
|
|
|
|
</view>
|
|
|
|
|
</uni-th>
|
|
|
|
|
<uni-th width="120" align="center">
|
|
|
|
|
<view class="label-with-en-table">
|
|
|
|
|
<text>姓名</text>
|
|
|
|
|
<text class="en-text">Name</text>
|
|
|
|
|
</view>
|
|
|
|
|
</uni-th>
|
|
|
|
|
<uni-th width="120" align="left">
|
|
|
|
|
<view class="label-with-en-table">
|
|
|
|
|
<text>联系电话</text>
|
|
|
|
|
<text class="en-text">Phone</text>
|
|
|
|
|
</view>
|
|
|
|
|
</uni-th>
|
|
|
|
|
<uni-th width="120" align="center">
|
|
|
|
|
<view class="label-with-en-table">
|
|
|
|
|
<text>证件类型</text>
|
|
|
|
|
<text class="en-text">ID Type</text>
|
|
|
|
|
</view>
|
|
|
|
|
</uni-th>
|
|
|
|
|
<uni-th width="120" align="left">
|
|
|
|
|
<view class="label-with-en-table">
|
|
|
|
|
<text>证件号码</text>
|
|
|
|
|
<text class="en-text">ID Number</text>
|
|
|
|
|
</view>
|
|
|
|
|
</uni-th>
|
|
|
|
|
</uni-tr>
|
|
|
|
|
<uni-tr style="vertical-align: middle;" v-for="(item, index) in form.follw_people" :key="index">
|
|
|
|
|
<uni-td>
|
|
|
|
|
<view class="uni-group">
|
|
|
|
|
<text @click="editFollwPeople(index)"
|
|
|
|
|
style="color: #4f607e;margin-right:8px">修改</text>
|
|
|
|
|
<text @click="form.follw_people.splice(index,1)"
|
|
|
|
|
style="color: red;margin-right:8px">删除</text>
|
|
|
|
|
<view @click="editFollwPeople(index)"
|
|
|
|
|
style="color: #4f607e;margin-right:8px" class="label-with-en-inline-del">
|
|
|
|
|
<text>修改</text>
|
|
|
|
|
<text class="en-text">Edit</text>
|
|
|
|
|
</view>
|
|
|
|
|
<view @click="form.follw_people.splice(index,1)"
|
|
|
|
|
style="color: red;margin-right:8px" class="label-with-en-inline-del">
|
|
|
|
|
<text>删除</text>
|
|
|
|
|
<text class="en-text">Delete</text>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</uni-td>
|
|
|
|
|
<uni-td>{{ item.name }}</uni-td>
|
|
|
|
|
<uni-td>
|
|
|
|
|
<view class="name">{{ item.mobile }}</view>
|
|
|
|
|
</uni-td>
|
|
|
|
|
<uni-td align="center">{{ item.credent==1?'身份证':"护照" }}</uni-td>
|
|
|
|
|
<uni-td align="center">{{ item.credent==1?'身份证 / ID Card':"护照 / Passport" }}</uni-td>
|
|
|
|
|
<uni-td align="center">{{ item.idcard }}</uni-td>
|
|
|
|
|
</uni-tr>
|
|
|
|
|
</uni-table>
|
|
|
|
|
@ -183,55 +355,120 @@
|
|
|
|
|
<uni-datetime-picker type="date" :start="toadyStart" return-type="string" v-model="form.end_date" />
|
|
|
|
|
</uni-forms-item>
|
|
|
|
|
</template> -->
|
|
|
|
|
<view class="formtext" v-if="form.type==1||form.type==2">被访人信息</view>
|
|
|
|
|
<uni-forms-item label="被访人" required name="acceptName" v-if="form.type==1||form.type==2">
|
|
|
|
|
<view class="formtext label-with-en" v-if="form.type==1||form.type==2">
|
|
|
|
|
<view>被访人信息</view>
|
|
|
|
|
<view class="en-text">Host Information</view>
|
|
|
|
|
</view>
|
|
|
|
|
<uni-forms-item required name="acceptName" v-if="form.type==1||form.type==2">
|
|
|
|
|
<template slot="label">
|
|
|
|
|
<view class="label-with-en-inline">
|
|
|
|
|
<text>被访人</text>
|
|
|
|
|
<text class="en-text">Host</text>
|
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
<uni-easyinput @clear="clearAccept('accept')" disabled v-model="form.acceptName"
|
|
|
|
|
@tap="adminListShowOpen('accept')" placeholder="请选择联系人员" />
|
|
|
|
|
@tap="adminListShowOpen('accept')" placeholder="请选择联系人员 / Please select contact person" />
|
|
|
|
|
</uni-forms-item>
|
|
|
|
|
|
|
|
|
|
<view class="formtext" v-if="form.type==3">收货人信息</view>
|
|
|
|
|
<uni-forms-item label="收货人" v-if="form.type==3" required name="goodsName">
|
|
|
|
|
<view class="formtext label-with-en" v-if="form.type==3">
|
|
|
|
|
<view>收货人信息</view>
|
|
|
|
|
<view class="en-text">Consignee Information</view>
|
|
|
|
|
</view>
|
|
|
|
|
<uni-forms-item v-if="form.type==3" required name="goodsName">
|
|
|
|
|
<template slot="label">
|
|
|
|
|
<view class="label-with-en-inline">
|
|
|
|
|
<text>收货人</text>
|
|
|
|
|
<text class="en-text">Consignee</text>
|
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
<uni-easyinput @clear="clearAccept('goods')" disabled v-model="form.goodsName"
|
|
|
|
|
@tap="adminListShowOpen('goods')" placeholder="请选择联系人员" />
|
|
|
|
|
@tap="adminListShowOpen('goods')" placeholder="请选择联系人员 / Please select contact person" />
|
|
|
|
|
</uni-forms-item>
|
|
|
|
|
|
|
|
|
|
<view class="formtext" v-if="visitAreaText=='生产区'">陪同人信息</view>
|
|
|
|
|
<uni-forms-item label="陪同人" required name="accompanyName" v-if="visitAreaText=='生产区'">
|
|
|
|
|
<view class="formtext label-with-en" v-if="visitAreaText=='生产区'">
|
|
|
|
|
<view>陪同人信息</view>
|
|
|
|
|
<view class="en-text">Accompanying Personnel Information</view>
|
|
|
|
|
</view>
|
|
|
|
|
<uni-forms-item required name="accompanyName" v-if="visitAreaText=='生产区'">
|
|
|
|
|
<template slot="label">
|
|
|
|
|
<view class="label-with-en-inline">
|
|
|
|
|
<text>陪同人</text>
|
|
|
|
|
<text class="en-text">Accompanying Personnel</text>
|
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
<uni-easyinput @clear="clearAccept('accompany')" disabled v-model="form.accompanyName"
|
|
|
|
|
@tap="adminListShowOpen('accompany')" placeholder="请选择联系人员" />
|
|
|
|
|
@tap="adminListShowOpen('accompany')" placeholder="请选择联系人员 / Please select contact person" />
|
|
|
|
|
</uni-forms-item>
|
|
|
|
|
<qianziyu-select :show="adminListShow" type="radio" :popupTitle="'联系人员'" name="cworkStationName"
|
|
|
|
|
<qianziyu-select :show="adminListShow" type="radio" :popupTitle="'联系人员 / Contact Personnel'" name="cworkStationName"
|
|
|
|
|
:dataLists="adminList" placeholder="输入陪同人具体姓名或手机号搜索" @search="selectSearch" @submit="submitAccept"
|
|
|
|
|
placeholderEnText="请输入陪同人具体姓名或手机号搜索/Enter name or phone number to search"
|
|
|
|
|
@cancel="cancelAccept" />
|
|
|
|
|
</uni-forms>
|
|
|
|
|
<button type="primary" style="background-color: #4f607e!important;" @click="getStudy">{{goStudy}}</button>
|
|
|
|
|
<button type="primary" style="background-color: #4f607e!important;" @click="getStudy" class="button-with-en-submit">
|
|
|
|
|
<view>{{goStudy}} / Submit</view>
|
|
|
|
|
<!-- <view class="en-text"></view> -->
|
|
|
|
|
</button>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 随访人员弹出 -->
|
|
|
|
|
<uni-drawer ref="showRight" mode="right" :mask-click="true">
|
|
|
|
|
<uni-drawer ref="showRight" mode="right" :mask-click="true" :width="300">
|
|
|
|
|
<uni-forms ref="peopleform" :model="follw_people_obj" :rules="peoplerules" labelWidth="80px">
|
|
|
|
|
<uni-forms-item label="姓名" required name='name'>
|
|
|
|
|
<uni-easyinput v-model="follw_people_obj.name" placeholder="请输入姓名" />
|
|
|
|
|
<uni-forms-item required name='name'>
|
|
|
|
|
<template slot="label">
|
|
|
|
|
<view class="label-with-en-inline">
|
|
|
|
|
<text>姓名</text>
|
|
|
|
|
<text class="en-text">Name</text>
|
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
<uni-easyinput v-model="follw_people_obj.name" placeholder="请输入姓名 / Please enter name" />
|
|
|
|
|
</uni-forms-item>
|
|
|
|
|
<uni-forms-item label="联系电话" required name='mobile'>
|
|
|
|
|
<uni-easyinput v-model="follw_people_obj.mobile" placeholder="请输入联系电话" />
|
|
|
|
|
<uni-forms-item required name='mobile'>
|
|
|
|
|
<template slot="label">
|
|
|
|
|
<view class="label-with-en-inline">
|
|
|
|
|
<text>联系电话</text>
|
|
|
|
|
<text class="en-text">Phone Number</text>
|
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
<uni-easyinput v-model="follw_people_obj.mobile" placeholder="请输入联系电话 / Please enter phone number" />
|
|
|
|
|
</uni-forms-item>
|
|
|
|
|
<uni-forms-item label="证件类型" required name='credent'>
|
|
|
|
|
<uni-forms-item required name='credent'>
|
|
|
|
|
<template slot="label">
|
|
|
|
|
<view class="label-with-en-inline">
|
|
|
|
|
<text>证件类型</text>
|
|
|
|
|
<text class="en-text">ID Type</text>
|
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
<uni-data-select @change="chooseCredent" v-model="follw_people_obj.credent"
|
|
|
|
|
:localdata="credentList">
|
|
|
|
|
</uni-data-select>
|
|
|
|
|
</uni-forms-item>
|
|
|
|
|
<uni-forms-item label="证件号码" required name='idcard' v-if="follw_people_obj.credent==1">
|
|
|
|
|
<uni-easyinput type="idcard" v-model="follw_people_obj.idcard" placeholder="请输入证件号码" />
|
|
|
|
|
<uni-forms-item required name='idcard' v-if="follw_people_obj.credent==1">
|
|
|
|
|
<template slot="label">
|
|
|
|
|
<view class="label-with-en-inline">
|
|
|
|
|
<text>证件号码</text>
|
|
|
|
|
<text class="en-text">ID Card Number</text>
|
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
<uni-easyinput type="idcard" v-model="follw_people_obj.idcard" placeholder="请输入证件号码 / Please enter ID card number" />
|
|
|
|
|
</uni-forms-item>
|
|
|
|
|
<uni-forms-item label="护照号码" required name='passcard' v-if="follw_people_obj.credent==2">
|
|
|
|
|
<uni-easyinput type="text" v-model="follw_people_obj.passcard" placeholder="请输入证件号码" />
|
|
|
|
|
<uni-forms-item required name='passcard' v-if="follw_people_obj.credent==2">
|
|
|
|
|
<template slot="label">
|
|
|
|
|
<view class="label-with-en-inline">
|
|
|
|
|
<text>护照号码</text>
|
|
|
|
|
<text class="en-text">Passport Number</text>
|
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
<uni-easyinput type="text" v-model="follw_people_obj.passcard" placeholder="请输入证件号码 / Please enter passport number" />
|
|
|
|
|
</uni-forms-item>
|
|
|
|
|
</uni-forms>
|
|
|
|
|
<view class="uni-group" style="text-align: right;">
|
|
|
|
|
<button @click="closeDrawer" size="mini">取消</button>
|
|
|
|
|
<button @click="closeDrawer" size="mini" class="button-mini-with-en">
|
|
|
|
|
<view>取消/Cancel</view>
|
|
|
|
|
</button>
|
|
|
|
|
<button @click="pushFollowPeople" size="mini" type="primary"
|
|
|
|
|
style="background-color: #4f607e!important;margin-left:8px">确认</button>
|
|
|
|
|
style="background-color: #4f607e!important;margin-left:8px" class="button-mini-with-en">
|
|
|
|
|
<view>确认/Confirm</view>
|
|
|
|
|
</button>
|
|
|
|
|
</view>
|
|
|
|
|
</uni-drawer>
|
|
|
|
|
|
|
|
|
|
@ -250,11 +487,11 @@
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
steps: [{
|
|
|
|
|
title: '填报'
|
|
|
|
|
title: '填报\nRegistration'
|
|
|
|
|
}, {
|
|
|
|
|
title: '学习'
|
|
|
|
|
title: '学习\nStudy'
|
|
|
|
|
}, {
|
|
|
|
|
title: '完成'
|
|
|
|
|
title: '完成\nComplete'
|
|
|
|
|
}],
|
|
|
|
|
stepActive: 0,
|
|
|
|
|
configshow: false,
|
|
|
|
|
@ -309,106 +546,106 @@
|
|
|
|
|
start_date: {
|
|
|
|
|
rules: [{
|
|
|
|
|
required: true,
|
|
|
|
|
errorMessage: '请选择开始日期'
|
|
|
|
|
errorMessage: '请选择开始日期 / Please select start date'
|
|
|
|
|
}]
|
|
|
|
|
},
|
|
|
|
|
end_date: {
|
|
|
|
|
rules: [{
|
|
|
|
|
required: true,
|
|
|
|
|
errorMessage: '请选择结束日期'
|
|
|
|
|
errorMessage: '请选择结束日期 / Please select end date'
|
|
|
|
|
}]
|
|
|
|
|
},
|
|
|
|
|
visit_time_id: {
|
|
|
|
|
rules: [{
|
|
|
|
|
required: true,
|
|
|
|
|
errorMessage: '请选择拜访时段'
|
|
|
|
|
errorMessage: '请选择拜访时段 / Please select visit time'
|
|
|
|
|
}]
|
|
|
|
|
},
|
|
|
|
|
visit_area_id: {
|
|
|
|
|
rules: [{
|
|
|
|
|
required: true,
|
|
|
|
|
errorMessage: '请选择前往区域'
|
|
|
|
|
errorMessage: '请选择前往区域 / Please select visit area'
|
|
|
|
|
}]
|
|
|
|
|
},
|
|
|
|
|
plate: {
|
|
|
|
|
rules: [{
|
|
|
|
|
required: true,
|
|
|
|
|
errorMessage: '请选择车辆类型'
|
|
|
|
|
errorMessage: '请选择车辆类型 / Please select vehicle type'
|
|
|
|
|
}]
|
|
|
|
|
},
|
|
|
|
|
name: {
|
|
|
|
|
rules: [{
|
|
|
|
|
required: true,
|
|
|
|
|
errorMessage: '姓名不能为空'
|
|
|
|
|
errorMessage: '姓名不能为空 / Name cannot be empty'
|
|
|
|
|
}]
|
|
|
|
|
},
|
|
|
|
|
mobile: {
|
|
|
|
|
rules: [{
|
|
|
|
|
required: true,
|
|
|
|
|
errorMessage: '联系电话不能为空'
|
|
|
|
|
errorMessage: '联系电话不能为空 / Phone number cannot be empty'
|
|
|
|
|
}, {
|
|
|
|
|
pattern: '^[1][3-9][\\d]{9}',
|
|
|
|
|
errorMessage: '联系号码格式错误'
|
|
|
|
|
errorMessage: '联系号码格式错误 / Invalid phone number format'
|
|
|
|
|
}]
|
|
|
|
|
},
|
|
|
|
|
credent: {
|
|
|
|
|
rules: [{
|
|
|
|
|
required: true,
|
|
|
|
|
errorMessage: '请选择身份证类型'
|
|
|
|
|
errorMessage: '请选择身份证类型 / Please select ID type'
|
|
|
|
|
}]
|
|
|
|
|
},
|
|
|
|
|
idcard: {
|
|
|
|
|
rules: [{
|
|
|
|
|
required: true,
|
|
|
|
|
errorMessage: '身份证号码不能为空'
|
|
|
|
|
errorMessage: '身份证号码不能为空 / ID card number cannot be empty'
|
|
|
|
|
}, {
|
|
|
|
|
pattern: '^[1-9]\\d{5}(18|19|20)\\d{2}((0[1-9])|(1[0-2]))(([0-2][1-9])|10|20|30|31)\\d{3}[0-9Xx]',
|
|
|
|
|
errorMessage: '身份证格式错误'
|
|
|
|
|
errorMessage: '身份证格式错误 / Invalid ID card format'
|
|
|
|
|
}]
|
|
|
|
|
},
|
|
|
|
|
passcard: {
|
|
|
|
|
rules: [{
|
|
|
|
|
required: true,
|
|
|
|
|
errorMessage: '护照号码不能为空'
|
|
|
|
|
errorMessage: '护照号码不能为空 / Passport number cannot be empty'
|
|
|
|
|
}, {
|
|
|
|
|
pattern: '/^([a-zA-z]|[0-9]){5,17}$/',
|
|
|
|
|
errorMessage: '护照格式错误'
|
|
|
|
|
errorMessage: '护照格式错误 / Invalid passport format'
|
|
|
|
|
}]
|
|
|
|
|
},
|
|
|
|
|
company_name: {
|
|
|
|
|
rules: [{
|
|
|
|
|
required: true,
|
|
|
|
|
errorMessage: '单位名称不能为空'
|
|
|
|
|
errorMessage: '单位名称不能为空 / Company name cannot be empty'
|
|
|
|
|
}]
|
|
|
|
|
},
|
|
|
|
|
cda: {
|
|
|
|
|
rules: [{
|
|
|
|
|
required: true,
|
|
|
|
|
errorMessage: 'CDA编号不能为空'
|
|
|
|
|
errorMessage: 'CDA编号不能为空 / CDA number cannot be empty'
|
|
|
|
|
}]
|
|
|
|
|
},
|
|
|
|
|
cars: {
|
|
|
|
|
rules: [{
|
|
|
|
|
required: true,
|
|
|
|
|
errorMessage: '车牌号不能为空'
|
|
|
|
|
errorMessage: '车牌号不能为空 / License plate cannot be empty'
|
|
|
|
|
}]
|
|
|
|
|
},
|
|
|
|
|
acceptName: {
|
|
|
|
|
rules: [{
|
|
|
|
|
required: true,
|
|
|
|
|
errorMessage: '请选择被访人'
|
|
|
|
|
errorMessage: '请选择被访人 / Please select host'
|
|
|
|
|
}]
|
|
|
|
|
},
|
|
|
|
|
accompanyName: {
|
|
|
|
|
rules: [{
|
|
|
|
|
required: true,
|
|
|
|
|
errorMessage: '请选择陪同人'
|
|
|
|
|
errorMessage: '请选择陪同人 / Please select accompanying personnel'
|
|
|
|
|
}]
|
|
|
|
|
},
|
|
|
|
|
goodsName: {
|
|
|
|
|
rules: [{
|
|
|
|
|
required: true,
|
|
|
|
|
errorMessage: '请选择收货人'
|
|
|
|
|
errorMessage: '请选择收货人 / Please select consignee'
|
|
|
|
|
}]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
@ -416,40 +653,40 @@
|
|
|
|
|
name: {
|
|
|
|
|
rules: [{
|
|
|
|
|
required: true,
|
|
|
|
|
errorMessage: '随访人姓名不能为空'
|
|
|
|
|
errorMessage: '随访人姓名不能为空 / Follower name cannot be empty'
|
|
|
|
|
}]
|
|
|
|
|
},
|
|
|
|
|
mobile: {
|
|
|
|
|
rules: [{
|
|
|
|
|
required: true,
|
|
|
|
|
errorMessage: '联系电话不能为空'
|
|
|
|
|
errorMessage: '联系电话不能为空 / Phone number cannot be empty'
|
|
|
|
|
}, {
|
|
|
|
|
pattern: '^[1][3-9][\\d]{9}',
|
|
|
|
|
errorMessage: '联系号码格式错误'
|
|
|
|
|
errorMessage: '联系号码格式错误 / Invalid phone number format'
|
|
|
|
|
}]
|
|
|
|
|
},
|
|
|
|
|
credent: {
|
|
|
|
|
rules: [{
|
|
|
|
|
required: true,
|
|
|
|
|
errorMessage: '请选择身份证类型'
|
|
|
|
|
errorMessage: '请选择身份证类型 / Please select ID type'
|
|
|
|
|
}]
|
|
|
|
|
},
|
|
|
|
|
idcard: {
|
|
|
|
|
rules: [{
|
|
|
|
|
required: true,
|
|
|
|
|
errorMessage: '身份证号码不能为空'
|
|
|
|
|
errorMessage: '身份证号码不能为空 / ID card number cannot be empty'
|
|
|
|
|
}, {
|
|
|
|
|
pattern: '^[1-9]\\d{5}(18|19|20)\\d{2}((0[1-9])|(1[0-2]))(([0-2][1-9])|10|20|30|31)\\d{3}[0-9Xx]',
|
|
|
|
|
errorMessage: '身份证格式错误'
|
|
|
|
|
errorMessage: '身份证格式错误 / Invalid ID card format'
|
|
|
|
|
}]
|
|
|
|
|
},
|
|
|
|
|
passcard: {
|
|
|
|
|
rules: [{
|
|
|
|
|
required: true,
|
|
|
|
|
errorMessage: '护照号码不能为空'
|
|
|
|
|
errorMessage: '护照号码不能为空 / Passport number cannot be empty'
|
|
|
|
|
}, {
|
|
|
|
|
pattern: '/^([a-zA-z]|[0-9]){5,17}$/',
|
|
|
|
|
errorMessage: '护照格式错误'
|
|
|
|
|
errorMessage: '护照格式错误 / Invalid passport format'
|
|
|
|
|
}]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
@ -460,11 +697,11 @@
|
|
|
|
|
parkAreaList: [],
|
|
|
|
|
credentList: [{
|
|
|
|
|
value: 1,
|
|
|
|
|
text: "身份证"
|
|
|
|
|
text: "身份证 / ID Card"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
value: 2,
|
|
|
|
|
text: "护照"
|
|
|
|
|
text: "护照 / Passport"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
longList: [{
|
|
|
|
|
@ -587,7 +824,7 @@
|
|
|
|
|
},
|
|
|
|
|
closeArea() {
|
|
|
|
|
if (!this.form.visit_area_id) {
|
|
|
|
|
this.util.alert("请先选择前往区域")
|
|
|
|
|
this.util.alert("请先选择前往区域 / Please select visit area first")
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
if (this.visitAreaText == "生产区") {
|
|
|
|
|
@ -763,7 +1000,7 @@
|
|
|
|
|
// 去学习
|
|
|
|
|
// 获取访客学习状态
|
|
|
|
|
async showStudy() {
|
|
|
|
|
this.util.alert("请确保每位访客都已通过学习培训,方可提交拜访")
|
|
|
|
|
this.util.alert("请确保每位访客都已通过学习培训,方可提交拜访 / Please ensure all visitors have completed the training before submitting the visit")
|
|
|
|
|
// let that = this
|
|
|
|
|
// let id_arr = []
|
|
|
|
|
// id_arr.push(this.form.idcard)
|
|
|
|
|
@ -822,7 +1059,7 @@
|
|
|
|
|
},
|
|
|
|
|
utilSuccess: function(res) {
|
|
|
|
|
if (res.length > 0) {
|
|
|
|
|
let str = res.join(",") + '未完成学习培训'
|
|
|
|
|
let str = res.join(",") + '未完成学习培训 / Not completed training'
|
|
|
|
|
that.util.alert(str)
|
|
|
|
|
uni.setStorageSync('formdata', that.form)
|
|
|
|
|
} else {
|
|
|
|
|
@ -1026,13 +1263,13 @@
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
uni.showToast({
|
|
|
|
|
title: '拜访人信息已自动填充',
|
|
|
|
|
title: '拜访人信息已自动填充 / Visitor information auto-filled',
|
|
|
|
|
duration: 2000,
|
|
|
|
|
icon: 'success'
|
|
|
|
|
})
|
|
|
|
|
} else {
|
|
|
|
|
uni.showToast({
|
|
|
|
|
title: '暂无拜访人历史记录,请手动输入!',
|
|
|
|
|
title: '暂无拜访人历史记录,请手动输入! / No visitor history, please enter manually!',
|
|
|
|
|
duration: 2000,
|
|
|
|
|
icon: 'none'
|
|
|
|
|
})
|
|
|
|
|
@ -1040,7 +1277,7 @@
|
|
|
|
|
},
|
|
|
|
|
utilFail: function(res) {
|
|
|
|
|
uni.showToast({
|
|
|
|
|
title: '拉取失败,请手动输入',
|
|
|
|
|
title: '拉取失败,请手动输入 / Pull failed, please enter manually',
|
|
|
|
|
duration: 2000,
|
|
|
|
|
icon: 'none'
|
|
|
|
|
})
|
|
|
|
|
@ -1155,4 +1392,102 @@
|
|
|
|
|
flex: 1 !important;
|
|
|
|
|
min-width: 0 !important;
|
|
|
|
|
}
|
|
|
|
|
.label-with-en-inline {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
width: 80px;
|
|
|
|
|
min-width: 80px;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
}
|
|
|
|
|
.label-with-en-inline text {
|
|
|
|
|
display: block;
|
|
|
|
|
line-height: 1.5;
|
|
|
|
|
}
|
|
|
|
|
.label-with-en-inline .en-text {
|
|
|
|
|
font-size: 20rpx;
|
|
|
|
|
color: #999;
|
|
|
|
|
margin-top: 4rpx;
|
|
|
|
|
font-weight: normal;
|
|
|
|
|
}
|
|
|
|
|
.label-with-en-inline-del {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: flex-start;
|
|
|
|
|
}
|
|
|
|
|
.label-with-en-inline-del text {
|
|
|
|
|
display: block;
|
|
|
|
|
line-height: 1.2;
|
|
|
|
|
}
|
|
|
|
|
.label-with-en-inline-del .en-text {
|
|
|
|
|
font-size: 18rpx;
|
|
|
|
|
color: #999;
|
|
|
|
|
margin-top: 2rpx;
|
|
|
|
|
font-weight: normal;
|
|
|
|
|
}
|
|
|
|
|
.button-with-en {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
}
|
|
|
|
|
.button-with-en .en-text {
|
|
|
|
|
font-size: 20rpx;
|
|
|
|
|
opacity: 0.9;
|
|
|
|
|
margin-top: 2rpx;
|
|
|
|
|
font-weight: normal;
|
|
|
|
|
}
|
|
|
|
|
.button-with-en-submit {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
}
|
|
|
|
|
.button-with-en-submit .en-text {
|
|
|
|
|
font-size: 20rpx;
|
|
|
|
|
opacity: 0.9;
|
|
|
|
|
margin-top: 2rpx;
|
|
|
|
|
font-weight: normal;
|
|
|
|
|
}
|
|
|
|
|
.button-mini-with-en {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
padding: 8rpx 16rpx;
|
|
|
|
|
}
|
|
|
|
|
.button-mini-with-en view {
|
|
|
|
|
line-height: 1.2;
|
|
|
|
|
}
|
|
|
|
|
.button-mini-with-en .en-text {
|
|
|
|
|
font-size: 18rpx;
|
|
|
|
|
opacity: 0.9;
|
|
|
|
|
margin-top: 2rpx;
|
|
|
|
|
font-weight: normal;
|
|
|
|
|
}
|
|
|
|
|
.label-with-en {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
}
|
|
|
|
|
.label-with-en .en-text {
|
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
color: #999;
|
|
|
|
|
margin-top: 4rpx;
|
|
|
|
|
}
|
|
|
|
|
.label-with-en-table {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
|
|
|
|
.label-with-en-table .en-text {
|
|
|
|
|
font-size: 20rpx;
|
|
|
|
|
color: #999;
|
|
|
|
|
margin-top: 2rpx;
|
|
|
|
|
}
|
|
|
|
|
/deep/ .uni-forms-item__label {
|
|
|
|
|
width: 140px !important;
|
|
|
|
|
min-width: 140px !important;
|
|
|
|
|
padding-right: 16rpx;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: flex-start;
|
|
|
|
|
}
|
|
|
|
|
</style>
|