Browse Source

張浩 解決公務用車bug

budaoweng 1 month ago
parent
commit
84b12ff72d
2 changed files with 4 additions and 1 deletions
  1. 3 0
      package.json
  2. 1 1
      src/views/zcustom/public/index.vue

+ 3 - 0
package.json

@@ -45,6 +45,8 @@
     "clipboard": "2.0.8",
     "core-js": "^3.25.0",
     "crypto-js": "^4.2.0",
+    "docxtemplater": "^3.61.1",
+    "docxtemplater-image-module-free": "^1.1.1",
     "echarts": "4.9.0",
     "echarts-gl": "^1.1.1",
     "element-ui": "2.15.8",
@@ -59,6 +61,7 @@
     "less-loader": "^5.0.0",
     "nprogress": "0.2.0",
     "pinyin": "^4.0.0-alpha.2",
+    "pizzip": "^3.1.8",
     "quill": "1.3.7",
     "screenfull": "5.0.2",
     "sortablejs": "1.10.2",

+ 1 - 1
src/views/zcustom/public/index.vue

@@ -423,7 +423,7 @@ export default {
     },
     sure(){
       const jsonString = JSON.parse(this.json)
-      uploadJson(this.value, jsonString).then(res => {
+      uploadJson(jsonString).then(res => {
         if (res.code === 200){
           this.$message.success('新增成功')
         }