|
|
|
@ -1,68 +1,78 @@
|
|
|
|
|
<template>
|
|
|
|
|
<!-- 本企业资质页面 -->
|
|
|
|
|
<div>
|
|
|
|
|
<div slot="header" style="font-weight: bold">
|
|
|
|
|
<div slot="header" style="font-weight: bold;margin-top: 35px">
|
|
|
|
|
<div style="text-align: center">
|
|
|
|
|
<img
|
|
|
|
|
alt="element-logo"
|
|
|
|
|
style="width: 10%"
|
|
|
|
|
style="width: 8%"
|
|
|
|
|
src="../assets/logo/logo.png"
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
|
|
|
|
<h3 style="text-align: center;font-size: larger ;color:#707070 ">协调平台注册</h3>
|
|
|
|
|
<h3 style="text-align: center;font-size: larger ;color:#707070 ">UDI协调平台企业信息登记</h3>
|
|
|
|
|
</div>
|
|
|
|
|
<el-form
|
|
|
|
|
:model="inputQuery"
|
|
|
|
|
:rules="rules"
|
|
|
|
|
style="margin-top: 35px"
|
|
|
|
|
ref="inputQuery"
|
|
|
|
|
label-width="500px"
|
|
|
|
|
label-width="150px"
|
|
|
|
|
>
|
|
|
|
|
<el-card class="el-card">
|
|
|
|
|
<div>
|
|
|
|
|
<span>
|
|
|
|
|
企业信息:
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div style=" margin-left: 40%">
|
|
|
|
|
<span>
|
|
|
|
|
本企业信息审核状态:
|
|
|
|
|
<el-tag :type="inputQuery.ucstatus | statusFilterType" >
|
|
|
|
|
{{checkSupFlag[inputQuery.ucstatus] }}
|
|
|
|
|
</el-tag>
|
|
|
|
|
</span>
|
|
|
|
|
<div slot="header" class="clearfix">
|
|
|
|
|
<span>企业信息:</span>
|
|
|
|
|
<div>
|
|
|
|
|
<div style="float: right;margin-top: -20px ">
|
|
|
|
|
<el-button
|
|
|
|
|
type="primary"
|
|
|
|
|
size="mini"
|
|
|
|
|
icon="search"
|
|
|
|
|
@click="onModifySubmit()"
|
|
|
|
|
:disabled="inputQuery.ucstatus == 1 || inputQuery.ucstatus ==3"
|
|
|
|
|
>草稿保存
|
|
|
|
|
</el-button>
|
|
|
|
|
|
|
|
|
|
<el-button
|
|
|
|
|
type="primary"
|
|
|
|
|
size="mini"
|
|
|
|
|
icon="search"
|
|
|
|
|
@click="onModifySubmit('key')"
|
|
|
|
|
:disabled="inputQuery.ucstatus == 1 || inputQuery.ucstatus ==3"
|
|
|
|
|
>提交审核
|
|
|
|
|
</el-button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<el-row
|
|
|
|
|
:gutter="20"
|
|
|
|
|
class="el-row"
|
|
|
|
|
|
|
|
|
|
type="flex"
|
|
|
|
|
>
|
|
|
|
|
<el-col :span="20" class="el-col">
|
|
|
|
|
|
|
|
|
|
<div style="float: right; margin-top: -20px">
|
|
|
|
|
<el-button
|
|
|
|
|
type="primary"
|
|
|
|
|
size="mini"
|
|
|
|
|
icon="search"
|
|
|
|
|
@click="onModifySubmit()"
|
|
|
|
|
:disabled ="inputQuery.ucstatus == 1 || inputQuery.ucstatus ==3"
|
|
|
|
|
>草稿保存
|
|
|
|
|
</el-button>
|
|
|
|
|
<el-form-item
|
|
|
|
|
label="本企业信息审核状态:"
|
|
|
|
|
prop="reason"
|
|
|
|
|
>
|
|
|
|
|
<span>
|
|
|
|
|
<el-tag :type="inputQuery.ucstatus | statusFilterType">
|
|
|
|
|
{{ checkSupFlag[inputQuery.ucstatus] }}
|
|
|
|
|
</el-tag>
|
|
|
|
|
</span>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
|
|
<el-button
|
|
|
|
|
type="primary"
|
|
|
|
|
size="mini"
|
|
|
|
|
icon="search"
|
|
|
|
|
@click="onModifySubmit('key')"
|
|
|
|
|
:disabled ="inputQuery.ucstatus == 1 || inputQuery.ucstatus ==3"
|
|
|
|
|
>提交审核
|
|
|
|
|
</el-button>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row
|
|
|
|
|
:gutter="20"
|
|
|
|
|
class="el-row"
|
|
|
|
|
type="flex"
|
|
|
|
|
style="margin-top: 25px"
|
|
|
|
|
>
|
|
|
|
|
<el-col :span="10" class="el-col">
|
|
|
|
|
<el-col :span="20" class="el-col">
|
|
|
|
|
<el-form-item
|
|
|
|
|
label=" 说明:"
|
|
|
|
|
label-width="150px"
|
|
|
|
|
label="审核说明:"
|
|
|
|
|
prop="reason"
|
|
|
|
|
>
|
|
|
|
|
<el-input
|
|
|
|
@ -80,15 +90,15 @@
|
|
|
|
|
class="el-row"
|
|
|
|
|
type="flex"
|
|
|
|
|
>
|
|
|
|
|
<el-col :span="10" class="el-col">
|
|
|
|
|
<el-col :span="20" class="el-col">
|
|
|
|
|
<el-form-item
|
|
|
|
|
label=" 企业名称:"
|
|
|
|
|
label-width="150px"
|
|
|
|
|
|
|
|
|
|
prop="companyName"
|
|
|
|
|
>
|
|
|
|
|
<el-input
|
|
|
|
|
size="small"
|
|
|
|
|
:disabled ="inputQuery.ucstatus == 1 || inputQuery.ucstatus ==3"
|
|
|
|
|
:disabled="inputQuery.ucstatus == 1 || inputQuery.ucstatus ==3"
|
|
|
|
|
splaceholder="请输入内容"
|
|
|
|
|
v-model="inputQuery.companyName"
|
|
|
|
|
></el-input>
|
|
|
|
@ -104,16 +114,15 @@
|
|
|
|
|
type="flex"
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
|
|
<el-col :span="10" class="el-col">
|
|
|
|
|
<el-col :span="20" class="el-col">
|
|
|
|
|
<el-form-item
|
|
|
|
|
label=" 社会信用号:"
|
|
|
|
|
label-width="150px"
|
|
|
|
|
|
|
|
|
|
prop="creditNum"
|
|
|
|
|
>
|
|
|
|
|
<el-input
|
|
|
|
|
size="small"
|
|
|
|
|
:disabled ="inputQuery.ucstatus == 1 || inputQuery.ucstatus ==3"
|
|
|
|
|
:disabled="inputQuery.ucstatus == 1 || inputQuery.ucstatus ==3"
|
|
|
|
|
splaceholder="请输入内容"
|
|
|
|
|
v-model="inputQuery.creditNum"
|
|
|
|
|
></el-input>
|
|
|
|
@ -124,11 +133,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-row :gutter="20" class="el-row" type="flex" style="margin-top: 0px">
|
|
|
|
|
<el-col :span="10" class="el-col">
|
|
|
|
|
<el-form-item label="企业类型:" label-width="150px" prop="bussinessStatus">
|
|
|
|
|
<el-col :span="20" class="el-col">
|
|
|
|
|
<el-form-item label="企业类型:" prop="bussinessStatus">
|
|
|
|
|
<el-select
|
|
|
|
|
size="small"
|
|
|
|
|
:disabled ="inputQuery.ucstatus == 1 || inputQuery.ucstatus ==3"
|
|
|
|
|
:disabled="inputQuery.ucstatus == 1 || inputQuery.ucstatus ==3"
|
|
|
|
|
v-model="inputQuery.bussinessStatus"
|
|
|
|
|
placeholder="企业类型"
|
|
|
|
|
style="width: 100%"
|
|
|
|
@ -149,16 +158,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-row :gutter="20" class="el-row" type="flex" style="margin-top: 0px">
|
|
|
|
|
<el-col :span="10" class="el-col">
|
|
|
|
|
<el-col :span="20" class="el-col">
|
|
|
|
|
|
|
|
|
|
<el-form-item
|
|
|
|
|
label=" 法人名称 :"
|
|
|
|
|
label-width="150px"
|
|
|
|
|
|
|
|
|
|
prop="legalPerson"
|
|
|
|
|
>
|
|
|
|
|
<el-input
|
|
|
|
|
size="small"
|
|
|
|
|
:disabled ="inputQuery.ucstatus == 1 || inputQuery.ucstatus ==3"
|
|
|
|
|
:disabled="inputQuery.ucstatus == 1 || inputQuery.ucstatus ==3"
|
|
|
|
|
splaceholder="请输入内容"
|
|
|
|
|
v-model="inputQuery.legalPerson"
|
|
|
|
|
></el-input>
|
|
|
|
@ -171,15 +180,15 @@
|
|
|
|
|
|
|
|
|
|
<el-row :gutter="20" class="el-row" type="flex" style="margin-top: 0px">
|
|
|
|
|
|
|
|
|
|
<el-col :span="10" class="el-col">
|
|
|
|
|
<el-col :span="20" class="el-col">
|
|
|
|
|
<el-form-item
|
|
|
|
|
label="法人身份证号 :"
|
|
|
|
|
label-width="150px"
|
|
|
|
|
|
|
|
|
|
prop="legalIdCard"
|
|
|
|
|
>
|
|
|
|
|
<el-input
|
|
|
|
|
size="small"
|
|
|
|
|
:disabled ="inputQuery.ucstatus == 1 || inputQuery.ucstatus ==3"
|
|
|
|
|
:disabled="inputQuery.ucstatus == 1 || inputQuery.ucstatus ==3"
|
|
|
|
|
splaceholder="请输入内容"
|
|
|
|
|
v-model="inputQuery.legalIdCard"
|
|
|
|
|
></el-input>
|
|
|
|
@ -189,30 +198,29 @@
|
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
|
|
<el-row :gutter="20" class="el-row" type="flex" style="margin-top: 0px">
|
|
|
|
|
<el-col :span="10" class="el-col">
|
|
|
|
|
<el-col :span="20" class="el-col">
|
|
|
|
|
|
|
|
|
|
<el-form-item
|
|
|
|
|
label="注册地址:"
|
|
|
|
|
label-width="150px"
|
|
|
|
|
prop="registerAddress"
|
|
|
|
|
>
|
|
|
|
|
<el-input
|
|
|
|
|
size="small"
|
|
|
|
|
:disabled ="inputQuery.ucstatus == 1 || inputQuery.ucstatus ==3"
|
|
|
|
|
splaceholder="请输入内容"
|
|
|
|
|
v-model="inputQuery.registerAddress"
|
|
|
|
|
></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item
|
|
|
|
|
label="注册地址:"
|
|
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
|
prop="registerAddress"
|
|
|
|
|
>
|
|
|
|
|
<el-input
|
|
|
|
|
size="small"
|
|
|
|
|
:disabled="inputQuery.ucstatus == 1 || inputQuery.ucstatus ==3"
|
|
|
|
|
splaceholder="请输入内容"
|
|
|
|
|
v-model="inputQuery.registerAddress"
|
|
|
|
|
></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
|
|
<!--<el-row :gutter="20" class="el-row" type="flex" style="margin-top: 0px">-->
|
|
|
|
|
<!-- <el-col :span="10" class="el-col">-->
|
|
|
|
|
<!-- <el-form-item label="备注:" label-width="150px" prop="remark">-->
|
|
|
|
|
<!-- <el-col :span="20" class="el-col">-->
|
|
|
|
|
<!-- <el-form-item label="备注:" prop="remark">-->
|
|
|
|
|
<!-- <el-input-->
|
|
|
|
|
<!-- size="small"-->
|
|
|
|
|
<!-- v-model="inputQuery.remark"-->
|
|
|
|
@ -224,9 +232,11 @@
|
|
|
|
|
</el-card>
|
|
|
|
|
|
|
|
|
|
<el-card class="el-card">
|
|
|
|
|
<div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div slot="header" class="clearfix">
|
|
|
|
|
<span>
|
|
|
|
|
个人基本信息:
|
|
|
|
|
企业系统负责人信息
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
<el-row
|
|
|
|
@ -235,12 +245,12 @@
|
|
|
|
|
type="flex"
|
|
|
|
|
style="margin-top: 25px"
|
|
|
|
|
>
|
|
|
|
|
<el-col :span="10" class="el-col">
|
|
|
|
|
<el-form-item label="注册手机:" label-width="150px" prop="mobile">
|
|
|
|
|
<el-col :span="20" class="el-col">
|
|
|
|
|
<el-form-item label="注册手机:" prop="mobile">
|
|
|
|
|
<el-input
|
|
|
|
|
size="small"
|
|
|
|
|
placeholder="请输入内容"
|
|
|
|
|
:disabled ="inputQuery.ucstatus == 1 || inputQuery.ucstatus ==3"
|
|
|
|
|
:disabled="inputQuery.ucstatus == 1 || inputQuery.ucstatus ==3"
|
|
|
|
|
v-model="inputQuery.mobile"
|
|
|
|
|
></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
@ -251,12 +261,12 @@
|
|
|
|
|
class="el-row"
|
|
|
|
|
type="flex"
|
|
|
|
|
>
|
|
|
|
|
<el-col :span="10" class="el-col">
|
|
|
|
|
<el-form-item label="注册人名称:" label-width="150px" prop="realName">
|
|
|
|
|
<el-col :span="20" class="el-col">
|
|
|
|
|
<el-form-item label="注册人名称:" prop="realName">
|
|
|
|
|
<el-input
|
|
|
|
|
size="small"
|
|
|
|
|
placeholder="请输入内容"
|
|
|
|
|
:disabled ="inputQuery.ucstatus == 1 || inputQuery.ucstatus ==3"
|
|
|
|
|
:disabled="inputQuery.ucstatus == 1 || inputQuery.ucstatus ==3"
|
|
|
|
|
v-model="inputQuery.realName"
|
|
|
|
|
></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
@ -268,12 +278,12 @@
|
|
|
|
|
class="el-row"
|
|
|
|
|
type="flex"
|
|
|
|
|
>
|
|
|
|
|
<el-col :span="10" class="el-col">
|
|
|
|
|
<el-form-item label="法人联系电话:" label-width="150px" prop="fmobile">
|
|
|
|
|
<el-col :span="20" class="el-col">
|
|
|
|
|
<el-form-item label="法人联系电话:" prop="fmobile">
|
|
|
|
|
<el-input
|
|
|
|
|
size="small"
|
|
|
|
|
placeholder="请输入内容"
|
|
|
|
|
:disabled ="inputQuery.ucstatus == 1 || inputQuery.ucstatus ==3"
|
|
|
|
|
:disabled="inputQuery.ucstatus == 1 || inputQuery.ucstatus ==3"
|
|
|
|
|
v-model="inputQuery.fmobile"
|
|
|
|
|
></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
@ -285,12 +295,12 @@
|
|
|
|
|
class="el-row"
|
|
|
|
|
type="flex"
|
|
|
|
|
>
|
|
|
|
|
<el-col :span="10" class="el-col">
|
|
|
|
|
<el-form-item label="邮箱:" label-width="150px" prop="email">
|
|
|
|
|
<el-col :span="20" class="el-col">
|
|
|
|
|
<el-form-item label="邮箱:" prop="email">
|
|
|
|
|
<el-input
|
|
|
|
|
size="small"
|
|
|
|
|
placeholder="请输入内容"
|
|
|
|
|
:disabled ="inputQuery.ucstatus == 1 || inputQuery.ucstatus ==3"
|
|
|
|
|
:disabled="inputQuery.ucstatus == 1 || inputQuery.ucstatus ==3"
|
|
|
|
|
v-model="inputQuery.email"
|
|
|
|
|
></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
@ -298,23 +308,21 @@
|
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-row
|
|
|
|
|
:gutter="20"
|
|
|
|
|
class="el-row"
|
|
|
|
|
type="flex"
|
|
|
|
|
>
|
|
|
|
|
<el-col :span="10" class="el-col">
|
|
|
|
|
<el-col :span="20" class="el-col">
|
|
|
|
|
<el-form-item
|
|
|
|
|
label="系统负责人姓名:"
|
|
|
|
|
label-width="150px"
|
|
|
|
|
|
|
|
|
|
prop="name"
|
|
|
|
|
>
|
|
|
|
|
<el-input
|
|
|
|
|
size="small"
|
|
|
|
|
splaceholder="请输入内容"
|
|
|
|
|
:disabled ="inputQuery.ucstatus == 1 || inputQuery.ucstatus ==3"
|
|
|
|
|
:disabled="inputQuery.ucstatus == 1 || inputQuery.ucstatus ==3"
|
|
|
|
|
v-model="inputQuery.name"
|
|
|
|
|
></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
@ -326,16 +334,16 @@
|
|
|
|
|
class="el-row"
|
|
|
|
|
type="flex"
|
|
|
|
|
>
|
|
|
|
|
<el-col :span="10" class="el-col">
|
|
|
|
|
<el-col :span="20" class="el-col">
|
|
|
|
|
<el-form-item
|
|
|
|
|
label="系统负责人电话:"
|
|
|
|
|
label-width="150px"
|
|
|
|
|
|
|
|
|
|
prop="tel"
|
|
|
|
|
>
|
|
|
|
|
<el-input
|
|
|
|
|
size="small"
|
|
|
|
|
splaceholder="请输入内容"
|
|
|
|
|
:disabled ="inputQuery.ucstatus == 1 || inputQuery.ucstatus ==3"
|
|
|
|
|
:disabled="inputQuery.ucstatus == 1 || inputQuery.ucstatus ==3"
|
|
|
|
|
v-model="inputQuery.tel"
|
|
|
|
|
></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
@ -346,15 +354,15 @@
|
|
|
|
|
class="el-row"
|
|
|
|
|
type="flex"
|
|
|
|
|
>
|
|
|
|
|
<el-col :span="10" class="el-col">
|
|
|
|
|
<el-col :span="20" class="el-col">
|
|
|
|
|
<el-form-item
|
|
|
|
|
label="系统负责人QQ:"
|
|
|
|
|
label-width="150px"
|
|
|
|
|
|
|
|
|
|
prop="qq"
|
|
|
|
|
>
|
|
|
|
|
<el-input
|
|
|
|
|
size="small"
|
|
|
|
|
:disabled ="inputQuery.ucstatus == 1 || inputQuery.ucstatus ==3"
|
|
|
|
|
:disabled="inputQuery.ucstatus == 1 || inputQuery.ucstatus ==3"
|
|
|
|
|
splaceholder="请输入内容"
|
|
|
|
|
v-model="inputQuery.qq"
|
|
|
|
|
></el-input>
|
|
|
|
@ -367,16 +375,16 @@
|
|
|
|
|
class="el-row"
|
|
|
|
|
type="flex"
|
|
|
|
|
>
|
|
|
|
|
<el-col :span="10" class="el-col">
|
|
|
|
|
<el-col :span="20" class="el-col">
|
|
|
|
|
<el-form-item
|
|
|
|
|
label="系统负责人微信:"
|
|
|
|
|
label-width="150px"
|
|
|
|
|
|
|
|
|
|
prop="weChat"
|
|
|
|
|
>
|
|
|
|
|
<el-input
|
|
|
|
|
size="small"
|
|
|
|
|
splaceholder="请输入内容"
|
|
|
|
|
:disabled ="inputQuery.ucstatus == 1 || inputQuery.ucstatus ==3"
|
|
|
|
|
:disabled="inputQuery.ucstatus == 1 || inputQuery.ucstatus ==3"
|
|
|
|
|
v-model="inputQuery.weChat"
|
|
|
|
|
></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
@ -388,16 +396,16 @@
|
|
|
|
|
class="el-row"
|
|
|
|
|
type="flex"
|
|
|
|
|
>
|
|
|
|
|
<el-col :span="10" class="el-col">
|
|
|
|
|
<el-col :span="20" class="el-col">
|
|
|
|
|
<el-form-item
|
|
|
|
|
label="系统负责人邮箱:"
|
|
|
|
|
label-width="150px"
|
|
|
|
|
|
|
|
|
|
prop="xemail"
|
|
|
|
|
>
|
|
|
|
|
<el-input
|
|
|
|
|
size="small"
|
|
|
|
|
splaceholder="请输入内容"
|
|
|
|
|
:disabled ="inputQuery.ucstatus == 1 || inputQuery.ucstatus ==3"
|
|
|
|
|
:disabled="inputQuery.ucstatus == 1 || inputQuery.ucstatus ==3"
|
|
|
|
|
v-model="inputQuery.xemail"
|
|
|
|
|
></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
@ -408,12 +416,6 @@
|
|
|
|
|
</el-card>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-card>
|
|
|
|
|
<div style="float: right; text-align: right; margin-bottom: 8px">
|
|
|
|
|
<el-button
|
|
|
|
@ -421,7 +423,7 @@
|
|
|
|
|
size="mini"
|
|
|
|
|
icon="search"
|
|
|
|
|
@click="addCert()"
|
|
|
|
|
:disabled ="inputQuery.ucstatus == 1 || inputQuery.ucstatus ==3"
|
|
|
|
|
:disabled="inputQuery.ucstatus == 1 || inputQuery.ucstatus ==3"
|
|
|
|
|
style="text-align: right"
|
|
|
|
|
>添加资质证书
|
|
|
|
|
</el-button>
|
|
|
|
@ -446,7 +448,7 @@
|
|
|
|
|
<el-table-column label="确认状态" prop="checkStatus" width="120">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-tag :type="scope.row.checkStatus | statusFilterType">
|
|
|
|
|
{{ checkFlag[scope.row.checkStatus]}}
|
|
|
|
|
{{ checkFlag[scope.row.checkStatus] }}
|
|
|
|
|
</el-tag>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
@ -458,7 +460,7 @@
|
|
|
|
|
<el-table-column label="状态" prop="status" width="120">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-tag :type="scope.row.status | statusFilterType">
|
|
|
|
|
{{ statusFlag[scope.row.status]}}
|
|
|
|
|
{{ statusFlag[scope.row.status] }}
|
|
|
|
|
</el-tag>
|
|
|
|
|
|
|
|
|
|
</template>
|
|
|
|
@ -471,22 +473,25 @@
|
|
|
|
|
<el-button
|
|
|
|
|
type="text"
|
|
|
|
|
size="small"
|
|
|
|
|
:disabled ="inputQuery.ucstatus == 1 || inputQuery.ucstatus ==3"
|
|
|
|
|
:disabled="inputQuery.ucstatus == 1 || inputQuery.ucstatus ==3"
|
|
|
|
|
@click.native="addCert(scope.row)"
|
|
|
|
|
>编辑</el-button
|
|
|
|
|
>编辑
|
|
|
|
|
</el-button
|
|
|
|
|
>
|
|
|
|
|
<el-button
|
|
|
|
|
type="text"
|
|
|
|
|
size="small"
|
|
|
|
|
@click.native="showImgViewer(scope.row)"
|
|
|
|
|
>预览</el-button
|
|
|
|
|
>预览
|
|
|
|
|
</el-button
|
|
|
|
|
>
|
|
|
|
|
<el-button
|
|
|
|
|
type="text"
|
|
|
|
|
size="small"
|
|
|
|
|
:disabled ="inputQuery.ucstatus == 1 || inputQuery.ucstatus ==3"
|
|
|
|
|
:disabled="inputQuery.ucstatus == 1 || inputQuery.ucstatus ==3"
|
|
|
|
|
@click.native="deleteCompanyCert(scope.row)"
|
|
|
|
|
>删除</el-button
|
|
|
|
|
>删除
|
|
|
|
|
</el-button
|
|
|
|
|
>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
@ -529,37 +534,29 @@
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</el-form>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
import companyAddCert from "@/views/purchase/cert/supCertAddDialog";
|
|
|
|
|
import {insertInitial,saveAllInfo} from "@/api/auth/registComPer";
|
|
|
|
|
import {filterCompanyCert,deleteCert,updateCert} from "@/api/sup/userCert";
|
|
|
|
|
import { previewImage } from "@/api/purchase/supCompany";
|
|
|
|
|
import {insertInitial, saveAllInfo} from "@/api/auth/registComPer";
|
|
|
|
|
import {filterCompanyCert, deleteCert, updateCert} from "@/api/sup/userCert";
|
|
|
|
|
import {previewImage} from "@/api/purchase/supCompany";
|
|
|
|
|
import ElImageViewer from "element-ui/packages/image/src/image-viewer";
|
|
|
|
|
import {isBlank} from "@/utils/strUtil";
|
|
|
|
|
import {encrypts} from "@/api/login";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
name: "supCompanyEdit",
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
BASE_URL: process.env.VUE_APP_BASE_API,
|
|
|
|
|
inputQuery: {
|
|
|
|
|
ucstatus:0,
|
|
|
|
|
formData:{},
|
|
|
|
|
ucstatus: 0,
|
|
|
|
|
formData: {},
|
|
|
|
|
},
|
|
|
|
|
headers: {},
|
|
|
|
|
imgViewerVisible: false,
|
|
|
|
@ -567,15 +564,15 @@ export default {
|
|
|
|
|
fromOptions: [],
|
|
|
|
|
classesDisplay: false,
|
|
|
|
|
corpLoading: false,
|
|
|
|
|
mobile:"",
|
|
|
|
|
mobile: "",
|
|
|
|
|
selectedOptions: [],
|
|
|
|
|
query:{
|
|
|
|
|
query: {
|
|
|
|
|
page: 1,
|
|
|
|
|
limit: 20,
|
|
|
|
|
},
|
|
|
|
|
upId:"",
|
|
|
|
|
urId:"",
|
|
|
|
|
ucId:"",
|
|
|
|
|
upId: "",
|
|
|
|
|
urId: "",
|
|
|
|
|
ucId: "",
|
|
|
|
|
rules: {
|
|
|
|
|
companyName: [
|
|
|
|
|
{
|
|
|
|
@ -758,114 +755,117 @@ export default {
|
|
|
|
|
created() {
|
|
|
|
|
|
|
|
|
|
this.yz();
|
|
|
|
|
// this.getInfo();
|
|
|
|
|
|
|
|
|
|
// this.getInfo();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
components: { companyAddCert,ElImageViewer
|
|
|
|
|
components: {
|
|
|
|
|
companyAddCert, ElImageViewer
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
methods: {
|
|
|
|
|
onModifySubmit(val){
|
|
|
|
|
let mess ="";
|
|
|
|
|
if(this.$isNotBlank(val)){
|
|
|
|
|
mess='审核提交';
|
|
|
|
|
}else{
|
|
|
|
|
mess='草稿保存'
|
|
|
|
|
onModifySubmit(val) {
|
|
|
|
|
let mess = "";
|
|
|
|
|
if (this.$isNotBlank(val)) {
|
|
|
|
|
mess = '审核提交';
|
|
|
|
|
} else {
|
|
|
|
|
mess = '草稿保存'
|
|
|
|
|
}
|
|
|
|
|
this.$confirm("是否"+mess, "提示", {
|
|
|
|
|
confirmButtonText: "确定",
|
|
|
|
|
cancelButtonText: "取消",
|
|
|
|
|
type: "warning",
|
|
|
|
|
}).then(()=>{
|
|
|
|
|
this.inputQuery.upId=this.upId;
|
|
|
|
|
this.inputQuery.urId=this.urId;
|
|
|
|
|
this.inputQuery.ucId=this.ucId;
|
|
|
|
|
this.inputQuery.list=this.certList;
|
|
|
|
|
if(this.$isNotBlank(val)){
|
|
|
|
|
this.inputQuery.key=val;
|
|
|
|
|
}
|
|
|
|
|
saveAllInfo(this.inputQuery)
|
|
|
|
|
.then((res)=>{
|
|
|
|
|
if(res.code = 20000){
|
|
|
|
|
this.$message.success("提交成功");
|
|
|
|
|
this.getInfo();
|
|
|
|
|
}else{
|
|
|
|
|
this.$message.error(res.message);
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
})
|
|
|
|
|
this.$refs["inputQuery"].validate((valid) => {
|
|
|
|
|
if (valid) {
|
|
|
|
|
this.$confirm("是否" + mess, "提示", {
|
|
|
|
|
confirmButtonText: "确定",
|
|
|
|
|
cancelButtonText: "取消",
|
|
|
|
|
type: "warning",
|
|
|
|
|
}).then(() => {
|
|
|
|
|
this.inputQuery.upId = this.upId;
|
|
|
|
|
this.inputQuery.urId = this.urId;
|
|
|
|
|
this.inputQuery.ucId = this.ucId;
|
|
|
|
|
this.inputQuery.list = this.certList;
|
|
|
|
|
if (this.$isNotBlank(val)) {
|
|
|
|
|
this.inputQuery.key = val;
|
|
|
|
|
}
|
|
|
|
|
saveAllInfo(this.inputQuery)
|
|
|
|
|
.then((res) => {
|
|
|
|
|
if (res.code = 20000) {
|
|
|
|
|
this.$message.success("提交成功");
|
|
|
|
|
this.getInfo();
|
|
|
|
|
} else {
|
|
|
|
|
this.$message.error(res.message);
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
deleteCompanyCert(row){
|
|
|
|
|
deleteCompanyCert(row) {
|
|
|
|
|
this.$confirm("是否删除?", "提示", {
|
|
|
|
|
confirmButtonText: "确定",
|
|
|
|
|
cancelButtonText: "取消",
|
|
|
|
|
type: "warning",
|
|
|
|
|
}).then(()=>{
|
|
|
|
|
}).then(() => {
|
|
|
|
|
this.certLoading = true;
|
|
|
|
|
let tquery = {
|
|
|
|
|
id: row.id,
|
|
|
|
|
filePath: row.filePath,
|
|
|
|
|
};
|
|
|
|
|
deleteCert(tquery).then((res)=>{
|
|
|
|
|
deleteCert(tquery).then((res) => {
|
|
|
|
|
this.certLoading = false;
|
|
|
|
|
if (res.code === 20000) {
|
|
|
|
|
this.$message({
|
|
|
|
|
type: "success",
|
|
|
|
|
message: "删除成功!",
|
|
|
|
|
});
|
|
|
|
|
this. getCert();
|
|
|
|
|
}else{
|
|
|
|
|
this.getCert();
|
|
|
|
|
} else {
|
|
|
|
|
this.$message.error(res.message);
|
|
|
|
|
}
|
|
|
|
|
}).catch(()=>{
|
|
|
|
|
}).catch(() => {
|
|
|
|
|
this.certLoading = false;
|
|
|
|
|
})
|
|
|
|
|
}).catch(()=>{
|
|
|
|
|
}).catch(() => {
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
yz(){
|
|
|
|
|
yz() {
|
|
|
|
|
var phoneReg = /^[1][3,4,5,7,8][0-9]{9}$/;
|
|
|
|
|
let param={
|
|
|
|
|
mobile:this.$route.query.mobile,
|
|
|
|
|
captcha:this.$route.query.captcha,
|
|
|
|
|
let param = {
|
|
|
|
|
mobile: this.$route.query.mobile,
|
|
|
|
|
captcha: this.$route.query.captcha,
|
|
|
|
|
}
|
|
|
|
|
encrypts(param).then((res)=>{
|
|
|
|
|
if(res.code == 20000){
|
|
|
|
|
if(phoneReg.test(res.data.mobile) && res.data.captcha.length == 6) {
|
|
|
|
|
encrypts(param).then((res) => {
|
|
|
|
|
if (res.code == 20000) {
|
|
|
|
|
if (phoneReg.test(res.data.mobile) && res.data.captcha.length == 6) {
|
|
|
|
|
this.mobile = res.data.mobile;
|
|
|
|
|
this.inputQuery.mobile = res.data.mobile;
|
|
|
|
|
this.getInfo();
|
|
|
|
|
}
|
|
|
|
|
}else{
|
|
|
|
|
this.$router.push({path:"/404"})
|
|
|
|
|
} else {
|
|
|
|
|
this.$router.push({path: "/404"})
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
getInfo(){
|
|
|
|
|
let param ={
|
|
|
|
|
mobile :this.mobile
|
|
|
|
|
getInfo() {
|
|
|
|
|
let param = {
|
|
|
|
|
mobile: this.mobile
|
|
|
|
|
}
|
|
|
|
|
insertInitial(param)
|
|
|
|
|
.then((res)=>{
|
|
|
|
|
if(!isBlank(res.data['registComPerResponse'])){
|
|
|
|
|
this.inputQuery =res.data['registComPerResponse'];
|
|
|
|
|
.then((res) => {
|
|
|
|
|
if (!isBlank(res.data['registComPerResponse'])) {
|
|
|
|
|
this.inputQuery = res.data['registComPerResponse'];
|
|
|
|
|
// this.upId=res.data['registComPerResponse'].upId;
|
|
|
|
|
this.urId=res.data['registComPerResponse'].id;
|
|
|
|
|
this.ucId=res.data['registComPerResponse'].ucId;
|
|
|
|
|
}else{
|
|
|
|
|
this.urId = res.data['registComPerResponse'].id;
|
|
|
|
|
this.ucId = res.data['registComPerResponse'].ucId;
|
|
|
|
|
} else {
|
|
|
|
|
// this.upId=res.data['upId'];
|
|
|
|
|
this.urId=res.data['urId'];
|
|
|
|
|
this.ucId=res.data['ucId'];
|
|
|
|
|
this.urId = res.data['urId'];
|
|
|
|
|
this.ucId = res.data['ucId'];
|
|
|
|
|
}
|
|
|
|
|
this.getCert();
|
|
|
|
|
})
|
|
|
|
@ -873,28 +873,28 @@ export default {
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
getCert(){
|
|
|
|
|
this.query.businessId=this.ucId;
|
|
|
|
|
filterCompanyCert( this.query)
|
|
|
|
|
.then((res)=>{
|
|
|
|
|
if(res.code == 20000){
|
|
|
|
|
this.certList= res.data.list || [];
|
|
|
|
|
getCert() {
|
|
|
|
|
this.query.businessId = this.ucId;
|
|
|
|
|
filterCompanyCert(this.query)
|
|
|
|
|
.then((res) => {
|
|
|
|
|
if (res.code == 20000) {
|
|
|
|
|
this.certList = res.data.list || [];
|
|
|
|
|
this.certTotal = res.data.total;
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
certHandleCurrentChange(val){
|
|
|
|
|
certHandleCurrentChange(val) {
|
|
|
|
|
this.query.page = val.page;
|
|
|
|
|
this.getCert();
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
addCert(row){
|
|
|
|
|
addCert(row) {
|
|
|
|
|
if (this.$isNotBlank(row)) {
|
|
|
|
|
this.formName = 2;
|
|
|
|
|
this.inputQuery.formData = row;
|
|
|
|
|
this.editTye = 2;
|
|
|
|
|
}else{
|
|
|
|
|
} else {
|
|
|
|
|
this.formName = 1;
|
|
|
|
|
this.inputQuery.formData = {};
|
|
|
|
|
this.editTye = 1;
|
|
|
|
@ -909,7 +909,7 @@ export default {
|
|
|
|
|
this.addCertVisible = false;
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
showImgViewer(row){
|
|
|
|
|
showImgViewer(row) {
|
|
|
|
|
this.certFileUrl =
|
|
|
|
|
this.BASE_URL +
|
|
|
|
|
"/udiwms/image/register/file/getImage?type=image2&name=";
|
|
|
|
@ -976,9 +976,8 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.el-card {
|
|
|
|
|
margin: 15px 25%;
|
|
|
|
|
width: 50%;
|
|
|
|
|
|
|
|
|
|
margin: 15px 20%;
|
|
|
|
|
width: 60%;
|
|
|
|
|
/*transition: all .5s;*/
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|