|
@@ -430,7 +430,7 @@
|
|
|
<el-cascader style="width: 100%;" :props="{ value: 'label',label: 'label',children: 'children'}"
|
|
<el-cascader style="width: 100%;" :props="{ value: 'label',label: 'label',children: 'children'}"
|
|
|
v-model="form.companyAddress1" :options="citysList" placeholder="请选择省市区" />
|
|
v-model="form.companyAddress1" :options="citysList" placeholder="请选择省市区" />
|
|
|
</el-form-item> -->
|
|
</el-form-item> -->
|
|
|
- <el-form-item prop="companyAddress" :rules="[{required: true,message: '请输入详细地址',trigger: 'blur',},]"
|
|
|
|
|
|
|
+ <!-- <el-form-item prop="companyAddress" :rules="[{required: true,message: '请输入详细地址',trigger: 'blur',},]"
|
|
|
class="row45" label="详细地址">
|
|
class="row45" label="详细地址">
|
|
|
<el-autocomplete style="width: 100%;" @input="workInput" v-model="form.companyAddress"
|
|
<el-autocomplete style="width: 100%;" @input="workInput" v-model="form.companyAddress"
|
|
|
:fetch-suggestions="querySearchAsync" placeholder="请输入工作地址" @select="handleSelect" />
|
|
:fetch-suggestions="querySearchAsync" placeholder="请输入工作地址" @select="handleSelect" />
|
|
@@ -464,7 +464,7 @@
|
|
|
<el-form-item prop="companyDetails" :rules="[{required: true,message: '请输入公司介绍',trigger: 'blur',},]"
|
|
<el-form-item prop="companyDetails" :rules="[{required: true,message: '请输入公司介绍',trigger: 'blur',},]"
|
|
|
class="row45" label="公司介绍">
|
|
class="row45" label="公司介绍">
|
|
|
<el-input v-model="form.companyDetails" :rows="4" type="textarea" placeholder="请输入公司介绍" />
|
|
<el-input v-model="form.companyDetails" :rows="4" type="textarea" placeholder="请输入公司介绍" />
|
|
|
- </el-form-item>
|
|
|
|
|
|
|
+ </el-form-item> -->
|
|
|
<el-form-item prop="companyCertification"
|
|
<el-form-item prop="companyCertification"
|
|
|
:rules="[{required: true,message: '请上传营业执照照片',trigger: 'blur',},]" class="row45" label="营业执照">
|
|
:rules="[{required: true,message: '请上传营业执照照片',trigger: 'blur',},]" class="row45" label="营业执照">
|
|
|
<el-upload class="avatar-uploader flex align-center justify-center" :action="action"
|
|
<el-upload class="avatar-uploader flex align-center justify-center" :action="action"
|
|
@@ -476,7 +476,7 @@
|
|
|
</el-icon>
|
|
</el-icon>
|
|
|
</el-upload>
|
|
</el-upload>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
- <el-form-item prop="companyLogo" :rules="[{required: true,message: '请上传企业头像照片',trigger: 'blur',},]"
|
|
|
|
|
|
|
+ <!-- <el-form-item prop="companyLogo" :rules="[{required: true,message: '请上传企业头像照片',trigger: 'blur',},]"
|
|
|
class="row45" label="企业头像">
|
|
class="row45" label="企业头像">
|
|
|
<el-upload class="avatar-uploader flex align-center justify-center" :action="action"
|
|
<el-upload class="avatar-uploader flex align-center justify-center" :action="action"
|
|
|
:show-file-list="false" :on-success="handleAvatarSuccessL">
|
|
:show-file-list="false" :on-success="handleAvatarSuccessL">
|
|
@@ -486,7 +486,7 @@
|
|
|
<Plus />
|
|
<Plus />
|
|
|
</el-icon>
|
|
</el-icon>
|
|
|
</el-upload>
|
|
</el-upload>
|
|
|
- </el-form-item>
|
|
|
|
|
|
|
+ </el-form-item> -->
|
|
|
|
|
|
|
|
<div style="width: 100%;margin-top: 20px;" class="flex align-center justify-center">
|
|
<div style="width: 100%;margin-top: 20px;" class="flex align-center justify-center">
|
|
|
<el-button @click="dialogCompay = false" style="width: 100px;" type="Info">取消</el-button>
|
|
<el-button @click="dialogCompay = false" style="width: 100px;" type="Info">取消</el-button>
|
|
@@ -1016,7 +1016,8 @@
|
|
|
console.log(form)
|
|
console.log(form)
|
|
|
const data = {
|
|
const data = {
|
|
|
companyAllName: form.companyName,
|
|
companyAllName: form.companyName,
|
|
|
- companyPeople: form.companyPeople
|
|
|
|
|
|
|
+ companyPeople: form.companyPeople,
|
|
|
|
|
+ companyCertification: form.companyCertification
|
|
|
};
|
|
};
|
|
|
this.loadingCompany = true
|
|
this.loadingCompany = true
|
|
|
this.$Request.post("/app/company/insertCompany", data,{type:'json'}).then(res=>{
|
|
this.$Request.post("/app/company/insertCompany", data,{type:'json'}).then(res=>{
|
|
@@ -1207,7 +1208,7 @@
|
|
|
this.CompanyList = res.data
|
|
this.CompanyList = res.data
|
|
|
if (this.CompanyList.status == 1) {
|
|
if (this.CompanyList.status == 1) {
|
|
|
ElMessageBox.confirm(
|
|
ElMessageBox.confirm(
|
|
|
- '您提交的企业认证正在审核,请下载app去查看',
|
|
|
|
|
|
|
+ '您提交的企业认证正在审核,请审核通过后操作!',
|
|
|
'温馨提示', {
|
|
'温馨提示', {
|
|
|
confirmButtonText: '确定',
|
|
confirmButtonText: '确定',
|
|
|
cancelButtonText: '取消',
|
|
cancelButtonText: '取消',
|
|
@@ -1244,26 +1245,26 @@
|
|
|
})
|
|
})
|
|
|
} else if (this.CompanyList.status == 3) {
|
|
} else if (this.CompanyList.status == 3) {
|
|
|
ElMessageBox.confirm(
|
|
ElMessageBox.confirm(
|
|
|
- '您提交的企业认证已被拒绝,请下载app去查看',
|
|
|
|
|
|
|
+ '您提交的企业认证已被拒绝,请重新认证!',
|
|
|
'温馨提示', {
|
|
'温馨提示', {
|
|
|
confirmButtonText: '确定',
|
|
confirmButtonText: '确定',
|
|
|
cancelButtonText: '取消',
|
|
cancelButtonText: '取消',
|
|
|
type: 'warning',
|
|
type: 'warning',
|
|
|
}
|
|
}
|
|
|
).then(() => {
|
|
).then(() => {
|
|
|
- return;
|
|
|
|
|
- this.form = res.data
|
|
|
|
|
- this.form.companyRegisteredFund = Number(this.form.companyRegisteredFund)
|
|
|
|
|
- let address = this.form.companyAddress
|
|
|
|
|
- let reg = /.+?(省|市|自治区|自治州|县|区)/g
|
|
|
|
|
- let cityarr = address.match(reg)
|
|
|
|
|
- if (cityarr.length >= 3) {
|
|
|
|
|
- this.form.companyAddress1 = [cityarr[0], cityarr[1], cityarr[2]]
|
|
|
|
|
- } else {
|
|
|
|
|
- this.form.companyAddress1 = cityarr[0] + '' + cityarr[1]
|
|
|
|
|
- }
|
|
|
|
|
- this.form.companyAddress = this.form.companyAddress.replace(this.form
|
|
|
|
|
- .companyAddress1, '')
|
|
|
|
|
|
|
+ this.form = res.data;
|
|
|
|
|
+ this.form.companyLegalPerson = this.form.companyPeople;//公司规模
|
|
|
|
|
+ // this.form.companyRegisteredFund = Number(this.form.companyRegisteredFund)
|
|
|
|
|
+ // let address = this.form.companyAddress
|
|
|
|
|
+ // let reg = /.+?(省|市|自治区|自治州|县|区)/g
|
|
|
|
|
+ // let cityarr = address.match(reg)
|
|
|
|
|
+ // if (cityarr.length >= 3) {
|
|
|
|
|
+ // this.form.companyAddress1 = [cityarr[0], cityarr[1], cityarr[2]]
|
|
|
|
|
+ // } else {
|
|
|
|
|
+ // this.form.companyAddress1 = cityarr[0] + '' + cityarr[1]
|
|
|
|
|
+ // }
|
|
|
|
|
+ // this.form.companyAddress = this.form.companyAddress.replace(this.form
|
|
|
|
|
+ // .companyAddress1, '')
|
|
|
this.getComList()
|
|
this.getComList()
|
|
|
this.dialogCompay = true
|
|
this.dialogCompay = true
|
|
|
}).catch(() => {
|
|
}).catch(() => {
|