|
|
|
@ -159,7 +159,8 @@
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<el-table v-loading="certLoading" :data="certList" ref="certTable" style="width: 100%" border highlight-current-row>
|
|
|
|
|
<el-table v-loading="certLoading" :data="certList" ref="certTable" style="width: 100%" border
|
|
|
|
|
highlight-current-row>
|
|
|
|
|
<el-table-column type="selection" width="55">
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column type="index" label="序号" width="50"></el-table-column>
|
|
|
|
@ -167,29 +168,30 @@
|
|
|
|
|
<el-table-column label="证书编号" prop="code"></el-table-column>
|
|
|
|
|
<el-table-column label="有效期" prop="vailDate"></el-table-column>
|
|
|
|
|
<el-table-column label="失效期" prop="expireDate"></el-table-column>
|
|
|
|
|
<el-table-column label="备注" prop="remark"></el-table-column>
|
|
|
|
|
|
|
|
|
|
<el-table-column label="证书状态" prop="status">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
{{ supStatus[scope.row.status] }}
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="审核状态" prop="auditStatus" width="120">
|
|
|
|
|
<el-table-column label="确认状态" prop="auditStatus" width="120">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-tag :type="(scope.row.auditStatus) | statusFilterType">
|
|
|
|
|
{{ checkFlag[scope.row.auditStatus] }}
|
|
|
|
|
</el-tag>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
|
|
<el-table-column label="备注" prop="remark"></el-table-column>
|
|
|
|
|
<el-table-column label="确认说明" prop="auditComment"></el-table-column>
|
|
|
|
|
<el-table-column label="操作">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-button
|
|
|
|
|
type="text"
|
|
|
|
|
size="small"
|
|
|
|
|
@click.native="toViewCompanyCert(scope.row)"
|
|
|
|
|
>预览
|
|
|
|
|
</el-button
|
|
|
|
|
>
|
|
|
|
|
<!-- <el-button-->
|
|
|
|
|
<!-- type="text"-->
|
|
|
|
|
<!-- size="small"-->
|
|
|
|
|
<!-- @click.native="toViewCompanyCert(scope.row)"-->
|
|
|
|
|
<!-- >预览-->
|
|
|
|
|
<!-- </el-button-->
|
|
|
|
|
<!-- >-->
|
|
|
|
|
<el-button
|
|
|
|
|
v-if="editType==1"
|
|
|
|
|
type="text"
|
|
|
|
@ -203,16 +205,16 @@
|
|
|
|
|
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
|
|
|
|
|
>
|
|
|
|
|
<!-- <el-button-->
|
|
|
|
|
<!-- type="text"-->
|
|
|
|
|
<!-- size="small"-->
|
|
|
|
|
<!-- @click.native="rejectInfo(scope.row)"-->
|
|
|
|
|
<!-- >说明-->
|
|
|
|
|
<!-- </el-button-->
|
|
|
|
|
<!-- >-->
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
</el-table>
|
|
|
|
@ -227,17 +229,137 @@
|
|
|
|
|
</el-form>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-dialog width="30%" :visible.sync="certAuditVisible" append-to-body>
|
|
|
|
|
<el-dialog width="65%" :visible.sync="certAuditVisible" append-to-body title="配送企业资质证书确认">
|
|
|
|
|
<el-form :model="currentAudit">
|
|
|
|
|
<label></label>
|
|
|
|
|
<el-form-item label="审核备注:" :label-width="120">
|
|
|
|
|
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="3">
|
|
|
|
|
<div class="ao-text">
|
|
|
|
|
<span>证书名称:</span>
|
|
|
|
|
</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item prop="name">
|
|
|
|
|
<el-input v-model="currentAudit.name" auto-complete="off"
|
|
|
|
|
disabled></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
<el-col :span="3">
|
|
|
|
|
<div class="ao-text">
|
|
|
|
|
<span>证书编号:</span>
|
|
|
|
|
</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item prop="code">
|
|
|
|
|
<el-input v-model="currentAudit.code" auto-complete="off"
|
|
|
|
|
disabled
|
|
|
|
|
></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="3">
|
|
|
|
|
<div class="ao-text">
|
|
|
|
|
<span>有效期:</span>
|
|
|
|
|
</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item prop="vailDate">
|
|
|
|
|
|
|
|
|
|
<el-date-picker
|
|
|
|
|
v-model="currentAudit.vailDate"
|
|
|
|
|
type="date"
|
|
|
|
|
disabled
|
|
|
|
|
value-format="yyyy-MM-dd"
|
|
|
|
|
style="width: 100%"
|
|
|
|
|
placeholder="请选择有效期">
|
|
|
|
|
</el-date-picker>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
<el-col :span="3">
|
|
|
|
|
<div class="ao-text">
|
|
|
|
|
<span>失效期:</span>
|
|
|
|
|
</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item prop="expireDate">
|
|
|
|
|
|
|
|
|
|
<el-date-picker
|
|
|
|
|
v-model="currentAudit.expireDate"
|
|
|
|
|
type="date"
|
|
|
|
|
disabled
|
|
|
|
|
value-format="yyyy-MM-dd"
|
|
|
|
|
style="width: 100%"
|
|
|
|
|
placeholder="请选择失效期">
|
|
|
|
|
</el-date-picker>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="3">
|
|
|
|
|
<div class="ao-text">
|
|
|
|
|
<span>证书状态:</span>
|
|
|
|
|
</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item prop="status">
|
|
|
|
|
<el-select v-model="currentAudit.status" style="width: 100%">
|
|
|
|
|
<el-option label="失效" :value=1></el-option>
|
|
|
|
|
<el-option label="有效" :value=0></el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
<el-col :span="3">
|
|
|
|
|
<div class="ao-text">
|
|
|
|
|
<span>确认状态:</span>
|
|
|
|
|
</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item prop="need">
|
|
|
|
|
<el-select v-model="currentAudit.status" style="width: 100%">
|
|
|
|
|
<el-option label="失效" :value=1></el-option>
|
|
|
|
|
<el-option label="有效" :value=0></el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="3">
|
|
|
|
|
<div class="ao-text">
|
|
|
|
|
<span>证书文件:</span>
|
|
|
|
|
</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-button
|
|
|
|
|
type="primary"
|
|
|
|
|
size="mini"
|
|
|
|
|
@click.native="toViewCompanyCert(currentAudit)"
|
|
|
|
|
>证书预览
|
|
|
|
|
</el-button>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="3">
|
|
|
|
|
<div class="ao-text">
|
|
|
|
|
<span>结果备注:</span>
|
|
|
|
|
</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="19">
|
|
|
|
|
<el-input type="textarea" v-model="currentAudit.auditComment" autocomplete="off"
|
|
|
|
|
autosize></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
</el-form>
|
|
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
|
|
<el-button type="primary" @click="rejectAuditCert">审核拒绝</el-button>
|
|
|
|
|
<el-button type="primary" @click="passAuditCert">审核通过</el-button>
|
|
|
|
|
<el-button type="primary" @click="rejectAuditCert">不符合</el-button>
|
|
|
|
|
<el-button type="primary" @click="passAuditCert">符合</el-button>
|
|
|
|
|
</div>
|
|
|
|
|
</el-dialog>
|
|
|
|
|
|
|
|
|
@ -393,10 +515,10 @@ export default {
|
|
|
|
|
companyEditButtonStr: "编辑",
|
|
|
|
|
checkFlag: {
|
|
|
|
|
0: "草稿",
|
|
|
|
|
1: "已通过",
|
|
|
|
|
1: "已确认",
|
|
|
|
|
2: "已拒绝",
|
|
|
|
|
3: "变更未审核",
|
|
|
|
|
6: "未审核",
|
|
|
|
|
3: "变更未确认",
|
|
|
|
|
6: "未确认",
|
|
|
|
|
},
|
|
|
|
|
supStatus: {
|
|
|
|
|
0: "有效",
|
|
|
|
|