Commit 7b0562ef by 杨北旺

UI规范修改

1 parent 1617d85a
...@@ -1942,17 +1942,6 @@ ...@@ -1942,17 +1942,6 @@
"color-convert": "^2.0.1" "color-convert": "^2.0.1"
} }
}, },
"chalk": {
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
"dev": true,
"optional": true,
"requires": {
"ansi-styles": "^4.1.0",
"supports-color": "^7.1.0"
}
},
"cliui": { "cliui": {
"version": "6.0.0", "version": "6.0.0",
"resolved": "https://registry.nlark.com/cliui/download/cliui-6.0.0.tgz", "resolved": "https://registry.nlark.com/cliui/download/cliui-6.0.0.tgz",
...@@ -1988,31 +1977,12 @@ ...@@ -1988,31 +1977,12 @@
"ms": "2.1.2" "ms": "2.1.2"
} }
}, },
"has-flag": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
"dev": true,
"optional": true
},
"is-fullwidth-code-point": { "is-fullwidth-code-point": {
"version": "3.0.0", "version": "3.0.0",
"resolved": "https://registry.npm.taobao.org/is-fullwidth-code-point/download/is-fullwidth-code-point-3.0.0.tgz", "resolved": "https://registry.npm.taobao.org/is-fullwidth-code-point/download/is-fullwidth-code-point-3.0.0.tgz",
"integrity": "sha1-8Rb4Bk/pCz94RKOJl8C3UFEmnx0=", "integrity": "sha1-8Rb4Bk/pCz94RKOJl8C3UFEmnx0=",
"dev": true "dev": true
}, },
"loader-utils": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.2.tgz",
"integrity": "sha512-TM57VeHptv569d/GKh6TAYdzKblwDNiumOdkFnejjD0XwTH87K90w3O7AiJRqdQoXygvi1VQTJTLGhJl7WqA7A==",
"dev": true,
"optional": true,
"requires": {
"big.js": "^5.2.2",
"emojis-list": "^3.0.0",
"json5": "^2.1.2"
}
},
"ms": { "ms": {
"version": "2.1.2", "version": "2.1.2",
"resolved": "https://registry.npmmirror.com/ms/download/ms-2.1.2.tgz", "resolved": "https://registry.npmmirror.com/ms/download/ms-2.1.2.tgz",
...@@ -2048,28 +2018,6 @@ ...@@ -2048,28 +2018,6 @@
"ansi-regex": "^5.0.1" "ansi-regex": "^5.0.1"
} }
}, },
"supports-color": {
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
"integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
"dev": true,
"optional": true,
"requires": {
"has-flag": "^4.0.0"
}
},
"vue-loader-v16": {
"version": "npm:vue-loader@16.8.3",
"resolved": "https://registry.npmjs.org/vue-loader/-/vue-loader-16.8.3.tgz",
"integrity": "sha512-7vKN45IxsKxe5GcVCbc2qFU5aWzyiLrYJyUuMz4BQLKctCj/fmCa0w6fGiiQ2cLFetNcek1ppGJQDCup0c1hpA==",
"dev": true,
"optional": true,
"requires": {
"chalk": "^4.1.0",
"hash-sum": "^2.0.0",
"loader-utils": "^2.0.0"
}
},
"wrap-ansi": { "wrap-ansi": {
"version": "6.2.0", "version": "6.2.0",
"resolved": "https://registry.nlark.com/wrap-ansi/download/wrap-ansi-6.2.0.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fwrap-ansi%2Fdownload%2Fwrap-ansi-6.2.0.tgz", "resolved": "https://registry.nlark.com/wrap-ansi/download/wrap-ansi-6.2.0.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fwrap-ansi%2Fdownload%2Fwrap-ansi-6.2.0.tgz",
...@@ -2509,7 +2457,7 @@ ...@@ -2509,7 +2457,7 @@
"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.npmjs.org/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"
} }
...@@ -2537,7 +2485,7 @@ ...@@ -2537,7 +2485,7 @@
"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.npmjs.org/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",
...@@ -2567,7 +2515,7 @@ ...@@ -2567,7 +2515,7 @@
"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.npmjs.org/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"
} }
...@@ -2587,7 +2535,7 @@ ...@@ -2587,7 +2535,7 @@
"archy": { "archy": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/archy/-/archy-1.0.0.tgz", "resolved": "https://registry.npmjs.org/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",
...@@ -2616,7 +2564,7 @@ ...@@ -2616,7 +2564,7 @@
"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.npmjs.org/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"
} }
...@@ -2629,7 +2577,7 @@ ...@@ -2629,7 +2577,7 @@
"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.npmjs.org/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"
} }
...@@ -2642,7 +2590,7 @@ ...@@ -2642,7 +2590,7 @@
"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.npmjs.org/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",
...@@ -2659,7 +2607,7 @@ ...@@ -2659,7 +2607,7 @@
"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.npmjs.org/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"
...@@ -2842,7 +2790,7 @@ ...@@ -2842,7 +2790,7 @@
"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.npmjs.org/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"
} }
...@@ -3038,7 +2986,7 @@ ...@@ -3038,7 +2986,7 @@
"bach": { "bach": {
"version": "1.2.0", "version": "1.2.0",
"resolved": "https://registry.npmjs.org/bach/-/bach-1.2.0.tgz", "resolved": "https://registry.npmjs.org/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",
...@@ -3394,7 +3342,7 @@ ...@@ -3394,7 +3342,7 @@
"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.npmjs.org/buffer-equal/-/buffer-equal-1.0.0.tgz",
"integrity": "sha1-WWFrSYME1Var1GaWayLu2j7KX74=" "integrity": "sha512-tcBWO2Dl4e7Asr9hTGcpVrCe+F7DubpmqWCTbj4FHLmjqO2hIaC383acQubWtRJhdceqs5uBHs6Es+Sk//RKiQ=="
}, },
"buffer-from": { "buffer-from": {
"version": "1.1.2", "version": "1.1.2",
...@@ -3544,7 +3492,7 @@ ...@@ -3544,7 +3492,7 @@
"camelcase": { "camelcase": {
"version": "3.0.0", "version": "3.0.0",
"resolved": "https://registry.npmjs.org/camelcase/-/camelcase-3.0.0.tgz", "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-3.0.0.tgz",
"integrity": "sha1-MvxLn82vhF/N9+c7uXysImHwqwo=" "integrity": "sha512-4nhGqUkc4BqbBBB4Q6zLuD7lzzrHYrjKGeYaEji/3tFR5VdJu9v+LilhGIVe8wxEJPPOeWo7eg8dwY13TZ1BNg=="
}, },
"camelcase-keys": { "camelcase-keys": {
"version": "2.1.0", "version": "2.1.0",
...@@ -3905,7 +3853,7 @@ ...@@ -3905,7 +3853,7 @@
"cliui": { "cliui": {
"version": "3.2.0", "version": "3.2.0",
"resolved": "https://registry.npmjs.org/cliui/-/cliui-3.2.0.tgz", "resolved": "https://registry.npmjs.org/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",
...@@ -3915,12 +3863,12 @@ ...@@ -3915,12 +3863,12 @@
"clone": { "clone": {
"version": "2.1.2", "version": "2.1.2",
"resolved": "https://registry.npmjs.org/clone/-/clone-2.1.2.tgz", "resolved": "https://registry.npmjs.org/clone/-/clone-2.1.2.tgz",
"integrity": "sha1-G39Ln1kfHo+DZwQBYANFoCiHQ18=" "integrity": "sha512-3Pe/CF1Nn94hyhIYpjtiLhdCoEoz0DqQ+988E9gmeEdQZlojxnOb74wctFyuwWQHzqyf9X7C7MG8juUpqBJT8w=="
}, },
"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.npmjs.org/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",
...@@ -3936,7 +3884,7 @@ ...@@ -3936,7 +3884,7 @@
"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.npmjs.org/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",
...@@ -3967,7 +3915,7 @@ ...@@ -3967,7 +3915,7 @@
"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.npmjs.org/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",
...@@ -4770,6 +4718,14 @@ ...@@ -4770,6 +4718,14 @@
"integrity": "sha1-pvLc5hL63S7x9Rm3NVHxfoUZmDE=", "integrity": "sha1-pvLc5hL63S7x9Rm3NVHxfoUZmDE=",
"dev": true "dev": true
}, },
"deepcopy": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/deepcopy/-/deepcopy-2.1.0.tgz",
"integrity": "sha512-8cZeTb1ZKC3bdSCP6XOM1IsTczIO73fdqtwa2B0N15eAz7gmyhQo+mc5gnFuulsgN3vIQYmTgbmQVKalH1dKvQ==",
"requires": {
"type-detect": "^4.0.8"
}
},
"deepmerge": { "deepmerge": {
"version": "1.5.2", "version": "1.5.2",
"resolved": "https://registry.npm.taobao.org/deepmerge/download/deepmerge-1.5.2.tgz", "resolved": "https://registry.npm.taobao.org/deepmerge/download/deepmerge-1.5.2.tgz",
...@@ -4918,7 +4874,7 @@ ...@@ -4918,7 +4874,7 @@
"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.npmjs.org/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",
...@@ -5063,7 +5019,7 @@ ...@@ -5063,7 +5019,7 @@
"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.npmjs.org/detect-file/-/detect-file-1.0.0.tgz",
"integrity": "sha1-8NZtA2cqglyxtzvbP+YjEMjlUrc=" "integrity": "sha512-DtCOLG98P007x7wiiOmfI0fi3eIKyWiLTGJ2MDnVi/E04lWGbf+JzrRHMm0rgIIZJGtHpKpbVgLWHrv8xXpc3Q=="
}, },
"detect-node": { "detect-node": {
"version": "2.1.0", "version": "2.1.0",
...@@ -5463,19 +5419,19 @@ ...@@ -5463,19 +5419,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.npmjs.org/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.npmjs.org/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",
...@@ -5914,7 +5870,7 @@ ...@@ -5914,7 +5870,7 @@
"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.npmjs.org/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"
} }
...@@ -5980,9 +5936,9 @@ ...@@ -5980,9 +5936,9 @@
}, },
"dependencies": { "dependencies": {
"type": { "type": {
"version": "2.5.0", "version": "2.6.0",
"resolved": "https://registry.npmjs.org/type/-/type-2.5.0.tgz", "resolved": "https://registry.npmjs.org/type/-/type-2.6.0.tgz",
"integrity": "sha512-180WMDQaIMm3+7hGXWf12GtdniDEy7nYcyFMKJn/eZz/6tSLXrUN9V0wKSbMjej0I1WHWbpREDEKHtqPQa9NNw==" "integrity": "sha512-eiDBDOmkih5pMbo9OqsqPRGMljLodLcwd5XD5JbtNB0o89xZAwynY9EdCDsJU7LtcVCClu9DvM7/0Ep1hYX3EQ=="
} }
} }
}, },
...@@ -6132,7 +6088,7 @@ ...@@ -6132,7 +6088,7 @@
"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.npmjs.org/fast-levenshtein/-/fast-levenshtein-1.1.4.tgz",
"integrity": "sha1-5qdUzI8V5YmHqpy9J69m/W9OWvk=" "integrity": "sha512-Ia0sQNrMPXXkqVFt6w6M1n1oKo3NfKs+mvaV811Jwir7vAk9a6PVV9VPYf6X3BU97QiLEmuW3uXH9u87zDFfdw=="
}, },
"faye-websocket": { "faye-websocket": {
"version": "0.11.4", "version": "0.11.4",
...@@ -6323,7 +6279,7 @@ ...@@ -6323,7 +6279,7 @@
"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.npmjs.org/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"
} }
...@@ -6389,7 +6345,7 @@ ...@@ -6389,7 +6345,7 @@
"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.npmjs.org/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"
...@@ -6577,7 +6533,7 @@ ...@@ -6577,7 +6533,7 @@
"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.npmjs.org/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",
...@@ -6624,7 +6580,7 @@ ...@@ -6624,7 +6580,7 @@
"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.npmjs.org/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",
...@@ -6710,11 +6666,12 @@ ...@@ -6710,11 +6666,12 @@
} }
}, },
"glsx-components": { "glsx-components": {
"version": "1.3.7", "version": "1.4.3",
"resolved": "https://registry.npmjs.org/glsx-components/-/glsx-components-1.3.7.tgz", "resolved": "https://registry.npmjs.org/glsx-components/-/glsx-components-1.4.3.tgz",
"integrity": "sha512-kSzNVShRlR/qd0XOvB7QrZIRNMF7oZCGYxKtFyhcWgzr2ICWiA3CnTDjxPGslJX8F5oljwowYxL9U8ljzeeESQ==", "integrity": "sha512-7OdEKCpJaFbHzsyV7Ps7uswZU7YVN/tZ9btu2sKdtLtQkuv9A9ZLbYGxyHdyiKiTrkCnxkrCD79xquH5zPlk3A==",
"requires": { "requires": {
"core-js": "^3.6.5", "core-js": "^3.6.5",
"deepcopy": "^2.1.0",
"element-ui": "^2.15.6", "element-ui": "^2.15.6",
"glsx-common": "^1.3.2", "glsx-common": "^1.3.2",
"gulp": "^4.0.2", "gulp": "^4.0.2",
...@@ -6767,7 +6724,7 @@ ...@@ -6767,7 +6724,7 @@
"gulplog": { "gulplog": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/gulplog/-/gulplog-1.0.0.tgz", "resolved": "https://registry.npmjs.org/gulplog/-/gulplog-1.0.0.tgz",
"integrity": "sha1-4oxNRdBey77YGDY86PnFkmIp/+U=", "integrity": "sha512-hm6N8nrm3Y08jXie48jsC55eCZz9mnb4OirAStEk2deqeyhXU3C1otDVh+ccttMuc1sBi6RX6ZJ720hs9RCvgw==",
"requires": { "requires": {
"glogg": "^1.0.0" "glogg": "^1.0.0"
} }
...@@ -7609,7 +7566,7 @@ ...@@ -7609,7 +7566,7 @@
"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.npmjs.org/invert-kv/-/invert-kv-1.0.0.tgz",
"integrity": "sha1-EEqOSqym09jNFXqO+L+rLXo//bY=" "integrity": "sha512-xgs2NH9AE66ucSq4cNG1nhSFghr5l6tdL15Pk+jl46bmmBapgoaY/AacXyaDznAqmGL99TiLSQgO/XazFSKYeQ=="
}, },
"ip": { "ip": {
"version": "1.1.5", "version": "1.1.5",
...@@ -7837,7 +7794,7 @@ ...@@ -7837,7 +7794,7 @@
"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.npmjs.org/is-negated-glob/-/is-negated-glob-1.0.0.tgz",
"integrity": "sha1-aRC8pdqMleeEtXUbl2z1oQ/uNtI=" "integrity": "sha512-czXVVn/QEmgvej1f50BZ648vUI+em0xqMq2Sn+QncCLN4zj1UAxlT+kw/6ggQTOaZPd1HqKQGEqbpQVtJucWug=="
}, },
"is-negative-zero": { "is-negative-zero": {
"version": "2.0.2", "version": "2.0.2",
...@@ -7992,7 +7949,7 @@ ...@@ -7992,7 +7949,7 @@
"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.npmjs.org/is-valid-glob/-/is-valid-glob-1.0.0.tgz",
"integrity": "sha1-Kb8+/3Ab4tTTFdusw5vDn+j2Aao=" "integrity": "sha512-AhiROmoEFDSsjx8hW+5sGwgKVIORcXnrlAx/R0ZSeaPw70Vw0CqkGBBhHGL58Uox2eXnU1AnvXJl1XlyedO5bA=="
}, },
"is-weakref": { "is-weakref": {
"version": "1.0.2", "version": "1.0.2",
...@@ -8180,7 +8137,7 @@ ...@@ -8180,7 +8137,7 @@
"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.npmjs.org/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"
...@@ -8216,7 +8173,7 @@ ...@@ -8216,7 +8173,7 @@
"lcid": { "lcid": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz", "resolved": "https://registry.npmjs.org/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"
} }
...@@ -8224,7 +8181,7 @@ ...@@ -8224,7 +8181,7 @@
"lead": { "lead": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/lead/-/lead-1.0.0.tgz", "resolved": "https://registry.npmjs.org/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"
} }
...@@ -8475,7 +8432,7 @@ ...@@ -8475,7 +8432,7 @@
"matchdep": { "matchdep": {
"version": "2.0.0", "version": "2.0.0",
"resolved": "https://registry.npmjs.org/matchdep/-/matchdep-2.0.0.tgz", "resolved": "https://registry.npmjs.org/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",
...@@ -8486,7 +8443,7 @@ ...@@ -8486,7 +8443,7 @@
"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.npmjs.org/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",
...@@ -8497,7 +8454,7 @@ ...@@ -8497,7 +8454,7 @@
"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.npmjs.org/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"
} }
...@@ -8908,9 +8865,9 @@ ...@@ -8908,9 +8865,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.npmjs.org/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",
...@@ -9280,7 +9237,7 @@ ...@@ -9280,7 +9237,7 @@
"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.npmjs.org/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",
...@@ -9302,7 +9259,7 @@ ...@@ -9302,7 +9259,7 @@
"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.npmjs.org/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"
...@@ -9319,7 +9276,7 @@ ...@@ -9319,7 +9276,7 @@
"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.npmjs.org/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"
...@@ -9454,7 +9411,7 @@ ...@@ -9454,7 +9411,7 @@
"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.npmjs.org/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"
} }
...@@ -9483,7 +9440,7 @@ ...@@ -9483,7 +9440,7 @@
"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.npmjs.org/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"
} }
...@@ -9608,7 +9565,7 @@ ...@@ -9608,7 +9565,7 @@
"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.npmjs.org/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",
...@@ -9631,7 +9588,7 @@ ...@@ -9631,7 +9588,7 @@
"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.npmjs.org/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",
...@@ -9711,7 +9668,7 @@ ...@@ -9711,7 +9668,7 @@
"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.npmjs.org/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"
} }
...@@ -9719,7 +9676,7 @@ ...@@ -9719,7 +9676,7 @@
"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.npmjs.org/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",
...@@ -10473,7 +10430,7 @@ ...@@ -10473,7 +10430,7 @@
"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.npmjs.org/pretty-hrtime/-/pretty-hrtime-1.0.3.tgz",
"integrity": "sha1-t+PqQkNaTJsnWdmeDyAesZWALuE=" "integrity": "sha512-66hKPCr+72mlfiSjlEB1+45IjXSqvVAIy6mocupoww4tBFE9R9IhwwUGoI4G++Tc9Aq+2rxOt0RFU6gPcrte0A=="
}, },
"process": { "process": {
"version": "0.11.10", "version": "0.11.10",
...@@ -10698,7 +10655,7 @@ ...@@ -10698,7 +10655,7 @@
"rechoir": { "rechoir": {
"version": "0.6.2", "version": "0.6.2",
"resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.6.2.tgz", "resolved": "https://registry.npmjs.org/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"
} }
...@@ -10839,7 +10796,7 @@ ...@@ -10839,7 +10796,7 @@
"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.npmjs.org/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",
...@@ -10949,7 +10906,7 @@ ...@@ -10949,7 +10906,7 @@
"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.npmjs.org/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",
...@@ -11000,7 +10957,7 @@ ...@@ -11000,7 +10957,7 @@
"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.npmjs.org/require-main-filename/-/require-main-filename-1.0.1.tgz",
"integrity": "sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE=" "integrity": "sha512-IqSUtOVP4ksd1C/ej5zeEh/BIP2ajqpn8c5x+q99gvcIG/Qf0cud5raVnE/Dwd0ua9TXYDoDc0RE5hBSdz22Ug=="
}, },
"requires-port": { "requires-port": {
"version": "1.0.0", "version": "1.0.0",
...@@ -11034,7 +10991,7 @@ ...@@ -11034,7 +10991,7 @@
"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.npmjs.org/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"
...@@ -11049,7 +11006,7 @@ ...@@ -11049,7 +11006,7 @@
"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.npmjs.org/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"
} }
...@@ -11402,7 +11359,7 @@ ...@@ -11402,7 +11359,7 @@
"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.npmjs.org/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"
} }
...@@ -12013,7 +11970,7 @@ ...@@ -12013,7 +11970,7 @@
"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.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz",
"integrity": "sha1-VHxws0fo0ytOEI6hoqFZ5f3eGcA=" "integrity": "sha512-KGzahc7puUKkzyMt+IqAep+TVNbKP+k2Lmwhub39m1AsTSkaDutx56aDCo+HLDzf/D26BIHTJWNiTG1KAJiQCg=="
}, },
"stackframe": { "stackframe": {
"version": "1.2.0", "version": "1.2.0",
...@@ -12218,7 +12175,7 @@ ...@@ -12218,7 +12175,7 @@
"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.npmjs.org/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"
...@@ -12518,7 +12475,7 @@ ...@@ -12518,7 +12475,7 @@
"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.npmjs.org/time-stamp/-/time-stamp-1.1.0.tgz",
"integrity": "sha1-dkpaEa9QVhkhsTPztE5hhofg9cM=" "integrity": "sha512-gLCeArryy2yNTRzTGKbZbloctj64jkZ57hj5zdraXue6aFgd6PmvVtEyiUU+hvU0v7q08oVv8r8ev0tRo6bvgw=="
}, },
"timers-browserify": { "timers-browserify": {
"version": "2.0.12", "version": "2.0.12",
...@@ -12547,7 +12504,7 @@ ...@@ -12547,7 +12504,7 @@
"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.npmjs.org/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"
...@@ -12606,7 +12563,7 @@ ...@@ -12606,7 +12563,7 @@
"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.npmjs.org/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"
} }
...@@ -12701,6 +12658,11 @@ ...@@ -12701,6 +12658,11 @@
"prelude-ls": "~1.1.2" "prelude-ls": "~1.1.2"
} }
}, },
"type-detect": {
"version": "4.0.8",
"resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz",
"integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g=="
},
"type-fest": { "type-fest": {
"version": "0.6.0", "version": "0.6.0",
"resolved": "https://registry.npmmirror.com/type-fest/download/type-fest-0.6.0.tgz", "resolved": "https://registry.npmmirror.com/type-fest/download/type-fest-0.6.0.tgz",
...@@ -12761,7 +12723,7 @@ ...@@ -12761,7 +12723,7 @@
"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.npmjs.org/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",
...@@ -12783,7 +12745,7 @@ ...@@ -12783,7 +12745,7 @@
"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.npmjs.org/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": "2.0.0", "version": "2.0.0",
...@@ -13058,7 +13020,7 @@ ...@@ -13058,7 +13020,7 @@
"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.npmjs.org/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",
...@@ -13131,7 +13093,7 @@ ...@@ -13131,7 +13093,7 @@
"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.npmjs.org/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",
...@@ -13145,7 +13107,7 @@ ...@@ -13145,7 +13107,7 @@
"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.npmjs.org/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"
} }
...@@ -13238,6 +13200,87 @@ ...@@ -13238,6 +13200,87 @@
} }
} }
}, },
"vue-loader-v16": {
"version": "npm:vue-loader@16.8.3",
"resolved": "https://registry.npmjs.org/vue-loader/-/vue-loader-16.8.3.tgz",
"integrity": "sha512-7vKN45IxsKxe5GcVCbc2qFU5aWzyiLrYJyUuMz4BQLKctCj/fmCa0w6fGiiQ2cLFetNcek1ppGJQDCup0c1hpA==",
"dev": true,
"optional": true,
"requires": {
"chalk": "^4.1.0",
"hash-sum": "^2.0.0",
"loader-utils": "^2.0.0"
},
"dependencies": {
"ansi-styles": {
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
"dev": true,
"optional": true,
"requires": {
"color-convert": "^2.0.1"
}
},
"chalk": {
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
"dev": true,
"optional": true,
"requires": {
"ansi-styles": "^4.1.0",
"supports-color": "^7.1.0"
}
},
"color-convert": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
"dev": true,
"optional": true,
"requires": {
"color-name": "~1.1.4"
}
},
"color-name": {
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
"dev": true,
"optional": true
},
"has-flag": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
"dev": true,
"optional": true
},
"loader-utils": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.2.tgz",
"integrity": "sha512-TM57VeHptv569d/GKh6TAYdzKblwDNiumOdkFnejjD0XwTH87K90w3O7AiJRqdQoXygvi1VQTJTLGhJl7WqA7A==",
"dev": true,
"optional": true,
"requires": {
"big.js": "^5.2.2",
"emojis-list": "^3.0.0",
"json5": "^2.1.2"
}
},
"supports-color": {
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
"integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
"dev": true,
"optional": true,
"requires": {
"has-flag": "^4.0.0"
}
}
}
},
"vue-router": { "vue-router": {
"version": "3.5.3", "version": "3.5.3",
"resolved": "https://registry.npmmirror.com/vue-router/download/vue-router-3.5.3.tgz", "resolved": "https://registry.npmmirror.com/vue-router/download/vue-router-3.5.3.tgz",
...@@ -13893,7 +13936,7 @@ ...@@ -13893,7 +13936,7 @@
"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.npmjs.org/which-module/-/which-module-1.0.0.tgz",
"integrity": "sha1-u6Y8qGGUiZT/MHc2CJ47lgJsKk8=" "integrity": "sha512-F6+WgncZi/mJDrammbTuHe1q0R5hOXv/mBaiNA2TCNT/LTHusX0V+CJnj9XT8ki5ln2UZyyddDgHfCzyrOH7MQ=="
}, },
"wide-align": { "wide-align": {
"version": "1.1.5", "version": "1.1.5",
...@@ -13931,7 +13974,7 @@ ...@@ -13931,7 +13974,7 @@
"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.npmjs.org/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"
......
...@@ -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",
"vue": "^2.6.10", "vue": "^2.6.10",
"vue-router": "^3.1.3", "vue-router": "^3.1.3",
......
...@@ -161,6 +161,14 @@ ...@@ -161,6 +161,14 @@
flex-direction: column; flex-direction: column;
} }
.tableTopButton {
display: flex;
align-items: center;
justify-content: flex-end;
margin-bottom: 10px;
margin-right: 2px;
}
.el-message { .el-message {
z-index: 3000 !important; z-index: 3000 !important;
} }
...@@ -172,8 +180,8 @@ ...@@ -172,8 +180,8 @@
} }
.el-message.el-message--error.customMessage { .el-message.el-message--error.customMessage {
& > p { &>p {
& > p { &>p {
white-space: nowrap; white-space: nowrap;
} }
} }
...@@ -201,11 +209,13 @@ ...@@ -201,11 +209,13 @@
background-color: #fff; background-color: #fff;
border-color: #5850ff; border-color: #5850ff;
} }
.el-button--primary.is-plain:hover { .el-button--primary.is-plain:hover {
color: #7973ff; color: #7973ff;
background-color: #fff; background-color: #fff;
border-color: #7973ff; border-color: #7973ff;
} }
.el-button--primary.is-plain:active { .el-button--primary.is-plain:active {
color: #3a32e1; color: #3a32e1;
background-color: #fff; background-color: #fff;
...@@ -213,12 +223,13 @@ ...@@ -213,12 +223,13 @@
} }
} }
.loadingClass{ .loadingClass {
.el-icon-loading{ .el-icon-loading {
font-size: 22px; font-size: 22px;
} }
.el-icon-loading, .el-icon-loading,
.el-loading-text{ .el-loading-text {
color: #fff!important; color: #fff !important;
} }
} }
\ No newline at end of file \ No newline at end of file
<template> <template>
<div class="order-container"> <div class="order-container">
<div class="find_wrap"> <div class="pannel">
<div class="left_widget"> <GLCombiForm ref="showSearch" :searchSelectObj="searchSelectObj" :formObj="searchForm" :formData="searchFormData" @handleOk="toHandlerFindParam" @handleRest="handleRestFn"></GLCombiForm>
<div class="cell_wrapper flex_sc">
<div class="cell_label h13_title">客户姓名</div>
<el-input size="mini" class="find_width" clearable placeholder="请输入" suffix-icon="el-icon-search" v-model="customName"></el-input>
</div>
<div class="cell_wrapper flex_sc">
<div class="cell_label h13_title">核销状态</div>
<el-select class="find_width" clearable size="mini" v-model="hxstatus" placeholder="请选择">
<el-option v-for="item in statusList" :key="item.value" :label="item.label" :value="item.value"></el-option>
</el-select>
</div>
<div class="cell_wrapper flex_sc">
<div class="cell_label h13_title">领用时间</div>
<el-date-picker :picker-options="pickerOptions" class="find_width" clearable size="mini" v-model="dateBetween" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期"></el-date-picker>
</div>
<div class="cell_wrapper customselect flex_sc">
<my-drop-menu :options="employeeNameList" @getValue="changeEmploy">
<div slot="right_con">
<el-select class="find_width" clearable size="mini" v-model="employeeName" placeholder="请选择">
<el-option v-for="item in employeeNameData" :key="item" :label="item" :value="item"></el-option>
</el-select>
</div>
</my-drop-menu>
</div>
<div class="cell_wrapper flex_sc">
<div class="cell_label h13_title">手机号</div>
<el-input class="find_width" clearable size="mini" placeholder="请输入" suffix-icon="el-icon-search" v-model="phoneNum"></el-input>
</div>
<div class="cell_wrapper flex_sc">
<div class="cell_label h13_title">核销时间</div>
<el-date-picker class="find_width" :picker-options="pickerOptions" clearable size="mini" v-model="hxdateBetween" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期"></el-date-picker>
</div>
</div>
<div v-if="!showNewLine" class="right_widget">
<div class="cell_wrapper flex_sc flex_esc">
<el-button size="mini" @click="toshowDialog">查看礼券</el-button>
<!-- <el-button size="mini" @click="toExport">导出数据</el-button> -->
<GLButton size="mini" fn="导出礼券" @click="toExport">导出数据</GLButton>
</div>
<div style="height: 2px"></div>
<div class="cell_wrapper flex_sc">
<el-button class="cell_btn" size="mini" @click="clearFind">重置</el-button>
<el-button class="cell_btn" size="mini" type="primary" @click="toHandlerFindParam">查询</el-button>
</div>
</div>
</div> </div>
<div v-if="showNewLine" class="find_wrap flex_wrap_new">
<el-button size="mini" @click="toshowDialog">查看礼券</el-button> <div class="pannel tableTopButton">
<el-button size="mini" @click="toExport">导出数据</el-button> <el-button size="small" @click="toshowDialog">查看礼券</el-button>
<el-button class="cell_btn" size="mini" @click="clearFind">重置</el-button> <GLButton size="small" fn="导出礼券" @click="toExport">导出数据</GLButton>
<el-button class="cell_btn" size="mini" type="primary" @click="toHandlerFindParam">查询</el-button>
</div> </div>
<div class="table_wrap"> <div class="table_wrap">
<GLTable ref="table" :hasNum="false" :layout="layout" :tableData="tableData" :tableTotal="tableTotal" :pageConf="pageConf" :tableParams="tableParams" @refreshTable="toGetCouponsList"></GLTable> <GLTable ref="table" :hasNum="false" :tableData="tableData" :tableTotal="tableTotal" :tableParams="tableParams" @refreshTable="toGetCouponsList"></GLTable>
</div> </div>
<el-dialog width="60%" :visible.sync="dialogTableVisible"> <el-dialog width="60%" :visible.sync="dialogTableVisible">
<div slot="title" class="customTitle"> <div slot="title" class="customTitle">
<div class="title1">共计{{ tabletotal1 }}条数据</div> <div class="title1">共计{{ tabletotal1 }}条数据</div>
...@@ -63,63 +20,61 @@ ...@@ -63,63 +20,61 @@
<span class="title2">专属顾问</span> <span class="title2">专属顾问</span>
<span class="h9_title">进行配置,如需新增详情请联系管理员。</span> <span class="h9_title">进行配置,如需新增详情请联系管理员。</span>
</div> </div>
<GLTable ref="table1" :layout="layout1" :pageConf="pageConf1" :tableTotal="tabletotal1" :hasNum="false" :tableData="tableData1" :tableParams="tableParams1" @refreshTable="toOpenCoupons"></GLTable> <GLTable ref="table1" :tableTotal="tabletotal1" :hasNum="false" :tableData="tableData1" :tableParams="tableParams1" @refreshTable="toOpenCoupons"></GLTable>
</el-dialog> </el-dialog>
</div> </div>
</template> </template>
<script> <script>
import myDropMenu from '../../components/down-menu/index.vue'
import { findCoupons, checkCoupons, exportCoupons, getEmployName } from '../../api/modules/rules' import { findCoupons, checkCoupons, exportCoupons, getEmployName } from '../../api/modules/rules'
import { converterApi } from '../../api/modules/converter' import { converterApi } from '../../api/modules/converter'
import utils from '../../util/util' import utils from '../../util/util'
export default { export default {
name: '', name: '',
components: {
'my-drop-menu': myDropMenu
},
data() { data() {
return { return {
layout: 'sizes, prev, pager, next, jumper, ->, total',
layout1: 'sizes, prev, pager, next, jumper, ->, total',
pageConf: { pageSize: 'pageSize', pageNum: 'pageNum', totalCount: 'total' },
pageConf1: { pageSize: 'pageSize', pageNum: 'pageNum', totalCount: 'total' },
tableParams: { tableParams: {
tableOption: false, tableOption: false,
btnId: new Date().getTime() + parseInt(Math.random() * 1000), btnId: new Date().getTime() + parseInt(Math.random() * 1000),
tableColumns: [ tableColumns: [
{ {
label: '领用时间', label: '领用时间',
prop: 'createdDate' prop: 'createdDate',
width: '180'
}, },
{ {
label: '客户姓名', label: '客户姓名',
prop: 'customerName' prop: 'customerName',
width: '280'
}, },
{ {
label: '手机号', label: '手机号',
prop: 'customerPhone' prop: 'customerPhone',
width: '150'
}, },
{ {
label: '礼券名称', label: '礼券名称',
prop: 'couponName' prop: 'couponName',
width: '280px'
}, },
{ {
label: '发券人', label: '发券人',
prop: 'employeeName' prop: 'employeeName',
width: '120px'
}, },
{ {
label: '核销状态', label: '核销状态',
prop: 'status', prop: 'status'
width: '100px'
}, },
{ {
label: '转化人', label: '转化人',
prop: 'sellerName' prop: 'sellerName',
width: '280'
}, },
{ {
label: '核销时间', label: '核销时间',
prop: 'usedTime' prop: 'usedTime',
width: '180'
} }
] ]
}, },
...@@ -141,11 +96,13 @@ export default { ...@@ -141,11 +96,13 @@ export default {
}, },
{ {
label: '总数', label: '总数',
prop: 'amount' prop: 'amount',
width: '120px'
}, },
{ {
label: '余量', label: '余量',
prop: 'remainAmount' prop: 'remainAmount',
width: '120px'
}, },
{ {
label: '发放', label: '发放',
...@@ -154,7 +111,8 @@ export default { ...@@ -154,7 +111,8 @@ export default {
}, },
{ {
label: '核销', label: '核销',
prop: 'usedAmount' prop: 'usedAmount',
width: '100px'
}, },
{ {
label: '配置时间', label: '配置时间',
...@@ -166,62 +124,98 @@ export default { ...@@ -166,62 +124,98 @@ export default {
tableData1: [], tableData1: [],
tableTotal: 0, tableTotal: 0,
tabletotal1: 0, tabletotal1: 0,
statusList: [ employeeNameData: [],
dialogTableVisible: false,
/**新加搜索栏参数 */
searchSelectObj: {
columType: {
attr: 1,
value: ''
}
},
searchForm: {
customName: '',
hxstatus: '',
dateBetween: '',
phoneNum: '',
hxdateBetween: '',
employeeName: ''
},
searchFormData: [
{ {
value: 'Y', label: '客户姓名',
label: '已核销' name: 'customName',
type: 'input',
isClear: true
}, },
{ {
value: 'N', label: '核销状态',
label: '待核销' name: 'hxstatus',
} type: 'select',
], optionId: 'confId',
employeeNameList: [ optionLabel: 'confName',
isClear: true,
noFilter: true,
optionList: [
{
confId: 'Y',
confName: '已核销'
},
{
confId: 'N',
confName: '待核销'
}
]
},
{ {
label: '发券人', label: '领用时间',
value: '1' name: 'dateBetween',
type: 'datePicker',
isClear: true
}, },
{ {
label: '转化人', type: 'doubleSelect',
value: '2' selectName: 'columType',
} isClear: true,
], selectOption: [
employeeNameData: [], {
dialogTableVisible: false, label: '发券人',
currentPage1: 1, name: 1
pageSize1: 10, },
// 查询条件 {
customName: '', label: '转化人',
hxstatus: '', name: 2
dateBetween: '', }
columType: 0, ],
hxdateBetween: '', name: 'employeeName',
phoneNum: '', optionId: 'confId',
employeeName: '', optionLabel: 'confName',
// 日期限制 optionList: [],
pickerOptions: {}, handleSelectChange: value => {
screenWidth: document.body.clientWidth, this.getEmployNameList(value)
showNewLine: false }
} },
}, {
watch: { label: '手机号',
screenWidth: { name: 'phoneNum',
immediate: true, type: 'input',
handler(newValue) { isClear: true,
if (newValue < 1400) { maxlength: '11'
this.showNewLine = true },
} else { {
this.showNewLine = false label: '核销时间',
name: 'hxdateBetween',
type: 'datePicker',
isClear: true
} }
} ]
} }
}, },
created() { created() {},
// this.pickerOptions = this.setDateLimit()
},
mounted() { mounted() {
this.toGetCouponsList() this.toGetCouponsList()
this.toOpenCoupons() this.toOpenCoupons()
this.getEmployNameList(1)
let that = this let that = this
window.addEventListener('resize', () => { window.addEventListener('resize', () => {
let width = document.body.clientWidth let width = document.body.clientWidth
...@@ -229,71 +223,56 @@ export default { ...@@ -229,71 +223,56 @@ export default {
}) })
}, },
methods: { methods: {
// 设置日期组件时间范围 handleRestFn() {
setDateLimit() { this.searchForm = {
let openInfo = JSON.parse(localStorage.getItem('openInfo')) customName: '',
let startdate = utils.dateFormat(openInfo.openDate) hxstatus: '',
let obj = { dateBetween: '',
disabledDate(time) { phoneNum: '',
return time.getTime() > Date.now() || time.getTime() < new Date(startdate).getTime() hxdateBetween: '',
} employeeName: ''
} }
return obj this.newCurrentHttpParma = {}
}, this.toGetCouponsList()
// 发券人切换
changeEmploy(e) {
this.columType = e
this.getEmployNameList(e)
},
clearFind() {
let params = {}
this.customName = ''
this.hxstatus = ''
this.dateBetween = ''
this.columType = ''
this.hxdateBetween = ''
this.phoneNum = ''
this.employeeName = ''
this.toGetCouponsList(params)
}, },
// 处理查询条件 // 处理查询条件
toHandlerFindParam() { toHandlerFindParam() {
let params = {} let params = {}
if (this.customName) { if (this.searchForm.customName) {
//客户姓名 //客户姓名
params.customerName = this.customName params.customerName = this.searchForm.customName
} }
if (this.hxstatus) { if (this.searchForm.hxstatus) {
//核销状态 //核销状态
params['usedFlagList[0]'] = this.hxstatus params['usedFlagList[0]'] = this.searchForm.hxstatus
} }
if (this.dateBetween) { if (this.searchForm.dateBetween) {
//领用时间 //领用时间
let startDate = utils.dateFormat(this.dateBetween[0], 'YYYY-MM-DD 00:00:00') let startDate = utils.dateFormat(this.searchForm.dateBetween[0], 'YYYY-MM-DD 00:00:00')
let endDate = utils.dateFormat(this.dateBetween[1], 'YYYY-MM-DD 23:59:59') let endDate = utils.dateFormat(this.searchForm.dateBetween[1], 'YYYY-MM-DD 23:59:59')
params.startDate = startDate params.startDate = startDate
params.endDate = endDate params.endDate = endDate
} }
//发券人 //发券人
if (this.employeeName && this.columType) { if (this.searchForm.employeeName != '' && this.columType) {
params.columType = this.columType params.columType = this.columType
let name = this.columType == 1 ? 'employeeNameList[0]' : 'sellerNameList[0]' let name = this.columType == 1 ? 'employeeNameList[0]' : 'sellerNameList[0]'
params[name] = this.employeeName params[name] = this.employeeNameData[this.searchForm.employeeName]
} }
if (this.hxdateBetween) { if (this.searchForm.hxdateBetween) {
// 核销时间 // 核销时间
let startDate = utils.dateFormat(this.hxdateBetween[0], 'YYYY-MM-DD 00:00:00') let startDate = utils.dateFormat(this.searchForm.hxdateBetween[0], 'YYYY-MM-DD 00:00:00')
let endDate = utils.dateFormat(this.hxdateBetween[1], 'YYYY-MM-DD 23:59:59') let endDate = utils.dateFormat(this.searchForm.hxdateBetween[1], 'YYYY-MM-DD 23:59:59')
params.startUsedTime = startDate params.startUsedTime = startDate
params.endUsedTime = endDate params.endUsedTime = endDate
} }
if (this.phoneNum) { if (this.searchForm.phoneNum) {
// 手机号 // 手机号
params.customerPhone = this.phoneNum params.customerPhone = this.searchForm.phoneNum
} }
this.newCurrentHttpParma = params
this.$refs.table.page.pageNum = 1 this.$refs.table.page.pageNum = 1
this.newHttpParam = params this.toGetCouponsList()
this.toGetCouponsList(true)
}, },
toshowDialog() { toshowDialog() {
this.dialogTableVisible = true this.dialogTableVisible = true
...@@ -304,17 +283,13 @@ export default { ...@@ -304,17 +283,13 @@ export default {
routerMethod: method, routerMethod: method,
currentPage: this.$refs.table.page.pageNum, currentPage: this.$refs.table.page.pageNum,
pageSize: this.$refs.table.page.pageSize, pageSize: this.$refs.table.page.pageSize,
...this.newHttpParam ...this.newCurrentHttpParma
} }
converterApi(para).then(res => { converterApi(para).then(res => {
this.httpParam = {
currentPage: this.$refs.table.page.pageNum,
pageSize: this.$refs.table.page.pageSize,
...this.newHttpParam
}
if (!res) { if (!res) {
return return
} }
res.list.length ? (this.$refs.table.tableHeightValues = '') : this.$refs.table.setTableHeightFun()
this.tableData = res.list.map(item => { this.tableData = res.list.map(item => {
item.createdDate = utils.dateFormat(item.createdDate, 'YYYY-MM-DD HH:mm:ss') item.createdDate = utils.dateFormat(item.createdDate, 'YYYY-MM-DD HH:mm:ss')
item.usedTime = item.usedTime ? utils.dateFormat(item.usedTime, 'YYYY-MM-DD HH:mm:ss') : '--' item.usedTime = item.usedTime ? utils.dateFormat(item.usedTime, 'YYYY-MM-DD HH:mm:ss') : '--'
...@@ -324,6 +299,11 @@ export default { ...@@ -324,6 +299,11 @@ export default {
return item return item
}) })
this.tableTotal = res.total this.tableTotal = res.total
this.exportHttp = {
currentPage: this.$refs.table.page.pageNum,
pageSize: this.$refs.table.page.pageSize,
...this.newCurrentHttpParma
}
}) })
}, },
toOpenCoupons() { toOpenCoupons() {
...@@ -350,7 +330,7 @@ export default { ...@@ -350,7 +330,7 @@ export default {
let method = exportCoupons() let method = exportCoupons()
let para = { let para = {
routerMethod: method, routerMethod: method,
...this.httpParam ...this.exportHttp
} }
converterApi(para).then(res => { converterApi(para).then(res => {
let tempaa = utils.getExplorer() let tempaa = utils.getExplorer()
...@@ -366,6 +346,7 @@ export default { ...@@ -366,6 +346,7 @@ export default {
}, },
// 获取发券人和转化人列表 // 获取发券人和转化人列表
getEmployNameList(type) { getEmployNameList(type) {
this.columType = type
let method = getEmployName() let method = getEmployName()
let para = { let para = {
routerMethod: method, routerMethod: method,
...@@ -375,90 +356,27 @@ export default { ...@@ -375,90 +356,27 @@ export default {
} }
converterApi(para).then(res => { converterApi(para).then(res => {
this.employeeNameData = res this.employeeNameData = res
let arr = []
res.forEach((item, index) => {
arr.push({
confId: index,
confName: item
})
})
this.searchFormData[3].optionList = arr
}) })
} }
} }
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.find_wrap { .pannel {
box-sizing: border-box; padding: 0 15px;
padding: 9px 0px;
display: flex;
position: relative;
.left_widget {
flex: 3;
display: flex;
align-items: center;
flex-wrap: wrap;
box-sizing: border-box;
}
.right_widget {
flex: 0.2;
box-sizing: border-box;
padding-right: 15px;
}
.cell_wrapper {
box-sizing: border-box;
display: flex;
align-items: center;
margin-bottom: 18px;
.cell_label {
text-align: right;
padding-right: 15px;
white-space: nowrap;
width: 80px;
}
.cell_btn {
width: 78px;
}
.cell_btn_max {
width: 156px;
}
}
.flex_esc {
display: flex;
justify-content: flex-end;
}
.customselect /deep/ .el-select .el-input--mini .el-input__inner {
// border-left: none;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
.find_width {
width: 215px;
}
.cell_position {
position: absolute;
bottom: 9px;
right: 15px;
}
.cell_position_next {
position: absolute;
bottom: -18px;
right: 15px;
}
.cell_position_export {
position: absolute;
bottom: 56px;
right: 15px;
}
}
.flex_wrap_new {
display: flex;
align-items: center;
justify-content: flex-end;
box-sizing: border-box;
padding-right: 15px;
.cell_btn {
width: 78px;
}
} }
.table_wrap { .table_wrap {
padding: 0 15px; padding: 0 15px;
padding-bottom: 10px; padding-bottom: 10px;
} }
.customTitle { .customTitle {
display: flex; display: flex;
align-items: center; align-items: center;
...@@ -474,11 +392,4 @@ export default { ...@@ -474,11 +392,4 @@ export default {
color: #5850ff; color: #5850ff;
} }
} }
// .table_wrap /deep/ .el-table--enable-row-hover .el-table__body tr:hover{
// background: #f4f3ff !important;
// }
// .table_wrap /deep/ .el-table tbody tr:hover >td{
// background: #f4f3ff !important;
// }
</style> </style>
...@@ -7,72 +7,20 @@ ...@@ -7,72 +7,20 @@
<p class="h14_title">其他因素导致未分账成功的,在线下对账中查看,统一下个月月初结算上个月订单。</p> <p class="h14_title">其他因素导致未分账成功的,在线下对账中查看,统一下个月月初结算上个月订单。</p>
</div> </div>
<div class="tip_btn flex_scb"> <div class="tip_btn flex_scb">
<el-button size="mini" :type="curDivisionType == 2 ? 'primary' : ''" @click="changDivisionType(2)">线上分账</el-button> <el-button size="small" :type="curDivisionType == 2 ? 'primary' : ''" @click="changDivisionType(2)">线上分账</el-button>
<el-button size="mini" :type="curDivisionType == 1 ? 'primary' : ''" @click="changDivisionType(1)">线下对账</el-button> <el-button size="small" :type="curDivisionType == 1 ? 'primary' : ''" @click="changDivisionType(1)">线下对账</el-button>
</div> </div>
</div> </div>
<div class="tip_wrap_line"></div> <div class="tip_wrap_line"></div>
<div class="find_wrap">
<div class="left_widget"> <div v-if="curDivisionType == 2" class="pannel">
<div v-if="curDivisionType == 2" class="cell_wrapper flex_sc"> <GLCombiForm ref="showSearch1" :key="refreshKey1" :formObj="searchForm" :formData="searchFormData1" @handleOk="handleOkFn" @handleRest="handleRestFn"></GLCombiForm>
<div class="cell_label h13_title">分账时间</div>
<el-date-picker class="find_width" :picker-options="pickerOptions" size="mini" clearable v-model="divisionTime" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期"></el-date-picker>
</div>
<div class="cell_wrapper flex_sc">
<div class="cell_label h13_title">支付时间</div>
<el-date-picker class="find_width" :picker-options="pickerOptions" size="mini" clearable v-model="payTime" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期"></el-date-picker>
</div>
<div v-if="accountLevel == 4 && curDivisionType == 2" class="cell_wrapper flex_sc">
<div class="cell_label h13_title">分账状态</div>
<el-select class="find_width" clearable size="mini" v-model="divisionTypeStatus" placeholder="请选择">
<el-option v-for="item in disivionOptions" :key="item.value" :label="item.label" :value="item.value"></el-option>
</el-select>
</div>
<div v-if="accountLevel == 3" class="cell_wrapper flex_sc">
<div class="cell_label h13_title">商户名</div>
<el-select class="find_width" clearable size="mini" v-model="storeId" placeholder="请选择">
<el-option v-for="item in list" :key="item.id" :label="item.merchantName" :value="item.id"></el-option>
</el-select>
</div>
<div class="cell_wrapper flex_sc">
<div class="cell_label h13_title">主订单编号</div>
<el-input class="find_width" size="mini" clearable placeholder="请输入" suffix-icon="el-icon-search" v-model="orderNum"></el-input>
</div>
<div v-if="accountLevel != 4 && curDivisionType == 2" class="cell_wrapper flex_sc">
<div class="cell_label h13_title">分账状态</div>
<el-select class="find_width" clearable size="mini" v-model="divisionTypeStatus" placeholder="请选择">
<el-option v-for="item in disivionOptions" :key="item.value" :label="item.label" :value="item.value"></el-option>
</el-select>
</div>
<div v-if="accountLevel == 4" class="cell_wrapper flex_sc">
<div class="cell_label h13_title">商品名称</div>
<el-input class="find_width" size="mini" clearable placeholder="请输入" suffix-icon="el-icon-search" v-model="goodsName"></el-input>
</div>
</div>
<div class="right_widget">
<div class="cell_wrapper flex_sc">
<!-- <el-button class="cell_btn_max" size="mini" @click="toExport">导出数据</el-button> -->
<GLButton class="cell_btn_max" size="mini" fn="导出分账订单" @click="toExport">导出数据</GLButton>
</div>
<div class="cell_wrapper flex_sc">
<el-button class="cell_btn" size="mini" @click="clearFind">重置</el-button>
<el-button class="cell_btn" size="mini" type="primary" @click="handlerParams">查询</el-button>
</div>
</div>
</div> </div>
<div v-if="accountLevel < 3" class="find_wrap new_find_wrapper"> <div v-if="curDivisionType == 1" class="pannel">
<div class="left_widget"> <GLCombiForm ref="showSearch2" :key="refreshKey2" :formObj="searchForm" :formData="searchFormData2" @handleOk="handleOkFn" @handleRest="handleRestFn"></GLCombiForm>
<div class="cell_wrapper flex_sc" style="margin-right: 5px"> </div>
<!-- <div v-if="accountLevel == 2" class="cell_label h13_title">市级经销商</div> <div class="pannel tableTopButton">
<div v-if="accountLevel == 1 && !isAdmin" class="cell_label h13_title">省级经销商</div> <GLButton size="small" fn="导出分账订单" @click="toExport">导出数据</GLButton>
<div v-if="accountLevel == 1 && isAdmin" class="cell_label h13_title">工厂</div> -->
<div class="cell_label h13_title">商户名</div>
<el-select class="find_width" clearable size="mini" filterable v-model="curMerchantNo" placeholder="请选择" @change="selectCurMechant">
<el-option v-for="item in list" :key="item.id" :label="item.merchantName" :value="item.merchantNo"></el-option>
</el-select>
</div>
<selectSearch ref="myNewSelect" :show="curMerchantNo ? true : false" @getId="getCurStoreId"></selectSearch>
</div>
</div> </div>
<div class="tipper flex_scb"> <div class="tipper flex_scb">
<div class="tip_text"> <div class="tip_text">
...@@ -95,79 +43,39 @@ ...@@ -95,79 +43,39 @@
<span>元)。</span> <span>元)。</span>
</template> </template>
</div> </div>
<!-- <div class="right_select">
<el-select class="myfindWidth" size="mini" collapse-tags multiple clearable v-model="fieldListData" placeholder="请选择要展示的字段">
<el-option v-for="item in fieldList" :key="item.value" :label="item.label" :value="item.value"></el-option>
</el-select>
</div> -->
</div> </div>
<!-- 线上分账 -->
<div :hidden="curDivisionType == 1" class="table_wrap"> <div :hidden="curDivisionType == 1" class="table_wrap">
<GLTable ref="table" :layout="layout" :tableData="tableData" :tableTotal="tableTotal" :pageConf="pageConf" :tableParams="tableParams" @refreshTable="tableRefreshData"></GLTable> <GLTable ref="table2" :tableData="tableData" :tableTotal="tableTotal" :tableParams="tableParams" @refreshTable="toGetMyDivision"></GLTable>
<!-- <GLTable ref="table" :layout="layout" :tableData="tableData" :tableTotal="tableTotal" :pageConf="pageConf" :tableParams="tableParams1" @refreshTable="toGetMyDivision"></GLTable> -->
</div> </div>
<!-- 线下对账 -->
<div :hidden="curDivisionType == 2" class="table_wrap"> <div :hidden="curDivisionType == 2" class="table_wrap">
<GLTable ref="table" :layout="layout" :tableData="tableData" :tableTotal="tableTotal" :pageConf="pageConf" :tableParams="tableParams1" @refreshTable="tableRefreshData"></GLTable> <GLTable ref="table1" :tableData="tableData" :tableTotal="tableTotal" :tableParams="tableParams1" @refreshTable="toGetMyDivision"></GLTable>
</div> </div>
</div> </div>
</template> </template>
<script> <script>
import { mydivision, exportMydivision, myAccountTotalNumOfJT } from '../../api/modules/rules' import { mydivision, exportMydivision, myAccountTotalNumOfJT, getMerchantList } from '../../api/modules/rules'
import { converterApi } from '../../api/modules/converter' import { converterApi } from '../../api/modules/converter'
import utils from '../../util/util' import utils from '../../util/util'
const divistionStatus = ['待分账', '分账中', '分账成功', '分账失败'] const divistionStatus = ['待分账', '分账中', '分账成功', '分账失败']
import selectSearch from '../../components/search-select/index.vue' const SERCH_GOODSNAME = {
label: '商品名称',
name: 'goodsName',
type: 'input',
isClear: true
}
export default { export default {
name: '', name: '',
components: {
selectSearch
},
props: { props: {
list: Array list: Array
}, },
data() { data() {
return { return {
timeOptions: [ refreshKey1: new Date(),
{ refreshKey2: new Date() + 1,
value: 1,
label: '分账时间'
},
{
value: 2,
label: '支付时间'
}
],
timeChangeName: '分账时间',
disivionOptions: [
{
value: 1,
label: '待分账'
},
{
value: 2,
label: '分账中'
},
{
value: 3,
label: '分账成功'
},
{
value: 4,
label: '分账失败'
}
],
numOptions: [
{
value: 1,
label: '主订单编号'
},
{
value: 2,
label: '交易参考号'
}
],
orderNumName: '主订单编号',
layout: 'sizes, prev, pager, next, jumper, ->, total',
pageConf: { pageSize: 'pageSize', pageNum: 'pageNum', totalCount: 'total' },
tableTotal: 0, tableTotal: 0,
tableParams2: { tableParams2: {
tableOption: false, tableOption: false,
...@@ -186,12 +94,12 @@ export default { ...@@ -186,12 +94,12 @@ export default {
{ {
label: '客户姓名', label: '客户姓名',
prop: 'customerName', prop: 'customerName',
width: '110px' width: '180px'
}, },
{ {
label: '车架号', label: '车架号',
prop: 'standNo', prop: 'standNo',
width: '160px' width: '180px'
}, },
{ {
label: '分账账户', label: '分账账户',
...@@ -201,6 +109,7 @@ export default { ...@@ -201,6 +109,7 @@ export default {
{ {
label: '总分账金额(元)', label: '总分账金额(元)',
prop: 'divisionMoney', prop: 'divisionMoney',
align: 'right',
width: '150px' width: '150px'
}, },
{ {
...@@ -262,12 +171,12 @@ export default { ...@@ -262,12 +171,12 @@ export default {
{ {
label: '客户姓名', label: '客户姓名',
prop: 'customerName', prop: 'customerName',
width: '110px' width: '180px'
}, },
{ {
label: '车架号', label: '车架号',
prop: 'standNo', prop: 'standNo',
width: '110px' width: '180px'
}, },
{ {
label: '分账账户', label: '分账账户',
...@@ -277,7 +186,8 @@ export default { ...@@ -277,7 +186,8 @@ export default {
{ {
label: '总分账金额(元)', label: '总分账金额(元)',
prop: 'divisionMoney', prop: 'divisionMoney',
width: '110px' width: '150px',
align: 'right'
}, },
{ {
label: '导流方名称', label: '导流方名称',
...@@ -297,7 +207,7 @@ export default { ...@@ -297,7 +207,7 @@ export default {
{ {
label: '支付时间', label: '支付时间',
prop: 'successDate', prop: 'successDate',
width: '110px' width: '200px'
}, },
{ {
label: '商品编号', label: '商品编号',
...@@ -316,7 +226,6 @@ export default { ...@@ -316,7 +226,6 @@ export default {
tableParams: {}, tableParams: {},
// 查询参数 // 查询参数
storeId: '', storeId: '',
timeChangeType: 1,
divisionTime: '', divisionTime: '',
payTime: '', payTime: '',
divisionTypeStatus: '', divisionTypeStatus: '',
...@@ -329,7 +238,80 @@ export default { ...@@ -329,7 +238,80 @@ export default {
}, },
curMerchantNo: '', curMerchantNo: '',
isAdmin: false, isAdmin: false,
pickerOptions: {} pickerOptions: {},
/**新版搜索栏参数 */
searchForm: {
divisionTime: '',
payTime: '',
divisionTypeStatus: '',
orderNum: '',
goodsName: '',
merchantIds: '',
merchantIdss: '',
merchantIdsss: ''
},
searchFormData1: [
{
label: '分账时间',
name: 'divisionTime',
type: 'datePicker',
isClear: true
},
{
label: '支付时间',
name: 'payTime',
type: 'datePicker',
isClear: true
},
{
label: '分账状态',
name: 'divisionTypeStatus',
type: 'select',
optionId: 'confId',
optionLabel: 'confName',
isClear: true,
noFilter: true,
optionList: [
{
confId: 1,
confName: '待分账'
},
{
confId: 2,
confName: '分账中'
},
{
confId: 3,
confName: '分账成功'
},
{
confId: 4,
confName: '分账失败'
}
]
},
{
label: '主订单编号',
name: 'orderNum',
type: 'input',
isClear: true
}
],
searchFormData2: [
{
label: '支付时间',
name: 'payTime',
type: 'datePicker',
isClear: true
},
{
label: '主订单编号',
name: 'orderNum',
type: 'input',
isClear: true
}
],
sizeList: [5, 10, 20, 30, 40]
} }
}, },
created() { created() {
...@@ -337,13 +319,97 @@ export default { ...@@ -337,13 +319,97 @@ export default {
const { session } = this.$globalState const { session } = this.$globalState
this.accountLevel = session.accountLevel this.accountLevel = session.accountLevel
this.isAdmin = session.admin this.isAdmin = session.admin
// this.pickerOptions = this.setDateLimit() // 1.工厂 2省代 3市代 4门店
if (session.accountLevel < 4) {
this.getMerchanListData(session.accountLevel)
} else {
this.searchFormData1.push(SERCH_GOODSNAME)
this.searchFormData2.push(SERCH_GOODSNAME)
this.refreshComponent()
}
}, },
mounted() { mounted() {
let params = this.resetTime() this.newHttpParam = this.resetTime()
this.toGetMyDivision(params) this.toGetMyDivision()
}, },
methods: { methods: {
/**获取商户列表 */
getMerchanListData(accountLevel) {
let merchantForm = {}
getMerchantList({}).then(res => {
this.merchants = res
const levelName = ['工厂商户号', '省代商户号', '市代商户号', '门店商户号']
merchantForm = {
label: levelName[accountLevel],
name: 'merchantIds',
type: 'select',
optionList: res,
optionId: 'id',
optionLabel: 'merchantName',
isClear: true
}
if (accountLevel < 3) {
merchantForm.changeAttr = (val, targetItem) => {
let child = targetItem.optionList.filter(item => item.id == val)
let newForm = {
label: levelName[accountLevel + 1],
name: 'merchantIdss',
type: 'select',
optionList: child[0].children,
optionId: 'id',
optionLabel: 'merchantName',
isClear: true
}
if (accountLevel == 1) {
newForm.changeAttr = (va, targetIte) => {
let child2 = targetIte.optionList.filter(item => item.id == va)
let newForm2 = {
label: levelName[accountLevel + 2],
name: 'merchantIdsss',
type: 'select',
optionList: child2[0].children,
optionId: 'id',
optionLabel: 'merchantName',
isClear: true
}
this.searchFormData1.push(newForm2)
this.searchFormData2.push(newForm2)
this.refreshComponent()
}
}
this.rowNumber = 3
this.searchFormData1.push(newForm)
this.searchFormData2.push(newForm)
this.refreshComponent()
}
}
this.searchFormData1.push(merchantForm)
this.searchFormData2.push(merchantForm)
this.refreshComponent()
})
},
refreshComponent() {
this.refreshKey1 = Date.now()
this.refreshKey2 = Date.now() + 1
},
handleOkFn() {
this.handlerParams()
},
handleRestFn() {
this.searchForm = {
divisionTime: '',
payTime: '',
divisionTypeStatus: '',
orderNum: '',
goodsName: '',
merchantIds: '',
merchantIdss: '',
merchantIdsss: ''
}
this.$refs[`table${this.curDivisionType}`].page.pageNum = 1
this.newHttpParam = this.resetTime()
this.toGetMyDivision()
},
// 重置时间 // 重置时间
resetTime() { resetTime() {
let params = {} let params = {}
...@@ -354,117 +420,96 @@ export default { ...@@ -354,117 +420,96 @@ export default {
params.successDateEndDate = endDate params.successDateEndDate = endDate
return params return params
}, },
// 设置日期组件时间范围
setDateLimit() {
let openInfo = JSON.parse(localStorage.getItem('openInfo'))
let startdate = utils.dateFormat(openInfo.openDate)
let obj = {
disabledDate(time) {
return time.getTime() > Date.now() || time.getTime() < new Date(startdate).getTime()
}
}
return obj
},
getCurStoreId(e) { getCurStoreId(e) {
this.storeId = e this.storeId = e
}, },
selectCurMechant(e) { selectCurMechant(e) {
this.$refs.myNewSelect.selectCurMechant(e) this.$refs.myNewSelect.selectCurMechant(e)
}, },
changeNOFind(e) { // clearFind() {
this.orderNumType = e // this.divisionTime = ''
this.orderNumName = e == 1 ? '主订单编号' : '交易参考号' // this.payTime = ''
this.orderNum = '' // this.divisionTypeStatus = ''
}, // this.orderNum = ''
clearFind() { // this.goodsName = ''
this.divisionTime = '' // this.storeId = ''
this.payTime = '' // this.$refs.table.page.pageNum = 1
this.divisionTypeStatus = '' // this.curMerchantNo = ''
this.orderNum = '' // let params = this.resetTime()
this.goodsName = '' // this.toGetMyDivision(params)
this.storeId = '' // },
this.$refs.table.page.pageNum = 1
this.curMerchantNo = ''
let params = this.resetTime()
this.toGetMyDivision(params)
},
handlerParams() { handlerParams() {
let params = {} let params = {}
this.$refs.table.page.pageNum = 1 this.$refs[`table${this.curDivisionType}`].page.pageNum = 1
if (this.divisionTime) { if (this.searchForm.divisionTime) {
let startDate = utils.dateFormat(this.divisionTime[0], 'YYYY-MM-DD 00:00:00') let startDate = utils.dateFormat(this.searchForm.divisionTime[0], 'YYYY-MM-DD 00:00:00')
let endDate = utils.dateFormat(this.divisionTime[1], 'YYYY-MM-DD 23:59:59') let endDate = utils.dateFormat(this.searchForm.divisionTime[1], 'YYYY-MM-DD 23:59:59')
params.divisionStartDate = startDate params.divisionStartDate = startDate
params.divisionEndDate = endDate params.divisionEndDate = endDate
} else { } else {
delete params.divisionStartDate delete params.divisionStartDate
delete params.divisionEndDate delete params.divisionEndDate
} }
if (this.payTime) { if (this.searchForm.payTime) {
let startDate = utils.dateFormat(this.payTime[0], 'YYYY-MM-DD 00:00:00') let startDate = utils.dateFormat(this.searchForm.payTime[0], 'YYYY-MM-DD 00:00:00')
let endDate = utils.dateFormat(this.payTime[1], 'YYYY-MM-DD 23:59:59') let endDate = utils.dateFormat(this.searchForm.payTime[1], 'YYYY-MM-DD 23:59:59')
params.successDateStartDate = startDate params.successDateStartDate = startDate
params.successDateEndDate = endDate params.successDateEndDate = endDate
} else { } else {
delete params.successDateStartDate delete params.successDateStartDate
delete params.successDateEndDate delete params.successDateEndDate
} }
if (!this.divisionTime && !this.payTime) { if (!this.searchForm.divisionTime && !this.searchForm.payTime) {
params = this.resetTime() params = this.resetTime()
} }
if (this.divisionTypeStatus) { if (this.searchForm.divisionTypeStatus) {
params.divisionStatus = this.divisionTypeStatus params.divisionStatus = this.searchForm.divisionTypeStatus
} else { } else {
delete params.divisionStatus delete params.divisionStatus
} }
//主订单编号---交易参考号 //主订单编号---交易参考号
if (this.orderNum) { if (this.searchForm.orderNum) {
params.orderCode = this.orderNum params.orderCode = this.searchForm.orderNum
} else { } else {
delete params.orderCode delete params.orderCode
} }
if (this.tradeNum) { if (this.searchForm.tradeNum) {
params.tradeNo = this.orderNum params.tradeNo = this.searchForm.orderNum
} else { } else {
delete params.tradeNo delete params.tradeNo
} }
if (this.goodsName) { if (this.searchForm.goodsName) {
params.upgradeGoodsName = this.goodsName params.upgradeGoodsName = this.searchForm.goodsName
} else { } else {
delete params.upgradeGoodsName delete params.upgradeGoodsName
} }
if (this.storeId) { if (this.searchForm.merchantIdsss || this.searchForm.merchantIdss || this.searchForm.merchantIds) {
params['merchantIdList[0]'] = this.storeId params['merchantIdList[0]'] = this.searchForm.merchantIdsss || this.searchForm.merchantIdss || this.searchForm.merchantIds
} else { } else {
delete params['merchantIdList[0]'] delete params['merchantIdList[0]']
} }
this.toGetMyDivision(params) this.newHttpParam = params
}, this.toGetMyDivision()
timeChange(e) {
this.timeChangeType = e
this.timeChangeName = e == 1 ? '分账时间' : '支付时间'
}, },
changDivisionType(type) { changDivisionType(type) {
this.curDivisionType = type this.curDivisionType = type
this.tableParams = type == 1 ? this.tableParams1 : this.tableParams2 this.tableParams = type == 1 ? this.tableParams1 : this.tableParams2
this.clearFind() this.handleRestFn()
// this.toGetMyDivision()
}, },
toGetMyDivision(params = {}) { toGetMyDivision() {
// const { session } = this.$globalState
let method = mydivision() let method = mydivision()
let para = { let para = {
routerMethod: method, routerMethod: method,
currentPage: this.$refs.table.page.pageNum, currentPage: this.$refs[`table${this.curDivisionType}`].page.pageNum,
pageSize: this.$refs.table.page.pageSize, pageSize: this.$refs[`table${this.curDivisionType}`].page.pageSize,
divisionType: this.curDivisionType, divisionType: this.curDivisionType,
...params ...this.newHttpParam
// channelType
} }
converterApi(para).then(res => { converterApi(para).then(res => {
res.list.map(item => { res.list.map(item => {
item.sellerMerchantName = item.goodsOrder.sellerMerchantName item.sellerMerchantName = item.goodsOrder.sellerMerchantName
item.divisionTypeName = item.divisionType == 1 ? '线下对账' : '线上对账' item.divisionTypeName = item.divisionType == 1 ? '线下对账' : '线上分账'
item.successDate = item.payOrder.successDate ? utils.dateFormat(item.payOrder.successDate, 'YYYY-MM-DD HH:mm:ss') : '--' item.successDate = item.payOrder.successDate ? utils.dateFormat(item.payOrder.successDate, 'YYYY-MM-DD HH:mm:ss') : '--'
item.divisionDate = item.orderDivision.divisionDate ? utils.dateFormat(item.orderDivision.divisionDate, 'YYYY-MM-DD HH:mm:ss') : '--' item.divisionDate = item.orderDivision.divisionDate ? utils.dateFormat(item.orderDivision.divisionDate, 'YYYY-MM-DD HH:mm:ss') : '--'
item.upgradeGoodsCommodityCode = item.goodsSubOrder.upgradeGoodsCommodityCode item.upgradeGoodsCommodityCode = item.goodsSubOrder.upgradeGoodsCommodityCode
...@@ -478,10 +523,10 @@ export default { ...@@ -478,10 +523,10 @@ export default {
this.tableData = res.list this.tableData = res.list
this.tableTotal = res.total this.tableTotal = res.total
this.httpParam = { this.httpParam = {
currentPage: this.$refs.table.page.pageNum, currentPage: this.$refs[`table${this.curDivisionType}`].page.pageNum,
pageSize: this.$refs.table.page.pageSize, pageSize: this.$refs[`table${this.curDivisionType}`].page.pageSize,
divisionType: this.curDivisionType, divisionType: this.curDivisionType,
...params ...this.newHttpParam
} }
this.getMyTotalData(this.httpParam) this.getMyTotalData(this.httpParam)
}) })
...@@ -511,8 +556,8 @@ export default { ...@@ -511,8 +556,8 @@ export default {
let method = exportMydivision() let method = exportMydivision()
let para = { let para = {
routerMethod: method, routerMethod: method,
currentPage: this.$refs.table.page.pageNum, currentPage: this.$refs[`table${this.curDivisionType}`].page.pageNum,
pageSize: this.$refs.table.page.pageSize, pageSize: this.$refs[`table${this.curDivisionType}`].page.pageSize,
...this.httpParam ...this.httpParam
} }
converterApi(para).then(res => { converterApi(para).then(res => {
...@@ -531,64 +576,10 @@ export default { ...@@ -531,64 +576,10 @@ export default {
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
// 精品礼券
.find_wrap {
box-sizing: border-box;
padding: 9px 0px 0px 15px;
display: flex;
position: relative;
.left_widget {
flex: 3;
display: flex;
align-items: center;
flex-wrap: wrap;
box-sizing: border-box;
}
.right_widget {
flex: 0.2;
box-sizing: border-box;
padding-right: 15px;
}
.cell_wrapper {
box-sizing: border-box;
display: flex;
align-items: center;
margin-bottom: 18px;
.cell_label {
text-align: right;
padding-right: 15px;
white-space: nowrap;
width: 80px;
}
.cell_btn {
width: 78px;
}
.cell_btn_max {
width: 156px;
}
}
.find_width {
width: 215px;
}
.cell_position {
position: absolute;
bottom: 9px;
right: 15px;
}
.cell_position_next {
position: absolute;
bottom: -9px;
right: 15px;
}
}
.new_find_wrapper {
// padding: 0;
padding: 0 0 0 15px;
}
.tipper { .tipper {
width: 100%; width: 100%;
box-sizing: border-box; box-sizing: border-box;
padding: 15px 20px; padding: 10px 15px;
.tip_text { .tip_text {
font-size: 12px; font-size: 12px;
font-weight: 400; font-weight: 400;
...@@ -616,11 +607,7 @@ export default { ...@@ -616,11 +607,7 @@ export default {
background: #e8e8ea; background: #e8e8ea;
margin-bottom: 20px; margin-bottom: 20px;
} }
// 表格悬浮样式 .pannel {
// .table_wrap /deep/ .el-table--enable-row-hover .el-table__body tr:hover { padding: 0 15px;
// background: #f4f3ff !important; }
// }
// .table_wrap /deep/ .el-table tbody tr:hover > td {
// background: #f4f3ff !important;
// }
</style> </style>
<template> <template>
<div ref="orderContainer" class="order-container"> <div ref="orderContainer" class="order-container">
<div class="find_wrap"> <div class="pannel">
<div class="left_widget"> <GLCombiForm :key="refreshKey" ref="showSearch" :rowNumber="rowNumber" :formObj="searchForm" :formData="searchFormData" @handleOk="handleOkFn" @handleRest="handleRestFn"></GLCombiForm>
<div class="cell_wrapper flex_sc">
<div class="cell_label h13_title">支付时间</div>
<el-date-picker class="find_width" :picker-options="pickerOptions" size="mini" v-model="dateBetween" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期"></el-date-picker>
</div>
<div class="cell_wrapper flex_sc">
<div class="cell_label h13_title">支付方式</div>
<el-select class="find_width" size="mini" clearable v-model="payType" placeholder="请选择">
<el-option v-for="item in payTypesList" :key="item.value" :label="item.label" :value="item.value"></el-option>
</el-select>
</div>
<div v-if="accountLevel == 4" class="cell_wrapper flex_sc">
<div class="cell_label h13_title">分账类型</div>
<el-select class="find_width" clearable size="mini" v-model="divisionType" placeholder="请选择">
<el-option v-for="item in disivionOptions" :key="item.value" :label="item.label" :value="item.value"></el-option>
</el-select>
</div>
<div v-if="accountLevel == 3" class="cell_wrapper flex_sc">
<div class="cell_label h13_title">商户名</div>
<el-select class="find_width" clearable size="mini" v-model="storeId" placeholder="请选择">
<el-option v-for="item in list" :key="item.id" :label="item.merchantName" :value="item.merchantNo"></el-option>
</el-select>
</div>
<div v-if="accountLevel < 3" class="cell_wrapper flex_sc">
<div class="cell_label h13_title">主订单编号</div>
<el-input class="find_width" size="mini" clearable placeholder="请输入" suffix-icon="el-icon-search" v-model="orderNum"></el-input>
</div>
<div v-if="accountLevel > 2" class="cell_wrapper flex_sc">
<div class="cell_label h13_title">主订单编号</div>
<el-input class="find_width" size="mini" clearable placeholder="请输入" suffix-icon="el-icon-search" v-model="orderNum"></el-input>
</div>
<div class="cell_wrapper flex_sc">
<div class="cell_label h13_title">交易参考号</div>
<el-input class="find_width" size="mini" clearable placeholder="请输入" suffix-icon="el-icon-search" v-model="tradeNum"></el-input>
</div>
<div v-if="accountLevel == 4" class="cell_wrapper flex_sc">
<div class="cell_label h13_title">商品名称</div>
<el-input class="find_width" size="mini" clearable placeholder="请输入" suffix-icon="el-icon-search" v-model="goodsName"></el-input>
</div>
<div v-if="accountLevel != 4" class="cell_wrapper flex_sc">
<div class="cell_label h13_title">分账类型</div>
<el-select class="find_width" clearable size="mini" v-model="divisionType" placeholder="请选择">
<el-option v-for="item in disivionOptions" :key="item.value" :label="item.label" :value="item.value"></el-option>
</el-select>
</div>
<!-- <div v-if="accountLevel < 3" class="cell_wrapper flex_sc">
<div class="cell_label h13_title">商户名</div>
<div v-if="accountLevel == 2" class="cell_label h13_title">商户名</div>
<div v-if="accountLevel == 1 && !isAdmin" class="cell_label h13_title">省级经销商</div>
<div v-if="accountLevel == 1 && isAdmin" class="cell_label h13_title">工厂</div>
<el-select class="find_width" clearable size="mini" filterable v-model="curMerchantNo" placeholder="请选择" @change="selectCurMechant">
<el-option v-for="item in list" :key="item.id" :label="item.merchantName" :value="item.merchantNo"></el-option>
</el-select>
</div>
<selectSearch ref="mySelectCon" :show="curMerchantNo ? true : false" @getId="getCurStoreId"></selectSearch> -->
</div>
<!-- :style="'flex:'+flexWidth" -->
<div class="right_widget">
<div class="cell_wrapper flex_sc">
<!-- <el-button class="cell_btn_max" size="mini" @click="toExport">导出数据</el-button> -->
<GLButton class="cell_btn_max" size="mini" fn="导出精品升级订单" @click="toExport">导出数据</GLButton>
</div>
<div class="cell_wrapper flex_sc">
<el-button class="cell_btn" size="mini" @click="clearFind">重置</el-button>
<el-button class="cell_btn" size="mini" type="primary" @click="handleParam">查询</el-button>
</div>
</div>
</div> </div>
<div v-if="accountLevel < 3" class="find_wrap new_find_wrapper"> <div class="pannel tableTopButton">
<div class="left_widget"> <GLButton size="small" fn="导出精品升级订单" @click="toExport">导出数据</GLButton>
<div class="cell_wrapper flex_sc" style="margin-right: 5px">
<div class="cell_label h13_title">商户名</div>
<!-- <div v-if="accountLevel == 2" class="cell_label h13_title">商户名</div> -->
<!-- <div v-if="accountLevel == 1 && !isAdmin" class="cell_label h13_title">省级经销商</div>
<div v-if="accountLevel == 1 && isAdmin" class="cell_label h13_title">工厂</div> -->
<el-select class="find_width" clearable size="mini" filterable v-model="curMerchantNo" placeholder="请选择" @change="selectCurMechant">
<el-option v-for="item in list" :key="item.id" :label="item.merchantName" :value="item.merchantNo"></el-option>
</el-select>
</div>
<selectSearch ref="mySelectCon" :show="curMerchantNo ? true : false" @getId="getCurStoreId"></selectSearch>
</div>
</div> </div>
<!-- <div class="find_wrap">
<div class="find_line">
<div class="cell_wrapper flex_sc">
<div class="cell_label h13_title">支付时间</div>
<el-date-picker class="find_width" :picker-options="pickerOptions" size="mini" v-model="dateBetween" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期"></el-date-picker>
</div>
<div class="cell_wrapper flex_sc">
<div class="cell_label h13_title">支付方式</div>
<el-select class="find_width" size="mini" clearable v-model="payType" placeholder="请选择">
<el-option v-for="item in payTypesList" :key="item.value" :label="item.label" :value="item.value"></el-option>
</el-select>
</div>
<div v-if="accountLevel == 4" class="cell_wrapper flex_sc">
<div class="cell_label h13_title">分账类型</div>
<el-select class="find_width" clearable size="mini" v-model="divisionType" placeholder="请选择">
<el-option v-for="item in disivionOptions" :key="item.value" :label="item.label" :value="item.value"></el-option>
</el-select>
</div>
<div v-if="accountLevel == 3" class="cell_wrapper flex_sc">
<div class="cell_label h13_title">4S店</div>
<el-select class="find_width" clearable size="mini" v-model="storeId" placeholder="请选择">
<el-option v-for="item in list" :key="item.id" :label="item.merchantName" :value="item.merchantNo"></el-option>
</el-select>
</div>
<div v-if="accountLevel < 3" class="cell_wrapper flex_sc">
<div class="cell_label h13_title">主订单编号</div>
<el-input class="find_width" size="mini" clearable placeholder="请输入" suffix-icon="el-icon-search" v-model="orderNum"></el-input>
</div>
<div class="cell_wrapper flex_sc">
<el-button class="cell_btn_max" size="mini" @click="toExport">导出数据</el-button>
</div>
</div>
<div class="find_line">
<div v-if="accountLevel > 2" class="cell_wrapper flex_sc">
<div class="cell_label h13_title">主订单编号</div>
<el-input class="find_width" size="mini" clearable placeholder="请输入" suffix-icon="el-icon-search" v-model="orderNum"></el-input>
</div>
<div class="cell_wrapper flex_sc">
<div class="cell_label h13_title">交易参考号</div>
<el-input class="find_width" size="mini" clearable placeholder="请输入" suffix-icon="el-icon-search" v-model="tradeNum"></el-input>
</div>
<div v-if="accountLevel == 4" class="cell_wrapper flex_sc">
<div class="cell_label h13_title">商品名称</div>
<el-input class="find_width" size="mini" clearable placeholder="请输入" suffix-icon="el-icon-search" v-model="goodsName"></el-input>
</div>
<div v-if="accountLevel != 4" class="cell_wrapper flex_sc">
<div class="cell_label h13_title">分账类型</div>
<el-select class="find_width" clearable size="mini" v-model="divisionType" placeholder="请选择">
<el-option v-for="item in disivionOptions" :key="item.value" :label="item.label" :value="item.value"></el-option>
</el-select>
</div>
<div v-if="accountLevel < 3" class="cell_wrapper flex_sc">
<div v-if="accountLevel == 2" class="cell_label h13_title">市级经销商</div>
<div v-if="accountLevel == 1 && !isAdmin" class="cell_label h13_title">省级经销商</div>
<div v-if="accountLevel == 1 && isAdmin" class="cell_label h13_title">工厂</div>
<el-select class="find_width" clearable size="mini" filterable v-model="curMerchantNo" placeholder="请选择" @change="selectCurMechant">
<el-option v-for="item in list" :key="item.id" :label="item.merchantName" :value="item.merchantNo"></el-option>
</el-select>
</div>
<div class="cell_wrapper flex_sc">
<el-button class="cell_btn" size="mini" @click="clearFind">重置</el-button>
<el-button class="cell_btn" size="mini" type="primary" @click="handleParam">查询</el-button>
</div>
</div>
<selectSearch ref="mySelectCon" :show="curMerchantNo ? true : false" @getId="getCurStoreId"></selectSearch>
</div> -->
<div v-if="accountLevel == 1 && !isAdmin" style="height: 18px"></div> <div v-if="accountLevel == 1 && !isAdmin" style="height: 18px"></div>
<div class="tipper flex_scb"> <div class="tipper flex_scb">
<div class="tip_text"> <div class="tip_text">
...@@ -164,43 +21,20 @@ ...@@ -164,43 +21,20 @@
<span>元</span> <span>元</span>
</div> </div>
<div class="right_select"> <div class="right_select">
<el-select class="myfindWidth" size="mini" collapse-tags multiple @removeTag="removeTag" v-model="tableCoulumList" @change="changTableCoulum" placeholder="请选择要展示的字段"> <el-select class="myfindWidth" size="small" collapse-tags multiple @removeTag="removeTag" v-model="tableCoulumList" @change="changTableCoulum" placeholder="请选择要展示的字段">
<el-option v-for="item in fieldList" :disabled="item.disabled" :key="item.value" :label="item.label" :value="item"></el-option> <el-option v-for="item in fieldList" :disabled="item.disabled" :key="item.value" :label="item.label" :value="item"></el-option>
</el-select> </el-select>
</div> </div>
</div> </div>
<div class="table_wrap"> <div class="table_wrap">
<el-table ref="subTable" id="initTable" class="hightline" :data="tableData"> <GLTable v-if="dynamicTableShow" ref="subTable" :tableData="tableData" :tableTotal="tableTotal" :tableParams="newTableParams" @refreshTable="toGetCouponsList">
<!-- //实现高亮竖线 --> <div class="table-btns" slot="table-btns" slot-scope="scope">
<el-table-column fixed="left" width="5"> <GLTableButton :buttonList="buttonList" :buttonItem="scope" :buttonNum="3"></GLTableButton>
<template slot-scope="scope"> </div>
<span :scope="scope"></span> </GLTable>
</template>
</el-table-column>
<el-table-column label="序号" align="center" width="100px" type="index" :index="index => index + (currentPage - 1) * pageSize + 1"></el-table-column>
<el-table-column label="订单信息" align="center">
<template v-for="(ele, index) in tableCoulumList">
<el-table-column v-if="ele.level == 1" :key="index" :width="ele.width" :prop="ele.value" :label="ele.label" align="center"></el-table-column>
</template>
</el-table-column>
<el-table-column label="支付信息" align="center">
<template v-for="(ele, index) in tableCoulumList">
<el-table-column v-if="ele.level == 2" :key="index" :width="ele.width" :prop="ele.value" :label="ele.label" align="center"></el-table-column>
</template>
</el-table-column>
<el-table-column label="导流方利润" align="center">
<template v-for="(ele, index) in tableCoulumList">
<el-table-column v-if="ele.level == 3" :key="index" :width="ele.width" :prop="ele.value" :label="ele.label" align="center"></el-table-column>
</template>
</el-table-column>
<el-table-column fixed="right" label="操作" align="center" width="120">
<template slot-scope="scope">
<div class="spanbtn h16_title" @click="openDetail(scope.row)">查看明细</div>
</template>
</el-table-column>
</el-table>
<el-pagination background @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="currentPage" :page-sizes="[10, 20, 30, 40]" :page-size="pageSize" :total="tableTotal" :layout="layout"></el-pagination>
</div> </div>
<el-dialog title="订单详情" :visible.sync="dialogVisible" width="60%"> <el-dialog title="订单详情" :visible.sync="dialogVisible" width="60%">
<div v-if="orderDetail" class="dialog_content"> <div v-if="orderDetail" class="dialog_content">
<div class="wrapper"> <div class="wrapper">
...@@ -364,8 +198,7 @@ ...@@ -364,8 +198,7 @@
</template> </template>
<script> <script>
import selectSearch from '../../components/search-select/index.vue' import { findupGradeOrder, exportUpgrade, checkDetail, orderTotalNumOfJT, getMerchantList } from '../../api/modules/rules'
import { findupGradeOrder, exportUpgrade, checkDetail, orderTotalNumOfJT } from '../../api/modules/rules'
import { converterApi } from '../../api/modules/converter' import { converterApi } from '../../api/modules/converter'
import utils from '../../util/util' import utils from '../../util/util'
const logTypeList = ['预录用户', '用户下单', '用户付款', '完成服务'] const logTypeList = ['预录用户', '用户下单', '用户付款', '完成服务']
...@@ -373,53 +206,105 @@ const orderStatusList = ['待升级', '未升级', '待支付', '已支付', ' ...@@ -373,53 +206,105 @@ const orderStatusList = ['待升级', '未升级', '待支付', '已支付', '
export default { export default {
name: '', name: '',
components: {
selectSearch
},
props: { props: {
list: Array list: Array
}, },
data() { data() {
return { return {
orderStatusList, dynamicTableShow: true,
payChangeName: '支付时间', rowNumber: 2,
payTypesList: [ refreshKey: Date.now(),
/**新版搜索栏组件 */
searchForm: {
dateBetween: '',
payType: '',
divisionType: '',
orderNum: '',
tradeNum: '',
goodsName: '',
merchantIds: '',
merchantIdss: '',
merchantIdsss: ''
},
searchFormData: [
{ {
value: 0, label: '支付时间',
label: '不升级' name: 'dateBetween',
type: 'datePicker',
isClear: true
}, },
{ {
value: 1, label: '支付方式',
label: '微信支付' name: 'payType',
type: 'select',
optionId: 'confId',
optionLabel: 'confName',
isClear: true,
noFilter: true,
optionList: [
{
confId: 0,
confName: '不升级'
},
{
confId: 1,
confName: '微信支付'
},
{
confId: 2,
confName: '线下收款'
},
{
confId: 3,
confName: 'POS机'
}
]
}, },
{ {
value: 2, label: '分账类型',
label: '线下收款' name: 'divisionType',
type: 'select',
optionId: 'confId',
optionLabel: 'confName',
isClear: true,
noFilter: true,
optionList: [
{
confId: 1,
confName: '线下对账'
},
{
confId: 2,
confName: '线上分账'
}
]
}, },
{ {
value: 3, label: '主订单编号',
label: 'POS机' name: 'orderNum',
} type: 'input',
], isClear: true
disivionOptions: [ },
{ {
value: 1, label: '交易参考号',
label: '线下对账' name: 'tradeNum',
type: 'input',
isClear: true
}, },
{ {
value: 2, label: '商品名称',
label: '线上分账' name: 'goodsName',
type: 'input',
isClear: true
} }
], ],
layout: 'sizes, prev, pager, next, jumper, ->, total', orderStatusList,
pageConf: { pageSize: 'pageSize', pageNum: 'pageNum', totalCount: 'total' },
tableData: [], tableData: [],
tableTotal: 0, tableTotal: 0,
currentPage: 1, currentPage: 1,
pageSize: 10, pageSize: 10,
payTypeChange: 1, payTypeChange: 1,
// 查询参数 // 查询参数
storeId: '',
dateBetween: '', dateBetween: '',
payType: '', payType: '',
divisionType: '', divisionType: '',
...@@ -453,7 +338,8 @@ export default { ...@@ -453,7 +338,8 @@ export default {
}, },
{ {
label: '商品售价', label: '商品售价',
prop: 'saleprice' prop: 'saleprice',
align: 'right'
}, },
{ {
label: '质保年限', label: '质保年限',
...@@ -465,7 +351,8 @@ export default { ...@@ -465,7 +351,8 @@ export default {
}, },
{ {
label: '支付金额', label: '支付金额',
prop: 'totalPrice' prop: 'totalPrice',
align: 'right'
} }
] ]
}, },
...@@ -529,48 +416,49 @@ export default { ...@@ -529,48 +416,49 @@ export default {
label: '商品成本', label: '商品成本',
level: 1, level: 1,
width: '110', width: '110',
align: 'right',
disabled: false disabled: false
}, },
{ {
value: 'customerName', value: 'customerName',
label: '客户姓名', label: '客户姓名',
level: 1, level: 1,
width: '110', width: '200',
disabled: false disabled: false
}, },
{ {
value: 'customerPhone', value: 'customerPhone',
label: '客户手机号', label: '客户手机号',
level: 2, level: 2,
width: '110', width: '200',
disabled: false disabled: false
}, },
{ {
value: 'sellerName', value: 'sellerName',
label: '转化员姓名', label: '转化员姓名',
level: 2, level: 2,
width: '110', width: '200',
disabled: false disabled: false
}, },
{ {
value: 'employeeName', value: 'employeeName',
label: '销售顾问', label: '销售顾问',
level: 2, level: 2,
width: '110', width: '200',
disabled: false disabled: false
}, },
{ {
value: 'paySuccessDate', value: 'paySuccessDate',
label: '支付时间', label: '支付时间',
level: 2, level: 2,
width: '160', width: '200',
disabled: false disabled: false
}, },
{ {
value: 'payTypeName', value: 'payTypeName',
label: '支付方式', label: '支付方式',
level: 3, level: 3,
width: '110', width: '200',
disabled: false disabled: false
}, },
{ {
...@@ -578,6 +466,7 @@ export default { ...@@ -578,6 +466,7 @@ export default {
label: '支付金额', label: '支付金额',
level: 3, level: 3,
width: '110', width: '110',
align: 'right',
disabled: true disabled: true
}, },
{ {
...@@ -585,20 +474,21 @@ export default { ...@@ -585,20 +474,21 @@ export default {
label: '总分账金额', label: '总分账金额',
level: 3, level: 3,
width: '110', width: '110',
align: 'right',
disabled: true disabled: true
}, },
{ {
value: 'shopMerchantName', value: 'shopMerchantName',
label: '分账对象', label: '分账对象',
level: 3, level: 3,
width: '110', width: '200',
disabled: false disabled: false
}, },
{ {
value: 'rule', value: 'rule',
label: '分账规则', label: '分账规则',
level: 3, level: 3,
width: '80', width: '200',
disabled: false disabled: false
}, },
{ {
...@@ -606,13 +496,14 @@ export default { ...@@ -606,13 +496,14 @@ export default {
label: '分账金额', label: '分账金额',
level: 3, level: 3,
width: '110', width: '110',
align: 'right',
disabled: true disabled: true
}, },
{ {
value: 'divisionTypeName', value: 'divisionTypeName',
label: '分账类型', label: '分账类型',
level: 3, level: 3,
width: '110', width: '200',
disabled: false disabled: false
} }
], ],
...@@ -629,23 +520,153 @@ export default { ...@@ -629,23 +520,153 @@ export default {
detailImage: '', detailImage: '',
detailImageList: [], detailImageList: [],
pickerOptions: {}, pickerOptions: {},
flexWidth: 1, screenWidth: document.body.clientWidth,
screenWidth: document.body.clientWidth /**新版表格组件传参 */
newTableParams: {
tableOption: false,
tableColumns: [
{
label: '订单信息',
align: 'center',
children: [
{
label: '主订单编号',
prop: 'orderCode',
width: '200'
},
{
label: '交易参考号',
prop: 'tradeNo',
width: '200'
},
{
label: '子订单编号',
prop: 'subOrderCode',
width: '200'
},
{
label: '商品名称',
prop: 'upgradeGoodsName',
width: '200'
},
{
label: '商品编号',
prop: 'upgradeGoodsCommodityCode',
width: '200'
},
{
label: '商品成本',
prop: 'goodsCost',
width: '110',
align: 'right'
},
{
label: '客户姓名',
prop: 'customerName',
width: '200'
}
]
},
{
label: '支付信息',
align: 'center',
children: [
{
label: '客户手机号',
prop: 'customerPhone',
width: '200'
},
{
label: '转化员姓名',
prop: 'sellerName',
width: '200'
},
{
label: '销售顾问',
prop: 'employeeName',
width: '200'
},
{
label: '支付时间',
prop: 'paySuccessDate',
width: '200'
}
]
},
{
label: '导流方利润',
align: 'center',
children: [
{
label: '支付方式',
prop: 'payTypeName',
width: '200'
},
{
label: '支付金额',
prop: 'subTotalPrice',
width: '110',
align: 'right'
},
{
label: '总分账金额',
prop: 'actualIncomeMoney',
width: '110',
align: 'right'
},
{
label: '分账对象',
prop: 'shopMerchantName',
width: '200'
},
{
label: '分账规则',
prop: 'rule',
width: '200'
},
{
label: '分账金额',
prop: 'shopProfitMoney',
width: '110',
align: 'right'
},
{
label: '分账类型',
prop: 'divisionTypeName',
width: '200'
}
]
},
{
label: '操作',
prop: '',
width: '120px',
fixed: 'right',
addHtml: 'table-btns'
}
]
},
buttonList: [
{
type: 'el-button',
name: row => {
return '查看明细'
},
attrs: {
type: 'text'
},
listeners: {
click: row => this.openDetail(row.scope)
}
}
]
}
},
watch: {
tableCoulumList: function (newvalue, oldvalue) {
this.handlerNewTableCoulum(newvalue)
} }
}, },
// watch: {
// screenWidth: {
// immediate: true,
// handler(newValue) {
// // if (newValue < 1400) {
// // this.flexWidth = 0.2
// // } else {
// // this.flexWidth = 1
// // }
// // console.log(this.flexWidth);
// }
// }
// },
created() { created() {
const { session } = this.$globalState const { session } = this.$globalState
this.accountLevel = session.accountLevel this.accountLevel = session.accountLevel
...@@ -657,12 +678,14 @@ export default { ...@@ -657,12 +678,14 @@ export default {
} else { } else {
this.tableCoulumList = this.fieldList this.tableCoulumList = this.fieldList
} }
// this.pickerOptions = this.setDateLimit() // 1.工厂 2省代 3市代 4门店
if (session.accountLevel < 4) {
this.getMerchanListData(session.accountLevel)
}
}, },
mounted() { mounted() {
let openInfo = JSON.parse(localStorage.getItem('openInfo')) let openInfo = JSON.parse(localStorage.getItem('openInfo'))
let startDate = utils.dateFormat(openInfo.openDate) let startDate = utils.dateFormat(openInfo.openDate)
// let startDate = this.$defaultStartDate
let endDate = utils.dateFormat(new Date()) let endDate = utils.dateFormat(new Date())
this.openCount = openInfo.openCount || 0 this.openCount = openInfo.openCount || 0
let params = { let params = {
...@@ -671,24 +694,125 @@ export default { ...@@ -671,24 +694,125 @@ export default {
} }
this.defaultStart = utils.dateFormat(startDate, 'YYYY-MM-DD 00:00:00') this.defaultStart = utils.dateFormat(startDate, 'YYYY-MM-DD 00:00:00')
this.defaultEnd = utils.dateFormat(endDate, 'YYYY-MM-DD 23:59:59') this.defaultEnd = utils.dateFormat(endDate, 'YYYY-MM-DD 23:59:59')
this.toGetCouponsList(params) this.newHttpParam = params
// let that = this this.toGetCouponsList()
// window.addEventListener('resize', () => {
// let width = document.body.clientWidth
// that.screenWidth = width
// })
}, },
methods: { methods: {
// 设置日期组件时间范围 /**获取商户列表 */
setDateLimit() { getMerchanListData(accountLevel) {
let openInfo = JSON.parse(localStorage.getItem('openInfo')) let merchantForm = {}
let startdate = utils.dateFormat(openInfo.openDate) getMerchantList({}).then(res => {
let obj = { this.merchants = res
disabledDate(time) { const levelName = ['工厂商户号', '省代商户号', '市代商户号', '门店商户号']
return time.getTime() > Date.now() || time.getTime() < new Date(startdate).getTime() merchantForm = {
label: levelName[accountLevel],
name: 'merchantIds',
type: 'select',
optionList: res,
optionId: 'id',
optionLabel: 'merchantName',
isClear: true
} }
if (accountLevel < 3) {
merchantForm.changeAttr = (val, targetItem) => {
let child = targetItem.optionList.filter(item => item.id == val)
let newForm = {
label: levelName[accountLevel + 1],
name: 'merchantIdss',
type: 'select',
optionList: child[0].children,
optionId: 'id',
optionLabel: 'merchantName',
isClear: true
}
if (accountLevel == 1) {
newForm.changeAttr = (va, targetIte) => {
let child2 = targetIte.optionList.filter(item => item.id == va)
let newForm2 = {
label: levelName[accountLevel + 2],
name: 'merchantIdsss',
type: 'select',
optionList: child2[0].children,
optionId: 'id',
optionLabel: 'merchantName',
isClear: true
}
this.searchFormData.push(newForm2)
this.refreshKey = Date.now()
}
}
this.rowNumber = 3
this.searchFormData.push(newForm)
this.refreshKey = Date.now()
}
}
this.searchFormData.push(merchantForm)
this.refreshKey = Date.now()
})
},
/**处理新表格动态刷新列方法 */
handlerNewTableCoulum(fieldList) {
this.dynamicTableShow = false
let newTableParams = {
tableOption: false,
tableColumns: [
{
label: '订单信息',
align: 'center',
children: []
},
{
label: '支付信息',
align: 'center',
children: []
},
{
label: '导流方利润',
align: 'center',
children: []
},
{
label: '操作',
prop: '',
width: '120px',
fixed: 'right',
addHtml: 'table-btns'
}
]
} }
return obj fieldList.forEach(item => {
let obj = {
label: item.label,
prop: item.value,
width: item.width
}
if (item.align) {
obj.align = item.align
}
newTableParams.tableColumns[item.level - 1].children.push(obj)
})
this.newTableParams = newTableParams
this.$nextTick(() => {
this.dynamicTableShow = true
})
},
handleOkFn() {
this.handleParam()
},
handleRestFn() {
this.searchForm = {
dateBetween: '',
payType: '',
divisionType: '',
orderNum: '',
tradeNum: '',
goodsName: '',
merchantIds: '',
merchantIdss: '',
merchantIdsss: ''
}
this.newHttpParam = {}
this.toGetCouponsList()
}, },
reloadImg(item) { reloadImg(item) {
let index = 0 let index = 0
...@@ -707,93 +831,70 @@ export default { ...@@ -707,93 +831,70 @@ export default {
this.$set(this.detailImageList, index, 'err' + item) this.$set(this.detailImageList, index, 'err' + item)
} }
}, },
getCurStoreId(e) {
this.storeId = e
},
selectCurMechant(e) { selectCurMechant(e) {
this.$refs.mySelectCon.selectCurMechant(e) this.$refs.mySelectCon.selectCurMechant(e)
}, },
changTableCoulum(e) { changTableCoulum(e) {
const { session } = this.$globalState const { session } = this.$globalState
localStorage.setItem(`menuList${session.merchantId}`, JSON.stringify(e)) localStorage.setItem(`menuList${session.merchantId}`, JSON.stringify(e))
this.$nextTick(() => {
this.$refs.subTable.doLayout()
})
}, },
// 查看明细 // 查看明细
openDetail(item) { openDetail(item) {
this.getDetailInfo(item.orderCode) this.getDetailInfo(item.orderCode)
}, },
clearFind() {
let params = {
payStartDateStr: this.httpParam.payStartDateStr,
payEndDateStr: this.httpParam.payEndDateStr
}
this.dateBetween = ''
this.payType = ''
this.divisionType = ''
this.orderNum = ''
this.tradeNum = ''
this.goodsName = ''
this.storeId = ''
this.currentPage = 1
this.curMerchantNo = ''
this.toGetCouponsList(params)
},
handleParam() { handleParam() {
let params = { let params = {}
...this.httpParam if (this.searchForm.dateBetween) {
}
if (this.dateBetween) {
//支付时间 //支付时间
let startDate = utils.dateFormat(this.dateBetween[0], 'YYYY-MM-DD 00:00:00') let startDate = utils.dateFormat(this.searchForm.dateBetween[0], 'YYYY-MM-DD 00:00:00')
let endDate = utils.dateFormat(this.dateBetween[1], 'YYYY-MM-DD 23:59:59') let endDate = utils.dateFormat(this.searchForm.dateBetween[1], 'YYYY-MM-DD 23:59:59')
params.payStartDateStr = startDate params.payStartDateStr = startDate
params.payEndDateStr = endDate params.payEndDateStr = endDate
} else { } else {
params.payStartDateStr = this.defaultStart params.payStartDateStr = this.defaultStart
params.payEndDateStr = this.defaultEnd params.payEndDateStr = this.defaultEnd
} }
if (this.payType || this.payType == 0) { if (this.searchForm.payType || this.searchForm.payType === 0) {
//支付方式 //支付方式
params.payType = this.payType params.payType = this.searchForm.payType
} }
if (this.divisionType) { if (this.searchForm.divisionType) {
//分账类型 //分账类型
params.divisionType = this.divisionType params.divisionType = this.searchForm.divisionType
} else { } else {
delete params.divisionType delete params.divisionType
} }
if (this.orderNum) { if (this.searchForm.orderNum) {
params.orderCode = this.orderNum params.orderCode = this.searchForm.orderNum
} else { } else {
delete params.orderCode delete params.orderCode
} }
if (this.tradeNum) { if (this.searchForm.tradeNum) {
params.tradeNo = this.tradeNum params.tradeNo = this.searchForm.tradeNum
} else { } else {
delete params.tradeNo delete params.tradeNo
} }
if (this.goodsName) { if (this.searchForm.goodsName) {
params.upgradeGoodsName = this.goodsName params.upgradeGoodsName = this.searchForm.goodsName
} else { } else {
delete params.upgradeGoodsName delete params.upgradeGoodsName
} }
if (this.storeId) { if (this.searchForm.merchantIdsss || this.searchForm.merchantIdss || this.searchForm.merchantIds) {
params['merchantIdList[0]'] = this.storeId params['merchantIdList[0]'] = this.searchForm.merchantIdsss || this.searchForm.merchantIdss || this.searchForm.merchantIds
} else { } else {
delete params['merchantIdList[0]'] delete params['merchantIdList[0]']
} }
this.currentPage = 1 this.newHttpParam = params
this.toGetCouponsList(params) this.$refs.subTable.page.pageNum = 1
this.toGetCouponsList()
}, },
toGetCouponsList(params = {}) { toGetCouponsList() {
let method = findupGradeOrder() let method = findupGradeOrder()
let para = { let para = {
routerMethod: method, routerMethod: method,
pageNum: this.currentPage, pageNum: this.$refs.subTable.page.pageNum,
pageSize: this.pageSize, pageSize: this.$refs.subTable.page.pageSize,
...params ...this.newHttpParam
} }
converterApi(para).then(res => { converterApi(para).then(res => {
this.tableData = res.list.map((item, index) => { this.tableData = res.list.map((item, index) => {
...@@ -806,9 +907,9 @@ export default { ...@@ -806,9 +907,9 @@ export default {
}) })
this.tableTotal = res.total this.tableTotal = res.total
this.httpParam = { this.httpParam = {
pageNum: this.currentPage, pageNum: this.$refs.subTable.page.pageNum,
pageSize: this.pageSize, pageSize: this.$refs.subTable.page.pageSize,
...params ...this.newHttpParam
} }
this.getTotalOfJT(this.httpParam) this.getTotalOfJT(this.httpParam)
}) })
...@@ -828,28 +929,6 @@ export default { ...@@ -828,28 +929,6 @@ export default {
} }
}) })
}, },
// 每页条数
handleSizeChange(value) {
this.pageSize = value
let params = {
...this.httpParam
// payStartDateStr: this.httpParam.payStartDateStr,
// payEndDateStr: this.httpParam.payEndDateStr,
// divisionType: this.httpParam.divisionType
}
this.toGetCouponsList(params)
},
// 页码
handleCurrentChange(value) {
this.currentPage = value
let params = {
...this.httpParam
// payStartDateStr: this.httpParam.payStartDateStr,
// payEndDateStr: this.httpParam.payEndDateStr,
// divisionType: this.httpParam.divisionType
}
this.toGetCouponsList(params)
},
toExport() { toExport() {
let method = exportUpgrade() let method = exportUpgrade()
let para = { let para = {
...@@ -904,69 +983,10 @@ export default { ...@@ -904,69 +983,10 @@ export default {
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.find_wrap {
box-sizing: border-box;
padding: 9px 0 0px 15px;
display: flex;
.left_widget {
flex: 3;
display: flex;
align-items: center;
flex-wrap: wrap;
}
.right_widget {
flex: 0.2;
box-sizing: border-box;
padding-right: 15px;
display: flex;
flex-direction: column;
align-items: flex-end;
}
.cell_wrapper {
box-sizing: border-box;
display: flex;
align-items: center;
margin-bottom: 18px;
.cell_label {
text-align: right;
padding-right: 15px;
white-space: nowrap;
width: 80px;
}
.cell_btn {
width: 73px;
}
.cell_btn_max {
width: 156px;
}
}
.find_width {
width: 215px;
}
.cell_position {
position: absolute;
bottom: 9px;
right: 15px;
}
.cell_position_next {
position: absolute;
bottom: -18px;
right: 15px;
}
.cell_position_export {
position: absolute;
bottom: 56px;
right: 15px;
}
}
.new_find_wrapper {
// padding: 9px 0 9px 15px;
padding: 0 0 0 15px;
}
.tipper { .tipper {
width: 100%; width: 100%;
box-sizing: border-box; box-sizing: border-box;
padding: 6px 20px 15px 20px; padding: 0px 16px 10px 20px;
.tip_text { .tip_text {
font-size: 12px; font-size: 12px;
font-weight: 400; font-weight: 400;
...@@ -979,6 +999,9 @@ export default { ...@@ -979,6 +999,9 @@ export default {
overflow: hidden; overflow: hidden;
} }
} }
.pannel {
padding: 0 15px;
}
.table_wrap { .table_wrap {
padding: 0 15px; padding: 0 15px;
padding-bottom: 10px; padding-bottom: 10px;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!