|  |  |  | 
|---|
|  |  |  | <el-form :model="param" ref="paramRef" :rules="rules"> | 
|---|
|  |  |  | <div class="title_tip">访客预约</div> | 
|---|
|  |  |  | <el-form-item label="被访人" prop="startTime"> | 
|---|
|  |  |  | {{ userInfo.realname }} {{ userInfo.company.companyNamePath }} | 
|---|
|  |  |  | {{ userInfo.realname }} <template v-if="userInfo.company && userInfo.company.companyNamePath">{{ userInfo.company.companyNamePath }}</template> | 
|---|
|  |  |  | </el-form-item> | 
|---|
|  |  |  | <el-form-item label="入园时间" prop="starttime"> | 
|---|
|  |  |  | <el-date-picker | 
|---|
|  |  |  | 
|---|
|  |  |  | import dayjs from 'dayjs' | 
|---|
|  |  |  | import { createVisit, getVisitedVisitReason } from '@/api/business/visits' | 
|---|
|  |  |  | export default { | 
|---|
|  |  |  | name: 'OperaVisitsHkWindow', | 
|---|
|  |  |  | extends: BaseOpera, | 
|---|
|  |  |  | components: { | 
|---|
|  |  |  | GlobalWindow, | 
|---|
|  |  |  | 
|---|
|  |  |  | this.$emit('close') | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | .catch(e => { | 
|---|
|  |  |  | this.$tip.apiFailed(e) | 
|---|
|  |  |  |  | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | .finally(() => { | 
|---|
|  |  |  | this.isWorking = false | 
|---|