Commit 6d158c26 by 胡悦

Merge branch 'master' of 192.168.3.233:saas/scrm-micro-settings

2 parents e918451a 7dad7c14
...@@ -1972,8 +1972,9 @@ ...@@ -1972,8 +1972,9 @@
}, },
"async-validator": { "async-validator": {
"version": "1.8.5", "version": "1.8.5",
"resolved": "https://registry.nlark.com/async-validator/download/async-validator-1.8.5.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fasync-validator%2Fdownload%2Fasync-validator-1.8.5.tgz", "resolved": "https://registry.npmmirror.com/async-validator/download/async-validator-1.8.5.tgz?cache=0&sync_timestamp=1634529574100&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fasync-validator%2Fdownload%2Fasync-validator-1.8.5.tgz",
"integrity": "sha1-3D4I7B/Q3dtn5ghC8CwM0c7G1/A=", "integrity": "sha1-3D4I7B/Q3dtn5ghC8CwM0c7G1/A=",
"dev": true,
"requires": { "requires": {
"babel-runtime": "6.x" "babel-runtime": "6.x"
} }
...@@ -2057,7 +2058,8 @@ ...@@ -2057,7 +2058,8 @@
"babel-helper-vue-jsx-merge-props": { "babel-helper-vue-jsx-merge-props": {
"version": "2.0.3", "version": "2.0.3",
"resolved": "https://registry.nlark.com/babel-helper-vue-jsx-merge-props/download/babel-helper-vue-jsx-merge-props-2.0.3.tgz", "resolved": "https://registry.nlark.com/babel-helper-vue-jsx-merge-props/download/babel-helper-vue-jsx-merge-props-2.0.3.tgz",
"integrity": "sha1-Iq69OzOQIyjlEyk6jkmSs4T58bY=" "integrity": "sha1-Iq69OzOQIyjlEyk6jkmSs4T58bY=",
"dev": true
}, },
"babel-loader": { "babel-loader": {
"version": "8.0.6", "version": "8.0.6",
...@@ -2116,6 +2118,7 @@ ...@@ -2116,6 +2118,7 @@
"version": "6.26.0", "version": "6.26.0",
"resolved": "https://registry.nlark.com/babel-runtime/download/babel-runtime-6.26.0.tgz", "resolved": "https://registry.nlark.com/babel-runtime/download/babel-runtime-6.26.0.tgz",
"integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=", "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=",
"dev": true,
"requires": { "requires": {
"core-js": "^2.4.0", "core-js": "^2.4.0",
"regenerator-runtime": "^0.11.0" "regenerator-runtime": "^0.11.0"
...@@ -2124,12 +2127,14 @@ ...@@ -2124,12 +2127,14 @@
"core-js": { "core-js": {
"version": "2.6.12", "version": "2.6.12",
"resolved": "https://registry.npmmirror.com/core-js/download/core-js-2.6.12.tgz", "resolved": "https://registry.npmmirror.com/core-js/download/core-js-2.6.12.tgz",
"integrity": "sha1-2TM9+nsGXjR8xWgiGdb2kIWcwuw=" "integrity": "sha1-2TM9+nsGXjR8xWgiGdb2kIWcwuw=",
"dev": true
}, },
"regenerator-runtime": { "regenerator-runtime": {
"version": "0.11.1", "version": "0.11.1",
"resolved": "https://registry.nlark.com/regenerator-runtime/download/regenerator-runtime-0.11.1.tgz?cache=0&sync_timestamp=1626993001371&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fregenerator-runtime%2Fdownload%2Fregenerator-runtime-0.11.1.tgz", "resolved": "https://registry.nlark.com/regenerator-runtime/download/regenerator-runtime-0.11.1.tgz?cache=0&sync_timestamp=1626993001371&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fregenerator-runtime%2Fdownload%2Fregenerator-runtime-0.11.1.tgz",
"integrity": "sha1-vgWtf5v30i4Fb5cmzuUBf78Z4uk=" "integrity": "sha1-vgWtf5v30i4Fb5cmzuUBf78Z4uk=",
"dev": true
} }
} }
}, },
...@@ -2642,6 +2647,7 @@ ...@@ -2642,6 +2647,7 @@
"version": "1.0.2", "version": "1.0.2",
"resolved": "https://registry.nlark.com/call-bind/download/call-bind-1.0.2.tgz", "resolved": "https://registry.nlark.com/call-bind/download/call-bind-1.0.2.tgz",
"integrity": "sha1-sdTonmiBGcPJqQOtMKuy9qkZvjw=", "integrity": "sha1-sdTonmiBGcPJqQOtMKuy9qkZvjw=",
"dev": true,
"requires": { "requires": {
"function-bind": "^1.1.1", "function-bind": "^1.1.1",
"get-intrinsic": "^1.0.2" "get-intrinsic": "^1.0.2"
...@@ -2761,7 +2767,8 @@ ...@@ -2761,7 +2767,8 @@
"charenc": { "charenc": {
"version": "0.0.2", "version": "0.0.2",
"resolved": "https://registry.npmjs.org/charenc/-/charenc-0.0.2.tgz", "resolved": "https://registry.npmjs.org/charenc/-/charenc-0.0.2.tgz",
"integrity": "sha1-wKHS86cJLgN3S/qD8UwPxXkKhmc=" "integrity": "sha1-wKHS86cJLgN3S/qD8UwPxXkKhmc=",
"dev": true
}, },
"check-types": { "check-types": {
"version": "8.0.3", "version": "8.0.3",
...@@ -3432,7 +3439,8 @@ ...@@ -3432,7 +3439,8 @@
"crypt": { "crypt": {
"version": "0.0.2", "version": "0.0.2",
"resolved": "https://registry.npmjs.org/crypt/-/crypt-0.0.2.tgz", "resolved": "https://registry.npmjs.org/crypt/-/crypt-0.0.2.tgz",
"integrity": "sha1-iNf/fsDfuG9xPch7u0LQRNPmxBs=" "integrity": "sha1-iNf/fsDfuG9xPch7u0LQRNPmxBs=",
"dev": true
}, },
"crypto-browserify": { "crypto-browserify": {
"version": "3.12.0", "version": "3.12.0",
...@@ -3723,7 +3731,8 @@ ...@@ -3723,7 +3731,8 @@
"deepmerge": { "deepmerge": {
"version": "1.5.2", "version": "1.5.2",
"resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-1.5.2.tgz", "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-1.5.2.tgz",
"integrity": "sha512-95k0GDqvBjZavkuvzx/YqVLv/6YYa17fz6ILMSf7neqQITCPbnfEnQvEgMPNjH4kgobe7+WIL0yJEHku+H3qtQ==" "integrity": "sha512-95k0GDqvBjZavkuvzx/YqVLv/6YYa17fz6ILMSf7neqQITCPbnfEnQvEgMPNjH4kgobe7+WIL0yJEHku+H3qtQ==",
"dev": true
}, },
"default-gateway": { "default-gateway": {
"version": "5.0.5", "version": "5.0.5",
...@@ -4177,6 +4186,7 @@ ...@@ -4177,6 +4186,7 @@
"version": "2.15.6", "version": "2.15.6",
"resolved": "https://registry.nlark.com/element-ui/download/element-ui-2.15.6.tgz", "resolved": "https://registry.nlark.com/element-ui/download/element-ui-2.15.6.tgz",
"integrity": "sha1-yWCa3TWvWmhqS3aF3B11fHXgHfM=", "integrity": "sha1-yWCa3TWvWmhqS3aF3B11fHXgHfM=",
"dev": true,
"requires": { "requires": {
"async-validator": "~1.8.1", "async-validator": "~1.8.1",
"babel-helper-vue-jsx-merge-props": "^2.0.0", "babel-helper-vue-jsx-merge-props": "^2.0.0",
...@@ -5666,7 +5676,8 @@ ...@@ -5666,7 +5676,8 @@
"function-bind": { "function-bind": {
"version": "1.1.1", "version": "1.1.1",
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
"integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==",
"dev": true
}, },
"functional-red-black-tree": { "functional-red-black-tree": {
"version": "1.0.1", "version": "1.0.1",
...@@ -5746,6 +5757,7 @@ ...@@ -5746,6 +5757,7 @@
"version": "1.1.1", "version": "1.1.1",
"resolved": "https://registry.nlark.com/get-intrinsic/download/get-intrinsic-1.1.1.tgz", "resolved": "https://registry.nlark.com/get-intrinsic/download/get-intrinsic-1.1.1.tgz",
"integrity": "sha1-FfWfN2+FXERpY5SPDSTNNje0q8Y=", "integrity": "sha1-FfWfN2+FXERpY5SPDSTNNje0q8Y=",
"dev": true,
"requires": { "requires": {
"function-bind": "^1.1.1", "function-bind": "^1.1.1",
"has": "^1.0.3", "has": "^1.0.3",
...@@ -5857,9 +5869,10 @@ ...@@ -5857,9 +5869,10 @@
} }
}, },
"glsx-common": { "glsx-common": {
"version": "1.4.4", "version": "1.4.6",
"resolved": "https://registry.npmmirror.com/glsx-common/download/glsx-common-1.4.4.tgz", "resolved": "https://registry.npmmirror.com/glsx-common/download/glsx-common-1.4.6.tgz",
"integrity": "sha1-WCA0gtJw5Lu60Ag9Zz/gxY65n8w=", "integrity": "sha1-9d2r/+KTOf0h4ZE6zX2luRXtgx0=",
"dev": true,
"requires": { "requires": {
"axios": "^0.21.3", "axios": "^0.21.3",
"md5": "^2.3.0", "md5": "^2.3.0",
...@@ -5871,6 +5884,7 @@ ...@@ -5871,6 +5884,7 @@
"version": "0.21.4", "version": "0.21.4",
"resolved": "https://registry.npmmirror.com/axios/download/axios-0.21.4.tgz?cache=0&sync_timestamp=1633067660010&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Faxios%2Fdownload%2Faxios-0.21.4.tgz", "resolved": "https://registry.npmmirror.com/axios/download/axios-0.21.4.tgz?cache=0&sync_timestamp=1633067660010&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Faxios%2Fdownload%2Faxios-0.21.4.tgz",
"integrity": "sha1-xnuQ3AVo5cHPKwuFjEO6KOLtpXU=", "integrity": "sha1-xnuQ3AVo5cHPKwuFjEO6KOLtpXU=",
"dev": true,
"requires": { "requires": {
"follow-redirects": "^1.14.0" "follow-redirects": "^1.14.0"
} }
...@@ -5878,12 +5892,14 @@ ...@@ -5878,12 +5892,14 @@
"follow-redirects": { "follow-redirects": {
"version": "1.14.4", "version": "1.14.4",
"resolved": "https://registry.nlark.com/follow-redirects/download/follow-redirects-1.14.4.tgz?cache=0&sync_timestamp=1631622163078&other_urls=https%3A%2F%2Fregistry.nlark.com%2Ffollow-redirects%2Fdownload%2Ffollow-redirects-1.14.4.tgz", "resolved": "https://registry.nlark.com/follow-redirects/download/follow-redirects-1.14.4.tgz?cache=0&sync_timestamp=1631622163078&other_urls=https%3A%2F%2Fregistry.nlark.com%2Ffollow-redirects%2Fdownload%2Ffollow-redirects-1.14.4.tgz",
"integrity": "sha1-g4/fSKi73XnlLuUfsclOPtmLk3k=" "integrity": "sha1-g4/fSKi73XnlLuUfsclOPtmLk3k=",
"dev": true
}, },
"qs": { "qs": {
"version": "6.10.1", "version": "6.10.1",
"resolved": "https://registry.nlark.com/qs/download/qs-6.10.1.tgz", "resolved": "https://registry.nlark.com/qs/download/qs-6.10.1.tgz",
"integrity": "sha1-STFIL6jWR6Wqt5nFJx0hM7mB+2o=", "integrity": "sha1-STFIL6jWR6Wqt5nFJx0hM7mB+2o=",
"dev": true,
"requires": { "requires": {
"side-channel": "^1.0.4" "side-channel": "^1.0.4"
} }
...@@ -5891,9 +5907,10 @@ ...@@ -5891,9 +5907,10 @@
} }
}, },
"glsx-components": { "glsx-components": {
"version": "1.0.6", "version": "1.0.8",
"resolved": "https://registry.npmmirror.com/glsx-components/download/glsx-components-1.0.6.tgz", "resolved": "https://registry.npmmirror.com/glsx-components/download/glsx-components-1.0.8.tgz",
"integrity": "sha1-tnrRdgyDpqwA1Ey0qT77GsKqFM4=", "integrity": "sha1-WrbF7R0J75U3UwslqKHUps3QWwo=",
"dev": true,
"requires": { "requires": {
"core-js": "^3.6.5", "core-js": "^3.6.5",
"element-ui": "^2.15.6", "element-ui": "^2.15.6",
...@@ -5904,7 +5921,8 @@ ...@@ -5904,7 +5921,8 @@
"core-js": { "core-js": {
"version": "3.18.3", "version": "3.18.3",
"resolved": "https://registry.npmmirror.com/core-js/download/core-js-3.18.3.tgz", "resolved": "https://registry.npmmirror.com/core-js/download/core-js-3.18.3.tgz",
"integrity": "sha1-hqC7otjsPfhg/vzAeo0Rl3nwFQk=" "integrity": "sha1-hqC7otjsPfhg/vzAeo0Rl3nwFQk=",
"dev": true
} }
} }
}, },
...@@ -5970,6 +5988,7 @@ ...@@ -5970,6 +5988,7 @@
"version": "1.0.3", "version": "1.0.3",
"resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
"integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
"dev": true,
"requires": { "requires": {
"function-bind": "^1.1.1" "function-bind": "^1.1.1"
} }
...@@ -6000,7 +6019,8 @@ ...@@ -6000,7 +6019,8 @@
"has-symbols": { "has-symbols": {
"version": "1.0.1", "version": "1.0.1",
"resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz", "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz",
"integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==" "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==",
"dev": true
}, },
"has-unicode": { "has-unicode": {
"version": "2.0.1", "version": "2.0.1",
...@@ -6609,7 +6629,8 @@ ...@@ -6609,7 +6629,8 @@
"is-buffer": { "is-buffer": {
"version": "1.1.6", "version": "1.1.6",
"resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz",
"integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==" "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==",
"dev": true
}, },
"is-callable": { "is-callable": {
"version": "1.1.5", "version": "1.1.5",
...@@ -7346,6 +7367,7 @@ ...@@ -7346,6 +7367,7 @@
"version": "2.3.0", "version": "2.3.0",
"resolved": "https://registry.npm.taobao.org/md5/download/md5-2.3.0.tgz", "resolved": "https://registry.npm.taobao.org/md5/download/md5-2.3.0.tgz",
"integrity": "sha1-w9qaaq46MLRreww0m4exENw72k8=", "integrity": "sha1-w9qaaq46MLRreww0m4exENw72k8=",
"dev": true,
"requires": { "requires": {
"charenc": "0.0.2", "charenc": "0.0.2",
"crypt": "0.0.2", "crypt": "0.0.2",
...@@ -8038,7 +8060,8 @@ ...@@ -8038,7 +8060,8 @@
"normalize-wheel": { "normalize-wheel": {
"version": "1.0.1", "version": "1.0.1",
"resolved": "https://registry.npm.taobao.org/normalize-wheel/download/normalize-wheel-1.0.1.tgz", "resolved": "https://registry.npm.taobao.org/normalize-wheel/download/normalize-wheel-1.0.1.tgz",
"integrity": "sha1-rsiGr/2wRQcNhWRH32Ls+GFG7EU=" "integrity": "sha1-rsiGr/2wRQcNhWRH32Ls+GFG7EU=",
"dev": true
}, },
"npm-run-path": { "npm-run-path": {
"version": "2.0.2", "version": "2.0.2",
...@@ -9783,7 +9806,8 @@ ...@@ -9783,7 +9806,8 @@
"resize-observer-polyfill": { "resize-observer-polyfill": {
"version": "1.5.1", "version": "1.5.1",
"resolved": "https://registry.nlark.com/resize-observer-polyfill/download/resize-observer-polyfill-1.5.1.tgz", "resolved": "https://registry.nlark.com/resize-observer-polyfill/download/resize-observer-polyfill-1.5.1.tgz",
"integrity": "sha1-DpAg3T0hAkRY1OvSfiPkAmmBBGQ=" "integrity": "sha1-DpAg3T0hAkRY1OvSfiPkAmmBBGQ=",
"dev": true
}, },
"resolve": { "resolve": {
"version": "1.14.1", "version": "1.14.1",
...@@ -10244,6 +10268,7 @@ ...@@ -10244,6 +10268,7 @@
"version": "1.1.1", "version": "1.1.1",
"resolved": "https://registry.npm.taobao.org/sha1/download/sha1-1.1.1.tgz", "resolved": "https://registry.npm.taobao.org/sha1/download/sha1-1.1.1.tgz",
"integrity": "sha1-rdqnqTFo85PxnrKxUJFhjicA+Eg=", "integrity": "sha1-rdqnqTFo85PxnrKxUJFhjicA+Eg=",
"dev": true,
"requires": { "requires": {
"charenc": ">= 0.0.1", "charenc": ">= 0.0.1",
"crypt": ">= 0.0.1" "crypt": ">= 0.0.1"
...@@ -10283,6 +10308,7 @@ ...@@ -10283,6 +10308,7 @@
"version": "1.0.4", "version": "1.0.4",
"resolved": "https://registry.nlark.com/side-channel/download/side-channel-1.0.4.tgz", "resolved": "https://registry.nlark.com/side-channel/download/side-channel-1.0.4.tgz",
"integrity": "sha1-785cj9wQTudRslxY1CkAEfpeos8=", "integrity": "sha1-785cj9wQTudRslxY1CkAEfpeos8=",
"dev": true,
"requires": { "requires": {
"call-bind": "^1.0.0", "call-bind": "^1.0.0",
"get-intrinsic": "^1.0.2", "get-intrinsic": "^1.0.2",
...@@ -10292,7 +10318,8 @@ ...@@ -10292,7 +10318,8 @@
"object-inspect": { "object-inspect": {
"version": "1.11.0", "version": "1.11.0",
"resolved": "https://registry.nlark.com/object-inspect/download/object-inspect-1.11.0.tgz?cache=0&sync_timestamp=1626120241132&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fobject-inspect%2Fdownload%2Fobject-inspect-1.11.0.tgz", "resolved": "https://registry.nlark.com/object-inspect/download/object-inspect-1.11.0.tgz?cache=0&sync_timestamp=1626120241132&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fobject-inspect%2Fdownload%2Fobject-inspect-1.11.0.tgz",
"integrity": "sha1-nc6xRs7dQUig2eUauI00z1CZIrE=" "integrity": "sha1-nc6xRs7dQUig2eUauI00z1CZIrE=",
"dev": true
} }
} }
}, },
...@@ -11088,7 +11115,8 @@ ...@@ -11088,7 +11115,8 @@
"throttle-debounce": { "throttle-debounce": {
"version": "1.1.0", "version": "1.1.0",
"resolved": "https://registry.npm.taobao.org/throttle-debounce/download/throttle-debounce-1.1.0.tgz?cache=0&sync_timestamp=1604313832516&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fthrottle-debounce%2Fdownload%2Fthrottle-debounce-1.1.0.tgz", "resolved": "https://registry.npm.taobao.org/throttle-debounce/download/throttle-debounce-1.1.0.tgz?cache=0&sync_timestamp=1604313832516&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fthrottle-debounce%2Fdownload%2Fthrottle-debounce-1.1.0.tgz",
"integrity": "sha1-UYU9o3vmihVctugns1FKPEIuic0=" "integrity": "sha1-UYU9o3vmihVctugns1FKPEIuic0=",
"dev": true
}, },
"through": { "through": {
"version": "2.3.8", "version": "2.3.8",
......
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
"axios": "^0.21.1", "axios": "^0.21.1",
"core-js": "^3.4.4", "core-js": "^3.4.4",
"el-tree-transfer": "^2.2.6", "el-tree-transfer": "^2.2.6",
"glsx-components": "^1.0.6",
"vue": "^2.6.10", "vue": "^2.6.10",
"vue-router": "^3.1.3", "vue-router": "^3.1.3",
"vuex": "^3.1.2" "vuex": "^3.1.2"
...@@ -28,7 +27,8 @@ ...@@ -28,7 +27,8 @@
"eslint": "^5.16.0", "eslint": "^5.16.0",
"eslint-plugin-prettier": "^3.1.1", "eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-vue": "^5.0.0", "eslint-plugin-vue": "^5.0.0",
"glsx-common": "^1.4.4", "glsx-common": "^1.4.6",
"glsx-components": "^1.0.8",
"node-sass": "^4.14.1", "node-sass": "^4.14.1",
"prettier": "^1.19.1", "prettier": "^1.19.1",
"sass-loader": "^8.0.0", "sass-loader": "^8.0.0",
......
...@@ -4,7 +4,7 @@ import { fetchConfig } from '@/config' ...@@ -4,7 +4,7 @@ import { fetchConfig } from '@/config'
import { GLButton, GLTable, GLExternal } from 'glsx-components' //权限按钮 (根据权限动态创建) import { GLButton, GLTable, GLExternal } from 'glsx-components' //权限按钮 (根据权限动态创建)
import { getRoutes } from '@/router' import { getRoutes } from '@/router'
import render from './render' import render from './render'
import 'glsx-components/dist/glsx-components.css' import 'glsx-components/src/theme/theme.scss'
import ElementUI from 'element-ui' import ElementUI from 'element-ui'
let routes = [] let routes = []
let router = null let router = null
......
...@@ -175,8 +175,10 @@ export default { ...@@ -175,8 +175,10 @@ export default {
overflow-x: hidden; overflow-x: hidden;
} }
.bloc-info-module /deep/ .el-table__body-wrapper::-webkit-scrollbar { .bloc-info-module /deep/ .el-table__body-wrapper::-webkit-scrollbar {
display: none; height: 1px;
width: 8px; width: 8px;
}
.bloc-info-module /deep/ .el-table__body-wrapper::-webkit-scrollbar-thumb {
background: #E9E8FF; background: #E9E8FF;
border-radius: 7px; border-radius: 7px;
} }
......
...@@ -42,7 +42,6 @@ export default { ...@@ -42,7 +42,6 @@ export default {
} }
}, },
created() { created() {
console.log(this.$globalState)
const { session } = this.$globalState const { session } = this.$globalState
this.platform = session.merchantModel this.platform = session.merchantModel
this.loginInfo = session this.loginInfo = session
...@@ -60,23 +59,19 @@ export default { ...@@ -60,23 +59,19 @@ export default {
item.date = `${this.dateFormat(item.starttime, 'YYYY.MM.DD')}--${this.dateFormat(item.endtime, 'YYYY.MM.DD')}` item.date = `${this.dateFormat(item.starttime, 'YYYY.MM.DD')}--${this.dateFormat(item.endtime, 'YYYY.MM.DD')}`
return item return item
}) })
let aaa = this.storesList[0]
for (let i = 0; i < 30; i++) {
this.storesList.push(aaa)
}
}) })
}, },
dateFormat: function (dateTime, format = 'yyyy-MM-dd') { dateFormat: function (dateTime, format = 'yyyy-MM-dd') {
const date = new Date(dateTime) const date = new Date(dateTime)
const config = { const config = {
YYYY: date.getFullYear(), YYYY: date.getFullYear(),
MM: date.getMonth()+1,//getMonth() 方法根据本地时间返回指定日期的月份(从 0 到 11) MM: date.getMonth() + 1, //getMonth() 方法根据本地时间返回指定日期的月份(从 0 到 11)
DD: date.getDate(), DD: date.getDate(),
HH: date.getHours(), HH: date.getHours(),
mm: date.getMinutes(), mm: date.getMinutes(),
ss: date.getSeconds(), ss: date.getSeconds()
} }
for(const key in config){ for (const key in config) {
format = format.replace(key, config[key]) format = format.replace(key, config[key])
} }
return format return format
...@@ -85,7 +80,7 @@ export default { ...@@ -85,7 +80,7 @@ export default {
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.out_main{ .out_main {
box-sizing: border-box; box-sizing: border-box;
padding: 0 20px 64px 40px; padding: 0 20px 64px 40px;
} }
...@@ -98,8 +93,12 @@ export default { ...@@ -98,8 +93,12 @@ export default {
overflow-y: scroll; overflow-y: scroll;
} }
.base-info-index::-webkit-scrollbar { .base-info-index::-webkit-scrollbar {
display: none; height: 1px;
width: 0px; width: 8px;
}
.base-info-index::-webkit-scrollbar-thumb {
background: #e9e8ff;
border-radius: 7px;
} }
.top_widget { .top_widget {
width: 100%; width: 100%;
......
...@@ -74,14 +74,15 @@ export default { ...@@ -74,14 +74,15 @@ export default {
value: 'id', value: 'id',
label: 'label', label: 'label',
children: 'children', children: 'children',
disabled:'entmicroName' checkStrictly: true,
disabled: 'entmicroName'
}, },
mypropsParam: { mypropsParam: {
label: 'departmentName', label: 'departmentName',
value: 'id', value: 'id',
children: 'children', children: 'children',
checkStrictly: true, checkStrictly: true,
disabled:'relevanceMerchant' disabled: 'relevanceMerchant'
}, },
dataList: [], dataList: [],
customWidth: 113, customWidth: 113,
...@@ -111,7 +112,7 @@ export default { ...@@ -111,7 +112,7 @@ export default {
merchantId: id, merchantId: id,
merchantName: curLabel merchantName: curLabel
} }
this.$refs.cascaderRef1.dropDownVisible = false
}, },
// 获取当前选择的部门 // 获取当前选择的部门
getCurDepartment(val) { getCurDepartment(val) {
...@@ -120,7 +121,7 @@ export default { ...@@ -120,7 +121,7 @@ export default {
let curLabel = labels[labels.length - 1] let curLabel = labels[labels.length - 1]
this.tempDepart = { this.tempDepart = {
departmentId: ids, departmentId: ids,
departmentName: curLabel, departmentName: curLabel
} }
this.$refs.cascaderRef.dropDownVisible = false this.$refs.cascaderRef.dropDownVisible = false
}, },
...@@ -136,23 +137,23 @@ export default { ...@@ -136,23 +137,23 @@ export default {
}, },
// 关联当前选择的 // 关联当前选择的
handlerGL() { handlerGL() {
if(!this.curTempMerchant){ if (!this.curTempMerchant) {
this.$message({ this.$message({
message: '请选择门店/商户', message: '请选择门店/商户',
type: 'warning' type: 'warning'
}) })
return; return
} }
if(!this.tempDepart){ if (!this.tempDepart) {
this.$message({ this.$message({
message: '请选择企微门店', message: '请选择企微门店',
type: 'warning' type: 'warning'
}) })
return; return
} }
this.curGLData = { this.curGLData = {
...this.curTempMerchant, ...this.curTempMerchant,
...this.tempDepart, ...this.tempDepart
} }
let flag = false let flag = false
this.dataList.forEach(item => { this.dataList.forEach(item => {
...@@ -170,37 +171,59 @@ export default { ...@@ -170,37 +171,59 @@ export default {
this.dataList.push(this.curGLData) this.dataList.push(this.curGLData)
this.setBtnWidth() this.setBtnWidth()
}, },
closeCurRouter(){ closeCurRouter() {
history.go(-1) history.go(-1)
}, },
// 批量关联 // 批量关联
handleMutiGL() { handleMutiGL() {
if(!this.dataList.length){ if (!this.dataList.length) {
this.$message({ this.$message({
message: '请选择', message: '请选择',
type: 'warning' type: 'warning'
}) })
return; return
} }
let merchantIds = [] let merchantIds = []
let departmentIds = [] let departmentIds = []
let departNames = [] let departNames = []
let arrpara1 = []
let arrpara2 = []
let arrpara3 = []
this.dataList.forEach(item => { this.dataList.forEach(item => {
merchantIds.push(item.merchantId) merchantIds.push(item.merchantId)
departmentIds.push(item.departmentId) departmentIds.push(item.departmentId)
departNames.push(item.departmentName) departNames.push(item.departmentName)
}) })
let para = { merchantIds.forEach((item, index) => {
'list.merchantId': merchantIds, let keyval = `list[${index}].merchantId`
'list.departmentId': departmentIds, let val = item
'list.departName': departNames, arrpara1.push({
} [keyval]: val
})
})
departmentIds.forEach((item, index) => {
let keyval = `list[${index}].departmentId`
let val = item
arrpara2.push({
[keyval]: val
})
})
departNames.forEach((item, index) => {
let keyval = `list[${index}].departName`
let val = item
arrpara3.push({
[keyval]: val
})
})
let all = [...arrpara1, ...arrpara2, ...arrpara3]
let para = Object.assign({}, ...all)
toGL(para).then(res => { toGL(para).then(res => {
if (res) { if (res) {
this.$message({ this.$message({
message: '操作成功', message: '操作成功',
type: 'success' type: 'success'
}) })
history.go(-1)
} }
}) })
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!