From 80ca454691ea7240c03cba5b3826ac182166d3b0 Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: 星期五, 01 三月 2024 10:24:32 +0800
Subject: [PATCH] 修改跳转
---
src/assets/images/print.png | 0
src/views/notCoalMine/nCertificateList/index.vue | 23 ++++++++++++++++++++++-
2 files changed, 22 insertions(+), 1 deletions(-)
diff --git a/src/assets/images/print.png b/src/assets/images/print.png
new file mode 100644
index 0000000..842b29e
--- /dev/null
+++ b/src/assets/images/print.png
Binary files differ
diff --git a/src/views/notCoalMine/nCertificateList/index.vue b/src/views/notCoalMine/nCertificateList/index.vue
index 41e30fd..4bd47c9 100644
--- a/src/views/notCoalMine/nCertificateList/index.vue
+++ b/src/views/notCoalMine/nCertificateList/index.vue
@@ -70,6 +70,12 @@
icon="el-icon-edit"
@click="openCert(scope.row,'view')"
>查看</el-button>
+ <el-button
+ size="mini"
+ type="text"
+ icon="el-icon-edit"
+ @click="openSupplementary(scope.row,'view')"
+ >证书补档</el-button>
</template>
</el-table-column>
</el-table>
@@ -81,11 +87,21 @@
@pagination="getPage"
/>
<certificate-dialog ref="certificate" @getList="getPage"></certificate-dialog>
+ <el-dialog title="证书补档" :visible.sync="supplementaryVisible" width="50%" append-to-body>
+ <div style="display: flex;flex-direction: column;align-items: center">
+ <el-image
+ style="width: 100px; height: 100px"
+ :src="print"
+ fit="contain"></el-image>
+ <p style="font-size: 16px">请使用专业打印机连接</p>
+ </div>
+ </el-dialog>
</div>
</template>
<script>
import {getCertificatePage, getCertificateSync} from "@/api/notCoalMine/certifiate";
+import printImg from '@/assets/images/print.png'
import certificateDialog from "@/views/notCoalMine/nCertificateList/components/certificateDialog";
export default {
name: "nCertificateManage",
@@ -95,6 +111,7 @@
return {
loading: false,
showSearch: true,
+ supplementaryVisible: false,
total: 0,
dataList: [],
queryParams: {
@@ -103,7 +120,8 @@
idcardTypeCode: '',
pageNum: 1,
pageSize: 10
- }
+ },
+ print: printImg
};
},
created() {
@@ -173,6 +191,9 @@
},
openCert(data,type){
this.$refs.certificate.openDialog(data,type)
+ },
+ openSupplementary(data,type){
+ this.supplementaryVisible = true
}
}
};
--
Gitblit v1.9.2