riku
2025-06-25 b187b6cf678f0e6b17e3612c5681ecd35434f15a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<template>
  <div>
    <el-button type="primary" @click="export_doc">导出文档</el-button>
  </div>
</template>
<script setup>
import { exportDocx } from '@/utils/doc';
 
const param = {
  month: 11,
  day: 4,
  index: 5,
  hasMoreDays: false,
  endMonth: 11,
  endDay: 6,
  totalScene: 16,
  sceneNumTxt: '工地10个、码头6个',
  proNum: 23,
  changeNum: 19,
  unChangeNum: 4,
  table1: [
    {
      sIndex: 1,
      sType: '工地',
      sName: '上海电影艺术职业学院新建金山校区项目',
      sLocation: '东贤路康和路',
      sProblemList: [
        '1、渣土局部未覆盖',
        '2、散货物料露天堆放未覆盖',
        '3、工地内多条道路明显泥痕/泥泞/积尘/遗撒',
        '4、工地出入口100米道路明显积尘/遗撒/轮胎泥印'
      ],
      sTown: '张堰镇',
      sChange: '已整改'
    },
    {
      sIndex: 2,
      sType: '工地',
      sName: '上海交通大学医学院附属瑞金医院金山院区项目',
      sLocation:
        '金山区亭林镇36-05地块,亭虹路以东、林顺路以南、沈海高速以西、大亭公路以北',
      sProblemList: [
        '1、室外木材切割等木工作业',
        '2、工地内多条道路明显泥痕/泥泞/积尘/遗撒',
        '3、散货物料露天堆放未覆盖',
        '4、大面积露天裸土无防尘措施'
      ],
      sTown: '亭林镇',
      sChange: '已整改'
    },
    {
      sIndex: 3,
      sType: '工地',
      sName: '大信.中信海直华东无人机总部基地项目',
      sLocation: '东自然地块,西新泾,南黄文泾,北自然地块',
      sProblemList: ['1、出入口车轮泥痕', '2、主道路泥泞'],
      sTown: '高新区',
      sChange: '已整改'
    }
  ]
};
 
function export_doc() {
  exportDocx(
    '/秋冬季空气质量攻坚工作提示模板.docx',
    param,
    '工作提示.docx'
  );
}
</script>