lilei 2 年之前
父节点
当前提交
72d6e5354b
共有 4 个文件被更改,包括 105 次插入24 次删除
  1. 86 6
      package-lock.json
  2. 1 0
      package.json
  3. 1 1
      public/version.json
  4. 17 17
      vue.config.js

+ 86 - 6
package-lock.json

@@ -2046,6 +2046,33 @@
         }
       }
     },
+    "@vue/compiler-sfc": {
+      "version": "2.7.14",
+      "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-2.7.14.tgz",
+      "integrity": "sha512-aNmNHyLPsw+sVvlQFQ2/8sjNuLtK54TC6cuKnVzAY93ks4ZBrvwQSnkkIh7bsbNhum5hJBS00wSDipQ937f5DA==",
+      "requires": {
+        "@babel/parser": "^7.18.4",
+        "postcss": "^8.4.14",
+        "source-map": "^0.6.1"
+      },
+      "dependencies": {
+        "@babel/parser": {
+          "version": "7.21.1",
+          "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.21.1.tgz",
+          "integrity": "sha512-JzhBFpkuhBNYUY7qs+wTzNmyCWUHEaAFpQQD2YfU1rPL38/L43Wvid0fFkiOCnHvsGncRZgEPyGnltABLcVDTg=="
+        },
+        "postcss": {
+          "version": "8.4.21",
+          "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.21.tgz",
+          "integrity": "sha512-tP7u/Sn/dVxK2NnruI4H9BG+x+Wxz6oeZ1cJ8P6G/PZY0IKk4k/63TDsQf2kQq3+qoJeLm2kIBUNlZe3zgb4Zg==",
+          "requires": {
+            "nanoid": "^3.3.4",
+            "picocolors": "^1.0.0",
+            "source-map-js": "^1.0.2"
+          }
+        }
+      }
+    },
     "@vue/component-compiler-utils": {
       "version": "3.0.0",
       "resolved": "https://registry.npm.taobao.org/@vue/component-compiler-utils/download/@vue/component-compiler-utils-3.0.0.tgz",
@@ -5138,6 +5165,11 @@
         "cssom": "0.3.x"
       }
     },
+    "csstype": {
+      "version": "3.1.1",
+      "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.1.tgz",
+      "integrity": "sha512-DJR/VvkAvSZW9bTouZue2sSxDwdTN92uHjqeKVm+0dAqdfNykRzQ95tay8aXMBAAPpUiq4Qcug2L7neoRh2Egw=="
+    },
     "current-script-polyfill": {
       "version": "1.0.0",
       "resolved": "https://registry.npmjs.org/current-script-polyfill/-/current-script-polyfill-1.0.0.tgz",
@@ -5192,8 +5224,7 @@
     "de-indent": {
       "version": "1.0.2",
       "resolved": "https://registry.npmjs.org/de-indent/-/de-indent-1.0.2.tgz",
-      "integrity": "sha1-sgOOhG3DO6pXlhKNCAS0VbjB4h0=",
-      "dev": true
+      "integrity": "sha1-sgOOhG3DO6pXlhKNCAS0VbjB4h0="
     },
     "debug": {
       "version": "3.1.0",
@@ -7807,8 +7838,7 @@
     "he": {
       "version": "1.2.0",
       "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz",
-      "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==",
-      "dev": true
+      "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw=="
     },
     "hex-color-regex": {
       "version": "1.1.0",
@@ -11595,6 +11625,11 @@
       "resolved": "https://registry.npmjs.org/nan/-/nan-2.15.0.tgz",
       "integrity": "sha512-8ZtvEnA2c5aYCZYd1cvgdnU6cqwixRoYg70xPLWUws5ORTa/lnw+u4amixRS/Ac5U5mQVgp9pnlSUnbNWFaWZQ=="
     },
+    "nanoid": {
+      "version": "3.3.4",
+      "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz",
+      "integrity": "sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw=="
+    },
     "nanomatch": {
       "version": "1.2.13",
       "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz",
@@ -12536,6 +12571,11 @@
       "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz",
       "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns="
     },
+    "picocolors": {
+      "version": "1.0.0",
+      "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz",
+      "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ=="
+    },
     "pify": {
       "version": "4.0.1",
       "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz",
@@ -14813,8 +14853,12 @@
     "source-map": {
       "version": "0.6.1",
       "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
-      "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
-      "dev": true
+      "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="
+    },
+    "source-map-js": {
+      "version": "1.0.2",
+      "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz",
+      "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw=="
     },
     "source-map-resolve": {
       "version": "0.5.2",
@@ -16572,6 +16616,42 @@
       "resolved": "https://registry.npm.taobao.org/vue-cropper/download/vue-cropper-0.4.9.tgz",
       "integrity": "sha1-/mUPMlFuzykBS71KkHkZHI3Fpa4="
     },
+    "vue-easytable": {
+      "version": "2.24.0",
+      "resolved": "https://registry.npmjs.org/vue-easytable/-/vue-easytable-2.24.0.tgz",
+      "integrity": "sha512-5OcCw3EMLEb/cBLV/pMqRIhAmwt3FadXpoZvWhdE+SynthdNtTrQhxFKyjgpAmX6OPEMb9/XFNX86gDuIVnlxg==",
+      "requires": {
+        "lodash": "^4.17.20",
+        "resize-observer-polyfill": "^1.5.1",
+        "vue": "^2.6.12",
+        "vue-template-compiler": "^2.6.11"
+      },
+      "dependencies": {
+        "lodash": {
+          "version": "4.17.21",
+          "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
+          "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="
+        },
+        "vue": {
+          "version": "2.7.14",
+          "resolved": "https://registry.npmjs.org/vue/-/vue-2.7.14.tgz",
+          "integrity": "sha512-b2qkFyOM0kwqWFuQmgd4o+uHGU7T+2z3T+WQp8UBjADfEv2n4FEMffzBmCKNP0IGzOEEfYjvtcC62xaSKeQDrQ==",
+          "requires": {
+            "@vue/compiler-sfc": "2.7.14",
+            "csstype": "^3.1.0"
+          }
+        },
+        "vue-template-compiler": {
+          "version": "2.7.14",
+          "resolved": "https://registry.npmjs.org/vue-template-compiler/-/vue-template-compiler-2.7.14.tgz",
+          "integrity": "sha512-zyA5Y3ArvVG0NacJDkkzJuPQDF8RFeRlzV2vLeSnhSpieO6LK2OVbdLPi5MPPs09Ii+gMO8nY4S3iKQxBxDmWQ==",
+          "requires": {
+            "de-indent": "^1.0.2",
+            "he": "^1.2.0"
+          }
+        }
+      }
+    },
     "vue-eslint-parser": {
       "version": "2.0.3",
       "resolved": "https://registry.npmjs.org/vue-eslint-parser/-/vue-eslint-parser-2.0.3.tgz",

+ 1 - 0
package.json

@@ -33,6 +33,7 @@
     "vue-clipboard2": "^0.2.1",
     "vue-cookies": "^1.6.1",
     "vue-cropper": "0.4.9",
+    "vue-easytable": "^2.24.0",
     "vue-ls": "^3.2.1",
     "vue-pdf-signature": "^4.2.6",
     "vue-qr": "^3.2.2",

+ 1 - 1
public/version.json

@@ -1,5 +1,5 @@
 {
   "message": "发现有新版本发布,确定更新系统?",
   "vendorJsVersion": "",
-  "version": 1677115385615
+  "version": 1677135048382
 }

+ 17 - 17
vue.config.js

@@ -22,11 +22,11 @@ function isProd () {
   return process.env.NODE_ENV === 'production'
 }
 
-// 锟斤拷目锟斤拷锟斤拷锟斤拷锟�
-// 默锟斤拷锟斤拷锟斤拷拢锟斤拷锟斤拷羌锟斤拷锟斤拷锟斤拷应锟矫斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷母锟侥柯硷拷锟�
+// 锟斤拷目锟斤拷锟斤拷锟斤拷锟�1锟�7
+// 默锟斤拷锟斤拷锟斤拷拢锟斤拷锟斤拷羌锟斤拷锟斤拷锟斤拷应锟矫斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷母锟侥柯硷拷锟�1锟�7
 // 锟斤拷锟界:https://www.my-app.com/
 // 默锟较o拷'/'
-// 锟斤拷锟斤拷锟斤拷锟接︼拷贸锟斤拷锟斤拷锟斤拷锟斤拷锟铰凤拷锟斤拷校锟斤拷锟斤拷锟揭�拷锟斤拷锟街革拷锟斤拷锟铰凤拷锟�
+// 锟斤拷锟斤拷锟斤拷锟接︼拷贸锟斤拷锟斤拷锟斤拷锟斤拷锟铰凤拷锟斤拷校锟斤拷锟斤拷锟揭�拷锟斤拷锟街革拷锟斤拷锟铰凤拷锟�1锟�7
 // 锟斤拷锟界:https://www.foobar.com/my-app/
 // 锟斤拷要锟斤拷锟斤拷锟斤拷为'/my-app/'
 const BASE_URL = isProd ? '/' : '/'
@@ -61,14 +61,14 @@ const prodExternals = {
 
 // vue.config.js
 const vueConfig = {
-  runtimeCompiler: true, // 锟斤拷态锟斤拷锟斤拷锟斤拷锟�
+  runtimeCompiler: true, // 锟斤拷态锟斤拷锟斤拷锟斤拷锟�1锟�7
   publicPath: BASE_URL,
   configureWebpack: {
     optimization: isProd() ? {
           minimize: true,
           minimizer: [new TerserPlugin({
-              test: /\.js(\?.*)?$/i,    //匹锟斤拷锟斤拷锟窖癸拷锟斤拷锟斤拷募锟�
-              parallel: true,    //使锟矫讹拷锟斤拷滩锟斤拷锟斤拷锟斤拷锟�
+              test: /\.js(\?.*)?$/i,    //匹锟斤拷锟斤拷锟窖癸拷锟斤拷锟斤拷募锟�1锟�7
+              parallel: true,    //使锟矫讹拷锟斤拷滩锟斤拷锟斤拷锟斤拷锟�1锟�7
               terserOptions: {    //Terser 压锟斤拷锟斤拷锟斤拷
                   output:{comments: false},
                   compress: {//console删锟斤拷
@@ -91,7 +91,7 @@ const vueConfig = {
           test: new RegExp('\\.(' + ['js', 'css'].join('|') + ')$'),
           //只锟叫达拷小锟斤拷锟节革拷值锟斤拷锟斤拷源锟结被锟斤拷锟斤拷锟斤拷锟斤拷位锟斤拷 bytes锟斤拷默锟斤拷值锟斤拷 0锟斤拷
           threshold: 10240,
-          //只锟斤拷压锟斤拷锟斤拷小锟斤拷锟斤拷锟街碉拷锟斤拷锟皆达拷呕岜伙拷锟斤拷锟斤拷锟侥�拷锟街碉拷锟�0.8锟斤拷
+          //只锟斤拷压锟斤拷锟斤拷小锟斤拷锟斤拷锟街碉拷锟斤拷锟皆达拷呕岜伙拷锟斤拷锟斤拷锟侥�拷锟街碉拷锟�1锟�70.8锟斤拷
           minRatio: 0.8
         }),
       new WebpackVersionPlugin({
@@ -137,17 +137,17 @@ const vueConfig = {
     }
     
     config.optimization && config.optimization.splitChunks({
-        // 锟斤拷锟斤拷锟斤拷锟�
+        // 锟斤拷锟斤拷锟斤拷锟�1锟�7
         chunks: 'all', //锟斤拷选一锟斤拷"initial" 锟斤拷始锟斤拷锟斤拷"all"(默锟较撅拷锟斤拷all)锟斤拷"async"锟斤拷锟斤拷态锟斤拷锟截o拷 
-        minSize: 30000, // 锟轿筹拷一锟斤拷锟铰达拷锟斤拷锟斤拷锟叫★拷锟斤拷锟斤拷,只锟斤拷 >= minSize 锟斤拷bundle锟结被锟斤拷殖锟斤拷锟�30000
-        maxSize: 0, //锟斤拷锟街�帮拷锟斤拷锟斤拷锟街碉拷锟侥�拷锟轿�斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷
-        minChunks: 1, //锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷为2 锟斤拷么一锟斤拷锟斤拷源锟斤拷锟劫憋拷锟斤拷锟斤拷锟斤拷锟轿才匡拷锟皆憋拷锟斤拷殖锟斤拷锟�
+        minSize: 30000, // 锟轿筹拷一锟斤拷锟铰达拷锟斤拷锟斤拷锟叫★拷锟斤拷锟斤拷,只锟斤拷 >= minSize 锟斤拷bundle锟结被锟斤拷殖锟斤拷锟�1锟�730000
+        maxSize: 0, //锟斤拷锟街�帮拷锟斤拷锟斤拷锟街碉拷锟侥�拷锟轿�1锟�7锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷
+        minChunks: 1, //锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷为2 锟斤拷么一锟斤拷锟斤拷源锟斤拷锟劫憋拷锟斤拷锟斤拷锟斤拷锟轿才匡拷锟皆憋拷锟斤拷殖锟斤拷锟�1锟�7
         maxAsyncRequests: 5, // 锟斤拷锟斤拷锟斤拷氐锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷
         maxInitialRequests: 4, // 一锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷
         automaticNameDelimiter: '~', // 锟侥硷拷锟斤拷锟斤拷锟斤拷锟接凤拷
         name: true,
         cacheGroups: {
-        // node_modules模锟斤拷锟�
+        // node_modules模锟斤拷锟�1锟�7
         vendors: {
           test: /[\\/]node_modules[\\/]/,
           name: 'chunk-vendors',
@@ -158,7 +158,7 @@ const vueConfig = {
           chunks: 'all',
           priority: -10,
         },
-        // UI锟解单锟斤拷锟斤拷锟�
+        // UI锟解单锟斤拷锟斤拷锟�1锟�7
         antDesign: {
           name: 'chunk-antDesign',
           priority: 19, //  the weight needs to be larger than libs and app or it will be packaged into libs or app
@@ -173,14 +173,14 @@ const vueConfig = {
         common: {
           name: 'chunk-common',
           minChunks: 2,
-          maxSize: 1024, //锟斤拷锟街�帮拷锟斤拷锟斤拷锟街碉拷锟侥�拷锟轿�斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷
+          maxSize: 1024, //锟斤拷锟街�帮拷锟斤拷锟斤拷锟街碉拷锟侥�拷锟轿�1锟�7锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷
           priority: -20,
           reuseExistingChunk: true
         }
         }
     });
     
-    // 锟斤拷锟斤拷锟斤拷锟斤拷锟叫�
+    // 锟斤拷锟斤拷锟斤拷锟斤拷锟叫�1锟�7
     if (process.env.npm_config_report) {
       config.plugin('webpack-bundle-analyzer')
       .use(require('webpack-bundle-analyzer').BundleAnalyzerPlugin)
@@ -211,8 +211,8 @@ const vueConfig = {
     // If you want to turn on the proxy, please remove the mockjs /src/main.jsL11
     proxy: {
       '/api': {
-        // target: 'http://192.168.0.183:8503/qpls-md',
-        target: 'http://p.iscm.360arrow.com/qpls-md',
+        target: 'http://192.168.0.216:8076/qpls-md',
+        // target: 'http://p.iscm.360arrow.com/qpls-md',
         // ws: false,
         ws: true,
         changeOrigin: true,