抽样物品页面
This commit is contained in:
parent
8e5faeb6e9
commit
dd1c4027b2
|
|
@ -10,10 +10,6 @@
|
|||
|
||||
<p class="MsoNormal"><span class="MsoNormal-span">抽样取证时间:<span class="font-underline"> {{spotfrom}}</span>至<span class="font-underline"> {{spotto}}</span></span></p>
|
||||
|
||||
<p class="MsoNormal" ><span class="MsoNormal-span">抽样地点<span class="font-underline"> {{documenContent.spotPlace}}; </span></span></p>
|
||||
<p class="MsoNormal" ><span class="MsoNormal-span">你(单位)因<span class="font-underline"> {{documenContent.spotReason}}; </span>行为,涉嫌违反了<span class="font-underline"> {{documenContent.violateEntry}} </span>的规定。根据《中华人民共和国行政处罚法》第五十六条的规定,本机关决定对你单位的下列物品(见抽样取证物品清单)进行抽样取证。</span></p>
|
||||
|
||||
<p class="MsoNormal" ><span class="MsoNormal-span">附:抽样取证物品清单</span></p>
|
||||
<table class="case-table">
|
||||
<tbody>
|
||||
<tr>
|
||||
|
|
|
|||
|
|
@ -7,11 +7,7 @@
|
|||
<el-input v-model="documentData.documentCode" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="16">
|
||||
<el-form-item label="被抽样取证人(单位)" prop="qymc">
|
||||
<el-input v-model="documentData.documenContent.qymc" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
||||
<el-col :span="8"><el-form-item label="现场负责人"><el-input v-model="documentData.documenContent.siteLeader" clearable/></el-form-item></el-col>
|
||||
<el-col :span="8"><el-form-item label="联系电话"><el-input v-model="documentData.documenContent.contact" clearable/></el-form-item></el-col>
|
||||
<el-col :span="8"><el-form-item label="邮编"><el-input v-model="documentData.documenContent.postcode" clearable/></el-form-item></el-col>
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
// });
|
||||
// });
|
||||
// };
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.ws-container {
|
||||
|
|
|
|||
|
|
@ -138,6 +138,13 @@ function handleDetail(row) {
|
|||
let area = ''
|
||||
let wsmu = [
|
||||
|
||||
{
|
||||
documentNo: 1,
|
||||
documentName: '立案审批表',
|
||||
documentType: '立案类',
|
||||
documentCode: '(西安)应急立〔' + year + '〕' + area + xh + '号',
|
||||
documenContent: {}
|
||||
},
|
||||
{
|
||||
documentNo: 2,
|
||||
documentName: '案件移送审批表',
|
||||
|
|
@ -180,8 +187,20 @@ function handleDetail(row) {
|
|||
documentCode: '(西安)应急责改〔' + year + '〕' + area + xh + '号',
|
||||
documenContent: {}
|
||||
},
|
||||
|
||||
|
||||
{
|
||||
documentNo: 8,
|
||||
documentName: '先行登记保存证据通知书',
|
||||
documentType: '调查取证类',
|
||||
documentCode: '(西安)应急先通〔' + year + '〕' + area + xh + '号',
|
||||
documenContent: {}
|
||||
},
|
||||
{
|
||||
documentNo: 9,
|
||||
documentName: '先行登记保存证据处理决定书',
|
||||
documentType: '调查取证类',
|
||||
documentCode: '(西安)应急先决〔' + year + '〕' + area + xh + '号',
|
||||
documenContent: {}
|
||||
},
|
||||
{documentNo: 10, documentName: '安全生产行政执法证据材料-书证', documentType: '材料类', documentCode: '', documenContent: {}},
|
||||
{
|
||||
documentNo: 11,
|
||||
|
|
|
|||
Loading…
Reference in New Issue