|
@@ -1,23 +1,15 @@
|
|
|
<template>
|
|
|
<div class="app-container">
|
|
|
- <div class="top-fixed">
|
|
|
- <div class="title-reg">
|
|
|
- <h3 class="title">注册信息</h3>
|
|
|
- <div class="top-img" @click="cancel">
|
|
|
- <img src='../../assets/images/cancel.png'>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
<div class="content">
|
|
|
- <el-form ref="registerForm" :model="registerForm" :rules="registerRules" label-width="200px">
|
|
|
+ <el-form ref="form" :model="form" :rules="registerRules" label-width="200px">
|
|
|
<template v-if="tokenVisile">
|
|
|
- <table class="table_register">
|
|
|
+ <table class="table_register media">
|
|
|
<tr>
|
|
|
- <th rowspan="6">企业信息</th>
|
|
|
+ <th rowspan="6" style="width: 10%;">企业信息</th>
|
|
|
<th><span style="color: red;">*</span>企业名称</th>
|
|
|
<td>
|
|
|
<el-form-item label-width="0" prop="entName">
|
|
|
- <el-input v-model="registerForm.entName" type="text" auto-complete="off" placeholder="请输入企业名称">
|
|
|
+ <el-input v-model="form.entName" type="text" auto-complete="off" placeholder="请输入企业名称">
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
</td>
|
|
@@ -25,7 +17,7 @@
|
|
|
<td>
|
|
|
<el-form-item label-width="0" prop="license">
|
|
|
<el-input type="text" @change="validLicense"
|
|
|
- v-model="registerForm.license"
|
|
|
+ v-model="form.license"
|
|
|
placeholder="请输入统一社会信用代码">
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
@@ -36,7 +28,7 @@
|
|
|
<td>
|
|
|
<el-form-item label-width="0" prop="regCapital">
|
|
|
<el-input type="text"
|
|
|
- v-model="registerForm.regCapital"
|
|
|
+ v-model="form.regCapital"
|
|
|
placeholder="请输入注册资金">
|
|
|
<template slot="append">万元</template>
|
|
|
</el-input>
|
|
@@ -45,7 +37,7 @@
|
|
|
<th><span style="color: red;">*</span>工商注册时间</th>
|
|
|
<td>
|
|
|
<el-form-item label-width="0" prop="regDate">
|
|
|
- <el-date-picker v-model="registerForm.regDate" type="date" placeholder="选择日期" value-format="yyyy-MM-dd"></el-date-picker>
|
|
|
+ <el-date-picker v-model="form.regDate" type="date" placeholder="选择日期" value-format="yyyy-MM-dd"></el-date-picker>
|
|
|
</el-form-item>
|
|
|
</td>
|
|
|
</tr>
|
|
@@ -53,7 +45,7 @@
|
|
|
<th><span style="color: red;">*</span>工商注册类型</th>
|
|
|
<td>
|
|
|
<el-form-item label-width="0" prop="regType">
|
|
|
- <el-select v-model="registerForm.regType" filterable>
|
|
|
+ <el-select v-model="form.regType" filterable>
|
|
|
<el-option v-for="item in regTypeOptions" :key="item.dictValue" :label="item.dictLabel" :value="item.dictValue"></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
@@ -61,7 +53,7 @@
|
|
|
<th><span style="color: red;">*</span>主营产品(服务)所属技术领域</th>
|
|
|
<td>
|
|
|
<el-form-item label-width="0" prop="mainProducts">
|
|
|
- <el-select v-model="registerForm.mainProducts" style="width: 220px;" filterable>
|
|
|
+ <el-select v-model="form.mainProducts" style="width: 220px;" filterable>
|
|
|
<el-option v-for="(item,index) in mainProductsOptions" :label="item.dictLabel" :key="index" :value="item.dictValue">{{item.dictLabel}}</el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
@@ -71,14 +63,14 @@
|
|
|
<th><span style="color: red;">*</span>通信地址</th>
|
|
|
<td>
|
|
|
<el-form-item label-width="0" prop="address">
|
|
|
- <el-input v-model="registerForm.address" type="text" auto-complete="off" placeholder="请输入通信地址">
|
|
|
+ <el-input v-model="form.address" type="text" auto-complete="off" placeholder="请输入通信地址">
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
</td>
|
|
|
<th><span style="color: red;">*</span>邮政编码</th>
|
|
|
<td>
|
|
|
<el-form-item label-width="0" prop="zipCode">
|
|
|
- <el-input v-model="registerForm.zipCode" type="text" auto-complete="off" placeholder="请输入邮政编码">
|
|
|
+ <el-input v-model="form.zipCode" type="text" auto-complete="off" placeholder="请输入邮政编码">
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
</td>
|
|
@@ -88,21 +80,21 @@
|
|
|
<td colspan="3">
|
|
|
<el-col :span="8">
|
|
|
<el-form-item label-width="0" prop="provinceId">
|
|
|
- <el-select v-model="registerForm.provinceId" placeholder="省" @change="getCityData" style="width: 220px;" filterable>
|
|
|
+ <el-select v-model="form.provinceId" placeholder="省" @change="getCityData" style="width: 220px;" filterable>
|
|
|
<el-option v-for="(item,index) in provinceDataList" :key="index" :label="item.name" :value="item.id"></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
|
<el-form-item prop="cityId" label-width="0px">
|
|
|
- <el-select v-model="registerForm.cityId" placeholder="市" @change="getDistrictData" style="width: 220px;" filterable>
|
|
|
+ <el-select v-model="form.cityId" placeholder="市" @change="getDistrictData" style="width: 220px;" filterable>
|
|
|
<el-option v-for="(item, index) in cityDataList" :key="index" :label="item.name" :value="item.id"></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
|
<el-form-item label-width="0px" prop="districtId">
|
|
|
- <el-select v-model="registerForm.districtId" placeholder="区" style="width: 220px;" filterable>
|
|
|
+ <el-select v-model="form.districtId" placeholder="区" style="width: 220px;" filterable>
|
|
|
<el-option v-for="(item, index) in districtDataList" :key="index" :label="item.name" :value="item.id"></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
@@ -113,7 +105,7 @@
|
|
|
<th><span style="color: red;">*</span>企业所得税主管税务机关</th>
|
|
|
<td colspan="3">
|
|
|
<el-form-item label-width="0" prop="taxOffice">
|
|
|
- <el-input v-model="registerForm.taxOffice" type="text" auto-complete="off" placeholder="请输入企业所得税主管税务机关" disabled>
|
|
|
+ <el-input v-model="form.taxOffice" type="text" auto-complete="off" placeholder="请输入企业所得税主管税务机关" disabled>
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
</td>
|
|
@@ -123,14 +115,14 @@
|
|
|
<th><span style="color: red;">*</span>姓名</th>
|
|
|
<td>
|
|
|
<el-form-item label-width="0" prop="legalName">
|
|
|
- <el-input v-model="registerForm.legalName" type="text" auto-complete="off" placeholder="请输入法人姓名">
|
|
|
+ <el-input v-model="form.legalName" type="text" auto-complete="off" placeholder="请输入法人姓名">
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
</td>
|
|
|
<th><span style="color: red;">*</span>身份证号码</th>
|
|
|
<td>
|
|
|
<el-form-item label-width="0" prop="legalIdCard">
|
|
|
- <el-input v-model="registerForm.legalIdCard" type="text" auto-complete="off" placeholder="请输入法人身份证号码">
|
|
|
+ <el-input v-model="form.legalIdCard" type="text" auto-complete="off" placeholder="请输入法人身份证号码">
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
</td>
|
|
@@ -139,14 +131,14 @@
|
|
|
<th><span style="color: red;">*</span>手机号码</th>
|
|
|
<td>
|
|
|
<el-form-item label-width="0" prop="legalMobile">
|
|
|
- <el-input v-model="registerForm.legalMobile" type="text" auto-complete="off" placeholder="手机号码">
|
|
|
+ <el-input v-model="form.legalMobile" type="text" auto-complete="off" placeholder="手机号码">
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
</td>
|
|
|
<th>固定电话</th>
|
|
|
<td>
|
|
|
<el-form-item label-width="0" prop="legalPhone">
|
|
|
- <el-input v-model="registerForm.legalPhone" type="text" auto-complete="off" placeholder="请输入固定电话">
|
|
|
+ <el-input v-model="form.legalPhone" type="text" auto-complete="off" placeholder="请输入固定电话">
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
</td>
|
|
@@ -155,14 +147,14 @@
|
|
|
<th>传真</th>
|
|
|
<td>
|
|
|
<el-form-item label-width="0" prop="legalFax">
|
|
|
- <el-input v-model="registerForm.legalFax" type="text" auto-complete="off" placeholder="请输入法人传真">
|
|
|
+ <el-input v-model="form.legalFax" type="text" auto-complete="off" placeholder="请输入法人传真">
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
</td>
|
|
|
<th>E-mail</th>
|
|
|
<td>
|
|
|
<el-form-item label-width="0" prop="legalEmail">
|
|
|
- <el-input v-model="registerForm.legalEmail" type="text" auto-complete="off" placeholder="请输入法人邮箱">
|
|
|
+ <el-input v-model="form.legalEmail" type="text" auto-complete="off" placeholder="请输入法人邮箱">
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
</td>
|
|
@@ -173,14 +165,14 @@
|
|
|
<th><span style="color: red;">*</span>姓名</th>
|
|
|
<td>
|
|
|
<el-form-item label-width="0" prop="linkName">
|
|
|
- <el-input v-model="registerForm.linkName" type="text" auto-complete="off" placeholder="请输入联系人姓名">
|
|
|
+ <el-input v-model="form.linkName" type="text" auto-complete="off" placeholder="请输入联系人姓名">
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
</td>
|
|
|
<th><span style="color: red;">*</span>身份证号码</th>
|
|
|
<td>
|
|
|
<el-form-item label-width="0" prop="linkIdCard">
|
|
|
- <el-input v-model="registerForm.linkIdCard" type="text" auto-complete="off" placeholder="请输入联系人身份证号码">
|
|
|
+ <el-input v-model="form.linkIdCard" type="text" auto-complete="off" placeholder="请输入联系人身份证号码">
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
</td>
|
|
@@ -189,14 +181,14 @@
|
|
|
<th><span style="color: red;">*</span>手机号码</th>
|
|
|
<td>
|
|
|
<el-form-item label-width="0" prop="linkMobile">
|
|
|
- <el-input v-model="registerForm.linkMobile" type="text" auto-complete="off" placeholder="请填入手机号码">
|
|
|
+ <el-input v-model="form.linkMobile" type="text" auto-complete="off" placeholder="请填入手机号码">
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
</td>
|
|
|
<th>固定电话</th>
|
|
|
<td>
|
|
|
<el-form-item label-width="0" prop="linkPhone">
|
|
|
- <el-input v-model="registerForm.linkPhone" type="text" auto-complete="off" placeholder="请输入联系人固定电话">
|
|
|
+ <el-input v-model="form.linkPhone" type="text" auto-complete="off" placeholder="请输入联系人固定电话">
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
</td>
|
|
@@ -205,14 +197,14 @@
|
|
|
<th>传真</th>
|
|
|
<td>
|
|
|
<el-form-item label-width="0" prop="linkFax">
|
|
|
- <el-input v-model="registerForm.linkFax" type="text" auto-complete="off" placeholder="请输入联系人传真">
|
|
|
+ <el-input v-model="form.linkFax" type="text" auto-complete="off" placeholder="请输入联系人传真">
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
</td>
|
|
|
<th>E-mail</th>
|
|
|
<td>
|
|
|
<el-form-item label-width="0" prop="linkEmail">
|
|
|
- <el-input v-model="registerForm.linkEmail" type="text" auto-complete="off" placeholder="请输入联系人邮箱">
|
|
|
+ <el-input v-model="form.linkEmail" type="text" auto-complete="off" placeholder="请输入联系人邮箱">
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
</td>
|
|
@@ -222,16 +214,16 @@
|
|
|
<th><span style="color: red;">*</span>企业是否上市</th>
|
|
|
<td>
|
|
|
<el-form-item label-width="0" prop="listedFlag">
|
|
|
- <el-radio-group v-model="registerForm.listedFlag">
|
|
|
+ <el-radio-group v-model="form.listedFlag">
|
|
|
<el-radio v-for="(item, index) in yesOrNoOptions" :key="index" :label="item.dictValue">{{item.dictLabel}}</el-radio>
|
|
|
</el-radio-group>
|
|
|
</el-form-item>
|
|
|
</td>
|
|
|
- <template v-if="registerForm.listedFlag == 1">
|
|
|
+ <template v-if="form.listedFlag == 1">
|
|
|
<th><span style="color: red;">*</span>企业上市代码</th>
|
|
|
<td>
|
|
|
<el-form-item label-width="0" prop="listingCode">
|
|
|
- <el-input v-model="registerForm.listingCode" type="text" auto-complete="off" placeholder="请输入企业上市代码">
|
|
|
+ <el-input v-model="form.listingCode" type="text" auto-complete="off" placeholder="请输入企业上市代码">
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
</td>
|
|
@@ -242,16 +234,16 @@
|
|
|
<th><span style="color: red;">*</span>是否引入风险投资</th>
|
|
|
<td>
|
|
|
<el-form-item label-width="0" prop="investFlag">
|
|
|
- <el-radio-group v-model="registerForm.investFlag">
|
|
|
+ <el-radio-group v-model="form.investFlag">
|
|
|
<el-radio v-for="(item, index) in yesOrNoOptions" :key="index" :label="item.dictValue">{{item.dictLabel}}</el-radio>
|
|
|
</el-radio-group>
|
|
|
</el-form-item>
|
|
|
</td>
|
|
|
- <template v-if="registerForm.investFlag == 1">
|
|
|
+ <template v-if="form.investFlag == 1">
|
|
|
<th><span style="color: red;">*</span>风险投资金额</th>
|
|
|
<td>
|
|
|
<el-form-item label-width="0" prop="investCapital">
|
|
|
- <el-input v-model="registerForm.investCapital" type="text" auto-complete="off" placeholder="请输入风险投资金额">
|
|
|
+ <el-input v-model="form.investCapital" type="text" auto-complete="off" placeholder="请输入风险投资金额">
|
|
|
<template slot="append">万元</template>
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
@@ -263,16 +255,16 @@
|
|
|
<th><span style="color: red;">*</span>是否为高新企业</th>
|
|
|
<td>
|
|
|
<el-form-item label-width="0" prop="techFlag">
|
|
|
- <el-radio-group v-model="registerForm.techFlag">
|
|
|
+ <el-radio-group v-model="form.techFlag">
|
|
|
<el-radio v-for="(item, index) in yesOrNoOptions" :key="index" :label="item.dictValue">{{item.dictLabel}}</el-radio>
|
|
|
</el-radio-group>
|
|
|
</el-form-item>
|
|
|
</td>
|
|
|
- <template v-if="registerForm.techFlag == 1">
|
|
|
+ <template v-if="form.techFlag == 1">
|
|
|
<th><span style="color: red;">*</span>高新企业编号</th>
|
|
|
<td>
|
|
|
<el-form-item label-width="0" prop="techCode">
|
|
|
- <el-input v-model="registerForm.techCode" type="text" auto-complete="off" placeholder="请输入高新企业编号">
|
|
|
+ <el-input v-model="form.techCode" type="text" auto-complete="off" placeholder="请输入高新企业编号">
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
</td>
|
|
@@ -283,7 +275,7 @@
|
|
|
<th><span style="color: red;">*</span>上年度是否做加计扣除</th>
|
|
|
<td>
|
|
|
<el-form-item label-width="0" prop="deductionFlag">
|
|
|
- <el-radio-group v-model="registerForm.deductionFlag">
|
|
|
+ <el-radio-group v-model="form.deductionFlag">
|
|
|
<el-radio v-for="(item, index) in yesOrNoOptions" :key="index" :label="item.dictValue">{{item.dictLabel}}</el-radio>
|
|
|
</el-radio-group>
|
|
|
</el-form-item>
|
|
@@ -294,8 +286,8 @@
|
|
|
<th><span style="color: red;">*</span>企业营业执照</th>
|
|
|
<td colspan="3">
|
|
|
<el-form-item label-width="3" prop="licensePath" ref="licenseUpload">
|
|
|
- <ImageUpload @input="handleLicenseSuccess" :params="params" :limit="limit" :value="registerForm.licensePath" :fileSize="fileSize"></ImageUpload>
|
|
|
- <!-- <FileUpload :file="{url: registerForm.licensePath, name: registerForm.fileName}" @input="handleSuccess">上传材料</FileUpload> -->
|
|
|
+ <ImageUpload @input="handleLicenseSuccess" :params="params" :limit="limit" :value="form.licensePath" :fileSize="fileSize"></ImageUpload>
|
|
|
+ <!-- <FileUpload :file="{url: form.licensePath, name: form.fileName}" @input="handleSuccess">上传材料</FileUpload> -->
|
|
|
</el-form-item>
|
|
|
</td>
|
|
|
</tr>
|
|
@@ -303,18 +295,7 @@
|
|
|
<th>其他附件</th>
|
|
|
<td colspan="3">
|
|
|
<el-form-item label-width="0" prop="attachIds">
|
|
|
- <FileUpload :files="registerForm.fileList" @input="handleSaleSuccess" :multiple="true" :params="params">上传材料</FileUpload>
|
|
|
- <el-table v-loading="loading" :data="list" border style="width: 100%;margin-top: 5px;" v-if="dataId">
|
|
|
- <el-table-column label="序号" type="index" width="50" align="center"></el-table-column>
|
|
|
- <el-table-column label="文件名称" prop="fileName" align="center"></el-table-column>
|
|
|
- <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-button type="text" @click="handleView(scope.row)">查看</el-button>
|
|
|
- <el-button type="text" @click="handleDelete(scope.row)">删除</el-button>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- </el-table>
|
|
|
- <!-- <FileUpload :files="registerForm.attachIds" @input="handleSaleSuccess" :multiple="true">上传材料</FileUpload> -->
|
|
|
+ <FileUpload :files="form.fileList" @input="handleSaleSuccess" :multiple="true" :params="params">上传材料</FileUpload>
|
|
|
</el-form-item>
|
|
|
</td>
|
|
|
</tr>
|
|
@@ -323,13 +304,347 @@
|
|
|
<th>文件水印</th>
|
|
|
<td colspan="3">
|
|
|
<el-form-item label-width="0" prop="logo" ref="logoUpload">
|
|
|
- <ImageUpload @input="handleLogoSuccess" :params="params" :limit="limit" :value="registerForm.logo" :fileSize="fileSize"></ImageUpload>
|
|
|
+ <ImageUpload @input="handleLogoSuccess" :params="params" :limit="limit" :value="form.logo" :fileSize="fileSize"></ImageUpload>
|
|
|
<!-- <ImageUpload @input="handleLogoSuccess"></ImageUpload> -->
|
|
|
</el-form-item>
|
|
|
</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
</template>
|
|
|
+ <template v-if="tokenVisile">
|
|
|
+ <table class="table_register media-short">
|
|
|
+ <tr>
|
|
|
+ <th rowspan="10" style="width: 10%;">企业信息</th>
|
|
|
+ <th><span style="color: red;">*</span>企业名称</th>
|
|
|
+ <td colspan="3">
|
|
|
+ <el-form-item label-width="0" prop="entName">
|
|
|
+ <el-input v-model="form.entName" type="text" auto-complete="off" placeholder="请输入企业名称" style="width: 220px;">
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <th><span style="color: red;">*</span>统一社会信用代码</th>
|
|
|
+ <td colspan="3">
|
|
|
+ <el-form-item label-width="0" prop="license">
|
|
|
+ <el-input type="text" @change="validLicense" style="width: 220px;"
|
|
|
+ v-model="form.license"
|
|
|
+ placeholder="请输入统一社会信用代码">
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <th><span style="color: red;">*</span>注册资金</th>
|
|
|
+ <td colspan="3">
|
|
|
+ <el-form-item label-width="0" prop="regCapital">
|
|
|
+ <el-input type="text" style="width: 220px;"
|
|
|
+ v-model="form.regCapital"
|
|
|
+ placeholder="请输入注册资金">
|
|
|
+ <template slot="append">万元</template>
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </td>
|
|
|
+
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <th><span style="color: red;">*</span>工商注册时间</th>
|
|
|
+ <td colspan="3">
|
|
|
+ <el-form-item label-width="0" prop="regDate">
|
|
|
+ <el-date-picker v-model="form.regDate" type="date" placeholder="选择日期" value-format="yyyy-MM-dd" style="width: 220px;"></el-date-picker>
|
|
|
+ </el-form-item>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <th><span style="color: red;">*</span>工商注册类型</th>
|
|
|
+ <td colspan="3">
|
|
|
+ <el-form-item label-width="0" prop="regType">
|
|
|
+ <el-select v-model="form.regType" filterable style="width: 220px;">
|
|
|
+ <el-option v-for="item in regTypeOptions" :key="item.dictValue" :label="item.dictLabel" :value="item.dictValue"></el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <th><span style="color: red;">*</span>主营产品(服务)所属技术领域</th>
|
|
|
+ <td colspan="3">
|
|
|
+ <el-form-item label-width="0" prop="mainProducts">
|
|
|
+ <el-select v-model="form.mainProducts" style="width: 220px;" filterable>
|
|
|
+ <el-option v-for="(item,index) in mainProductsOptions" :label="item.dictLabel" :key="index" :value="item.dictValue">{{item.dictLabel}}</el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <th><span style="color: red;">*</span>通信地址</th>
|
|
|
+ <td colspan="3">
|
|
|
+ <el-form-item label-width="0" prop="address">
|
|
|
+ <el-input v-model="form.address" type="text" auto-complete="off" placeholder="请输入通信地址" style="width: 220px;">
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </td>
|
|
|
+
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <th><span style="color: red;">*</span>邮政编码</th>
|
|
|
+ <td colspan="3">
|
|
|
+ <el-form-item label-width="0" prop="zipCode">
|
|
|
+ <el-input v-model="form.zipCode" type="text" auto-complete="off" placeholder="请输入邮政编码" style="width: 220px;">
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <th><span style="color: red;">*</span>企业所属行政区域</th>
|
|
|
+ <td colspan="3">
|
|
|
+ <el-col :span="24">
|
|
|
+ <el-form-item label-width="0" prop="provinceId">
|
|
|
+ <el-select v-model="form.provinceId" placeholder="省" @change="getCityData" style="width: 220px;" filterable>
|
|
|
+ <el-option v-for="(item,index) in provinceDataList" :key="index" :label="item.name" :value="item.id"></el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="24">
|
|
|
+ <el-form-item prop="cityId" label-width="0px">
|
|
|
+ <el-select v-model="form.cityId" placeholder="市" @change="getDistrictData" style="width: 220px;" filterable>
|
|
|
+ <el-option v-for="(item, index) in cityDataList" :key="index" :label="item.name" :value="item.id"></el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="24">
|
|
|
+ <el-form-item label-width="0px" prop="districtId">
|
|
|
+ <el-select v-model="form.districtId" placeholder="区" style="width: 220px;" filterable>
|
|
|
+ <el-option v-for="(item, index) in districtDataList" :key="index" :label="item.name" :value="item.id"></el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <th><span style="color: red;">*</span>企业所得税主管税务机关</th>
|
|
|
+ <td colspan="3">
|
|
|
+ <el-form-item label-width="0" prop="taxOffice">
|
|
|
+ <el-input v-model="form.taxOffice" type="text" auto-complete="off" placeholder="请输入企业所得税主管税务机关" disabled style="width: 220px;">
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <th rowspan="6">法人信息</th>
|
|
|
+ <th><span style="color: red;">*</span>姓名</th>
|
|
|
+ <td colspan="3">
|
|
|
+ <el-form-item label-width="0" prop="legalName">
|
|
|
+ <el-input v-model="form.legalName" type="text" auto-complete="off" placeholder="请输入法人姓名" style="width: 220px;">
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <th><span style="color: red;">*</span>身份证号码</th>
|
|
|
+ <td colspan="3">
|
|
|
+ <el-form-item label-width="0" prop="legalIdCard">
|
|
|
+ <el-input v-model="form.legalIdCard" type="text" auto-complete="off" placeholder="请输入法人身份证号码" style="width: 220px;">
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <th><span style="color: red;">*</span>手机号码</th>
|
|
|
+ <td colspan="3">
|
|
|
+ <el-form-item label-width="0" prop="legalMobile">
|
|
|
+ <el-input v-model="form.legalMobile" type="text" auto-complete="off" placeholder="手机号码" style="width: 220px;">
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <th>传真</th>
|
|
|
+ <td colspan="3">
|
|
|
+ <el-form-item label-width="0" prop="legalFax">
|
|
|
+ <el-input v-model="form.legalFax" type="text" auto-complete="off" placeholder="请输入法人传真" style="width: 220px;">
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <th>固定电话</th>
|
|
|
+ <td colspan="3">
|
|
|
+ <el-form-item label-width="0" prop="legalPhone">
|
|
|
+ <el-input v-model="form.legalPhone" type="text" auto-complete="off" placeholder="请输入固定电话" style="width: 220px;">
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <th>E-mail</th>
|
|
|
+ <td colspan="3">
|
|
|
+ <el-form-item label-width="0" prop="legalEmail">
|
|
|
+ <el-input v-model="form.legalEmail" type="text" auto-complete="off" placeholder="请输入法人邮箱" style="width: 220px;">
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <th rowspan="6">联系人信息</th>
|
|
|
+ <th><span style="color: red;">*</span>姓名</th>
|
|
|
+ <td colspan="3">
|
|
|
+ <el-form-item label-width="0" prop="linkName">
|
|
|
+ <el-input v-model="form.linkName" type="text" auto-complete="off" placeholder="请输入联系人姓名" style="width: 220px;">
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <th><span style="color: red;">*</span>身份证号码</th>
|
|
|
+ <td colspan="3">
|
|
|
+ <el-form-item label-width="0" prop="linkIdCard">
|
|
|
+ <el-input v-model="form.linkIdCard" type="text" auto-complete="off" placeholder="请输入联系人身份证号码" style="width: 220px;">
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <th>固定电话</th>
|
|
|
+ <td colspan="3">
|
|
|
+ <el-form-item label-width="0" prop="linkPhone">
|
|
|
+ <el-input v-model="form.linkPhone" type="text" auto-complete="off" placeholder="请输入联系人固定电话" style="width: 220px;">
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <th><span style="color: red;">*</span>手机号码</th>
|
|
|
+ <td colspan="3">
|
|
|
+ <el-form-item label-width="0" prop="linkMobile">
|
|
|
+ <el-input v-model="form.linkMobile" type="text" auto-complete="off" placeholder="请填入手机号码" style="width: 220px;">
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <th>E-mail</th>
|
|
|
+ <td colspan="3">
|
|
|
+ <el-form-item label-width="0" prop="linkEmail">
|
|
|
+ <el-input v-model="form.linkEmail" type="text" auto-complete="off" placeholder="请输入联系人邮箱" style="width: 220px;">
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <th>传真</th>
|
|
|
+ <td colspan="3">
|
|
|
+ <el-form-item label-width="0" prop="linkFax">
|
|
|
+ <el-input v-model="form.linkFax" type="text" auto-complete="off" placeholder="请输入联系人传真" style="width: 220px;">
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <th :rowspan="form.listedFlag == 1 ? '2' : '1'">企业上市信息</th>
|
|
|
+ <th><span style="color: red;">*</span>企业是否上市</th>
|
|
|
+ <td colspan="3">
|
|
|
+ <el-form-item label-width="0" prop="listedFlag">
|
|
|
+ <el-radio-group v-model="form.listedFlag" style="width: 220px;">
|
|
|
+ <el-radio v-for="(item, index) in yesOrNoOptions" :key="index" :label="item.dictValue">{{item.dictLabel}}</el-radio>
|
|
|
+ </el-radio-group>
|
|
|
+ </el-form-item>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <template v-if="form.listedFlag == 1">
|
|
|
+ <th><span style="color: red;">*</span>企业上市代码</th>
|
|
|
+ <td colspan="3">
|
|
|
+ <el-form-item label-width="0" prop="listingCode">
|
|
|
+ <el-input v-model="form.listingCode" type="text" auto-complete="off" placeholder="请输入企业上市代码" style="width: 220px;">
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </td>
|
|
|
+ </template>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <th :rowspan="form.investFlag == 1 ? '2' : '1'">风险投资信息</th>
|
|
|
+ <th><span style="color: red;">*</span>是否引入风险投资</th>
|
|
|
+ <td colspan="3">
|
|
|
+ <el-form-item label-width="0" prop="investFlag">
|
|
|
+ <el-radio-group v-model="form.investFlag" style="width: 220px;">
|
|
|
+ <el-radio v-for="(item, index) in yesOrNoOptions" :key="index" :label="item.dictValue">{{item.dictLabel}}</el-radio>
|
|
|
+ </el-radio-group>
|
|
|
+ </el-form-item>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr v-if="form.investFlag == 1">
|
|
|
+ <!-- <template v-if="form.investFlag == 1"> -->
|
|
|
+ <th><span style="color: red;">*</span>风险投资金额</th>
|
|
|
+ <td colspan="3">
|
|
|
+ <el-form-item label-width="0" prop="investCapital">
|
|
|
+ <el-input v-model="form.investCapital" type="text" auto-complete="off" placeholder="请输入风险投资金额" style="width: 220px;">
|
|
|
+ <template slot="append">万元</template>
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </td>
|
|
|
+ <!-- </template> -->
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <th :rowspan="form.techFlag == 1 ? '2' : '1'">高新企业</th>
|
|
|
+ <th><span style="color: red;">*</span>是否为高新企业</th>
|
|
|
+ <td colspan="3">
|
|
|
+ <el-form-item label-width="0" prop="techFlag">
|
|
|
+ <el-radio-group v-model="form.techFlag" style="width: 220px;">
|
|
|
+ <el-radio v-for="(item, index) in yesOrNoOptions" :key="index" :label="item.dictValue">{{item.dictLabel}}</el-radio>
|
|
|
+ </el-radio-group>
|
|
|
+ </el-form-item>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <template v-if="form.techFlag == 1">
|
|
|
+ <th><span style="color: red;">*</span>高新企业编号</th>
|
|
|
+ <td colspan="3">
|
|
|
+ <el-form-item label-width="0" prop="techCode">
|
|
|
+ <el-input v-model="form.techCode" type="text" auto-complete="off" placeholder="请输入高新企业编号" style="width: 220px;">
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </td>
|
|
|
+ </template>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <th>上年度是否做加计扣除</th>
|
|
|
+ <th><span style="color: red;">*</span>上年度是否做加计扣除</th>
|
|
|
+ <td colspan="3">
|
|
|
+ <el-form-item label-width="0" prop="deductionFlag">
|
|
|
+ <el-radio-group v-model="form.deductionFlag" style="width: 220px;">
|
|
|
+ <el-radio v-for="(item, index) in yesOrNoOptions" :key="index" :label="item.dictValue">{{item.dictLabel}}</el-radio>
|
|
|
+ </el-radio-group>
|
|
|
+ </el-form-item>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <th rowspan="2">附件</th>
|
|
|
+ <th><span style="color: red;">*</span>企业营业执照</th>
|
|
|
+ <td colspan="3">
|
|
|
+ <el-form-item label-width="3" prop="licensePath" ref="licenseUpload">
|
|
|
+ <ImageUpload @input="handleLicenseSuccess" :params="params" :limit="limit" :value="form.licensePath" :fileSize="fileSize"></ImageUpload>
|
|
|
+ </el-form-item>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <th>其他附件</th>
|
|
|
+ <td colspan="3">
|
|
|
+ <el-form-item label-width="0" prop="attachIds">
|
|
|
+ <FileUpload :files="form.fileList" @input="handleSaleSuccess" :multiple="true" :params="params">上传材料</FileUpload>
|
|
|
+ </el-form-item>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <th>文件水印</th>
|
|
|
+ <th>文件水印</th>
|
|
|
+ <td colspan="3">
|
|
|
+ <el-form-item label-width="0" prop="logo" ref="logoUpload">
|
|
|
+ <ImageUpload @input="handleLogoSuccess" :params="params" :limit="limit" :value="form.logo" :fileSize="fileSize"></ImageUpload>
|
|
|
+ </el-form-item>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+ </template>
|
|
|
<el-row :gutter="40" style="margin-top: 20px;">
|
|
|
<el-col :span="24">
|
|
|
<el-form-item style="width:100%;text-align: center;" label-width="0px">
|
|
@@ -390,7 +705,6 @@ export default {
|
|
|
},
|
|
|
dialogVisible: false,
|
|
|
dialogImageUrl: "",
|
|
|
- activeNames: ['1','2','3','4','5','6','7','8','9','10', '11'],
|
|
|
provinceName: '',
|
|
|
attachType: 'ENT',
|
|
|
dataId: '',
|
|
@@ -405,7 +719,7 @@ export default {
|
|
|
provinceDataList: [],
|
|
|
cityDataList: [],
|
|
|
districtDataList: [],
|
|
|
- registerForm: {
|
|
|
+ form: {
|
|
|
startDate: '',
|
|
|
endDate: '',
|
|
|
attachIds: [],
|
|
@@ -568,23 +882,23 @@ export default {
|
|
|
this.loading = true
|
|
|
getEntUserById(this.token).then(res => {
|
|
|
this.loading = false
|
|
|
- this.registerForm = res.data || {}
|
|
|
+ this.form = res.data || {}
|
|
|
this.dataId = res.data.id || {}
|
|
|
if(this.dataId) {
|
|
|
this.getEnclosureData()
|
|
|
}
|
|
|
- // let mainProductArray = this.registerForm.mainProducts.split(',') || ['电子信息'];
|
|
|
- // this.$set(this.registerForm, 'mainProductArray', mainProductArray);
|
|
|
- this.registerForm.provinceId = res.data.provinceId
|
|
|
- if(this.registerForm.provinceId) {
|
|
|
- getRegionChildrenApi(this.registerForm.provinceId).then(res => {
|
|
|
+ // let mainProductArray = this.form.mainProducts.split(',') || ['电子信息'];
|
|
|
+ // this.$set(this.form, 'mainProductArray', mainProductArray);
|
|
|
+ this.form.provinceId = res.data.provinceId
|
|
|
+ if(this.form.provinceId) {
|
|
|
+ getRegionChildrenApi(this.form.provinceId).then(res => {
|
|
|
if(res.code == 200) {
|
|
|
this.cityDataList = res.data
|
|
|
}
|
|
|
})
|
|
|
}
|
|
|
- if(this.registerForm.cityId) {
|
|
|
- getRegionChildrenApi(this.registerForm.cityId).then(res => {
|
|
|
+ if(this.form.cityId) {
|
|
|
+ getRegionChildrenApi(this.form.cityId).then(res => {
|
|
|
if(res.code == 200) {
|
|
|
this.districtDataList = res.data
|
|
|
}
|
|
@@ -593,26 +907,26 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
handleSuccess(file) {
|
|
|
- this.registerForm.licensePath = file.url;
|
|
|
- this.registerForm.fileName = file.name;
|
|
|
+ this.form.licensePath = file.url;
|
|
|
+ this.form.fileName = file.name;
|
|
|
},
|
|
|
// handleSaleSuccess(files) {
|
|
|
// files.forEach(item => {
|
|
|
- // this.registerForm.attachIds.push(item.response.data.id)
|
|
|
+ // this.form.attachIds.push(item.response.data.id)
|
|
|
// });
|
|
|
// },
|
|
|
handleSaleSuccess(files) {
|
|
|
- this.registerForm.fileList = files
|
|
|
- this.registerForm.attachIds = []
|
|
|
+ this.form.fileList = files
|
|
|
+ this.form.attachIds = []
|
|
|
files.forEach(item => {
|
|
|
- this.registerForm.attachIds.push(item.response.data.id)
|
|
|
+ this.form.attachIds.push(item.response.data.id)
|
|
|
});
|
|
|
},
|
|
|
handleLogoSuccess(file) {
|
|
|
- this.registerForm.logo = file
|
|
|
+ this.form.logo = file
|
|
|
},
|
|
|
handleLicenseSuccess(file) {
|
|
|
- this.registerForm.licensePath = file
|
|
|
+ this.form.licensePath = file
|
|
|
this.$refs.licenseUpload.clearValidate()
|
|
|
},
|
|
|
handleView(row) {
|
|
@@ -644,52 +958,52 @@ export default {
|
|
|
},
|
|
|
//选择省份
|
|
|
getCityData() {
|
|
|
- this.registerForm.cityId = ''
|
|
|
- this.registerForm.districtId = ''
|
|
|
- getRegionChildrenApi(this.registerForm.provinceId).then(res => {
|
|
|
+ this.form.cityId = ''
|
|
|
+ this.form.districtId = ''
|
|
|
+ getRegionChildrenApi(this.form.provinceId).then(res => {
|
|
|
if(res.code == 200) {
|
|
|
this.cityDataList = res.data
|
|
|
|
|
|
let obj = this.provinceDataList.find(item => {
|
|
|
- return item.id == this.registerForm.provinceId
|
|
|
+ return item.id == this.form.provinceId
|
|
|
})
|
|
|
this.provinceName = obj.name
|
|
|
- this.registerForm.taxOffice = '国家税务总局'+this.provinceName+'税务局'
|
|
|
+ this.form.taxOffice = '国家税务总局'+this.provinceName+'税务局'
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
//选择市
|
|
|
getDistrictData() {
|
|
|
- this.registerForm.districtId = ''
|
|
|
- getRegionChildrenApi(this.registerForm.cityId).then(res => {
|
|
|
+ this.form.districtId = ''
|
|
|
+ getRegionChildrenApi(this.form.cityId).then(res => {
|
|
|
if(res.code == 200) {
|
|
|
this.districtDataList = res.data
|
|
|
|
|
|
let obj = this.cityDataList.find(item => {
|
|
|
- return item.id == this.registerForm.cityId
|
|
|
+ return item.id == this.form.cityId
|
|
|
})
|
|
|
this.cityName = obj.name
|
|
|
- this.registerForm.taxOffice = '国家税务总局'+this.cityName+'税务局'
|
|
|
+ this.form.taxOffice = '国家税务总局'+this.cityName+'税务局'
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
changeDistrict() {
|
|
|
let obj = this.districtDataList.find(item => {
|
|
|
- return item.id == this.registerForm.districtId
|
|
|
+ return item.id == this.form.districtId
|
|
|
})
|
|
|
this.districtName = obj.name
|
|
|
- this.registerForm.taxOffice = '国家税务总局'+this.districtName+'税务局'
|
|
|
+ this.form.taxOffice = '国家税务总局'+this.districtName+'税务局'
|
|
|
},
|
|
|
getProvinceData() {
|
|
|
getProvinceDataApi().then(res => {
|
|
|
if(res.code == 200) {
|
|
|
this.provinceDataList = res.data
|
|
|
- this.registerForm.provinceId = '1481196860266852481'
|
|
|
- getRegionChildrenApi(this.registerForm.provinceId).then(res => {
|
|
|
+ this.form.provinceId = '1481196860266852481'
|
|
|
+ getRegionChildrenApi(this.form.provinceId).then(res => {
|
|
|
if(res.code == 200) {
|
|
|
this.cityDataList = res.data
|
|
|
- this.registerForm.cityId = '1481196860266852482'
|
|
|
- getRegionChildrenApi(this.registerForm.cityId).then(res => {
|
|
|
+ this.form.cityId = '1481196860266852482'
|
|
|
+ getRegionChildrenApi(this.form.cityId).then(res => {
|
|
|
if(res.code == 200) {
|
|
|
this.districtDataList = res.data
|
|
|
}
|
|
@@ -698,14 +1012,14 @@ export default {
|
|
|
})
|
|
|
}
|
|
|
})
|
|
|
- this.registerForm.taxOffice = '国家税务总局长沙市税务局'
|
|
|
+ this.form.taxOffice = '国家税务总局长沙市税务局'
|
|
|
},
|
|
|
getCode() {
|
|
|
getCodeImg().then(res => {
|
|
|
this.captchaOnOff = res.captchaOnOff === undefined ? true : res.captchaOnOff;
|
|
|
if (this.captchaOnOff) {
|
|
|
this.codeUrl = "data:image/gif;base64," + res.img;
|
|
|
- this.registerForm.uuid = res.uuid;
|
|
|
+ this.form.uuid = res.uuid;
|
|
|
}
|
|
|
});
|
|
|
},
|
|
@@ -713,20 +1027,17 @@ export default {
|
|
|
this.$router.go(-1);
|
|
|
},
|
|
|
handleRegister() {
|
|
|
- // this.registerForm.mainProducts = this.registerForm.mainProductArray.join(',')
|
|
|
- validLicenseApi(this.registerForm.license).then(res => {
|
|
|
- // true存在
|
|
|
+ validLicenseApi(this.form.license).then(res => {
|
|
|
if(res.data) {
|
|
|
this.$message.error('统一社会信用代码已经存在,不可以重复注册');
|
|
|
return
|
|
|
}
|
|
|
})
|
|
|
-
|
|
|
- this.$refs.registerForm.validate((valid,obj) => {
|
|
|
+ this.$refs.form.validate((valid,obj) => {
|
|
|
if (valid) {
|
|
|
this.loading = true;
|
|
|
if(this.token) {
|
|
|
- entUserAudit(this.token, this.registerForm).then(res => {
|
|
|
+ entUserAudit(this.token, this.form).then(res => {
|
|
|
this.$alert("注册信息修改成功", '系统提示', {
|
|
|
dangerouslyUseHTMLString: true,
|
|
|
type: 'success'
|
|
@@ -739,9 +1050,9 @@ export default {
|
|
|
this.loading = false;
|
|
|
})
|
|
|
}else {
|
|
|
- registerEntApi(this.registerForm).then(res => {
|
|
|
- const userName = this.registerForm.userName;
|
|
|
- this.$alert("<font color='red'>恭喜你,您的账号 " + userName + " 注册成功!</font>", '系统提示', {
|
|
|
+ registerEntApi(this.form).then(res => {
|
|
|
+ const userName = this.form.userName;
|
|
|
+ this.$alert("<font color='red'>您已注册成功,账户为统一信用代码,密码为默认123456。请等待审核通过后登录平台进行操作。</font>", '系统提示', {
|
|
|
dangerouslyUseHTMLString: true,
|
|
|
type: 'success'
|
|
|
}).then(() => {
|
|
@@ -768,44 +1079,30 @@ export default {
|
|
|
};
|
|
|
</script>
|
|
|
|
|
|
-<style rel="stylesheet/scss" lang="scss" scoped>
|
|
|
-
|
|
|
- .title-reg {
|
|
|
- position: fixed;
|
|
|
- z-index: 999;
|
|
|
- top: 0;
|
|
|
- right: 0;
|
|
|
- left: 0;
|
|
|
- width: 100%;
|
|
|
- height: 45px;
|
|
|
- line-height: 45px;
|
|
|
- padding: 20px;
|
|
|
- background-color: #1890ff;
|
|
|
- img {
|
|
|
- left: 0;
|
|
|
- }
|
|
|
+<style lang="scss" scoped>
|
|
|
+ .register {
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+ height: 900px;
|
|
|
+ overflow-y: auto;
|
|
|
+ scroll-behavior: auto;
|
|
|
+ background-image: url("../../assets/images/login-background.jpg");
|
|
|
+ background-size: cover;
|
|
|
+ }
|
|
|
+ .title {
|
|
|
+ margin: 0px auto 30px auto;
|
|
|
+ text-align: center;
|
|
|
+ color: #FFFFFF;
|
|
|
}
|
|
|
- .top-fixed {
|
|
|
- width: 100%;
|
|
|
- height: 45px;
|
|
|
+ @media ( max-width : 850px) {
|
|
|
+ .media {
|
|
|
+ display: none !important;
|
|
|
+ }
|
|
|
}
|
|
|
- .top-img {
|
|
|
- float: right;
|
|
|
- margin-top: -64px;
|
|
|
+ @media ( min-width: 850px ) {
|
|
|
+ .media-short {
|
|
|
+ display: none !important;
|
|
|
+ }
|
|
|
}
|
|
|
-.register {
|
|
|
- display: flex;
|
|
|
- justify-content: center;
|
|
|
- align-items: center;
|
|
|
- height: 900px;
|
|
|
- overflow-y: auto;
|
|
|
- scroll-behavior: auto;
|
|
|
- background-image: url("../../assets/images/login-background.jpg");
|
|
|
- background-size: cover;
|
|
|
-}
|
|
|
-.title {
|
|
|
- margin: 0px auto 30px auto;
|
|
|
- text-align: center;
|
|
|
- color: #FFFFFF;
|
|
|
-}
|
|
|
</style>
|