diff --git a/.env.development b/.env.development index 651af1b..661e703 100644 --- a/.env.development +++ b/.env.development @@ -4,11 +4,11 @@ NODE_ENV=development VITE_DEV=false # 请求路径 -VITE_BASE_URL='http://localhost:12080' +VITE_BASE_URL='http://192.168.0.165:12080' # 上传路径 #VITE_UPLOAD_URL='http://localhost:12080/admin-api/spc/template-item-details/upload' -VITE_UPLOAD_URL='http://localhost:12080/admin-api/infra/file/upload' +VITE_UPLOAD_URL='http://192.168.0.165:12080/admin-api/infra/file/upload' # 接口前缀 VITE_API_BASEPATH=/dev-api diff --git a/package.json b/package.json index 2d240fe..97b46a1 100644 --- a/package.json +++ b/package.json @@ -30,6 +30,7 @@ "crypto-js": "^4.1.1", "dayjs": "^1.11.10", "diagram-js": "^12.3.0", + "docx-preview": "^0.1.4", "echarts": "^5.4.3", "echarts-wordcloud": "^2.1.0", "element-plus": "2.3.14", @@ -37,6 +38,7 @@ "highlight.js": "^11.8.0", "intro.js": "^7.2.0", "jsencrypt": "^3.3.2", + "jszip": "^3.10.1", "lodash-es": "^4.17.21", "min-dash": "^4.1.1", "mitt": "^3.0.1", @@ -54,6 +56,7 @@ "vue-router": "^4.2.5", "vue-types": "^5.1.1", "vue-video-player": "^5.0.1", + "vue3-video-play": "^1.3.2", "vuedraggable": "^4.1.0", "web-storage-cache": "^1.1.1", "xml-js": "^1.6.11" diff --git a/src/components/UploadFile/src/Preview.vue b/src/components/UploadFile/src/Preview.vue index d683d10..1ac4f00 100644 --- a/src/components/UploadFile/src/Preview.vue +++ b/src/components/UploadFile/src/Preview.vue @@ -1,10 +1,15 @@