|
|
|
|
@ -13,16 +13,14 @@
|
|
|
|
|
</a>
|
|
|
|
|
</a-breadcrumb-item>
|
|
|
|
|
<a-breadcrumb-item>
|
|
|
|
|
<router-link
|
|
|
|
|
:to="
|
|
|
|
|
<router-link :to="
|
|
|
|
|
'/detail?' +
|
|
|
|
|
'id=' +
|
|
|
|
|
firminfo.id +
|
|
|
|
|
'&' +
|
|
|
|
|
'page=' +
|
|
|
|
|
firminfo.currentPageNum
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
">
|
|
|
|
|
<!-- <span @click="$router.back(-1)">企业详情</span> -->
|
|
|
|
|
<span>企业详情</span>
|
|
|
|
|
</router-link>
|
|
|
|
|
@ -33,14 +31,7 @@
|
|
|
|
|
</a-breadcrumb>
|
|
|
|
|
<div class="content">
|
|
|
|
|
<a-form-model ref="ruleForm" :model="form" :colon="true" :rules="rules">
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
ref="proxy"
|
|
|
|
|
label="代理"
|
|
|
|
|
prop=""
|
|
|
|
|
:wrapperCol="{ span: 18 }"
|
|
|
|
|
:labelCol="{ span: 4 }"
|
|
|
|
|
style="height: 30px; margin-bottom: 18px"
|
|
|
|
|
>
|
|
|
|
|
<a-form-model-item ref="proxy" label="代理" prop="" :wrapperCol="{ span: 18 }" :labelCol="{ span: 4 }" style="height: 30px; margin-bottom: 18px">
|
|
|
|
|
<!-- <a-input
|
|
|
|
|
:value="
|
|
|
|
|
proxyinfo.userName !== '' &&
|
|
|
|
|
@ -59,202 +50,67 @@
|
|
|
|
|
proxyinfo.userName !== undefined
|
|
|
|
|
? proxyinfo.userName
|
|
|
|
|
: proxyinfo.tel
|
|
|
|
|
}}</span
|
|
|
|
|
>
|
|
|
|
|
<a-select
|
|
|
|
|
v-if="proxyStatus === 'proxy'"
|
|
|
|
|
mode="combobox"
|
|
|
|
|
auto-focus
|
|
|
|
|
style="width: calc(100% - 200px)"
|
|
|
|
|
placeholder="请选择代理"
|
|
|
|
|
@blur="proxyStatus = ''"
|
|
|
|
|
>
|
|
|
|
|
<a-select-option
|
|
|
|
|
v-for="i in proxyList"
|
|
|
|
|
:key="i.userName"
|
|
|
|
|
@click="proxyChange(i)"
|
|
|
|
|
>
|
|
|
|
|
}}</span>
|
|
|
|
|
<a-select v-if="proxyStatus === 'proxy'" mode="combobox" auto-focus style="width: calc(100% - 200px)" placeholder="请选择代理" @blur="proxyStatus = ''">
|
|
|
|
|
<a-select-option v-for="i in proxyList" :key="i.userName" @click="proxyChange(i)">
|
|
|
|
|
{{ i.userName }}
|
|
|
|
|
</a-select-option>
|
|
|
|
|
</a-select>
|
|
|
|
|
<span
|
|
|
|
|
@click="proxyStatus = 'proxy'"
|
|
|
|
|
:style="{
|
|
|
|
|
<span @click="proxyStatus = 'proxy'" :style="{
|
|
|
|
|
color: '#ff4400',
|
|
|
|
|
marginLeft: '10px',
|
|
|
|
|
cursor: 'pointer',
|
|
|
|
|
}"
|
|
|
|
|
v-if="isMaster && proxyStatus !== 'proxy'"
|
|
|
|
|
>修改</span
|
|
|
|
|
>
|
|
|
|
|
}" v-if="isMaster && proxyStatus !== 'proxy'">修改</span>
|
|
|
|
|
</div>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
ref="username"
|
|
|
|
|
label="报名企业"
|
|
|
|
|
prop="username"
|
|
|
|
|
:wrapperCol="{ span: 18 }"
|
|
|
|
|
:labelCol="{ span: 4 }"
|
|
|
|
|
style="height: 30px; margin-bottom: 18px"
|
|
|
|
|
>
|
|
|
|
|
<a-form-model-item ref="username" label="报名企业" prop="username" :wrapperCol="{ span: 18 }" :labelCol="{ span: 4 }" style="height: 30px; margin-bottom: 18px">
|
|
|
|
|
<!-- <a-input :value="firminfo.aliasName" :disabled="true" /> -->
|
|
|
|
|
<div class="pzbox" style="width: 100%">
|
|
|
|
|
<span v-if="storeStatus === ''">{{ firminfo.aliasName }}</span>
|
|
|
|
|
<a-select
|
|
|
|
|
v-if="storeStatus === 'store'"
|
|
|
|
|
show-search
|
|
|
|
|
auto-focus
|
|
|
|
|
mode="combobox"
|
|
|
|
|
placeholder="请选择企业"
|
|
|
|
|
style="width: calc(100% - 200px)"
|
|
|
|
|
:default-active-first-option="false"
|
|
|
|
|
:show-arrow="false"
|
|
|
|
|
:filter-option="false"
|
|
|
|
|
:not-found-content="null"
|
|
|
|
|
@search="storeSearch"
|
|
|
|
|
@blur="storeStatus = ''"
|
|
|
|
|
>
|
|
|
|
|
<a-select-option
|
|
|
|
|
v-for="i in storeList"
|
|
|
|
|
:key="i.id + ''"
|
|
|
|
|
@click="storeChange(i)"
|
|
|
|
|
>
|
|
|
|
|
<a-select v-if="storeStatus === 'store'" show-search auto-focus mode="combobox" placeholder="请选择企业" style="width: calc(100% - 200px)" :default-active-first-option="false" :show-arrow="false" :filter-option="false" :not-found-content="null" @search="storeSearch" @blur="storeStatus = ''">
|
|
|
|
|
<a-select-option v-for="i in storeList" :key="i.id + ''" @click="storeChange(i)">
|
|
|
|
|
{{ i.aliasName }}
|
|
|
|
|
</a-select-option>
|
|
|
|
|
</a-select>
|
|
|
|
|
<span
|
|
|
|
|
@click="storeStatus = 'store'"
|
|
|
|
|
:style="{
|
|
|
|
|
<span @click="storeStatus = 'store'" :style="{
|
|
|
|
|
color: '#ff4400',
|
|
|
|
|
marginLeft: '10px',
|
|
|
|
|
cursor: 'pointer',
|
|
|
|
|
}"
|
|
|
|
|
v-if="isMaster && storeStatus !== 'store'"
|
|
|
|
|
>修改</span
|
|
|
|
|
>
|
|
|
|
|
}" v-if="isMaster && storeStatus !== 'store'">修改</span>
|
|
|
|
|
</div>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
ref="username"
|
|
|
|
|
label="岗位"
|
|
|
|
|
prop="username"
|
|
|
|
|
:wrapperCol="{ span: 18 }"
|
|
|
|
|
:labelCol="{ span: 4 }"
|
|
|
|
|
style="height: 30px"
|
|
|
|
|
>
|
|
|
|
|
<a-form-model-item ref="username" label="岗位" prop="username" :wrapperCol="{ span: 18 }" :labelCol="{ span: 4 }" style="height: 30px">
|
|
|
|
|
<!-- <a-input :value="firminfo.jobName" :disabled="true" /> -->
|
|
|
|
|
<div class="pzbox" style="width: 100%">
|
|
|
|
|
<span v-if="jobnameStatus === ''">{{ firminfo.jobName }}</span>
|
|
|
|
|
<a-select
|
|
|
|
|
v-if="jobnameStatus === 'jobname'"
|
|
|
|
|
show-search
|
|
|
|
|
auto-focus
|
|
|
|
|
placeholder="请选择岗位"
|
|
|
|
|
option-filter-prop="children"
|
|
|
|
|
style="width: 200px"
|
|
|
|
|
@blur="jobnameStatus = ''"
|
|
|
|
|
>
|
|
|
|
|
<a-select-option
|
|
|
|
|
v-for="i in storeJobList"
|
|
|
|
|
:key="i.id"
|
|
|
|
|
@click="storeJobChange(i)"
|
|
|
|
|
>
|
|
|
|
|
<a-select v-if="jobnameStatus === 'jobname'" show-search auto-focus placeholder="请选择岗位" option-filter-prop="children" style="width: 200px" @blur="jobnameStatus = ''">
|
|
|
|
|
<a-select-option v-for="i in storeJobList" :key="i.id" @click="storeJobChange(i)">
|
|
|
|
|
{{ i.aliasName }}
|
|
|
|
|
</a-select-option>
|
|
|
|
|
</a-select>
|
|
|
|
|
<span
|
|
|
|
|
@click="selected"
|
|
|
|
|
:style="{
|
|
|
|
|
<span @click="selected" :style="{
|
|
|
|
|
color: '#ff4400',
|
|
|
|
|
marginLeft: '10px',
|
|
|
|
|
cursor: 'pointer',
|
|
|
|
|
}"
|
|
|
|
|
v-if="isMaster && jobnameStatus !== 'jobname'"
|
|
|
|
|
>修改</span
|
|
|
|
|
>
|
|
|
|
|
}" v-if="isMaster && jobnameStatus !== 'jobname'">修改</span>
|
|
|
|
|
</div>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
class="time-input"
|
|
|
|
|
ref="interviewTime"
|
|
|
|
|
label="面试时间"
|
|
|
|
|
prop="interviewTime"
|
|
|
|
|
:wrapperCol="{ span: 18 }"
|
|
|
|
|
:labelCol="{ span: 4 }"
|
|
|
|
|
>
|
|
|
|
|
<timepicker
|
|
|
|
|
:isShow.sync="isShow"
|
|
|
|
|
:datetime.sync="form.interviewTime"
|
|
|
|
|
></timepicker>
|
|
|
|
|
<a-input
|
|
|
|
|
class="pt1"
|
|
|
|
|
v-model="form.interviewTime"
|
|
|
|
|
placeholder="请选择面试时间"
|
|
|
|
|
@input="verify"
|
|
|
|
|
allowClear
|
|
|
|
|
@click="getDateinfo"
|
|
|
|
|
><i
|
|
|
|
|
class="iconfont icon-rili"
|
|
|
|
|
slot="suffix"
|
|
|
|
|
@click="getDateinfo"
|
|
|
|
|
></i
|
|
|
|
|
></a-input>
|
|
|
|
|
<a-form-model-item class="time-input" ref="interviewTime" label="面试时间" prop="interviewTime" :wrapperCol="{ span: 18 }" :labelCol="{ span: 4 }">
|
|
|
|
|
<timepicker :isShow.sync="isShow" :datetime.sync="form.interviewTime"></timepicker>
|
|
|
|
|
<a-input class="pt1" v-model="form.interviewTime" placeholder="请选择面试时间" @input="verify" allowClear @click="getDateinfo"><i class="iconfont icon-rili" slot="suffix" @click="getDateinfo"></i></a-input>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
style="margin-top: 12px"
|
|
|
|
|
class="time-input"
|
|
|
|
|
ref="receptionTime"
|
|
|
|
|
label="接待时间"
|
|
|
|
|
prop="receptionTime"
|
|
|
|
|
:wrapperCol="{ span: 18 }"
|
|
|
|
|
:labelCol="{ span: 4 }"
|
|
|
|
|
>
|
|
|
|
|
<timepicker
|
|
|
|
|
:isShow.sync="isShow1"
|
|
|
|
|
:datetime.sync="form.receptionTime"
|
|
|
|
|
></timepicker>
|
|
|
|
|
<a-input
|
|
|
|
|
class="pt1"
|
|
|
|
|
v-model="form.receptionTime"
|
|
|
|
|
placeholder="请选择接待时间"
|
|
|
|
|
@input="verify1"
|
|
|
|
|
allowClear
|
|
|
|
|
@click="getDateinfo1"
|
|
|
|
|
><i
|
|
|
|
|
class="iconfont icon-rili"
|
|
|
|
|
slot="suffix"
|
|
|
|
|
@click="getDateinfo1"
|
|
|
|
|
></i
|
|
|
|
|
></a-input>
|
|
|
|
|
<a-form-model-item style="margin-top: 12px" class="time-input" ref="receptionTime" label="接待时间" prop="receptionTime" :wrapperCol="{ span: 18 }" :labelCol="{ span: 4 }">
|
|
|
|
|
<timepicker :isShow.sync="isShow1" :datetime.sync="form.receptionTime"></timepicker>
|
|
|
|
|
<a-input class="pt1" v-model="form.receptionTime" placeholder="请选择接待时间" @input="verify1" allowClear @click="getDateinfo1"><i class="iconfont icon-rili" slot="suffix" @click="getDateinfo1"></i></a-input>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-row>
|
|
|
|
|
<a-col :span="20">
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
ref="idCard"
|
|
|
|
|
label="身份证号"
|
|
|
|
|
prop="idCard"
|
|
|
|
|
:wrapperCol="{ span: 16 }"
|
|
|
|
|
:labelCol="{ span: 5 }"
|
|
|
|
|
>
|
|
|
|
|
<a-input
|
|
|
|
|
v-model="form.idCard"
|
|
|
|
|
@change="getIdInfo($event)"
|
|
|
|
|
placeholder="请输入老乡身份证号"
|
|
|
|
|
:max-length="18"
|
|
|
|
|
/>
|
|
|
|
|
<a-form-model-item ref="idCard" label="身份证号" prop="idCard" :wrapperCol="{ span: 16 }" :labelCol="{ span: 5 }">
|
|
|
|
|
<a-input v-model="form.idCard" @change="getIdInfo($event)" placeholder="请输入老乡身份证号" :max-length="18" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="4" class="idCardUpload">
|
|
|
|
|
<a-upload
|
|
|
|
|
:customRequest="customRequestFun"
|
|
|
|
|
list-type="picture-card"
|
|
|
|
|
:file-list="fileList"
|
|
|
|
|
@change="handleChange"
|
|
|
|
|
@preview="handlePreview"
|
|
|
|
|
style="margin-left: -50px"
|
|
|
|
|
:beforeUpload="beforeUpload"
|
|
|
|
|
:data="dataObj"
|
|
|
|
|
>
|
|
|
|
|
<a-upload :customRequest="customRequestFun" list-type="picture-card" :file-list="fileList" @change="handleChange" @preview="handlePreview" style="margin-left: -50px" :beforeUpload="beforeUpload" :data="dataObj">
|
|
|
|
|
<!-- <div
|
|
|
|
|
v-if="fileList.length < 1"
|
|
|
|
|
style="
|
|
|
|
|
@ -271,70 +127,35 @@
|
|
|
|
|
:src="form.idCardImageUrl"
|
|
|
|
|
alt="avatar"
|
|
|
|
|
/> -->
|
|
|
|
|
<div
|
|
|
|
|
v-if="fileList.length == 0"
|
|
|
|
|
style="
|
|
|
|
|
<div v-if="fileList.length == 0" style="
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
"
|
|
|
|
|
class="nloding"
|
|
|
|
|
>
|
|
|
|
|
" class="nloding">
|
|
|
|
|
<a-icon type="plus" />
|
|
|
|
|
<div class="ant-upload-text">上传证件</div>
|
|
|
|
|
</div>
|
|
|
|
|
</a-upload>
|
|
|
|
|
<div
|
|
|
|
|
v-if="loading"
|
|
|
|
|
style="
|
|
|
|
|
<div v-if="loading" style="
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
"
|
|
|
|
|
class="uploading"
|
|
|
|
|
>
|
|
|
|
|
<a-icon
|
|
|
|
|
:type="loading ? 'loading' : 'plus'"
|
|
|
|
|
style="margin-right: 10px"
|
|
|
|
|
/>
|
|
|
|
|
" class="uploading">
|
|
|
|
|
<a-icon :type="loading ? 'loading' : 'plus'" style="margin-right: 10px" />
|
|
|
|
|
<div class="ant-upload-text">上传中</div>
|
|
|
|
|
</div>
|
|
|
|
|
<i
|
|
|
|
|
class="iconfont icon-guanbi"
|
|
|
|
|
v-if="fileList.length !== 0 && !loading"
|
|
|
|
|
@click="fileList = []"
|
|
|
|
|
></i>
|
|
|
|
|
<i class="iconfont icon-guanbi" v-if="fileList.length !== 0 && !loading" @click="fileList = []"></i>
|
|
|
|
|
</a-col>
|
|
|
|
|
</a-row>
|
|
|
|
|
<a-row class="specialbox">
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
ref="userName"
|
|
|
|
|
label="姓名"
|
|
|
|
|
prop="userName"
|
|
|
|
|
:wrapperCol="{ span: 15 }"
|
|
|
|
|
:labelCol="{ span: 8 }"
|
|
|
|
|
>
|
|
|
|
|
<a-input
|
|
|
|
|
v-model="form.userName"
|
|
|
|
|
placeholder="请输入老乡姓名"
|
|
|
|
|
class="special-input"
|
|
|
|
|
/>
|
|
|
|
|
<a-form-model-item ref="userName" label="姓名" prop="userName" :wrapperCol="{ span: 15 }" :labelCol="{ span: 8 }">
|
|
|
|
|
<a-input v-model="form.userName" placeholder="请输入老乡姓名" class="special-input" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
ref="sex"
|
|
|
|
|
label="性别"
|
|
|
|
|
prop="sex"
|
|
|
|
|
:wrapperCol="{ span: 18 }"
|
|
|
|
|
:labelCol="{ span: 5 }"
|
|
|
|
|
>
|
|
|
|
|
<a-radio-group
|
|
|
|
|
v-model="form.sex"
|
|
|
|
|
defaultValue="nan"
|
|
|
|
|
class="radiobox"
|
|
|
|
|
>
|
|
|
|
|
<a-form-model-item ref="sex" label="性别" prop="sex" :wrapperCol="{ span: 18 }" :labelCol="{ span: 5 }">
|
|
|
|
|
<a-radio-group v-model="form.sex" defaultValue="nan" class="radiobox">
|
|
|
|
|
<a-radio value="1"> 男 </a-radio>
|
|
|
|
|
<a-radio value="2"> 女 </a-radio>
|
|
|
|
|
</a-radio-group>
|
|
|
|
|
@ -344,64 +165,22 @@
|
|
|
|
|
<a-row>
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
<!-- :offset="2" -->
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
ref="age"
|
|
|
|
|
label="年龄"
|
|
|
|
|
prop="age"
|
|
|
|
|
:wrapperCol="{ span: 15 }"
|
|
|
|
|
:labelCol="{ span: 8 }"
|
|
|
|
|
>
|
|
|
|
|
<a-input
|
|
|
|
|
v-model="form.age"
|
|
|
|
|
placeholder="请输入年龄"
|
|
|
|
|
class="special-input"
|
|
|
|
|
/>
|
|
|
|
|
<a-form-model-item ref="age" label="年龄" prop="age" :wrapperCol="{ span: 15 }" :labelCol="{ span: 8 }">
|
|
|
|
|
<a-input v-model="form.age" placeholder="请输入年龄" class="special-input" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
ref="peoplecard"
|
|
|
|
|
label="民族"
|
|
|
|
|
prop="peoplecard"
|
|
|
|
|
:wrapperCol="{ span: 15 }"
|
|
|
|
|
:labelCol="{ span: 5 }"
|
|
|
|
|
>
|
|
|
|
|
<a-select
|
|
|
|
|
v-model="form.nation"
|
|
|
|
|
placeholder="请选择民族"
|
|
|
|
|
class="special-input"
|
|
|
|
|
>
|
|
|
|
|
<a-select-option
|
|
|
|
|
v-for="item in nationlist"
|
|
|
|
|
:key="item.id"
|
|
|
|
|
:value="item.name"
|
|
|
|
|
>{{ item.name }}</a-select-option
|
|
|
|
|
>
|
|
|
|
|
<a-form-model-item ref="peoplecard" label="民族" prop="peoplecard" :wrapperCol="{ span: 15 }" :labelCol="{ span: 5 }">
|
|
|
|
|
<a-select v-model="form.nation" placeholder="请选择民族" class="special-input">
|
|
|
|
|
<a-select-option v-for="item in nationlist" :key="item.id" :value="item.name">{{ item.name }}</a-select-option>
|
|
|
|
|
</a-select>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
</a-row>
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
ref="tel"
|
|
|
|
|
label="电话"
|
|
|
|
|
prop="tel"
|
|
|
|
|
:wrapperCol="{ span: 18 }"
|
|
|
|
|
:labelCol="{ span: 4 }"
|
|
|
|
|
style="margin-bottom: 18px"
|
|
|
|
|
>
|
|
|
|
|
<a-input
|
|
|
|
|
v-model="form.tel"
|
|
|
|
|
placeholder="请输入电话号"
|
|
|
|
|
:max-length="11"
|
|
|
|
|
/>
|
|
|
|
|
<a-form-model-item ref="tel" label="电话" prop="tel" :wrapperCol="{ span: 18 }" :labelCol="{ span: 4 }" style="margin-bottom: 18px">
|
|
|
|
|
<a-input v-model="form.tel" placeholder="请输入电话号" :max-length="11" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
ref="peoplecard"
|
|
|
|
|
label="家庭住址"
|
|
|
|
|
prop="peoplecard"
|
|
|
|
|
:wrapperCol="{ span: 18 }"
|
|
|
|
|
:labelCol="{ span: 4 }"
|
|
|
|
|
>
|
|
|
|
|
<a-form-model-item ref="peoplecard" label="家庭住址" prop="peoplecard" :wrapperCol="{ span: 18 }" :labelCol="{ span: 4 }">
|
|
|
|
|
<a-input v-model="form.address" placeholder="请输入家庭住址" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<!-- <a-form-model-item ref="username" label="模式" prop="username">
|
|
|
|
|
@ -409,86 +188,48 @@
|
|
|
|
|
<a-select-option :value="apply.id">{{ apply.id }}</a-select-option>
|
|
|
|
|
</a-select>
|
|
|
|
|
</a-form-model-item> -->
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
ref="policy"
|
|
|
|
|
label="政策"
|
|
|
|
|
prop="policy"
|
|
|
|
|
class="policyContainer"
|
|
|
|
|
:wrapperCol="{ span: 18 }"
|
|
|
|
|
:labelCol="{ span: 4 }"
|
|
|
|
|
>
|
|
|
|
|
<a-form-model-item ref="policy" label="政策" prop="policy" class="policyContainer" :wrapperCol="{ span: 18 }" :labelCol="{ span: 4 }">
|
|
|
|
|
<!-- <a-input v-model="form.policy" type='textarea'/> -->
|
|
|
|
|
<div class="policy" style="min-height: 30px !important">
|
|
|
|
|
{{ form.policy }}
|
|
|
|
|
</div>
|
|
|
|
|
<div class="openContral" v-if="isContainerShow">
|
|
|
|
|
<span v-if="isFold" @click="toFold(1)">展开</span
|
|
|
|
|
><span v-else @click="toFold(2)">收起</span>
|
|
|
|
|
<span v-if="isFold" @click="toFold(1)">展开</span><span v-else @click="toFold(2)">收起</span>
|
|
|
|
|
</div>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
ref="headerUploadRef"
|
|
|
|
|
label="附件"
|
|
|
|
|
prop="peoplecard"
|
|
|
|
|
:wrapperCol="{ span: 18 }"
|
|
|
|
|
:labelCol="{ span: 4 }"
|
|
|
|
|
>
|
|
|
|
|
<a-upload
|
|
|
|
|
:customRequest="customRequestFun2"
|
|
|
|
|
multiple
|
|
|
|
|
list-type="picture"
|
|
|
|
|
:default-file-list="fileList2"
|
|
|
|
|
class="upload-list-inline"
|
|
|
|
|
@change="handleChange2"
|
|
|
|
|
:remove="
|
|
|
|
|
<a-form-model-item ref="headerUploadRef" label="附件" prop="peoplecard" :wrapperCol="{ span: 18 }" :labelCol="{ span: 4 }">
|
|
|
|
|
<a-upload :customRequest="customRequestFun2" multiple list-type="picture" :default-file-list="fileList2" class="upload-list-inline" @change="handleChange2" :remove="
|
|
|
|
|
(file) => {
|
|
|
|
|
removeFile(file, 'header');
|
|
|
|
|
}
|
|
|
|
|
"
|
|
|
|
|
@preview="handlePreview"
|
|
|
|
|
:beforeUpload="beforeUpload"
|
|
|
|
|
:data="dataObj"
|
|
|
|
|
>
|
|
|
|
|
" @preview="handlePreview" :beforeUpload="beforeUpload" :data="dataObj">
|
|
|
|
|
<a-button> <a-icon type="upload" /> 上传 </a-button>
|
|
|
|
|
</a-upload>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-form-model>
|
|
|
|
|
<div class="upline">
|
|
|
|
|
<div>
|
|
|
|
|
<a-button
|
|
|
|
|
type="primary"
|
|
|
|
|
@click="onClose"
|
|
|
|
|
:style="{
|
|
|
|
|
<a-button type="primary" @click="onClose" :style="{
|
|
|
|
|
color: '#666',
|
|
|
|
|
backgroundColor: '#fafafa',
|
|
|
|
|
borderColor: '#ddd',
|
|
|
|
|
boxShadow: 'none',
|
|
|
|
|
textShadow: 'none',
|
|
|
|
|
}"
|
|
|
|
|
>
|
|
|
|
|
}">
|
|
|
|
|
取消
|
|
|
|
|
</a-button>
|
|
|
|
|
<a-button
|
|
|
|
|
style="
|
|
|
|
|
<a-button style="
|
|
|
|
|
margin-left: 10px;
|
|
|
|
|
color: #fff;
|
|
|
|
|
background-color: #ff4400;
|
|
|
|
|
border-color: #ff4400;
|
|
|
|
|
"
|
|
|
|
|
@click="handleOk"
|
|
|
|
|
:loading="confirmLoading"
|
|
|
|
|
>
|
|
|
|
|
" @click="handleOk" :loading="confirmLoading">
|
|
|
|
|
提交
|
|
|
|
|
</a-button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<a-modal
|
|
|
|
|
title="预览"
|
|
|
|
|
:visible="previewVisible"
|
|
|
|
|
:footer="null"
|
|
|
|
|
@cancel="previewVisible = false"
|
|
|
|
|
>
|
|
|
|
|
<a-modal title="预览" :visible="previewVisible" :footer="null" @cancel="previewVisible = false">
|
|
|
|
|
<img alt="example" :src="form.idCardImageUrl" />
|
|
|
|
|
</a-modal>
|
|
|
|
|
</div>
|
|
|
|
|
@ -850,33 +591,54 @@ export default {
|
|
|
|
|
//"S": val.getMilliseconds() //毫秒
|
|
|
|
|
//"q+": Math.floor((val.getMonth() + 3) / 3) //季度
|
|
|
|
|
};
|
|
|
|
|
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (value.getFullYear() + "").substr(4 - RegExp.$1.length));
|
|
|
|
|
if (/(y+)/.test(fmt))
|
|
|
|
|
fmt = fmt.replace(
|
|
|
|
|
RegExp.$1,
|
|
|
|
|
(value.getFullYear() + "").substr(4 - RegExp.$1.length)
|
|
|
|
|
);
|
|
|
|
|
for (var k in o) {
|
|
|
|
|
if (new RegExp("(" + k + ")").test(fmt)) {
|
|
|
|
|
fmt = fmt.replace(RegExp.$1, RegExp.$1.length == 1 ? o[k] : ("00" + o[k]).substr(("" + o[k]).length));
|
|
|
|
|
fmt = fmt.replace(
|
|
|
|
|
RegExp.$1,
|
|
|
|
|
RegExp.$1.length == 1
|
|
|
|
|
? o[k]
|
|
|
|
|
: ("00" + o[k]).substr(("" + o[k]).length)
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return fmt;
|
|
|
|
|
},
|
|
|
|
|
getDateinfo() {
|
|
|
|
|
this.isShow = true;
|
|
|
|
|
if(isEmptyCheck(this.form.interviewTime)) {//设置默认值
|
|
|
|
|
if (isEmptyCheck(this.form.interviewTime)) {
|
|
|
|
|
//设置默认值
|
|
|
|
|
//判断当前时间是不是在16:00之后,如果在16:00之后,默认显示次日09:00,如果在16:00之前,则显示下一个整点时间
|
|
|
|
|
var mydate = new Date();
|
|
|
|
|
var tomorrow = new Date();
|
|
|
|
|
tomorrow.setDate(tomorrow.getDate() + 1);
|
|
|
|
|
this.form.interviewTime = mydate.toTimeString() >= '16:00' ? (this.formatDateYMD(tomorrow.toLocaleDateString()) + " " + "09:00") : (this.formatDateYMD(mydate.toLocaleDateString()) + " " + `${mydate.getHours() + 1}:00`);
|
|
|
|
|
this.form.interviewTime =
|
|
|
|
|
mydate.toTimeString() >= "16:00"
|
|
|
|
|
? this.formatDateYMD(tomorrow.toLocaleDateString()) + " " + "09:00"
|
|
|
|
|
: this.formatDateYMD(mydate.toLocaleDateString()) +
|
|
|
|
|
" " +
|
|
|
|
|
`${mydate.getHours() + 1}:00`;
|
|
|
|
|
}
|
|
|
|
|
console.log(this.form.interviewTime);
|
|
|
|
|
},
|
|
|
|
|
getDateinfo1() {
|
|
|
|
|
this.isShow1 = true;
|
|
|
|
|
if(isEmptyCheck(this.form.receptionTime)) {//设置默认值
|
|
|
|
|
if (isEmptyCheck(this.form.receptionTime)) {
|
|
|
|
|
//设置默认值
|
|
|
|
|
//判断当前时间是不是在16:00之后,如果在16:00之后,默认显示次日09:00,如果在16:00之前,则显示下一个整点时间
|
|
|
|
|
var mydate = new Date();
|
|
|
|
|
var tomorrow = new Date();
|
|
|
|
|
tomorrow.setDate(tomorrow.getDate() + 1);
|
|
|
|
|
this.form.receptionTime = mydate.toTimeString() >= '16:00' ? (this.formatDateYMD(tomorrow.toLocaleDateString()) + " " + "09:00") : (this.formatDateYMD(mydate.toLocaleDateString()) + " " + `${mydate.getHours() + 1}:00`);
|
|
|
|
|
this.form.receptionTime =
|
|
|
|
|
mydate.toTimeString() >= "16:00"
|
|
|
|
|
? this.formatDateYMD(tomorrow.toLocaleDateString()) + " " + "09:00"
|
|
|
|
|
: this.formatDateYMD(mydate.toLocaleDateString()) +
|
|
|
|
|
" " +
|
|
|
|
|
`${mydate.getHours() + 1}:00`;
|
|
|
|
|
}
|
|
|
|
|
console.log(this.form.receptionTime);
|
|
|
|
|
},
|
|
|
|
|
@ -1324,34 +1086,34 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/deep/ .ant-radio {
|
|
|
|
|
border-color: #ddd;
|
|
|
|
|
box-shadow: none;
|
|
|
|
|
// /deep/ .ant-radio {
|
|
|
|
|
// border-color: #ddd;
|
|
|
|
|
// box-shadow: none;
|
|
|
|
|
|
|
|
|
|
&:after {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
// &:after {
|
|
|
|
|
// display: none;
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
&:hover .ant-radio-inner {
|
|
|
|
|
border-color: #ff4400 !important;
|
|
|
|
|
box-shadow: none;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
// &:hover .ant-radio-inner {
|
|
|
|
|
// border-color: #ff4400 !important;
|
|
|
|
|
// box-shadow: none;
|
|
|
|
|
// }
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
/deep/ .ant-radio-checked {
|
|
|
|
|
.ant-radio-input:focus {
|
|
|
|
|
box-shadow: none;
|
|
|
|
|
}
|
|
|
|
|
// /deep/ .ant-radio-checked {
|
|
|
|
|
// .ant-radio-input:focus {
|
|
|
|
|
// box-shadow: none;
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
.ant-radio-inner {
|
|
|
|
|
border-color: #ff4400;
|
|
|
|
|
box-shadow: none;
|
|
|
|
|
// .ant-radio-inner {
|
|
|
|
|
// border-color: #ff4400;
|
|
|
|
|
// box-shadow: none;
|
|
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
|
background-color: #ff4400 !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
// &::after {
|
|
|
|
|
// background-color: #ff4400 !important;
|
|
|
|
|
// }
|
|
|
|
|
// }
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
.ant-col {
|
|
|
|
|
.ant-form-item {
|
|
|
|
|
|