企业资质审核代码更新备份

master
1178634255 2 years ago
parent ad52048653
commit eeaac5e565

@ -35,12 +35,12 @@
<el-table-column type="index" label="序号" width="50"></el-table-column>
<el-table-column label="注册企业名称" prop="companyName" width="180" show-overflow-tooltip></el-table-column>
<el-table-column label="统一社会信用号" prop="creditNum" width="180"></el-table-column>
<el-table-column label="法人名称" prop="legalPerson" width="180"></el-table-column>
<el-table-column label="法人名称" prop="legalPerson" width="80"></el-table-column>
<!-- <el-table-column label="所属地区" prop="area" width="180"></el-table-column>-->
<el-table-column label="注册地址" prop="registerAddress" :show-overflow-tooltip="true" width="200"></el-table-column>
<el-table-column label="审核状态" prop="checkStatus" width="120">
<el-table-column label="审核状态" prop="checkStatus" width="100">
<template slot-scope="scope">
<el-tag :type="(scope.row.checkStatus) | statusFilterType">
{{ checkFlag[scope.row.checkStatus] }}

@ -52,37 +52,25 @@
</el-select>
</el-form-item>
</el-col>
<!-- <el-col :span="10" class="el-col">-->
<!-- <el-form-item label="所属地区:" label-width="150px" prop="area">-->
<!-- <el-cascader-->
<!-- size="small"-->
<!-- :options="options"-->
<!-- v-model="selectedOptions" disabled-->
<!-- placeholder="请选择所属地区"-->
<!-- style="width: 100%"-->
<!-- @change="handleChange"-->
<!-- >-->
<!-- </el-cascader>-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<el-col :span="10" class="el-col">
<el-form-item label="所属地区:" label-width="150px" prop="area">
<el-cascader
size="small"
:options="options"
v-model="selectedOptions" disabled
placeholder="请选择所属地区"
style="width: 100%"
@change="handleChange"
>
</el-cascader>
</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="contacts">
<el-input
size="small"
placeholder="请输入内容" disabled
v-model="inputQuery.contacts"
></el-input>
</el-form-item>
</el-col>
<el-col :span="10" class="el-col">
<el-form-item label="详细地址:" label-width="150px" prop="detailAddr">
<el-form-item label="详细地址:" label-width="150px" prop="registerAddress">
<el-input
size="small"
placeholder="请输入内容" disabled
v-model="inputQuery.detailAddr"
v-model="inputQuery.registerAddress"
></el-input>
</el-form-item>
</el-col>
@ -90,40 +78,54 @@
<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="mobile">
<el-form-item label="联系:" label-width="150px" prop="legalPerson">
<el-input
size="small"
placeholder="请输入内容" disabled
v-model="inputQuery.mobile"
v-model="inputQuery.legalPerson"
></el-input>
</el-form-item>
</el-col>
<el-col :span="10" class="el-col">
<el-form-item label="邮箱:" label-width="150px" prop="email">
<el-form-item label="联系电话:" label-width="150px" prop="contactWay">
<el-input
size="small"
placeholder="请输入内容" disabled
v-model="inputQuery.email"
v-model="inputQuery.contactWay"
></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="roleId">
<el-select v-model="inputQuery.roleId" placeholder="请选择角色" style="width: 90%" clearable>
<el-option
v-for="item in roleList"
:key="item.roleId"
:label="item.roleName"
:value="item.roleId">
<span style="float: left">{{ item.roleName }}</span>
</el-option>
</el-select>
</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="email">-->
<!-- <el-input-->
<!-- size="small"-->
<!-- placeholder="请输入内容" disabled-->
<!-- v-model="inputQuery.email"-->
<!-- ></el-input>-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!--&lt;!&ndash; <el-col :span="10" class="el-col">&ndash;&gt;-->
<!--&lt;!&ndash; <el-form-item label="角色:" label-width="150px" prop="roleId">&ndash;&gt;-->
<!--&lt;!&ndash; <el-select v-model="inputQuery.roleId" placeholder="请选择角色" style="width: 90%" clearable>&ndash;&gt;-->
<!--&lt;!&ndash; <el-option&ndash;&gt;-->
<!--&lt;!&ndash; v-for="item in roleList"&ndash;&gt;-->
<!--&lt;!&ndash; :key="item.roleId"&ndash;&gt;-->
<!--&lt;!&ndash; :label="item.roleName"&ndash;&gt;-->
<!--&lt;!&ndash; :value="item.roleId">&ndash;&gt;-->
<!--&lt;!&ndash; <span style="float: left">{{ item.roleName }}</span>&ndash;&gt;-->
<!--&lt;!&ndash; </el-option>&ndash;&gt;-->
<!--&lt;!&ndash; </el-select>&ndash;&gt;-->
<!--&lt;!&ndash; </el-form-item>&ndash;&gt;-->
<!--&lt;!&ndash; </el-col>&ndash;&gt;-->
<!-- </el-row>-->
<!-- <el-row :gutter="20" class="el-row" type="flex" style="margin-top: 0px">-->
<!-- </el-row>-->
</el-card>
<el-card>
@ -164,12 +166,11 @@
<!-- <el-table-column label="确认说明" prop="auditComment" show-overflow-tooltip></el-table-column>-->
<el-table-column label="操作">
<template slot-scope="scope">
<el-button v-if="editType==1 && auditType!=1" type="text" size="small"
<el-button type="text" size="small"
@click.native="printSupCert(scope.row)">打印
</el-button>
<el-button type="text" size="small" v-if="editType==2" @click.native="auditCert(scope.row)"></el-button>
<el-button type="text" size="small" v-if="scope.row.auditStatus==1" @click.native="revoke(scope.row)">
撤回
<el-button type="text" size="small" @click.native="showImgViewer(scope.row)">
预览
</el-button>
</template>
</el-table-column>
@ -787,32 +788,32 @@ export default {
}
},
revoke(inputQuery) {
this.$confirm("是否确定撤回证书状态至未确认?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
}).then(() => {
this.certLoading = true;
inputQuery.auditStatus = 6
revokeSupCert(inputQuery)
.then((response) => {
this.certLoading = false;
if (response.code === 20000) {
this.getCompanyCertList();
} else {
this.$message.error(response.message);
}
})
.catch(() => {
this.certLoading = false;
});
}).catch(() => {
});
},
// revoke(inputQuery) {
//
// this.$confirm("?", "", {
// confirmButtonText: "",
// cancelButtonText: "",
// type: "warning",
// }).then(() => {
// this.certLoading = true;
// inputQuery.auditStatus = 6
// revokeSupCert(inputQuery)
// .then((response) => {
// this.certLoading = false;
// if (response.code === 20000) {
// this.getCompanyCertList();
// } else {
// this.$message.error(response.message);
// }
// })
// .catch(() => {
// this.certLoading = false;
// });
// }).catch(() => {
// });
//
//
// },
cancel() {

Loading…
Cancel
Save