Commit a13672f7 by 前端

Merge branch 'develop' into 'master'

Develop

See merge request !214
2 parents 319cfbf3 dc35dd51
...@@ -1668,7 +1668,7 @@ ...@@ -1668,7 +1668,7 @@
}, },
"abbrev": { "abbrev": {
"version": "1.1.1", "version": "1.1.1",
"resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", "resolved": "https://registry.npmmirror.com/abbrev/-/abbrev-1.1.1.tgz",
"integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==" "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q=="
}, },
"accepts": { "accepts": {
...@@ -1763,8 +1763,8 @@ ...@@ -1763,8 +1763,8 @@
}, },
"ansi-gray": { "ansi-gray": {
"version": "0.1.1", "version": "0.1.1",
"resolved": "https://registry.npmjs.org/ansi-gray/-/ansi-gray-0.1.1.tgz", "resolved": "https://registry.npmmirror.com/ansi-gray/-/ansi-gray-0.1.1.tgz",
"integrity": "sha1-KWLPVOyXksSFEKPetSRDaGHvclE=", "integrity": "sha512-HrgGIZUl8h2EHuZaU9hTR/cU5nhKxpVE1V6kdGsQ8e4zirElJ5fvtfc8N7Q1oq1aatO275i8pUFUCpNWCAnVWw==",
"requires": { "requires": {
"ansi-wrap": "0.1.0" "ansi-wrap": "0.1.0"
} }
...@@ -1792,8 +1792,8 @@ ...@@ -1792,8 +1792,8 @@
}, },
"ansi-wrap": { "ansi-wrap": {
"version": "0.1.0", "version": "0.1.0",
"resolved": "https://registry.npmjs.org/ansi-wrap/-/ansi-wrap-0.1.0.tgz", "resolved": "https://registry.npmmirror.com/ansi-wrap/-/ansi-wrap-0.1.0.tgz",
"integrity": "sha1-qCJQ3bABXponyoLoLqYDu/pF768=" "integrity": "sha512-ZyznvL8k/FZeQHr2T6LzcJ/+vBApDnMNZvfVFy3At0knswWd6rJ3/0Hhmpu8oqa6C92npmozs890sX9Dl6q+Qw=="
}, },
"any-promise": { "any-promise": {
"version": "1.3.0", "version": "1.3.0",
...@@ -1822,8 +1822,8 @@ ...@@ -1822,8 +1822,8 @@
}, },
"append-buffer": { "append-buffer": {
"version": "1.0.2", "version": "1.0.2",
"resolved": "https://registry.npmjs.org/append-buffer/-/append-buffer-1.0.2.tgz", "resolved": "https://registry.npmmirror.com/append-buffer/-/append-buffer-1.0.2.tgz",
"integrity": "sha1-2CIM9GYIFSXv6lBhTz3mUU36WPE=", "integrity": "sha512-WLbYiXzD3y/ATLZFufV/rZvWdZOs+Z/+5v1rBZ463Jn398pa6kcde27cvozYnBoxXblGZTFfoPpsaEw0orU5BA==",
"requires": { "requires": {
"buffer-equal": "^1.0.0" "buffer-equal": "^1.0.0"
} }
...@@ -1841,12 +1841,12 @@ ...@@ -1841,12 +1841,12 @@
}, },
"archy": { "archy": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/archy/-/archy-1.0.0.tgz", "resolved": "https://registry.npmmirror.com/archy/-/archy-1.0.0.tgz",
"integrity": "sha1-+cjBN1fMHde8N5rHeyxipcKGjEA=" "integrity": "sha512-Xg+9RwCg/0p32teKdGMPTPnVXKD0w3DfHnFTficozsAgsvq2XenPJq/MYpzzQ/v8zrOyJn6Ds39VA4JIDwFfqw=="
}, },
"are-we-there-yet": { "are-we-there-yet": {
"version": "1.1.7", "version": "1.1.7",
"resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.7.tgz", "resolved": "https://registry.npmmirror.com/are-we-there-yet/-/are-we-there-yet-1.1.7.tgz",
"integrity": "sha512-nxwy40TuMiUGqMyRHgCSWZ9FM4VAoRP4xUYSTv5ImRog+h9yISPbVH7H8fASCIzYn9wlEv4zvFL7uKDMCFQm3g==", "integrity": "sha512-nxwy40TuMiUGqMyRHgCSWZ9FM4VAoRP4xUYSTv5ImRog+h9yISPbVH7H8fASCIzYn9wlEv4zvFL7uKDMCFQm3g==",
"requires": { "requires": {
"delegates": "^1.0.0", "delegates": "^1.0.0",
...@@ -1869,8 +1869,8 @@ ...@@ -1869,8 +1869,8 @@
}, },
"arr-filter": { "arr-filter": {
"version": "1.1.2", "version": "1.1.2",
"resolved": "https://registry.npmjs.org/arr-filter/-/arr-filter-1.1.2.tgz", "resolved": "https://registry.npmmirror.com/arr-filter/-/arr-filter-1.1.2.tgz",
"integrity": "sha1-Q/3d0JHo7xGqTEXZzcGOLf8XEe4=", "integrity": "sha512-A2BETWCqhsecSvCkWAeVBFLH6sXEUGASuzkpjL3GR1SlL/PWL6M3J8EAAld2Uubmh39tvkJTqC9LeLHCUKmFXA==",
"requires": { "requires": {
"make-iterator": "^1.0.0" "make-iterator": "^1.0.0"
} }
...@@ -1882,8 +1882,8 @@ ...@@ -1882,8 +1882,8 @@
}, },
"arr-map": { "arr-map": {
"version": "2.0.2", "version": "2.0.2",
"resolved": "https://registry.npmjs.org/arr-map/-/arr-map-2.0.2.tgz", "resolved": "https://registry.npmmirror.com/arr-map/-/arr-map-2.0.2.tgz",
"integrity": "sha1-Onc0X/wc814qkYJWAfnljy4kysQ=", "integrity": "sha512-tVqVTHt+Q5Xb09qRkbu+DidW1yYzz5izWS2Xm2yFm7qJnmUfz4HPzNxbHkdRJbz2lrqI7S+z17xNYdFcBBO8Hw==",
"requires": { "requires": {
"make-iterator": "^1.0.0" "make-iterator": "^1.0.0"
} }
...@@ -1895,8 +1895,8 @@ ...@@ -1895,8 +1895,8 @@
}, },
"array-each": { "array-each": {
"version": "1.0.1", "version": "1.0.1",
"resolved": "https://registry.npmjs.org/array-each/-/array-each-1.0.1.tgz", "resolved": "https://registry.npmmirror.com/array-each/-/array-each-1.0.1.tgz",
"integrity": "sha1-p5SvDAWrF1KEbudTofIRoFugxE8=" "integrity": "sha512-zHjL5SZa68hkKHBFBK6DJCTtr9sfTCPCaph/L7tMSLcTFgy+zX7E+6q5UArbtOtMBCtxdICpfTCspRse+ywyXA=="
}, },
"array-find-index": { "array-find-index": {
"version": "1.0.2", "version": "1.0.2",
...@@ -1911,8 +1911,8 @@ ...@@ -1911,8 +1911,8 @@
}, },
"array-initial": { "array-initial": {
"version": "1.1.0", "version": "1.1.0",
"resolved": "https://registry.npmjs.org/array-initial/-/array-initial-1.1.0.tgz", "resolved": "https://registry.npmmirror.com/array-initial/-/array-initial-1.1.0.tgz",
"integrity": "sha1-L6dLJnOTccOUe9enrcc74zSz15U=", "integrity": "sha512-BC4Yl89vneCYfpLrs5JU2aAu9/a+xWbeKhvISg9PT7eWFB9UlRvI+rKEtk6mgxWr3dSkk9gQ8hCrdqt06NXPdw==",
"requires": { "requires": {
"array-slice": "^1.0.0", "array-slice": "^1.0.0",
"is-number": "^4.0.0" "is-number": "^4.0.0"
...@@ -1920,14 +1920,14 @@ ...@@ -1920,14 +1920,14 @@
"dependencies": { "dependencies": {
"is-number": { "is-number": {
"version": "4.0.0", "version": "4.0.0",
"resolved": "https://registry.npmjs.org/is-number/-/is-number-4.0.0.tgz", "resolved": "https://registry.npmmirror.com/is-number/-/is-number-4.0.0.tgz",
"integrity": "sha512-rSklcAIlf1OmFdyAqbnWTLVelsQ58uvZ66S/ZyawjWqIviTWCjg2PzVGw8WUA+nNuPTqb4wgA+NszrJ+08LlgQ==" "integrity": "sha512-rSklcAIlf1OmFdyAqbnWTLVelsQ58uvZ66S/ZyawjWqIviTWCjg2PzVGw8WUA+nNuPTqb4wgA+NszrJ+08LlgQ=="
} }
} }
}, },
"array-last": { "array-last": {
"version": "1.3.0", "version": "1.3.0",
"resolved": "https://registry.npmjs.org/array-last/-/array-last-1.3.0.tgz", "resolved": "https://registry.npmmirror.com/array-last/-/array-last-1.3.0.tgz",
"integrity": "sha512-eOCut5rXlI6aCOS7Z7kCplKRKyiFQ6dHFBem4PwlwKeNFk2/XxTrhRh5T9PyaEWGy/NHTZWbY+nsZlNFJu9rYg==", "integrity": "sha512-eOCut5rXlI6aCOS7Z7kCplKRKyiFQ6dHFBem4PwlwKeNFk2/XxTrhRh5T9PyaEWGy/NHTZWbY+nsZlNFJu9rYg==",
"requires": { "requires": {
"is-number": "^4.0.0" "is-number": "^4.0.0"
...@@ -1935,19 +1935,19 @@ ...@@ -1935,19 +1935,19 @@
"dependencies": { "dependencies": {
"is-number": { "is-number": {
"version": "4.0.0", "version": "4.0.0",
"resolved": "https://registry.npmjs.org/is-number/-/is-number-4.0.0.tgz", "resolved": "https://registry.npmmirror.com/is-number/-/is-number-4.0.0.tgz",
"integrity": "sha512-rSklcAIlf1OmFdyAqbnWTLVelsQ58uvZ66S/ZyawjWqIviTWCjg2PzVGw8WUA+nNuPTqb4wgA+NszrJ+08LlgQ==" "integrity": "sha512-rSklcAIlf1OmFdyAqbnWTLVelsQ58uvZ66S/ZyawjWqIviTWCjg2PzVGw8WUA+nNuPTqb4wgA+NszrJ+08LlgQ=="
} }
} }
}, },
"array-slice": { "array-slice": {
"version": "1.1.0", "version": "1.1.0",
"resolved": "https://registry.npmjs.org/array-slice/-/array-slice-1.1.0.tgz", "resolved": "https://registry.npmmirror.com/array-slice/-/array-slice-1.1.0.tgz",
"integrity": "sha512-B1qMD3RBP7O8o0H2KbrXDyB0IccejMF15+87Lvlor12ONPRHP6gTjXMNkt/d3ZuOGbAe66hFmaCfECI24Ufp6w==" "integrity": "sha512-B1qMD3RBP7O8o0H2KbrXDyB0IccejMF15+87Lvlor12ONPRHP6gTjXMNkt/d3ZuOGbAe66hFmaCfECI24Ufp6w=="
}, },
"array-sort": { "array-sort": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/array-sort/-/array-sort-1.0.0.tgz", "resolved": "https://registry.npmmirror.com/array-sort/-/array-sort-1.0.0.tgz",
"integrity": "sha512-ihLeJkonmdiAsD7vpgN3CRcx2J2S0TiYW+IS/5zHBI7mKUq3ySvBdzzBfD236ubDBQFiiyG3SWCPc+msQ9KoYg==", "integrity": "sha512-ihLeJkonmdiAsD7vpgN3CRcx2J2S0TiYW+IS/5zHBI7mKUq3ySvBdzzBfD236ubDBQFiiyG3SWCPc+msQ9KoYg==",
"requires": { "requires": {
"default-compare": "^1.0.0", "default-compare": "^1.0.0",
...@@ -1957,7 +1957,7 @@ ...@@ -1957,7 +1957,7 @@
"dependencies": { "dependencies": {
"kind-of": { "kind-of": {
"version": "5.1.0", "version": "5.1.0",
"resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", "resolved": "https://registry.npmmirror.com/kind-of/-/kind-of-5.1.0.tgz",
"integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==" "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw=="
} }
} }
...@@ -2055,7 +2055,7 @@ ...@@ -2055,7 +2055,7 @@
}, },
"async-done": { "async-done": {
"version": "1.3.2", "version": "1.3.2",
"resolved": "https://registry.npmjs.org/async-done/-/async-done-1.3.2.tgz", "resolved": "https://registry.npmmirror.com/async-done/-/async-done-1.3.2.tgz",
"integrity": "sha512-uYkTP8dw2og1tu1nmza1n1CMW0qb8gWWlwqMmLb7MhBVs4BXrFziT6HXUd+/RlRA/i4H9AkofYloUbs1fwMqlw==", "integrity": "sha512-uYkTP8dw2og1tu1nmza1n1CMW0qb8gWWlwqMmLb7MhBVs4BXrFziT6HXUd+/RlRA/i4H9AkofYloUbs1fwMqlw==",
"requires": { "requires": {
"end-of-stream": "^1.1.0", "end-of-stream": "^1.1.0",
...@@ -2082,8 +2082,8 @@ ...@@ -2082,8 +2082,8 @@
}, },
"async-settle": { "async-settle": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/async-settle/-/async-settle-1.0.0.tgz", "resolved": "https://registry.npmmirror.com/async-settle/-/async-settle-1.0.0.tgz",
"integrity": "sha1-HQqRS7Aldb7IqPOnTlCA9yssDGs=", "integrity": "sha512-VPXfB4Vk49z1LHHodrEQ6Xf7W4gg1w0dAPROHngx7qgDjqmIQ+fXmwgGXTW/ITLai0YLSvWepJOP9EVpMnEAcw==",
"requires": { "requires": {
"async-done": "^1.2.2" "async-done": "^1.2.2"
} }
...@@ -2249,8 +2249,8 @@ ...@@ -2249,8 +2249,8 @@
}, },
"bach": { "bach": {
"version": "1.2.0", "version": "1.2.0",
"resolved": "https://registry.npmjs.org/bach/-/bach-1.2.0.tgz", "resolved": "https://registry.npmmirror.com/bach/-/bach-1.2.0.tgz",
"integrity": "sha1-Szzpa/JxNPeaG0FKUcFONMO9mIA=", "integrity": "sha512-bZOOfCb3gXBXbTFXq3OZtGR88LwGeJvzu6szttaIzymOTS4ZttBNOWSv7aLZja2EMycKtRYV0Oa8SNKH/zkxvg==",
"requires": { "requires": {
"arr-filter": "^1.1.1", "arr-filter": "^1.1.1",
"arr-flatten": "^1.0.1", "arr-flatten": "^1.0.1",
...@@ -2596,8 +2596,8 @@ ...@@ -2596,8 +2596,8 @@
}, },
"buffer-equal": { "buffer-equal": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/buffer-equal/-/buffer-equal-1.0.0.tgz", "resolved": "https://registry.npmmirror.com/buffer-equal/-/buffer-equal-1.0.0.tgz",
"integrity": "sha1-WWFrSYME1Var1GaWayLu2j7KX74=" "integrity": "sha512-tcBWO2Dl4e7Asr9hTGcpVrCe+F7DubpmqWCTbj4FHLmjqO2hIaC383acQubWtRJhdceqs5uBHs6Es+Sk//RKiQ=="
}, },
"buffer-from": { "buffer-from": {
"version": "1.1.1", "version": "1.1.1",
...@@ -3135,8 +3135,8 @@ ...@@ -3135,8 +3135,8 @@
}, },
"clone-buffer": { "clone-buffer": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/clone-buffer/-/clone-buffer-1.0.0.tgz", "resolved": "https://registry.npmmirror.com/clone-buffer/-/clone-buffer-1.0.0.tgz",
"integrity": "sha1-4+JbIHrE5wGvch4staFnksrD3Fg=" "integrity": "sha512-KLLTJWrvwIP+OPfMn0x2PheDEP20RPUcGXj/ERegTgdmPEZylALQldygiqrPPu8P45uNuPs7ckmReLY6v/iA5g=="
}, },
"clone-deep": { "clone-deep": {
"version": "4.0.1", "version": "4.0.1",
...@@ -3151,12 +3151,12 @@ ...@@ -3151,12 +3151,12 @@
}, },
"clone-stats": { "clone-stats": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/clone-stats/-/clone-stats-1.0.0.tgz", "resolved": "https://registry.npmmirror.com/clone-stats/-/clone-stats-1.0.0.tgz",
"integrity": "sha1-s3gt/4u1R04Yuba/D9/ngvh3doA=" "integrity": "sha512-au6ydSpg6nsrigcZ4m8Bc9hxjeW+GJ8xh5G3BJCMt4WXe1H10UNaVOamqQTmrx1kjVuxAHIQSNU6hY4Nsn9/ag=="
}, },
"cloneable-readable": { "cloneable-readable": {
"version": "1.1.3", "version": "1.1.3",
"resolved": "https://registry.npmjs.org/cloneable-readable/-/cloneable-readable-1.1.3.tgz", "resolved": "https://registry.npmmirror.com/cloneable-readable/-/cloneable-readable-1.1.3.tgz",
"integrity": "sha512-2EF8zTQOxYq70Y4XKtorQupqF0m49MBz2/yf5Bj+MHjvpG3Hy7sImifnqD6UA+TKYxeSV+u6qqQPawN5UvnpKQ==", "integrity": "sha512-2EF8zTQOxYq70Y4XKtorQupqF0m49MBz2/yf5Bj+MHjvpG3Hy7sImifnqD6UA+TKYxeSV+u6qqQPawN5UvnpKQ==",
"requires": { "requires": {
"inherits": "^2.0.1", "inherits": "^2.0.1",
...@@ -3182,8 +3182,8 @@ ...@@ -3182,8 +3182,8 @@
}, },
"collection-map": { "collection-map": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/collection-map/-/collection-map-1.0.0.tgz", "resolved": "https://registry.npmmirror.com/collection-map/-/collection-map-1.0.0.tgz",
"integrity": "sha1-rqDwb40mx4DCt1SUOFVEsiVa8Yw=", "integrity": "sha512-5D2XXSpkOnleOI21TG7p3T0bGAsZ/XknZpKBmGYyluO8pw4zA3K8ZlrBIbC4FXg3m6z/RNFiUFfT2sQK01+UHA==",
"requires": { "requires": {
"arr-map": "^2.0.2", "arr-map": "^2.0.2",
"for-own": "^1.0.0", "for-own": "^1.0.0",
...@@ -3236,7 +3236,7 @@ ...@@ -3236,7 +3236,7 @@
}, },
"color-support": { "color-support": {
"version": "1.1.3", "version": "1.1.3",
"resolved": "https://registry.npmjs.org/color-support/-/color-support-1.1.3.tgz", "resolved": "https://registry.npmmirror.com/color-support/-/color-support-1.1.3.tgz",
"integrity": "sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==" "integrity": "sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg=="
}, },
"combined-stream": { "combined-stream": {
...@@ -3415,7 +3415,7 @@ ...@@ -3415,7 +3415,7 @@
}, },
"copy-props": { "copy-props": {
"version": "2.0.5", "version": "2.0.5",
"resolved": "https://registry.npmjs.org/copy-props/-/copy-props-2.0.5.tgz", "resolved": "https://registry.npmmirror.com/copy-props/-/copy-props-2.0.5.tgz",
"integrity": "sha512-XBlx8HSqrT0ObQwmSzM7WE5k8FxTV75h1DX1Z3n6NhQ/UYYAvInWYmG06vFt7hQZArE2fuO62aihiWIVQwh1sw==", "integrity": "sha512-XBlx8HSqrT0ObQwmSzM7WE5k8FxTV75h1DX1Z3n6NhQ/UYYAvInWYmG06vFt7hQZArE2fuO62aihiWIVQwh1sw==",
"requires": { "requires": {
"each-props": "^1.3.2", "each-props": "^1.3.2",
...@@ -3424,7 +3424,7 @@ ...@@ -3424,7 +3424,7 @@
"dependencies": { "dependencies": {
"is-plain-object": { "is-plain-object": {
"version": "5.0.0", "version": "5.0.0",
"resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz", "resolved": "https://registry.npmmirror.com/is-plain-object/-/is-plain-object-5.0.0.tgz",
"integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==" "integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q=="
} }
} }
...@@ -3519,7 +3519,7 @@ ...@@ -3519,7 +3519,7 @@
}, },
"core-js-pure": { "core-js-pure": {
"version": "3.21.1", "version": "3.21.1",
"resolved": "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.21.1.tgz", "resolved": "https://registry.npmmirror.com/core-js-pure/-/core-js-pure-3.21.1.tgz",
"integrity": "sha512-12VZfFIu+wyVbBebyHmRTuEE/tZrB4tJToWcwAMcsp3h4+sHR+fMJWbKpYiCRWlhFBq+KNyO8rIV9rTkeVmznQ==" "integrity": "sha512-12VZfFIu+wyVbBebyHmRTuEE/tZrB4tJToWcwAMcsp3h4+sHR+fMJWbKpYiCRWlhFBq+KNyO8rIV9rTkeVmznQ=="
}, },
"core-util-is": { "core-util-is": {
...@@ -3825,7 +3825,7 @@ ...@@ -3825,7 +3825,7 @@
}, },
"d": { "d": {
"version": "1.0.1", "version": "1.0.1",
"resolved": "https://registry.npmjs.org/d/-/d-1.0.1.tgz", "resolved": "https://registry.npmmirror.com/d/-/d-1.0.1.tgz",
"integrity": "sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==", "integrity": "sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==",
"requires": { "requires": {
"es5-ext": "^0.10.50", "es5-ext": "^0.10.50",
...@@ -3897,7 +3897,7 @@ ...@@ -3897,7 +3897,7 @@
}, },
"default-compare": { "default-compare": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/default-compare/-/default-compare-1.0.0.tgz", "resolved": "https://registry.npmmirror.com/default-compare/-/default-compare-1.0.0.tgz",
"integrity": "sha512-QWfXlM0EkAbqOCbD/6HjdwT19j7WCkMyiRhWilc4H9/5h/RzTF9gv5LYh1+CmDV5d1rki6KAWLtQale0xt20eQ==", "integrity": "sha512-QWfXlM0EkAbqOCbD/6HjdwT19j7WCkMyiRhWilc4H9/5h/RzTF9gv5LYh1+CmDV5d1rki6KAWLtQale0xt20eQ==",
"requires": { "requires": {
"kind-of": "^5.0.2" "kind-of": "^5.0.2"
...@@ -3905,7 +3905,7 @@ ...@@ -3905,7 +3905,7 @@
"dependencies": { "dependencies": {
"kind-of": { "kind-of": {
"version": "5.1.0", "version": "5.1.0",
"resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", "resolved": "https://registry.npmmirror.com/kind-of/-/kind-of-5.1.0.tgz",
"integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==" "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw=="
} }
} }
...@@ -4027,8 +4027,8 @@ ...@@ -4027,8 +4027,8 @@
}, },
"default-resolution": { "default-resolution": {
"version": "2.0.0", "version": "2.0.0",
"resolved": "https://registry.npmjs.org/default-resolution/-/default-resolution-2.0.0.tgz", "resolved": "https://registry.npmmirror.com/default-resolution/-/default-resolution-2.0.0.tgz",
"integrity": "sha1-vLgrqnKtebQmp2cy8aga1t8m1oQ=" "integrity": "sha512-2xaP6GiwVwOEbXCGoJ4ufgC76m8cj805jrghScewJC2ZDsb9U0b4BIrba+xt/Uytyd0HvQ6+WymSRTfnYj59GQ=="
}, },
"defaults": { "defaults": {
"version": "1.0.3", "version": "1.0.3",
...@@ -4162,8 +4162,8 @@ ...@@ -4162,8 +4162,8 @@
}, },
"detect-file": { "detect-file": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/detect-file/-/detect-file-1.0.0.tgz", "resolved": "https://registry.npmmirror.com/detect-file/-/detect-file-1.0.0.tgz",
"integrity": "sha1-8NZtA2cqglyxtzvbP+YjEMjlUrc=" "integrity": "sha512-DtCOLG98P007x7wiiOmfI0fi3eIKyWiLTGJ2MDnVi/E04lWGbf+JzrRHMm0rgIIZJGtHpKpbVgLWHrv8xXpc3Q=="
}, },
"detect-node": { "detect-node": {
"version": "2.0.4", "version": "2.0.4",
...@@ -4323,7 +4323,7 @@ ...@@ -4323,7 +4323,7 @@
}, },
"each-props": { "each-props": {
"version": "1.3.2", "version": "1.3.2",
"resolved": "https://registry.npmjs.org/each-props/-/each-props-1.3.2.tgz", "resolved": "https://registry.npmmirror.com/each-props/-/each-props-1.3.2.tgz",
"integrity": "sha512-vV0Hem3zAGkJAyU7JSjixeU66rwdynTAa1vofCrSA5fEln+m67Az9CcnkVD776/fsN/UjIWmBDoNRS6t6G9RfA==", "integrity": "sha512-vV0Hem3zAGkJAyU7JSjixeU66rwdynTAa1vofCrSA5fEln+m67Az9CcnkVD776/fsN/UjIWmBDoNRS6t6G9RfA==",
"requires": { "requires": {
"is-plain-object": "^2.0.1", "is-plain-object": "^2.0.1",
...@@ -4508,19 +4508,19 @@ ...@@ -4508,19 +4508,19 @@
} }
}, },
"es5-ext": { "es5-ext": {
"version": "0.10.53", "version": "0.10.61",
"resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.53.tgz", "resolved": "https://registry.npmmirror.com/es5-ext/-/es5-ext-0.10.61.tgz",
"integrity": "sha512-Xs2Stw6NiNHWypzRTY1MtaG/uJlwCk8kH81920ma8mvN8Xq1gsfhZvpkImLQArw8AHnv8MT2I45J3c0R8slE+Q==", "integrity": "sha512-yFhIqQAzu2Ca2I4SE2Au3rxVfmohU9Y7wqGR+s7+H7krk26NXhIRAZDgqd6xqjCEFUomDEA3/Bo/7fKmIkW1kA==",
"requires": { "requires": {
"es6-iterator": "~2.0.3", "es6-iterator": "^2.0.3",
"es6-symbol": "~3.1.3", "es6-symbol": "^3.1.3",
"next-tick": "~1.0.0" "next-tick": "^1.1.0"
} }
}, },
"es6-iterator": { "es6-iterator": {
"version": "2.0.3", "version": "2.0.3",
"resolved": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz", "resolved": "https://registry.npmmirror.com/es6-iterator/-/es6-iterator-2.0.3.tgz",
"integrity": "sha1-p96IkUGgWpSwhUQDstCg+/qY87c=", "integrity": "sha512-zw4SRzoUkd+cl+ZoE15A9o1oQd920Bb0iOJMQkQhl3jNc03YqVjAhG7scf9C5KWRU/R13Orf588uCC6525o02g==",
"requires": { "requires": {
"d": "1", "d": "1",
"es5-ext": "^0.10.35", "es5-ext": "^0.10.35",
...@@ -4529,7 +4529,7 @@ ...@@ -4529,7 +4529,7 @@
}, },
"es6-symbol": { "es6-symbol": {
"version": "3.1.3", "version": "3.1.3",
"resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.3.tgz", "resolved": "https://registry.npmmirror.com/es6-symbol/-/es6-symbol-3.1.3.tgz",
"integrity": "sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA==", "integrity": "sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA==",
"requires": { "requires": {
"d": "^1.0.1", "d": "^1.0.1",
...@@ -4538,7 +4538,7 @@ ...@@ -4538,7 +4538,7 @@
}, },
"es6-weak-map": { "es6-weak-map": {
"version": "2.0.3", "version": "2.0.3",
"resolved": "https://registry.npmjs.org/es6-weak-map/-/es6-weak-map-2.0.3.tgz", "resolved": "https://registry.npmmirror.com/es6-weak-map/-/es6-weak-map-2.0.3.tgz",
"integrity": "sha512-p5um32HOTO1kP+w7PRnB+5lQ43Z6muuMuIMffvDN8ZB4GcnjLBV6zGStpbASIMk4DCAvEaamhe2zhyCb/QXXsA==", "integrity": "sha512-p5um32HOTO1kP+w7PRnB+5lQ43Z6muuMuIMffvDN8ZB4GcnjLBV6zGStpbASIMk4DCAvEaamhe2zhyCb/QXXsA==",
"requires": { "requires": {
"d": "1", "d": "1",
...@@ -4852,8 +4852,8 @@ ...@@ -4852,8 +4852,8 @@
}, },
"expand-tilde": { "expand-tilde": {
"version": "2.0.2", "version": "2.0.2",
"resolved": "https://registry.npmjs.org/expand-tilde/-/expand-tilde-2.0.2.tgz", "resolved": "https://registry.npmmirror.com/expand-tilde/-/expand-tilde-2.0.2.tgz",
"integrity": "sha1-l+gBqgUt8CRU3kawK/YhZCzchQI=", "integrity": "sha512-A5EmesHW6rfnZ9ysHQjPdJRni0SRar0tjtG5MNtm9n5TUvsYU8oozprtRD4AqHxcZWWlVuAmQo2nWKfN9oyjTw==",
"requires": { "requires": {
"homedir-polyfill": "^1.0.1" "homedir-polyfill": "^1.0.1"
} }
...@@ -4921,7 +4921,7 @@ ...@@ -4921,7 +4921,7 @@
}, },
"ext": { "ext": {
"version": "1.6.0", "version": "1.6.0",
"resolved": "https://registry.npmjs.org/ext/-/ext-1.6.0.tgz", "resolved": "https://registry.npmmirror.com/ext/-/ext-1.6.0.tgz",
"integrity": "sha512-sdBImtzkq2HpkdRLtlLWDa6w4DX22ijZLKx8BMPUuKe1c5lbN6xwQDQCxSfxBQnHZ13ls/FH0MQZx/q/gr6FQg==", "integrity": "sha512-sdBImtzkq2HpkdRLtlLWDa6w4DX22ijZLKx8BMPUuKe1c5lbN6xwQDQCxSfxBQnHZ13ls/FH0MQZx/q/gr6FQg==",
"requires": { "requires": {
"type": "^2.5.0" "type": "^2.5.0"
...@@ -4929,7 +4929,7 @@ ...@@ -4929,7 +4929,7 @@
"dependencies": { "dependencies": {
"type": { "type": {
"version": "2.6.0", "version": "2.6.0",
"resolved": "https://registry.npmjs.org/type/-/type-2.6.0.tgz", "resolved": "https://registry.npmmirror.com/type/-/type-2.6.0.tgz",
"integrity": "sha512-eiDBDOmkih5pMbo9OqsqPRGMljLodLcwd5XD5JbtNB0o89xZAwynY9EdCDsJU7LtcVCClu9DvM7/0Ep1hYX3EQ==" "integrity": "sha512-eiDBDOmkih5pMbo9OqsqPRGMljLodLcwd5XD5JbtNB0o89xZAwynY9EdCDsJU7LtcVCClu9DvM7/0Ep1hYX3EQ=="
} }
} }
...@@ -5035,7 +5035,7 @@ ...@@ -5035,7 +5035,7 @@
}, },
"fancy-log": { "fancy-log": {
"version": "1.3.3", "version": "1.3.3",
"resolved": "https://registry.npmjs.org/fancy-log/-/fancy-log-1.3.3.tgz", "resolved": "https://registry.npmmirror.com/fancy-log/-/fancy-log-1.3.3.tgz",
"integrity": "sha512-k9oEhlyc0FrVh25qYuSELjr8oxsCoc4/LEZfg2iJJrfEk/tZL9bCoJE47gqAvI2m/AUjluCS4+3I0eTx8n3AEw==", "integrity": "sha512-k9oEhlyc0FrVh25qYuSELjr8oxsCoc4/LEZfg2iJJrfEk/tZL9bCoJE47gqAvI2m/AUjluCS4+3I0eTx8n3AEw==",
"requires": { "requires": {
"ansi-gray": "^0.1.1", "ansi-gray": "^0.1.1",
...@@ -5210,7 +5210,7 @@ ...@@ -5210,7 +5210,7 @@
}, },
"findup-sync": { "findup-sync": {
"version": "3.0.0", "version": "3.0.0",
"resolved": "https://registry.npmjs.org/findup-sync/-/findup-sync-3.0.0.tgz", "resolved": "https://registry.npmmirror.com/findup-sync/-/findup-sync-3.0.0.tgz",
"integrity": "sha512-YbffarhcicEhOrm4CtrwdKBdCuz576RLdhJDsIfvNtxUuhdRet1qZcsMjqbePtAseKdAnDyM/IyXbu7PRPRLYg==", "integrity": "sha512-YbffarhcicEhOrm4CtrwdKBdCuz576RLdhJDsIfvNtxUuhdRet1qZcsMjqbePtAseKdAnDyM/IyXbu7PRPRLYg==",
"requires": { "requires": {
"detect-file": "^1.0.0", "detect-file": "^1.0.0",
...@@ -5221,7 +5221,7 @@ ...@@ -5221,7 +5221,7 @@
}, },
"fined": { "fined": {
"version": "1.2.0", "version": "1.2.0",
"resolved": "https://registry.npmjs.org/fined/-/fined-1.2.0.tgz", "resolved": "https://registry.npmmirror.com/fined/-/fined-1.2.0.tgz",
"integrity": "sha512-ZYDqPLGxDkDhDZBjZBb+oD1+j0rA4E0pXY50eplAAOPg2N/gUBSSk5IM1/QhPfyVo19lJ+CvXpqfvk+b2p/8Ng==", "integrity": "sha512-ZYDqPLGxDkDhDZBjZBb+oD1+j0rA4E0pXY50eplAAOPg2N/gUBSSk5IM1/QhPfyVo19lJ+CvXpqfvk+b2p/8Ng==",
"requires": { "requires": {
"expand-tilde": "^2.0.2", "expand-tilde": "^2.0.2",
...@@ -5233,7 +5233,7 @@ ...@@ -5233,7 +5233,7 @@
}, },
"flagged-respawn": { "flagged-respawn": {
"version": "1.0.1", "version": "1.0.1",
"resolved": "https://registry.npmjs.org/flagged-respawn/-/flagged-respawn-1.0.1.tgz", "resolved": "https://registry.npmmirror.com/flagged-respawn/-/flagged-respawn-1.0.1.tgz",
"integrity": "sha512-lNaHNVymajmk0OJMBn8fVUAU1BtDeKIqKoVhk4xAALB57aALg6b4W0MfJ/cUE0g9YBXy5XhSlPIpYIJ7HaY/3Q==" "integrity": "sha512-lNaHNVymajmk0OJMBn8fVUAU1BtDeKIqKoVhk4xAALB57aALg6b4W0MfJ/cUE0g9YBXy5XhSlPIpYIJ7HaY/3Q=="
}, },
"flat-cache": { "flat-cache": {
...@@ -5300,8 +5300,8 @@ ...@@ -5300,8 +5300,8 @@
}, },
"for-own": { "for-own": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/for-own/-/for-own-1.0.0.tgz", "resolved": "https://registry.npmmirror.com/for-own/-/for-own-1.0.0.tgz",
"integrity": "sha1-xjMy9BXO3EsE2/5wz4NklMU8tEs=", "integrity": "sha512-0OABksIGrxKK8K4kynWkQ7y1zounQxP+CWnyclVwj81KW3vlLlGUx57DKGcP/LH216GzqnstnPocF16Nxs0Ycg==",
"requires": { "requires": {
"for-in": "^1.0.1" "for-in": "^1.0.1"
} }
...@@ -5373,8 +5373,8 @@ ...@@ -5373,8 +5373,8 @@
}, },
"fs-mkdirp-stream": { "fs-mkdirp-stream": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/fs-mkdirp-stream/-/fs-mkdirp-stream-1.0.0.tgz", "resolved": "https://registry.npmmirror.com/fs-mkdirp-stream/-/fs-mkdirp-stream-1.0.0.tgz",
"integrity": "sha1-C3gV/DIBxqaeFNuYzgmMFpNSWes=", "integrity": "sha512-+vSd9frUnapVC2RZYfL3FCB2p3g4TBhaUmrsWlSudsGdnxIuUvBB2QM1VZeBtc49QFwrp+wQLrDs3+xxDgI5gQ==",
"requires": { "requires": {
"graceful-fs": "^4.1.11", "graceful-fs": "^4.1.11",
"through2": "^2.0.3" "through2": "^2.0.3"
...@@ -5409,7 +5409,7 @@ ...@@ -5409,7 +5409,7 @@
}, },
"fstream": { "fstream": {
"version": "1.0.12", "version": "1.0.12",
"resolved": "https://registry.npmjs.org/fstream/-/fstream-1.0.12.tgz", "resolved": "https://registry.npmmirror.com/fstream/-/fstream-1.0.12.tgz",
"integrity": "sha512-WvJ193OHa0GHPEL+AycEJgxvBEwyfRkN1vhjca23OaPVMCaLCXTd5qAu82AjTcgP1UJmytkOKb63Ypde7raDIg==", "integrity": "sha512-WvJ193OHa0GHPEL+AycEJgxvBEwyfRkN1vhjca23OaPVMCaLCXTd5qAu82AjTcgP1UJmytkOKb63Ypde7raDIg==",
"requires": { "requires": {
"graceful-fs": "^4.1.2", "graceful-fs": "^4.1.2",
...@@ -5479,7 +5479,7 @@ ...@@ -5479,7 +5479,7 @@
}, },
"gaze": { "gaze": {
"version": "1.1.3", "version": "1.1.3",
"resolved": "https://registry.npmjs.org/gaze/-/gaze-1.1.3.tgz", "resolved": "https://registry.npmmirror.com/gaze/-/gaze-1.1.3.tgz",
"integrity": "sha512-BRdNm8hbWzFzWHERTrejLqwHDfS4GibPoq5wjTPIoJHoBtKGPg3xAFfxmM+9ztbXelxcf2hwQcaz1PtmFeue8g==", "integrity": "sha512-BRdNm8hbWzFzWHERTrejLqwHDfS4GibPoq5wjTPIoJHoBtKGPg3xAFfxmM+9ztbXelxcf2hwQcaz1PtmFeue8g==",
"requires": { "requires": {
"globule": "^1.0.0" "globule": "^1.0.0"
...@@ -5563,8 +5563,8 @@ ...@@ -5563,8 +5563,8 @@
}, },
"glob-stream": { "glob-stream": {
"version": "6.1.0", "version": "6.1.0",
"resolved": "https://registry.npmjs.org/glob-stream/-/glob-stream-6.1.0.tgz", "resolved": "https://registry.npmmirror.com/glob-stream/-/glob-stream-6.1.0.tgz",
"integrity": "sha1-cEXJlBOz65SIjYOrRtC0BMx73eQ=", "integrity": "sha512-uMbLGAP3S2aDOHUDfdoYcdIePUCfysbAd0IAoWVZbeGU/oNQ8asHVSshLDJUPWxfzj8zsCG7/XeHPHTtow0nsw==",
"requires": { "requires": {
"extend": "^3.0.0", "extend": "^3.0.0",
"glob": "^7.1.1", "glob": "^7.1.1",
...@@ -5586,7 +5586,7 @@ ...@@ -5586,7 +5586,7 @@
}, },
"glob-watcher": { "glob-watcher": {
"version": "5.0.5", "version": "5.0.5",
"resolved": "https://registry.npmjs.org/glob-watcher/-/glob-watcher-5.0.5.tgz", "resolved": "https://registry.npmmirror.com/glob-watcher/-/glob-watcher-5.0.5.tgz",
"integrity": "sha512-zOZgGGEHPklZNjZQaZ9f41i7F2YwE+tS5ZHrDhbBCk3stwahn5vQxnFmBJZHoYdusR6R1bLSXeGUy/BhctwKzw==", "integrity": "sha512-zOZgGGEHPklZNjZQaZ9f41i7F2YwE+tS5ZHrDhbBCk3stwahn5vQxnFmBJZHoYdusR6R1bLSXeGUy/BhctwKzw==",
"requires": { "requires": {
"anymatch": "^2.0.0", "anymatch": "^2.0.0",
...@@ -5600,7 +5600,7 @@ ...@@ -5600,7 +5600,7 @@
}, },
"global-modules": { "global-modules": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/global-modules/-/global-modules-1.0.0.tgz", "resolved": "https://registry.npmmirror.com/global-modules/-/global-modules-1.0.0.tgz",
"integrity": "sha512-sKzpEkf11GpOFuw0Zzjzmt4B4UZwjOcG757PPvrfhxcLFbq0wpsgpOqxpxtxFiCG4DtG93M6XRVbF2oGdev7bg==", "integrity": "sha512-sKzpEkf11GpOFuw0Zzjzmt4B4UZwjOcG757PPvrfhxcLFbq0wpsgpOqxpxtxFiCG4DtG93M6XRVbF2oGdev7bg==",
"requires": { "requires": {
"global-prefix": "^1.0.1", "global-prefix": "^1.0.1",
...@@ -5610,8 +5610,8 @@ ...@@ -5610,8 +5610,8 @@
}, },
"global-prefix": { "global-prefix": {
"version": "1.0.2", "version": "1.0.2",
"resolved": "https://registry.npmjs.org/global-prefix/-/global-prefix-1.0.2.tgz", "resolved": "https://registry.npmmirror.com/global-prefix/-/global-prefix-1.0.2.tgz",
"integrity": "sha1-2/dDxsFJklk8ZVVoy2btMsASLr4=", "integrity": "sha512-5lsx1NUDHtSjfg0eHlmYvZKv8/nVqX4ckFbM+FrGcQ+04KWcWFo9P5MxPZYSzUvyzmdTbI7Eix8Q4IbELDqzKg==",
"requires": { "requires": {
"expand-tilde": "^2.0.2", "expand-tilde": "^2.0.2",
"homedir-polyfill": "^1.0.1", "homedir-polyfill": "^1.0.1",
...@@ -5644,7 +5644,7 @@ ...@@ -5644,7 +5644,7 @@
}, },
"globule": { "globule": {
"version": "1.3.3", "version": "1.3.3",
"resolved": "https://registry.npmjs.org/globule/-/globule-1.3.3.tgz", "resolved": "https://registry.npmmirror.com/globule/-/globule-1.3.3.tgz",
"integrity": "sha512-mb1aYtDbIjTu4ShMB85m3UzjX9BVKe9WCzsnfMSZk+K5GpIbBOexgg4PPCt5eHDEG5/ZQAUX2Kct02zfiPLsKg==", "integrity": "sha512-mb1aYtDbIjTu4ShMB85m3UzjX9BVKe9WCzsnfMSZk+K5GpIbBOexgg4PPCt5eHDEG5/ZQAUX2Kct02zfiPLsKg==",
"requires": { "requires": {
"glob": "~7.1.1", "glob": "~7.1.1",
...@@ -5654,7 +5654,7 @@ ...@@ -5654,7 +5654,7 @@
}, },
"glogg": { "glogg": {
"version": "1.0.2", "version": "1.0.2",
"resolved": "https://registry.npmjs.org/glogg/-/glogg-1.0.2.tgz", "resolved": "https://registry.npmmirror.com/glogg/-/glogg-1.0.2.tgz",
"integrity": "sha512-5mwUoSuBk44Y4EshyiqcH95ZntbDdTQqA3QYSrxmzj28Ai0vXBGMH1ApSANH14j2sIRtqCEyg6PfsuP7ElOEDA==", "integrity": "sha512-5mwUoSuBk44Y4EshyiqcH95ZntbDdTQqA3QYSrxmzj28Ai0vXBGMH1ApSANH14j2sIRtqCEyg6PfsuP7ElOEDA==",
"requires": { "requires": {
"sparkles": "^1.0.0" "sparkles": "^1.0.0"
...@@ -5682,9 +5682,9 @@ ...@@ -5682,9 +5682,9 @@
} }
}, },
"glsx-components": { "glsx-components": {
"version": "1.3.7", "version": "1.4.2",
"resolved": "https://registry.npmjs.org/glsx-components/-/glsx-components-1.3.7.tgz", "resolved": "https://registry.npmmirror.com/glsx-components/-/glsx-components-1.4.2.tgz",
"integrity": "sha512-kSzNVShRlR/qd0XOvB7QrZIRNMF7oZCGYxKtFyhcWgzr2ICWiA3CnTDjxPGslJX8F5oljwowYxL9U8ljzeeESQ==", "integrity": "sha512-S2bdT5Qys4cK0t7jZRY408dNcu6JtiwisUelvs/ULV+eFcROkomZF0itvdvLESYShXcrd6eRMyxAFjRUeFQ6/w==",
"requires": { "requires": {
"core-js": "^3.6.5", "core-js": "^3.6.5",
"element-ui": "^2.15.6", "element-ui": "^2.15.6",
...@@ -5694,14 +5694,14 @@ ...@@ -5694,14 +5694,14 @@
}, },
"dependencies": { "dependencies": {
"core-js": { "core-js": {
"version": "3.21.0", "version": "3.22.8",
"resolved": "https://registry.npmjs.org/core-js/-/core-js-3.21.0.tgz", "resolved": "https://registry.npmmirror.com/core-js/-/core-js-3.22.8.tgz",
"integrity": "sha512-YUdI3fFu4TF/2WykQ2xzSiTQdldLB4KVuL9WeAy5XONZYt5Cun/fpQvctoKbCgvPhmzADeesTk/j2Rdx77AcKQ==" "integrity": "sha512-UoGQ/cfzGYIuiq6Z7vWL1HfkE9U9IZ4Ub+0XSiJTCzvbZzgPA69oDF2f+lgJ6dFFLEdjW5O6svvoKzXX23xFkA=="
}, },
"element-ui": { "element-ui": {
"version": "2.15.6", "version": "2.15.9",
"resolved": "https://registry.npmjs.org/element-ui/-/element-ui-2.15.6.tgz", "resolved": "https://registry.npmmirror.com/element-ui/-/element-ui-2.15.9.tgz",
"integrity": "sha512-rcYXEKd/j2G0AgficAOk1Zd1AsnHRkhmrK4yLHmNOiimU2JfsywgfKUjMoFuT6pQx0luhovj8lFjpE4Fnt58Iw==", "integrity": "sha512-dx45nQLt4Hn87/Z9eRr3ex6KFZbxlFAwEU3QoW3wA5EsYftvHTyL9Pq7VnXXD7hu1Eiaup2jcs6kp+/VSFmXuA==",
"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",
...@@ -5720,7 +5720,7 @@ ...@@ -5720,7 +5720,7 @@
}, },
"gulp": { "gulp": {
"version": "4.0.2", "version": "4.0.2",
"resolved": "https://registry.npmjs.org/gulp/-/gulp-4.0.2.tgz", "resolved": "https://registry.npmmirror.com/gulp/-/gulp-4.0.2.tgz",
"integrity": "sha512-dvEs27SCZt2ibF29xYgmnwwCYZxdxhQ/+LFWlbAW8y7jt68L/65402Lz3+CKy0Ov4rOs+NERmDq7YlZaDqUIfA==", "integrity": "sha512-dvEs27SCZt2ibF29xYgmnwwCYZxdxhQ/+LFWlbAW8y7jt68L/65402Lz3+CKy0Ov4rOs+NERmDq7YlZaDqUIfA==",
"requires": { "requires": {
"glob-watcher": "^5.0.3", "glob-watcher": "^5.0.3",
...@@ -5731,7 +5731,7 @@ ...@@ -5731,7 +5731,7 @@
"dependencies": { "dependencies": {
"ansi-colors": { "ansi-colors": {
"version": "1.1.0", "version": "1.1.0",
"resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-1.1.0.tgz", "resolved": "https://registry.npmmirror.com/ansi-colors/-/ansi-colors-1.1.0.tgz",
"integrity": "sha512-SFKX67auSNoVR38N3L+nvsPjOE0bybKTYbkf5tRvushrAPQ9V75huw0ZxBkKVeRU9kqH3d6HA4xTckbwZ4ixmA==", "integrity": "sha512-SFKX67auSNoVR38N3L+nvsPjOE0bybKTYbkf5tRvushrAPQ9V75huw0ZxBkKVeRU9kqH3d6HA4xTckbwZ4ixmA==",
"requires": { "requires": {
"ansi-wrap": "^0.1.0" "ansi-wrap": "^0.1.0"
...@@ -5739,18 +5739,18 @@ ...@@ -5739,18 +5739,18 @@
}, },
"ansi-regex": { "ansi-regex": {
"version": "2.1.1", "version": "2.1.1",
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", "resolved": "https://registry.npmmirror.com/ansi-regex/-/ansi-regex-2.1.1.tgz",
"integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=" "integrity": "sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA=="
}, },
"camelcase": { "camelcase": {
"version": "3.0.0", "version": "3.0.0",
"resolved": "https://registry.npmjs.org/camelcase/-/camelcase-3.0.0.tgz", "resolved": "https://registry.npmmirror.com/camelcase/-/camelcase-3.0.0.tgz",
"integrity": "sha1-MvxLn82vhF/N9+c7uXysImHwqwo=" "integrity": "sha512-4nhGqUkc4BqbBBB4Q6zLuD7lzzrHYrjKGeYaEji/3tFR5VdJu9v+LilhGIVe8wxEJPPOeWo7eg8dwY13TZ1BNg=="
}, },
"cliui": { "cliui": {
"version": "3.2.0", "version": "3.2.0",
"resolved": "https://registry.npmjs.org/cliui/-/cliui-3.2.0.tgz", "resolved": "https://registry.npmmirror.com/cliui/-/cliui-3.2.0.tgz",
"integrity": "sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0=", "integrity": "sha512-0yayqDxWQbqk3ojkYqUKqaAQ6AfNKeKWRNA8kR0WXzAsdHpP4BIaOmMAG87JGuO6qcobyW4GjxHd9PmhEd+T9w==",
"requires": { "requires": {
"string-width": "^1.0.1", "string-width": "^1.0.1",
"strip-ansi": "^3.0.1", "strip-ansi": "^3.0.1",
...@@ -5759,12 +5759,12 @@ ...@@ -5759,12 +5759,12 @@
}, },
"get-caller-file": { "get-caller-file": {
"version": "1.0.3", "version": "1.0.3",
"resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.3.tgz", "resolved": "https://registry.npmmirror.com/get-caller-file/-/get-caller-file-1.0.3.tgz",
"integrity": "sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w==" "integrity": "sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w=="
}, },
"gulp-cli": { "gulp-cli": {
"version": "2.3.0", "version": "2.3.0",
"resolved": "https://registry.npmjs.org/gulp-cli/-/gulp-cli-2.3.0.tgz", "resolved": "https://registry.npmmirror.com/gulp-cli/-/gulp-cli-2.3.0.tgz",
"integrity": "sha512-zzGBl5fHo0EKSXsHzjspp3y5CONegCm8ErO5Qh0UzFzk2y4tMvzLWhoDokADbarfZRL2pGpRp7yt6gfJX4ph7A==", "integrity": "sha512-zzGBl5fHo0EKSXsHzjspp3y5CONegCm8ErO5Qh0UzFzk2y4tMvzLWhoDokADbarfZRL2pGpRp7yt6gfJX4ph7A==",
"requires": { "requires": {
"ansi-colors": "^1.0.1", "ansi-colors": "^1.0.1",
...@@ -5789,42 +5789,42 @@ ...@@ -5789,42 +5789,42 @@
}, },
"invert-kv": { "invert-kv": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-1.0.0.tgz", "resolved": "https://registry.npmmirror.com/invert-kv/-/invert-kv-1.0.0.tgz",
"integrity": "sha1-EEqOSqym09jNFXqO+L+rLXo//bY=" "integrity": "sha512-xgs2NH9AE66ucSq4cNG1nhSFghr5l6tdL15Pk+jl46bmmBapgoaY/AacXyaDznAqmGL99TiLSQgO/XazFSKYeQ=="
}, },
"is-fullwidth-code-point": { "is-fullwidth-code-point": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", "resolved": "https://registry.npmmirror.com/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz",
"integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", "integrity": "sha512-1pqUqRjkhPJ9miNq9SwMfdvi6lBJcd6eFxvfaivQhaH3SgisfiuudvFntdKOmxuee/77l+FPjKrQjWvmPjWrRw==",
"requires": { "requires": {
"number-is-nan": "^1.0.0" "number-is-nan": "^1.0.0"
} }
}, },
"lcid": { "lcid": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz", "resolved": "https://registry.npmmirror.com/lcid/-/lcid-1.0.0.tgz",
"integrity": "sha1-MIrMr6C8SDo4Z7S28rlQYlHRuDU=", "integrity": "sha512-YiGkH6EnGrDGqLMITnGjXtGmNtjoXw9SVUzcaos8RBi7Ps0VBylkq+vOcY9QE5poLasPCR849ucFUkl0UzUyOw==",
"requires": { "requires": {
"invert-kv": "^1.0.0" "invert-kv": "^1.0.0"
} }
}, },
"os-locale": { "os-locale": {
"version": "1.4.0", "version": "1.4.0",
"resolved": "https://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz", "resolved": "https://registry.npmmirror.com/os-locale/-/os-locale-1.4.0.tgz",
"integrity": "sha1-IPnxeuKe00XoveWDsT0gCYA8FNk=", "integrity": "sha512-PRT7ZORmwu2MEFt4/fv3Q+mEfN4zetKxufQrkShY2oGvUms9r8otu5HfdyIFHkYXjO7laNsoVGmM2MANfuTA8g==",
"requires": { "requires": {
"lcid": "^1.0.0" "lcid": "^1.0.0"
} }
}, },
"require-main-filename": { "require-main-filename": {
"version": "1.0.1", "version": "1.0.1",
"resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-1.0.1.tgz", "resolved": "https://registry.npmmirror.com/require-main-filename/-/require-main-filename-1.0.1.tgz",
"integrity": "sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE=" "integrity": "sha512-IqSUtOVP4ksd1C/ej5zeEh/BIP2ajqpn8c5x+q99gvcIG/Qf0cud5raVnE/Dwd0ua9TXYDoDc0RE5hBSdz22Ug=="
}, },
"string-width": { "string-width": {
"version": "1.0.2", "version": "1.0.2",
"resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", "resolved": "https://registry.npmmirror.com/string-width/-/string-width-1.0.2.tgz",
"integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", "integrity": "sha512-0XsVpQLnVCXHJfyEs8tC0zpTVIr5PKKsQtkT29IwupnPTjtPmQ3xT/4yCREF9hYkV/3M3kzcUTSAZT6a6h81tw==",
"requires": { "requires": {
"code-point-at": "^1.0.0", "code-point-at": "^1.0.0",
"is-fullwidth-code-point": "^1.0.0", "is-fullwidth-code-point": "^1.0.0",
...@@ -5833,21 +5833,21 @@ ...@@ -5833,21 +5833,21 @@
}, },
"strip-ansi": { "strip-ansi": {
"version": "3.0.1", "version": "3.0.1",
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", "resolved": "https://registry.npmmirror.com/strip-ansi/-/strip-ansi-3.0.1.tgz",
"integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", "integrity": "sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg==",
"requires": { "requires": {
"ansi-regex": "^2.0.0" "ansi-regex": "^2.0.0"
} }
}, },
"which-module": { "which-module": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/which-module/-/which-module-1.0.0.tgz", "resolved": "https://registry.npmmirror.com/which-module/-/which-module-1.0.0.tgz",
"integrity": "sha1-u6Y8qGGUiZT/MHc2CJ47lgJsKk8=" "integrity": "sha512-F6+WgncZi/mJDrammbTuHe1q0R5hOXv/mBaiNA2TCNT/LTHusX0V+CJnj9XT8ki5ln2UZyyddDgHfCzyrOH7MQ=="
}, },
"wrap-ansi": { "wrap-ansi": {
"version": "2.1.0", "version": "2.1.0",
"resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz", "resolved": "https://registry.npmmirror.com/wrap-ansi/-/wrap-ansi-2.1.0.tgz",
"integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=", "integrity": "sha512-vAaEaDM946gbNpH5pLVNR+vX2ht6n0Bt3GXwVB1AuAqZosOvHNF3P7wDnh8KLkSqgUh0uh77le7Owgoz+Z9XBw==",
"requires": { "requires": {
"string-width": "^1.0.1", "string-width": "^1.0.1",
"strip-ansi": "^3.0.1" "strip-ansi": "^3.0.1"
...@@ -5855,12 +5855,12 @@ ...@@ -5855,12 +5855,12 @@
}, },
"y18n": { "y18n": {
"version": "3.2.2", "version": "3.2.2",
"resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.2.tgz", "resolved": "https://registry.npmmirror.com/y18n/-/y18n-3.2.2.tgz",
"integrity": "sha512-uGZHXkHnhF0XeeAPgnKfPv1bgKAYyVvmNL1xlKsPYZPaIHxGti2hHqvOCQv71XMsLxu1QjergkqogUnms5D3YQ==" "integrity": "sha512-uGZHXkHnhF0XeeAPgnKfPv1bgKAYyVvmNL1xlKsPYZPaIHxGti2hHqvOCQv71XMsLxu1QjergkqogUnms5D3YQ=="
}, },
"yargs": { "yargs": {
"version": "7.1.2", "version": "7.1.2",
"resolved": "https://registry.npmjs.org/yargs/-/yargs-7.1.2.tgz", "resolved": "https://registry.npmmirror.com/yargs/-/yargs-7.1.2.tgz",
"integrity": "sha512-ZEjj/dQYQy0Zx0lgLMLR8QuaqTihnxirir7EwUHp1Axq4e3+k8jXU5K0VLbNvedv1f4EWtBonDIZm0NUr+jCcA==", "integrity": "sha512-ZEjj/dQYQy0Zx0lgLMLR8QuaqTihnxirir7EwUHp1Axq4e3+k8jXU5K0VLbNvedv1f4EWtBonDIZm0NUr+jCcA==",
"requires": { "requires": {
"camelcase": "^3.0.0", "camelcase": "^3.0.0",
...@@ -5880,7 +5880,7 @@ ...@@ -5880,7 +5880,7 @@
}, },
"yargs-parser": { "yargs-parser": {
"version": "5.0.1", "version": "5.0.1",
"resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-5.0.1.tgz", "resolved": "https://registry.npmmirror.com/yargs-parser/-/yargs-parser-5.0.1.tgz",
"integrity": "sha512-wpav5XYiddjXxirPoCTUPbqM0PXvJ9hiBMvuJgInvo4/lAOTZzUprArw17q2O1P2+GHhbBr18/iQwjL5Z9BqfA==", "integrity": "sha512-wpav5XYiddjXxirPoCTUPbqM0PXvJ9hiBMvuJgInvo4/lAOTZzUprArw17q2O1P2+GHhbBr18/iQwjL5Z9BqfA==",
"requires": { "requires": {
"camelcase": "^3.0.0", "camelcase": "^3.0.0",
...@@ -5891,8 +5891,8 @@ ...@@ -5891,8 +5891,8 @@
}, },
"gulplog": { "gulplog": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/gulplog/-/gulplog-1.0.0.tgz", "resolved": "https://registry.npmmirror.com/gulplog/-/gulplog-1.0.0.tgz",
"integrity": "sha1-4oxNRdBey77YGDY86PnFkmIp/+U=", "integrity": "sha512-hm6N8nrm3Y08jXie48jsC55eCZz9mnb4OirAStEk2deqeyhXU3C1otDVh+ccttMuc1sBi6RX6ZJ720hs9RCvgw==",
"requires": { "requires": {
"glogg": "^1.0.0" "glogg": "^1.0.0"
} }
...@@ -6075,7 +6075,7 @@ ...@@ -6075,7 +6075,7 @@
}, },
"homedir-polyfill": { "homedir-polyfill": {
"version": "1.0.3", "version": "1.0.3",
"resolved": "https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz", "resolved": "https://registry.npmmirror.com/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz",
"integrity": "sha512-eSmmWE5bZTK2Nou4g0AI3zZ9rswp7GRKoKXS1BLUkvPviOqs4YTN1djQIqrXy9k5gEtdLPy86JjRwsNM9tnDcA==", "integrity": "sha512-eSmmWE5bZTK2Nou4g0AI3zZ9rswp7GRKoKXS1BLUkvPviOqs4YTN1djQIqrXy9k5gEtdLPy86JjRwsNM9tnDcA==",
"requires": { "requires": {
"parse-passwd": "^1.0.0" "parse-passwd": "^1.0.0"
...@@ -6415,7 +6415,7 @@ ...@@ -6415,7 +6415,7 @@
}, },
"in-publish": { "in-publish": {
"version": "2.0.1", "version": "2.0.1",
"resolved": "https://registry.npmjs.org/in-publish/-/in-publish-2.0.1.tgz", "resolved": "https://registry.npmmirror.com/in-publish/-/in-publish-2.0.1.tgz",
"integrity": "sha512-oDM0kUSNFC31ShNxHKUyfZKy8ZeXZBWMjMdZHKLOk13uvT27VTL/QzRGfRUcevJhpkZAvlhPYuXkF7eNWrtyxQ==" "integrity": "sha512-oDM0kUSNFC31ShNxHKUyfZKy8ZeXZBWMjMdZHKLOk13uvT27VTL/QzRGfRUcevJhpkZAvlhPYuXkF7eNWrtyxQ=="
}, },
"indent-string": { "indent-string": {
...@@ -6452,7 +6452,7 @@ ...@@ -6452,7 +6452,7 @@
}, },
"ini": { "ini": {
"version": "1.3.8", "version": "1.3.8",
"resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", "resolved": "https://registry.npmmirror.com/ini/-/ini-1.3.8.tgz",
"integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==" "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew=="
}, },
"inquirer": { "inquirer": {
...@@ -6511,7 +6511,7 @@ ...@@ -6511,7 +6511,7 @@
}, },
"interpret": { "interpret": {
"version": "1.4.0", "version": "1.4.0",
"resolved": "https://registry.npmjs.org/interpret/-/interpret-1.4.0.tgz", "resolved": "https://registry.npmmirror.com/interpret/-/interpret-1.4.0.tgz",
"integrity": "sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA==" "integrity": "sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA=="
}, },
"invariant": { "invariant": {
...@@ -6549,7 +6549,7 @@ ...@@ -6549,7 +6549,7 @@
}, },
"is-absolute": { "is-absolute": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/is-absolute/-/is-absolute-1.0.0.tgz", "resolved": "https://registry.npmmirror.com/is-absolute/-/is-absolute-1.0.0.tgz",
"integrity": "sha512-dOWoqflvcydARa360Gvv18DZ/gRuHKi2NU/wU5X1ZFzdYfH29nkiNZsF3mp4OJ3H4yo9Mx8A/uAGNzpzPN3yBA==", "integrity": "sha512-dOWoqflvcydARa360Gvv18DZ/gRuHKi2NU/wU5X1ZFzdYfH29nkiNZsF3mp4OJ3H4yo9Mx8A/uAGNzpzPN3yBA==",
"requires": { "requires": {
"is-relative": "^1.0.0", "is-relative": "^1.0.0",
...@@ -6692,7 +6692,7 @@ ...@@ -6692,7 +6692,7 @@
}, },
"is-finite": { "is-finite": {
"version": "1.1.0", "version": "1.1.0",
"resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.1.0.tgz", "resolved": "https://registry.npmmirror.com/is-finite/-/is-finite-1.1.0.tgz",
"integrity": "sha512-cdyMtqX/BOqqNBBiKlIVkytNHm49MtMlYyn1zxzvJKWmFMlGzm+ry5BBfYyeY9YmNKbRSo/o7OX9w9ale0wg3w==" "integrity": "sha512-cdyMtqX/BOqqNBBiKlIVkytNHm49MtMlYyn1zxzvJKWmFMlGzm+ry5BBfYyeY9YmNKbRSo/o7OX9w9ale0wg3w=="
}, },
"is-fullwidth-code-point": { "is-fullwidth-code-point": {
...@@ -6710,8 +6710,8 @@ ...@@ -6710,8 +6710,8 @@
}, },
"is-negated-glob": { "is-negated-glob": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/is-negated-glob/-/is-negated-glob-1.0.0.tgz", "resolved": "https://registry.npmmirror.com/is-negated-glob/-/is-negated-glob-1.0.0.tgz",
"integrity": "sha1-aRC8pdqMleeEtXUbl2z1oQ/uNtI=" "integrity": "sha512-czXVVn/QEmgvej1f50BZ648vUI+em0xqMq2Sn+QncCLN4zj1UAxlT+kw/6ggQTOaZPd1HqKQGEqbpQVtJucWug=="
}, },
"is-number": { "is-number": {
"version": "3.0.0", "version": "3.0.0",
...@@ -6792,7 +6792,7 @@ ...@@ -6792,7 +6792,7 @@
}, },
"is-relative": { "is-relative": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/is-relative/-/is-relative-1.0.0.tgz", "resolved": "https://registry.npmmirror.com/is-relative/-/is-relative-1.0.0.tgz",
"integrity": "sha512-Kw/ReK0iqwKeu0MITLFuj0jbPAmEiOsIwyIXvvbfa6QfmN9pkD1M+8pdk7Rl/dTKbH34/XBFMbgD4iMJhLQbGA==", "integrity": "sha512-Kw/ReK0iqwKeu0MITLFuj0jbPAmEiOsIwyIXvvbfa6QfmN9pkD1M+8pdk7Rl/dTKbH34/XBFMbgD4iMJhLQbGA==",
"requires": { "requires": {
"is-unc-path": "^1.0.0" "is-unc-path": "^1.0.0"
...@@ -6835,7 +6835,7 @@ ...@@ -6835,7 +6835,7 @@
}, },
"is-unc-path": { "is-unc-path": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/is-unc-path/-/is-unc-path-1.0.0.tgz", "resolved": "https://registry.npmmirror.com/is-unc-path/-/is-unc-path-1.0.0.tgz",
"integrity": "sha512-mrGpVd0fs7WWLfVsStvgF6iEJnbjDFZh9/emhRDcGWTduTfNHd9CHeUwH3gYIjdbwo4On6hunkztwOaAw0yllQ==", "integrity": "sha512-mrGpVd0fs7WWLfVsStvgF6iEJnbjDFZh9/emhRDcGWTduTfNHd9CHeUwH3gYIjdbwo4On6hunkztwOaAw0yllQ==",
"requires": { "requires": {
"unc-path-regex": "^0.1.2" "unc-path-regex": "^0.1.2"
...@@ -6848,8 +6848,8 @@ ...@@ -6848,8 +6848,8 @@
}, },
"is-valid-glob": { "is-valid-glob": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/is-valid-glob/-/is-valid-glob-1.0.0.tgz", "resolved": "https://registry.npmmirror.com/is-valid-glob/-/is-valid-glob-1.0.0.tgz",
"integrity": "sha1-Kb8+/3Ab4tTTFdusw5vDn+j2Aao=" "integrity": "sha512-AhiROmoEFDSsjx8hW+5sGwgKVIORcXnrlAx/R0ZSeaPw70Vw0CqkGBBhHGL58Uox2eXnU1AnvXJl1XlyedO5bA=="
}, },
"is-windows": { "is-windows": {
"version": "1.0.2", "version": "1.0.2",
...@@ -6911,7 +6911,7 @@ ...@@ -6911,7 +6911,7 @@
}, },
"js-base64": { "js-base64": {
"version": "2.6.4", "version": "2.6.4",
"resolved": "https://registry.npmjs.org/js-base64/-/js-base64-2.6.4.tgz", "resolved": "https://registry.npmmirror.com/js-base64/-/js-base64-2.6.4.tgz",
"integrity": "sha512-pZe//GGmwJndub7ZghVHz7vjb2LgC1m8B07Au3eYqeqv9emhESByMXxaEgkUkEqJe87oBbSniGYoQNIBklc7IQ==" "integrity": "sha512-pZe//GGmwJndub7ZghVHz7vjb2LgC1m8B07Au3eYqeqv9emhESByMXxaEgkUkEqJe87oBbSniGYoQNIBklc7IQ=="
}, },
"js-levenshtein": { "js-levenshtein": {
...@@ -7025,7 +7025,7 @@ ...@@ -7025,7 +7025,7 @@
}, },
"just-debounce": { "just-debounce": {
"version": "1.1.0", "version": "1.1.0",
"resolved": "https://registry.npmjs.org/just-debounce/-/just-debounce-1.1.0.tgz", "resolved": "https://registry.npmmirror.com/just-debounce/-/just-debounce-1.1.0.tgz",
"integrity": "sha512-qpcRocdkUmf+UTNBYx5w6dexX5J31AKK1OmPwH630a83DdVVUIngk55RSAiIGpQyoH0dlr872VHfPjnQnK1qDQ==" "integrity": "sha512-qpcRocdkUmf+UTNBYx5w6dexX5J31AKK1OmPwH630a83DdVVUIngk55RSAiIGpQyoH0dlr872VHfPjnQnK1qDQ=="
}, },
"killable": { "killable": {
...@@ -7041,8 +7041,8 @@ ...@@ -7041,8 +7041,8 @@
}, },
"last-run": { "last-run": {
"version": "1.1.1", "version": "1.1.1",
"resolved": "https://registry.npmjs.org/last-run/-/last-run-1.1.1.tgz", "resolved": "https://registry.npmmirror.com/last-run/-/last-run-1.1.1.tgz",
"integrity": "sha1-RblpQsF7HHnHchmCWbqUO+v4yls=", "integrity": "sha512-U/VxvpX4N/rFvPzr3qG5EtLKEnNI0emvIQB3/ecEwv+8GHaUKbIB8vxv1Oai5FAF0d0r7LXHhLLe5K/yChm5GQ==",
"requires": { "requires": {
"default-resolution": "^2.0.0", "default-resolution": "^2.0.0",
"es6-weak-map": "^2.0.1" "es6-weak-map": "^2.0.1"
...@@ -7069,7 +7069,7 @@ ...@@ -7069,7 +7069,7 @@
}, },
"lazystream": { "lazystream": {
"version": "1.0.1", "version": "1.0.1",
"resolved": "https://registry.npmjs.org/lazystream/-/lazystream-1.0.1.tgz", "resolved": "https://registry.npmmirror.com/lazystream/-/lazystream-1.0.1.tgz",
"integrity": "sha512-b94GiNHQNy6JNTrt5w6zNyffMrNkXZb3KTkCZJb2V1xaEGCk093vkZ2jk3tpaeP33/OiXC+WvK9AxUebnf5nbw==", "integrity": "sha512-b94GiNHQNy6JNTrt5w6zNyffMrNkXZb3KTkCZJb2V1xaEGCk093vkZ2jk3tpaeP33/OiXC+WvK9AxUebnf5nbw==",
"requires": { "requires": {
"readable-stream": "^2.0.5" "readable-stream": "^2.0.5"
...@@ -7086,8 +7086,8 @@ ...@@ -7086,8 +7086,8 @@
}, },
"lead": { "lead": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/lead/-/lead-1.0.0.tgz", "resolved": "https://registry.npmmirror.com/lead/-/lead-1.0.0.tgz",
"integrity": "sha1-bxT5mje+Op3XhPVJVpDlkDRm7kI=", "integrity": "sha512-IpSVCk9AYvLHo5ctcIXxOBpMWUe+4TKN3VPWAKUbJikkmsGp0VrSM8IttVc32D6J4WUsiPE6aEFRNmIoF/gdow==",
"requires": { "requires": {
"flush-write-stream": "^1.0.2" "flush-write-stream": "^1.0.2"
} }
...@@ -7104,7 +7104,7 @@ ...@@ -7104,7 +7104,7 @@
}, },
"liftoff": { "liftoff": {
"version": "3.1.0", "version": "3.1.0",
"resolved": "https://registry.npmjs.org/liftoff/-/liftoff-3.1.0.tgz", "resolved": "https://registry.npmmirror.com/liftoff/-/liftoff-3.1.0.tgz",
"integrity": "sha512-DlIPlJUkCV0Ips2zf2pJP0unEoT1kwYhiiPUGF3s/jtxTCjziNLoiVVh+jqWOWeFi6mmwQ5fNxvAUyPad4Dfog==", "integrity": "sha512-DlIPlJUkCV0Ips2zf2pJP0unEoT1kwYhiiPUGF3s/jtxTCjziNLoiVVh+jqWOWeFi6mmwQ5fNxvAUyPad4Dfog==",
"requires": { "requires": {
"extend": "^3.0.0", "extend": "^3.0.0",
...@@ -7340,7 +7340,7 @@ ...@@ -7340,7 +7340,7 @@
}, },
"make-iterator": { "make-iterator": {
"version": "1.0.1", "version": "1.0.1",
"resolved": "https://registry.npmjs.org/make-iterator/-/make-iterator-1.0.1.tgz", "resolved": "https://registry.npmmirror.com/make-iterator/-/make-iterator-1.0.1.tgz",
"integrity": "sha512-pxiuXh0iVEq7VM7KMIhs5gxsfxCux2URptUQaXo4iZZJxBAzTPOLE2BumO5dbfVYq/hBJFBR/a1mFDmOx5AGmw==", "integrity": "sha512-pxiuXh0iVEq7VM7KMIhs5gxsfxCux2URptUQaXo4iZZJxBAzTPOLE2BumO5dbfVYq/hBJFBR/a1mFDmOx5AGmw==",
"requires": { "requires": {
"kind-of": "^6.0.2" "kind-of": "^6.0.2"
...@@ -7381,8 +7381,8 @@ ...@@ -7381,8 +7381,8 @@
}, },
"matchdep": { "matchdep": {
"version": "2.0.0", "version": "2.0.0",
"resolved": "https://registry.npmjs.org/matchdep/-/matchdep-2.0.0.tgz", "resolved": "https://registry.npmmirror.com/matchdep/-/matchdep-2.0.0.tgz",
"integrity": "sha1-xvNINKDY28OzfCfui7yyfHd1WC4=", "integrity": "sha512-LFgVbaHIHMqCRuCZyfCtUOq9/Lnzhi7Z0KFUE2fhD54+JN2jLh3hC02RLkqauJ3U4soU6H1J3tfj/Byk7GoEjA==",
"requires": { "requires": {
"findup-sync": "^2.0.0", "findup-sync": "^2.0.0",
"micromatch": "^3.0.4", "micromatch": "^3.0.4",
...@@ -7392,8 +7392,8 @@ ...@@ -7392,8 +7392,8 @@
"dependencies": { "dependencies": {
"findup-sync": { "findup-sync": {
"version": "2.0.0", "version": "2.0.0",
"resolved": "https://registry.npmjs.org/findup-sync/-/findup-sync-2.0.0.tgz", "resolved": "https://registry.npmmirror.com/findup-sync/-/findup-sync-2.0.0.tgz",
"integrity": "sha1-kyaxSIwi0aYIhlCoaQGy2akKLLw=", "integrity": "sha512-vs+3unmJT45eczmcAZ6zMJtxN3l/QXeccaXQx5cu/MeJMhewVfoWZqibRkOxPnmoR59+Zy5hjabfQc6JLSah4g==",
"requires": { "requires": {
"detect-file": "^1.0.0", "detect-file": "^1.0.0",
"is-glob": "^3.1.0", "is-glob": "^3.1.0",
...@@ -7403,8 +7403,8 @@ ...@@ -7403,8 +7403,8 @@
}, },
"is-glob": { "is-glob": {
"version": "3.1.0", "version": "3.1.0",
"resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz", "resolved": "https://registry.npmmirror.com/is-glob/-/is-glob-3.1.0.tgz",
"integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=", "integrity": "sha512-UFpDDrPgM6qpnFNI+rh/p3bUaq9hKLZN8bMUWzxmcnZVS3omf4IPK+BrewlnWjO1WmUsMYuSjKh4UJuV4+Lqmw==",
"requires": { "requires": {
"is-extglob": "^2.1.0" "is-extglob": "^2.1.0"
} }
...@@ -7782,7 +7782,7 @@ ...@@ -7782,7 +7782,7 @@
}, },
"mute-stdout": { "mute-stdout": {
"version": "1.0.1", "version": "1.0.1",
"resolved": "https://registry.npmjs.org/mute-stdout/-/mute-stdout-1.0.1.tgz", "resolved": "https://registry.npmmirror.com/mute-stdout/-/mute-stdout-1.0.1.tgz",
"integrity": "sha512-kDcwXR4PS7caBpuRYYBUz9iVixUk3anO3f5OYFiIPwK/20vCzKCHyKoulbiDY1S53zD2bxUpxN/IJ+TnXjfvxg==" "integrity": "sha512-kDcwXR4PS7caBpuRYYBUz9iVixUk3anO3f5OYFiIPwK/20vCzKCHyKoulbiDY1S53zD2bxUpxN/IJ+TnXjfvxg=="
}, },
"mute-stream": { "mute-stream": {
...@@ -7844,9 +7844,9 @@ ...@@ -7844,9 +7844,9 @@
"dev": true "dev": true
}, },
"next-tick": { "next-tick": {
"version": "1.0.0", "version": "1.1.0",
"resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.0.0.tgz", "resolved": "https://registry.npmmirror.com/next-tick/-/next-tick-1.1.0.tgz",
"integrity": "sha1-yobR/ogoFpsBICCOPchCS524NCw=" "integrity": "sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ=="
}, },
"nice-try": { "nice-try": {
"version": "1.0.5", "version": "1.0.5",
...@@ -7871,7 +7871,7 @@ ...@@ -7871,7 +7871,7 @@
}, },
"node-gyp": { "node-gyp": {
"version": "3.8.0", "version": "3.8.0",
"resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-3.8.0.tgz", "resolved": "https://registry.npmmirror.com/node-gyp/-/node-gyp-3.8.0.tgz",
"integrity": "sha512-3g8lYefrRRzvGeSowdJKAKyks8oUpLEd/DyPV4eMhVlhJ0aNaZqIrNUIPuEWWTAoPqyFkfGrM67MC69baqn6vA==", "integrity": "sha512-3g8lYefrRRzvGeSowdJKAKyks8oUpLEd/DyPV4eMhVlhJ0aNaZqIrNUIPuEWWTAoPqyFkfGrM67MC69baqn6vA==",
"requires": { "requires": {
"fstream": "^1.0.0", "fstream": "^1.0.0",
...@@ -8094,7 +8094,7 @@ ...@@ -8094,7 +8094,7 @@
}, },
"now-and-later": { "now-and-later": {
"version": "2.0.1", "version": "2.0.1",
"resolved": "https://registry.npmjs.org/now-and-later/-/now-and-later-2.0.1.tgz", "resolved": "https://registry.npmmirror.com/now-and-later/-/now-and-later-2.0.1.tgz",
"integrity": "sha512-KGvQ0cB70AQfg107Xvs/Fbu+dGmZoTRJp2TaPwcwQm3/7PteUyN2BCgk8KBMPGBUXZdVwyWS8fDCGFygBm19UQ==", "integrity": "sha512-KGvQ0cB70AQfg107Xvs/Fbu+dGmZoTRJp2TaPwcwQm3/7PteUyN2BCgk8KBMPGBUXZdVwyWS8fDCGFygBm19UQ==",
"requires": { "requires": {
"once": "^1.3.2" "once": "^1.3.2"
...@@ -8111,7 +8111,7 @@ ...@@ -8111,7 +8111,7 @@
}, },
"npmlog": { "npmlog": {
"version": "4.1.2", "version": "4.1.2",
"resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz", "resolved": "https://registry.npmmirror.com/npmlog/-/npmlog-4.1.2.tgz",
"integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==", "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==",
"requires": { "requires": {
"are-we-there-yet": "~1.1.2", "are-we-there-yet": "~1.1.2",
...@@ -8222,8 +8222,8 @@ ...@@ -8222,8 +8222,8 @@
}, },
"object.defaults": { "object.defaults": {
"version": "1.1.0", "version": "1.1.0",
"resolved": "https://registry.npmjs.org/object.defaults/-/object.defaults-1.1.0.tgz", "resolved": "https://registry.npmmirror.com/object.defaults/-/object.defaults-1.1.0.tgz",
"integrity": "sha1-On+GgzS0B96gbaFtiNXNKeQ1/s8=", "integrity": "sha512-c/K0mw/F11k4dEUBMW8naXUuBuhxRCfG7W+yFy8EcijU/rSmazOUd1XAEEe6bC0OuXY4HUKjTJv7xbxIMqdxrA==",
"requires": { "requires": {
"array-each": "^1.0.1", "array-each": "^1.0.1",
"array-slice": "^1.0.0", "array-slice": "^1.0.0",
...@@ -8243,8 +8243,8 @@ ...@@ -8243,8 +8243,8 @@
}, },
"object.map": { "object.map": {
"version": "1.0.1", "version": "1.0.1",
"resolved": "https://registry.npmjs.org/object.map/-/object.map-1.0.1.tgz", "resolved": "https://registry.npmmirror.com/object.map/-/object.map-1.0.1.tgz",
"integrity": "sha1-z4Plncj8wK1fQlDh94s7gb2AHTc=", "integrity": "sha512-3+mAJu2PLfnSVGHwIWubpOFLscJANBKuB/6A4CxBstc4aqwQY0FWcsppuy4jU5GSB95yES5JHSI+33AWuS4k6w==",
"requires": { "requires": {
"for-own": "^1.0.0", "for-own": "^1.0.0",
"make-iterator": "^1.0.0" "make-iterator": "^1.0.0"
...@@ -8260,8 +8260,8 @@ ...@@ -8260,8 +8260,8 @@
}, },
"object.reduce": { "object.reduce": {
"version": "1.0.1", "version": "1.0.1",
"resolved": "https://registry.npmjs.org/object.reduce/-/object.reduce-1.0.1.tgz", "resolved": "https://registry.npmmirror.com/object.reduce/-/object.reduce-1.0.1.tgz",
"integrity": "sha1-b+NI8qx/oPlcpiEiZZkJaCW7A60=", "integrity": "sha512-naLhxxpUESbNkRqc35oQ2scZSJueHGQNUfMW/0U37IgN6tE2dgDWg3whf+NEliy3F/QysrO48XKUz/nGPe+AQw==",
"requires": { "requires": {
"for-own": "^1.0.0", "for-own": "^1.0.0",
"make-iterator": "^1.0.0" "make-iterator": "^1.0.0"
...@@ -8400,8 +8400,8 @@ ...@@ -8400,8 +8400,8 @@
}, },
"ordered-read-streams": { "ordered-read-streams": {
"version": "1.0.1", "version": "1.0.1",
"resolved": "https://registry.npmjs.org/ordered-read-streams/-/ordered-read-streams-1.0.1.tgz", "resolved": "https://registry.npmmirror.com/ordered-read-streams/-/ordered-read-streams-1.0.1.tgz",
"integrity": "sha1-d8DLN8QVJdZBZtmQ/61+xqDhNj4=", "integrity": "sha512-Z87aSjx3r5c0ZB7bcJqIgIRX5bxR7A4aSzvIbaxd0oTkWBCOoKfuGHiKj60CHVUgg1Phm5yMZzBdt8XqRs73Mw==",
"requires": { "requires": {
"readable-stream": "^2.0.1" "readable-stream": "^2.0.1"
} }
...@@ -8444,7 +8444,7 @@ ...@@ -8444,7 +8444,7 @@
}, },
"osenv": { "osenv": {
"version": "0.1.5", "version": "0.1.5",
"resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz", "resolved": "https://registry.npmmirror.com/osenv/-/osenv-0.1.5.tgz",
"integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==", "integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==",
"requires": { "requires": {
"os-homedir": "^1.0.0", "os-homedir": "^1.0.0",
...@@ -8570,8 +8570,8 @@ ...@@ -8570,8 +8570,8 @@
}, },
"parse-filepath": { "parse-filepath": {
"version": "1.0.2", "version": "1.0.2",
"resolved": "https://registry.npmjs.org/parse-filepath/-/parse-filepath-1.0.2.tgz", "resolved": "https://registry.npmmirror.com/parse-filepath/-/parse-filepath-1.0.2.tgz",
"integrity": "sha1-pjISf1Oq89FYdvWHLz/6x2PWyJE=", "integrity": "sha512-FwdRXKCohSVeXqwtYonZTXtbGJKrn+HNyWDYVcp5yuJlesTwNH4rsmRZ+GrKAPJ5bLpRxESMeS+Rl0VCHRvB2Q==",
"requires": { "requires": {
"is-absolute": "^1.0.0", "is-absolute": "^1.0.0",
"map-cache": "^0.2.0", "map-cache": "^0.2.0",
...@@ -8590,13 +8590,13 @@ ...@@ -8590,13 +8590,13 @@
}, },
"parse-node-version": { "parse-node-version": {
"version": "1.0.1", "version": "1.0.1",
"resolved": "https://registry.npmjs.org/parse-node-version/-/parse-node-version-1.0.1.tgz", "resolved": "https://registry.npmmirror.com/parse-node-version/-/parse-node-version-1.0.1.tgz",
"integrity": "sha512-3YHlOa/JgH6Mnpr05jP9eDG254US9ek25LyIxZlDItp2iJtwyaXQb57lBYLdT3MowkUFYEV2XXNAYIPlESvJlA==" "integrity": "sha512-3YHlOa/JgH6Mnpr05jP9eDG254US9ek25LyIxZlDItp2iJtwyaXQb57lBYLdT3MowkUFYEV2XXNAYIPlESvJlA=="
}, },
"parse-passwd": { "parse-passwd": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/parse-passwd/-/parse-passwd-1.0.0.tgz", "resolved": "https://registry.npmmirror.com/parse-passwd/-/parse-passwd-1.0.0.tgz",
"integrity": "sha1-bVuTSkVpk7I9N/QKOC1vFmao5cY=" "integrity": "sha512-1Y1A//QUXEZK7YKz+rD9WydcE1+EuPr6ZBgKecAB8tmoW6UFv0NREVJe1p+jRxtThkcbbKkfwIbWJe/IeE6m2Q=="
}, },
"parse5": { "parse5": {
"version": "5.1.1", "version": "5.1.1",
...@@ -8665,16 +8665,16 @@ ...@@ -8665,16 +8665,16 @@
}, },
"path-root": { "path-root": {
"version": "0.1.1", "version": "0.1.1",
"resolved": "https://registry.npmjs.org/path-root/-/path-root-0.1.1.tgz", "resolved": "https://registry.npmmirror.com/path-root/-/path-root-0.1.1.tgz",
"integrity": "sha1-mkpoFMrBwM1zNgqV8yCDyOpHRbc=", "integrity": "sha512-QLcPegTHF11axjfojBIoDygmS2E3Lf+8+jI6wOVmNVenrKSo3mFdSGiIgdSHenczw3wPtlVMQaFVwGmM7BJdtg==",
"requires": { "requires": {
"path-root-regex": "^0.1.0" "path-root-regex": "^0.1.0"
} }
}, },
"path-root-regex": { "path-root-regex": {
"version": "0.1.2", "version": "0.1.2",
"resolved": "https://registry.npmjs.org/path-root-regex/-/path-root-regex-0.1.2.tgz", "resolved": "https://registry.npmmirror.com/path-root-regex/-/path-root-regex-0.1.2.tgz",
"integrity": "sha1-v8zcjfWxLcUsi0PsONGNcsBLqW0=" "integrity": "sha512-4GlJ6rZDhQZFE0DPVKh0e9jmZ5egZfxTkp7bcRDuPlJXbAwhxcl2dINPUAsjLdejqaLsCeg8axcLjIbvBjN4pQ=="
}, },
"path-to-regexp": { "path-to-regexp": {
"version": "0.1.7", "version": "0.1.7",
...@@ -9304,8 +9304,8 @@ ...@@ -9304,8 +9304,8 @@
}, },
"pretty-hrtime": { "pretty-hrtime": {
"version": "1.0.3", "version": "1.0.3",
"resolved": "https://registry.npmjs.org/pretty-hrtime/-/pretty-hrtime-1.0.3.tgz", "resolved": "https://registry.npmmirror.com/pretty-hrtime/-/pretty-hrtime-1.0.3.tgz",
"integrity": "sha1-t+PqQkNaTJsnWdmeDyAesZWALuE=" "integrity": "sha512-66hKPCr+72mlfiSjlEB1+45IjXSqvVAIy6mocupoww4tBFE9R9IhwwUGoI4G++Tc9Aq+2rxOt0RFU6gPcrte0A=="
}, },
"private": { "private": {
"version": "0.1.8", "version": "0.1.8",
...@@ -9593,8 +9593,8 @@ ...@@ -9593,8 +9593,8 @@
}, },
"rechoir": { "rechoir": {
"version": "0.6.2", "version": "0.6.2",
"resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.6.2.tgz", "resolved": "https://registry.npmmirror.com/rechoir/-/rechoir-0.6.2.tgz",
"integrity": "sha1-hSBLVNuoLVdC4oyWdW70OvUOM4Q=", "integrity": "sha512-HFM8rkZ+i3zrV+4LQjwQ0W+ez98pApMGM3HUrN04j3CqzPOzl9nmP15Y8YXNm8QHGv/eacOVEjqhmWpkRV0NAw==",
"requires": { "requires": {
"resolve": "^1.1.6" "resolve": "^1.1.6"
} }
...@@ -9731,7 +9731,7 @@ ...@@ -9731,7 +9731,7 @@
}, },
"remove-bom-buffer": { "remove-bom-buffer": {
"version": "3.0.0", "version": "3.0.0",
"resolved": "https://registry.npmjs.org/remove-bom-buffer/-/remove-bom-buffer-3.0.0.tgz", "resolved": "https://registry.npmmirror.com/remove-bom-buffer/-/remove-bom-buffer-3.0.0.tgz",
"integrity": "sha512-8v2rWhaakv18qcvNeli2mZ/TMTL2nEyAKRvzo1WtnZBl15SHyEhrCu2/xKlJyUFKHiHgfXIyuY6g2dObJJycXQ==", "integrity": "sha512-8v2rWhaakv18qcvNeli2mZ/TMTL2nEyAKRvzo1WtnZBl15SHyEhrCu2/xKlJyUFKHiHgfXIyuY6g2dObJJycXQ==",
"requires": { "requires": {
"is-buffer": "^1.1.5", "is-buffer": "^1.1.5",
...@@ -9740,8 +9740,8 @@ ...@@ -9740,8 +9740,8 @@
}, },
"remove-bom-stream": { "remove-bom-stream": {
"version": "1.2.0", "version": "1.2.0",
"resolved": "https://registry.npmjs.org/remove-bom-stream/-/remove-bom-stream-1.2.0.tgz", "resolved": "https://registry.npmmirror.com/remove-bom-stream/-/remove-bom-stream-1.2.0.tgz",
"integrity": "sha1-BfGlk/FuQuH7kOv1nejlaVJflSM=", "integrity": "sha512-wigO8/O08XHb8YPzpDDT+QmRANfW6vLqxfaXm1YXhnFf3AkSLyjfG3GEFg4McZkmgL7KvCj5u2KczkvSP6NfHA==",
"requires": { "requires": {
"remove-bom-buffer": "^3.0.0", "remove-bom-buffer": "^3.0.0",
"safe-buffer": "^5.1.0", "safe-buffer": "^5.1.0",
...@@ -9831,13 +9831,13 @@ ...@@ -9831,13 +9831,13 @@
}, },
"replace-ext": { "replace-ext": {
"version": "1.0.1", "version": "1.0.1",
"resolved": "https://registry.npmjs.org/replace-ext/-/replace-ext-1.0.1.tgz", "resolved": "https://registry.npmmirror.com/replace-ext/-/replace-ext-1.0.1.tgz",
"integrity": "sha512-yD5BHCe7quCgBph4rMQ+0KkIRKwWCrHDOX1p1Gp6HwjPM5kVoCdKGNhN7ydqqsX6lJEnQDKZ/tFMiEdQ1dvPEw==" "integrity": "sha512-yD5BHCe7quCgBph4rMQ+0KkIRKwWCrHDOX1p1Gp6HwjPM5kVoCdKGNhN7ydqqsX6lJEnQDKZ/tFMiEdQ1dvPEw=="
}, },
"replace-homedir": { "replace-homedir": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/replace-homedir/-/replace-homedir-1.0.0.tgz", "resolved": "https://registry.npmmirror.com/replace-homedir/-/replace-homedir-1.0.0.tgz",
"integrity": "sha1-6H9tUTuSjd6AgmDBK+f+xv9ueYw=", "integrity": "sha512-CHPV/GAglbIB1tnQgaiysb8H2yCy8WQ7lcEwQ/eT+kLj0QHV8LnJW0zpqpE7RSkrMSRoa+EBoag86clf7WAgSg==",
"requires": { "requires": {
"homedir-polyfill": "^1.0.1", "homedir-polyfill": "^1.0.1",
"is-absolute": "^1.0.0", "is-absolute": "^1.0.0",
...@@ -9932,8 +9932,8 @@ ...@@ -9932,8 +9932,8 @@
}, },
"resolve-dir": { "resolve-dir": {
"version": "1.0.1", "version": "1.0.1",
"resolved": "https://registry.npmjs.org/resolve-dir/-/resolve-dir-1.0.1.tgz", "resolved": "https://registry.npmmirror.com/resolve-dir/-/resolve-dir-1.0.1.tgz",
"integrity": "sha1-eaQGRMNivoLybv/nOcm7U4IEb0M=", "integrity": "sha512-R7uiTjECzvOsWSfdM0QKFNBVFcK27aHOUwdvK53BcW8zqnGdYp0Fbj82cy54+2A4P2tFM22J5kRfe1R+lM/1yg==",
"requires": { "requires": {
"expand-tilde": "^2.0.0", "expand-tilde": "^2.0.0",
"global-modules": "^1.0.0" "global-modules": "^1.0.0"
...@@ -9947,8 +9947,8 @@ ...@@ -9947,8 +9947,8 @@
}, },
"resolve-options": { "resolve-options": {
"version": "1.1.0", "version": "1.1.0",
"resolved": "https://registry.npmjs.org/resolve-options/-/resolve-options-1.1.0.tgz", "resolved": "https://registry.npmmirror.com/resolve-options/-/resolve-options-1.1.0.tgz",
"integrity": "sha1-MrueOcBtZzONyTeMDW1gdFZq0TE=", "integrity": "sha512-NYDgziiroVeDC29xq7bp/CacZERYsA9bXYd1ZmcJlF3BcrZv5pTb4NG7SjdyKDnXZ84aC4vo2u6sNKIA1LCu/A==",
"requires": { "requires": {
"value-or-function": "^3.0.0" "value-or-function": "^3.0.0"
} }
...@@ -10270,8 +10270,8 @@ ...@@ -10270,8 +10270,8 @@
}, },
"semver-greatest-satisfied-range": { "semver-greatest-satisfied-range": {
"version": "1.1.0", "version": "1.1.0",
"resolved": "https://registry.npmjs.org/semver-greatest-satisfied-range/-/semver-greatest-satisfied-range-1.1.0.tgz", "resolved": "https://registry.npmmirror.com/semver-greatest-satisfied-range/-/semver-greatest-satisfied-range-1.1.0.tgz",
"integrity": "sha1-E+jCZYq5aRywzXEJMkAoDTb3els=", "integrity": "sha512-Ny/iyOzSSa8M5ML46IAx3iXc6tfOsYU2R4AXi2UpHk60Zrgyq6eqPj/xiOfS0rRl/iiQ/rdJkVjw/5cdUyCntQ==",
"requires": { "requires": {
"sver-compat": "^1.5.0" "sver-compat": "^1.5.0"
} }
...@@ -10710,7 +10710,7 @@ ...@@ -10710,7 +10710,7 @@
}, },
"sortablejs": { "sortablejs": {
"version": "1.10.2", "version": "1.10.2",
"resolved": "https://registry.npmjs.org/sortablejs/-/sortablejs-1.10.2.tgz", "resolved": "https://registry.npmmirror.com/sortablejs/-/sortablejs-1.10.2.tgz",
"integrity": "sha512-YkPGufevysvfwn5rfdlGyrGjt7/CRHwvRPogD/lC+TnvcN29jDpCifKP+rBqf+LRldfXSTh+0CGLcSg0VIxq3A==" "integrity": "sha512-YkPGufevysvfwn5rfdlGyrGjt7/CRHwvRPogD/lC+TnvcN29jDpCifKP+rBqf+LRldfXSTh+0CGLcSg0VIxq3A=="
}, },
"source-list-map": { "source-list-map": {
...@@ -10761,7 +10761,7 @@ ...@@ -10761,7 +10761,7 @@
}, },
"sparkles": { "sparkles": {
"version": "1.0.1", "version": "1.0.1",
"resolved": "https://registry.npmjs.org/sparkles/-/sparkles-1.0.1.tgz", "resolved": "https://registry.npmmirror.com/sparkles/-/sparkles-1.0.1.tgz",
"integrity": "sha512-dSO0DDYUahUt/0/pD/Is3VIm5TGJjludZ0HVymmhYF6eNA53PVLhnUk0znSYbH8IYBuJdCE+1luR22jNLMaQdw==" "integrity": "sha512-dSO0DDYUahUt/0/pD/Is3VIm5TGJjludZ0HVymmhYF6eNA53PVLhnUk0znSYbH8IYBuJdCE+1luR22jNLMaQdw=="
}, },
"spdx-correct": { "spdx-correct": {
...@@ -10879,8 +10879,8 @@ ...@@ -10879,8 +10879,8 @@
}, },
"stack-trace": { "stack-trace": {
"version": "0.0.10", "version": "0.0.10",
"resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz", "resolved": "https://registry.npmmirror.com/stack-trace/-/stack-trace-0.0.10.tgz",
"integrity": "sha1-VHxws0fo0ytOEI6hoqFZ5f3eGcA=" "integrity": "sha512-KGzahc7puUKkzyMt+IqAep+TVNbKP+k2Lmwhub39m1AsTSkaDutx56aDCo+HLDzf/D26BIHTJWNiTG1KAJiQCg=="
}, },
"stackframe": { "stackframe": {
"version": "1.1.1", "version": "1.1.1",
...@@ -10915,7 +10915,7 @@ ...@@ -10915,7 +10915,7 @@
}, },
"stdout-stream": { "stdout-stream": {
"version": "1.4.1", "version": "1.4.1",
"resolved": "https://registry.npmjs.org/stdout-stream/-/stdout-stream-1.4.1.tgz", "resolved": "https://registry.npmmirror.com/stdout-stream/-/stdout-stream-1.4.1.tgz",
"integrity": "sha512-j4emi03KXqJWcIeF8eIXkjMFN1Cmb8gUlDYGeBALLPo5qdyTfA9bOtl8m33lRoC+vFMkP3gl0WsDr6+gzxbbTA==", "integrity": "sha512-j4emi03KXqJWcIeF8eIXkjMFN1Cmb8gUlDYGeBALLPo5qdyTfA9bOtl8m33lRoC+vFMkP3gl0WsDr6+gzxbbTA==",
"requires": { "requires": {
"readable-stream": "^2.0.1" "readable-stream": "^2.0.1"
...@@ -10949,7 +10949,7 @@ ...@@ -10949,7 +10949,7 @@
}, },
"stream-exhaust": { "stream-exhaust": {
"version": "1.0.2", "version": "1.0.2",
"resolved": "https://registry.npmjs.org/stream-exhaust/-/stream-exhaust-1.0.2.tgz", "resolved": "https://registry.npmmirror.com/stream-exhaust/-/stream-exhaust-1.0.2.tgz",
"integrity": "sha512-b/qaq/GlBK5xaq1yrK9/zFcyRSTNxmcZwFLGSTG0mXgZl/4Z6GgiyYOXOvY7N3eEvFRAG1bkDRz5EPGSvPYQlw==" "integrity": "sha512-b/qaq/GlBK5xaq1yrK9/zFcyRSTNxmcZwFLGSTG0mXgZl/4Z6GgiyYOXOvY7N3eEvFRAG1bkDRz5EPGSvPYQlw=="
}, },
"stream-http": { "stream-http": {
...@@ -11112,8 +11112,8 @@ ...@@ -11112,8 +11112,8 @@
}, },
"sver-compat": { "sver-compat": {
"version": "1.5.0", "version": "1.5.0",
"resolved": "https://registry.npmjs.org/sver-compat/-/sver-compat-1.5.0.tgz", "resolved": "https://registry.npmmirror.com/sver-compat/-/sver-compat-1.5.0.tgz",
"integrity": "sha1-PPh9/rTQe0o/FIJ7wYaz/QxkXNg=", "integrity": "sha512-aFTHfmjwizMNlNE6dsGmoAM4lHjL0CyiobWaFiXWSlD7cIxshW422Nb8KbXCmR6z+0ZEPY+daXJrDyh/vuwTyg==",
"requires": { "requires": {
"es6-iterator": "^2.0.1", "es6-iterator": "^2.0.1",
"es6-symbol": "^3.1.1" "es6-symbol": "^3.1.1"
...@@ -11194,7 +11194,7 @@ ...@@ -11194,7 +11194,7 @@
}, },
"tar": { "tar": {
"version": "2.2.2", "version": "2.2.2",
"resolved": "https://registry.npmjs.org/tar/-/tar-2.2.2.tgz", "resolved": "https://registry.npmmirror.com/tar/-/tar-2.2.2.tgz",
"integrity": "sha512-FCEhQ/4rE1zYv9rYXJw/msRqsnmlje5jHP6huWeBZ704jUTy02c5AZyWujpMR1ax6mVw9NyJMfuK2CMDWVIfgA==", "integrity": "sha512-FCEhQ/4rE1zYv9rYXJw/msRqsnmlje5jHP6huWeBZ704jUTy02c5AZyWujpMR1ax6mVw9NyJMfuK2CMDWVIfgA==",
"requires": { "requires": {
"block-stream": "*", "block-stream": "*",
...@@ -11314,7 +11314,7 @@ ...@@ -11314,7 +11314,7 @@
}, },
"through2-filter": { "through2-filter": {
"version": "3.0.0", "version": "3.0.0",
"resolved": "https://registry.npmjs.org/through2-filter/-/through2-filter-3.0.0.tgz", "resolved": "https://registry.npmmirror.com/through2-filter/-/through2-filter-3.0.0.tgz",
"integrity": "sha512-jaRjI2WxN3W1V8/FMZ9HKIBXixtiqs3SQSX4/YGIiP3gL6djW48VoZq9tDqeCWs3MT8YY5wb/zli8VW8snY1CA==", "integrity": "sha512-jaRjI2WxN3W1V8/FMZ9HKIBXixtiqs3SQSX4/YGIiP3gL6djW48VoZq9tDqeCWs3MT8YY5wb/zli8VW8snY1CA==",
"requires": { "requires": {
"through2": "~2.0.0", "through2": "~2.0.0",
...@@ -11329,8 +11329,8 @@ ...@@ -11329,8 +11329,8 @@
}, },
"time-stamp": { "time-stamp": {
"version": "1.1.0", "version": "1.1.0",
"resolved": "https://registry.npmjs.org/time-stamp/-/time-stamp-1.1.0.tgz", "resolved": "https://registry.npmmirror.com/time-stamp/-/time-stamp-1.1.0.tgz",
"integrity": "sha1-dkpaEa9QVhkhsTPztE5hhofg9cM=" "integrity": "sha512-gLCeArryy2yNTRzTGKbZbloctj64jkZ57hj5zdraXue6aFgd6PmvVtEyiUU+hvU0v7q08oVv8r8ev0tRo6bvgw=="
}, },
"timers-browserify": { "timers-browserify": {
"version": "2.0.11", "version": "2.0.11",
...@@ -11358,8 +11358,8 @@ ...@@ -11358,8 +11358,8 @@
}, },
"to-absolute-glob": { "to-absolute-glob": {
"version": "2.0.2", "version": "2.0.2",
"resolved": "https://registry.npmjs.org/to-absolute-glob/-/to-absolute-glob-2.0.2.tgz", "resolved": "https://registry.npmmirror.com/to-absolute-glob/-/to-absolute-glob-2.0.2.tgz",
"integrity": "sha1-GGX0PZ50sIItufFFt4z/fQ98hJs=", "integrity": "sha512-rtwLUQEwT8ZeKQbyFJyomBRYXyE16U5VKuy0ftxLMK/PZb2fkOsg5r9kHdauuVDbsNdIBoC/HCthpidamQFXYA==",
"requires": { "requires": {
"is-absolute": "^1.0.0", "is-absolute": "^1.0.0",
"is-negated-glob": "^1.0.0" "is-negated-glob": "^1.0.0"
...@@ -11417,8 +11417,8 @@ ...@@ -11417,8 +11417,8 @@
}, },
"to-through": { "to-through": {
"version": "2.0.0", "version": "2.0.0",
"resolved": "https://registry.npmjs.org/to-through/-/to-through-2.0.0.tgz", "resolved": "https://registry.npmmirror.com/to-through/-/to-through-2.0.0.tgz",
"integrity": "sha1-/JKtq6ByZHvAtn1rA2ZKoZUJOvY=", "integrity": "sha512-+QIz37Ly7acM4EMdw2PRN389OneM5+d844tirkGp4dPKzI5OE72V9OsbFp+CIYJDahZ41ZV05hNtcPAQUAm9/Q==",
"requires": { "requires": {
"through2": "^2.0.3" "through2": "^2.0.3"
} }
...@@ -11458,7 +11458,7 @@ ...@@ -11458,7 +11458,7 @@
}, },
"true-case-path": { "true-case-path": {
"version": "1.0.3", "version": "1.0.3",
"resolved": "https://registry.npmjs.org/true-case-path/-/true-case-path-1.0.3.tgz", "resolved": "https://registry.npmmirror.com/true-case-path/-/true-case-path-1.0.3.tgz",
"integrity": "sha512-m6s2OdQe5wgpFMC+pAJ+q9djG82O2jcHPOI6RNg1yy9rCYR+WD6Nbpl32fDpfC56nirdRy+opFa/Vk7HYhqaew==", "integrity": "sha512-m6s2OdQe5wgpFMC+pAJ+q9djG82O2jcHPOI6RNg1yy9rCYR+WD6Nbpl32fDpfC56nirdRy+opFa/Vk7HYhqaew==",
"requires": { "requires": {
"glob": "^7.1.2" "glob": "^7.1.2"
...@@ -11497,7 +11497,7 @@ ...@@ -11497,7 +11497,7 @@
}, },
"type": { "type": {
"version": "1.2.0", "version": "1.2.0",
"resolved": "https://registry.npmjs.org/type/-/type-1.2.0.tgz", "resolved": "https://registry.npmmirror.com/type/-/type-1.2.0.tgz",
"integrity": "sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg==" "integrity": "sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg=="
}, },
"type-check": { "type-check": {
...@@ -11552,12 +11552,12 @@ ...@@ -11552,12 +11552,12 @@
}, },
"unc-path-regex": { "unc-path-regex": {
"version": "0.1.2", "version": "0.1.2",
"resolved": "https://registry.npmjs.org/unc-path-regex/-/unc-path-regex-0.1.2.tgz", "resolved": "https://registry.npmmirror.com/unc-path-regex/-/unc-path-regex-0.1.2.tgz",
"integrity": "sha1-5z3T17DXxe2G+6xrCufYxqadUPo=" "integrity": "sha512-eXL4nmJT7oCpkZsHZUOJo8hcX3GbsiDOa0Qu9F646fi8dT3XuSVopVqAcEiVzSKKH7UoDti23wNX3qGFxcW5Qg=="
}, },
"undertaker": { "undertaker": {
"version": "1.3.0", "version": "1.3.0",
"resolved": "https://registry.npmjs.org/undertaker/-/undertaker-1.3.0.tgz", "resolved": "https://registry.npmmirror.com/undertaker/-/undertaker-1.3.0.tgz",
"integrity": "sha512-/RXwi5m/Mu3H6IHQGww3GNt1PNXlbeCuclF2QYR14L/2CHPz3DFZkvB5hZ0N/QUkiXWCACML2jXViIQEQc2MLg==", "integrity": "sha512-/RXwi5m/Mu3H6IHQGww3GNt1PNXlbeCuclF2QYR14L/2CHPz3DFZkvB5hZ0N/QUkiXWCACML2jXViIQEQc2MLg==",
"requires": { "requires": {
"arr-flatten": "^1.0.1", "arr-flatten": "^1.0.1",
...@@ -11574,15 +11574,15 @@ ...@@ -11574,15 +11574,15 @@
"dependencies": { "dependencies": {
"fast-levenshtein": { "fast-levenshtein": {
"version": "1.1.4", "version": "1.1.4",
"resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-1.1.4.tgz", "resolved": "https://registry.npmmirror.com/fast-levenshtein/-/fast-levenshtein-1.1.4.tgz",
"integrity": "sha1-5qdUzI8V5YmHqpy9J69m/W9OWvk=" "integrity": "sha512-Ia0sQNrMPXXkqVFt6w6M1n1oKo3NfKs+mvaV811Jwir7vAk9a6PVV9VPYf6X3BU97QiLEmuW3uXH9u87zDFfdw=="
} }
} }
}, },
"undertaker-registry": { "undertaker-registry": {
"version": "1.0.1", "version": "1.0.1",
"resolved": "https://registry.npmjs.org/undertaker-registry/-/undertaker-registry-1.0.1.tgz", "resolved": "https://registry.npmmirror.com/undertaker-registry/-/undertaker-registry-1.0.1.tgz",
"integrity": "sha1-XkvaMI5KiirlhPm5pDWaSZglzFA=" "integrity": "sha512-UR1khWeAjugW3548EfQmL9Z7pGMlBgXteQpr1IZeZBtnkCJQJIJ1Scj0mb9wQaPvUZ9Q17XqW6TIaPchJkyfqw=="
}, },
"unicode-canonical-property-names-ecmascript": { "unicode-canonical-property-names-ecmascript": {
"version": "1.0.4", "version": "1.0.4",
...@@ -11655,7 +11655,7 @@ ...@@ -11655,7 +11655,7 @@
}, },
"unique-stream": { "unique-stream": {
"version": "2.3.1", "version": "2.3.1",
"resolved": "https://registry.npmjs.org/unique-stream/-/unique-stream-2.3.1.tgz", "resolved": "https://registry.npmmirror.com/unique-stream/-/unique-stream-2.3.1.tgz",
"integrity": "sha512-2nY4TnBE70yoxHkDli7DMazpWiP7xMdCYqU2nBRO0UB+ZpEkGsSija7MvmvnZFUeC+mrgiUfcHSr3LmRFIg4+A==", "integrity": "sha512-2nY4TnBE70yoxHkDli7DMazpWiP7xMdCYqU2nBRO0UB+ZpEkGsSija7MvmvnZFUeC+mrgiUfcHSr3LmRFIg4+A==",
"requires": { "requires": {
"json-stable-stringify-without-jsonify": "^1.0.1", "json-stable-stringify-without-jsonify": "^1.0.1",
...@@ -11835,7 +11835,7 @@ ...@@ -11835,7 +11835,7 @@
}, },
"v8flags": { "v8flags": {
"version": "3.2.0", "version": "3.2.0",
"resolved": "https://registry.npmjs.org/v8flags/-/v8flags-3.2.0.tgz", "resolved": "https://registry.npmmirror.com/v8flags/-/v8flags-3.2.0.tgz",
"integrity": "sha512-mH8etigqMfiGWdeXpaaqGfs6BndypxusHHcv2qSHyZkGEznCd/qAXCWWRzeowtL54147cktFOC4P5y+kl8d8Jg==", "integrity": "sha512-mH8etigqMfiGWdeXpaaqGfs6BndypxusHHcv2qSHyZkGEznCd/qAXCWWRzeowtL54147cktFOC4P5y+kl8d8Jg==",
"requires": { "requires": {
"homedir-polyfill": "^1.0.1" "homedir-polyfill": "^1.0.1"
...@@ -11852,8 +11852,8 @@ ...@@ -11852,8 +11852,8 @@
}, },
"value-or-function": { "value-or-function": {
"version": "3.0.0", "version": "3.0.0",
"resolved": "https://registry.npmjs.org/value-or-function/-/value-or-function-3.0.0.tgz", "resolved": "https://registry.npmmirror.com/value-or-function/-/value-or-function-3.0.0.tgz",
"integrity": "sha1-HCQ6ULWVwb5Up1S/7OhWO5/42BM=" "integrity": "sha512-jdBB2FrWvQC/pnPtIqcLsMaQgjhdb6B7tk1MMyTKapox+tQZbdRP4uLxu/JY0t7fbfDCUMnuelzEYv5GsxHhdg=="
}, },
"vary": { "vary": {
"version": "1.1.2", "version": "1.1.2",
...@@ -11879,7 +11879,7 @@ ...@@ -11879,7 +11879,7 @@
}, },
"vinyl": { "vinyl": {
"version": "2.2.1", "version": "2.2.1",
"resolved": "https://registry.npmjs.org/vinyl/-/vinyl-2.2.1.tgz", "resolved": "https://registry.npmmirror.com/vinyl/-/vinyl-2.2.1.tgz",
"integrity": "sha512-LII3bXRFBZLlezoG5FfZVcXflZgWP/4dCwKtxd5ky9+LOtM4CS3bIRQsmR1KMnMW07jpE8fqR2lcxPZ+8sJIcw==", "integrity": "sha512-LII3bXRFBZLlezoG5FfZVcXflZgWP/4dCwKtxd5ky9+LOtM4CS3bIRQsmR1KMnMW07jpE8fqR2lcxPZ+8sJIcw==",
"requires": { "requires": {
"clone": "^2.1.1", "clone": "^2.1.1",
...@@ -11892,14 +11892,14 @@ ...@@ -11892,14 +11892,14 @@
"dependencies": { "dependencies": {
"clone": { "clone": {
"version": "2.1.2", "version": "2.1.2",
"resolved": "https://registry.npmjs.org/clone/-/clone-2.1.2.tgz", "resolved": "https://registry.npmmirror.com/clone/-/clone-2.1.2.tgz",
"integrity": "sha1-G39Ln1kfHo+DZwQBYANFoCiHQ18=" "integrity": "sha512-3Pe/CF1Nn94hyhIYpjtiLhdCoEoz0DqQ+988E9gmeEdQZlojxnOb74wctFyuwWQHzqyf9X7C7MG8juUpqBJT8w=="
} }
} }
}, },
"vinyl-fs": { "vinyl-fs": {
"version": "3.0.3", "version": "3.0.3",
"resolved": "https://registry.npmjs.org/vinyl-fs/-/vinyl-fs-3.0.3.tgz", "resolved": "https://registry.npmmirror.com/vinyl-fs/-/vinyl-fs-3.0.3.tgz",
"integrity": "sha512-vIu34EkyNyJxmP0jscNzWBSygh7VWhqun6RmqVfXePrOwi9lhvRs//dOaGOTRUQr4tx7/zd26Tk5WeSVZitgng==", "integrity": "sha512-vIu34EkyNyJxmP0jscNzWBSygh7VWhqun6RmqVfXePrOwi9lhvRs//dOaGOTRUQr4tx7/zd26Tk5WeSVZitgng==",
"requires": { "requires": {
"fs-mkdirp-stream": "^1.0.0", "fs-mkdirp-stream": "^1.0.0",
...@@ -11923,8 +11923,8 @@ ...@@ -11923,8 +11923,8 @@
}, },
"vinyl-sourcemap": { "vinyl-sourcemap": {
"version": "1.1.0", "version": "1.1.0",
"resolved": "https://registry.npmjs.org/vinyl-sourcemap/-/vinyl-sourcemap-1.1.0.tgz", "resolved": "https://registry.npmmirror.com/vinyl-sourcemap/-/vinyl-sourcemap-1.1.0.tgz",
"integrity": "sha1-kqgAWTo4cDqM2xHYswCtS+Y7PhY=", "integrity": "sha512-NiibMgt6VJGJmyw7vtzhctDcfKch4e4n9TBeoWlirb7FMg9/1Ov9k+A5ZRAtywBpRPiyECvQRQllYM8dECegVA==",
"requires": { "requires": {
"append-buffer": "^1.0.2", "append-buffer": "^1.0.2",
"convert-source-map": "^1.5.0", "convert-source-map": "^1.5.0",
...@@ -11937,8 +11937,8 @@ ...@@ -11937,8 +11937,8 @@
"dependencies": { "dependencies": {
"normalize-path": { "normalize-path": {
"version": "2.1.1", "version": "2.1.1",
"resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz", "resolved": "https://registry.npmmirror.com/normalize-path/-/normalize-path-2.1.1.tgz",
"integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=", "integrity": "sha512-3pKJwH184Xo/lnH6oyP1q2pMd7HcypqqmRs91/6/i2CGtWwIKGCkOOMTm/zXbgTEWHw1uNpNi/igc3ePOYHb6w==",
"requires": { "requires": {
"remove-trailing-separator": "^1.0.1" "remove-trailing-separator": "^1.0.1"
} }
...@@ -12041,7 +12041,7 @@ ...@@ -12041,7 +12041,7 @@
}, },
"vuedraggable": { "vuedraggable": {
"version": "2.24.3", "version": "2.24.3",
"resolved": "https://registry.npmjs.org/vuedraggable/-/vuedraggable-2.24.3.tgz", "resolved": "https://registry.npmmirror.com/vuedraggable/-/vuedraggable-2.24.3.tgz",
"integrity": "sha512-6/HDXi92GzB+Hcs9fC6PAAozK1RLt1ewPTLjK0anTYguXLAeySDmcnqE8IC0xa7shvSzRjQXq3/+dsZ7ETGF3g==", "integrity": "sha512-6/HDXi92GzB+Hcs9fC6PAAozK1RLt1ewPTLjK0anTYguXLAeySDmcnqE8IC0xa7shvSzRjQXq3/+dsZ7ETGF3g==",
"requires": { "requires": {
"sortablejs": "1.10.2" "sortablejs": "1.10.2"
...@@ -12054,7 +12054,7 @@ ...@@ -12054,7 +12054,7 @@
}, },
"wangeditor": { "wangeditor": {
"version": "4.7.12", "version": "4.7.12",
"resolved": "https://registry.npmjs.org/wangeditor/-/wangeditor-4.7.12.tgz", "resolved": "https://registry.npmmirror.com/wangeditor/-/wangeditor-4.7.12.tgz",
"integrity": "sha512-5KOIpQ0+idKvDTkjZOp7RHYXA97FyJ9mjwy+zQUdMUCqZItlEXzvVOYtOlHkJr/HcbwgIz/7f/trGFggZK5X4g==", "integrity": "sha512-5KOIpQ0+idKvDTkjZOp7RHYXA97FyJ9mjwy+zQUdMUCqZItlEXzvVOYtOlHkJr/HcbwgIz/7f/trGFggZK5X4g==",
"requires": { "requires": {
"@babel/runtime": "^7.11.2", "@babel/runtime": "^7.11.2",
...@@ -12072,12 +12072,12 @@ ...@@ -12072,12 +12072,12 @@
}, },
"regenerator-runtime": { "regenerator-runtime": {
"version": "0.13.9", "version": "0.13.9",
"resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz", "resolved": "https://registry.npmmirror.com/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz",
"integrity": "sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==" "integrity": "sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA=="
}, },
"tslib": { "tslib": {
"version": "2.3.1", "version": "2.3.1",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz", "resolved": "https://registry.npmmirror.com/tslib/-/tslib-2.3.1.tgz",
"integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==" "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw=="
} }
} }
...@@ -12461,7 +12461,7 @@ ...@@ -12461,7 +12461,7 @@
}, },
"wide-align": { "wide-align": {
"version": "1.1.5", "version": "1.1.5",
"resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.5.tgz", "resolved": "https://registry.npmmirror.com/wide-align/-/wide-align-1.1.5.tgz",
"integrity": "sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==", "integrity": "sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==",
"requires": { "requires": {
"string-width": "^1.0.2 || 2 || 3 || 4" "string-width": "^1.0.2 || 2 || 3 || 4"
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
"el-tree-transfer": "^2.2.6", "el-tree-transfer": "^2.2.6",
"element-ui": "^2.4.5", "element-ui": "^2.4.5",
"glsx-common": "^1.4.6", "glsx-common": "^1.4.6",
"glsx-components": "^1.3.7", "glsx-components": "^1.4.3",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"node-sass": "^4.0.0", "node-sass": "^4.0.0",
"vue": "^2.6.10", "vue": "^2.6.10",
......
...@@ -183,4 +183,16 @@ const getAllGoodsApi = params => { ...@@ -183,4 +183,16 @@ const getAllGoodsApi = params => {
}) })
} }
export default { getCouponListApi, couponExportApi, couponGroupExportApi, couponStoreExportApi, getPackageListApi, getVerificationListApi, verificationExportApi, effectiveCouponApi, codeVerificationApi, getCouponDetailApi, deleteCouponApi, createCouponApi, updateCouponApi, getAllGoodsApi, getListReceiveRecordApi, exportReceiveRecordApi } // 优惠券-作废
const couponUserCancelApi = params => {
params.method = `scrm.api.coupon.user.cancel`
return http({
url: 'rop-scrm-coupon/router',
method: 'POST',
data: params,
sign: true,
returnAll: true
})
}
export default { getCouponListApi, couponExportApi, couponGroupExportApi, couponStoreExportApi, getPackageListApi, getVerificationListApi, verificationExportApi, effectiveCouponApi, codeVerificationApi, getCouponDetailApi, deleteCouponApi, createCouponApi, updateCouponApi, getAllGoodsApi, getListReceiveRecordApi, exportReceiveRecordApi, couponUserCancelApi }
...@@ -119,4 +119,15 @@ const templateModal = params => { ...@@ -119,4 +119,15 @@ const templateModal = params => {
}) })
} }
export default { getFollowerStaffListApi, getListApi, giftExportApi, deleteGiftApi, getGiftInfoApi, getReceivedGiftInfoApi, exportGiftInfoApi, getDirectionalGiftListApi, insertGiftApi, templateModal ,getghDirectionalGiftListApi } const toVoidGift = params => {
params.method = 'scrm.api.coupon.user.directional.gift.cancel'
return http({
url: 'rop-scrm-coupon/router',
method: 'POST',
data: params,
sign: true,
returnAll: true
})
}
export default { getFollowerStaffListApi, getListApi, giftExportApi, deleteGiftApi, getGiftInfoApi, getReceivedGiftInfoApi, exportGiftInfoApi, getDirectionalGiftListApi, insertGiftApi, templateModal, getghDirectionalGiftListApi, toVoidGift }
...@@ -190,6 +190,7 @@ html { ...@@ -190,6 +190,7 @@ html {
.marketing .el-table .cell { .marketing .el-table .cell {
line-height: 16px; line-height: 16px;
padding: 0 16px !important;
} }
.marketing .table-btns .el-button { .marketing .table-btns .el-button {
...@@ -437,6 +438,7 @@ html { ...@@ -437,6 +438,7 @@ html {
background-color: rgba(242, 242, 242, 1); background-color: rgba(242, 242, 242, 1);
} }
.message-Z-zinde,
.marketing .message-Z-zinde { .marketing .message-Z-zinde {
z-index: 9999 !important; z-index: 9999 !important;
} }
...@@ -548,6 +550,9 @@ html { ...@@ -548,6 +550,9 @@ html {
color: #5850ff; color: #5850ff;
font-size: 16px; font-size: 16px;
} }
.marketing .text-10 {
font-size: 10px;
}
.marketing .text-14 { .marketing .text-14 {
font-size: 14px; font-size: 14px;
} }
...@@ -580,3 +585,16 @@ html { ...@@ -580,3 +585,16 @@ html {
border-top-color: #e4e7ed !important; border-top-color: #e4e7ed !important;
} }
/* tab */ /* tab */
.myMessage {
z-index: 4000 !important;
}
.loadingClass{
.el-icon-loading{
font-size: 22px;
}
.el-icon-loading,
.el-loading-text{
color: #5850ff!important;
}
}
\ No newline at end of file \ No newline at end of file
...@@ -317,6 +317,7 @@ export default { ...@@ -317,6 +317,7 @@ export default {
border-radius: 4px; border-radius: 4px;
height: 26px; height: 26px;
line-height: 26px; line-height: 26px;
margin-bottom: 10px;
} }
} }
.tag-panel { .tag-panel {
......
...@@ -20,6 +20,7 @@ export const fetchConfig = function (isEnv = true) { ...@@ -20,6 +20,7 @@ export const fetchConfig = function (isEnv = true) {
//return window.fetch('https://', {}).then(res => res.json()) //return window.fetch('https://', {}).then(res => res.json())
// request({ url: 'https://oss-config.test.glsx.com.cn/mock/5be17454f31545347559d499/config/oss_commodity_center', method: 'get' }) // request({ url: 'https://oss-config.test.glsx.com.cn/mock/5be17454f31545347559d499/config/oss_commodity_center', method: 'get' })
return new Http().get('https://oss-config.test.glsx.com.cn/mock/619c87331072f92988f05a29/marketing/config') return new Http().get('https://oss-config.test.glsx.com.cn/mock/619c87331072f92988f05a29/marketing/config')
// return new Http({ Headers: { refererurl: location.href }, request: { timeout: 30000 } }).get('http://config-center-backend.test.glsx.com/glsxAdmin/config?moduleUrl=marketing').then(res => res.data)
// return new Http().get('https://oss-config.dev.glsx.com.cn/mock/619c87331072f92988f05a29/marketing/config') // return new Http().get('https://oss-config.dev.glsx.com.cn/mock/619c87331072f92988f05a29/marketing/config')
} }
export const config = { export const config = {
......
...@@ -8,9 +8,9 @@ ...@@ -8,9 +8,9 @@
import Vue from 'vue' import Vue from 'vue'
import { message, messageBox } from '@/plugins/element.js' import { message, messageBox } from '@/plugins/element.js'
import { fetchConfig } from '@/config' import { fetchConfig } from '@/config'
import { GLButton, GLTable, GLFooter } from 'glsx-components' //权限按钮 (根据权限动态创建)
import { getRoutes } from '@/router'
import ElementUI from 'element-ui' import ElementUI from 'element-ui'
import { GLButton, GLTable, GLFooter, GLCombiForm, GLTableButton } from 'glsx-components' //权限按钮 (根据权限动态创建)
import { getRoutes } from '@/router'
import '@/assets/css/public.scss' import '@/assets/css/public.scss'
import render from './render' import render from './render'
// import 'glsx-components/src/theme/theme.scss' // import 'glsx-components/src/theme/theme.scss'
...@@ -21,6 +21,8 @@ let instance = null ...@@ -21,6 +21,8 @@ let instance = null
Vue.use(ElementUI) Vue.use(ElementUI)
Vue.use(GLTable) Vue.use(GLTable)
Vue.use(GLFooter) Vue.use(GLFooter)
Vue.use(GLCombiForm)
Vue.use(GLTableButton)
export async function bootstrap({ history, common, messenger, globalState, routerBase }) { export async function bootstrap({ history, common, messenger, globalState, routerBase }) {
const { response, request, request2, sign, secret, sign_common, request_common, request_merchant, xiaolong_req } = await fetchConfig(false) const { response, request, request2, sign, secret, sign_common, request_common, request_merchant, xiaolong_req } = await fetchConfig(false)
Vue.prototype.$history = history Vue.prototype.$history = history
...@@ -36,6 +38,12 @@ export async function bootstrap({ history, common, messenger, globalState, route ...@@ -36,6 +38,12 @@ export async function bootstrap({ history, common, messenger, globalState, route
Vue.prototype.$http_merchant = new common.Http({ response, request: request_merchant, sign, secret, alert: message.error, headers: { token: globalState.session.token } }) Vue.prototype.$http_merchant = new common.Http({ response, request: request_merchant, sign, secret, alert: message.error, headers: { token: globalState.session.token } })
Vue.prototype.$http_common = new common.Http({ response, signWay: 'md5', request: request_common, sign: sign_common, secret, alert: ElementUI.Message.error, headers: { TGT: globalState.session.token } }) Vue.prototype.$http_common = new common.Http({ response, signWay: 'md5', request: request_common, sign: sign_common, secret, alert: ElementUI.Message.error, headers: { TGT: globalState.session.token } })
Vue.prototype.$http_xiaolong = new common.Http({ response, request: xiaolong_req, sign, secret, alert: message.error, headers: { token: globalState.session.token } }) Vue.prototype.$http_xiaolong = new common.Http({ response, request: xiaolong_req, sign, secret, alert: message.error, headers: { token: globalState.session.token } })
// const myToken = 'scrm-base-107ee03c-1214-48c3-a443-a2332e553b2f-rop'
// Vue.prototype.$http = new common.Http({ response, request, sign, secret, alert: message.error, headers: { token: myToken } })
// Vue.prototype.$http2 = new common.Http({ response, request: request2, sign, secret, alert: message.error, headers: { token: myToken } })
// Vue.prototype.$http_merchant = new common.Http({ response, request: request_merchant, sign, secret, alert: message.error, headers: { token: myToken } })
// Vue.prototype.$http_common = new common.Http({ response, signWay: 'md5', request: request_common, sign: sign_common, secret, alert: ElementUI.Message.error, headers: { TGT: myToken } })
// Vue.prototype.$http_xiaolong = new common.Http({ response, request: xiaolong_req, sign, secret, alert: message.error, headers: { token: myToken } })
// Vue.prototype.$setGlobalState = globalState.actions.setGlobalState // Vue.prototype.$setGlobalState = globalState.actions.setGlobalState
// Vue.use(GLButton, { permissions: globalState.permissions || ['1-1-1-1', '2-1-1-1', '3-1-1-1'] }) // Vue.use(GLButton, { permissions: globalState.permissions || ['1-1-1-1', '2-1-1-1', '3-1-1-1'] })
const routesData = common.utils.deepClone(globalState.routers) const routesData = common.utils.deepClone(globalState.routers)
......
...@@ -2,26 +2,17 @@ ...@@ -2,26 +2,17 @@
<template> <template>
<div class="marketing p-t-20"> <div class="marketing p-t-20">
<div class="m-b-20"> <div class="m-b-20">
<!-- <el-button :size="size" type="primary" class="el-icon-plus" @click="handleEdit(1)">新建分类</el-button> -->
<GLButton :size="size" type="primary" fn="新建分类" class="el-icon-plus" @click="handleEdit(1)">新建分类</GLButton> <GLButton :size="size" type="primary" fn="新建分类" class="el-icon-plus" @click="handleEdit(1)">新建分类</GLButton>
</div> </div>
<div class="container"> <div class="container">
<div> <div>
<glsx-combi-form ref="showSearch" :formObj="searchForm" :formData="searchFormData"> <GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
<span slot="footer" class="footer-btns">
<el-button :size="size" type="default" @click="handleReset">重置</el-button>
<el-button :size="size" type="primary" @click="handleSearch">查询</el-button>
</span>
</glsx-combi-form>
</div> </div>
<!-- 表格区域 开始 --> <!-- 表格区域 开始 -->
<GLTable ref="classifyRef" :getListApi="getListApi" :noDataImg="url" :searchForm="tableSearchForm" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn" @setTableFinishFun="setTableFinishFun"> <GLTable ref="classifyRef" :getListApi="getListApi" :noDataImg="url" :searchForm="tableSearchForm" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn" @setTableFinishFun="setTableFinishFun">
<div class="table-btns" slot="auth-button" slot-scope="scope"> <div class="table-btns" slot="auth-button" slot-scope="scope">
<!-- <el-button type="text" @click="handleEdit(2, scope.scope)">编辑</el-button> --> <GLTableButton :buttonList="tableButtonList" :buttonItem="scope.scope" :buttonNum="3"></GLTableButton>
<GLButton type="text" fn="编辑" @click="handleEdit(2, scope.scope)">编辑</GLButton>
<el-button type="text" @click="handleDelete(scope.scope)">删除</el-button>
<el-button type="text" @click="handleTop(scope.scope)">置顶</el-button>
</div> </div>
</GLTable> </GLTable>
<!-- 表格区域 end --> <!-- 表格区域 end -->
...@@ -59,6 +50,40 @@ export default { ...@@ -59,6 +50,40 @@ export default {
pickerOptions: 'beforeRangePickerOptions' pickerOptions: 'beforeRangePickerOptions'
} }
], ],
// 表格按钮
tableButtonList: [
{
type: 'GLButton',
name: '编辑',
attrs: {
type: 'text',
fn: '编辑'
},
listeners: {
click: row => this.handleEdit(2, row)
}
},
{
type: 'el-button',
name: '删除',
attrs: {
type: 'text'
},
listeners: {
click: this.handleDelete
}
},
{
type: 'el-button',
name: '置顶',
attrs: {
type: 'text'
},
listeners: {
click: this.handleTop
}
}
],
// 表格 // 表格
getListApi: this.$apis.classifyList.getListApi, getListApi: this.$apis.classifyList.getListApi,
tableParams: { tableParams: {
...@@ -72,7 +97,7 @@ export default { ...@@ -72,7 +97,7 @@ export default {
{ {
label: '创建日期', label: '创建日期',
prop: 'createdDate', prop: 'createdDate',
width: '180', // width: '180',
formatter: cellValue => { formatter: cellValue => {
return dayjs(cellValue.createdDate).format('YYYY-MM-DD HH:mm:ss') return dayjs(cellValue.createdDate).format('YYYY-MM-DD HH:mm:ss')
} }
...@@ -83,7 +108,7 @@ export default { ...@@ -83,7 +108,7 @@ export default {
} }
}, },
mounted() {}, mounted() { },
methods: { methods: {
getParams() { getParams() {
......
...@@ -53,13 +53,11 @@ ...@@ -53,13 +53,11 @@
</div> </div>
</div> </div>
<p class="edit-title">{{ title }}兑换券</p> <p class="edit-title">{{ title }}兑换券</p>
<glsx-combi-form class="edit-form-container" ref="editFormRef" :isEdit="true" :isBlock="true" <glsx-combi-form class="edit-form-container" ref="editFormRef" :isEdit="true" :isBlock="true" :formRef="editChildRef" :formObj="editForm" :formData="editFormData" :formRules="editRule">
:formRef="editChildRef" :formObj="editForm" :formData="editFormData" :formRules="editRule">
<!-- 库存,集团版集团账号-无限制库存;其他-输入框 --> <!-- 库存,集团版集团账号-无限制库存;其他-输入框 -->
<template slot="stock" slot-scope="scope"> <template slot="stock" slot-scope="scope">
<span v-if="$isGroupUp">无库存限制</span> <span v-if="$isGroupUp">无库存限制</span>
<el-input :disabled="apear != 'couponAdd'" v-else class="w-150" v-model="editForm[scope.scope.name]" <el-input :disabled="apear != 'couponAdd'" v-else class="w-150" v-model="editForm[scope.scope.name]" placeholder="请输入库存">
placeholder="请输入库存">
<span slot="suffix">张</span> <span slot="suffix">张</span>
</el-input> </el-input>
</template> </template>
...@@ -80,25 +78,19 @@ ...@@ -80,25 +78,19 @@
<template slot="effectiveHtml"> <template slot="effectiveHtml">
<el-form-item prop="effectiveTime" ref="effectiveTime" style="margin-top: 12px; display: block"> <el-form-item prop="effectiveTime" ref="effectiveTime" style="margin-top: 12px; display: block">
<el-radio v-model="editForm.effectiveType" label="2" :disabled="apear != 'couponAdd'" id="effectiveTime"> <el-radio v-model="editForm.effectiveType" label="2" :disabled="apear != 'couponAdd'" id="effectiveTime">
<el-date-picker v-model="editForm.effectiveTime" @change="haveChange" type="datetimerange" <el-date-picker v-model="editForm.effectiveTime" @change="haveChange" type="datetimerange" style="width: 340px" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" value-format="yyyy-MM-dd HH:mm:ss" :default-time="defaultTime" :format="format" :picker-options="pickerOption" :disabled="editForm.effectiveType != 2 || apear != 'couponAdd'" clearable></el-date-picker>
style="width: 340px" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期"
value-format="yyyy-MM-dd HH:mm:ss" :default-time="defaultTime" :format="format"
:picker-options="pickerOption" :disabled="editForm.effectiveType != 2 || apear != 'couponAdd'"
clearable></el-date-picker>
</el-radio> </el-radio>
</el-form-item> </el-form-item>
<el-form-item prop="effectiveDays" ref="effectiveDays" id="effectiveDays"> <el-form-item prop="effectiveDays" ref="effectiveDays" id="effectiveDays">
<el-radio v-model="editForm.effectiveType" label="1" :disabled="apear != 'couponAdd'"> <el-radio v-model="editForm.effectiveType" label="1" :disabled="apear != 'couponAdd'">
领取后 领取后
<el-input v-model="editForm.effectiveDays" style="width: 100px; margin-left: 5px; margin-right: 5px" <el-input v-model="editForm.effectiveDays" style="width: 100px; margin-left: 5px; margin-right: 5px" :disabled="apear != 'couponAdd' || editForm.effectiveType != 1" />
:disabled="apear != 'couponAdd' || editForm.effectiveType != 1" />
天内有效 天内有效
</el-radio> </el-radio>
</el-form-item> </el-form-item>
</template> </template>
<template slot="useDescriptionHtml"> <template slot="useDescriptionHtml">
<el-input type="textarea" v-model="editForm.useDescription" style="width: 320px" <el-input type="textarea" v-model="editForm.useDescription" style="width: 320px" :autosize="{ minRows: 2, maxRows: 4 }" maxlength="200" :disabled="userDisable" />
:autosize="{ minRows: 2, maxRows: 4 }" maxlength="200" :disabled="userDisable" />
</template> </template>
<template slot="editHtml"> <template slot="editHtml">
<el-button style="margin-left: 80px" @click="editMessage">编辑</el-button> <el-button style="margin-left: 80px" @click="editMessage">编辑</el-button>
...@@ -106,9 +98,7 @@ ...@@ -106,9 +98,7 @@
</glsx-combi-form> </glsx-combi-form>
<div v-if="$isGroupUp"> <div v-if="$isGroupUp">
<p class="edit-title">适用门店配置</p> <p class="edit-title">适用门店配置</p>
<glsx-combi-form class="edit-form-container" ref="merchantRef" :isEdit="true" :isBlock="true" <glsx-combi-form class="edit-form-container" ref="merchantRef" :isEdit="true" :isBlock="true" :formRef="editChildRef" :formObj="editForm" :formData="merchantEditFormData" :formRules="merchantRule"></glsx-combi-form>
:formRef="editChildRef" :formObj="editForm" :formData="merchantEditFormData" :formRules="merchantRule">
</glsx-combi-form>
</div> </div>
</div> </div>
<div class="footer" :style="{ left: footerLeft + 'px', width: footerWidth + 'px' }"> <div class="footer" :style="{ left: footerLeft + 'px', width: footerWidth + 'px' }">
...@@ -371,7 +361,8 @@ export default { ...@@ -371,7 +361,8 @@ export default {
this.$nextTick(() => { this.$nextTick(() => {
this.editStatus = false this.editStatus = false
}) })
}).finally(() => { })
.finally(() => {
this.loading = false this.loading = false
}) })
}, },
...@@ -497,7 +488,7 @@ export default { ...@@ -497,7 +488,7 @@ export default {
.then(() => { .then(() => {
this.cancelJump() this.cancelJump()
}) })
.catch(() => { }) .catch(() => {})
} else { } else {
this.cancelJump() this.cancelJump()
} }
......
...@@ -8,14 +8,7 @@ ...@@ -8,14 +8,7 @@
<GLButton :size="size" type="default" class="el-icon-plus default-blue-btn color-transparent" @click="addExchangeCoupon()" fn="新建兑换券" display="disabled" mode="el-button">新建兑换券</GLButton> <GLButton :size="size" type="default" class="el-icon-plus default-blue-btn color-transparent" @click="addExchangeCoupon()" fn="新建兑换券" display="disabled" mode="el-button">新建兑换券</GLButton>
</div> </div>
<div class="container"> <div class="container">
<div> <GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
<glsx-combi-form ref="showSearch" :formObj="searchForm" :formData="searchFormData">
<span slot="footer" class="footer-btns">
<el-button :size="size" @click="handleReset">重置</el-button>
<el-button :size="size" type="primary" @click="handleSearch">查询</el-button>
</span>
</glsx-combi-form>
</div>
<div class="flex m-b-10 w-100-percent"> <div class="flex m-b-10 w-100-percent">
<span class="table-title">优惠券列表</span> <span class="table-title">优惠券列表</span>
...@@ -32,11 +25,7 @@ ...@@ -32,11 +25,7 @@
<span>{{ baseData.statusList.find(item => item.confId == scope.scope.status).confName }}</span> <span>{{ baseData.statusList.find(item => item.confId == scope.scope.status).confName }}</span>
</div> </div>
<div class="table-btns" slot="auth-button" slot-scope="scope"> <div class="table-btns" slot="auth-button" slot-scope="scope">
<GLButton v-if="scope.scope.status == '1'" type="text" @click="start(scope.scope)" fn="生效" display="disabled" mode="el-button">生效</GLButton> <GLTableButton :buttonList="tableButtonList" :buttonItem="scope.scope" :buttonNum="3"></GLTableButton>
<el-button v-if="scope.scope.status == '2'" type="text" @click="end(scope.scope)">失效</el-button>
<GLButton v-if="scope.scope.status == '2' || scope.scope.status == '3'" type="text" @click="handleEdit(3, scope.scope)" :fn="scope.scope.discountType == 3 ? '查看代金券' : scope.scope.discountType == 7 ? '查看会员服务' : scope.scope.discountType == 2 ? '查看折扣券' : '查看兑换券'" mode="el-button">查看</GLButton>
<GLButton v-if="scope.scope.status == '1' || scope.scope.status == '3'" type="text" @click="del(scope.scope)" fn="删除" mode="el-button" display="disabled">删除</GLButton>
<GLButton type="text" @click="receiveDetail(scope.scope)" fn="领取详情" mode="el-button">领取详情</GLButton>
</div> </div>
</GLTable> </GLTable>
<!-- 表格区域 end --> <!-- 表格区域 end -->
...@@ -67,6 +56,77 @@ export default { ...@@ -67,6 +56,77 @@ export default {
// 分享 // 分享
isShareVisible: false, isShareVisible: false,
shareForm: {}, shareForm: {},
// 表格按钮
tableButtonList: [
{
type: 'GLButton',
name: '生效',
attrs: {
type: 'text',
fn: '生效'
},
condition: row => {
return row.status == '1'
},
listeners: {
click: this.start
}
},
{
type: 'el-button',
name: '失效',
attrs: {
type: 'text'
},
condition: row => {
return row.status == '2'
},
listeners: {
click: this.end
}
},
{
type: 'GLButton',
name: '查看',
attrs: {
type: 'text',
fn: row => {
return row.discountType == 3 ? '查看代金券' : row.discountType == 7 ? '查看会员服务' : row.discountType == 2 ? '查看折扣券' : '查看兑换券'
}
},
condition: row => {
return row.status == '2' || row.status == '3'
},
listeners: {
click: row => this.handleEdit(3, row)
}
},
{
type: 'GLButton',
name: '删除',
attrs: {
type: 'text',
fn: '删除'
},
condition: row => {
return row.status == '1' || row.status == '3'
},
listeners: {
click: this.del
}
},
{
type: 'GLButton',
name: '领取详情',
attrs: {
type: 'text',
fn: '领取详情'
},
listeners: {
click: this.receiveDetail
}
}
],
// 表格 // 表格
searchForm: { searchForm: {
couponName: '', couponName: '',
...@@ -166,6 +226,7 @@ export default { ...@@ -166,6 +226,7 @@ export default {
{ {
label: '使用途径', label: '使用途径',
name: 'useChannel', name: 'useChannel',
width: 160,
formatter: cellValue => { formatter: cellValue => {
var useChannel = '-' var useChannel = '-'
if (cellValue.useChannel) { if (cellValue.useChannel) {
......
...@@ -17,15 +17,7 @@ ...@@ -17,15 +17,7 @@
</div> </div>
</div> </div>
<div class="container"> <div class="container">
<div> <GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
<glsx-combi-form ref="showSearch" :formObj="searchForm" :formData="searchFormData"></glsx-combi-form>
<glsx-combi-form ref="showSearch" :formObj="searchForm" :formData="searchFormDataTwo">
<span slot="footer" class="footer-btns">
<el-button :size="size" @click="handleReset">重置</el-button>
<el-button :size="size" type="primary" @click="handleSearch">查询</el-button>
</span>
</glsx-combi-form>
</div>
<div class="flex m-b-10 w-100-percent"> <div class="flex m-b-10 w-100-percent">
<span class="table-title">领取详情列表</span> <span class="table-title">领取详情列表</span>
...@@ -34,8 +26,14 @@ ...@@ -34,8 +26,14 @@
<!-- 表格区域 开始 --> <!-- 表格区域 开始 -->
<GLTable ref="receiveList" :getListApi="getListApi" :noDataImg="url" :searchForm="tableSearchForm" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn" @setTableFinishFun="setTableFinishFun"> <GLTable ref="receiveList" :getListApi="getListApi" :noDataImg="url" :searchForm="tableSearchForm" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn" @setTableFinishFun="setTableFinishFun">
<div slot="userStatus" slot-scope="scope"> <div slot="userStatus" slot-scope="scope">
<p>
<span :class="['table-circle', 'm-r-8', scope.scope.userStatus == 1 ? 'back-green' : scope.scope.userStatus == 2 ? 'back-red' : 'back-grey']"></span> <span :class="['table-circle', 'm-r-8', scope.scope.userStatus == 1 ? 'back-green' : scope.scope.userStatus == 2 ? 'back-red' : 'back-grey']"></span>
<span>{{ baseData.userStatusList.find(item => item.confId == scope.scope.userStatus).confName }}</span> <span>{{ baseData.userStatusList.find(item => item.confId == scope.scope.userStatus).confName }}</span>
</p>
<p v-if="scope.scope.userStatus == 4">{{ scope.scope.cancelReason }}</p>
</div>
<div class="table-btns" slot="auth-button" slot-scope="scope">
<GLTableButton :buttonList="tableButtonList" :buttonItem="scope.scope" :buttonNum="3"></GLTableButton>
</div> </div>
</GLTable> </GLTable>
<!-- 表格区域 end --> <!-- 表格区域 end -->
...@@ -44,6 +42,15 @@ ...@@ -44,6 +42,15 @@
<div class="footer" :style="{ left: footerLeft + 'px', width: footerWidth + 'px' }"> <div class="footer" :style="{ left: footerLeft + 'px', width: footerWidth + 'px' }">
<el-button type="primary" :size="size" @click="goback">返回</el-button> <el-button type="primary" :size="size" @click="goback">返回</el-button>
</div> </div>
<!-- 作废 -->
<glsx-dialog title="作废确认" :isVisible.sync="isCancelVisible" @confirmDialog="handleCancelConfirm" @closeDialog="handleCancelClose">
<p>请先和客户沟通在确认,避免引起客诉,作废后客户将不可使用该礼包下所有优惠卷</p>
<el-form ref="cancelRef" label-width="100px" :rules="cancelRules" :model="cancelForm">
<el-form-item label="作废原因" prop="cancelReason" class="m-t-20">
<el-input :size="size" type="textarea" v-model.trim="cancelForm.cancelReason" placeholder="请输入作废原因" maxlength="50" rows="3" show-word-limit></el-input>
</el-form-item>
</el-form>
</glsx-dialog>
</div> </div>
</template> </template>
...@@ -58,6 +65,15 @@ export default { ...@@ -58,6 +65,15 @@ export default {
footerLeft: '0', footerLeft: '0',
footerWidth: '0', footerWidth: '0',
url: url, url: url,
// 作废
isCancelVisible: false,
cancelForm: {
userCouponId: '',
cancelReason: ''
},
cancelRules: {
cancelReason: [{ required: true, message: '请输入作废原因', trigger: 'change' }]
},
coupon: { coupon: {
couponName: '', couponName: '',
stock: '', stock: '',
...@@ -113,6 +129,26 @@ export default { ...@@ -113,6 +129,26 @@ export default {
name: 'usedAmount' name: 'usedAmount'
} }
], ],
// 表格按钮
tableButtonList: [
{
type: 'el-button',
name: '作废',
attrs: {
type: 'text',
disabled: (row, condition) => {
var isDisabled = [2, 3, 4].includes(row.userStatus)
if (+row.userStatus == 2 && this.coupon.discountType == 7) {
isDisabled = false
}
return isDisabled
}
},
listeners: {
click: this.handleCancel
}
}
],
// 表格 // 表格
searchForm: { searchForm: {
userInfo: '', userInfo: '',
...@@ -146,9 +182,7 @@ export default { ...@@ -146,9 +182,7 @@ export default {
optionId: 'confId', optionId: 'confId',
optionLabel: 'confName', optionLabel: 'confName',
optionsName: 'userStatusList' optionsName: 'userStatusList'
} },
],
searchFormDataTwo: [
{ {
label: '领取日期', label: '领取日期',
name: 'daterange', name: 'daterange',
...@@ -161,7 +195,7 @@ export default { ...@@ -161,7 +195,7 @@ export default {
getListApi: this.$apis.couponManage.getListReceiveRecordApi, getListApi: this.$apis.couponManage.getListReceiveRecordApi,
tableParams: { tableParams: {
listName: 'list', listName: 'list',
tableOption: false, tableOption: true,
tableColumns: [ tableColumns: [
{ {
label: '领取用户', label: '领取用户',
...@@ -197,10 +231,6 @@ export default { ...@@ -197,10 +231,6 @@ export default {
pageConf: { pageSize: 'pageSize', pageNum: 'pageNum', totalCount: 'total' }, pageConf: { pageSize: 'pageSize', pageNum: 'pageNum', totalCount: 'total' },
baseData: { baseData: {
userStatusList: [ userStatusList: [
// {
// confId: '0',
// confName: '未领取'
// },
{ {
confId: '1', confId: '1',
confName: '未使用' confName: '未使用'
...@@ -212,6 +242,10 @@ export default { ...@@ -212,6 +242,10 @@ export default {
{ {
confId: '3', confId: '3',
confName: '已失效' confName: '已失效'
},
{
confId: '4',
confName: '已作废'
} }
], ],
wechatUserFlagList: [ wechatUserFlagList: [
...@@ -322,8 +356,39 @@ export default { ...@@ -322,8 +356,39 @@ export default {
}) })
}, },
writeOff() { handleCancel(row) {
this.writeOffVisible = !this.writeOffVisible this.cancelForm.userCouponId = row.id
this.cancelVisibleChange()
},
cancelVisibleChange() {
this.$refs.cancelRef && this.$refs.cancelRef.clearValidate()
this.isCancelVisible = !this.isCancelVisible
},
handleCancelClose() {
this.cancelVisibleChange()
this.cancelForm = {
userCouponId: '',
cancelReason: ''
}
},
handleCancelConfirm() {
this.$refs.cancelRef.validate(valid => {
if (valid) {
this.$apis.couponManage.couponUserCancelApi(this.cancelForm).then(res => {
this.$message({
message: res.code == '0' ? '操作成功' : res.message,
type: res.code == '0' ? 'success' : 'error'
})
if (res.code == '0') {
this.handleCancelClose()
this.handleSearch()
}
})
}
})
}, },
/**导出excel */ /**导出excel */
......
...@@ -4,19 +4,7 @@ ...@@ -4,19 +4,7 @@
<el-button :size="size" type="default" class="default-blue-btn color-transparent" @click="openDialog">核销优惠券</el-button> <el-button :size="size" type="default" class="default-blue-btn color-transparent" @click="openDialog">核销优惠券</el-button>
</div> </div>
<div class="container"> <div class="container">
<glsx-combi-form ref="showSearch" :formObj="searchForm" :formData="searchFormData"></glsx-combi-form> <GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
<glsx-combi-form ref="showSearch" :formObj="searchForm" :formData="searchFormDataTwo">
<span v-if="!$isGroupUp" slot="footer" class="footer-btns">
<el-button :size="size" @click="handleReset">重置</el-button>
<el-button :size="size" type="primary" @click="handleSearch">查询</el-button>
</span>
</glsx-combi-form>
<glsx-combi-form v-if="$isGroupUp" ref="showSearch" :formObj="searchForm" :formData="searchFormDataThree">
<span slot="footer" class="footer-btns">
<el-button :size="size" @click="handleReset">重置</el-button>
<el-button :size="size" type="primary" @click="handleSearch">查询</el-button>
</span>
</glsx-combi-form>
<div class="flex m-b-10 w-100-percent"> <div class="flex m-b-10 w-100-percent">
<span class="table-title"></span> <span class="table-title"></span>
...@@ -26,6 +14,13 @@ ...@@ -26,6 +14,13 @@
<template slot="discountType" slot-scope="scope"> <template slot="discountType" slot-scope="scope">
<img :src="require(`@/assets/coupon/icon-${attrToIcon[scope.scope.discountType]}.png`)" /> <img :src="require(`@/assets/coupon/icon-${attrToIcon[scope.scope.discountType]}.png`)" />
</template> </template>
<template slot="packageName" slot-scope="scope">
<span v-if="$isGroupUp">{{ scope.scope.packageId ? scope.scope.packageName : scope.scope.directionalGiftId ? scope.scope.directionalGiftName : '-' }}</span>
<div v-else>
<p>{{ packageNameTxtObj[scope.scope.receiveWay] }}</p>
<p v-if="scope.scope.receiveWay == 7 && scope.scope.receiveMethod" class="txt-grey text-10">指定{{ scope.scope.receiveMethod == 1 ? '手机号' : '车架号' }}:{{ scope.scope.receiveNumber }}</p>
</div>
</template>
<span slot="orderCodeHtml" slot-scope="scope"> <span slot="orderCodeHtml" slot-scope="scope">
<span class="cursor-pointer" @click="couponNameHandleDetail(scope.scope)" v-if="scope.scope.directionalGiftId">{{ scope.scope.directionalGiftName }}</span> <span class="cursor-pointer" @click="couponNameHandleDetail(scope.scope)" v-if="scope.scope.directionalGiftId">{{ scope.scope.directionalGiftName }}</span>
<span class="cursor-pointer" @click="orderCodeHandleDetail(scope.scope)" v-else>{{ scope.scope.orderCode }}</span> <span class="cursor-pointer" @click="orderCodeHandleDetail(scope.scope)" v-else>{{ scope.scope.orderCode }}</span>
...@@ -34,7 +29,6 @@ ...@@ -34,7 +29,6 @@
<glsx-dialog title="优惠券核销(请确保用户到店后核销,避免引起不必要问题)" :hasScroll="false" width="580px" btnCloseLabel="取消" :noClose="false" :noCancel="true" btnSize="small" :isVisible="isDialogVisible" :showClose="false" @closeDialog="handleClose" @confirmDialog="handleConfirm"> <glsx-dialog title="优惠券核销(请确保用户到店后核销,避免引起不必要问题)" :hasScroll="false" width="580px" btnCloseLabel="取消" :noClose="false" :noCancel="true" btnSize="small" :isVisible="isDialogVisible" :showClose="false" @closeDialog="handleClose" @confirmDialog="handleConfirm">
<div class="content-body"> <div class="content-body">
<el-form :rules="rules" ref="ruleForm" :model="ruleForm" label-width="80px"> <el-form :rules="rules" ref="ruleForm" :model="ruleForm" label-width="80px">
<!-- style="width: 440px" -->
<el-form-item size="small" label="核销码" prop="verficationCode" style="width: 380px"> <el-form-item size="small" label="核销码" prop="verficationCode" style="width: 380px">
<el-input size="small" v-model.trim="ruleForm.verficationCode" maxlength="50" placeholder="请输入核销码"></el-input> <el-input size="small" v-model.trim="ruleForm.verficationCode" maxlength="50" placeholder="请输入核销码"></el-input>
</el-form-item> </el-form-item>
...@@ -105,9 +99,7 @@ export default { ...@@ -105,9 +99,7 @@ export default {
optionId: 'confId', optionId: 'confId',
optionLabel: 'confName', optionLabel: 'confName',
optionsName: 'discountTypeList' optionsName: 'discountTypeList'
} },
],
searchFormDataTwo: [
{ {
label: '核销门店', label: '核销门店',
name: 'verificationMerchantName', name: 'verificationMerchantName',
...@@ -137,9 +129,7 @@ export default { ...@@ -137,9 +129,7 @@ export default {
type: 'datePicker', type: 'datePicker',
isClear: true, isClear: true,
pickerOptions: 'beforeRangePickerOptions' pickerOptions: 'beforeRangePickerOptions'
} },
],
searchFormDataThree: [
{ {
label: '券来源', label: '券来源',
name: 'packageId', name: 'packageId',
...@@ -167,6 +157,7 @@ export default { ...@@ -167,6 +157,7 @@ export default {
{ {
label: '用户信息', label: '用户信息',
prop: 'userName', prop: 'userName',
width: 220,
formatter: cellValue => { formatter: cellValue => {
return cellValue.userName + ' ' + cellValue.phone return cellValue.userName + ' ' + cellValue.phone
} }
...@@ -186,6 +177,7 @@ export default { ...@@ -186,6 +177,7 @@ export default {
{ {
label: '剩余核销次数', label: '剩余核销次数',
prop: 'residueAmount', prop: 'residueAmount',
width: 120,
formatter: cellValue => { formatter: cellValue => {
return cellValue.residueAmount || cellValue.residueAmount == 0 ? cellValue.residueAmount : '不限制次数' return cellValue.residueAmount || cellValue.residueAmount == 0 ? cellValue.residueAmount : '不限制次数'
} }
...@@ -201,28 +193,13 @@ export default { ...@@ -201,28 +193,13 @@ export default {
{ {
label: '券来源', label: '券来源',
prop: 'packageName', prop: 'packageName',
formatter: cellValue => { addHtml: 'packageName',
let txt = '' width: 240
if (this.$isGroupUp) {
txt = cellValue.packageId ? cellValue.packageName : cellValue.directionalGiftId ? cellValue.directionalGiftName : '-'
} else {
txt = {
'': '-',
1: '营销活动',
2: '营销活动',
3: '会员服务套餐',
4: '营销活动',
5: '关联商品购买',
6: '通过集团套餐赠送',
7: '通过定向礼包赠送'
}[cellValue.receiveWay]
}
return txt
}
}, },
{ {
label: '核销日期', label: '核销日期',
prop: 'verificationTime', prop: 'verificationTime',
width: 200,
formatter: cellValue => { formatter: cellValue => {
return dateFormat(cellValue.verificationTime) return dateFormat(cellValue.verificationTime)
} }
...@@ -235,6 +212,16 @@ export default { ...@@ -235,6 +212,16 @@ export default {
4: 'exchange', 4: 'exchange',
7: 'service' 7: 'service'
}, },
packageNameTxtObj: {
'': '-',
1: '营销活动',
2: '营销活动',
3: '会员服务套餐',
4: '营销活动',
5: '关联商品购买',
6: '通过集团套餐赠送',
7: '通过定向礼包赠送'
},
baseData: { baseData: {
discountTypeList: [ discountTypeList: [
{ {
...@@ -262,8 +249,8 @@ export default { ...@@ -262,8 +249,8 @@ export default {
if (this.$isGroupUp) { if (this.$isGroupUp) {
this.getPackageList() this.getPackageList()
} }
this.showOrHideAttr('searchFormDataTwo', this.$isGroupUp ? '核销人' : '核销门店', true) this.showOrHideAttr('searchFormData', this.$isGroupUp ? '核销人' : '核销门店', true)
!this.$isGroupUp && this.showOrHideAttr('searchFormDataThree', '券来源', true) !this.$isGroupUp && this.showOrHideAttr('searchFormData', '券来源', true)
this.deleteAttr(this.$isGroupUp ? ['核销人'] : ['核销门店']) this.deleteAttr(this.$isGroupUp ? ['核销人'] : ['核销门店'])
}, },
...@@ -285,7 +272,7 @@ export default { ...@@ -285,7 +272,7 @@ export default {
getPackageList() { getPackageList() {
this.$apis.couponManage.getPackageListApi({ pageNum: 1, pageSize: 9999 }).then(res => { this.$apis.couponManage.getPackageListApi({ pageNum: 1, pageSize: 9999 }).then(res => {
this.baseData.packageList = res.list this.baseData.packageList = res.list
this.getOptionsList('searchFormDataThree', true, 'packageId') this.getOptionsList('searchFormData', true, 'packageId')
}) })
}, },
// 跳转到礼包领取详情页 // 跳转到礼包领取详情页
...@@ -442,36 +429,4 @@ export default { ...@@ -442,36 +429,4 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
/deep/.el-input--small .el-input__inner {
width: 215px;
}
.el-range-editor.is-active,
.el-range-editor.is-active:hover {
border-color: #5850ff;
width: 215px;
}
.el-range-editor--small.el-input__inner {
width: 215px;
}
/deep/.el-dialog__header {
padding-top: 20px;
padding-bottom: 20px;
}
/deep/ .el-dialog__body {
// border-bottom: 1px solid #e6e6e6;
// border-top: 1px solid #e6e6e6;
padding: 30px 20px;
.content-body {
.el-input--small .el-input__inner {
width: 300px;
}
}
}
/deep/ .el-dialog__footer {
// text-align: center;
padding-top: 12px;
padding-bottom: 12px;
}
</style> </style>
...@@ -377,7 +377,10 @@ export default { ...@@ -377,7 +377,10 @@ export default {
this.key = new Date() this.key = new Date()
} }
if (this.basicForm.selectType == 3) { if (this.basicForm.selectType == 3) {
if (!this.basicForm.userList.length) this.basicForm.crowdList = [] if (!this.basicForm.userList.length) {
this.basicForm.crowdList = []
this.isSelectCrowd = false
}
} }
this.isUpdate = true this.isUpdate = true
}, },
......
...@@ -26,12 +26,12 @@ ...@@ -26,12 +26,12 @@
</span> </span>
</div> </div>
<div class="table-btns" slot="optionBtns" slot-scope="scope"> <div class="table-btns" slot="optionBtns" slot-scope="scope">
<span v-if="scope.scope.status == -1 || scope.scope.status == 2" style="color: #EB4E4E;">创建失败</span> <!-- <span v-if="scope.scope.status == -1 || scope.scope.status == 2" style="color: #EB4E4E;">创建失败</span>
<span v-else> <span v-else>
<el-button type="text" :disabled="scope.scope.unsendUserNum == 0 || (scope.scope.unsendUserNum != 0 && scope.scope.isRemind == 1) || new Date(scope.scope.sendTime) > new Date()" @click="btnClick('remind', 1, scope.scope)">提醒发送</el-button> <el-button type="text" :disabled="scope.scope.unsendUserNum == 0 || (scope.scope.unsendUserNum != 0 && scope.scope.isRemind == 1) || new Date(scope.scope.sendTime) > new Date()" @click="btnClick('remind', 1, scope.scope)">提醒发送</el-button>
<GLButton type="text" fn="客户群发详情" @click="btnClick('detail', 1, scope.scope)">详情</GLButton> <GLButton type="text" fn="客户群发详情" @click="btnClick('detail', 1, scope.scope)">详情</GLButton>
<!-- <el-button type="text" @click="btnClick('detail', 1, scope.scope)">详情</el-button> --> </span> -->
</span> <GLTableButton :buttonList="tableButtonList" :buttonItem="scope.scope" :buttonNum="3"></GLTableButton>
</div> </div>
</GLTable> </GLTable>
<!-- 表格区域 end --> <!-- 表格区域 end -->
...@@ -58,12 +58,12 @@ ...@@ -58,12 +58,12 @@
</span> </span>
</div> </div>
<div class="table-btns" slot="optionBtns" slot-scope="scope"> <div class="table-btns" slot="optionBtns" slot-scope="scope">
<span v-if="scope.scope.status == -1" style="color: #EB4E4E;">创建失败</span> <!-- <span v-if="scope.scope.status == -1" style="color: #EB4E4E;">创建失败</span>
<span v-else> <span v-else>
<el-button type="text" :disabled="scope.scope.unsendUserNum == 0 || (scope.scope.unsendUserNum != 0 && scope.scope.isRemind == 1)" @click="btnClick('remind', 2, scope.scope)">提醒发送</el-button> <el-button type="text" :disabled="scope.scope.unsendUserNum == 0 || (scope.scope.unsendUserNum != 0 && scope.scope.isRemind == 1)" @click="btnClick('remind', 2, scope.scope)">提醒发送</el-button>
<GLButton type="text" fn="客户群群发详情" @click="btnClick('detail', 2, scope.scope)">详情</GLButton> <GLButton type="text" fn="客户群群发详情" @click="btnClick('detail', 2, scope.scope)">详情</GLButton>
<!-- <el-button type="text" @click="btnClick('detail', 2, scope.scope)">详情</el-button> --> </span> -->
</span> <GLTableButton :buttonList="groupTableButtonList" :buttonItem="scope.scope" :buttonNum="3"></GLTableButton>
</div> </div>
</GLTable> </GLTable>
<!-- 表格区域 end --> <!-- 表格区域 end -->
...@@ -84,6 +84,54 @@ export default { ...@@ -84,6 +84,54 @@ export default {
return { return {
ATT_TYPE, ATT_TYPE,
activeIndex: 1, activeIndex: 1,
// 表格按钮
tableButtonList: [
{
type: 'el-button',
name: row => {
return '<span style="color: #EB4E4E; cursor: auto;">创建失败</span>'
},
condition: row => {
return row.status == -1 || row.status == 2
},
attrs: {
type: 'text'
},
listeners: {
click: row => { }
}
},
{
type: 'el-button',
name: '提醒发送',
attrs: {
type: 'text',
disabled: row => {
return row.unsendUserNum == 0 || (row.unsendUserNum != 0 && row.isRemind == 1) || new Date(row.sendTime) > new Date()
}
},
condition: row => {
return ![-1, 2].includes(row.status)
},
listeners: {
click: row => this.btnClick('remind', 1, row)
}
},
{
type: 'GLButton',
name: '详情',
attrs: {
type: 'text',
fn: '客户群发详情'
},
condition: row => {
return ![-1, 2].includes(row.status)
},
listeners: {
click: row => this.btnClick('detail', 1, row)
}
}
],
gueastTableParams: { gueastTableParams: {
listName: 'data', listName: 'data',
tableOption: false, tableOption: false,
...@@ -146,6 +194,54 @@ export default { ...@@ -146,6 +194,54 @@ export default {
} }
] ]
}, },
// 表格按钮
groupTableButtonList: [
{
type: 'el-button',
name: row => {
return '<span style="color: #EB4E4E; cursor: auto;">创建失败</span>'
},
condition: row => {
return row.status == -1
},
attrs: {
type: 'text'
},
listeners: {
click: row => { }
}
},
{
type: 'el-button',
name: '提醒发送',
attrs: {
type: 'text',
disabled: row => {
return row.unsendUserNum == 0 || (row.unsendUserNum != 0 && row.isRemind == 1)
}
},
condition: row => {
return row.status != -1
},
listeners: {
click: row => this.btnClick('remind', 2, row)
}
},
{
type: 'GLButton',
name: '详情',
attrs: {
type: 'text',
fn: '客户群群发详情'
},
condition: row => {
return row.status != -1
},
listeners: {
click: row => this.btnClick('detail', 2, row)
}
}
],
gueastPageConf: { pageSize: 'pageSize', pageNum: 'pageNum', totalCount: 'count' }, gueastPageConf: { pageSize: 'pageSize', pageNum: 'pageNum', totalCount: 'count' },
customerList: this.$apis.customerTransform.customerList, customerList: this.$apis.customerTransform.customerList,
customerGroupList: this.$apis.customerTransform.customerGroupList, customerGroupList: this.$apis.customerTransform.customerGroupList,
...@@ -217,7 +313,7 @@ export default { ...@@ -217,7 +313,7 @@ export default {
}) })
}, },
mounted() { mounted() {
this.wxTips() // this.wxTips()
}, },
beforeDestroy() { beforeDestroy() {
this.$message.closeAll() this.$message.closeAll()
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<div>{{ item.attContent[0].marketingName }}</div> <div>{{ item.attContent[0].marketingName }}</div>
</div> </div>
</template> </template>
<template v-else-if="item.attType == 2" v-for="(imgItem, index) in item.attContent"> <template v-else-if="item.attType == 2 && !previewList.map(k => k.attType).includes(3)" v-for="(imgItem, index) in item.attContent">
<el-image style="width: 52px; height: 52px" class="img-list" :src="imgItem" fit="fit" :key="index" :preview-src-list="item.attContent"></el-image> <el-image style="width: 52px; height: 52px" class="img-list" :src="imgItem" fit="fit" :key="index" :preview-src-list="item.attContent"></el-image>
</template> </template>
<template v-else-if="item.attType == 3"> <template v-else-if="item.attType == 3">
......
...@@ -2,19 +2,19 @@ ...@@ -2,19 +2,19 @@
<template> <template>
<div class="marketing pro-group p-t-20"> <div class="marketing pro-group p-t-20">
<div class="m-b-20 friend-title"> <div class="m-b-20 friend-title">
<!-- <el-button :size="size" type="primary" class="el-icon-plus" @click="handleEdit(1)">新建商品</el-button> -->
<GLButton :size="size" type="primary" fn="编辑朋友圈" @click="handleEdit(1)">发布朋友圈</GLButton> <GLButton :size="size" type="primary" fn="编辑朋友圈" @click="handleEdit(1)">发布朋友圈</GLButton>
<span>管理员可直接在后台为员工创建朋友圈,员工收到朋友圈新消息提醒后,可快捷将管理员创建的朋友圈发送到自己朋友圈中。</span> <span>管理员可直接在后台为员工创建朋友圈,员工收到朋友圈新消息提醒后,可快捷将管理员创建的朋友圈发送到自己朋友圈中。</span>
</div> </div>
<div class="container"> <div class="container">
<div> <!-- <div>
<glsx-combi-form ref="showSearch" :formObj="searchForm" :formData="searchFormData"> <glsx-combi-form ref="showSearch" :formObj="searchForm" :formData="searchFormData">
<span slot="footer" class="footer-btns"> <span slot="footer" class="footer-btns">
<el-button :size="size" type="default" @click="handleReset">重置</el-button> <el-button :size="size" type="default" @click="handleReset">重置</el-button>
<el-button :size="size" type="primary" @click="handleSearch">查询</el-button> <el-button :size="size" type="primary" @click="handleSearch">查询</el-button>
</span> </span>
</glsx-combi-form> </glsx-combi-form>
</div> </div> -->
<GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
<!-- 表格区域 开始 --> <!-- 表格区域 开始 -->
<GLTable v-loading="loading" ref="proGroupRef" @refreshTable="handleSearch" :layout="layout" :tableData="tableData" :tableTotal="tableTotal" :searchForm="searchForm" :tableParams="tableParams" :pageConf="pageConf"> <GLTable v-loading="loading" ref="proGroupRef" @refreshTable="handleSearch" :layout="layout" :tableData="tableData" :tableTotal="tableTotal" :searchForm="searchForm" :tableParams="tableParams" :pageConf="pageConf">
...@@ -40,14 +40,15 @@ ...@@ -40,14 +40,15 @@
<span v-if="scope.scope.sendType == 1">立即发送</span> <span v-if="scope.scope.sendType == 1">立即发送</span>
</div> </div>
<div class="table-btns" slot="auth-button" slot-scope="scope"> <div class="table-btns" slot="auth-button" slot-scope="scope">
<el-button type="text" disabled v-if="scope.scope.status == 2 || scope.scope.status == 1">创建中</el-button> <!-- <el-button type="text" disabled v-if="scope.scope.status == 2 || scope.scope.status == 1">创建中</el-button>
<el-button type="text" disabled v-if="scope.scope.status == -1">创建失败</el-button> <el-button type="text" disabled v-if="scope.scope.status == -1">创建失败</el-button>
<el-button type="text" disabled v-if="scope.scope.status == 4">取消发送</el-button> <el-button type="text" disabled v-if="scope.scope.status == 4">取消发送</el-button>
<el-button type="text" v-if="scope.scope.sendType == 2 && getTimeStatus(scope.scope.sendTime) && scope.scope.status != 4" @click="handleCancel(scope.scope)">取消发送</el-button> <el-button type="text" v-if="scope.scope.sendType == 2 && getTimeStatus(scope.scope.sendTime) && scope.scope.status != 4" @click="handleCancel(scope.scope)">取消发送</el-button>
<el-popover v-if="scope.scope.status == 0" placement="top" width="230" trigger="click" content="未到朋友圈发送时间,无法查看详情"> <el-popover v-if="scope.scope.status == 0" placement="top" width="230" trigger="click" content="未到朋友圈发送时间,无法查看详情">
<el-button slot="reference" type="text" style="color: #999999">详情</el-button> <el-button slot="reference" type="text" style="color: #999999">详情</el-button>
</el-popover> </el-popover>
<GLButton type="text" fn="详情" v-if="scope.scope.status == 3" @click="handleDetail(scope.scope)">详情</GLButton> <GLButton type="text" fn="详情" v-if="scope.scope.status == 3" @click="handleDetail(scope.scope)">详情</GLButton> -->
<GLTableButton :buttonList="tableButtonList" :buttonItem="scope.scope" :buttonNum="3"></GLTableButton>
</div> </div>
</GLTable> </GLTable>
<!-- 表格区域 end --> <!-- 表格区域 end -->
...@@ -87,7 +88,6 @@ export default { ...@@ -87,7 +88,6 @@ export default {
// 分享 // 分享
isShareVisible: false, isShareVisible: false,
shareForm: {}, shareForm: {},
// 表格
searchForm: { searchForm: {
createdName: '', createdName: '',
createDate: [], createDate: [],
...@@ -125,6 +125,94 @@ export default { ...@@ -125,6 +125,94 @@ export default {
optionsName: 'modeStatusList' optionsName: 'modeStatusList'
} }
], ],
// 表格按钮
tableButtonList: [
{
type: 'el-button',
name: '创建中',
attrs: {
type: 'text',
disabled: true
},
condition: row => {
return row.status == 2 || row.status == 1
},
listeners: {
click: () => { }
}
},
{
type: 'el-button',
name: '创建失败',
attrs: {
type: 'text',
disabled: true
},
condition: row => {
return row.status == -1
},
listeners: {
click: () => { }
}
},
{
type: 'el-button',
name: '取消发送',
attrs: {
type: 'text',
disabled: true
},
condition: row => {
return row.status == 4
},
listeners: {
click: () => { }
}
},
{
type: 'el-button',
name: '取消发送',
attrs: {
type: 'text'
},
condition: row => {
return row.sendType == 2 && this.getTimeStatus(row.sendTime) && row.status != 4
},
listeners: {
click: this.handleCancel
}
},
{
type: 'el-button',
// name: '详情',
name: row => {
return '<span style="color: #999999">详情</span>'
},
attrs: {
type: 'text'
},
condition: row => {
return row.status == 0
},
listeners: {
click: this.handleDetailTips
}
},
{
type: 'GLButton',
name: '详情',
attrs: {
type: 'text',
fn: '详情'
},
condition: row => {
return row.status == 3
},
listeners: {
click: this.handleDetail
}
}
],
// 表格 // 表格
tableData: [], tableData: [],
tableParams: { tableParams: {
...@@ -319,6 +407,9 @@ export default { ...@@ -319,6 +407,9 @@ export default {
return false return false
} }
}, },
handleDetailTips() {
this.$message.error('未到朋友圈发送时间,无法查看详情')
},
handleCancel(row) { handleCancel(row) {
const time = new Date().getTime() const time = new Date().getTime()
const sendTime = new Date(row.sendTime).getTime() const sendTime = new Date(row.sendTime).getTime()
......
...@@ -17,9 +17,9 @@ ...@@ -17,9 +17,9 @@
</div> </div>
<div class="container edit-container"> <div class="container edit-container">
<p class="edit-title">{{ title }}</p> <p class="edit-title">{{ title }}</p>
<glsx-combi-form class="edit-form-container m-r-20" ref="editFormRef" :isEdit="isEdit" :labelWidth="labelWidth" defaultWidth="415px" :isBlock="true" :formRef="editChildRef" :formObj="editForm" :formData="editFormData" :formRules="editRule"> <glsx-combi-form v-loading="loading" class="edit-form-container m-r-20" ref="editFormRef" :isEdit="isEdit" :labelWidth="labelWidth" defaultWidth="415px" :isBlock="true" :formRef="editChildRef" :formObj="editForm" :formData="editFormData" :formRules="editRule">
<div slot="remarkName" class="edit-tips m-t-8">可根据备注名称进行查找,仅作内部查看,不展示给客户</div> <div slot="remarkName" class="edit-tips m-t-8">可根据备注名称进行查找,仅作内部查看,不展示给客户</div>
<el-button slot="selectGiftBtn" class="default-blue-btn" @click="handleGiftAdd">选择礼包内容</el-button> <el-button slot="selectGiftBtn" :disabled="routeInfo.receivedStock" class="default-blue-btn" @click="handleGiftAdd">选择礼包内容</el-button>
<div slot="couponListBlock" class="gift-block" :style="{ 'margin-left': labelWidth }" v-show="editForm.couponList && editForm.couponList.length != 0"> <div slot="couponListBlock" class="gift-block" :style="{ 'margin-left': labelWidth }" v-show="editForm.couponList && editForm.couponList.length != 0">
<div class="gift-title"> <div class="gift-title">
预估成本: 预估成本:
...@@ -28,23 +28,52 @@ ...@@ -28,23 +28,52 @@
</div> </div>
<div v-for="(item, index) in orderShow" :key="index"> <div v-for="(item, index) in orderShow" :key="index">
<div class="gift-box" v-show="couponObj[item].list.length"> <div class="gift-box" v-show="couponObj[item].list.length">
<div class="gift-label">{{ couponObj[item].label }}:</div> <!-- <div class="gift-label">{{ couponObj[item].label }}:</div> -->
<img class="server-type" :src="require(`@/assets/coupon/icon-${item}.png`)" />
<div class="gift-content"> <div class="gift-content">
<div class="gift-item" v-for="(subItem, subIndex) in couponObj[item].list" :key="subIndex"> <div class="gift-item" v-for="(subItem, subIndex) in couponObj[item].list" :key="subIndex">
<span :class="['circle', subItem.status == '3' ? ' grey' : '']"></span> <span :class="['circle', subItem.status == '3' ? ' grey' : '']"></span>
<p :class="['gift-coupon-name', subItem.status == '3' ? ' txt-grey' : '']">{{ subItem.couponName }} × {{ subItem.couponAmount }}</p> <p :class="['gift-coupon-name', subItem.status == '3' ? ' txt-grey' : '']">{{ subItem.couponName }} × {{ subItem.couponAmount }}</p>
<p v-show="subItem.status == '3'" class="gift-tips">已失效</p> <p v-show="subItem.status == '3'" class="gift-tips">已失效</p>
<i class="el-icon-delete" @click="handleGiftDelete(item, subIndex)"></i> <i :style="{ cursor: routeInfo.receivedStock ? 'not-allowed' : 'pointer' }" class="el-icon-delete" style="color: #C6C6C6;" @click="handleGiftDelete(item, subIndex)"></i>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<div slot="receiveDetails" class="edit-tips m-t-8">客户需要输入该{{ editForm.receiveWay == '1' ? '手机号' : '车架号后6位' }}才能成功领取</div> <div class="stock" slot="stockNumInput">
<el-button slot="selectStaffBtn" class="el-icon-plus" @click="handleSelectStaff">选择员工</el-button> <el-input :disabled="routeInfo.receivedStock" @input="resetStock" v-model="editForm.stock"></el-input>
<span class="approval-tip" style="margin-left:8px;">每个用户根据领取规则限领一次礼包</span>
</div>
<div class="approval" slot="approvalSlot">
<!-- <el-radio :disabled="routeInfo.receivedStock" v-model="editForm.approveFlag" :label="1">赠送前需审批</el-radio> -->
<el-radio disabled v-model="editForm.approveFlag" :label="1">赠送前需审批</el-radio>
<p class="approval-tip" style="margin-bottom:12px;">员工在赠送时需提交赠送申请,审批通过后才可赠送</p>
<el-radio :disabled="routeInfo.receivedStock" v-model="editForm.approveFlag" :label="2">无需审批</el-radio>
<p class="approval-tip">无需审批,可直接赠送给客户</p>
</div>
<div v-if="editForm.receiveRule === 1" class="telArea" slot="configSlot">
<label class="receiving" for="">领取条件:</label>
<el-radio-group @change="resetTextArea" v-model="receiveWay">
<el-radio :label="1">指定手机号</el-radio>
<el-radio :label="2">指定车架号后6位</el-radio>
</el-radio-group>
<div style="margin-left:70px;width: calc(100% - 70px);">
<el-input @blur="formatPhone" type="textarea" v-model="phone" :placeholder="placeholder"></el-input>
<span class="approval-tip" style="margin-left:0;">客户需准确输入该{{ receiveWay == 1 ? '手机号码' : '车架号后6位' }}才能成功领取</span>
<div>
<div :class="['tel-item', !item.valid ? 'valid-tel': receiveWay == 1?'realTel':'realNum']" v-for="(item, index) in phoneList" :key="index">
{{ item.tel }}
<i style="cursor:pointer" class="el-icon-close" @click="delPhone(item.tel)"></i>
</div>
</div>
</div>
</div>
<!-- <div slot="receiveDetails" class="edit-tips m-t-8">客户需要输入该{{ editForm.receiveWay == '1' ? '手机号' : '车架号后6位' }}才能成功领取</div> -->
<el-button slot="selectStaffBtn" :disabled="routeInfo.receivedStock" class="el-icon-plus" @click="handleSelectStaff">选择员工</el-button>
<div slot="staffListBlock" class="sale-select" :style="{ 'margin-left': labelWidth }" v-show="editForm.staffList && editForm.staffList.length != 0"> <div slot="staffListBlock" class="sale-select" :style="{ 'margin-left': labelWidth }" v-show="editForm.staffList && editForm.staffList.length != 0">
<div :key="key" class="el-input-tag input-tag-wrapper"> <div :key="key" class="el-input-tag input-tag-wrapper">
<el-tag effect="plain" type="info" v-for="(tag, idx) in editForm.staffList" :key="idx" closable :disable-transitions="false" @close="handleStaffRemove(tag, idx)"> <el-tag effect="plain" type="info" v-for="(tag, idx) in editForm.staffList" :key="idx" :closable="!routeInfo.receivedStock" :disable-transitions="false" @close="handleStaffRemove(tag, idx)">
<i class="el-icon-user-solid"></i> <i class="el-icon-user-solid"></i>
{{ tag.staffName }} {{ tag.staffName }}
</el-tag> </el-tag>
...@@ -82,6 +111,10 @@ export default { ...@@ -82,6 +111,10 @@ export default {
name: 'editGift', name: 'editGift',
data() { data() {
return { return {
phone: '',
isLoaded: true,
loading:false,
phoneList: [],
size: 'small', size: 'small',
title: '新增礼包', title: '新增礼包',
titleObj: { titleObj: {
...@@ -105,15 +138,19 @@ export default { ...@@ -105,15 +138,19 @@ export default {
}, },
editStatus: false, editStatus: false,
labelWidth: '144px', labelWidth: '144px',
receiveWay: 1,
curStock: 0,
editForm: { editForm: {
name: '', name: '',
remarkName: '', remarkName: '',
receiveWay: '1', // receiveWay: '1',
receiveDetails: '',
staffList: [], staffList: [],
// 优惠券类型(discountType) 1:满减券,2:折扣券,3:代金券,4:兑换券,5:购车代金券,6:商品折扣券,7:会员服务 // 优惠券类型(discountType) 1:满减券,2:折扣券,3:代金券,4:兑换券,5:购车代金券,6:商品折扣券,7:会员服务
// 优惠券状态(status):1:未生效,2:生效中,3:已失效 // 优惠券状态(status):1:未生效,2:生效中,3:已失效
couponList: [] couponList: [],
stock: 1,
approveFlag: 2,
receiveRule: 1
}, },
totalEstimatedCost: '', totalEstimatedCost: '',
orderShow: ['service', 'cash', 'discount', 'exchange'], orderShow: ['service', 'cash', 'discount', 'exchange'],
...@@ -152,34 +189,52 @@ export default { ...@@ -152,34 +189,52 @@ export default {
editRule: { editRule: {
name: [{ required: true, message: '请输入礼包名称', trigger: 'change' }], name: [{ required: true, message: '请输入礼包名称', trigger: 'change' }],
remarkName: [{ required: true, message: '请输入备注名称', trigger: 'change' }], remarkName: [{ required: true, message: '请输入备注名称', trigger: 'change' }],
receiveWay: [{ required: true, message: '请选择领取条件', trigger: 'change' }], // receiveWay: [{ required: true, message: '请选择领取条件', trigger: 'change' }],
staffList: [{ required: true, message: '请选择发放员工', trigger: 'change' }], staffList: [{ required: true, message: '请选择发放员工', trigger: 'change' }],
couponList: [{ required: true, message: '请选择礼包', trigger: 'change' }], couponList: [{ required: true, message: '请选择礼包', trigger: 'change' }],
receiveDetails: [ stock: [
{ required: true, message: '请输入领取条件', trigger: 'change' },
{ {
required: true, required: true,
validator: (rule, value, callback) => { validator: (rule, value, callback) => {
if (!value) { if (!value) {
return callback() return callback(new Error('请输入库存数量'))
} } else if (this.routeInfo.id && +this.curStock > +value) {
if (this.editForm.receiveWay == '1') { return callback(new Error('二次编辑,库存数量不能减少'))
let phoneReg = /^(13[0-9]|15[0-9]|16[0-9]|17[0-9]|18[0-9]|19[0-9]|14[0-9])[0-9]{8}$/
return phoneReg.test(value) ? callback() : callback(new Error('请输入正确的手机号'))
} else { } else {
let cjhReg = /^[0-9a-zA-Z]{6}$/ return callback()
return cjhReg.test(value) ? callback() : callback(new Error('请输入正确的车架号后6位'))
} }
}, },
trigger: 'change' trigger: 'change'
} }
] ],
approveFlag: [{ required: true, message: '请选择审批要求', trigger: 'change' }],
receiveRule: [{ required: true, message: '请选择领取规则设置', trigger: 'change' }]
// receiveDetails: [
// { required: true, message: '请输入领取条件', trigger: 'change' },
// {
// required: true,
// validator: (rule, value, callback) => {
// if (!value) {
// return callback()
// }
// if (this.editForm.receiveWay == '1') {
// let phoneReg = /^(13[0-9]|15[0-9]|16[0-9]|17[0-9]|18[0-9]|19[0-9]|14[0-9])[0-9]{8}$/
// return phoneReg.test(value) ? callback() : callback(new Error('请输入正确的手机号'))
// } else {
// let cjhReg = /^[0-9a-zA-Z]{6}$/
// return cjhReg.test(value) ? callback() : callback(new Error('请输入正确的车架号后6位'))
// }
// },
// trigger: 'change'
// }
// ]
}, },
isEdit: true, isEdit: true,
editFormData: [ editFormData: [
{ {
label: '礼包名称', label: '礼包名称',
name: 'name', name: 'name',
isDisabled: false,
type: 'input', type: 'input',
maxlength: 15 maxlength: 15
}, },
...@@ -187,6 +242,7 @@ export default { ...@@ -187,6 +242,7 @@ export default {
label: '备注名称', label: '备注名称',
name: 'remarkName', name: 'remarkName',
type: 'input', type: 'input',
isDisabled: false,
maxlength: 30, maxlength: 30,
suffixSlot: 'remarkName', suffixSlot: 'remarkName',
placeholder: '可按车主姓名+手机号形式备注' placeholder: '可按车主姓名+手机号形式备注'
...@@ -203,35 +259,72 @@ export default { ...@@ -203,35 +259,72 @@ export default {
addHtml: 'couponListBlock' addHtml: 'couponListBlock'
}, },
{ {
label: '领取条件', label: '库存数量',
name: 'receiveWay', name: 'stock',
addHtml: 'stockNumInput'
},
{
label: '审批要求',
name: 'approveFlag',
addHtml: 'approvalSlot'
},
{
label: '领取规则设置',
name: 'receiveRule',
type: 'radio', type: 'radio',
optionId: 'confId', optionId: 'confId',
optionLabel: 'confName', optionLabel: 'confName',
isDisabled: false,
optionList: [ optionList: [
{ {
confId: '1', confId: 1,
confName: '指定手机号' confName: '创建时指定'
}, },
{ {
confId: '2', confId: 2,
confName: '指定车架号后6位' confName: '员工赠送时指定',
} isDisabled: true
],
handleRadioChange: val => {
this.editForm.receiveDetails = ''
this.receiveWayChange(val)
}
}, },
{ {
label: '', confId: 3,
name: 'receiveDetails', confName: '直接领取'
type: 'input', }
maxlength: 11, ],
style: { 'margin-left': '144px' }, suffixSlot: 'configSlot',
placeholder: '请输入领取手机号', handleRadioChange: () => {
suffixSlot: 'receiveDetails' this.resetTextArea()
}, }
},
// {
// label: '领取条件',
// name: 'receiveWay',
// type: 'radio',
// optionId: 'confId',
// optionLabel: 'confName',
// optionList: [
// {
// confId: '1',
// confName: '指定手机号'
// },
// {
// confId: '2',
// confName: '指定车架号后6位'
// }
// ],
// handleRadioChange: val => {
// this.editForm.receiveDetails = ''
// this.receiveWayChange(val)
// }
// },
// {
// label: '',
// name: 'receiveDetails',
// type: 'input',
// maxlength: 11,
// style: { 'margin-left': '144px' },
// placeholder: '请输入领取手机号',
// suffixSlot: 'receiveDetails'
// },
{ {
label: '发放员工', label: '发放员工',
name: 'staffList', name: 'staffList',
...@@ -263,7 +356,6 @@ export default { ...@@ -263,7 +356,6 @@ export default {
currentPeople: [] currentPeople: []
} }
}, },
components: { components: {
selectStaffDialog, selectStaffDialog,
selectGiftDialog selectGiftDialog
...@@ -287,17 +379,70 @@ export default { ...@@ -287,17 +379,70 @@ export default {
} }
} }
}, },
computed: {
placeholder() {
return `请输入领取${this.receiveWay == 1 ? '手机号' : '车架号后6位'},多个${this.receiveWay == 1 ? '手机号' : '车架号'}以换行符隔开`
}
},
mounted() { mounted() {
this.footerLeft = document.querySelector('.base-container-right').offsetLeft this.footerLeft = document.querySelector('.base-container-right').offsetLeft
this.footerWidth = document.documentElement.clientWidth - this.footerLeft this.footerWidth = document.documentElement.clientWidth - this.footerLeft
this.routeInfo = this.$route.query this.routeInfo = this.$route.query
if (this.routeInfo.receivedStock) this.routeInfo.receivedStock = +this.routeInfo.receivedStock
this.title = this.titleObj[this.routeInfo.addOrEdit] this.title = this.titleObj[this.routeInfo.addOrEdit]
this.routeInfo.addOrEdit == 'add' ? '' : this.getInfo() this.routeInfo.addOrEdit == 'add' ? '' : this.getInfo()
if (this.routeInfo.id && this.routeInfo.receivedStock) {
// let targetItem = this.editFormData.find(item => item.name == 'receiveRule')
// targetItem && (targetItem.isDisabled = true)
let arr = ['name', 'remarkName', 'receiveRule']
this.editFormData.map(item => {
if (arr.includes(item.name)) {
item.isDisabled = true
}
})
}
}, },
methods: { methods: {
resetTextArea() {
this.phone = ''
this.phoneList = []
},
resetStock(e) {
this.editForm.stock = e.replace(/^(0+)|[^\d]+/g, '')
},
delPhone(val) {
let phone = '\n' + this.phone + '\n'
phone = phone.replace(/[\n]/g, '\n\n')
phone = phone.replace(new RegExp('[\n]'+ val + '[\n]', 'g'), '\n')
phone = phone.replace(/[\n]+/g, '\n')
phone = phone.replace(/^[\n]+/, '')
this.phone = phone
this.formatPhone()
},
formatPhone() {
let phoneList = this.phone.split('\n')
phoneList = [...new Set(phoneList)]
// let phoneList = this.phone.split(/[\n|\s|,|,]/)
let reg
if (this.receiveWay == 1) {
reg = /^(13[0-9]|15[0-9]|16[0-9]|17[0-9]|18[0-9]|19[0-9]|14[0-9])[0-9]{8}$/
} else {
reg = /^[0-9a-zA-Z]{6}$/
}
let arr = []
phoneList.forEach(item => {
arr.push({
tel: item,
valid: reg.test(item)
})
})
this.phoneList = arr.filter(item => item.tel)
},
getInfo() { getInfo() {
this.isLoaded = false
this.loading = true
this.$apis.giftBag this.$apis.giftBag
.getGiftInfoApi({ id: this.routeInfo.id }) .getGiftInfoApi({ id: this.routeInfo.id })
.then(res => { .then(res => {
...@@ -309,7 +454,12 @@ export default { ...@@ -309,7 +454,12 @@ export default {
res.data.updatedDate = dayjs(res.data.updatedDate).format('YYYY-MM-DD HH:mm:ss') res.data.updatedDate = dayjs(res.data.updatedDate).format('YYYY-MM-DD HH:mm:ss')
this.approvalStatus = res.data.approveStatus - 1 this.approvalStatus = res.data.approveStatus - 1
this.editForm = res.data this.editForm = res.data
this.editForm.receiveWay = this.editForm.receiveWay + '' this.curStock = res.data.stock
this.receiveWay = res.data.receiveWay || 1
if (res.data && res.data.receiveDetails) {
this.phone = res.data.receiveDetails.replaceAll(',', '\n')
this.formatPhone()
}
this.recoveryCoupon() this.recoveryCoupon()
this.recoveryTotalPrice() this.recoveryTotalPrice()
this.hasStaffBlock(false) this.hasStaffBlock(false)
...@@ -319,6 +469,7 @@ export default { ...@@ -319,6 +469,7 @@ export default {
}) })
.finally(() => { .finally(() => {
this.loading = false this.loading = false
this.isLoaded = true
}) })
}, },
...@@ -393,7 +544,6 @@ export default { ...@@ -393,7 +544,6 @@ export default {
}, },
handleGiftConfirm(selectedData) { handleGiftConfirm(selectedData) {
console.log(selectedData)
this.handleGiftClose() this.handleGiftClose()
this.couponObj = selectedData this.couponObj = selectedData
this.recoveryTotalPrice() this.recoveryTotalPrice()
...@@ -405,6 +555,7 @@ export default { ...@@ -405,6 +555,7 @@ export default {
}, },
handleGiftDelete(attr, idx) { handleGiftDelete(attr, idx) {
if (this.routeInfo.receivedStock) return
this.couponObj[attr].list.splice(idx, 1) this.couponObj[attr].list.splice(idx, 1)
this.recoveryTotalPrice() this.recoveryTotalPrice()
this.recoveryGiftList() this.recoveryGiftList()
...@@ -444,6 +595,10 @@ export default { ...@@ -444,6 +595,10 @@ export default {
}, },
handleConfirm() { handleConfirm() {
let validItem = this.phoneList.find(item => !item.valid)
if (validItem && validItem.tel) {
return this.$message.error(`${this.receiveWay == 1 ? '手机号' : '车架号'}${validItem.tel}格式错误,请修改!`)
}
this.$refs.editFormRef.$refs[this.editChildRef].validate(valid => { this.$refs.editFormRef.$refs[this.editChildRef].validate(valid => {
if (valid) { if (valid) {
var params = this.$common.utils.deepClone(this.editForm) var params = this.$common.utils.deepClone(this.editForm)
...@@ -452,39 +607,61 @@ export default { ...@@ -452,39 +607,61 @@ export default {
params.couponCreateRequests.forEach(item => { params.couponCreateRequests.forEach(item => {
item.couponId = item.id item.couponId = item.id
}) })
if (this.editForm.receiveRule == 1) {
params.receiveDetailList = this.phoneList.map(item => item.tel)
let maxLength = 500
if(params.receiveDetailList && params.receiveDetailList.length > maxLength){
return this.$message.error(`领取${this.receiveWay == 1 ? '手机号' : '车架号'}不能超过${maxLength}个`)
}
params.receiveWay = this.receiveWay
}
delete params.staffList delete params.staffList
delete params.couponList delete params.couponList
if (this.routeInfo.addOrEdit == 'edit') { if (this.routeInfo.addOrEdit == 'edit') {
params.id = this.routeInfo.id params.id = this.routeInfo.id
if (this.editForm.receiveRule == 2) {
let telArr = []
this.editForm.receiveDetails && (telArr = this.editForm.receiveDetails.split(','))
params.receiveDetailList = [...telArr]
}
} }
params.requestSource = 1 params.requestSource = 1
// 插入判断是否存在审批模板 // 插入判断是否存在审批模板
const { session } = this.$globalState // const { session } = this.$globalState
this.$apis.giftBag.templateModal({ merchantId: session.merchantId }).then(result => {
if (result.data && (!this.isChangeCoupons || !this.isChangePeople)) {
this.$confirm(`<div>提交后立即生效,如需审批,请在企微工作台创建</div><div>是否继续提交</div>`, '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning',
dangerouslyUseHTMLString: true
})
.then(() => {
this.insertHttp(params)
})
.catch(() => { })
} else {
this.insertHttp(params) this.insertHttp(params)
} // this.$apis.giftBag.templateModal({ merchantId: session.merchantId }).then(result => {
}) // if (result.data && (!this.isChangeCoupons || !this.isChangePeople)) {
// this.$confirm(`<div>提交后立即生效,如需审批,请在企微工作台创建</div><div>是否继续提交</div>`, '提示', {
// confirmButtonText: '确定',
// cancelButtonText: '取消',
// type: 'warning',
// dangerouslyUseHTMLString: true
// })
// .then(() => {
// this.insertHttp(params)
// })
// .catch(() => {})
// } else {
// this.insertHttp(params)
// }
// })
} }
}) })
}, },
// 创建-更新接口 // 创建-更新接口
insertHttp(params) { insertHttp(params) {
this.loading = true // this.loading = true
const loadingMoadl = this.$loading({
lock: true,
text: '正在Loading···',
spinner: 'el-icon-loading',
background: 'rgba(0, 0, 0, 0.5)',
customClass:'loadingClass'
})
this.$apis.giftBag this.$apis.giftBag
.insertGiftApi(params) .insertGiftApi(params)
.then(res => { .then(res => {
loadingMoadl.close()
this.$message({ this.$message({
message: res.code == '0' ? '操作成功' : res.message, message: res.code == '0' ? '操作成功' : res.message,
type: res.code == '0' ? 'success' : 'error' type: res.code == '0' ? 'success' : 'error'
...@@ -512,7 +689,7 @@ export default { ...@@ -512,7 +689,7 @@ export default {
.then(() => { .then(() => {
this.cancelJump() this.cancelJump()
}) })
.catch(() => { }) .catch(() => {})
} else { } else {
this.cancelJump() this.cancelJump()
} }
...@@ -521,6 +698,9 @@ export default { ...@@ -521,6 +698,9 @@ export default {
} }
</script> </script>
<style lang="scss"> <style lang="scss">
.el-textarea__inner {
font-family: auto;
}
.marketing.edit-gift .select-merchant { .marketing.edit-gift .select-merchant {
width: 98%; width: 98%;
} }
...@@ -531,6 +711,75 @@ export default { ...@@ -531,6 +711,75 @@ export default {
border: 1px solid #e5e5e5; border: 1px solid #e5e5e5;
} }
.marketing.edit-gift { .marketing.edit-gift {
.stock {
display: flex;
align-items: flex-end;
.stock-tip {
white-space: nowrap;
font-size: 12px;
font-weight: 400;
color: #999999;
line-height: 17px;
}
.el-input {
width: 68px;
display: inline-block;
.el-input__inner {
text-align: center;
}
}
}
.approval-tip {
font-size: 12px;
font-weight: 400;
color: #999999;
line-height: 12px;
margin-left: 24px;
}
.telArea {
width: 713px;
background: #f9f9f9;
padding: 10px 20px;
.receiving {
color: #666;
width: 70px;
position: relative;
&::before {
content: '*';
color: #f56c6c;
left: -10px;
position: absolute;
}
}
.el-textarea__inner {
height: 73px;
font-family: auto;
}
.tel-item {
height: 26px;
display: inline-block;
padding: 0 8px;
line-height: 26px;
background: #fafbfe;
border-radius: 4px;
border: 1px solid #e8e8ea;
color: #666666;
text-align: center;
margin-right: 4px;
box-sizing: border-box;
}
.valid-tel {
background: #fff1f0;
border: 1px solid #ffa39e;
color: #ff4d4f;
}
.realTel{
width: 130px;
}
.realNum{
width: 90px;
}
}
// 礼包 // 礼包
.gift-block { .gift-block {
width: 878px; width: 878px;
...@@ -547,6 +796,11 @@ export default { ...@@ -547,6 +796,11 @@ export default {
.gift-box { .gift-box {
display: flex; display: flex;
padding: 10px 0 10px 10px; padding: 10px 0 10px 10px;
.server-type {
margin: 4px 12px 0 0;
height: 23px;
width: 58px;
}
.gift-label { .gift-label {
width: 70px; width: 70px;
color: #999999; color: #999999;
......
...@@ -26,7 +26,8 @@ ...@@ -26,7 +26,8 @@
</div> </div>
<div v-for="(item, index) in orderShow" :key="index"> <div v-for="(item, index) in orderShow" :key="index">
<div class="gift-box" v-show="couponObj[item].list.length"> <div class="gift-box" v-show="couponObj[item].list.length">
<div class="gift-label">{{ couponObj[item].label }}:</div> <!-- <div class="gift-label">{{ couponObj[item].label }}:</div> -->
<img class="server-type" :src="require(`@/assets/coupon/icon-${item}.png`)" />
<div class="gift-content"> <div class="gift-content">
<div class="gift-item" v-for="(subItem, subIndex) in couponObj[item].list" :key="subIndex"> <div class="gift-item" v-for="(subItem, subIndex) in couponObj[item].list" :key="subIndex">
<span :class="['circle', subItem.status == '3' ? ' grey' : '']"></span> <span :class="['circle', subItem.status == '3' ? ' grey' : '']"></span>
...@@ -37,7 +38,17 @@ ...@@ -37,7 +38,17 @@
</div> </div>
</div> </div>
</div> </div>
<div slot="receiveDetails">{{ editForm.receiveWay == '1' ? '指定手机号' : '指定车架号后6位' }}:{{ editForm.receiveDetails }}</div> <div slot="approveFlagBlock">
{{ editForm.approveFlag == 1 ? '赠送前需审批' : '无需审批' }}
</div>
<div slot="receiveDetails">
<span v-if="editForm.receiveRule != 1">{{ editForm.receiveRule == 2 ? '员工赠送时指定' : '直接领取' }}</span>
<span v-if="editForm.receiveRule == 2 && editForm.receiveWay">{{ `${editForm.receiveWay == '1' ? '手机号:' : '车架号后6位:'}${editForm.receiveDetails}` }}</span>
<span v-if="editForm.receiveRule == 1">{{ editForm.receiveWay == '1' ? '指定手机号' : '指定车架号后6位' }}:</span>
<div v-if="editForm.receiveRule == 1" class="phone-wrap">
<span :class="['phone',editForm.receiveWay==1?'realTel':'realNum']" v-for="(item, id) in receiveDetailList" :key="id">{{ item }}</span>
</div>
</div>
<div slot="staffListBlock" class="sale-select" v-show="editForm.staffList && editForm.staffList.length != 0"> <div slot="staffListBlock" class="sale-select" v-show="editForm.staffList && editForm.staffList.length != 0">
<div :key="key" class="el-input-tag input-tag-wrapper-detail"> <div :key="key" class="el-input-tag input-tag-wrapper-detail">
<el-tag effect="plain" type="info" v-for="(tag, idx) in editForm.staffList" :key="idx" :disable-transitions="false" @close="handleStaffRemove(tag, idx)"> <el-tag effect="plain" type="info" v-for="(tag, idx) in editForm.staffList" :key="idx" :disable-transitions="false" @close="handleStaffRemove(tag, idx)">
...@@ -80,6 +91,7 @@ export default { ...@@ -80,6 +91,7 @@ export default {
footerWidth: '0', footerWidth: '0',
loading: false, loading: false,
editChildRef: 'editChildRef', editChildRef: 'editChildRef',
receiveDetailList: [],
routeInfo: { routeInfo: {
// add-新增;edit-编辑;detail-详情 // add-新增;edit-编辑;detail-详情
addOrEdit: 'add', addOrEdit: 'add',
...@@ -135,8 +147,10 @@ export default { ...@@ -135,8 +147,10 @@ export default {
name: [{ required: true, message: '请输入礼包名称', trigger: 'change' }], name: [{ required: true, message: '请输入礼包名称', trigger: 'change' }],
remarkName: [{ required: true, message: '请输入备注名称', trigger: 'change' }], remarkName: [{ required: true, message: '请输入备注名称', trigger: 'change' }],
couponList: [{ required: true, message: '请选择礼包', trigger: 'change' }], couponList: [{ required: true, message: '请选择礼包', trigger: 'change' }],
receiveWay: [{ required: true, message: '请选择领取条件', trigger: 'change' }], receiveWay: [{ required: true, message: '请选择领取规则', trigger: 'change' }],
staffList: [{ required: true, message: '请选择发放员工', trigger: 'change' }] staffList: [{ required: true, message: '请选择发放员工', trigger: 'change' }],
approveFlag: [{ required: true, message: '请选择审批要求', trigger: 'change' }],
stock: [{ required: true, message: '请选择库存数量', trigger: 'change' }]
}, },
isEdit: true, isEdit: true,
editFormData: [ editFormData: [
...@@ -156,7 +170,17 @@ export default { ...@@ -156,7 +170,17 @@ export default {
addHtml: 'couponListBlock' addHtml: 'couponListBlock'
}, },
{ {
label: '领取条件', label: '库存数量',
name: 'stock',
type: 'showTxt'
},
{
label: '审批要求',
name: 'approveFlag',
addHtml: 'approveFlagBlock'
},
{
label: '领取规则',
name: 'receiveWay', name: 'receiveWay',
addHtml: 'receiveDetails' addHtml: 'receiveDetails'
}, },
...@@ -194,6 +218,9 @@ export default { ...@@ -194,6 +218,9 @@ export default {
res.data.createdDate = dayjs(res.data.createdDate).format('YYYY-MM-DD HH:mm:ss') res.data.createdDate = dayjs(res.data.createdDate).format('YYYY-MM-DD HH:mm:ss')
res.data.updatedDate = dayjs(res.data.updatedDate).format('YYYY-MM-DD HH:mm:ss') res.data.updatedDate = dayjs(res.data.updatedDate).format('YYYY-MM-DD HH:mm:ss')
this.editForm = res.data this.editForm = res.data
let arr = []
res.data.receiveDetails && (arr = res.data.receiveDetails.split(','))
this.receiveDetailList = [...arr]
this.approvalStatus = res.data.approveStatus - 1 this.approvalStatus = res.data.approveStatus - 1
this.recoveryCoupon() this.recoveryCoupon()
this.recoveryTotalPrice() this.recoveryTotalPrice()
...@@ -268,6 +295,11 @@ export default { ...@@ -268,6 +295,11 @@ export default {
.gift-box { .gift-box {
display: flex; display: flex;
padding: 10px 0 10px 10px; padding: 10px 0 10px 10px;
.server-type {
margin: 4px 12px 0 0;
height: 23px;
width: 58px;
}
.gift-label { .gift-label {
width: 70px; width: 70px;
color: #999999; color: #999999;
...@@ -299,6 +331,25 @@ export default { ...@@ -299,6 +331,25 @@ export default {
} }
} }
} }
.phone-wrap {
width: 878px;
background-color: #f9f9f9;
padding: 5px 10px;
line-height: 14px;
font-size: 14px;
box-sizing: border-box;
margin-top: 5px;
.phone {
display: inline-block;
margin: 5px 16px 5px 0;
}
.realTel{
width: 120px;
}
.realNum{
width: 80px;
}
}
// 发放员工 // 发放员工
.sale-select { .sale-select {
display: flex; display: flex;
......
...@@ -11,17 +11,8 @@ ...@@ -11,17 +11,8 @@
</div> </div>
<div class="container"> <div class="container">
<div> <div>
<glsx-combi-form ref="showSearch" :formObj="searchForm" :formData="searchFormData"> <GLCombiForm @handleOk="handleSearch" @handleRest="handleReset" ref="showSearch" :formObj="searchForm" :formData="searchFormData"></GLCombiForm>
<span slot="footer"> <GLButton style="float:right;margin-bottom:10px;" :size="size" class="default-blue-btn" type="default" fn="导出" @click="handleExport">导出</GLButton>
<el-button :size="size" type="default" @click="handleReset">重置</el-button>
<el-button :size="size" type="primary" @click="handleSearch">查询</el-button>
</span>
</glsx-combi-form>
<glsx-combi-form ref="showSearch">
<span slot="footer" class="footer-btns">
<GLButton :size="size" class="default-blue-btn" type="default" fn="导出" @click="handleExport">导出</GLButton>
</span>
</glsx-combi-form>
</div> </div>
<!-- 表格区域 开始 --> <!-- 表格区域 开始 -->
...@@ -30,6 +21,7 @@ ...@@ -30,6 +21,7 @@
<div class="p-b-12">礼包明细</div> <div class="p-b-12">礼包明细</div>
<div class="gift-detail flex-wrap"> <div class="gift-detail flex-wrap">
<div class="gift-item" v-for="(item, index) in scope.scope.couponList" :key="index"> <div class="gift-item" v-for="(item, index) in scope.scope.couponList" :key="index">
<img :src="require(`@/assets/coupon/icon-${attrToIcon[item.discountType]}.png`)" />
<p :class="['gift-coupon-name', item.status == '3' ? ' txt-grey' : '']">{{ item.couponName }} × {{ item.couponAmount }}</p> <p :class="['gift-coupon-name', item.status == '3' ? ' txt-grey' : '']">{{ item.couponName }} × {{ item.couponAmount }}</p>
<p v-show="item.status == '3'" class="gift-tips">已失效</p> <p v-show="item.status == '3'" class="gift-tips">已失效</p>
</div> </div>
...@@ -38,12 +30,12 @@ ...@@ -38,12 +30,12 @@
<div slot="name" slot-scope="scope"> <div slot="name" slot-scope="scope">
<p class="cursor-pointer" @click="handleDetail(scope.scope)">{{ scope.scope.name }}</p> <p class="cursor-pointer" @click="handleDetail(scope.scope)">{{ scope.scope.name }}</p>
</div> </div>
<div slot="approveStatus" slot-scope="scope"> <div style="display: flex;align-items: center;" slot="approveStatus" slot-scope="scope">
<span :style="{ color: approvalStatusColor[scope.scope.approveStatus - 1] }">{{ approvalStatusVal[scope.scope.approveStatus - 1] }}</span> <div class="approve-status" :style="{ 'background-color': approvalStatusColor[scope.scope.approveStatus - 1] }"></div>
<span>{{ approvalStatusVal[scope.scope.approveStatus - 1] }}</span>
</div> </div>
<div class="table-btns" slot="auth-button" slot-scope="scope"> <div class="table-btns" slot="auth-button" slot-scope="scope">
<GLButton type="text" fn="编辑" @click="handleEdit('edit', scope.scope)">编辑</GLButton> <GLTableButton :buttonList="buttonList" :buttonItem="scope" :buttonNum="3"></GLTableButton>
<GLButton type="text" fn="删除" @click="handleDelete(scope.scope)">删除</GLButton>
</div> </div>
</GLTable> </GLTable>
<!-- 表格区域 end --> <!-- 表格区域 end -->
...@@ -59,6 +51,40 @@ export default { ...@@ -59,6 +51,40 @@ export default {
name: 'giftList', name: 'giftList',
data() { data() {
return { return {
attrToIcon: {
2: 'discount',
3: 'cash',
4: 'exchange',
7: 'service'
},
buttonList: [
{
type: 'GLButton',
name: row => {
return '编辑'
},
attrs: {
type: 'text',
fn: '编辑'
},
listeners: {
click: row => this.handleEdit('edit', row.scope)
}
},
{
type: 'GLButton',
name: row => {
return '删除'
},
attrs: {
type: 'text',
fn: '删除'
},
listeners: {
click: row => this.handleDelete(row.scope)
}
}
],
size: 'small', size: 'small',
url: url, url: url,
searchForm: { searchForm: {
...@@ -106,7 +132,10 @@ export default { ...@@ -106,7 +132,10 @@ export default {
getListApi: this.$apis.giftBag.getListApi, getListApi: this.$apis.giftBag.getListApi,
tableParams: { tableParams: {
listName: 'list', listName: 'list',
tableOption: true, tableOption: {
width:120,
align:'center'
},
tableColumns: [ tableColumns: [
{ {
label: '', label: '',
...@@ -130,11 +159,11 @@ export default { ...@@ -130,11 +159,11 @@ export default {
{ {
label: '备注名称', label: '备注名称',
prop: 'remarkName', prop: 'remarkName',
width: '200' width: 150
}, },
{ {
label: '预估成本/元', label: '预估成本/元',
width: 200, width: 150,
prop: 'anticipatedCost', prop: 'anticipatedCost',
formatter: cellValue => { formatter: cellValue => {
return (cellValue.anticipatedCost / 100).toFixed(2) return (cellValue.anticipatedCost / 100).toFixed(2)
...@@ -143,12 +172,28 @@ export default { ...@@ -143,12 +172,28 @@ export default {
{ {
label: '发放员工', label: '发放员工',
prop: 'staffList', prop: 'staffList',
width: 200, width: 150,
formatter: cellValue => { formatter: cellValue => {
return cellValue.staffList.map(item => item.staffName).join(',') return cellValue.staffList.map(item => item.staffName).join(',')
} }
}, },
{ {
label: '已领取',
prop: 'stock',
width: 150,
formatter: cellValue => {
return cellValue.receivedStock || '0'
}
},
{
label: '待领取',
prop: '',
width: 150,
formatter: cellValue => {
return +cellValue.stock - +cellValue.receivedStock || '0'
}
},
{
label: '赠送原因', label: '赠送原因',
width: 200, width: 200,
prop: 'giveReason', prop: 'giveReason',
...@@ -158,13 +203,14 @@ export default { ...@@ -158,13 +203,14 @@ export default {
}, },
{ {
label: '审批状态', label: '审批状态',
width: 150,
prop: 'approveStatus', prop: 'approveStatus',
addHtml: 'approveStatus' addHtml: 'approveStatus'
}, },
{ {
label: '创建时间', label: '创建时间',
prop: 'createdDate', prop: 'createdDate',
width: '180', width: 180,
formatter: cellValue => { formatter: cellValue => {
return dayjs(cellValue.createdDate).format('YYYY-MM-DD HH:mm:ss') return dayjs(cellValue.createdDate).format('YYYY-MM-DD HH:mm:ss')
} }
...@@ -204,7 +250,7 @@ export default { ...@@ -204,7 +250,7 @@ export default {
}, },
// 1 审批中;2 审批通过; 3审批驳回 4审批撤销 5待审批 // 1 审批中;2 审批通过; 3审批驳回 4审批撤销 5待审批
// 审批状态 0审批中 1审批通过 2审批驳回 // 审批状态 0审批中 1审批通过 2审批驳回
approvalStatusColor: ['#FF6D00', '#2CCA74', '#EB4E4E', '#999999', '#999999'], approvalStatusColor: ['#5850FF', '#2CCA74', '#EB4E4E', '#FDB757', '#FDB757'],
approvalStatusVal: ['审批中', '审批通过', '已驳回', '审批撤销', '待审批'] approvalStatusVal: ['审批中', '审批通过', '已驳回', '审批撤销', '待审批']
} }
}, },
...@@ -294,6 +340,7 @@ export default { ...@@ -294,6 +340,7 @@ export default {
$title: encodeURI(addOrEdit == 'add' ? '新增礼包' : '编辑礼包') $title: encodeURI(addOrEdit == 'add' ? '新增礼包' : '编辑礼包')
} }
addOrEdit != 'add' && (params.id = row.id) addOrEdit != 'add' && (params.id = row.id)
addOrEdit != 'add' && (params.receivedStock = row.receivedStock)
this.$router.push({ this.$router.push({
path: '/giftBag/editGift', path: '/giftBag/editGift',
query: params query: params
...@@ -354,12 +401,28 @@ export default { ...@@ -354,12 +401,28 @@ export default {
<style lang="scss"> <style lang="scss">
.p-b-12 { .p-b-12 {
margin-bottom: 14px; margin-bottom: 14px;
font-weight: 500;
color: #333333;
}
.approve-status {
width: 6px;
height: 6px;
border-radius: 4px;
margin-right: 8px;
display: inline-block;
} }
.gift-detail .gift-item { .gift-detail .gift-item {
margin-right: 80px; margin-right: 80px;
display: flex;
align-items: center;
color: #333333;
img {
height: 23px;
width: 58px;
margin-right: 23px;
}
.gift-coupon-name { .gift-coupon-name {
display: inline-block; display: inline-block;
margin-right: 7px;
} }
.gift-tips { .gift-tips {
display: inline-block; display: inline-block;
......
...@@ -3,38 +3,55 @@ ...@@ -3,38 +3,55 @@
<div class="marketing"> <div class="marketing">
<div class="container"> <div class="container">
<div> <div>
<glsx-combi-form ref="showSearch" :formObj="searchForm" :formData="searchFormData"></glsx-combi-form> <GLCombiForm ref="showSearch" @handleOk="handleSearch" @handleRest="handleReset" :formObj="searchForm" :formData="searchFormData"></GLCombiForm>
<glsx-combi-form ref="showSearch" :formObj="searchForm" :formData="searchFormData1"> <!-- <glsx-combi-form ref="showSearch" :formObj="searchForm" :formData="searchFormData1">
<span slot="footer"> <span slot="footer">
<el-button :size="size" type="default" @click="handleReset">重置</el-button> <el-button :size="size" type="default" @click="handleReset">重置</el-button>
<el-button :size="size" type="primary" @click="handleSearch">查询</el-button> <el-button :size="size" type="primary" @click="handleSearch">查询</el-button>
</span> </span>
</glsx-combi-form> </glsx-combi-form> -->
<glsx-combi-form ref="showSearch"> <!-- <glsx-combi-form ref="showSearch">
<span slot="footer" class="footer-btns"> <span slot="footer" class="footer-btns"> -->
<!-- <el-button :size="size" type="default" @click="handleExport">导出</el-button> --> <!-- <el-button :size="size" type="default" @click="handleExport">导出</el-button> -->
<GLButton :size="size" class="default-blue-btn" type="default" fn="已领取导出" @click="handleExport">导出</GLButton> <!-- <GLButton :size="size" class="default-blue-btn" type="default" fn="已领取导出" @click="handleExport">导出</GLButton>
</span> </span>
</glsx-combi-form> </glsx-combi-form> -->
<GLButton style="float:right;margin-bottom:10px;" :size="size" class="default-blue-btn" type="default" fn="已领取导出" @click="handleExport">导出</GLButton>
</div> </div>
<!-- 表格区域 开始 --> <!-- 表格区域 开始 -->
<GLTable ref="receivedGiftListRef" :getListApi="getListApi" :hasNum="false" :noDataImg="url" :searchForm="tableSearchForm" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn" @setTableFinishFun="setTableFinishFun"> <GLTable ref="receivedGiftListRef" :getListApi="getListApi" :hasNum="false" :noDataImg="url" :searchForm="tableSearchForm" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn" @setTableFinishFun="setTableFinishFun">
<span slot="directionalGiftName" slot-scope="scope"> <span slot="directionalGiftName" slot-scope="scope">
<el-button type="text" @click="handleDetail(scope.scope)">{{ scope.scope.directionalGiftName }}</el-button> <el-button type="text" @click="handleDetail(scope.scope)">{{ scope.scope.directionalGiftName }}</el-button>
<span v-if="scope.scope.receiveStatus == 2" class="void-label">已作废</span>
<el-tooltip class="item" effect="dark" :content="scope.scope.cancelReason" placement="top-start">
<p class="void-reason" v-if="scope.scope.receiveStatus == 2">作废原因:{{ scope.scope.cancelReason || '--' }}</p>
</el-tooltip>
</span> </span>
<div slot="giftInfo" slot-scope="scope"> <div slot="giftInfo" slot-scope="scope">
<GLTable ref="giftListRef" :hasNum="false" :hasPage="false" :noDataImg="url" :tableParams="giftParams" :tableData="scope.scope | filterTable" @setTableFinishFun="setGiftTableFinishFun"></GLTable> <GLTable ref="giftListRef" :hasNum="false" :hasPage="false" :noDataImg="url" :tableParams="giftParams" :tableData="scope.scope | filterTable" @setTableFinishFun="setGiftTableFinishFun"></GLTable>
</div> </div>
<div class="table-btns" slot="auth-button" slot-scope="scope">
<el-button :disabled="scope.scope.receiveStatus == 2" type="text" @click="handleCancel(scope.scope)">作废</el-button>
</div>
</GLTable> </GLTable>
<!-- 表格区域 end --> <!-- 表格区域 end -->
</div> </div>
<glsx-dialog title="作废确认" :isVisible.sync="isCancelVisible" @confirmDialog="handleCancelConfirm" @closeDialog="handleCancelClose">
<p>请先和客户沟通再确认,避免引起客诉,作废后客户将不可使用该礼包下所有优惠卷</p>
<el-form ref="cancelRef" label-width="100px" :rules="cancelRules" :model="cancelForm">
<el-form-item label="作废原因" prop="cancelReason" class="m-t-20">
<el-input :size="size" type="textarea" v-model="cancelForm.cancelReason" placeholder="请输入作废原因" maxlength="50" rows="3" show-word-limit></el-input>
</el-form-item>
</el-form>
</glsx-dialog>
</div> </div>
</template> </template>
<script> <script>
import * as dayjs from 'dayjs' import * as dayjs from 'dayjs'
import url from '@/assets/empty.png' import url from '@/assets/empty.png'
import glsxDialog from '@/components/glsx-dialog'
import { aToExport } from '@/common/constant' import { aToExport } from '@/common/constant'
export default { export default {
name: 'giftList', name: 'giftList',
...@@ -58,12 +75,35 @@ export default { ...@@ -58,12 +75,35 @@ export default {
return { return {
size: 'small', size: 'small',
url: url, url: url,
curId: '',
reason: '',
cancelForm: {
userDirectionalGiftId: '',
cancelReason: ''
},
cancelRules: {
cancelReason: [
{
required: true,
validator: (rule, value, callback) => {
if (!value || (value && !value.trim())) {
return callback(new Error('请输入作废原因'))
} else {
return callback()
}
},
trigger: 'change'
}
]
},
isCancelVisible: false,
searchForm: { searchForm: {
nickName: '', nickName: '',
wechatUserFlag: '', wechatUserFlag: '',
giftName: '', giftName: '',
staffName: '', staffName: '',
createDate: [] createDate: [],
receiveStatus: ''
}, },
tableSearchForm: {}, tableSearchForm: {},
// 搜索 // 搜索
...@@ -89,9 +129,7 @@ export default { ...@@ -89,9 +129,7 @@ export default {
optionLabel: 'Name', optionLabel: 'Name',
optionsName: 'List', optionsName: 'List',
placeholder: '请选择' placeholder: '请选择'
} },
],
searchFormData1: [
{ {
label: '发放员工', label: '发放员工',
name: 'staffName', name: 'staffName',
...@@ -103,8 +141,32 @@ export default { ...@@ -103,8 +141,32 @@ export default {
name: 'createDate', name: 'createDate',
type: 'datePicker', type: 'datePicker',
pickerOptions: 'beforeRangePickerOptions' pickerOptions: 'beforeRangePickerOptions'
},
{
label: '领取状态',
name: 'receiveStatus',
type: 'select',
optionList: [],
optionId: 'Id',
optionLabel: 'Name',
optionsName: 'statusList',
placeholder: '请选择'
} }
], ],
// searchFormData1: [
// {
// label: '发放员工',
// name: 'staffName',
// type: 'input',
// placeholder: '请输入'
// },
// {
// label: '领取日期',
// name: 'createDate',
// type: 'datePicker',
// pickerOptions: 'beforeRangePickerOptions'
// }
// ],
baseData: { baseData: {
List: [ List: [
{ {
...@@ -115,6 +177,16 @@ export default { ...@@ -115,6 +177,16 @@ export default {
Id: '2', Id: '2',
Name: '是' Name: '是'
} }
],
statusList: [
{
Id: '1',
Name: '正常使用'
},
{
Id: '2',
Name: '已作废'
}
] ]
}, },
//礼包详情 //礼包详情
...@@ -158,7 +230,10 @@ export default { ...@@ -158,7 +230,10 @@ export default {
getListApi: this.$apis.giftBag.getReceivedGiftInfoApi, getListApi: this.$apis.giftBag.getReceivedGiftInfoApi,
tableParams: { tableParams: {
listName: 'list', listName: 'list',
tableOption: false, tableOption: {
width: 100,
align: 'center'
},
tableColumns: [ tableColumns: [
{ {
label: '', label: '',
...@@ -181,12 +256,12 @@ export default { ...@@ -181,12 +256,12 @@ export default {
{ {
label: '客户手机号', label: '客户手机号',
prop: 'phone', prop: 'phone',
width: '110' width: 150
}, },
{ {
label: '是否为企微客户', label: '是否为企微客户',
prop: 'wechatUserFlag', prop: 'wechatUserFlag',
width: '200', width: 150,
formatter: cellValue => { formatter: cellValue => {
if (cellValue.wechatUserFlag == 1) { if (cellValue.wechatUserFlag == 1) {
return '否' return '否'
...@@ -198,17 +273,17 @@ export default { ...@@ -198,17 +273,17 @@ export default {
{ {
label: '礼包名称', label: '礼包名称',
width: '200', width: 200,
addHtml: 'directionalGiftName' addHtml: 'directionalGiftName'
}, },
{ {
label: '礼包备注名称', label: '礼包备注名称',
prop: 'directionalGiftRemarkName', prop: 'directionalGiftRemarkName',
width: '200' width: 150
}, },
{ {
label: '预估成本/元', label: '预估成本/元',
width: 200, width: 150,
prop: 'anticipatedCost', prop: 'anticipatedCost',
formatter: cellValue => { formatter: cellValue => {
return cellValue.anticipatedCost / 100 return cellValue.anticipatedCost / 100
...@@ -216,7 +291,7 @@ export default { ...@@ -216,7 +291,7 @@ export default {
}, },
{ {
// label: '已核销成本/元', // label: '已核销成本/元',
width: 200, width: 150,
prop: 'verificationAnticipatedCost', prop: 'verificationAnticipatedCost',
// sortable: true, // sortable: true,
renderHeader: h => { renderHeader: h => {
...@@ -233,6 +308,7 @@ export default { ...@@ -233,6 +308,7 @@ export default {
}, },
{ {
label: '发放员工', label: '发放员工',
width: 120,
formatter: cellValue => { formatter: cellValue => {
return cellValue.staffList[0].staffName return cellValue.staffList[0].staffName
} }
...@@ -250,6 +326,9 @@ export default { ...@@ -250,6 +326,9 @@ export default {
pageConf: { pageSize: 'pageSize', pageNum: 'pageNum', totalCount: 'total' } pageConf: { pageSize: 'pageSize', pageNum: 'pageNum', totalCount: 'total' }
} }
}, },
components: {
glsxDialog
},
mounted() { mounted() {
this.getOptionsList('searchFormData') this.getOptionsList('searchFormData')
...@@ -263,6 +342,29 @@ export default { ...@@ -263,6 +342,29 @@ export default {
// }) // })
// }, // },
// 查看 // 查看
handleCancelClose() {
this.cancelVisibleChange()
this.cancelForm = {
userCouponId: '',
cancelReason: ''
}
},
handleCancelConfirm() {
this.$refs.cancelRef.validate(valid => {
if (valid) {
this.$apis.giftBag.toVoidGift(this.cancelForm).then(res => {
this.$message({
message: res.code == '0' ? '操作成功' : res.message,
type: res.code == '0' ? 'success' : 'error'
})
if (res.code == '0') {
this.handleCancelClose()
this.handleSearch()
}
})
}
})
},
handleDetail(row) { handleDetail(row) {
this.$router.push({ this.$router.push({
path: '/giftBag/giftDetail', path: '/giftBag/giftDetail',
...@@ -271,6 +373,16 @@ export default { ...@@ -271,6 +373,16 @@ export default {
} }
}) })
}, },
handleCancel(row) {
this.cancelForm.userDirectionalGiftId = row.id
this.cancelVisibleChange()
},
cancelVisibleChange() {
this.$refs.cancelRef && this.$refs.cancelRef.clearValidate()
this.isCancelVisible = !this.isCancelVisible
},
getParams() { getParams() {
var params = JSON.parse(JSON.stringify(this.searchForm)) var params = JSON.parse(JSON.stringify(this.searchForm))
if (this.searchForm.createDate.length) { if (this.searchForm.createDate.length) {
...@@ -382,7 +494,8 @@ export default { ...@@ -382,7 +494,8 @@ export default {
wechatUserFlag: '', wechatUserFlag: '',
giftName: '', giftName: '',
staffName: '', staffName: '',
createDate: [] createDate: [],
receiveStatus: ''
} }
this.handleSearch() this.handleSearch()
} }
...@@ -390,7 +503,7 @@ export default { ...@@ -390,7 +503,7 @@ export default {
} }
</script> </script>
<style scoped> <style lang="scss" scoped>
.table-header { .table-header {
display: inline-flex !important; display: inline-flex !important;
align-items: center; align-items: center;
...@@ -400,4 +513,46 @@ export default { ...@@ -400,4 +513,46 @@ export default {
.marketing /deep/ .el-table th div { .marketing /deep/ .el-table th div {
line-height: normal !important; line-height: normal !important;
} }
.void-label {
width: 44px;
height: 18px;
display: inline-block;
font-size: 12px;
color: #999999;
border-radius: 2px;
text-align: center;
line-height: 18px;
background: #eeeded;
margin-left: 4px;
}
.void-reason {
font-size: 10px;
color: #999999;
width: 180px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
margin: 4px 0 0;
}
.void-dialog {
/deep/ .el-dialog__body {
padding: 20px 80px;
.el-textarea__inner {
font-family: auto;
}
.wrap {
padding-bottom: 50px;
.dialog-tip {
margin-bottom: 20px;
}
.label {
white-space: nowrap;
margin-top: 6px;
}
.el-textarea__inner {
height: 72px;
}
}
}
}
</style> </style>
...@@ -22,6 +22,7 @@ export default { ...@@ -22,6 +22,7 @@ export default {
// 表格组件 // 表格组件
userInfo: {}, userInfo: {},
staffList: [], staffList: [],
selectList:[],
fnCallBack: false, fnCallBack: false,
url: url, url: url,
loading: true, loading: true,
...@@ -72,6 +73,8 @@ export default { ...@@ -72,6 +73,8 @@ export default {
mounted() { mounted() {
this.userInfo = this.$globalState.session this.userInfo = this.$globalState.session
this.selectList = JSON.parse(JSON.stringify(this.selectedStaffList))
this.selectList.map(item => item.userOneId = item.staffUUID)
this.getList({}, true) this.getList({}, true)
}, },
...@@ -93,7 +96,9 @@ export default { ...@@ -93,7 +96,9 @@ export default {
this.loading = false this.loading = false
this.fnCallBack = true this.fnCallBack = true
this.$refs.mutiProRef.tableTotal = res.count this.$refs.mutiProRef.tableTotal = res.count
this.$nextTick(()=>{
this.recoverySelected() this.recoverySelected()
})
this.$refs.mutiProRef.tableHeightValues = '50vh' this.$refs.mutiProRef.tableHeightValues = '50vh'
}) })
}, },
...@@ -101,12 +106,24 @@ export default { ...@@ -101,12 +106,24 @@ export default {
if (this.selectedStaffList && this.selectedStaffList.length) { if (this.selectedStaffList && this.selectedStaffList.length) {
this.selectedStaffList.forEach(row => { this.selectedStaffList.forEach(row => {
row.userOneId = row.staffUUID row.userOneId = row.staffUUID
this.$refs.mutiProRef.$refs[this.tableParams.mutiSelectName + 'MutiTable'].toggleRowSelection(row) this.$nextTick(()=>{
let idx = this.$refs.mutiProRef.$refs[this.tableParams.mutiSelectName + 'MutiTable'].data.findIndex(item=>item.userOneId==row.staffUUID)
if(idx>-1){
try{
this.$refs.mutiProRef.$refs[this.tableParams.mutiSelectName + 'MutiTable'].toggleRowSelection(this.$refs.mutiProRef.$refs[this.tableParams.mutiSelectName + 'MutiTable'].data[idx],true)
let id = this.selectList.findIndex(item=>item.staffUUID==row.staffUUID)
if(id>-1) this.selectList.splice(id, 1)
}catch(err){
console.log(err)
}
}
})
}) })
} }
}, },
handleMutiSelectConfirm() { handleMutiSelectConfirm() {
var selectedData = this.$refs.mutiProRef.mutiSelectArr[this.tableParams.mutiSelectName] var selectedData = [...this.$refs.mutiProRef.mutiSelectArr[this.tableParams.mutiSelectName],...this.selectList]
this.$emit('handleMutiSelectConfirm', selectedData) this.$emit('handleMutiSelectConfirm', selectedData)
}, },
handleMutiSelectClose() { handleMutiSelectClose() {
......
...@@ -13,14 +13,15 @@ ...@@ -13,14 +13,15 @@
</span> </span>
<div class="container"> <div class="container">
<div class="search-form"> <div class="search-form">
<glsx-combi-form ref="materialFormRef1" :isEdit="isEdit" :formObj="searchForm" :formData="materialFormData" :inline="true"> <GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :formData="materialFormData" @handleOk="getListApi" @handleRest="handleReset"></GLCombiForm>
<!-- <glsx-combi-form ref="materialFormRef1" :isEdit="isEdit" :formObj="searchForm" :formData="materialFormData" :inline="true">
<span slot="footer" slot-scope="scope"> <span slot="footer" slot-scope="scope">
<span class="select-pro"> <span class="select-pro">
<el-button type="primary" :size="size" @click="getListApi">查询</el-button> <el-button type="primary" :size="size" @click="getListApi">查询</el-button>
<el-button type="default" :size="size" @click="handleReset(scope)">重置</el-button> <el-button type="default" :size="size" @click="handleReset(scope)">重置</el-button>
</span> </span>
</span> </span>
</glsx-combi-form> </glsx-combi-form> -->
</div> </div>
<div class="tabelList"> <div class="tabelList">
<el-row :style="{ height: boxHeight }"> <el-row :style="{ height: boxHeight }">
...@@ -72,23 +73,7 @@ ...@@ -72,23 +73,7 @@
<span v-if="scope.scope.materialType == 3">图文</span> <span v-if="scope.scope.materialType == 3">图文</span>
</div> </div>
<span slot="auth-button" slot-scope="scope"> <span slot="auth-button" slot-scope="scope">
<!-- <el-button type="text" @click="handleDetail(scope.scope)">详情</el-button> --> <GLTableButton :buttonList="tableButtonList" :buttonItem="scope.scope" :buttonNum="3"></GLTableButton>
<GLButton type="text" fn="详情" @click="handleDetail(scope.scope)">详情</GLButton>
<!-- <el-button type="text" @click="addMaterial(2, scope.scope)">编辑</el-button> -->
<GLButton :size="size" type="text" fn="编辑" @click="addMaterial(2, scope.scope)">编辑</GLButton>
<el-popover placement="right" trigger="click">
<ul>
<li>
<!-- <el-button :size="size" type="text" @click="handleForbid(scope.scope)">{{ scope.scope.status == 0 ? '禁用' : '启用' }}</el-button> -->
<GLButton :size="size" type="text" fn="禁用" @click="handleForbid(scope.scope)">{{ scope.scope.status == 0 ? '禁用' : '启用' }}</GLButton>
</li>
<li>
<!-- <el-button :size="size" type="text" @click="handleDelete(scope.scope)">删除</el-button> -->
<GLButton :size="size" type="text" fn="删除营销素材" @click="handleDelete(scope.scope)">删除</GLButton>
</li>
</ul>
<el-button type="text" slot="reference" class="btn-more">更多</el-button>
</el-popover>
</span> </span>
</GLTable> </GLTable>
</div> </div>
...@@ -144,7 +129,7 @@ export default { ...@@ -144,7 +129,7 @@ export default {
materialGroupName: '', materialGroupName: '',
materialFormData: [ materialFormData: [
{ {
label: '业务类型:', label: '业务类型',
name: 'businessType', name: 'businessType',
type: 'select', type: 'select',
placeholder: '全部', placeholder: '全部',
...@@ -154,7 +139,7 @@ export default { ...@@ -154,7 +139,7 @@ export default {
optionsName: 'businessName' optionsName: 'businessName'
}, },
{ {
label: '素材类型:', label: '素材类型',
name: 'materialType', name: 'materialType',
type: 'select', type: 'select',
placeholder: '全部', placeholder: '全部',
...@@ -181,7 +166,7 @@ export default { ...@@ -181,7 +166,7 @@ export default {
optionsName: 'optionLabel' optionsName: 'optionLabel'
}, },
{ {
label: '状态:', label: '状态',
name: 'status', name: 'status',
type: 'select', type: 'select',
placeholder: '全部', placeholder: '全部',
...@@ -208,20 +193,61 @@ export default { ...@@ -208,20 +193,61 @@ export default {
optionsName: 'optionLabel' optionsName: 'optionLabel'
}, },
{ {
label: '素材名称:', label: '素材名称',
name: 'materialName', name: 'materialName',
type: 'input', type: 'input',
placeholder: '请输入素材名称' placeholder: '请输入素材名称'
} }
], ],
// materialFormData2: [ // 表格按钮
// { tableButtonList: [
// label: '素材名称:', {
// name: 'materialName', type: 'GLButton',
// type: 'input', name: '详情',
// placeholder: '请输入素材名称' attrs: {
// } type: 'text',
// ], fn: '详情'
},
listeners: {
click: this.handleDetail
}
},
{
type: 'GLButton',
name: '编辑',
attrs: {
type: 'text',
fn: '编辑'
},
listeners: {
click: row => this.addMaterial(2, row)
}
},
{
type: 'GLButton',
name: row => {
return row.status == 0 ? '禁用' : '启用'
},
attrs: {
type: 'text',
fn: '禁用'
},
listeners: {
click: this.handleForbid
}
},
{
type: 'GLButton',
name: '删除',
attrs: {
type: 'text',
fn: '删除营销素材'
},
listeners: {
click: this.handleDelete
}
}
],
tableParams: { tableParams: {
listName: 'data', listName: 'data',
tableOption: true, tableOption: true,
......
...@@ -3,9 +3,6 @@ ...@@ -3,9 +3,6 @@
<div class="memberCardWrap" v-if="!(merchantModel == 2 && accountLevel == 1)"> <div class="memberCardWrap" v-if="!(merchantModel == 2 && accountLevel == 1)">
<div class="cardBoxWrap"> <div class="cardBoxWrap">
<img src="@/assets/memberCard.png" alt="" /> <img src="@/assets/memberCard.png" alt="" />
<!-- <div class="masonry">
<img src="@/assets/masonry.png" alt="" />
</div> -->
<div class="memberCardName">{{ ruleForm.cardName }}</div> <div class="memberCardName">{{ ruleForm.cardName }}</div>
</div> </div>
<div class="cardDetail" v-if="!isShowEditWrap"> <div class="cardDetail" v-if="!isShowEditWrap">
...@@ -19,7 +16,6 @@ ...@@ -19,7 +16,6 @@
<GLButton @click="openEditWrap" fn="编辑" mode="div"><img src="@/assets/editBlue.png" class="editIcon" @click="openEditWrap" alt="" /></GLButton> <GLButton @click="openEditWrap" fn="编辑" mode="div"><img src="@/assets/editBlue.png" class="editIcon" @click="openEditWrap" alt="" /></GLButton>
</div> </div>
<!-- <img src="@/assets/edit.png" class="editIcon" @click="openEditWrap" alt="" /> -->
<div class="row"> <div class="row">
<span>售价:</span> <span>售价:</span>
<span class="price text-e8" v-if="ruleForm.price">¥{{ ruleForm.price }}</span> <span class="price text-e8" v-if="ruleForm.price">¥{{ ruleForm.price }}</span>
...@@ -28,16 +24,11 @@ ...@@ -28,16 +24,11 @@
<span>市场价:</span> <span>市场价:</span>
<span class="price" v-if="ruleForm.marketPrice">¥{{ ruleForm.marketPrice }}</span> <span class="price" v-if="ruleForm.marketPrice">¥{{ ruleForm.marketPrice }}</span>
</div> </div>
<!-- <div class="row">
<span>会员权益使用地址:</span>
<span class="address ellipsis-1" :title="ruleForm.linkUrl">{{ ruleForm.linkUrl }}</span>
</div> -->
<div class="membership"> <div class="membership">
<span>会员卡试用:</span> <span>会员卡试用:</span>
<span class="membershipDays" v-if="ruleForm.tryAble == 1">{{ ruleForm.tryNum }}天试用</span> <span class="membershipDays" v-if="ruleForm.tryAble == 1">{{ ruleForm.tryNum }}天试用</span>
<span class="membershipDays" v-else>已关闭</span> <span class="membershipDays" v-else>已关闭</span>
<span class="lookQR" @click="extensionQR" v-if="ruleForm.tryAble == 1">生成小程序码推广码></span> <span class="lookQR" @click="extensionQR" v-if="ruleForm.tryAble == 1">生成小程序码推广码></span>
<!-- <el-button class="lookQR" size="small" type="primary" @click="extensionQR" v-if="ruleForm.tryAble==1">生成小程序推广码</el-button> -->
</div> </div>
<el-button class="seeEquity" size="small" type="primary" @click="openDialog">查看权益</el-button> <el-button class="seeEquity" size="small" type="primary" @click="openDialog">查看权益</el-button>
</div> </div>
...@@ -49,14 +40,11 @@ ...@@ -49,14 +40,11 @@
<div class="pricesMerge"> <div class="pricesMerge">
<el-form-item label="售价" size="small" prop="price" style="width: 300px"> <el-form-item label="售价" size="small" prop="price" style="width: 300px">
<el-input v-model="ruleForm.price" size="small" placeholder="请输入售价" @keyup.native="ruleForm.price = oninput(ruleForm.price)"> <el-input v-model="ruleForm.price" size="small" placeholder="请输入售价" @keyup.native="ruleForm.price = oninput(ruleForm.price)">
<!-- <template slot="append">元</template> -->
<span slot="suffix" class="suffix-label">元</span> <span slot="suffix" class="suffix-label">元</span>
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item label="市场价" prop="marketPrice" size="small" style="width: 300px"> <el-form-item label="市场价" prop="marketPrice" size="small" style="width: 300px">
<!-- :onkeyup="(ruleForm.marketPrice = ruleForm.marketPrice.replace(/[^\-\d.]/g, ''))" -->
<el-input v-model="ruleForm.marketPrice" size="small" placeholder="请输入市场价" @keyup.native="ruleForm.marketPrice = oninput(ruleForm.marketPrice)"> <el-input v-model="ruleForm.marketPrice" size="small" placeholder="请输入市场价" @keyup.native="ruleForm.marketPrice = oninput(ruleForm.marketPrice)">
<!-- <template slot="append">元</template> -->
<span slot="suffix" class="suffix-label">元</span> <span slot="suffix" class="suffix-label">元</span>
</el-input> </el-input>
</el-form-item> </el-form-item>
...@@ -79,47 +67,13 @@ ...@@ -79,47 +67,13 @@
<el-button size="small" class="cancelBtn" @click="cancelEdit">取消</el-button> <el-button size="small" class="cancelBtn" @click="cancelEdit">取消</el-button>
<el-button size="small" class="saveBtn" type="primary" @click="submitRuleForm('ruleForm')">保存</el-button> <el-button size="small" class="saveBtn" type="primary" @click="submitRuleForm('ruleForm')">保存</el-button>
<el-button size="small" class="lookUpBtn" type="primary" @click="openDialog">查看权益</el-button> <el-button size="small" class="lookUpBtn" type="primary" @click="openDialog">查看权益</el-button>
<!-- <el-button :size="small" type="primary" @click="handleExport">导出</el-button> -->
</div> </div>
</div> </div>
</div> </div>
<!-- <div class="pageTitle" v-if="!(merchantModel == 2 && accountLevel == 1)">会员用户</div> --> <!-- <div class="pageTitle" v-if="!(merchantModel == 2 && accountLevel == 1)">会员用户</div> -->
<div class="pageTitle">会员用户</div> <div class="pageTitle">会员用户</div>
<div class="live-room container p-t-20 "> <div class="live-room container p-t-20 ">
<el-form :inline="true" style="width: 100%" :model="searchForm" label-width="70px" label-position="right"> <GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
<el-row>
<el-form-item size="small" label="会员用户">
<el-input :size="size" v-model="searchForm.userInfo" placeholder="请输入会员用户或手机号" clearable></el-input>
</el-form-item>
<el-form-item size="small" label="门店" style="margin-left: -10px">
<el-input :size="size" v-model="searchForm.merchantName" placeholder="请输入门店" clearable></el-input>
</el-form-item>
<el-form-item size="small" label="状态" style="margin-left: -10px">
<el-select size="small" v-model="searchForm.status" placeholder="请选择">
<el-option v-for="item in memberCenterStatus" :key="item.dictValue" :label="item.dictLabel" :value="item.dictValue"></el-option>
</el-select>
</el-form-item>
</el-row>
<el-row>
<el-form-item size="small" label="会员类型">
<el-select size="small" v-model="searchForm.memberType" placeholder="请选择">
<el-option v-for="item in memberTypeLists" :key="item.dictValue" :label="item.dictLabel" :value="item.dictValue"></el-option>
</el-select>
</el-form-item>
<el-form-item size="small" label="开通日期" style="margin-left: -10px">
<el-date-picker :size="size" v-model="searchForm.daterange" type="daterange" value-format="yyyy-MM-dd" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" :picker-options="pickerOptions || {}"></el-date-picker>
</el-form-item>
<el-form-item size="small" label="开通方式" style="margin-left: -10px">
<el-select size="small" v-model="searchForm.activeType" placeholder="请选择">
<el-option v-for="item in openModeLists" :key="item.activeType" :label="item.activeTypeDesc" :value="item.activeType"></el-option>
</el-select>
</el-form-item>
<el-form-item size="small" class="fr-mr0">
<el-button :size="size" type="primary" @click="handleSearch">查询</el-button>
<el-button :size="size" @click="handleReset">重置</el-button>
</el-form-item>
</el-row>
</el-form>
<div class="flex-between m-b-10 m-t-10"> <div class="flex-between m-b-10 m-t-10">
<div class="text-16 color-3 weight-5">会员列表</div> <div class="text-16 color-3 weight-5">会员列表</div>
<div class="export" @click="handleExport">全部导出</div> <div class="export" @click="handleExport">全部导出</div>
...@@ -205,33 +159,12 @@ export default { ...@@ -205,33 +159,12 @@ export default {
glsxDialog glsxDialog
}, },
data() { data() {
var checkPrice = (rule, value, callback) => {
// if (!value) {
// return callback(new Error('价格不能为空'))
// }
// setTimeout(() => {
// if (!Number.isInteger(value)) {
// callback(new Error('请输入数字值'))
// } else {
// if (value < 0) {
// callback(new Error('不能是负数'))
// } else {
// callback()
// }
// }
// }, 1000)
}
return { return {
promotionForm: { promotionForm: {
QRurl: '', QRurl: '',
QRcode: '' QRcode: ''
}, //推广 }, //推广
isQRVisible: false, isQRVisible: false,
pickerOptions: {
disabledDate(time) {
return time.getTime() > Date.now() || time.getTime() < new Date('2017-12-31').getTime()
}
},
size: 'small', size: 'small',
getListApi: getCenterListApi, getListApi: getCenterListApi,
searchForm: { searchForm: {
...@@ -239,54 +172,59 @@ export default { ...@@ -239,54 +172,59 @@ export default {
status: '', status: '',
merchantName: '', merchantName: '',
memberType: '', memberType: '',
activeType: '' activeType: '',
daterange: ''
}, },
searchFormTable: {}, searchFormTable: {},
memberTypeLists: [ // 搜索
searchFormData: [
{ {
dictValue: '', label: '会员用户',
dictLabel: '全部' name: 'userInfo',
}, type: 'input',
{ placeholder: '请输入会员用户或手机号',
dictValue: 1, maxlength: 100
dictLabel: '正式会员'
}, },
{ {
dictValue: 2, label: '门店',
dictLabel: '试用会员' name: 'merchantName',
} type: 'input',
], maxlength: 100
openModeLists: [
{
dictValue: '',
dictLabel: '全部'
}, },
{ {
dictValue: 6, label: '状态',
dictLabel: '付费开通' name: 'status',
type: 'select',
optionList: [],
optionId: 'dictValue',
optionLabel: 'dictLabel',
optionsName: 'memberCenterStatuList'
}, },
{ {
dictValue: 12, label: '会员类型',
dictLabel: '无忧服务' name: 'memberType',
type: 'select',
optionList: [],
optionId: 'dictValue',
optionLabel: 'dictLabel',
optionsName: 'memberTypeLists'
}, },
{ {
dictValue: 0, label: '开通日期',
dictLabel: '试用领取' name: 'daterange',
} type: 'datePicker',
], isClear: true,
memberCenterStatus: [ pickerOptions: 'beforeRangePickerOptions'
{
dictValue: '',
dictLabel: '全部'
}, },
{ {
dictValue: 1, label: '开通方式',
dictLabel: '生效中' name: 'activeType',
type: 'select',
optionList: [],
optionId: 'dictValue',
optionLabel: 'dictLabel',
optionsName: 'openModeList'
}, },
{
dictValue: 2,
dictLabel: '已失效'
}
], ],
pageConf: { pageSize: 'pageSize', pageNum: 'pageNum', totalCount: 'total' }, pageConf: { pageSize: 'pageSize', pageNum: 'pageNum', totalCount: 'total' },
// 表格参数 // 表格参数
...@@ -312,14 +250,14 @@ export default { ...@@ -312,14 +250,14 @@ export default {
label: '会员类型', label: '会员类型',
prop: 'memberType', prop: 'memberType',
formatter: cellValue => { formatter: cellValue => {
return this.baseDataList.memberTypeList.find(item => item.confId == cellValue.memberType).confName return cellValue.memberType ? this.baseData.memberTypeList.find(item => item.confId == cellValue.memberType).confName : '-'
} }
}, },
{ {
label: '状态', label: '状态',
prop: 'status', prop: 'status',
formatter: cellValue => { formatter: cellValue => {
return this.baseDataList.statusList.find(item => item.confId == cellValue.memberStatus).confName return cellValue.memberStatus ? this.baseData.statusList.find(item => item.confId == cellValue.memberStatus).confName : '-'
} }
} }
] ]
...@@ -342,9 +280,43 @@ export default { ...@@ -342,9 +280,43 @@ export default {
} }
] ]
}, },
baseDataList: { baseData: {
statusList: statusList, statusList: statusList,
memberTypeList: memberTypeList memberTypeList: memberTypeList,
memberCenterStatuList: [
{
dictValue: 1,
dictLabel: '生效中'
},
{
dictValue: 2,
dictLabel: '已失效'
}
],
memberTypeLists: [
{
dictValue: 1,
dictLabel: '正式会员'
},
{
dictValue: 2,
dictLabel: '试用会员'
}
],
openModeList: [
{
dictValue: 6,
dictLabel: '付费开通'
},
{
dictValue: 12,
dictLabel: '无忧服务'
},
{
dictValue: 0,
dictLabel: '试用领取'
}
]
}, },
isShowEditWrap: false, isShowEditWrap: false,
...@@ -360,14 +332,8 @@ export default { ...@@ -360,14 +332,8 @@ export default {
}, },
copyRuleForm: {}, copyRuleForm: {},
rules: { rules: {
cardName: [ cardName: [{ required: true, min: 1, max: 15, message: '请输入会员卡名称', trigger: 'blur' }],
{ required: true, min: 1, max: 15, message: '请输入会员卡名称', trigger: 'blur' } price: [{ required: true, message: '请输入售价', trigger: 'blur' }],
// { min: 1, max: 15, message: '请输入1 到 15 个字符' }
],
price: [
{ required: true, message: '请输入售价', trigger: 'blur' }
// { validator: checkPrice, trigger: 'blur' }
],
marketPrice: [{ required: true, message: '请输入市场价', trigger: 'blur' }] marketPrice: [{ required: true, message: '请输入市场价', trigger: 'blur' }]
}, },
//权益 - 弹窗 //权益 - 弹窗
...@@ -388,13 +354,41 @@ export default { ...@@ -388,13 +354,41 @@ export default {
this.getCardContentFun() this.getCardContentFun()
this.getCardtypeList() this.getCardtypeList()
}, },
mounted() {}, mounted() {
this.getOptionsList('searchFormData')
},
methods: { methods: {
getOptionsList(formName, hasAll = true, refreshSigle) {
if (refreshSigle) {
var item = this[formName].find(k => k.name == refreshSigle)
var index = this[formName].findIndex(k => k.name == refreshSigle)
this.$set(this[formName][index], 'optionList', this.$common.utils.deepClone(this.baseData[item.optionsName]))
if (hasAll && this.baseData[item.optionsName].length && this.baseData[item.optionsName][0][this[formName][index].optionLabel] !== '全部') {
const temp = {}
temp[this[formName][index].optionId] = ''
temp[this[formName][index].optionLabel] = '全部'
this[formName][index].optionList.unshift(temp)
}
} else {
this[formName].forEach((item, index) => {
if (item.type === 'select' && this.baseData[item.optionsName].length) {
this.$set(this[formName][index], 'optionList', this.$common.utils.deepClone(this.baseData[item.optionsName]))
if (hasAll && this.baseData[item.optionsName].length && this.baseData[item.optionsName][0][this[formName][index].optionLabel] !== '全部') {
const temp = {}
temp[this[formName][index].optionId] = ''
temp[this[formName][index].optionLabel] = '全部'
this[formName][index].optionList.unshift(temp)
}
}
})
}
},
//门店会员开通方式 //门店会员开通方式
getCardtypeList() { getCardtypeList() {
getCardtypeList({}).then(res => { getCardtypeList({}).then(res => {
if (res.code == 0) { if (res.code == 0) {
this.openModeLists = res.data this.openModeList = res.data
} }
}) })
}, },
...@@ -405,8 +399,6 @@ export default { ...@@ -405,8 +399,6 @@ export default {
}, },
// 查看小程序推广码 // 查看小程序推广码
extensionQR() { extensionQR() {
// console.log(this.ruleForm.equityId)
const params = { const params = {
id: this.ruleForm.equityId id: this.ruleForm.equityId
} }
...@@ -504,26 +496,13 @@ export default { ...@@ -504,26 +496,13 @@ export default {
getParams() { getParams() {
var params = JSON.parse(JSON.stringify(this.searchForm)) var params = JSON.parse(JSON.stringify(this.searchForm))
if (params.daterange) { if (params.daterange) {
params.startTime = this.searchForm.daterange[0] + ' 00:00:00' params.startTime = new Date(this.searchForm.daterange[0]).toLocaleDateString().replace(/\//g, '-') + ' 00:00:00'
params.endTime = this.searchForm.daterange[1] + ' 23:59:59' params.endTime = new Date(this.searchForm.daterange[1]).toLocaleDateString().replace(/\//g, '-') + ' 23:59:59'
} else {
if (params.beginTime) delete params.beginTime && delete params.endTime
} }
delete params.daterange delete params.daterange
return params return params
}, },
beforeSearchFn() { beforeSearchFn() {
// return new Promise((resolve, reject) => {
// this.searchFormTable = JSON.parse(JSON.stringify(this.searchForm))
// if (this.searchFormTable.daterange) {
// this.searchFormTable.startTime = this.searchForm.daterange[0] + ' 00:00:00'
// this.searchFormTable.endTime = this.searchForm.daterange[1] + ' 23:59:59'
// } else {
// if (this.searchFormTable.beginTime) delete this.searchFormTable.beginTime && delete this.searchFormTable.endTime
// }
// delete this.searchFormTable.daterange
// resolve()
// })
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
this.searchFormTable = this.getParams() this.searchFormTable = this.getParams()
resolve() resolve()
...@@ -536,7 +515,14 @@ export default { ...@@ -536,7 +515,14 @@ export default {
}) })
}, },
handleReset() { handleReset() {
this.searchForm = {} this.searchForm = {
userInfo: '',
status: '',
merchantName: '',
memberType: '',
activeType: '',
daterange: ''
}
this.handleSearch() this.handleSearch()
}, },
handleSearch() { handleSearch() {
...@@ -544,9 +530,6 @@ export default { ...@@ -544,9 +530,6 @@ export default {
}, },
setTableFinishFun() { setTableFinishFun() {
//接收到的数据为空 //接收到的数据为空
// if (!this.$refs.memberCenterRef.data.length) {
// this.$refs.memberCenterRef.setTableHeightFun()
// }
this.$refs.memberCenterRef.data.length ? (this.$refs.memberCenterRef.tableHeightValues = '') : this.$refs.memberCenterRef.setTableHeightFun() this.$refs.memberCenterRef.data.length ? (this.$refs.memberCenterRef.tableHeightValues = '') : this.$refs.memberCenterRef.setTableHeightFun()
}, },
handleQRClose() { handleQRClose() {
...@@ -577,10 +560,6 @@ export default { ...@@ -577,10 +560,6 @@ export default {
width: 53px; width: 53px;
margin: 0 3px; margin: 0 3px;
} }
.proForm {
// display: flex;
// justify-content: center;
}
.lineCtn { .lineCtn {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
...@@ -762,9 +741,9 @@ export default { ...@@ -762,9 +741,9 @@ export default {
.el-range-editor--small.el-input__inner { .el-range-editor--small.el-input__inner {
width: 215px; width: 215px;
} }
/deep/ .container .el-input--small .el-input__inner { // /deep/ .container .el-input--small .el-input__inner {
width: 215px; // width: 215px;
} // }
/deep/ .el-dialog__header .el-dialog__title { /deep/ .el-dialog__header .el-dialog__title {
// font-size: 16px; // font-size: 16px;
// color: #000; // color: #000;
......
<template> <template>
<div class="live-room marketing"> <div class="live-room marketing">
<div class="live-room container"> <div class="live-room container">
<div class="flex"> <GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
<!-- <div class="flex">
<el-form :inline="true" style="width: 100%" :model="searchForm" label-width="70px" label-position="right"> <el-form :inline="true" style="width: 100%" :model="searchForm" label-width="70px" label-position="right">
<el-row> <el-row>
<el-form-item size="small" label="订单编号"> <el-form-item size="small" label="订单编号">
...@@ -43,27 +44,26 @@ ...@@ -43,27 +44,26 @@
</el-form-item> </el-form-item>
</el-row> </el-row>
</el-form> </el-form>
</div> </div> -->
<div class="choseRow m-b-10"> <div class="choseRow m-b-10">
<div class="choseItem" :class="{ active: currentIndex == index + 1 }" v-for="(item, index) in choseList" :key="index" @click="tabClick(index + 1)"> <div class="choseItem" :class="{ active: currentIndex == index + 1 }" v-for="(item, index) in choseList" :key="index" @click="tabClick(index + 1)">
{{ item }} {{ item }}
</div> </div>
</div> </div>
<GLTable ref="memberOrderRef" v-if="isReload" :noDataImg="url" @setTableFinishFun="setTableFinishFun" :searchForm="searchFormTable" :tableParams="tableParams" :getListApi="getListApi" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn"> <GLTable ref="memberOrderRef" v-if="isReload" :noDataImg="url" @setTableFinishFun="setTableFinishFun" :searchForm="searchFormTable" :tableParams="tableParams" :getListApi="getListApi" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn">
<template slot="orderType" slot-scope="scope"> <div slot="orderType" slot-scope="scope" style="width: 200px">
<template v-if="scope.scope.orderType == 1"> <template v-if="scope.scope.orderType == 1">
<span>{{ scope.scope.packageType == 1 ? '门店套餐' : '集团套餐' }}</span> <span>{{ scope.scope.packageType == 1 ? '门店套餐' : '集团套餐' }}</span>
</template> </template>
<template v-else> <template v-else>
<span>会员卡</span> <span>会员卡</span>
</template> </template>
</template> </div>
<span class="table-btns" slot="auth-button" slot-scope="scope" :data="scope.scope"> <span class="table-btns" slot="auth-button" slot-scope="scope" :data="scope.scope">
<!-- <el-button type="text" @click="handleDetail(scope.scope)" v-if="scope.scope.orderType == 1">详情</el-button> <!-- <GLButton @click="handleDetail(scope.scope)" fn="订单详情" type="text" v-if="scope.scope.orderType == 1">详情</GLButton>
<el-button type="text" style="color:#eee" v-else>详情</el-button> -->
<GLButton @click="handleDetail(scope.scope)" fn="订单详情" type="text" v-if="scope.scope.orderType == 1">详情</GLButton>
<GLButton style="color: #eee" fn="订单详情" type="text" v-else>详情</GLButton> <GLButton style="color: #eee" fn="订单详情" type="text" v-else>详情</GLButton>
<GLButton fn="退款" v-if="scope.scope.refundFlag == 1" type="text" @click="handleRefund(scope.scope)">退款</GLButton> <GLButton fn="退款" v-if="scope.scope.refundFlag == 1" type="text" @click="handleRefund(scope.scope)">退款</GLButton> -->
<GLTableButton :buttonList="tableButtonList" :buttonItem="scope.scope" :buttonNum="3"></GLTableButton>
</span> </span>
</GLTable> </GLTable>
</div> </div>
...@@ -90,11 +90,6 @@ export default { ...@@ -90,11 +90,6 @@ export default {
accountLevel: 0, //1,2,3,4工厂,省代,市代,门店 accountLevel: 0, //1,2,3,4工厂,省代,市代,门店
url: url, url: url,
isReload: true, isReload: true,
pickerOptions: {
disabledDate(time) {
return time.getTime() > Date.now() || time.getTime() < new Date('2017-12-31').getTime()
}
},
size: 'small', size: 'small',
searchForm: { searchForm: {
orderStatus: '', //默认查询全部 orderStatus: '', //默认查询全部
...@@ -102,21 +97,82 @@ export default { ...@@ -102,21 +97,82 @@ export default {
// daterange:'' // daterange:''
orderType: '' orderType: ''
}, },
// 搜索
searchFormData: [
{
label: '订单编号',
name: 'orderCode',
type: 'input',
maxlength: 100
},
{
label: '名称',
name: 'packageName',
type: 'input',
maxlength: 100
},
{
label: '类型',
name: 'orderType',
type: 'select',
optionList: [],
optionId: 'dictValue',
optionLabel: 'dictLabel',
optionsName: 'orderTypeList'
},
{
label: '用户信息',
name: 'userInfo',
type: 'input',
placeholder: '请输入用户名或手机号',
maxlength: 100
},
{
label: '下单时间',
name: 'daterange',
type: 'datePicker',
isClear: true,
pickerOptions: 'beforeRangePickerOptions'
},
{
label: '开通门店',
name: 'merchantName',
type: 'input',
maxlength: 100
}
],
choseList: ['全部', '待收货', '已完成', '退款|售后'], choseList: ['全部', '待收货', '已完成', '退款|售后'],
currentIndex: 1, currentIndex: 1,
searchFormTable: {}, searchFormTable: {},
orderTypeList: [ // 表格按钮
tableButtonList: [
{ {
dictValue: '', type: 'GLButton',
dictLabel: '全部' name: '详情',
attrs: {
type: 'text',
fn: '订单详情',
disabled: row => {
return row.orderType != 1
}
}, },
{ listeners: {
dictValue: 1, click: this.handleDetail
dictLabel: '套餐' }
}, },
{ {
dictValue: 2, type: 'GLButton',
dictLabel: '会员卡' name: '退款',
attrs: {
type: 'text',
fn: '退款'
},
condition: row => {
return row.refundFlag == 1
},
listeners: {
click: this.handleRefund
}
} }
], ],
// 表格组件 // 表格组件
...@@ -137,7 +193,7 @@ export default { ...@@ -137,7 +193,7 @@ export default {
prop: 'orderType', prop: 'orderType',
addHtml: 'orderType' addHtml: 'orderType'
// formatter: cellValue => { // formatter: cellValue => {
// return this.baseDataList.orderTypesList.find(item => item.confId == cellValue.orderType).confName // return this.baseData.orderTypesList.find(item => item.confId == cellValue.orderType).confName
// } // }
}, },
{ {
...@@ -154,18 +210,18 @@ export default { ...@@ -154,18 +210,18 @@ export default {
prop: 'orderStatus', prop: 'orderStatus',
width: '80', width: '80',
formatter: cellValue => { formatter: cellValue => {
return this.baseDataList.orderStatusList.find(item => item.confId == cellValue.orderStatus).confName return this.baseData.orderStatusList.find(item => item.confId == cellValue.orderStatus).confName
} }
}, },
{ {
label: '下单时间', label: '下单时间',
prop: 'createDate', prop: 'createDate',
width: 160 width: 200
}, },
{ {
label: '开通门店', label: '开通门店',
prop: 'merchantName', prop: 'merchantName',
width: '180' width: 220
}, },
{ {
label: '推荐人', label: '推荐人',
...@@ -178,6 +234,7 @@ export default { ...@@ -178,6 +234,7 @@ export default {
{ {
label: '用户信息', label: '用户信息',
prop: 'accountName', prop: 'accountName',
width: 220,
formatter: cellValue => { formatter: cellValue => {
return cellValue.accountName + ' ' + cellValue.mobile return cellValue.accountName + ' ' + cellValue.mobile
} }
...@@ -185,13 +242,23 @@ export default { ...@@ -185,13 +242,23 @@ export default {
{ {
label: '订单号', label: '订单号',
prop: 'orderCode', prop: 'orderCode',
width: 190 width: 200
} }
] ]
}, },
baseDataList: { baseData: {
orderTypesList: orderTypesList, orderTypesList: orderTypesList,
orderStatusList: orderStatusList orderStatusList: orderStatusList,
orderTypeList: [
{
dictValue: 1,
dictLabel: '套餐'
},
{
dictValue: 2,
dictLabel: '会员卡'
}
],
} }
} }
}, },
...@@ -205,8 +272,36 @@ export default { ...@@ -205,8 +272,36 @@ export default {
this.tableParams.tableColumns.splice(idx, 1) this.tableParams.tableColumns.splice(idx, 1)
} }
}, },
mounted() { }, mounted() {
this.getOptionsList('searchFormData')
},
methods: { methods: {
getOptionsList(formName, hasAll = true, refreshSigle) {
if (refreshSigle) {
var item = this[formName].find(k => k.name == refreshSigle)
var index = this[formName].findIndex(k => k.name == refreshSigle)
this.$set(this[formName][index], 'optionList', this.$common.utils.deepClone(this.baseData[item.optionsName]))
if (hasAll && this.baseData[item.optionsName].length && this.baseData[item.optionsName][0][this[formName][index].optionLabel] !== '全部') {
const temp = {}
temp[this[formName][index].optionId] = ''
temp[this[formName][index].optionLabel] = '全部'
this[formName][index].optionList.unshift(temp)
}
} else {
this[formName].forEach((item, index) => {
if (item.type === 'select' && this.baseData[item.optionsName].length) {
this.$set(this[formName][index], 'optionList', this.$common.utils.deepClone(this.baseData[item.optionsName]))
if (hasAll && this.baseData[item.optionsName].length && this.baseData[item.optionsName][0][this[formName][index].optionLabel] !== '全部') {
const temp = {}
temp[this[formName][index].optionId] = ''
temp[this[formName][index].optionLabel] = '全部'
this[formName][index].optionList.unshift(temp)
}
}
})
}
},
tabClick(index) { tabClick(index) {
this.currentIndex = index this.currentIndex = index
switch (index) { switch (index) {
...@@ -241,10 +336,8 @@ export default { ...@@ -241,10 +336,8 @@ export default {
getParams() { getParams() {
var params = JSON.parse(JSON.stringify(this.searchForm)) var params = JSON.parse(JSON.stringify(this.searchForm))
if (params.daterange) { if (params.daterange) {
params.startTime = this.searchForm.daterange[0] + ' 00:00:00' params.startTime = new Date(this.searchForm.daterange[0]).toLocaleDateString().replace(/\//g, '-') + ' 00:00:00'
params.endTime = this.searchForm.daterange[1] + ' 23:59:59' params.endTime = new Date(this.searchForm.daterange[1]).toLocaleDateString().replace(/\//g, '-') + ' 23:59:59'
} else {
if (params.beginTime) delete params.beginTime && delete params.endTime
} }
delete params.daterange delete params.daterange
return params return params
...@@ -311,9 +404,10 @@ export default { ...@@ -311,9 +404,10 @@ export default {
handleReset() { handleReset() {
this.isReload = false this.isReload = false
this.currentIndex = 1 this.currentIndex = 1
this.searchForm = {} this.searchForm = {
this.searchForm.orderStatus = '' //默认查询全部 orderStatus: '',
this.searchForm.orderType = '' orderType: ''
}
// this.handleSearch() // this.handleSearch()
this.$nextTick(() => { this.$nextTick(() => {
this.isReload = true this.isReload = true
...@@ -324,9 +418,9 @@ export default { ...@@ -324,9 +418,9 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
/deep/.el-input--small .el-input__inner { // /deep/.el-input--small .el-input__inner {
width: 215px; // width: 215px;
} // }
.el-range-editor.is-active, .el-range-editor.is-active,
.el-range-editor.is-active:hover { .el-range-editor.is-active:hover {
border-color: #5850ff; border-color: #5850ff;
......
...@@ -113,6 +113,11 @@ export default { ...@@ -113,6 +113,11 @@ export default {
} }
return false return false
} }
},
{
label: '推荐人:',
prop: 'shareStaffName',
span: 8
} }
], ],
basicParams: [ basicParams: [
......
<template> <template>
<div class="marketing"> <div class="marketing">
<div class="btnWrap"> <div class="btnWrap">
<!-- <el-button :size="size" type="primary" @click="handleCreate" icon="el-icon-plus">创建套餐</el-button> -->
<GLButton type="primary" @click="handleCreate" size="small" icon="el-icon-plus" fn="创建套餐" mode="el-button">创建套餐</GLButton> <GLButton type="primary" @click="handleCreate" size="small" icon="el-icon-plus" fn="创建套餐" mode="el-button">创建套餐</GLButton>
<!-- <el-button :size="size" @click="showViewer = true">查看示例效果</el-button> --> <!-- <el-button :size="size" @click="showViewer = true">查看示例效果</el-button> -->
<el-image-viewer <el-image-viewer v-if="showViewer" :on-close="
v-if="showViewer"
:on-close="
() => { () => {
showViewer = false showViewer = false
} }
" " :url-list="srcList" style="padding:4%;" />
:url-list="srcList"
style="padding:4%;"
/>
</div> </div>
<tip-panel class="list-panel" panelMinHeight="40px" :panelContent="panelContent" v-if="isFirstShow" @closePanel="closePanel"></tip-panel> <tip-panel class="list-panel" panelMinHeight="40px" :panelContent="panelContent" v-if="isFirstShow" @closePanel="closePanel"></tip-panel>
<template v-if="accountLevel == 4 && merchantModel == 1"> <template v-if="accountLevel == 4 && merchantModel == 1">
...@@ -36,30 +30,23 @@ ...@@ -36,30 +30,23 @@
<span class="table-btns" slot="optionsFun" slot-scope="scope" :data="scope.scope"> <span class="table-btns" slot="optionsFun" slot-scope="scope" :data="scope.scope">
<template v-if="!(accountLevel == 4 && activetab == 1)"> <template v-if="!(accountLevel == 4 && activetab == 1)">
<template v-if="scope.scope.state === 0"> <!-- <template v-if="scope.scope.state === 0">
<!-- <el-button type="text" @click="handleEdit(scope.scope)">编辑</el-button>
<el-button type="text" @click="handleDelete(scope.scope)">删除</el-button> -->
<GLButton type="text" @click="handleEdit(scope.scope)" fn="编辑套餐">编辑</GLButton> <GLButton type="text" @click="handleEdit(scope.scope)" fn="编辑套餐">编辑</GLButton>
<GLButton type="text" @click="handleUpOption(scope.scope)" fn="上架">上架</GLButton> <GLButton type="text" @click="handleUpOption(scope.scope)" fn="上架">上架</GLButton>
<GLButton type="text" @click="handleDelete(scope.scope)" fn="删除">删除</GLButton> <GLButton type="text" @click="handleDelete(scope.scope)" fn="删除">删除</GLButton>
</template> </template>
<template v-else-if="scope.scope.state === 1"> <template v-else-if="scope.scope.state === 1">
<!-- <el-button type="text" @click="handleDownOption(scope.scope)">下架</el-button>
<el-button type="text" @click="handleEdit(scope.scope)">编辑</el-button> -->
<GLButton type="text" @click="handleDownOption(scope.scope)" fn="下架">下架</GLButton> <GLButton type="text" @click="handleDownOption(scope.scope)" fn="下架">下架</GLButton>
<GLButton type="text" @click="handleEdit(scope.scope)" fn="编辑套餐">编辑</GLButton> <GLButton type="text" @click="handleEdit(scope.scope)" fn="编辑套餐">编辑</GLButton>
</template> </template>
<template v-else> <template v-else>
<!-- <el-button type="text" @click="handleEdit(scope.scope)">编辑</el-button>
<el-button type="text" @click="handleUpOption(scope.scope)">上架</el-button>
<el-button type="text" @click="handleDelete(scope.scope)">删除</el-button> -->
<GLButton type="text" @click="handleEdit(scope.scope)" fn="编辑套餐">编辑</GLButton> <GLButton type="text" @click="handleEdit(scope.scope)" fn="编辑套餐">编辑</GLButton>
<GLButton type="text" @click="handleUpOption(scope.scope)" fn="上架">上架</GLButton> <GLButton type="text" @click="handleUpOption(scope.scope)" fn="上架">上架</GLButton>
<GLButton type="text" @click="handleDelete(scope.scope)" fn="删除">删除</GLButton> <GLButton type="text" @click="handleDelete(scope.scope)" fn="删除">删除</GLButton>
</template> </template>
<GLButton type="text" @click="handleUpdateToTop(scope.scope)" v-if="scope.scope.topFlag == 2 && accountLevel != 4" fn="置顶推荐">置顶推荐</GLButton> <GLButton type="text" @click="handleUpdateToTop(scope.scope)" v-if="scope.scope.topFlag == 2 && accountLevel != 4" fn="置顶推荐">置顶推荐</GLButton>
<el-button type="text" v-if="scope.scope.topFlag == 1 && accountLevel != 4">已置顶推荐</el-button> <el-button type="text" v-if="scope.scope.topFlag == 1 && accountLevel != 4">已置顶推荐</el-button> -->
<GLTableButton :buttonList="tableButtonList" :buttonItem="scope.scope" :buttonNum="3"></GLTableButton>
</template> </template>
</span> </span>
</GLTable> </GLTable>
...@@ -125,6 +112,86 @@ export default { ...@@ -125,6 +112,86 @@ export default {
} }
], ],
activetab: 0, activetab: 0,
// 表格按钮
tableButtonList: [
{
type: 'GLButton',
name: '编辑',
attrs: {
type: 'text',
fn: '编辑套餐'
},
listeners: {
click: this.handleEdit
}
},
{
type: 'GLButton',
name: '上架',
attrs: {
type: 'text',
fn: '上架'
},
condition: row => {
return row.state != 1
},
listeners: {
click: this.handleUpOption
}
},
{
type: 'GLButton',
name: '下架',
attrs: {
type: 'text',
fn: '下架'
},
condition: row => {
return row.state == 1
},
listeners: {
click: this.handleDownOption
}
},
{
type: 'GLButton',
name: '删除',
attrs: {
type: 'text',
fn: '删除'
},
condition: row => {
return row.state != 1
},
listeners: {
click: this.handleDelete
}
},
{
type: 'GLButton',
name: '置顶推荐',
attrs: {
type: 'text',
fn: '置顶推荐'
},
condition: row => {
return row.topFlag == 2 && this.accountLevel != 4
},
listeners: {
click: this.handleUpdateToTop
}
},
{
type: 'el-button',
name: '已置顶推荐',
attrs: {
type: 'text'
},
condition: row => {
return row.topFlag == 1 && this.accountLevel != 4
}
}
],
pageConf: { pageSize: 'pageSize', pageNum: 'pageNum', totalCount: 'total' }, pageConf: { pageSize: 'pageSize', pageNum: 'pageNum', totalCount: 'total' },
// 表格参数 // 表格参数
tableParams: { tableParams: {
...@@ -146,7 +213,8 @@ export default { ...@@ -146,7 +213,8 @@ export default {
}, },
{ {
label: '套餐售价/元', label: '套餐售价/元',
prop: 'packagePrice' prop: 'packagePrice',
width: 180
}, },
{ {
label: '说明', label: '说明',
...@@ -212,7 +280,7 @@ export default { ...@@ -212,7 +280,7 @@ export default {
this.dynamicFile() this.dynamicFile()
this.getLoginCountFun() this.getLoginCountFun()
}, },
mounted() {}, mounted() { },
methods: { methods: {
dynamicFile() { dynamicFile() {
let { activetab, accountLevel } = this let { activetab, accountLevel } = this
...@@ -333,7 +401,7 @@ export default { ...@@ -333,7 +401,7 @@ export default {
}) })
}, },
// 查看示例效果 // 查看示例效果
handleLook(row) {}, handleLook(row) { },
handleDelete(row) { handleDelete(row) {
this.$messageBox.confirm('是否删除该套餐?', '删除', { this.$messageBox.confirm('是否删除该套餐?', '删除', {
confirmButtonText: '确定', confirmButtonText: '确定',
......
...@@ -5,14 +5,7 @@ ...@@ -5,14 +5,7 @@
<!-- <GLButton :size="size" type="primary" fn="新增新车" class="el-icon-plus" @click="handleEdit(1)">新增新车</GLButton> --> <!-- <GLButton :size="size" type="primary" fn="新增新车" class="el-icon-plus" @click="handleEdit(1)">新增新车</GLButton> -->
</div> </div>
<div class="container"> <div class="container">
<div> <GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
<glsx-combi-form ref="showSearch" :formObj="searchForm" :formData="searchFormData">
<span slot="footer" class="footer-btns">
<el-button :size="size" type="primary" @click="handleSearch">查询</el-button>
<el-button :size="size" type="default" @click="handleReset">重置</el-button>
</span>
</glsx-combi-form>
</div>
<!-- 表格区域 开始 --> <!-- 表格区域 开始 -->
<GLTable ref="newCarRef" :getListApi="getListApi" :noDataImg="url" :searchForm="searchForm" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn" @setTableFinishFun="setTableFinishFun"> <GLTable ref="newCarRef" :getListApi="getListApi" :noDataImg="url" :searchForm="searchForm" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn" @setTableFinishFun="setTableFinishFun">
......
...@@ -2,23 +2,12 @@ ...@@ -2,23 +2,12 @@
<template> <template>
<div class="marketing p-t-20"> <div class="marketing p-t-20">
<div class="container"> <div class="container">
<div> <GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
<glsx-combi-form ref="showSearch" :formObj="searchForm" :formData="searchFormData">
<span slot="footer" class="footer-btns">
<el-button :size="size" type="default" @click="handleReset">重置</el-button>
<el-button :size="size" type="primary" @click="handleSearch">查询</el-button>
</span>
</glsx-combi-form>
</div>
<!-- 表格区域 开始 --> <!-- 表格区域 开始 -->
<GLTable ref="commentRef" :getListApi="getListApi" :noDataImg="url" :searchForm="tableSearchForm" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn" @setTableFinishFun="setTableFinishFun"> <GLTable ref="commentRef" :getListApi="getListApi" :noDataImg="url" :searchForm="tableSearchForm" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn" @setTableFinishFun="setTableFinishFun">
<div class="table-btns" slot="auth-button" slot-scope="scope"> <div class="table-btns" slot="auth-button" slot-scope="scope">
<el-button v-if="scope.scope.commentStatus == '0'" type="text" @click="handleRevoke(scope.scope)">发布</el-button> <GLTableButton :buttonList="tableButtonList" :buttonItem="scope.scope" :buttonNum="3"></GLTableButton>
<el-button v-if="scope.scope.commentStatus == '1'" type="text" @click="handleRevoke(scope.scope)">撤回</el-button>
<!-- <el-button type="text" @click="handleDetail(scope.scope)">查看</el-button> -->
<GLButton type="text" fn="评价详情" @click="handleDetail(scope.scope)">查看</GLButton>
<!-- <el-button type="text" @click="handleDelete(scope.scope)">删除</el-button> -->
</div> </div>
</GLTable> </GLTable>
<!-- 表格区域 end --> <!-- 表格区域 end -->
...@@ -67,6 +56,32 @@ export default { ...@@ -67,6 +56,32 @@ export default {
isClear: true isClear: true
} }
], ],
// 表格按钮
tableButtonList: [
{
type: 'el-button',
name: row => {
return row.commentStatus == '0' ? '发布' : '撤回'
},
attrs: {
type: 'text'
},
listeners: {
click: this.handleRevoke
}
},
{
type: 'GLButton',
name: '查看',
attrs: {
type: 'text',
fn: '评价详情'
},
listeners: {
click: this.handleDetail
}
}
],
// 表格 // 表格
getListApi: this.$apis.orderComment.getListApi, getListApi: this.$apis.orderComment.getListApi,
tableParams: { tableParams: {
......
...@@ -2,17 +2,7 @@ ...@@ -2,17 +2,7 @@
<template> <template>
<div class="marketing p-t-20 order-manage"> <div class="marketing p-t-20 order-manage">
<div class="container"> <div class="container">
<div> <GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
<glsx-combi-form ref="showSearch" :formObj="searchForm" :formData="searchFormData1"></glsx-combi-form>
<glsx-combi-form ref="showSearch" :formObj="searchForm" :formData="searchFormData2"></glsx-combi-form>
<glsx-combi-form ref="showSearch" :formObj="searchForm" :formData="searchFormData3"></glsx-combi-form>
<glsx-combi-form ref="showSearch" :formObj="searchForm" :formData="searchFormData4">
<span slot="footer" class="footer-btns">
<el-button :size="size" type="default" @click="handleReset">重置</el-button>
<el-button :size="size" type="primary" @click="handleSearch">查询</el-button>
</span>
</glsx-combi-form>
</div>
<div class="flex"> <div class="flex">
<div class="flex-default"> <div class="flex-default">
...@@ -48,12 +38,7 @@ ...@@ -48,12 +38,7 @@
<span>{{ baseData.orderStatusList.map(item => item.confId).includes(scope.scope.orderStatus + '') ? baseData.orderStatusList.find(item => item.confId == scope.scope.orderStatus).confName : '-' }}</span> <span>{{ baseData.orderStatusList.map(item => item.confId).includes(scope.scope.orderStatus + '') ? baseData.orderStatusList.find(item => item.confId == scope.scope.orderStatus).confName : '-' }}</span>
</div> </div>
<div class="table-btns" slot="auth-button" slot-scope="scope"> <div class="table-btns" slot="auth-button" slot-scope="scope">
<!-- <el-button type="text" @click="handleDetail(scope.scope)">查看订单</el-button> --> <GLTableButton :buttonList="tableButtonList" :buttonItem="scope.scope" :buttonNum="3"></GLTableButton>
<GLButton type="text" fn="查看订单" @click="handleDetail(scope.scope)">查看订单</GLButton>
<el-button v-if="scope.scope.deliveryType == 1 && scope.scope.orderStatus == 21" type="text" @click="handleWriteOff(scope.scope)">订单核销</el-button>
<el-button v-if="scope.scope.deliveryType == 2 && scope.scope.orderStatus == 6" type="text" @click="handleExpressInfo(scope.scope)">输入快递信息</el-button>
<el-button v-if="scope.scope.afterSaleStatus == 1" type="text" @click="handleExamine(scope.scope)">退款审核</el-button>
<el-button v-if="scope.scope.afterSaleStatus == 4" type="text" @click="handleReceiving(scope.scope)">确认收货</el-button>
</div> </div>
</GLTable> </GLTable>
<!-- 表格区域 - 全部订单/售后订单 - end --> <!-- 表格区域 - 全部订单/售后订单 - end -->
...@@ -159,7 +144,7 @@ export default { ...@@ -159,7 +144,7 @@ export default {
refundTotal: '' refundTotal: ''
}, },
// 搜索 // 搜索
searchFormData1: [ searchFormData: [
{ {
label: '订单编号', label: '订单编号',
name: 'orderCode', name: 'orderCode',
...@@ -177,6 +162,7 @@ export default { ...@@ -177,6 +162,7 @@ export default {
changeAttr: (value, targetItem) => { changeAttr: (value, targetItem) => {
var isAdd = value.length > this.oldVal.orderStatuses.length var isAdd = value.length > this.oldVal.orderStatuses.length
var targetVal = value[value.length - 1] var targetVal = value[value.length - 1]
var formIdx = this.searchFormData.findIndex(item => item.label == '订单状态')
if (!isAdd) { if (!isAdd) {
for (var i = 0; i < this.oldVal.orderStatuses.length; i++) { for (var i = 0; i < this.oldVal.orderStatuses.length; i++) {
if (!value.includes(this.oldVal.orderStatuses[i])) { if (!value.includes(this.oldVal.orderStatuses[i])) {
...@@ -185,12 +171,12 @@ export default { ...@@ -185,12 +171,12 @@ export default {
} }
} }
} }
!targetVal && (this.searchForm.orderStatuses = isAdd ? this.searchFormData1[1].optionList.map(item => item.confId) : []) !targetVal && (this.searchForm.orderStatuses = isAdd ? this.searchFormData[formIdx].optionList.map(item => item.confId) : [])
if (targetVal) { if (targetVal) {
var idx = value.findIndex(item => item == '') var idx = value.findIndex(item => item == '')
if (idx != -1 && this.searchForm.orderStatuses.length < this.searchFormData1[1].optionList.length) { if (idx != -1 && this.searchForm.orderStatuses.length < this.searchFormData[formIdx].optionList.length) {
this.searchForm.orderStatuses.splice(idx, 1) this.searchForm.orderStatuses.splice(idx, 1)
} else if (idx == -1 && this.searchForm.orderStatuses.length == this.searchFormData1[1].optionList.length - 1) { } else if (idx == -1 && this.searchForm.orderStatuses.length == this.searchFormData[formIdx].optionList.length - 1) {
this.searchForm.orderStatuses.push('') this.searchForm.orderStatuses.push('')
} }
} }
...@@ -210,6 +196,7 @@ export default { ...@@ -210,6 +196,7 @@ export default {
changeAttr: (value, targetItem) => { changeAttr: (value, targetItem) => {
var isAdd = value.length > this.oldVal.afterSaleStatuses.length var isAdd = value.length > this.oldVal.afterSaleStatuses.length
var targetVal = value[value.length - 1] var targetVal = value[value.length - 1]
var formIdx = this.searchFormData.findIndex(item => item.label == '售后状态')
if (!isAdd) { if (!isAdd) {
for (var i = 0; i < this.oldVal.afterSaleStatuses.length; i++) { for (var i = 0; i < this.oldVal.afterSaleStatuses.length; i++) {
if (!value.includes(this.oldVal.afterSaleStatuses[i])) { if (!value.includes(this.oldVal.afterSaleStatuses[i])) {
...@@ -218,20 +205,18 @@ export default { ...@@ -218,20 +205,18 @@ export default {
} }
} }
} }
!targetVal && (this.searchForm.afterSaleStatuses = isAdd ? this.searchFormData1[2].optionList.map(item => item.confId) : []) !targetVal && (this.searchForm.afterSaleStatuses = isAdd ? this.searchFormData[formIdx].optionList.map(item => item.confId) : [])
if (targetVal) { if (targetVal) {
var idx = value.findIndex(item => item == '') var idx = value.findIndex(item => item == '')
if (idx != -1 && this.searchForm.afterSaleStatuses.length < this.searchFormData1[2].optionList.length) { if (idx != -1 && this.searchForm.afterSaleStatuses.length < this.searchFormData[formIdx].optionList.length) {
this.searchForm.afterSaleStatuses.splice(idx, 1) this.searchForm.afterSaleStatuses.splice(idx, 1)
} else if (idx == -1 && this.searchForm.afterSaleStatuses.length == this.searchFormData1[2].optionList.length - 1) { } else if (idx == -1 && this.searchForm.afterSaleStatuses.length == this.searchFormData[formIdx].optionList.length - 1) {
this.searchForm.afterSaleStatuses.push('') this.searchForm.afterSaleStatuses.push('')
} }
} }
this.oldVal.afterSaleStatuses = this.$common.utils.deepClone(this.searchForm.afterSaleStatuses) this.oldVal.afterSaleStatuses = this.$common.utils.deepClone(this.searchForm.afterSaleStatuses)
} }
} },
],
searchFormData2: [
{ {
label: '门店', label: '门店',
name: 'merchantName', name: 'merchantName',
...@@ -250,9 +235,7 @@ export default { ...@@ -250,9 +235,7 @@ export default {
labelWidth: 72, labelWidth: 72,
isClear: true, isClear: true,
pickerOptions: 'beforeRangePickerOptions' pickerOptions: 'beforeRangePickerOptions'
} },
],
searchFormData3: [
{ {
label: '订单类型', label: '订单类型',
name: 'orderSource', name: 'orderSource',
...@@ -276,9 +259,7 @@ export default { ...@@ -276,9 +259,7 @@ export default {
name: 'outTradeNo', name: 'outTradeNo',
type: 'input', type: 'input',
maxlength: 50 maxlength: 50
} },
],
searchFormData4: [
{ {
label: '车架号', label: '车架号',
name: 'vin', name: 'vin',
...@@ -380,6 +361,72 @@ export default { ...@@ -380,6 +361,72 @@ export default {
], ],
// 确认收获 // 确认收获
isReceivingVisible: false, isReceivingVisible: false,
// 表格按钮
tableButtonList: [
{
type: 'GLButton',
name: '查看订单',
attrs: {
type: 'text',
fn: '查看订单'
},
listeners: {
click: this.handleDetail
}
},
{
type: 'el-button',
name: '订单核销',
attrs: {
type: 'text'
},
condition: row => {
return row.deliveryType == 1 && row.orderStatus == 21
},
listeners: {
click: this.handleWriteOff
}
},
{
type: 'el-button',
name: '输入快递信息',
attrs: {
type: 'text'
},
condition: row => {
return row.deliveryType == 2 && row.orderStatus == 6
},
listeners: {
click: this.handleExpressInfo
}
},
{
type: 'el-button',
name: '退款审核',
attrs: {
type: 'text'
},
condition: row => {
return row.afterSaleStatus == 1
},
listeners: {
click: this.handleExamine
}
},
{
type: 'el-button',
name: '确认收货',
attrs: {
type: 'text'
},
condition: row => {
return row.afterSaleStatus == 4
},
listeners: {
click: this.handleReceiving
}
}
],
// 表格 // 表格
getListApi: this.$apis.orderManage.getListApi, getListApi: this.$apis.orderManage.getListApi,
tableParams: { tableParams: {
...@@ -446,13 +493,13 @@ export default { ...@@ -446,13 +493,13 @@ export default {
{ {
label: '门店信息', label: '门店信息',
prop: 'merchantName', prop: 'merchantName',
line: 2, line: 1,
width: 180 width: 280
}, },
{ {
label: '订单类型', label: '订单类型',
prop: 'orderSource', prop: 'orderSource',
width: '80', width: '100',
formatter: cellValue => { formatter: cellValue => {
return this.baseData.orderSourceList.map(item => item.confId).includes(cellValue.orderSource + '') ? this.baseData.orderSourceList.find(item => item.confId == cellValue.orderSource).confName : '-' return this.baseData.orderSourceList.map(item => item.confId).includes(cellValue.orderSource + '') ? this.baseData.orderSourceList.find(item => item.confId == cellValue.orderSource).confName : '-'
} }
...@@ -460,7 +507,7 @@ export default { ...@@ -460,7 +507,7 @@ export default {
{ {
label: '售后状态', label: '售后状态',
prop: 'afterSaleStatus', prop: 'afterSaleStatus',
width: '80', width: '100',
formatter: cellValue => { formatter: cellValue => {
return this.baseData.afterSaleStatusList.map(item => item.confId).includes(cellValue.afterSaleStatus + '') ? this.baseData.afterSaleStatusList.find(item => item.confId == cellValue.afterSaleStatus).confName : '-' return this.baseData.afterSaleStatusList.map(item => item.confId).includes(cellValue.afterSaleStatus + '') ? this.baseData.afterSaleStatusList.find(item => item.confId == cellValue.afterSaleStatus).confName : '-'
} }
...@@ -468,7 +515,7 @@ export default { ...@@ -468,7 +515,7 @@ export default {
{ {
label: '结算方式', label: '结算方式',
prop: 'deliveryType', prop: 'deliveryType',
width: '80', width: '100',
formatter: cellValue => { formatter: cellValue => {
return this.baseData.deliveryTypeList.map(item => item.confId).includes(cellValue.deliveryType + '') ? this.baseData.deliveryTypeList.find(item => item.confId == cellValue.deliveryType).confName : '-' return this.baseData.deliveryTypeList.map(item => item.confId).includes(cellValue.deliveryType + '') ? this.baseData.deliveryTypeList.find(item => item.confId == cellValue.deliveryType).confName : '-'
} }
...@@ -494,9 +541,7 @@ export default { ...@@ -494,9 +541,7 @@ export default {
mounted() { mounted() {
// this.getCount() // this.getCount()
this.getOptionsList('searchFormData1') this.getOptionsList('searchFormData')
this.getOptionsList('searchFormData2')
this.getOptionsList('searchFormData3')
}, },
methods: { methods: {
......
...@@ -100,6 +100,10 @@ export default { ...@@ -100,6 +100,10 @@ export default {
name: 'customerPhone' name: 'customerPhone'
}, },
{ {
label: '推荐人',
name: 'shareStaffName'
},
{
label: '车架号', label: '车架号',
name: 'vin' name: 'vin'
}, },
......
...@@ -5,14 +5,7 @@ ...@@ -5,14 +5,7 @@
<GLButton :size="size" type="primary" fn="新建商品" class="el-icon-plus" @click="handleEdit(1)">新建商品</GLButton> <GLButton :size="size" type="primary" fn="新建商品" class="el-icon-plus" @click="handleEdit(1)">新建商品</GLButton>
</div> </div>
<div class="container"> <div class="container">
<div> <GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
<glsx-combi-form ref="showSearch" :formObj="searchForm" :formData="searchFormData">
<span slot="footer" class="footer-btns">
<el-button :size="size" type="default" @click="handleReset">重置</el-button>
<el-button :size="size" type="primary" @click="handleSearch">查询</el-button>
</span>
</glsx-combi-form>
</div>
<!-- 表格区域 开始 --> <!-- 表格区域 开始 -->
<GLTable ref="proGroupRef" class="table-img" :getListApi="getListApi" :noDataImg="url" :searchForm="tableSearchForm" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn" @setTableFinishFun="setTableFinishFun"> <GLTable ref="proGroupRef" class="table-img" :getListApi="getListApi" :noDataImg="url" :searchForm="tableSearchForm" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn" @setTableFinishFun="setTableFinishFun">
...@@ -23,11 +16,7 @@ ...@@ -23,11 +16,7 @@
</el-popover> </el-popover>
</div> </div>
<div class="table-btns" slot="auth-button" slot-scope="scope"> <div class="table-btns" slot="auth-button" slot-scope="scope">
<el-button type="text" @click="handleUpOrDown(scope.scope)">{{ scope.scope.goodsStatus ? '下架' : '上架' }}</el-button> <GLTableButton :buttonList="tableButtonList" :buttonItem="scope.scope" :buttonNum="3"></GLTableButton>
<GLButton v-if="!scope.scope.goodsStatus" type="text" fn="编辑" @click="handleEdit(2, scope.scope)">编辑</GLButton>
<GLButton v-if="scope.scope.goodsStatus" type="text" fn="查看" @click="handleEdit(3, scope.scope)">查看</GLButton>
<el-button type="text" @click="handleTop(scope.scope)">置顶</el-button>
<el-button type="text" @click="handleShare(scope.scope)">分享</el-button>
</div> </div>
</GLTable> </GLTable>
<!-- 表格区域 end --> <!-- 表格区域 end -->
...@@ -100,6 +89,69 @@ export default { ...@@ -100,6 +89,69 @@ export default {
optionsName: 'goodsStatusList' optionsName: 'goodsStatusList'
} }
], ],
// 表格按钮
tableButtonList: [
{
type: 'el-button',
name: row => {
return row.goodsStatus ? '下架' : '上架'
},
attrs: {
type: 'text'
},
listeners: {
click: this.handleUpOrDown
}
},
{
type: 'GLButton',
name: '编辑',
attrs: {
type: 'text',
fn: '编辑'
},
condition: row => {
return !row.goodsStatus
},
listeners: {
click: row => this.handleEdit(2, row)
}
},
{
type: 'GLButton',
name: '查看',
attrs: {
type: 'text',
fn: '查看'
},
condition: row => {
return row.goodsStatus
},
listeners: {
click: row => this.handleEdit(3, row)
}
},
{
type: 'el-button',
name: '置顶',
attrs: {
type: 'text'
},
listeners: {
click: this.handleTop
}
},
{
type: 'el-button',
name: '分享',
attrs: {
type: 'text'
},
listeners: {
click: this.handleShare
}
}
],
// 表格 // 表格
getListApi: this.$apis.proManage.getListApi, getListApi: this.$apis.proManage.getListApi,
tableParams: { tableParams: {
...@@ -109,6 +161,7 @@ export default { ...@@ -109,6 +161,7 @@ export default {
{ {
label: '商品名称', label: '商品名称',
prop: 'goodsName', prop: 'goodsName',
width: 220,
line: 2 line: 2
}, },
{ {
......
...@@ -2,18 +2,10 @@ ...@@ -2,18 +2,10 @@
<template> <template>
<div class="marketing pro-group p-t-20"> <div class="marketing pro-group p-t-20">
<div class="m-b-20"> <div class="m-b-20">
<!-- <el-button :size="size" type="primary" class="el-icon-plus" @click="handleEdit(1)">新建商品</el-button> -->
<GLButton :size="size" type="primary" fn="新建商品" class="el-icon-plus" @click="handleEdit(1)">新建商品</GLButton> <GLButton :size="size" type="primary" fn="新建商品" class="el-icon-plus" @click="handleEdit(1)">新建商品</GLButton>
</div> </div>
<div class="container"> <div class="container">
<div> <GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
<glsx-combi-form ref="showSearch" :formObj="searchForm" :formData="searchFormData">
<span slot="footer" class="footer-btns">
<el-button :size="size" type="default" @click="handleReset">重置</el-button>
<el-button :size="size" type="primary" @click="handleSearch">查询</el-button>
</span>
</glsx-combi-form>
</div>
<!-- 表格区域 开始 --> <!-- 表格区域 开始 -->
<GLTable ref="proGroupRef" class="table-img" :getListApi="getListApi" :noDataImg="url" :searchForm="tableSearchForm" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn" @setTableFinishFun="setTableFinishFun"> <GLTable ref="proGroupRef" class="table-img" :getListApi="getListApi" :noDataImg="url" :searchForm="tableSearchForm" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn" @setTableFinishFun="setTableFinishFun">
...@@ -24,18 +16,7 @@ ...@@ -24,18 +16,7 @@
</el-popover> </el-popover>
</template> </template>
<div class="table-btns" slot="auth-button" slot-scope="scope"> <div class="table-btns" slot="auth-button" slot-scope="scope">
<!-- <el-button v-if="!scope.scope.goodsStatus" type="text" @click="handleEdit(2, scope.scope)">编辑</el-button> --> <GLTableButton :buttonList="tableButtonList" :buttonItem="scope.scope" :buttonNum="3"></GLTableButton>
<GLButton v-if="!scope.scope.goodsStatus && scope.scope.goodsSource == 1" type="text" fn="自建编辑" @click="handleEdit(2, scope.scope)">编辑</GLButton>
<GLButton v-if="!scope.scope.goodsStatus && scope.scope.goodsSource == 2 && scope.scope.takeType == '1'" type="text" fn="带货编辑" @click="handleEditDh(2, scope.scope)">编辑</GLButton>
<el-button v-if="!scope.scope.goodsStatus && (scope.scope.goodsSource == 1 || (scope.scope.goodsSource == 2 && scope.scope.originGoodsStatus))" type="text" @click="handleUpOrDown(scope.scope)">上架</el-button>
<el-button v-if="!scope.scope.goodsStatus && scope.scope.goodsSource == 2 && !scope.scope.originGoodsStatus && scope.scope.offReason" type="text" @click="handleDwonNotice(scope.scope)">下架通知</el-button>
<el-button v-if="scope.scope.goodsStatus" type="text" @click="handleUpOrDown(scope.scope)">下架</el-button>
<el-button v-if="!scope.scope.goodsStatus && scope.scope.goodsSource == 2" type="text" @click="handleTakeGood(scope.scope)">取消带货</el-button>
<el-button v-if="!scope.scope.goodsStatus && scope.scope.goodsSource == 1" type="text" @click="handleTop(scope.scope)">置顶</el-button>
<!-- <el-button v-if="scope.scope.goodsStatus" type="text" @click="handleEdit(3, scope.scope)">查看</el-button> -->
<GLButton v-if="scope.scope.goodsStatus && scope.scope.goodsSource == 1" type="text" fn="自建查看" @click="handleEdit(3, scope.scope)">查看</GLButton>
<GLButton v-if="scope.scope.goodsStatus && scope.scope.goodsSource == 2" type="text" fn="带货查看" @click="handleEditDh(3, scope.scope)">查看</GLButton>
<el-button v-if="scope.scope.goodsStatus" type="text" @click="handleShare(scope.scope)">分享</el-button>
</div> </div>
</GLTable> </GLTable>
<!-- 表格区域 end --> <!-- 表格区域 end -->
...@@ -109,6 +90,143 @@ export default { ...@@ -109,6 +90,143 @@ export default {
optionsName: 'goodsStatusList' optionsName: 'goodsStatusList'
} }
], ],
// 表格按钮
tableButtonList: [
{
type: 'GLButton',
name: '编辑',
attrs: {
type: 'text',
fn: '自建编辑'
},
condition: row => {
return !row.goodsStatus && row.goodsSource == 1
},
listeners: {
click: row => this.handleEdit(2, row)
}
},
{
type: 'GLButton',
name: '编辑',
attrs: {
type: 'text',
fn: '带货编辑'
},
condition: row => {
return !row.goodsStatus && row.goodsSource == 2 && row.takeType == '1'
},
listeners: {
click: row => this.handleEditDh(2, row)
}
},
{
type: 'el-button',
name: '上架',
attrs: {
type: 'text'
},
condition: row => {
return !row.goodsStatus && (row.goodsSource == 1 || (row.goodsSource == 2 && row.originGoodsStatus))
},
listeners: {
click: this.handleUpOrDown
}
},
{
type: 'el-button',
name: '下架通知',
attrs: {
type: 'text'
},
condition: row => {
return !row.goodsStatus && row.goodsSource == 2 && !row.originGoodsStatus && row.offReason
},
listeners: {
click: this.handleDwonNotice
}
},
{
type: 'el-button',
name: '下架',
attrs: {
type: 'text'
},
condition: row => {
return row.goodsStatus
},
listeners: {
click: this.handleUpOrDown
}
},
{
type: 'el-button',
name: '取消带货',
attrs: {
type: 'text'
},
condition: row => {
return !row.goodsStatus && row.goodsSource == 2
},
listeners: {
click: this.handleTakeGood
}
},
{
type: 'el-button',
name: '置顶',
attrs: {
type: 'text'
},
condition: row => {
return !row.goodsStatus && row.goodsSource == 1
},
listeners: {
click: this.handleTop
}
},
{
type: 'GLButton',
name: '查看',
attrs: {
type: 'text',
fn: '自建查看'
},
condition: row => {
return row.goodsStatus && row.goodsSource == 1
},
listeners: {
click: row => this.handleEdit(3, row)
}
},
{
type: 'GLButton',
name: '查看',
attrs: {
type: 'text',
fn: '带货查看'
},
condition: row => {
return row.goodsStatus && row.goodsSource == 2
},
listeners: {
click: row => this.handleEditDh(3, row)
}
},
{
type: 'el-button',
name: '分享',
attrs: {
type: 'text'
},
condition: row => {
return row.goodsStatus
},
listeners: {
click: this.handleShare
}
}
],
// 表格 // 表格
getListApi: this.$apis.proManage.getListApi, getListApi: this.$apis.proManage.getListApi,
tableParams: { tableParams: {
...@@ -118,6 +236,7 @@ export default { ...@@ -118,6 +236,7 @@ export default {
{ {
label: '商品名称', label: '商品名称',
prop: 'goodsName', prop: 'goodsName',
width: 220,
line: 2 line: 2
}, },
{ {
...@@ -256,11 +375,6 @@ export default { ...@@ -256,11 +375,6 @@ export default {
// groupOrStore:1-集团;2-门店 // groupOrStore:1-集团;2-门店
// goodsSource: 1-门店;2-带货 // goodsSource: 1-门店;2-带货
handleEdit(addOrEdit, row) { handleEdit(addOrEdit, row) {
// if (addOrEdit != 1 && row.goodsSource == 2) {
// this.$router.push('/productStore/editProductDh/' + addOrEdit + '/' + row.id)
// return true
// }
// addOrEdit == 1 ? this.$router.push('/productGroup/editProduct/' + addOrEdit + '/' + 2) : this.$router.push('/productGroup/editProduct/' + addOrEdit + '/' + 2 + '/' + row.id)
var titleObj = { var titleObj = {
1: '新建商品', 1: '新建商品',
2: '编辑商品', 2: '编辑商品',
......
...@@ -3,33 +3,20 @@ ...@@ -3,33 +3,20 @@
<div class="marketing pro-group p-t-20"> <div class="marketing pro-group p-t-20">
<div class="m-b-20"> <div class="m-b-20">
<GLButton :size="size" type="primary" class="el-icon-plus" @click="addActivity()" fn="新增秒杀活动" mode="el-button">新增秒杀活动</GLButton> <GLButton :size="size" type="primary" class="el-icon-plus" @click="addActivity()" fn="新增秒杀活动" mode="el-button">新增秒杀活动</GLButton>
<!-- <el-button :size="size" type="primary" class="el-icon-plus" @click="addActivity()">新增秒杀活动</el-button> -->
</div> </div>
<div class="container"> <div class="container">
<div> <GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
<glsx-combi-form ref="showSearch" :formObj="searchForm" :formData="searchFormData">
<span slot="footer" class="footer-btns">
<el-button :size="size" @click="handleReset">重置</el-button>
<el-button :size="size" type="primary" @click="handleSearch">查询</el-button>
</span>
</glsx-combi-form>
</div>
<!-- 表格区域 开始 --> <!-- 表格区域 开始 -->
<GLTable ref="activity" :getListApi="getListApi" :noDataImg="url" :searchForm="tableSearchForm" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn" @setTableFinishFun="setTableFinishFun"> <GLTable ref="activity" :getListApi="getListApi" :noDataImg="url" :searchForm="tableSearchForm" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn" @setTableFinishFun="setTableFinishFun">
<template slot="activityImg" slot-scope="scope"> <template slot="activityImg" slot-scope="scope">
<img class="img-60" :src="scope.scope.activityImg" /> <el-popover placement="top" width="160" trigger="hover" popper-class="table-popover-block">
<img class="table-popover-img" :src="scope.scope.activityImg" />
<img class="img-60 pointer" slot="reference" :src="scope.scope.activityImg" />
</el-popover>
</template> </template>
<div class="table-btns" slot="auth-button" slot-scope="scope"> <div class="table-btns" slot="auth-button" slot-scope="scope">
<el-button v-if="scope.scope.activityStatus == '1'" type="text" @click="start(scope.scope)">开始</el-button> <GLTableButton :buttonList="tableButtonList" :buttonItem="scope.scope" :buttonNum="3"></GLTableButton>
<el-button v-if="scope.scope.activityStatus == '2'" type="text" @click="end(scope.scope)">结束</el-button>
<GLButton v-if="scope.scope.activityStatus == '1'" type="text" @click="handleEdit(2, scope.scope)" fn="编辑秒杀活动" mode="el-button">编辑</GLButton>
<!-- <el-button v-if="scope.scope.activityStatus == '1'" type="text" @click="handleEdit(2, scope.scope)">编辑</el-button> -->
<GLButton v-if="scope.scope.activityStatus == '2' || scope.scope.activityStatus == '3'" type="text" @click="handleEdit(3, scope.scope)" fn="编辑秒杀活动" mode="el-button">查看</GLButton>
<!-- <el-button v-if="scope.scope.activityStatus == '2' || scope.scope.activityStatus == '3'" type="text" @click="handleEdit(3, scope.scope)">查看</el-button> -->
<el-button v-if="scope.scope.activityStatus == '3'" type="text" @click="del(scope.scope)">删除</el-button>
<el-button type="text" @click="topping(scope.scope)">置顶</el-button>
<el-button v-if="scope.scope.activityStatus == '1' || scope.scope.activityStatus == '2'" type="text" @click="handleShare(scope.scope)">分享</el-button>
</div> </div>
</GLTable> </GLTable>
<!-- 表格区域 end --> <!-- 表格区域 end -->
...@@ -57,7 +44,6 @@ export default { ...@@ -57,7 +44,6 @@ export default {
// 分享 // 分享
isShareVisible: false, isShareVisible: false,
shareForm: {}, shareForm: {},
// 表格
searchForm: { searchForm: {
activityName: '', activityName: '',
activityStatus: '' activityStatus: ''
...@@ -83,6 +69,94 @@ export default { ...@@ -83,6 +69,94 @@ export default {
optionsName: 'statusList' optionsName: 'statusList'
} }
], ],
// 表格按钮
tableButtonList: [
{
type: 'el-button',
name: '开始',
attrs: {
type: 'text'
},
condition: row => {
return row.activityStatus == '1'
},
listeners: {
click: this.start
}
},
{
type: 'el-button',
name: '结束',
attrs: {
type: 'text'
},
condition: row => {
return row.activityStatus == '2'
},
listeners: {
click: this.end
}
},
{
type: 'GLButton',
name: row => {
return row.activityStatus == '1' ? '编辑' : '查看'
},
attrs: {
type: 'text',
fn: '编辑秒杀活动'
},
condition: row => {
return row.activityStatus == '1' || row.activityStatus == '2' || row.activityStatus == '3'
},
listeners: {
click: row => {
var editOrDetail = {
1: 2,
2: 3,
3: 3
}[row.activityStatus]
return this.handleEdit(editOrDetail, row)
}
}
},
{
type: 'el-button',
name: '删除',
attrs: {
type: 'text'
},
condition: row => {
return row.activityStatus == '3'
},
listeners: {
click: this.del
}
},
{
type: 'el-button',
name: '置顶',
attrs: {
type: 'text'
},
listeners: {
click: this.topping
}
},
{
type: 'el-button',
name: '分享',
attrs: {
type: 'text'
},
condition: row => {
return row.activityStatus == '1' || row.activityStatus == '2'
},
listeners: {
click: this.handleShare
}
},
],
// 表格 // 表格
getListApi: this.$apis.seckillActivity.getActivityPageApi, getListApi: this.$apis.seckillActivity.getActivityPageApi,
tableParams: { tableParams: {
...@@ -91,7 +165,8 @@ export default { ...@@ -91,7 +165,8 @@ export default {
tableColumns: [ tableColumns: [
{ {
label: '活动名称', label: '活动名称',
prop: 'activityName' prop: 'activityName',
width: 220
}, },
{ {
label: '缩略图', label: '缩略图',
...@@ -101,7 +176,7 @@ export default { ...@@ -101,7 +176,7 @@ export default {
{ {
label: '浏览量(次)', label: '浏览量(次)',
prop: 'viewAmount', prop: 'viewAmount',
width: '110px' width: 140
}, },
{ {
label: '销量', label: '销量',
...@@ -110,7 +185,7 @@ export default { ...@@ -110,7 +185,7 @@ export default {
{ {
label: '秒杀价(元)', label: '秒杀价(元)',
name: 'activityPrice', name: 'activityPrice',
width: '110px', width: 140,
formatter: cellValue => { formatter: cellValue => {
// if (cellValue.activityPrice) { // if (cellValue.activityPrice) {
return (cellValue.activityPrice / 100).toFixed(2) return (cellValue.activityPrice / 100).toFixed(2)
...@@ -125,7 +200,7 @@ export default { ...@@ -125,7 +200,7 @@ export default {
{ {
label: '创建日期', label: '创建日期',
name: 'createdDate', name: 'createdDate',
width: '160px', width: 200,
formatter: cellValue => { formatter: cellValue => {
return dayjs(cellValue.createdDate).format('YYYY-MM-DD HH:mm:ss') return dayjs(cellValue.createdDate).format('YYYY-MM-DD HH:mm:ss')
} }
......
...@@ -122,7 +122,8 @@ export default { ...@@ -122,7 +122,8 @@ export default {
if (!this.selectItem.id) { if (!this.selectItem.id) {
this.$message({ this.$message({
type: 'error', type: 'error',
message: '请选择活动' message: '请选择活动',
customClass: 'message-Z-zinde'
}) })
return return
} }
......
...@@ -221,6 +221,14 @@ export default { ...@@ -221,6 +221,14 @@ export default {
} }
}, },
handleMaterialConfirm() { handleMaterialConfirm() {
if (!this.selectItem.id) {
this.$message({
type: 'error',
message: '请选择素材',
customClass: 'message-Z-zinde'
})
return
}
this.$emit('handleMaterialConfirm', { this.$emit('handleMaterialConfirm', {
objectId: this.selectItem.id, objectId: this.selectItem.id,
objectType: 10, objectType: 10,
......
...@@ -123,6 +123,14 @@ export default { ...@@ -123,6 +123,14 @@ export default {
this.getModelList() this.getModelList()
}, },
handleNicknameConfirm() { handleNicknameConfirm() {
if (!this.selectItem.id) {
this.$message({
type: 'error',
message: '请选择朋友圈模板',
customClass: 'message-Z-zinde'
})
return
}
// activeName 0-纯文字,1-单图+文,2-多图+文,3-视频+文,4-链接+文 // activeName 0-纯文字,1-单图+文,2-多图+文,3-视频+文,4-链接+文
var valToType = { var valToType = {
0: 4, 0: 4,
......
...@@ -82,7 +82,7 @@ export default { ...@@ -82,7 +82,7 @@ export default {
{ {
label: '客户手机号', label: '客户手机号',
prop: 'customerPhone', prop: 'customerPhone',
width: '110px', width: '130px',
formatter: cellValue => { formatter: cellValue => {
return cellValue.customerPhone || '-' return cellValue.customerPhone || '-'
} }
...@@ -152,7 +152,7 @@ export default { ...@@ -152,7 +152,7 @@ export default {
mounted() { mounted() {
let clientHeight = document.documentElement.clientHeight let clientHeight = document.documentElement.clientHeight
this.heightBox = clientHeight - 0.15 * clientHeight - 425 this.heightBox = clientHeight - 0.15 * clientHeight - 370
this.selectedCustomerList = JSON.parse(JSON.stringify(this.parentSelectedCustomerList)) this.selectedCustomerList = JSON.parse(JSON.stringify(this.parentSelectedCustomerList))
}, },
...@@ -165,7 +165,8 @@ export default { ...@@ -165,7 +165,8 @@ export default {
this.tableList = this.$refs.customerRef.data this.tableList = this.$refs.customerRef.data
this.recoverySelected() this.recoverySelected()
//接收到的数据为空 //接收到的数据为空
this.$refs.customerRef.tableHeightValues = this.$refs.customerRef.data.length ? '' : '400px' // this.$refs.customerRef.tableHeightValues = this.$refs.customerRef.data.length ? '' : '400px'
this.$refs.customerRef.tableHeightValues = '400px'
}, },
recoverySelected() { recoverySelected() {
...@@ -220,8 +221,11 @@ export default { ...@@ -220,8 +221,11 @@ export default {
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss">
.select-cutomer { .select-cutomer {
.el-table .el-table__row td {
height: auto !important;
}
.title { .title {
margin-bottom: 12px; margin-bottom: 12px;
} }
......
...@@ -6,22 +6,12 @@ ...@@ -6,22 +6,12 @@
<el-button class="sop-back-btn" :size="size" type="primary" @click="handleBack">返回</el-button> <el-button class="sop-back-btn" :size="size" type="primary" @click="handleBack">返回</el-button>
</div> </div>
<div class="container"> <div class="container">
<div> <GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
<glsx-combi-form ref="showSearch" :formObj="searchForm" :formData="searchFormData">
<span slot="footer">
<el-button :size="size" type="primary" @click="handleSearch">查询</el-button>
<el-button :size="size" type="default" @click="handleReset">重置</el-button>
</span>
</glsx-combi-form>
</div>
<!-- 表格区域 开始 --> <!-- 表格区域 开始 -->
<GLTable ref="sopListRef" :getListApi="getListApi" :noDataImg="url" :searchForm="searchForm" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn" @setTableFinishFun="setTableFinishFun"> <GLTable ref="sopListRef" :getListApi="getListApi" :noDataImg="url" :searchForm="searchForm" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn" @setTableFinishFun="setTableFinishFun">
<div class="table-btns" slot="auth-button" slot-scope="scope"> <div class="table-btns" slot="auth-button" slot-scope="scope">
<el-button v-if="scope.scope.sopStatus != 1" type="text" @click="handleJump('sopAnalysisList', scope.scope)">SOP分析</el-button> <GLTableButton :buttonList="tableButtonList" :buttonItem="scope.scope" :buttonNum="3"></GLTableButton>
<el-button v-if="scope.scope.sopStatus == 2" type="text" @click="handleEnd(scope.scope)">结束</el-button>
<el-button v-if="scope.scope.sopStatus != 3" type="text" @click="handleEdit('edit', scope.scope)">编辑</el-button>
<el-button v-if="scope.scope.sopStatus == 1" type="text" @click="handleDelete(scope.scope)">删除</el-button>
</div> </div>
</GLTable> </GLTable>
<!-- 表格区域 end --> <!-- 表格区域 end -->
...@@ -61,6 +51,61 @@ export default { ...@@ -61,6 +51,61 @@ export default {
optionsName: 'sopStatusList' optionsName: 'sopStatusList'
} }
], ],
// 表格按钮
tableButtonList: [
{
type: 'el-button',
name: 'SOP分析',
attrs: {
type: 'text'
},
condition: row => {
return row.sopStatus != 1
},
listeners: {
click: row => this.handleJump('sopAnalysisList', row)
}
},
{
type: 'el-button',
name: '结束',
attrs: {
type: 'text'
},
condition: row => {
return row.sopStatus == 2
},
listeners: {
click: this.handleEnd
}
},
{
type: 'el-button',
name: '编辑',
attrs: {
type: 'text'
},
condition: row => {
return row.sopStatus != 3
},
listeners: {
click: row => this.handleEdit('edit', row)
}
},
{
type: 'el-button',
name: '删除',
attrs: {
type: 'text'
},
condition: row => {
return row.sopStatus == 1
},
listeners: {
click: this.handleDelete
}
}
],
// 表格 // 表格
getListApi: this.$apis.sop.getSopInfoListApi, getListApi: this.$apis.sop.getSopInfoListApi,
tableParams: { tableParams: {
......
...@@ -2,14 +2,7 @@ ...@@ -2,14 +2,7 @@
<template> <template>
<div class="marketing take-good p-t-20"> <div class="marketing take-good p-t-20">
<div class="container"> <div class="container">
<div> <GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
<glsx-combi-form ref="showSearch" :formObj="searchForm" :formData="searchFormData">
<span slot="footer" class="footer-btns">
<el-button :size="size" type="primary" @click="handleSearch">查询</el-button>
<el-button :size="size" type="default" @click="handleReset">重置</el-button>
</span>
</glsx-combi-form>
</div>
<el-button :size="size" class="default-blue-btn f-right m-b-10" type="default" @click="handleTakeGood()">一键带货</el-button> <el-button :size="size" class="default-blue-btn f-right m-b-10" type="default" @click="handleTakeGood()">一键带货</el-button>
...@@ -22,10 +15,7 @@ ...@@ -22,10 +15,7 @@
</el-popover> </el-popover>
</div> </div>
<div class="table-btns" slot="auth-button" slot-scope="scope"> <div class="table-btns" slot="auth-button" slot-scope="scope">
<el-button v-if="!scope.scope.taked" type="text" @click="handleSingleTakeGood(scope.scope)">带货</el-button> <GLTableButton :buttonList="tableButtonList" :buttonItem="scope.scope" :buttonNum="3"></GLTableButton>
<!-- <GLButton v-if="!scope.scope.taked" fn="带货" type="text" @click="handleSingleTakeGood(scope.scope)">带货</GLButton> -->
<!-- <el-button type="text" @click="handleDetail(scope.scope)">详情</el-button> -->
<GLButton type="text" fn="详情" @click="handleDetail(scope.scope)">详情</GLButton>
</div> </div>
</GLTable> </GLTable>
<!-- 表格区域 end --> <!-- 表格区域 end -->
...@@ -64,6 +54,33 @@ export default { ...@@ -64,6 +54,33 @@ export default {
pickerOptions: 'beforeRangePickerOptions' pickerOptions: 'beforeRangePickerOptions'
} }
], ],
// 表格按钮
tableButtonList: [
{
type: 'el-button',
name: '带货',
attrs: {
type: 'text'
},
condition: row => {
return !row.taked
},
listeners: {
click: this.handleSingleTakeGood
}
},
{
type: 'GLButton',
name: '详情',
attrs: {
type: 'text',
fn: '详情'
},
listeners: {
click: this.handleDetail
}
}
],
// 表格 // 表格
getListApi: this.$apis.takeGood.getListApi, getListApi: this.$apis.takeGood.getListApi,
tableParams: { tableParams: {
......
...@@ -2,24 +2,15 @@ ...@@ -2,24 +2,15 @@
<template> <template>
<div class="marketing p-t-20"> <div class="marketing p-t-20">
<div class="m-b-20"> <div class="m-b-20">
<!-- <el-button :size="size" type="primary" class="el-icon-plus" @click="handleEdit(1)">新建专区</el-button> -->
<GLButton :size="size" type="primary" fn="新建专区" class="el-icon-plus" @click="handleEdit(1)">新建专区</GLButton> <GLButton :size="size" type="primary" fn="新建专区" class="el-icon-plus" @click="handleEdit(1)">新建专区</GLButton>
</div> </div>
<div class="container"> <div class="container">
<div> <GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
<glsx-combi-form ref="showSearch" :formObj="searchForm" :formData="searchFormData">
<span slot="footer" class="footer-btns">
<el-button :size="size" type="default" @click="handleReset">重置</el-button>
<el-button :size="size" type="primary" @click="handleSearch">查询</el-button>
</span>
</glsx-combi-form>
</div>
<!-- 表格区域 开始 --> <!-- 表格区域 开始 -->
<GLTable ref="zoneRef" :getListApi="getListApi" :noDataImg="url" :searchForm="tableSearchForm" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn" @setTableFinishFun="setTableFinishFun"> <GLTable ref="zoneRef" :getListApi="getListApi" :noDataImg="url" :searchForm="tableSearchForm" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn" @setTableFinishFun="setTableFinishFun">
<div class="table-btns" slot="auth-button" slot-scope="scope"> <div class="table-btns" slot="auth-button" slot-scope="scope">
<GLButton type="text" fn="编辑" @click="handleEdit(2, scope.scope)">编辑</GLButton> <GLTableButton :buttonList="tableButtonList" :buttonItem="scope.scope" :buttonNum="3"></GLTableButton>
<el-button type="text" fn="删除" @click="handleDelete(scope.scope)">删除</el-button>
</div> </div>
</GLTable> </GLTable>
<!-- 表格区域 end --> <!-- 表格区域 end -->
...@@ -57,6 +48,30 @@ export default { ...@@ -57,6 +48,30 @@ export default {
pickerOptions: 'beforeRangePickerOptions' pickerOptions: 'beforeRangePickerOptions'
} }
], ],
// 表格按钮
tableButtonList: [
{
type: 'GLButton',
name: '编辑',
attrs: {
type: 'text',
fn: '编辑'
},
listeners: {
click: row => this.handleEdit(2, row)
}
},
{
type: 'el-button',
name: '删除',
attrs: {
type: 'text'
},
listeners: {
click: this.handleDelete
}
}
],
// 表格 // 表格
getListApi: this.$apis.zoneList.getZoneListApi, getListApi: this.$apis.zoneList.getZoneListApi,
tableParams: { tableParams: {
...@@ -70,7 +85,7 @@ export default { ...@@ -70,7 +85,7 @@ export default {
{ {
label: '创建日期', label: '创建日期',
prop: 'createdDate', prop: 'createdDate',
width: '180', // width: '180',
formatter: cellValue => { formatter: cellValue => {
return dayjs(cellValue.createdDate).format('YYYY-MM-DD HH:mm:ss') return dayjs(cellValue.createdDate).format('YYYY-MM-DD HH:mm:ss')
} }
...@@ -81,7 +96,7 @@ export default { ...@@ -81,7 +96,7 @@ export default {
} }
}, },
mounted() {}, mounted() { },
methods: { methods: {
getParams() { getParams() {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!