|
@@ -2,7 +2,7 @@
|
|
<div class="login-box py-5">
|
|
<div class="login-box py-5">
|
|
<v-card class="pa-5" :class="isMobile? 'mobileBox' : 'default-width'" :elevation="isMobile? '0' : '3'">
|
|
<v-card class="pa-5" :class="isMobile? 'mobileBox' : 'default-width'" :elevation="isMobile? '0' : '3'">
|
|
<!-- 标题 -->
|
|
<!-- 标题 -->
|
|
- <div class="mt-3">
|
|
|
|
|
|
+ <div class="mt-3" v-if="!isMobile">
|
|
<v-btn v-if="pageType !== 'noLoginToRegister'" color="primary" variant="text" @click="router.push('/recruitHome')">{{ `<< 回到首页` }}</v-btn>
|
|
<v-btn v-if="pageType !== 'noLoginToRegister'" color="primary" variant="text" @click="router.push('/recruitHome')">{{ `<< 回到首页` }}</v-btn>
|
|
<div v-else style="height: 30px;"></div>
|
|
<div v-else style="height: 30px;"></div>
|
|
</div>
|
|
</div>
|
|
@@ -13,7 +13,7 @@
|
|
<span>原因:{{ failureReason }}</span>
|
|
<span>原因:{{ failureReason }}</span>
|
|
</div>
|
|
</div>
|
|
<!-- 标题 -->
|
|
<!-- 标题 -->
|
|
- <div class="mb-10 mt-n8" style="font-size: 22px; font-weight: bold; text-align: center;">{{ $t('enterprise.registeringNewEnterprise') }}</div>
|
|
|
|
|
|
+ <div class="mb-10" :class="isMobile ? 'mt-0': 'mt-n8'" style="font-size: 22px; font-weight: bold; text-align: center;">{{ $t('enterprise.registeringNewEnterprise') }}</div>
|
|
<CtForm ref="CtFormRef" :items="formItems" style="width: 100%;">
|
|
<CtForm ref="CtFormRef" :items="formItems" style="width: 100%;">
|
|
<template #businessLicense>
|
|
<template #businessLicense>
|
|
<!-- 上传照片 -->
|
|
<!-- 上传照片 -->
|
|
@@ -26,8 +26,8 @@
|
|
<div class="file-box">
|
|
<div class="file-box">
|
|
<Img
|
|
<Img
|
|
class="mt-3"
|
|
class="mt-3"
|
|
- v-model="licenseUrl"
|
|
|
|
tips="上传图片"
|
|
tips="上传图片"
|
|
|
|
+ :value="licenseUrl"
|
|
:showSnackbar="false"
|
|
:showSnackbar="false"
|
|
@imgClick="showPreview = !showPreview"
|
|
@imgClick="showPreview = !showPreview"
|
|
:showCursor="true"
|
|
:showCursor="true"
|
|
@@ -149,21 +149,21 @@ const formItems = ref({
|
|
{
|
|
{
|
|
type: 'text',
|
|
type: 'text',
|
|
key: 'contactName',
|
|
key: 'contactName',
|
|
- value: '林小姐',
|
|
|
|
|
|
+ value: '',
|
|
label: '联系人姓名 *',
|
|
label: '联系人姓名 *',
|
|
rules: [v => !!v || '请输入联系人姓名']
|
|
rules: [v => !!v || '请输入联系人姓名']
|
|
},
|
|
},
|
|
{
|
|
{
|
|
type: 'phoneNumber',
|
|
type: 'phoneNumber',
|
|
key: 'phone',
|
|
key: 'phone',
|
|
- value: '13229740091',
|
|
|
|
|
|
+ value: '',
|
|
label: '联系电话 *',
|
|
label: '联系电话 *',
|
|
rules: [v => !!v || '请输入联系电话']
|
|
rules: [v => !!v || '请输入联系电话']
|
|
},
|
|
},
|
|
{
|
|
{
|
|
type: 'text',
|
|
type: 'text',
|
|
key: 'email',
|
|
key: 'email',
|
|
- value: email ? email : 'lin@qq.com',
|
|
|
|
|
|
+ value: email ? email : '',
|
|
label: '企业邮箱 *',
|
|
label: '企业邮箱 *',
|
|
rules: [
|
|
rules: [
|
|
value => {
|
|
value => {
|
|
@@ -179,7 +179,7 @@ const formItems = ref({
|
|
{
|
|
{
|
|
type: 'password',
|
|
type: 'password',
|
|
key: 'password',
|
|
key: 'password',
|
|
- value: 'Citu123456',
|
|
|
|
|
|
+ value: '',
|
|
appendInnerIcon: 'mdi-eye-off-outline',
|
|
appendInnerIcon: 'mdi-eye-off-outline',
|
|
label: '账户登录密码 *',
|
|
label: '账户登录密码 *',
|
|
placeholder: '请输入账户登录密码',
|
|
placeholder: '请输入账户登录密码',
|
|
@@ -198,7 +198,7 @@ const formItems = ref({
|
|
{
|
|
{
|
|
type: 'password',
|
|
type: 'password',
|
|
key: 'passwordConfirm',
|
|
key: 'passwordConfirm',
|
|
- value: 'Citu123456',
|
|
|
|
|
|
+ value: '',
|
|
appendInnerIcon: 'mdi-eye-off-outline',
|
|
appendInnerIcon: 'mdi-eye-off-outline',
|
|
label: '请再次输入账户登录密码 *',
|
|
label: '请再次输入账户登录密码 *',
|
|
placeholder: '请再次输入账户登录密码',
|
|
placeholder: '请再次输入账户登录密码',
|
|
@@ -290,11 +290,11 @@ if (info && Object.keys(info).length && info.status === '2') {
|
|
failureReason.value = info?.reason || ''
|
|
failureReason.value = info?.reason || ''
|
|
licenseUrl.value = info?.businessLicenseUrl
|
|
licenseUrl.value = info?.businessLicenseUrl
|
|
// prepareValue.value = info?.prepare || false
|
|
// prepareValue.value = info?.prepare || false
|
|
- isPrepareChange()
|
|
|
|
formItems.value.options.forEach(e => {
|
|
formItems.value.options.forEach(e => {
|
|
if (e.key === 'passwordConfirm') e.value = info.password
|
|
if (e.key === 'passwordConfirm') e.value = info.password
|
|
else e.value = info[e.key]
|
|
else e.value = info[e.key]
|
|
})
|
|
})
|
|
|
|
+ isPrepareChange()
|
|
}
|
|
}
|
|
|
|
|
|
</script>
|
|
</script>
|
|
@@ -352,7 +352,8 @@ if (info && Object.keys(info).length && info.status === '2') {
|
|
margin-left: 32px;
|
|
margin-left: 32px;
|
|
}
|
|
}
|
|
.mobileBox {
|
|
.mobileBox {
|
|
- width: 100vw;
|
|
|
|
|
|
+ width: calc(100vw - 16px);
|
|
|
|
+ margin: 0 auto;
|
|
.resume-header {
|
|
.resume-header {
|
|
margin-bottom: 12px;
|
|
margin-bottom: 12px;
|
|
}
|
|
}
|