|
|
@ -9,33 +9,11 @@
|
|
|
|
<el-card class="el-card" style="margin-top: -25px">
|
|
|
|
<el-card class="el-card" style="margin-top: -25px">
|
|
|
|
|
|
|
|
|
|
|
|
<div style="display: flex;">
|
|
|
|
<div style="display: flex;">
|
|
|
|
<el-button
|
|
|
|
<el-button v-if="editType==2" type="primary" size="mini" icon="search" @click="onPassSubmit">审核通过</el-button>
|
|
|
|
v-if="editType==2"
|
|
|
|
<el-button v-if="editType==2" type="primary" size="mini" @click="onRejectSubmit">审核拒绝</el-button>
|
|
|
|
type="primary"
|
|
|
|
<el-button v-if="editType==1" type="primary" size="mini" icon="search" @click="printSupCertAll">打印</el-button>
|
|
|
|
size="mini"
|
|
|
|
|
|
|
|
icon="search"
|
|
|
|
|
|
|
|
@click="onPassSubmit"
|
|
|
|
|
|
|
|
>审核通过
|
|
|
|
|
|
|
|
</el-button
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<el-button
|
|
|
|
|
|
|
|
v-if="editType==2"
|
|
|
|
|
|
|
|
type="primary"
|
|
|
|
|
|
|
|
size="mini"
|
|
|
|
|
|
|
|
icon="search"
|
|
|
|
|
|
|
|
@click="onRejectSubmit"
|
|
|
|
|
|
|
|
>审核拒绝
|
|
|
|
|
|
|
|
</el-button
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<el-button
|
|
|
|
|
|
|
|
v-if="editType==1"
|
|
|
|
|
|
|
|
type="primary"
|
|
|
|
|
|
|
|
size="mini"
|
|
|
|
|
|
|
|
icon="search"
|
|
|
|
|
|
|
|
@click="printSupCertAll"
|
|
|
|
|
|
|
|
>打印
|
|
|
|
|
|
|
|
</el-button>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<el-row :gutter="20" class="el-row" type="flex" style="margin-top: 20px">
|
|
|
|
<el-row :gutter="20" class="el-row" type="flex" style="margin-top: 20px">
|
|
|
|
<el-col :span="10" class="el-col">
|
|
|
|
<el-col :span="10" class="el-col">
|
|
|
|
<el-form-item label="企业名称:" label-width="150px" prop="companyName">
|
|
|
|
<el-form-item label="企业名称:" label-width="150px" prop="companyName">
|
|
|
@ -159,10 +137,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<el-table v-loading="certLoading" :data="certList" ref="certTable" style="width: 100%" border
|
|
|
|
<el-table v-loading="certLoading" :data="certList" ref="certTable" style="width: 100%" border highlight-current-row>
|
|
|
|
highlight-current-row>
|
|
|
|
|
|
|
|
<el-table-column type="selection" width="55">
|
|
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
<el-table-column type="index" label="序号" width="50"></el-table-column>
|
|
|
|
<el-table-column type="index" label="序号" width="50"></el-table-column>
|
|
|
|
<el-table-column label="证书名称" prop="name"></el-table-column>
|
|
|
|
<el-table-column label="证书名称" prop="name"></el-table-column>
|
|
|
|
<el-table-column label="证书编号" prop="code"></el-table-column>
|
|
|
|
<el-table-column label="证书编号" prop="code"></el-table-column>
|
|
|
@ -185,36 +160,8 @@
|
|
|
|
<el-table-column label="确认说明" prop="auditComment" show-overflow-tooltip></el-table-column>
|
|
|
|
<el-table-column label="确认说明" prop="auditComment" show-overflow-tooltip></el-table-column>
|
|
|
|
<el-table-column label="操作">
|
|
|
|
<el-table-column label="操作">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<!-- <el-button-->
|
|
|
|
<el-button v-if="editType==1" type="text" size="small" @click.native="printSupCert(scope.row)">打印</el-button>
|
|
|
|
<!-- type="text"-->
|
|
|
|
<el-button type="text" size="small" v-if="editType==2" @click.native="auditCert(scope.row)">编辑</el-button>
|
|
|
|
<!-- size="small"-->
|
|
|
|
|
|
|
|
<!-- @click.native="toViewCompanyCert(scope.row)"-->
|
|
|
|
|
|
|
|
<!-- >预览-->
|
|
|
|
|
|
|
|
<!-- </el-button-->
|
|
|
|
|
|
|
|
<!-- >-->
|
|
|
|
|
|
|
|
<el-button
|
|
|
|
|
|
|
|
v-if="editType==1"
|
|
|
|
|
|
|
|
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"-->
|
|
|
|
|
|
|
|
<!-- @click.native="rejectInfo(scope.row)"-->
|
|
|
|
|
|
|
|
<!-- >说明-->
|
|
|
|
|
|
|
|
<!-- </el-button-->
|
|
|
|
|
|
|
|
<!-- >-->
|
|
|
|
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table>
|
|
|
|
</el-table>
|
|
|
@ -230,27 +177,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-dialog width="60%" :visible.sync="certAuditVisible" append-to-body title="配送企业资质证书确认">
|
|
|
|
<el-dialog width="60%" :visible.sync="certAuditVisible" append-to-body title="配送企业资质证书确认">
|
|
|
|
<el-form :model="currentAudit">
|
|
|
|
<el-form :model="currentAudit" label-width="120px">
|
|
|
|
<el-row>
|
|
|
|
<el-row>
|
|
|
|
<el-col :span="3">
|
|
|
|
<el-col :span="11">
|
|
|
|
<div class="ao-text">
|
|
|
|
<el-form-item label="证书名称:" prop="name">
|
|
|
|
<span>证书名称:</span>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
|
|
|
<el-form-item prop="name">
|
|
|
|
|
|
|
|
<el-input v-model="currentAudit.name" auto-complete="off"
|
|
|
|
<el-input v-model="currentAudit.name" auto-complete="off"
|
|
|
|
disabled></el-input>
|
|
|
|
disabled></el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
|
|
<el-col :span="3">
|
|
|
|
<el-col :span="11">
|
|
|
|
<div class="ao-text">
|
|
|
|
<el-form-item label="证书编号:" prop="code">
|
|
|
|
<span>证书编号:</span>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
|
|
|
<el-form-item prop="code">
|
|
|
|
|
|
|
|
<el-input v-model="currentAudit.code" auto-complete="off"
|
|
|
|
<el-input v-model="currentAudit.code" auto-complete="off"
|
|
|
|
disabled
|
|
|
|
disabled
|
|
|
|
></el-input>
|
|
|
|
></el-input>
|
|
|
@ -259,13 +196,8 @@
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
|
|
|
|
<el-row>
|
|
|
|
<el-row>
|
|
|
|
<el-col :span="3">
|
|
|
|
<el-col :span="11">
|
|
|
|
<div class="ao-text">
|
|
|
|
<el-form-item label="有效期:" prop="vailDate">
|
|
|
|
<span>有效期:</span>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
|
|
|
<el-form-item prop="vailDate">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-date-picker
|
|
|
|
<el-date-picker
|
|
|
|
v-model="currentAudit.vailDate"
|
|
|
|
v-model="currentAudit.vailDate"
|
|
|
@ -278,13 +210,8 @@
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
|
|
<el-col :span="3">
|
|
|
|
<el-col :span="11">
|
|
|
|
<div class="ao-text">
|
|
|
|
<el-form-item label="失效期:" prop="expireDate">
|
|
|
|
<span>失效期:</span>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
|
|
|
<el-form-item prop="expireDate">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-date-picker
|
|
|
|
<el-date-picker
|
|
|
|
v-model="currentAudit.expireDate"
|
|
|
|
v-model="currentAudit.expireDate"
|
|
|
@ -300,61 +227,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-row>
|
|
|
|
<el-row>
|
|
|
|
<el-col :span="3">
|
|
|
|
<el-col :span="11">
|
|
|
|
<div class="ao-text">
|
|
|
|
<el-form-item label="证书状态:" prop="status">
|
|
|
|
<span>证书状态:</span>
|
|
|
|
<el-select v-model="currentAudit.status" :disabled="isOpen!=1" style="width: 100%">
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
|
|
|
<el-form-item prop="status">
|
|
|
|
|
|
|
|
<el-select v-model="currentAudit.status" :disabled="confirmStatus == 1 || confirmStatus == 2"
|
|
|
|
|
|
|
|
style="width: 100%">
|
|
|
|
|
|
|
|
<el-option label="失效" :value=1></el-option>
|
|
|
|
<el-option label="失效" :value=1></el-option>
|
|
|
|
<el-option label="有效" :value=0></el-option>
|
|
|
|
<el-option label="有效" :value=0></el-option>
|
|
|
|
</el-select>
|
|
|
|
</el-select>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
|
|
<el-col :span="3">
|
|
|
|
<el-col :span="11">
|
|
|
|
<div class="ao-text">
|
|
|
|
<el-form-item label="确认状态:" prop="confirmStatus">
|
|
|
|
<span>确认状态:</span>
|
|
|
|
<el-select v-model="confirmStatus" :disabled="isOpen==1" style="width: 100%">
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
|
|
|
<el-form-item prop="confirmStatus">
|
|
|
|
|
|
|
|
<el-select v-model="confirmStatus" :disabled="currentAudit.status ==1" style="width: 100%">
|
|
|
|
|
|
|
|
<el-option label="符合" :value="1"></el-option>
|
|
|
|
<el-option label="符合" :value="1"></el-option>
|
|
|
|
<el-option label="不符合" :value="2"></el-option>
|
|
|
|
<el-option label="不符合" :value="2"></el-option>
|
|
|
|
<el-option label="未确认" :value="6"></el-option>
|
|
|
|
<el-option label="未确认" :value="6"></el-option>
|
|
|
|
</el-select>
|
|
|
|
</el-select>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
|
|
|
|
<el-row>
|
|
|
|
<el-row>
|
|
|
|
<el-col :span="3">
|
|
|
|
<el-col :span="11">
|
|
|
|
<div class="ao-text">
|
|
|
|
<el-form-item label="证书文件:">
|
|
|
|
<span>证书文件:</span>
|
|
|
|
<el-button type="primary" size="mini" @click.native="toViewCompanyCert(currentAudit)">证书预览</el-button>
|
|
|
|
</div>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
|
|
|
<el-button
|
|
|
|
|
|
|
|
type="primary"
|
|
|
|
|
|
|
|
size="mini"
|
|
|
|
|
|
|
|
@click.native="toViewCompanyCert(currentAudit)"
|
|
|
|
|
|
|
|
>证书预览
|
|
|
|
|
|
|
|
</el-button>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
<el-row style="margin-top: 12px">
|
|
|
|
<el-row style="margin-top: 12px">
|
|
|
|
<el-col :span="3">
|
|
|
|
<el-col :span="22">
|
|
|
|
<div class="ao-text">
|
|
|
|
<el-form-item label="结果说明:">
|
|
|
|
<span>结果说明:</span>
|
|
|
|
<el-input type="textarea":disabled="isOpen==1" v-model="currentAudit.auditComment" autocomplete="off" autosize></el-input>
|
|
|
|
</div>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-col :span="19">
|
|
|
|
|
|
|
|
<el-input type="textarea" v-model="currentAudit.auditComment" autocomplete="off"
|
|
|
|
|
|
|
|
autosize></el-input>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
</el-form>
|
|
|
|
</el-form>
|
|
|
@ -514,6 +419,7 @@ export default {
|
|
|
|
productLoading: false,
|
|
|
|
productLoading: false,
|
|
|
|
uuid: null,
|
|
|
|
uuid: null,
|
|
|
|
companyApplyUpdateVisible: false,
|
|
|
|
companyApplyUpdateVisible: false,
|
|
|
|
|
|
|
|
isOpen:false,
|
|
|
|
companyEditDisabled: true,
|
|
|
|
companyEditDisabled: true,
|
|
|
|
companyEditButtonStr: "编辑",
|
|
|
|
companyEditButtonStr: "编辑",
|
|
|
|
checkFlag: {
|
|
|
|
checkFlag: {
|
|
|
@ -634,6 +540,7 @@ export default {
|
|
|
|
auditCert(row) {
|
|
|
|
auditCert(row) {
|
|
|
|
this.certAuditVisible = true;
|
|
|
|
this.certAuditVisible = true;
|
|
|
|
this.currentAudit = row;
|
|
|
|
this.currentAudit = row;
|
|
|
|
|
|
|
|
this.isOpen=this.currentAudit.auditStatus;
|
|
|
|
this.confirmStatus = this.currentAudit.auditStatus;
|
|
|
|
this.confirmStatus = this.currentAudit.auditStatus;
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
@ -821,8 +728,6 @@ export default {
|
|
|
|
this.passAuditCert();
|
|
|
|
this.passAuditCert();
|
|
|
|
} else if (this.confirmStatus == 2) {
|
|
|
|
} else if (this.confirmStatus == 2) {
|
|
|
|
this.rejectAuditCert();
|
|
|
|
this.rejectAuditCert();
|
|
|
|
} else if (this.confirmStatus == 6) {
|
|
|
|
|
|
|
|
this.cancel();
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
cancel() {
|
|
|
|
cancel() {
|
|
|
|