19b87257 by renchao@pashanhoo.com

style:打印

1 parent dda334ff
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-15 09:43:21
* @LastEditTime: 2023-09-04 17:09:21
-->
<template>
<div class="clxx">
......@@ -134,7 +134,6 @@
this.previewImg.bsmSj = this.tableData[this.treeCheckIndex].bsmSj;
}
},
// 材料目录明细初始化
/**
* @description: 材料目录明细初始化
* @param {*} type
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-31 09:36:04
* @LastEditTime: 2023-09-04 17:12:05
-->
<template>
<div class="szxx">
......@@ -114,15 +114,18 @@
* @author: renchao
*/
list () {
return new Promise((resolve, reject) => {
var bsmSlsq = this.$route.query.bsmSlsq;
getSlsqBdcqzList({ bsmSlsq: bsmSlsq }).then((res) => {
resolve(res.code);
if (res.code === 200) {
this.tableData = res.result;
if (res.result) {
this.bdcqz = res.result[0];
}
}
});
})
})
},
/**
* @description: 打开证书预览弹窗
......@@ -166,13 +169,14 @@
* @author: renchao
*/
confirmInvalid () {
invalidCertificate({ bsmBdcqz: this.bsmBdcqz, zfyy: this.zfyy }).then((res) => {
invalidCertificate({ bsmBdcqz: this.bsmBdcqz, zfyy: this.zfyy }).then(async (res) => {
if (res.code === 200) {
this.list();
this.$message.success("作废成功");
this.invalidDiglog = false;
this.zfyy = ''
this.openZsylDialog(this.bdcqz);
let res = await this.list()
if (res && res == 200) this.openZsylDialog(this.bdcqz);
} else {
this.$message.error(res.message);
}
......