refactor(report): 更新模板文件路径和相关样式

- 将模板文件从 public 目录移动到 public/templates 目录
- 更新 EquipmentRegistrationForm.vue 中模板文件路径
- 调整 printDemo.vue 中的 word-view-box 样式,增加最小宽度
master
Tuzki 6 months ago
parent d844123605
commit c18827ca1d
  1. 0
      public/templates/template.doc
  2. 0
      public/templates/template.docx
  3. 2
      src/views/report/eventList/EquipmentRegistrationForm.vue
  4. 1
      src/views/report/eventList/printDemo.vue

@ -176,7 +176,7 @@
// public/templates
let _this = this;
//
JSZipUtils.getBinaryContent("template.docx", function (error, content) {
JSZipUtils.getBinaryContent("/templates/template.docx", function (error, content) {
debugger
// input.docx
//

@ -322,6 +322,7 @@
.word-view-box {
width: fit-content;
min-width: 50%;
height: calc(100vh - 86px);
overflow-y: scroll;
}

Loading…
Cancel
Save