|
|
|
|
@ -13,7 +13,8 @@
|
|
|
|
|
<el-button v-if="editType==2" type="primary" 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 && auditType!=1" type="primary" size="mini" icon="search" @click="printSupCertAll">打印
|
|
|
|
|
<el-button v-if="editType==1 && auditType!=1" type="primary" size="mini" icon="search"
|
|
|
|
|
@click="printSupCertAll">打印
|
|
|
|
|
</el-button>
|
|
|
|
|
</div>
|
|
|
|
|
<el-row :gutter="20" class="el-row" type="flex" style="margin-top: 20px">
|
|
|
|
|
@ -46,7 +47,7 @@
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row :gutter="20" class="el-row" type="flex">
|
|
|
|
|
<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">
|
|
|
|
|
<el-input
|
|
|
|
|
size="small"
|
|
|
|
|
placeholder="请输入内容" disabled
|
|
|
|
|
@ -200,7 +201,8 @@
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="操作" width="250">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-button v-if="editType==1 && auditType!=1" type="text" size="small" @click.native="printSupCert(scope.row)">打印
|
|
|
|
|
<el-button v-if="editType==1 && auditType!=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
|
|
|
|
|
@ -215,6 +217,12 @@
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
</el-table>
|
|
|
|
|
<el-image-viewer
|
|
|
|
|
v-if="imgViewer"
|
|
|
|
|
style="z-index: 9999"
|
|
|
|
|
:on-close="closeImgViewer"
|
|
|
|
|
:url-list="imgList"
|
|
|
|
|
/>
|
|
|
|
|
<el-pagination
|
|
|
|
|
:page-size="certQuery.limit"
|
|
|
|
|
@current-change="certHandleCurrentChange"
|
|
|
|
|
@ -368,6 +376,7 @@ export default {
|
|
|
|
|
selectedOptions: [],
|
|
|
|
|
selectedOptions2: [],
|
|
|
|
|
imgViewerVisible: false,
|
|
|
|
|
imgViewer: false,
|
|
|
|
|
imgList: [],
|
|
|
|
|
options: regionDataPlus,
|
|
|
|
|
rules: {
|
|
|
|
|
@ -558,19 +567,20 @@ export default {
|
|
|
|
|
showImgViewer(row) {
|
|
|
|
|
// let newWindow = window.open();
|
|
|
|
|
// newWindow.document.write(row.filePath)
|
|
|
|
|
this.certFileUrl = this.BASE_URL + "/udiwms/image/register/file/getImage?type=image2&name=";
|
|
|
|
|
this.imgList = [];
|
|
|
|
|
previewImage({imageUrl: row.filePath, certFileUrl: this.certFileUrl}).then(response => {
|
|
|
|
|
if (response.code === 20000) {
|
|
|
|
|
this.imgList=response.data;
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
this.imgViewerVisible = true;
|
|
|
|
|
const m = (e) => {
|
|
|
|
|
e.preventDefault()
|
|
|
|
|
};
|
|
|
|
|
document.body.style.overflow = 'hidden';
|
|
|
|
|
document.addEventListener("touchmove", m, false); // 禁止页面滑动
|
|
|
|
|
this.certFileUrl = this.BASE_URL + "/udiwms/image/register/file/getImage?type=image2&name=";
|
|
|
|
|
this.imgList = [];
|
|
|
|
|
previewImage({imageUrl: row.filePath, certFileUrl: this.certFileUrl}).then(response => {
|
|
|
|
|
if (response.code === 20000) {
|
|
|
|
|
this.imgList = response.data;
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
this.imgViewerVisible = true;
|
|
|
|
|
this.imgViewer = true
|
|
|
|
|
const m = (e) => {
|
|
|
|
|
e.preventDefault()
|
|
|
|
|
};
|
|
|
|
|
document.body.style.overflow = 'hidden';
|
|
|
|
|
document.addEventListener("touchmove", m, false); // 禁止页面滑动
|
|
|
|
|
},
|
|
|
|
|
closeImgViewer() {
|
|
|
|
|
this.imgViewerVisible = false;
|
|
|
|
|
|