diff --git a/client/src/views/xzzfgl/caseMan/cyqzpz.vue b/client/src/views/xzzfgl/caseMan/cyqzpz.vue index cb4b0bf..2875a43 100644 --- a/client/src/views/xzzfgl/caseMan/cyqzpz.vue +++ b/client/src/views/xzzfgl/caseMan/cyqzpz.vue @@ -10,10 +10,6 @@

抽样取证时间: {{spotfrom}} {{spotto}}

-

抽样地点 {{documenContent.spotPlace}};   

-

你(单位)因 {{documenContent.spotReason}};   行为,涉嫌违反了   {{documenContent.violateEntry}}  的规定。根据《中华人民共和国行政处罚法》第五十六条的规定,本机关决定对你单位的下列物品(见抽样取证物品清单)进行抽样取证。

- -

附:抽样取证物品清单

diff --git a/client/src/views/xzzfgl/caseMan/cyqzpzForm.vue b/client/src/views/xzzfgl/caseMan/cyqzpzForm.vue index 26bb934..add546d 100644 --- a/client/src/views/xzzfgl/caseMan/cyqzpzForm.vue +++ b/client/src/views/xzzfgl/caseMan/cyqzpzForm.vue @@ -7,11 +7,7 @@ - - - - - + diff --git a/client/src/views/xzzfgl/caseMan/laspb.vue b/client/src/views/xzzfgl/caseMan/laspb.vue index 5bb32b1..d72b344 100644 --- a/client/src/views/xzzfgl/caseMan/laspb.vue +++ b/client/src/views/xzzfgl/caseMan/laspb.vue @@ -115,6 +115,42 @@ const generatePDF = async () => { } } const porpData = ref(props) +// const exportToWord = async () => { +// try { +// +// const templatePath = '/laspb.docx'; +// const templateContent = await fetchTemplate(templatePath); +// +// const zip = new PizZip(templateContent); +// const doc = new Docxtemplater(zip, { +// paragraphLoop: true, +// linebreaks: true +// }); +// +// let data = porpData.value.documenContent +// data.documentCode=porpData.value.documentCode +// data.documentName=porpData.value.documentName.replace('《','').replace('》','') +// +// doc.setData(data); +// doc.render(); +// +// const out = doc.getZip().generate({ type: 'blob' }); +// saveAs(out, '立案审批表.docx'); +// } catch (error) { +// if (error.properties && error.properties.errors) { +// error.properties.errors.forEach(e => console.error("模板错误:", e)); +// } +// } +// }; +// +// const fetchTemplate = (path) => { +// return new Promise((resolve, reject) => { +// JSZipUtils.getBinaryContent(path, (err, content) => { +// if (err) reject(err); +// else resolve(content); +// }); +// }); +// };