Kaynağa Gözat

添加企业认证

wkw 7 ay önce
ebeveyn
işleme
d813061218
1 değiştirilmiş dosya ile 21 ekleme ve 20 silme
  1. 21 20
      src/components/header/header.vue

+ 21 - 20
src/components/header/header.vue

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