wangmengwei 8 kuukautta sitten
vanhempi
commit
d0e44cdbda
3 muutettua tiedostoa jossa 38 lisäystä ja 16 poistoa
  1. 2 2
      ruoyi-ui/.env.staging
  2. 20 5
      ruoyi-ui/package.json
  3. 16 9
      ruoyi-ui/vue.config.js

+ 2 - 2
ruoyi-ui/.env.staging

@@ -1,10 +1,10 @@
 # 页面标题
-VUE_APP_TITLE = 若依管理系统
+VUE_APP_TITLE = 皖源融资担保管理平台
 
 NODE_ENV = production
 
 # 测试环境配置
 ENV = 'staging'
 
-# 若依管理系统/测试环境
+# 皖源融资担保管理平台/测试环境
 VUE_APP_BASE_API = '/stage-api'

+ 20 - 5
ruoyi-ui/package.json

@@ -1,7 +1,7 @@
 {
   "name": "ruoyi",
-  "version": "3.8.7",
-  "description": "若依管理系统",
+  "version": "3.8.6",
+  "description": "皖源融资担保管理平台",
   "author": "若依",
   "license": "MIT",
   "scripts": {
@@ -37,27 +37,42 @@
   },
   "dependencies": {
     "@riophae/vue-treeselect": "0.4.0",
+    "@vue-office/docx": "^1.6.1",
+    "@vue-office/excel": "^1.7.7",
+    "@vue-office/pdf": "^2.0.2",
+    "@vue/composition-api": "^1.7.2",
     "axios": "0.24.0",
     "clipboard": "2.0.8",
     "core-js": "3.25.3",
     "echarts": "5.4.0",
-    "element-ui": "2.15.14",
+    "element-ui": "2.15.13",
     "file-saver": "2.0.5",
     "fuse.js": "6.4.3",
     "highlight.js": "9.18.5",
+    "html2canvas": "^1.4.1",
     "js-beautify": "1.13.0",
     "js-cookie": "3.0.1",
     "jsencrypt": "3.0.0-rc.1",
     "nprogress": "0.2.0",
+    "photo-sphere-viewer": "^4.8.1",
+    "qrcode": "^1.5.3",
+    "qrcode-decoder": "^0.3.3",
     "quill": "1.3.7",
     "screenfull": "5.0.2",
     "sortablejs": "1.10.2",
     "vue": "2.6.12",
+    "vue-calendar-component": "^2.8.2",
     "vue-count-to": "1.0.13",
     "vue-cropper": "0.5.5",
+    "vue-doc-preview": "^0.3.2",
+    "vue-esign": "^1.1.4",
+    "vue-jsonp": "^2.0.0",
     "vue-meta": "2.4.0",
+    "vue-print-nb": "^1.7.5",
+    "vue-qr": "^4.0.9",
     "vue-router": "3.4.9",
-    "vuedraggable": "2.24.3",
+    "vue-ueditor-wrap": "^2.5.6",
+    "vuedraggable": "^2.24.3",
     "vuex": "3.6.0"
   },
   "devDependencies": {
@@ -67,7 +82,7 @@
     "babel-eslint": "10.1.0",
     "babel-plugin-dynamic-import-node": "2.3.3",
     "chalk": "4.1.0",
-    "compression-webpack-plugin": "6.1.2",
+    "compression-webpack-plugin": "5.0.2",
     "connect": "3.6.6",
     "eslint": "7.15.0",
     "eslint-plugin-vue": "7.2.0",

+ 16 - 9
ruoyi-ui/vue.config.js

@@ -7,7 +7,7 @@ function resolve(dir) {
 
 const CompressionPlugin = require('compression-webpack-plugin')
 
-const name = process.env.VUE_APP_TITLE || '若依管理系统' // 网页标题
+const name = process.env.VUE_APP_TITLE || '皖源融资担保管理平台' // 网页标题
 
 const port = process.env.port || process.env.npm_config_port || 80 // 端口
 
@@ -34,8 +34,11 @@ module.exports = {
     open: true,
     proxy: {
       // detail: https://cli.vuejs.org/config/#devserver-proxy
+	  // 'https://rzdb.qs163.cn'
+    // 114.99.127.245
+	  // http://192.168.101.245:8056
       [process.env.VUE_APP_BASE_API]: {
-        target: `http://localhost:8080`,
+        target: `http://192.168.101.168:8056`,
         changeOrigin: true,
         pathRewrite: {
           ['^' + process.env.VUE_APP_BASE_API]: ''
@@ -61,12 +64,11 @@ module.exports = {
     plugins: [
       // http://doc.ruoyi.vip/ruoyi-vue/other/faq.html#使用gzip解压缩静态文件
       new CompressionPlugin({
-        cache: false,                                  // 不启用文件缓存
-        test: /\.(js|css|html|jpe?g|png|gif|svg)?$/i,  // 压缩文件格式
-        filename: '[path][base].gz[query]',            // 压缩后的文件名
-        algorithm: 'gzip',                             // 使用gzip压缩
-        minRatio: 0.8,                                 // 压缩比例,小于 80% 的文件不会被压缩
-        deleteOriginalAssets: false                    // 压缩后删除原文件
+        cache: false,                   // 不启用文件缓存
+        test: /\.(js|css|html)?$/i,     // 压缩文件格式
+        filename: '[path].gz[query]',   // 压缩后的文件名
+        algorithm: 'gzip',              // 使用gzip压缩
+        minRatio: 0.8                   // 压缩率小于1才会压缩
       })
     ],
   },
@@ -124,7 +126,12 @@ module.exports = {
               }
             }
           })
-          config.optimization.runtimeChunk('single')
+
+          config.optimization.runtimeChunk('single'),
+          {
+             from: path.resolve(__dirname, './public/robots.txt'), //防爬虫文件
+             to: './' //到根目录下
+          }
     })
   }
 }