|
|
@@ -15,10 +15,10 @@
|
|
|
<view class="card">
|
|
|
<u-form :model="model" ref="uForm" >
|
|
|
<u-form-item :required="true" :label-width="labelWidth" label="访问园区" >
|
|
|
- <u-input type="select" :select-open="agencyShow" v-model="agencyName" placeholder="请选择要访问的园区" @click="agencyShow=true"></u-input>
|
|
|
+ <u-input type="select" :select-open="agencyShow" v-model="model.agencyName" placeholder="请选择要访问的园区" @click="agencyShow=true"></u-input>
|
|
|
</u-form-item>
|
|
|
<u-form-item :label-width="labelWidth" label="访问企业" >
|
|
|
- <u-input type="select" :select-open="enterpriseShow" v-model="enterpriseName" placeholder="请选择要访问的企业" @click="enterpriseShow=true"></u-input>
|
|
|
+ <u-input type="select" :select-open="enterpriseShow" v-model="model.enterpriseName" placeholder="请选择要访问的企业" @click="enterpriseShow=true"></u-input>
|
|
|
</u-form-item>
|
|
|
<u-form-item :required="true" :label-width="labelWidth" label="访问时间" >
|
|
|
<u-input type="select" :select-open="interviewTimeShow" v-model="model.interviewTime" placeholder="请选择访问时间" @click="interviewTimeShow=true"></u-input>
|
|
|
@@ -67,12 +67,12 @@
|
|
|
</view>
|
|
|
<view class="card">
|
|
|
<view @click="faceSelectShow=true" class="flex justify-center padding-bottom-50">
|
|
|
- <view class=" ">
|
|
|
+ <view :class="$isNotEmpty(model.imageUri)?'padding-top-30':''">
|
|
|
<upload-img
|
|
|
:width="$isEmpty(model.imageUri)?350:560"
|
|
|
:height="$isEmpty(model.imageUri)?350:420"
|
|
|
:currentImage="model.imageUri"
|
|
|
- bgsrc="http://139.9.103.171:1888/miniofile/xlyq/face1.png"
|
|
|
+ bgsrc="https://vote-obs.guosen-fumao.cn/c683bfabcdfe4306adb96bb1605394b6-face1%5B0%5D.png"
|
|
|
>
|
|
|
</upload-img>
|
|
|
<view class="text-center padding-top-20 base-color" >
|
|
|
@@ -92,7 +92,7 @@
|
|
|
<u-picker v-model="sexSelectShow" @confirm="sexSelectCallback" :range="sexSelectList" range-key="text" mode="selector"></u-picker>
|
|
|
|
|
|
<!-- 园区 -->
|
|
|
- <u-popup border-radius="60" height="60%" mode="bottom" v-model="agencyShow">
|
|
|
+ <u-popup border-radius="8" height="60%" mode="bottom" v-model="agencyShow">
|
|
|
<view class="fixed cu-bar search bg-white">
|
|
|
<view class="search-form round">
|
|
|
<text class="cuIcon-search"></text>
|
|
|
@@ -109,7 +109,7 @@
|
|
|
</u-popup>
|
|
|
|
|
|
<!-- 企业列表 -->
|
|
|
- <u-popup border-radius="60" height="60%" mode="bottom" v-model="enterpriseShow">
|
|
|
+ <u-popup border-radius="8" height="60%" mode="bottom" v-model="enterpriseShow">
|
|
|
<view class="fixed cu-bar search bg-white">
|
|
|
<view class="search-form round">
|
|
|
<text class="cuIcon-search"></text>
|
|
|
@@ -176,13 +176,11 @@
|
|
|
sexSelectIndex:0,
|
|
|
|
|
|
//园区下拉框
|
|
|
- agencyName:'',
|
|
|
agencyList:[],
|
|
|
agencyKeyWord:'',
|
|
|
agencyShow:false,
|
|
|
|
|
|
//企业下拉框
|
|
|
- enterpriseName:'',//回显
|
|
|
enterpriseShow:false,
|
|
|
enterpriseList:[],
|
|
|
enterpriseKeyword:'',
|
|
|
@@ -252,11 +250,11 @@
|
|
|
|
|
|
if (!this.$isEmpty(options.agencyId)&&!this.$isEmpty(options.agencyName)) {
|
|
|
this.model.agencyId=options.agencyId
|
|
|
- this.agencyName=options.agencyName
|
|
|
+ this.model.agencyName=options.agencyName
|
|
|
}
|
|
|
if (!this.$isEmpty(options.enterpriseId)&&!this.$isEmpty(options.enterpriseName)) {
|
|
|
this.model.enterpriseId=options.enterpriseId
|
|
|
- this.enterpriseName=options.enterpriseName
|
|
|
+ this.model.enterpriseName=options.enterpriseName
|
|
|
}
|
|
|
|
|
|
if (!this.$isEmpty(options.interviewTime)&&!this.$isEmpty(options.interviewTime)) {
|
|
|
@@ -330,7 +328,7 @@
|
|
|
grant_type: "password"
|
|
|
}
|
|
|
this.model.agencyId=item.id
|
|
|
- this.agencyName=item.agencyName
|
|
|
+ this.model.agencyName=item.agencyName
|
|
|
this.agencyShow=false
|
|
|
this.$cache.put('tokenObj',params)
|
|
|
//获取token
|
|
|
@@ -355,7 +353,7 @@
|
|
|
//选择企业
|
|
|
selectEnterprise(item){
|
|
|
this.enterpriseShow=false
|
|
|
- this.enterpriseName=item.enterpriseName
|
|
|
+ this.model.enterpriseName=item.enterpriseName
|
|
|
this.model.enterpriseId=item.id
|
|
|
},
|
|
|
|
|
|
@@ -490,12 +488,12 @@
|
|
|
showCancel:false,
|
|
|
success() {
|
|
|
that.getOpenListAndSendMsg()
|
|
|
- that.agencyName=''
|
|
|
- that.enterpriseName=''
|
|
|
that.model={
|
|
|
openId:'',
|
|
|
agencyId:'',
|
|
|
+ agencyName:'',
|
|
|
enterpriseId:'',
|
|
|
+ enterpriseName:'',
|
|
|
guestName:'',
|
|
|
guestSex:'',//1 男 2 女
|
|
|
guestIdcard:'',//身份证号
|