Commit f1621972 by 杨明

fixed

1 parent 32c9596d
{
"name": "home",
"name": "drainage",
"version": "0.1.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
"@amap/amap-jsapi-loader": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/@amap/amap-jsapi-loader/-/amap-jsapi-loader-1.0.1.tgz",
"integrity": "sha512-nPyLKt7Ow/ThHLkSvn2etQlUzqxmTVgK7bIgwdBRTg2HK5668oN7xVxkaiRe3YZEzGzfV2XgH5Jmu2T73ljejw=="
},
"@babel/code-frame": {
"version": "7.5.5",
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.5.5.tgz",
......@@ -1030,6 +1035,12 @@
"integrity": "sha512-f5j5b/Gf71L+dbqxIpQ4Z2WlmI/mPJ0fOkGGmFgtb6sAu97EPczzbS3/tJKxmcYDj55OX6ssqwDAWOHIYDRDGA==",
"dev": true
},
"@types/parse-json": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz",
"integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==",
"dev": true
},
"@types/q": {
"version": "1.5.2",
"resolved": "https://registry.npmjs.org/@types/q/-/q-1.5.2.tgz",
......@@ -1243,6 +1254,35 @@
"webpack-merge": "^4.2.2"
},
"dependencies": {
"autoprefixer": {
"version": "9.8.8",
"resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-9.8.8.tgz",
"integrity": "sha512-eM9d/swFopRt5gdJ7jrpCwgvEMIayITpojhkkSMRsFHYuH5bkSQ4p/9qTEHtmNudUZh22Tehu7I6CxAW0IXTKA==",
"dev": true,
"requires": {
"browserslist": "^4.12.0",
"caniuse-lite": "^1.0.30001109",
"normalize-range": "^0.1.2",
"num2fraction": "^1.2.2",
"picocolors": "^0.2.1",
"postcss": "^7.0.32",
"postcss-value-parser": "^4.1.0"
},
"dependencies": {
"browserslist": {
"version": "4.21.4",
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.4.tgz",
"integrity": "sha512-CBHJJdDmgjl3daYjN5Cp5kbTf1mUhZoS+beLklHIvkOWscs83YAhLlF3Wsh/lciQYAcbBJgTOD44VtG31ZM4Hw==",
"dev": true,
"requires": {
"caniuse-lite": "^1.0.30001400",
"electron-to-chromium": "^1.4.251",
"node-releases": "^2.0.6",
"update-browserslist-db": "^1.0.9"
}
}
}
},
"cacache": {
"version": "13.0.1",
"resolved": "https://registry.npmjs.org/cacache/-/cacache-13.0.1.tgz",
......@@ -1269,6 +1309,18 @@
"unique-filename": "^1.1.1"
}
},
"caniuse-lite": {
"version": "1.0.30001434",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001434.tgz",
"integrity": "sha512-aOBHrLmTQw//WFa2rcF1If9fa3ypkC1wzqqiKHgfdrXTWcU8C4gKVZT77eQAPWN1APys3+uQ0Df07rKauXGEYA==",
"dev": true
},
"electron-to-chromium": {
"version": "1.4.284",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.284.tgz",
"integrity": "sha512-M8WEXFuKXMYMVr45fo8mq0wUrrJHheiKZf6BArTKk9ZBYCKJEOU5H8cdWgDT+qCVZf7Na4lVUaZsA+h6uA9+PA==",
"dev": true
},
"find-cache-dir": {
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-3.2.0.tgz",
......@@ -1308,6 +1360,12 @@
"semver": "^6.0.0"
}
},
"node-releases": {
"version": "2.0.6",
"resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.6.tgz",
"integrity": "sha512-PiVXnNuFm5+iYkLBNeq5211hvO38y63T0i2KKh2KnUs3RpzJ+JtODFjkD8yjLwnDkTYF1eKXheUwdssR+NRZdg==",
"dev": true
},
"p-locate": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",
......@@ -1332,6 +1390,47 @@
"find-up": "^4.0.0"
}
},
"postcss": {
"version": "7.0.39",
"resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz",
"integrity": "sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==",
"dev": true,
"requires": {
"picocolors": "^0.2.1",
"source-map": "^0.6.1"
}
},
"postcss-loader": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/postcss-loader/-/postcss-loader-3.0.0.tgz",
"integrity": "sha512-cLWoDEY5OwHcAjDnkyRQzAXfs2jrKjXpO/HQFcc5b5u/r7aa471wdmChmwfnv7x2u840iat/wi0lQ5nbRgSkUA==",
"dev": true,
"requires": {
"loader-utils": "^1.1.0",
"postcss": "^7.0.0",
"postcss-load-config": "^2.0.0",
"schema-utils": "^1.0.0"
},
"dependencies": {
"schema-utils": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-1.0.0.tgz",
"integrity": "sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g==",
"dev": true,
"requires": {
"ajv": "^6.1.0",
"ajv-errors": "^1.0.0",
"ajv-keywords": "^3.1.0"
}
}
}
},
"postcss-value-parser": {
"version": "4.2.0",
"resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz",
"integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==",
"dev": true
},
"semver": {
"version": "6.3.0",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
......@@ -1400,6 +1499,43 @@
}
}
},
"@vue/compiler-sfc": {
"version": "2.7.14",
"resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-2.7.14.tgz",
"integrity": "sha512-aNmNHyLPsw+sVvlQFQ2/8sjNuLtK54TC6cuKnVzAY93ks4ZBrvwQSnkkIh7bsbNhum5hJBS00wSDipQ937f5DA==",
"requires": {
"@babel/parser": "^7.18.4",
"postcss": "^8.4.14",
"source-map": "^0.6.1"
},
"dependencies": {
"@babel/parser": {
"version": "7.20.3",
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.20.3.tgz",
"integrity": "sha512-OP/s5a94frIPXwjzEcv5S/tpQfc6XhxYUnmWpgdqMWGgYCuErA3SzozaRAMQgSZWKeTJxht9aWAkUY+0UzvOFg=="
},
"picocolors": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz",
"integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ=="
},
"postcss": {
"version": "8.4.19",
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.19.tgz",
"integrity": "sha512-h+pbPsyhlYj6N2ozBmHhHrs9DzGmbaarbLvWipMRO7RLS+v4onj26MPFXA5OBYFxyqYhUJK456SwDcY9H2/zsA==",
"requires": {
"nanoid": "^3.3.4",
"picocolors": "^1.0.0",
"source-map-js": "^1.0.2"
}
},
"source-map": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
"integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="
}
}
},
"@vue/component-compiler-utils": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/@vue/component-compiler-utils/-/component-compiler-utils-3.1.0.tgz",
......@@ -1690,6 +1826,11 @@
"integrity": "sha512-aT6camzM4xEA54YVJYSqxz1kv4IHnQZRtThJJHhUMRExaU5spC7jX5ugSwTaTgJliIgs4VhZOk7htClvQ/LmRA==",
"dev": true
},
"adler-32": {
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/adler-32/-/adler-32-1.3.1.tgz",
"integrity": "sha512-ynZ4w/nUUv5rrsR8UUGoe1VC9hZj6V5hU9Qw1HlMDJGEJw5S7TfTErWTjMys6M7vr0YWcPqs3qAr4ss0nDfP+A=="
},
"aggregate-error": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.0.1.tgz",
......@@ -1991,24 +2132,44 @@
"dev": true
},
"autoprefixer": {
"version": "9.7.3",
"resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-9.7.3.tgz",
"integrity": "sha512-8T5Y1C5Iyj6PgkPSFd0ODvK9DIleuPKUPYniNxybS47g2k2wFgLZ46lGQHlBuGKIAEV8fbCDfKCCRS1tvOgc3Q==",
"version": "8.6.5",
"resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-8.6.5.tgz",
"integrity": "sha512-PLWJN3Xo/rycNkx+mp8iBDMTm3FeWe4VmYaZDSqL5QQB9sLsQkG5k8n+LNDFnhh9kdq2K+egL/icpctOmDHwig==",
"dev": true,
"requires": {
"browserslist": "^4.8.0",
"caniuse-lite": "^1.0.30001012",
"chalk": "^2.4.2",
"browserslist": "^3.2.8",
"caniuse-lite": "^1.0.30000864",
"normalize-range": "^0.1.2",
"num2fraction": "^1.2.2",
"postcss": "^7.0.23",
"postcss-value-parser": "^4.0.2"
"postcss": "^6.0.23",
"postcss-value-parser": "^3.2.3"
},
"dependencies": {
"postcss-value-parser": {
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.0.2.tgz",
"integrity": "sha512-LmeoohTpp/K4UiyQCwuGWlONxXamGzCMtFxLq4W1nZVGIQLYvMCJx3yAF9qyyuFpflABI9yVdtJAqbihOsCsJQ==",
"browserslist": {
"version": "3.2.8",
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-3.2.8.tgz",
"integrity": "sha512-WHVocJYavUwVgVViC0ORikPHQquXwVh939TaelZ4WDqpWgTX/FsGhl/+P4qBUAGcRvtOgDgC+xftNWWp2RUTAQ==",
"dev": true,
"requires": {
"caniuse-lite": "^1.0.30000844",
"electron-to-chromium": "^1.3.47"
}
},
"postcss": {
"version": "6.0.23",
"resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.23.tgz",
"integrity": "sha512-soOk1h6J3VMTZtVeVpv15/Hpdl2cBLX3CAw4TAbkpTJiNPk9YP/zWcD1ND+xEtvyuuvKzbxliTOIyvkSeSJ6ag==",
"dev": true,
"requires": {
"chalk": "^2.4.1",
"source-map": "^0.6.1",
"supports-color": "^5.4.0"
}
},
"source-map": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
"integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
"dev": true
}
}
......@@ -2638,6 +2799,15 @@
}
}
},
"call-bind": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz",
"integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==",
"requires": {
"function-bind": "^1.1.1",
"get-intrinsic": "^1.0.2"
}
},
"call-me-maybe": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.1.tgz",
......@@ -2732,6 +2902,15 @@
"integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=",
"dev": true
},
"cfb": {
"version": "1.2.2",
"resolved": "https://registry.npmjs.org/cfb/-/cfb-1.2.2.tgz",
"integrity": "sha512-KfdUZsSOw19/ObEWasvBP/Ac4reZvAGauZhs6S/gqNhXhI7cKwvlH7ulj+dOEYnca4bm4SGo8C1bTAQvnTjgQA==",
"requires": {
"adler-32": "~1.3.0",
"crc-32": "~1.2.0"
}
},
"chalk": {
"version": "2.4.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
......@@ -2749,6 +2928,11 @@
"integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==",
"dev": true
},
"charenc": {
"version": "0.0.2",
"resolved": "https://registry.npmjs.org/charenc/-/charenc-0.0.2.tgz",
"integrity": "sha512-yrLQ/yVUFXkzg7EDQsPieE/53+0RlaWTs+wBrvW36cyilJ2SaDWfl4Yj7MtLTXleV9uEKefbAGUPv2/iWSooRA=="
},
"check-types": {
"version": "8.0.3",
"resolved": "https://registry.npmjs.org/check-types/-/check-types-8.0.3.tgz",
......@@ -3033,6 +3217,11 @@
"integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=",
"dev": true
},
"codepage": {
"version": "1.15.0",
"resolved": "https://registry.npmjs.org/codepage/-/codepage-1.15.0.tgz",
"integrity": "sha512-3g6NUTPd/YtuuGrhMnOMRjFc+LJw/bnMp3+0r/Wcz3IXUuCosKRJvMphm5+Q+bvTVGcJJuRvVLuYba+WojaFaA=="
},
"collection-visit": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz",
......@@ -3365,6 +3554,11 @@
"parse-json": "^4.0.0"
}
},
"crc-32": {
"version": "1.2.2",
"resolved": "https://registry.npmjs.org/crc-32/-/crc-32-1.2.2.tgz",
"integrity": "sha512-ROmzCKrTnOwybPcJApAA6WBWij23HVfGVNKqqrZpuyZOHqK2CwHSvpGuyt/UNNvaIjEd8X5IFGp4Mh+Ie1IHJQ=="
},
"create-ecdh": {
"version": "4.0.3",
"resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.3.tgz",
......@@ -3415,6 +3609,11 @@
"which": "^1.2.9"
}
},
"crypt": {
"version": "0.0.2",
"resolved": "https://registry.npmjs.org/crypt/-/crypt-0.0.2.tgz",
"integrity": "sha512-mCxBlsHFYh9C+HVpiEacem8FEBnMXgU9gy4zmNC+SXAZNB/1idgp/aulFJ4FgCi7GPEVbfyng092GqL2k2rmow=="
},
"crypto-browserify": {
"version": "3.12.0",
"resolved": "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.12.0.tgz",
......@@ -3624,6 +3823,11 @@
"css-tree": "1.0.0-alpha.37"
}
},
"csstype": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.1.tgz",
"integrity": "sha512-DJR/VvkAvSZW9bTouZue2sSxDwdTN92uHjqeKVm+0dAqdfNykRzQ95tay8aXMBAAPpUiq4Qcug2L7neoRh2Egw=="
},
"current-script-polyfill": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/current-script-polyfill/-/current-script-polyfill-1.0.0.tgz",
......@@ -3657,7 +3861,7 @@
"de-indent": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/de-indent/-/de-indent-1.0.2.tgz",
"integrity": "sha1-sgOOhG3DO6pXlhKNCAS0VbjB4h0=",
"integrity": "sha512-e/1zu3xH5MQryN2zdVaF0OrdNLUbvWxzMbi+iNA6Bky7l1RoP8a2fIbRocyHclXt/arDrrR6lL3TqFD9pMQTsg==",
"dev": true
},
"debug": {
......@@ -4154,10 +4358,16 @@
"integrity": "sha512-kaBmGWJlLW5bGEbm7/HWG9jt4oH+uecBIIfzFWfFkgqssPT2I6RDenGqo4wmKzm7seNu7DSCRZBXCuf7w8dtkQ==",
"dev": true
},
"element-theme-chalk": {
"version": "2.15.12",
"resolved": "https://registry.npmjs.org/element-theme-chalk/-/element-theme-chalk-2.15.12.tgz",
"integrity": "sha512-0aUaUiO58MLYReyNnRSm73qs6zqA9U3Nb/4JB+yZdILhAwhYUTAMWKVv7ZjZqIFN5bgXNODaDaUyA7esrYG8mA==",
"dev": true
},
"element-ui": {
"version": "2.13.0",
"resolved": "https://registry.npmjs.org/element-ui/-/element-ui-2.13.0.tgz",
"integrity": "sha512-KYsHWsBXYbLELS8cdfvgJTOMSUby3UEjvsPV1V1VmgJ/DdkOAS4z3MiOrPxrT9w2Cc5lZ4eVSQiGhYFR5NVChw==",
"version": "2.15.12",
"resolved": "https://registry.npmjs.org/element-ui/-/element-ui-2.15.12.tgz",
"integrity": "sha512-Y5FMT2BPOindU2GkDEQ5ZKUVxDawKONRNMh2eL3uBx1FOtvUJ+L6IxXLVsNxq4WnaX/UnVNgWXebl7DobygZMg==",
"requires": {
"async-validator": "~1.8.1",
"babel-helper-vue-jsx-merge-props": "^2.0.0",
......@@ -4295,6 +4505,12 @@
"is-symbol": "^1.0.2"
}
},
"escalade": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz",
"integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==",
"dev": true
},
"escape-html": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz",
......@@ -5030,6 +5246,11 @@
"integrity": "sha1-mMI9qxF1ZXuMBXPozszZGw/xjIQ=",
"dev": true
},
"frac": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/frac/-/frac-1.1.2.tgz",
"integrity": "sha512-w/XBfkibaTl3YDqASwfDUqkna4Z2p9cFSr1aHDt0WoMTECnRfBOv2WArlZILlqgWlmdIlALXGpM2AOhEk5W3IA=="
},
"fragment-cache": {
"version": "0.2.1",
"resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz",
......@@ -5114,7 +5335,8 @@
"ansi-regex": {
"version": "2.1.1",
"bundled": true,
"dev": true
"dev": true,
"optional": true
},
"aproba": {
"version": "1.2.0",
......@@ -5135,12 +5357,14 @@
"balanced-match": {
"version": "1.0.0",
"bundled": true,
"dev": true
"dev": true,
"optional": true
},
"brace-expansion": {
"version": "1.1.11",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"balanced-match": "^1.0.0",
"concat-map": "0.0.1"
......@@ -5155,17 +5379,20 @@
"code-point-at": {
"version": "1.1.0",
"bundled": true,
"dev": true
"dev": true,
"optional": true
},
"concat-map": {
"version": "0.0.1",
"bundled": true,
"dev": true
"dev": true,
"optional": true
},
"console-control-strings": {
"version": "1.1.0",
"bundled": true,
"dev": true
"dev": true,
"optional": true
},
"core-util-is": {
"version": "1.0.2",
......@@ -5282,7 +5509,8 @@
"inherits": {
"version": "2.0.4",
"bundled": true,
"dev": true
"dev": true,
"optional": true
},
"ini": {
"version": "1.3.5",
......@@ -5294,6 +5522,7 @@
"version": "1.0.0",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"number-is-nan": "^1.0.0"
}
......@@ -5308,6 +5537,7 @@
"version": "3.0.4",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"brace-expansion": "^1.1.7"
}
......@@ -5315,12 +5545,14 @@
"minimist": {
"version": "0.0.8",
"bundled": true,
"dev": true
"dev": true,
"optional": true
},
"minipass": {
"version": "2.9.0",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"safe-buffer": "^5.1.2",
"yallist": "^3.0.0"
......@@ -5339,6 +5571,7 @@
"version": "0.5.1",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"minimist": "0.0.8"
}
......@@ -5428,7 +5661,8 @@
"number-is-nan": {
"version": "1.0.1",
"bundled": true,
"dev": true
"dev": true,
"optional": true
},
"object-assign": {
"version": "4.1.1",
......@@ -5440,6 +5674,7 @@
"version": "1.4.0",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"wrappy": "1"
}
......@@ -5525,7 +5760,8 @@
"safe-buffer": {
"version": "5.1.2",
"bundled": true,
"dev": true
"dev": true,
"optional": true
},
"safer-buffer": {
"version": "2.1.2",
......@@ -5561,6 +5797,7 @@
"version": "1.0.2",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"code-point-at": "^1.0.0",
"is-fullwidth-code-point": "^1.0.0",
......@@ -5580,6 +5817,7 @@
"version": "3.0.1",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"ansi-regex": "^2.0.0"
}
......@@ -5623,12 +5861,14 @@
"wrappy": {
"version": "1.0.2",
"bundled": true,
"dev": true
"dev": true,
"optional": true
},
"yallist": {
"version": "3.1.1",
"bundled": true,
"dev": true
"dev": true,
"optional": true
}
}
},
......@@ -5647,8 +5887,7 @@
"function-bind": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
"integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==",
"dev": true
"integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A=="
},
"functional-red-black-tree": {
"version": "1.0.1",
......@@ -5724,6 +5963,23 @@
"integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==",
"dev": true
},
"get-intrinsic": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.3.tgz",
"integrity": "sha512-QJVz1Tj7MS099PevUG5jvnt9tSkXN8K14dxQlikJuPt4uD9hHAHjLyLBiLR5zELelBdD9QNRAXZzsJx0WaDL9A==",
"requires": {
"function-bind": "^1.1.1",
"has": "^1.0.3",
"has-symbols": "^1.0.3"
},
"dependencies": {
"has-symbols": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz",
"integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A=="
}
}
},
"get-stdin": {
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-6.0.0.tgz",
......@@ -5828,6 +6084,61 @@
"minimatch": "~3.0.2"
}
},
"glsx-common": {
"version": "1.4.9",
"resolved": "https://registry.npmjs.org/glsx-common/-/glsx-common-1.4.9.tgz",
"integrity": "sha512-RQWGOGEXUPNmHkZn7n+eukkXp6L/mOfsgMo4gFtrt80ZDxGaznHMg7Isi4+IrEdvVdzp8Cju0eiCTddnZfdsJg==",
"requires": {
"axios": "^0.21.3",
"md5": "^2.3.0",
"qs": "^6.10.1",
"sha1": "^1.1.1"
},
"dependencies": {
"axios": {
"version": "0.21.4",
"resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz",
"integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==",
"requires": {
"follow-redirects": "^1.14.0"
}
},
"follow-redirects": {
"version": "1.15.2",
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz",
"integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA=="
},
"qs": {
"version": "6.11.0",
"resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz",
"integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==",
"requires": {
"side-channel": "^1.0.4"
}
}
}
},
"glsx-components": {
"version": "1.5.3",
"resolved": "https://registry.npmjs.org/glsx-components/-/glsx-components-1.5.3.tgz",
"integrity": "sha512-tj/2DSGKpbwrlP7ByBZQrgEgCcmrP2iR8p/BafY6BFr0/q4sJuxQx6of586rJuoVUasRveIIuFmUcLCkBSnQFA==",
"requires": {
"@amap/amap-jsapi-loader": "^1.0.1",
"core-js": "^3.6.5",
"element-ui": "^2.15.6",
"glsx-common": "^1.4.9",
"vue": "^2.6.11",
"vue-amap": "^0.5.10",
"vuedraggable": "^2.24.3"
},
"dependencies": {
"core-js": {
"version": "3.26.1",
"resolved": "https://registry.npmjs.org/core-js/-/core-js-3.26.1.tgz",
"integrity": "sha512-21491RRQVzUn0GGM9Z1Jrpr6PNPxPi+Za8OM9q4tksTSnlbXXGKK1nXNg/QvwFYettXvSX6zWKCtHHfjN4puyA=="
}
}
},
"glsx-table": {
"version": "1.0.9",
"resolved": "https://registry.npmjs.org/glsx-table/-/glsx-table-1.0.9.tgz",
......@@ -5919,7 +6230,6 @@
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
"integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
"dev": true,
"requires": {
"function-bind": "^1.1.1"
}
......@@ -6342,7 +6652,7 @@
"import-cwd": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/import-cwd/-/import-cwd-2.1.0.tgz",
"integrity": "sha1-qmzzbnInYShcs3HsZRn1PiQ1sKk=",
"integrity": "sha512-Ew5AZzJQFqrOV5BTW3EIoHAnoie1LojZLXKcCQ/yTRyVZosBhK1x1ViYjHGf5pAFOq8ZyChZp6m/fSN7pJyZtg==",
"dev": true,
"requires": {
"import-from": "^2.1.0"
......@@ -6361,7 +6671,7 @@
"import-from": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/import-from/-/import-from-2.1.0.tgz",
"integrity": "sha1-M1238qev/VOqpHHUuAId7ja387E=",
"integrity": "sha512-0vdnLL2wSGnhlRmzHJAg5JHjt1l2vYhzJ7tNLGbeVg0fse56tpGaH0uzH+r9Slej+BSXXEHvBKDEnVSLLE9/+w==",
"dev": true,
"requires": {
"resolve-from": "^3.0.0"
......@@ -6560,8 +6870,7 @@
"is-buffer": {
"version": "1.1.6",
"resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz",
"integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==",
"dev": true
"integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w=="
},
"is-callable": {
"version": "1.1.5",
......@@ -6922,6 +7231,12 @@
"integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==",
"dev": true
},
"json-parse-even-better-errors": {
"version": "2.3.1",
"resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz",
"integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==",
"dev": true
},
"json-schema": {
"version": "0.2.3",
"resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz",
......@@ -6994,6 +7309,12 @@
"integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==",
"dev": true
},
"klona": {
"version": "2.0.5",
"resolved": "https://registry.npmjs.org/klona/-/klona-2.0.5.tgz",
"integrity": "sha512-pJiBpiXMbt7dkzXe8Ghj/u4FfXOOa98fPW+bihOJ4SjnoijweJrNThJfd3ifXpXhREjpoF2mZVH1GfS9LV3kHQ==",
"dev": true
},
"launch-editor": {
"version": "2.2.1",
"resolved": "https://registry.npmjs.org/launch-editor/-/launch-editor-2.2.1.tgz",
......@@ -7294,6 +7615,16 @@
"object-visit": "^1.0.0"
}
},
"md5": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/md5/-/md5-2.3.0.tgz",
"integrity": "sha512-T1GITYmFaKuO91vxyoQMFETst+O71VUPEU3ze5GNzDm0OWdP8v1ziTaAEPUr/3kLsY3Sftgz242A1SetQiDL7g==",
"requires": {
"charenc": "0.0.2",
"crypt": "0.0.2",
"is-buffer": "~1.1.6"
}
},
"md5.js": {
"version": "1.3.5",
"resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz",
......@@ -7686,6 +8017,11 @@
"integrity": "sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg==",
"dev": true
},
"nanoid": {
"version": "3.3.4",
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz",
"integrity": "sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw=="
},
"nanomatch": {
"version": "1.2.13",
"resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz",
......@@ -7968,7 +8304,7 @@
"normalize-range": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz",
"integrity": "sha1-LRDAa9/TEuqXd2laTShDlFa3WUI=",
"integrity": "sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==",
"dev": true
},
"normalize-url": {
......@@ -8015,7 +8351,7 @@
"num2fraction": {
"version": "1.2.2",
"resolved": "https://registry.npmjs.org/num2fraction/-/num2fraction-1.2.2.tgz",
"integrity": "sha1-b2gragJ6Tp3fpFZM0lidHU5mnt4=",
"integrity": "sha512-Y1wZESM7VUThYY+4W+X4ySH2maqcA+p7UR+w8VWNWVAd6lwuXXWz/w/Cz43J/dI2I+PS6wD5N+bJUF+gjWvIqg==",
"dev": true
},
"number-is-nan": {
......@@ -8549,6 +8885,12 @@
"integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=",
"dev": true
},
"picocolors": {
"version": "0.2.1",
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-0.2.1.tgz",
"integrity": "sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==",
"dev": true
},
"pify": {
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz",
......@@ -8707,9 +9049,9 @@
}
},
"postcss-load-config": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-2.1.0.tgz",
"integrity": "sha512-4pV3JJVPLd5+RueiVVB+gFOAa7GWc25XQcMp86Zexzke69mKf6Nx9LRcQywdz7yZI9n1udOxmLuAwTBypypF8Q==",
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-2.1.2.tgz",
"integrity": "sha512-/rDeGV6vMUo3mwJZmeHfEDvwnTKKqQ0S7OHUi/kJvvtx3aWtyWG2/0ZWnzCt2keEclwN6Tf0DST2v9kITdOKYw==",
"dev": true,
"requires": {
"cosmiconfig": "^5.0.0",
......@@ -8717,27 +9059,86 @@
}
},
"postcss-loader": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/postcss-loader/-/postcss-loader-3.0.0.tgz",
"integrity": "sha512-cLWoDEY5OwHcAjDnkyRQzAXfs2jrKjXpO/HQFcc5b5u/r7aa471wdmChmwfnv7x2u840iat/wi0lQ5nbRgSkUA==",
"version": "6.2.1",
"resolved": "https://registry.npmjs.org/postcss-loader/-/postcss-loader-6.2.1.tgz",
"integrity": "sha512-WbbYpmAaKcux/P66bZ40bpWsBucjx/TTgVVzRZ9yUO8yQfVBlameJ0ZGVaPfH64hNSBh63a+ICP5nqOpBA0w+Q==",
"dev": true,
"requires": {
"loader-utils": "^1.1.0",
"postcss": "^7.0.0",
"postcss-load-config": "^2.0.0",
"schema-utils": "^1.0.0"
"cosmiconfig": "^7.0.0",
"klona": "^2.0.5",
"semver": "^7.3.5"
},
"dependencies": {
"schema-utils": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-1.0.0.tgz",
"integrity": "sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g==",
"cosmiconfig": {
"version": "7.1.0",
"resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.1.0.tgz",
"integrity": "sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA==",
"dev": true,
"requires": {
"ajv": "^6.1.0",
"ajv-errors": "^1.0.0",
"ajv-keywords": "^3.1.0"
"@types/parse-json": "^4.0.0",
"import-fresh": "^3.2.1",
"parse-json": "^5.0.0",
"path-type": "^4.0.0",
"yaml": "^1.10.0"
}
},
"import-fresh": {
"version": "3.3.0",
"resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz",
"integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==",
"dev": true,
"requires": {
"parent-module": "^1.0.0",
"resolve-from": "^4.0.0"
}
},
"lru-cache": {
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
"integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
"dev": true,
"requires": {
"yallist": "^4.0.0"
}
},
"parse-json": {
"version": "5.2.0",
"resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz",
"integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==",
"dev": true,
"requires": {
"@babel/code-frame": "^7.0.0",
"error-ex": "^1.3.1",
"json-parse-even-better-errors": "^2.3.0",
"lines-and-columns": "^1.1.6"
}
},
"path-type": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz",
"integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==",
"dev": true
},
"resolve-from": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",
"integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==",
"dev": true
},
"semver": {
"version": "7.3.8",
"resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz",
"integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==",
"dev": true,
"requires": {
"lru-cache": "^6.0.0"
}
},
"yallist": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
"integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
"dev": true
}
}
},
......@@ -10182,6 +10583,15 @@
"safe-buffer": "^5.0.1"
}
},
"sha1": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/sha1/-/sha1-1.1.1.tgz",
"integrity": "sha512-dZBS6OrMjtgVkopB1Gmo4RQCDKiZsqcpAQpkV/aaj+FCrCg8r4I4qMkDPQjBgLIxlmu9k4nUbWq6ohXahOneYA==",
"requires": {
"charenc": ">= 0.0.1",
"crypt": ">= 0.0.1"
}
},
"shallow-clone": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-3.0.1.tgz",
......@@ -10212,6 +10622,23 @@
"integrity": "sha512-mRz/m/JVscCrkMyPqHc/bczi3OQHkLTqXHEFu0zDhK/qfv3UcOA4SVmRCLmos4bhjr9ekVQubj/R7waKapmiQg==",
"dev": true
},
"side-channel": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz",
"integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==",
"requires": {
"call-bind": "^1.0.0",
"get-intrinsic": "^1.0.2",
"object-inspect": "^1.9.0"
},
"dependencies": {
"object-inspect": {
"version": "1.12.2",
"resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.2.tgz",
"integrity": "sha512-z+cPxW0QGUp0mcqcsgQyLVRDoXFQbXOwBaqyF7VIgI4TWNQsDHrBpUQslRmIfAoYWdYzs6UlKJtB2XJpTaNSpQ=="
}
}
},
"signal-exit": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz",
......@@ -10427,6 +10854,11 @@
"is-plain-obj": "^1.0.0"
}
},
"sortablejs": {
"version": "1.10.2",
"resolved": "https://registry.npmjs.org/sortablejs/-/sortablejs-1.10.2.tgz",
"integrity": "sha512-YkPGufevysvfwn5rfdlGyrGjt7/CRHwvRPogD/lC+TnvcN29jDpCifKP+rBqf+LRldfXSTh+0CGLcSg0VIxq3A=="
},
"source-list-map": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/source-list-map/-/source-list-map-2.0.1.tgz",
......@@ -10439,6 +10871,11 @@
"integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
"dev": true
},
"source-map-js": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz",
"integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw=="
},
"source-map-resolve": {
"version": "0.5.3",
"resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.3.tgz",
......@@ -10563,6 +11000,14 @@
"integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=",
"dev": true
},
"ssf": {
"version": "0.11.2",
"resolved": "https://registry.npmjs.org/ssf/-/ssf-0.11.2.tgz",
"integrity": "sha512-+idbmIXoYET47hH+d7dfm2epdOMUDjqcB4648sTZ+t2JwoyBFL/insLfB/racrDmsKB3diwsDA696pZMieAC5g==",
"requires": {
"frac": "~1.1.2"
}
},
"sshpk": {
"version": "1.16.1",
"resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz",
......@@ -11369,12 +11814,45 @@
"integrity": "sha512-aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg==",
"dev": true
},
"update-browserslist-db": {
"version": "1.0.10",
"resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.10.tgz",
"integrity": "sha512-OztqDenkfFkbSG+tRxBeAnCVPckDBcvibKd35yDONx6OU8N7sqgwc7rCbkJ/WcYtVRZ4ba68d6byhC21GFh7sQ==",
"dev": true,
"requires": {
"escalade": "^3.1.1",
"picocolors": "^1.0.0"
},
"dependencies": {
"picocolors": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz",
"integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==",
"dev": true
}
}
},
"upper-case": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/upper-case/-/upper-case-1.1.3.tgz",
"integrity": "sha1-9rRQHC7EzdJrp4vnIilh3ndiFZg=",
"dev": true
},
"uppercamelcase": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/uppercamelcase/-/uppercamelcase-1.1.0.tgz",
"integrity": "sha512-C7YEMvhgrvTEKEEVqA7LXNID/1TvvIwYZqNIKLquS6y/MGSkRQAav9LnTTILlC1RqUM8eTVBOe1U/fnB652PRA==",
"requires": {
"camelcase": "^1.2.1"
},
"dependencies": {
"camelcase": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/camelcase/-/camelcase-1.2.1.tgz",
"integrity": "sha512-wzLkDa4K/mzI1OSITC+DUyjgIl/ETNHE9QvYgy6J6Jvqyyz4C0Xfd+lQhb19sX2jMpZV4IssUn0VDVmglV+s4g=="
}
}
},
"uri-js": {
"version": "4.2.2",
"resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz",
......@@ -11526,9 +12004,21 @@
"dev": true
},
"vue": {
"version": "2.6.11",
"resolved": "https://registry.npmjs.org/vue/-/vue-2.6.11.tgz",
"integrity": "sha512-VfPwgcGABbGAue9+sfrD4PuwFar7gPb1yl1UK1MwXoQPAw0BKSqWfoYCT/ThFrdEVWoI51dBuyCoiNU9bZDZxQ=="
"version": "2.7.14",
"resolved": "https://registry.npmjs.org/vue/-/vue-2.7.14.tgz",
"integrity": "sha512-b2qkFyOM0kwqWFuQmgd4o+uHGU7T+2z3T+WQp8UBjADfEv2n4FEMffzBmCKNP0IGzOEEfYjvtcC62xaSKeQDrQ==",
"requires": {
"@vue/compiler-sfc": "2.7.14",
"csstype": "^3.1.0"
}
},
"vue-amap": {
"version": "0.5.10",
"resolved": "https://registry.npmjs.org/vue-amap/-/vue-amap-0.5.10.tgz",
"integrity": "sha512-9ViNCev1vx32+zZ5RvF/TmUZNbwL9QrdA2/OnD2GlXMfQBkJy7D08Vb7379t6guqnopDPtWJ8K6gg72h9+4GUg==",
"requires": {
"uppercamelcase": "^1.1.0"
}
},
"vue-cli-plugin-element": {
"version": "1.0.1",
......@@ -11536,6 +12026,11 @@
"integrity": "sha512-OJSOnJtn7f1v/8xX+MJae+RrE8WguhiiG9QTBx/MNOPXYsxqut6Ommo+ZD3raNc7eryhqdM2T/DlMfdvIKpCtw==",
"dev": true
},
"vue-draggable-resizable": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/vue-draggable-resizable/-/vue-draggable-resizable-2.3.0.tgz",
"integrity": "sha512-77CLRj1TPwB30pwsjOf3pkd1UzYanCdKXbqhILJ0Oo5QQl50lvBfyQCXxMFzwWwTc3sbBbQH3FfWSV+BkoSElA=="
},
"vue-eslint-parser": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/vue-eslint-parser/-/vue-eslint-parser-5.0.0.tgz",
......@@ -11582,11 +12077,6 @@
"vue-style-loader": "^4.1.0"
}
},
"vue-router": {
"version": "3.1.3",
"resolved": "https://registry.npmjs.org/vue-router/-/vue-router-3.1.3.tgz",
"integrity": "sha512-8iSa4mGNXBjyuSZFCCO4fiKfvzqk+mhL0lnKuGcQtO1eoj8nq3CmbEG8FwK5QqoqwDgsjsf1GDuisDX4cdb/aQ=="
},
"vue-style-loader": {
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/vue-style-loader/-/vue-style-loader-4.1.2.tgz",
......@@ -11598,13 +12088,13 @@
}
},
"vue-template-compiler": {
"version": "2.6.11",
"resolved": "https://registry.npmjs.org/vue-template-compiler/-/vue-template-compiler-2.6.11.tgz",
"integrity": "sha512-KIq15bvQDrcCjpGjrAhx4mUlyyHfdmTaoNfeoATHLAiWB+MU3cx4lOzMwrnUh9cCxy0Lt1T11hAFY6TQgroUAA==",
"version": "2.7.14",
"resolved": "https://registry.npmjs.org/vue-template-compiler/-/vue-template-compiler-2.7.14.tgz",
"integrity": "sha512-zyA5Y3ArvVG0NacJDkkzJuPQDF8RFeRlzV2vLeSnhSpieO6LK2OVbdLPi5MPPs09Ii+gMO8nY4S3iKQxBxDmWQ==",
"dev": true,
"requires": {
"de-indent": "^1.0.2",
"he": "^1.1.0"
"he": "^1.2.0"
}
},
"vue-template-es2015-compiler": {
......@@ -11613,10 +12103,13 @@
"integrity": "sha512-4gDntzrifFnCEvyoO8PqyJDmguXgVPxKiIxrBKjIowvL9l+N66196+72XVYR8BBf1Uv1Fgt3bGevJ+sEmxfZzw==",
"dev": true
},
"vuex": {
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/vuex/-/vuex-3.1.2.tgz",
"integrity": "sha512-ha3jNLJqNhhrAemDXcmMJMKf1Zu4sybMPr9KxJIuOpVcsDQlTBYLLladav2U+g1AvdYDG5Gs0xBTb0M5pXXYFQ=="
"vuedraggable": {
"version": "2.24.3",
"resolved": "https://registry.npmjs.org/vuedraggable/-/vuedraggable-2.24.3.tgz",
"integrity": "sha512-6/HDXi92GzB+Hcs9fC6PAAozK1RLt1ewPTLjK0anTYguXLAeySDmcnqE8IC0xa7shvSzRjQXq3/+dsZ7ETGF3g==",
"requires": {
"sortablejs": "1.10.2"
}
},
"watchpack": {
"version": "1.6.0",
......@@ -12005,6 +12498,16 @@
"string-width": "^1.0.2 || 2"
}
},
"wmf": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/wmf/-/wmf-1.0.2.tgz",
"integrity": "sha512-/p9K7bEh0Dj6WbXg4JG0xvLQmIadrner1bi45VMJTfnbVHsc7yIajZyoSoK60/dtVBs12Fm6WkUI5/3WAVsNMw=="
},
"word": {
"version": "0.3.0",
"resolved": "https://registry.npmjs.org/word/-/word-0.3.0.tgz",
"integrity": "sha512-OELeY0Q61OXpdUfTp+oweA/vtLVg5VDOXh+3he3PNzLGG/y0oylSOC1xRVj0+l4vQ3tj/bB1HVHv1ocXkQceFA=="
},
"word-wrap": {
"version": "1.2.3",
"resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz",
......@@ -12105,6 +12608,20 @@
"async-limiter": "~1.0.0"
}
},
"xlsx": {
"version": "0.18.5",
"resolved": "https://registry.npmjs.org/xlsx/-/xlsx-0.18.5.tgz",
"integrity": "sha512-dmg3LCjBPHZnQp5/F/+nnTa+miPJxUXB6vtk42YjBBKayDNagxGEeIdWApkYPOf3Z3pm3k62Knjzp7lMeTEtFQ==",
"requires": {
"adler-32": "~1.3.0",
"cfb": "~1.2.1",
"codepage": "~1.15.0",
"crc-32": "~1.2.1",
"ssf": "~0.11.2",
"wmf": "~1.0.1",
"word": "~0.3.0"
}
},
"xtend": {
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz",
......@@ -12123,6 +12640,12 @@
"integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==",
"dev": true
},
"yaml": {
"version": "1.10.2",
"resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz",
"integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==",
"dev": true
},
"yargs": {
"version": "15.1.0",
"resolved": "https://registry.npmjs.org/yargs/-/yargs-15.1.0.tgz",
......@@ -12285,4 +12808,4 @@
}
}
}
}
\ No newline at end of file
}
......@@ -13,7 +13,7 @@
"core-js": "^3.4.4",
"el-tree-transfer": "^2.2.6",
"glsx-common": "^1.4.6",
"glsx-components": "^1.3.7",
"glsx-components": "^1.5.3",
"glsx-table": "^1.0.9",
"vue-draggable-resizable": "^2.3.0",
"vuedraggable": "^2.24.3",
......@@ -38,7 +38,7 @@
"prettier": "^1.19.1",
"sass-loader": "^8.0.0",
"vue-cli-plugin-element": "^1.0.1",
"vue-template-compiler": "^2.6.10"
"vue-template-compiler": "^2.7.14"
},
"browserslist": [
"> 1%",
......
......@@ -2,7 +2,7 @@
* @Author: yangming yangming@didihu.com.cn
* @Date: 2022-10-12 09:30:11
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2022-10-19 14:07:55
* @LastEditTime: 2022-11-25 10:43:38
* @FilePath: \scrm-micro-drainage\src\api\modules\businessCard.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
......@@ -121,7 +121,39 @@ const pagerecord = params => {
sign: true
})
}
// 导出活动申请记录
const activityExport = params => {
params.method = 'entmicro.api.business.card.activity.export'
params.sessionId = session
return http({
url: '/rop-scrm-entmicro/router',
method: 'POST',
data: params,
sign: true
})
}
// 导出智能名片分页列表
const cardExport = params => {
params.method = 'entmicro.api.business.card.export'
params.sessionId = session
return http({
url: '/rop-scrm-entmicro/router',
method: 'POST',
data: params,
sign: true
})
}
// 导出访客记录
const cardRecordExport = params => {
params.method = 'entmicro.api.business.cardRecord.export'
params.sessionId = session
return http({
url: '/rop-scrm-entmicro/router',
method: 'POST',
data: params,
sign: true
})
}
export default {
getBussinessCardListApi,
delBussinessCardApi,
......@@ -132,5 +164,8 @@ export default {
activityFollow,
activityRecord,
activityApply,
pagerecord
pagerecord,
activityExport,
cardRecordExport,
cardExport
}
......@@ -3,8 +3,8 @@
* @version:
* @Author: limin
* @Date: 2021-06-07 14:12:32
* @LastEditors: limin
* @LastEditTime: 2021-09-07 14:38:52
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2022-11-25 13:57:31
*/
// 根据环境引入不同配置 process.env.VUE_APP_ENV
// let request = require('@/http/request.js')
......
/*
* @Author: yangming yangming@didihu.com.cn
* @Date: 2022-11-25 10:20:02
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2022-11-25 13:37:55
* @FilePath: \scrm-micro-drainage\src\setup\qiankun.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
import Vue from 'vue'
// import { message } from '@/plugins/element.js'
import { fetchConfig } from '@/config'
......@@ -23,7 +31,7 @@ export async function bootstrap({ name, id, history, common, messenger, globalSt
Vue.prototype.$messenger = messenger
Vue.prototype.$globalState = globalState
Vue.prototype.$common = common
Vue.prototype.$http = new common.Http({ response, request, sign, secret, alert: ElementUI.Message.error, headers: { token: globalState.session.token } })
Vue.prototype.$http = new common.Http({ response, request, sign, secret, alert: ElementUI.Message.error, headers: { token: 'scrm-base-fd30e9d8-aea4-4367-936d-3e7a9cdaa18d-rop' } })
Vue.prototype.$http_tag = new common.Http({ response, request: request_tag, sign, secret, alert: ElementUI.Message.error, headers: { token: globalState.session.token } })
Vue.prototype.$http_common = new common.Http({ response, signWay: 'md5', request: request_common, sign: sign_common, secret, alert: ElementUI.Message.error, headers: { TGT: globalState.session.token } })
const routesData = common.utils.deepClone(globalState.routers)
......
......@@ -81,14 +81,15 @@ util.openUrl = function(url) {
}
util.downloadUrl = function(url) {
const link = document.createElement('a')
link.href = url
link.href = url.replace(/(http|https):/, '')
document.body.appendChild(link)
link.click()
document.body.removeChild(link)
}
util.getArrayIsSubset = (arr2, arr1) => {
const filterArr = arr2.map(item => item.replace(/\s/g, ''))
return arr1.every(item => {
return arr2.includes(item)
return filterArr.includes(item.replace(/\s/g, ''))
})
}
util.downloadIamge = function(imgsrc, name = new Date().getTime()) {
......
......@@ -2,6 +2,12 @@
<div>
<div class="form-panel scrm-box-f">
<GLCombiForm :rowNumber="1" ref="formSearch" :formObj="tableSearchForm" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
<div class="tabel-header">
<div class="tabel-header-title">活动申请列表</div>
<el-button plain size="small" @click="handleExport">
导出
</el-button>
</div>
<GLTable v-loading="loading" ref="table" @refreshTable="handleSearch" :searchForm="tableSearchForm" :layout="layout" :tableData="tableData" :tableTotal="tableTotal" :pageConf="pageConf" :tableParams="tableParams">
<div class="table-btns" slot="optionBtns" slot-scope="scope">
<el-button type="text" @click="accessToRecords(scope.scope)">访问记录</el-button>
......@@ -70,7 +76,6 @@
<script>
import util from '@/utils/util'
export default {
name: 'activityList',
data() {
......@@ -204,6 +209,13 @@ export default {
}
},
methods: {
//导出
handleExport() {
let params = this.getParams(1)
this.$apis.businessCard.activityExport(params).then(res => {
util.downloadUrl(res)
})
},
productItem(row) {
return (row && row.split(',')) || []
},
......@@ -259,20 +271,22 @@ export default {
this.dialogVisibleDel = true
this.selectItem = scope
},
activityRecord() {
getParams(status) {
if (this.tableSearchForm.createTime) {
this.tableSearchForm.startApplyDate = new Date(this.tableSearchForm.createTime[0]).toLocaleDateString().replace(/\//g, '/')
this.tableSearchForm.endApplyDate = new Date(this.tableSearchForm.createTime[1]).toLocaleDateString().replace(/\//g, '/')
}
const params = {
...JSON.parse(JSON.stringify(this.tableSearchForm)),
pageSize: this.$refs.table.page.pageSize,
pageSize: status ? 100000 : this.$refs.table.page.pageSize,
pageNum: this.$refs.table.page.pageNum
}
delete params.createTime
return params
},
activityRecord() {
const params = this.getParams()
this.loading = true
this.$apis.businessCard.activityRecord(params).then(res => {
this.loading = false
if (res) {
......@@ -293,6 +307,16 @@ export default {
}
</style>
<style lang="scss" scoped>
.tabel-header {
display: flex;
justify-content: space-between;
margin-bottom: 10px;
&-title {
color: #333333;
font-size: 18px;
font-weight: 600;
}
}
.product-item {
line-height: 26px;
padding: 0 8px;
......
......@@ -8,6 +8,12 @@
</div>
<div class="form-panel scrm-box-f">
<GLCombiForm :rowNumber="1" ref="formSearch" :formObj="tableSearchForm" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
<div class="tabel-header">
<div class="tabel-header-title">智能名片列表</div>
<el-button plain size="small" @click="handleExport">
导出
</el-button>
</div>
<GLTable v-loading="loading" ref="table" @refreshTable="handleSearch" :searchForm="tableSearchForm" :layout="layout" :tableData="tableData" :tableTotal="tableTotal" :pageConf="pageConf" :tableParams="tableParams">
<div class="table-btns" slot="optionBtns" slot-scope="scope">
<GLTableButton :buttonList="tableButtonList" :buttonItem="scope.scope" :buttonNum="3"></GLTableButton>
......@@ -192,6 +198,12 @@ export default {
}
},
methods: {
handleExport() {
let params = this.getParams()
this.$apis.businessCard.cardExport(params).then(res => {
util.downloadUrl(res)
})
},
//员工详情
handleEmpDetail(scope, status) {
this.$refs.empDetailForm.init(scope, status)
......@@ -248,12 +260,16 @@ export default {
this.dialogVisibleDel = true
this.selectItem = scope
},
listBussinessCardByPage() {
getParams(status) {
const params = {
...JSON.parse(JSON.stringify(this.tableSearchForm)),
pageSize: this.$refs.table.page.pageSize,
pageSize: status ? 100000 : this.$refs.table.page.pageSize,
pageNum: this.$refs.table.page.pageNum
}
return params
},
listBussinessCardByPage() {
const params = this.getParams()
this.loading = true
this.$apis.businessCard.getBussinessCardListApi(params).then(res => {
......@@ -276,6 +292,16 @@ export default {
}
</style>
<style lang="scss" scoped>
.tabel-header {
display: flex;
justify-content: space-between;
margin-bottom: 10px;
&-title {
color: #333333;
font-size: 18px;
font-weight: 600;
}
}
.link-dialog {
text-decoration: underline;
cursor: pointer;
......
......@@ -20,12 +20,17 @@
</div>
<div class="titleAndTime">
<div class="listTitle">访问列表</div>
<el-radio-group v-model="timeRadio" size="mini" @change="handleTab">
<el-radio-button label="1">今天</el-radio-button>
<el-radio-button label="2">本周</el-radio-button>
<el-radio-button label="3">本月</el-radio-button>
<el-radio-button label="4">今年</el-radio-button>
</el-radio-group>
<div>
<el-radio-group v-model="timeRadio" size="mini" @change="handleTab">
<el-radio-button label="1">今天</el-radio-button>
<el-radio-button label="2">本周</el-radio-button>
<el-radio-button label="3">本月</el-radio-button>
<el-radio-button label="4">今年</el-radio-button>
</el-radio-group>
<el-button style="margin-left:20px" plain size="small" @click="handleExport">
导出
</el-button>
</div>
</div>
<GLTable ref="table" :layout="layout" :tableData="tableData" :tableTotal="tableTotal" :pageConf="pageConf" :tableParams="tableParams" @refreshTable="handleSearch">
<div class="table-btns" slot="optionBtns" slot-scope="scope">
......@@ -50,6 +55,7 @@
</template>
<script>
import util from '@/utils/util'
export default {
name: 'recordList',
data() {
......@@ -144,6 +150,12 @@ export default {
}
},
methods: {
handleExport() {
const params = this.getParams(1)
this.$apis.businessCard.cardRecordExport(params).then(res => {
util.downloadUrl(res)
})
},
// 查看访问记录弹框
accessToRecords(scope) {
this.dialogTableVisible = true
......@@ -191,19 +203,22 @@ export default {
handleSearch() {
this.codeSearch()
},
codeSearch() {
getParams(status) {
if (this.tableSearchForm.createTime) {
this.tableSearchForm.startDate = new Date(this.tableSearchForm.createTime[0]).toLocaleDateString().replace(/\//g, '-')
this.tableSearchForm.endDate = new Date(this.tableSearchForm.createTime[1]).toLocaleDateString().replace(/\//g, '-')
}
let params = {
...JSON.parse(JSON.stringify(this.tableSearchForm)),
pageSize: this.$refs.table.page.pageSize,
pageSize: status ? 100000 : this.$refs.table.page.pageSize,
pageNum: this.$refs.table.page.pageNum,
dateInterval: this.dateInterval
}
delete params.createTime
return params
},
codeSearch() {
const params = this.getParams()
this.sendPageListApi(params)
},
sendPageListApi(params) {
......
<template>
<div class="scrm-main">
<div class="channel-main-guidance scrm-box-f">
<div class="channel-main-guidance-item">
<div class="channel-main-guidance-item-head">
<img src="@/assets/img/channel/staff.png" />
<div class="channel-main-guidance-item-title">配置名片关联的员工</div>
</div>
<div class="channel-main-guidance-item-info">名片可关联一个或多个员工。配置多名员工时,客户扫码后仅会添加随机的某个员工。</div>
</div>
<div class="channel-arrow">
<img src="@/assets/img/channel/channel-arrow.png" />
</div>
<div class="channel-main-guidance-item">
<div class="channel-main-guidance-item-head">
<img src="@/assets/img/channel/equity.png" />
<div class="channel-main-guidance-item-title">配置客户领取的权益</div>
</div>
<div class="channel-main-guidance-item-info">客户添加员工为好友后,系统将通过欢迎语发送相关的权益礼包。 礼包内容可结合互联网权益、自店权益。由于企微官方限制,使用前请先确认已取消统一的欢迎语。</div>
</div>
<div class="channel-arrow">
<img src="@/assets/img/channel/channel-arrow.png" />
</div>
<div class="channel-main-guidance-item">
<div class="channel-main-guidance-item-head">
<img src="@/assets/img/channel/card.png" />
<div class="channel-main-guidance-item-title">生成智能员工名片</div>
</div>
<div class="channel-main-guidance-item-info">名片生成后长期有效,可结合门店业务需要,添加到门店活动易拉宝、员工卡座立牌、活动海报,实现灵活的集客。</div>
</div>
</div>
<div class="channel-main scrm-box-f">
<div class="chanel-form-title">基本信息</div>
<div class="chanel-form-box">
<el-form ref="codeForm" :model="addCodeForm" class="code-body-form" label-width="120px" :rules="codeRules">
<el-row>
<el-form-item label="渠道名称" prop="codeName">
<el-input size="small" v-model.trim="addCodeForm.codeName" placeholder="请输入渠道名称" maxlength="30"></el-input>
</el-form-item>
</el-row>
<el-row>
<el-form-item label="备注">
<el-input size="small" v-model.trim="addCodeForm.codeRemark" placeholder="请输入备注" maxlength="30"></el-input>
<div class="form-tips">设置备注,便于后续管理查找</div>
</el-form-item>
</el-row>
<el-row>
<el-form-item label="自动通过验证">
<el-switch v-model="addCodeForm.autoAdd" active-color="#5850FF" inactive-color="#999999"></el-switch>
<span class="form-tips-btn">开启后,客户添加使用人员无需好友验证</span>
</el-form-item>
</el-row>
<el-row>
<el-form-item label="选择标签">
<el-button size="small" @click="handleAddTag">
<div class="chanel-form-box gl-form-page">
<el-form ref="codeForm" :model="addCodeForm" class="code-body-form" label-width="154px" :rules="codeRules">
<!-- <el-row> -->
<el-form-item label="渠道名称:" prop="codeName">
<el-input size="small" v-model.trim="addCodeForm.codeName" placeholder="请输入渠道名称" maxlength="30"></el-input>
</el-form-item>
<!-- </el-row>
<el-row> -->
<el-form-item label="备注:">
<el-input size="small" v-model.trim="addCodeForm.codeRemark" placeholder="请输入备注" maxlength="30"></el-input>
<div class="form-tips">设置备注,便于后续管理查找</div>
</el-form-item>
<!-- </el-row>
<el-row> -->
<el-form-item label="自动通过验证:">
<el-switch v-model="addCodeForm.autoAdd" active-color="#5850FF" inactive-color="#999999"></el-switch>
<span class="form-tips-btn">开启后,客户添加使用人员无需好友验证</span>
</el-form-item>
<!-- </el-row>
<el-row> -->
<el-form-item label="选择标签:">
<el-button size="small" @click="handleAddTag">
<i class="el-icon-plus"></i>
选择标签
</el-button>
<span class="form-tips-btn">
已选择
<span>{{ taggingLength }}</span>
个标签
</span>
<div class="form-tips">自动为通过该活码添加的客户打上所选标签</div>
<div class="el-input-tag input-tag-wrapper" v-show="taggingLength">
<template v-if="tagging && tagging.length > 0">
<template v-for="(item, index) in tagging">
<el-tag type="info" v-for="(tag, idx) in item.labelList" :key="idx" closable :disable-transitions="false" @close="removeTag(item, idx, index)">
{{ tag ? tag.name : '' }}
</el-tag>
</template>
</template>
</div>
</el-form-item>
<!-- </el-row>
<el-row> -->
<div class="el-form-item is-required">
<label for="codeName" class="el-form-item__label" style="width: 154px">选择专员:</label>
<div class="el-form-item__content" style="margin-left: 154px">
<el-button size="small" @click="handleAddEmp">
<i class="el-icon-plus"></i>
选择标签
选择专员
</el-button>
<span class="form-tips-btn">
已选择
<span>{{ taggingLength }}</span>
个标签
<span>{{ staffInfo.length }}</span>
人
</span>
<div class="form-tips">自动为通过该活码添加的客户打上所选标签</div>
<div class="el-input-tag input-tag-wrapper" v-show="taggingLength">
<template v-if="tagging && tagging.length > 0">
<template v-for="(item, index) in tagging">
<el-tag type="info" v-for="(tag, idx) in item.labelList" :key="idx" closable :disable-transitions="false" @close="removeTag(item, idx, index)">
{{ tag ? tag.name : '' }}
</el-tag>
</template>
</template>
</div>
</el-form-item>
</el-row>
<el-row>
<div class="el-form-item is-required">
<label for="codeName" class="el-form-item__label" style="width: 120px">选择专员</label>
<div class="el-form-item__content" style="margin-left: 120px">
<el-button size="small" @click="handleAddEmp">
<i class="el-icon-plus"></i>
选择专员
</el-button>
<span class="form-tips-btn">
已选择
<span>{{ staffInfo.length }}</span>
人
</span>
<div class="form-tips">客户扫码后将添加所选专员为好友,选择多名专员则按ABAB的顺序添加客户</div>
<div class="el-input-tag input-tag-wrapper" v-show="staffInfo.length">
<el-tag effect="plain" type="info" v-for="(tag, idx) in staffInfo" :key="idx" closable :disable-transitions="false" @close="removeStaff(idx)">
<i class="el-icon-user-solid"></i>
{{ tag.staffName }}
</el-tag>
</div>
<div class="el-form-item__error" v-if="staffStatus">请选择专员</div>
<div class="form-tips">客户扫码后将添加所选专员为好友,选择多名专员则按ABAB的顺序添加客户</div>
<div class="el-input-tag input-tag-wrapper" v-show="staffInfo.length">
<el-tag effect="plain" type="info" v-for="(tag, idx) in staffInfo" :key="idx" closable :disable-transitions="false" @close="removeStaff(idx)">
<i class="el-icon-user-solid"></i>
{{ tag.staffName }}
</el-tag>
</div>
<div class="el-form-item__error" v-if="staffStatus">请选择专员</div>
</div>
</el-row>
</div>
<!-- </el-row> -->
</el-form>
</div>
</div>
......@@ -75,19 +104,19 @@
<div class="chanel-form-title">欢迎语</div>
<div class="welcome-panel">
<div class="welcome-switch">
<label>自动发送欢迎语</label>
<label>自动发送欢迎语:</label>
<el-switch v-model="autoWelcome" active-color="#5850FF" inactive-color="#999999"></el-switch>
</div>
<div class="welcome-box" v-show="autoWelcome">
<welcome-words :eventBus="eventBus" ref="welcome"></welcome-words>
<GLEditor ref="welcome" :form="'customer'" :btnList="btnList" @previewWord="previewForm"></GLEditor>
</div>
</div>
</div>
<GLFooter
>
<GLFooter>
<el-button type="primary" @click="handleSave">提交</el-button>
<el-button @click="goback">取消</el-button>
</GLFooter>
<GLDialog title="提示" @onOk="handleSure" @onCancel="dialogVisible = false" type="warning" content="当前有内容信息未保存,是否继续返回?" :visible.sync="dialogVisible" mode="small"></GLDialog>
<select-emp @selectTable="selectTable" ref="selectEmpForm"></select-emp>
<select-tag ref="selectTagForm" @tagSelected="tagSelected"></select-tag>
</div>
......@@ -95,16 +124,16 @@
<script>
import { utils } from 'glsx-common'
import Vue from 'vue'
import selectEmp from '@/components/selectEmp'
import selectTag from '@/components/selectTag'
import welcomeWords from '@/components/welcome/welcomeWords.vue'
import word from '@/mixins/word'
export default {
mixins: [word],
name: 'addCode',
components: { welcomeWords, selectEmp, selectTag },
components: { selectEmp, selectTag },
data() {
return {
eventBus: new Vue(),
dialogVisible: false,
addCodeForm: {
codeName: '',
codeRemark: '',
......@@ -164,17 +193,14 @@ export default {
})
})
if (this.editStatus || (this.$refs.welcome.previewList.length > 0 && !this.codeId)) {
this.$confirm('当前有内容信息未保存,是否继续返回?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
this.$router.push('/channel/index')
})
this.dialogVisible = true
} else {
this.$router.push('/channel/index')
}
},
handleSure() {
this.$router.push('/channel/index')
},
removeTag(item, idx, index) {
item.labelList.splice(idx, 1)
if (item.labelList.length == 0) {
......@@ -202,7 +228,7 @@ export default {
tagSelected(item) {
this.tagging = item
},
handleSave: utils.debounce(function () {
handleSave: utils.debounce(function() {
if (this.staffInfo.length == 0) {
this.staffStatus = true
return
......@@ -210,21 +236,23 @@ export default {
this.$refs['codeForm'].validate(valid => {
if (valid) {
let param = Object.assign({ id: this.codeId }, this.addCodeForm)
let tagging = this.tagging.map(item => {
let tagIds = item.labelList.map(tag => {
return tag.id
})
let name = item.labelList.map(tag => {
return tag.name
if (this.tagging && this.tagging.length) {
let tagging = this.tagging.map(item => {
let tagIds = item.labelList.map(tag => {
return tag.id
})
let name = item.labelList.map(tag => {
return tag.name
})
return {
groupId: item.labelGroup.id,
tagIds: tagIds.join(','),
name: name.join(','),
labelType: item.labelGroup.name
}
})
return {
groupId: item.labelGroup.id,
tagIds: tagIds.join(','),
name: name.join(','),
labelType: item.labelGroup.name
}
})
param.tagging = JSON.stringify(tagging)
param.tagging = JSON.stringify(tagging)
}
param.autoWelcome = this.autoWelcome ? 1 : 0
param.codeSystem = 0
let staffId = []
......@@ -267,22 +295,25 @@ export default {
this.addCodeForm.autoAdd = this.addCodeForm.autoAdd == 1 ? true : false
this.staffInfo = res.staffInfo
const tagging = eval(res.tagging)
const taggingList = tagging.map(item => {
let name = item.name.split(',')
let ids = item.tagIds.split(',')
console.log(ids)
let labelList = name.map((tag, index) => {
return { id: ids[index], name: tag }
if (tagging && tagging.length) {
const taggingList = tagging.map(item => {
let name = item.name.split(',')
let ids = item.tagIds.split(',')
console.log(ids)
let labelList = name.map((tag, index) => {
return { id: ids[index], name: tag }
})
return {
labelGroup: {
id: item.groupId,
name: item.labelType
},
labelList
}
})
return {
labelGroup: {
id: item.groupId,
name: item.labelType
},
labelList
}
})
this.tagging = taggingList
this.tagging = taggingList
}
this.autoWelcome = res.autoWelcome ? true : false
if (res.welcomeInfo.length != 0) {
const previewList = res.welcomeInfo.map(item => {
......@@ -296,7 +327,7 @@ export default {
this.previewListStart = this.$common.utils.deepClone(this.$refs.welcome.previewList)
})
})
},
}
// resize() {
// this.footerLeft = document.querySelector('.base-container-right').offsetLeft
// this.footerWidth = document.documentElement.clientWidth - this.footerLeft
......@@ -313,11 +344,11 @@ export default {
}
}
}
</script>
</script>
<style lang="scss" scoped>
.channel-main-welcome {
margin: 20px 0px 60px;
margin: 20px 0px 16px;
.welcome-panel {
margin: 10px;
padding: 0px 20px 20px;
......@@ -331,7 +362,7 @@ export default {
}
}
.welcome-box {
margin-left: 48px;
margin-left: 62px;
}
}
}
......@@ -406,4 +437,48 @@ export default {
margin-bottom: 5px;
}
}
</style>
\ No newline at end of file
.channel-main-guidance {
display: flex;
padding: 20px;
box-sizing: border-box;
align-items: center;
margin-bottom: 20px;
.channel-main-guidance-item {
flex: 1;
height: 142px;
background: url('../../assets/img/channel/bg.png'), no-repeat;
padding: 16px 20px;
box-sizing: border-box;
&-head {
display: flex;
align-items: center;
margin-bottom: 8px;
img {
width: 22px;
height: 22px;
margin-right: 10px;
}
}
&-title {
font-size: 16px;
font-weight: 500;
color: #333333;
line-height: 22px;
}
&-info {
font-size: 14px;
font-weight: 400;
color: #999999;
line-height: 20px;
}
}
.channel-arrow {
margin: 0 16px;
width: 20px;
height: 15px;
img {
width: 100%;
}
}
}
</style>
......@@ -4,13 +4,14 @@
<GLButton type="primary" size="small" icon="el-icon-add" @click="handleAddCode" fn="新增活码">新建渠道活码</GLButton>
</div>
<div class="form-panel scrm-box-f">
<GLCombiForm ref="formSearch" :formObj="tableSearchForm" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
<GLCombiForm :rowNumber="1" ref="formSearch" :formObj="tableSearchForm" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
<GLTable v-loading="loading" ref="table" @refreshTable="handleSearch" :searchForm="tableSearchForm" :layout="layout" :tableData="tableData" :tableTotal="tableTotal" :pageConf="pageConf" :tableParams="tableParams">
<div class="table-btns" slot="optionBtns" slot-scope="scope">
<GLButton type="text" @click="handleDetail(scope.scope)" fn="到店咨询客户数据">数据</GLButton>
<GLTableButton :buttonList="tableButtonList" :buttonItem="scope.scope" :buttonNum="3"></GLTableButton>
<!-- <GLButton type="text" @click="handleDetail(scope.scope)" fn="到店咨询客户数据">数据</GLButton>
<GLButton type="text" @click="handleEdit(scope.scope)" fn="活码编辑">修改</GLButton>
<el-button type="text" @click="handleDelete(scope.scope)">删除</el-button>
<GLButton type="text" @click="handleAddPoster(scope.scope)" fn="活码海报">活码海报</GLButton>
<GLButton type="text" @click="handleAddPoster(scope.scope)" fn="活码海报">活码海报</GLButton> -->
</div>
<div slot="yesterdayNum" slot-scope="scope">
<div class="link-dialog" @click="handleEmpDetail(scope.scope, 'day')" v-if="scope.scope.yesterdayNum">{{ scope.scope.yesterdayNum }}</div>
......@@ -22,33 +23,35 @@
</div>
<div slot="staffInfo" slot-scope="scope">
<el-popover trigger="hover" placement="top" v-if="staffNameSplit(scope.scope.staffName).length > 3">
<div class="accountType-row" v-for="(item, index) in staffNameSplit(scope.scope.staffName)" :key="index">
<i class="el-icon-user-solid"></i>
<GLTitle :content="item" textLength="4"></GLTitle>
</div>
<GLFull :labelWidth="110" :label="item" textType="user" :identi="`text_${Math.random().toString().replace('.', '')}`" v-for="(item, index) in staffNameSplit(scope.scope.staffName)" :key="index"></GLFull>
<div slot="reference" class="name-wrapper">
<div v-for="(item, index) in staffNameSplit(scope.scope.staffName)" :key="index" v-show="index < 4">
<div class="accountType-row">
<i class="el-icon-user-solid"></i>
<span v-if="index == 3 && staffNameSplit(scope.scope.staffName).length > 3">{{ '...(' + staffNameSplit(scope.scope.staffName).length + ')' }}</span>
<GLTitle :content="item" textLength="4" v-else></GLTitle>
</div>
<div style="display: inline-block" v-for="(item, index) in staffNameSplit(scope.scope.staffName)" :key="index" v-show="index < 4">
<template v-if="index == 3 && staffNameSplit(scope.scope.staffName).length > 3">
<div class="accountType-row">
<i class="el-icon-user-solid"></i>
<span>{{ '...(' + staffNameSplit(scope.scope.staffName).length + ')' }}</span>
</div>
</template>
<GLFull :labelWidth="110" :label="item" textType="user" v-if="index < 3"></GLFull>
</div>
</div>
</el-popover>
<div v-for="(item, index) in staffNameSplit(scope.scope.staffName)" :key="index" v-else>
<GLFull :labelWidth="110" :label="item" textType="user" :identi="`text_${Math.random().toString().replace('.', '')}`" v-for="(item, index) in staffNameSplit(scope.scope.staffName)" :key="index" v-else></GLFull>
<!-- <div v-for="(item, index) in staffNameSplit(scope.scope.staffName)" :key="index" v-else>
<div class="accountType-row">
<i class="el-icon-user-solid"></i>
<GLTitle :content="item" textLength="4"></GLTitle>
</div>
</div>
</div> -->
</div>
<div slot="qrCode" slot-scope="scope">
<el-popover placement="bottom" width="400" trigger="click">
<img :src="scope.scope.qrCode" style="width: 360px; height: 360px" />
<img :src="scope.scope.qrCode" style="width: 80px; height: 80px" slot="reference" />
<el-popover placement="bottom" trigger="click">
<div>
<img :src="scope.scope.qrCode" style="width: 140px; height: 140px" />
<div class="download-link" @click="downloadIamge(scope.scope.qrCode)">下载二维码</div>
</div>
<img :src="scope.scope.qrCode" style="width: 36px; height: 36px" slot="reference" />
</el-popover>
<div class="download-link" @click="downloadIamge(scope.scope.qrCode)">下载二维码</div>
</div>
<div slot="tagging" slot-scope="scope" class="tag-panel">
<el-popover trigger="hover" placement="top" v-if="scope.scope.taggingList && scope.scope.taggingList.length > 3">
......@@ -77,18 +80,21 @@
</div>
</GLTable>
</div>
<GLDialog title="提示" @onOk="handleSure" @onCancel="dialogVisibleDel = false" type="error" content="是否删除?" :visible.sync="dialogVisibleDel" mode="small"></GLDialog>
<emp-detail ref="empDetailForm"></emp-detail>
</div>
</template>
<script>
import util from '@/utils/util'
import empDetail from './empDetail.vue'
import empDetail from '@/components/empDetail'
export default {
components: { empDetail },
name: 'channelList',
data() {
return {
dialogVisibleDel: false,
selectItem: '',
loading: false,
tableSearchForm: {
staffName: '',
......@@ -109,6 +115,52 @@ export default {
}
],
tableData: [],
// 表格按钮
tableButtonList: [
{
type: 'GLButton',
name: '数据',
attrs: {
type: 'text',
fn: '到店咨询客户数据'
},
listeners: {
click: this.handleDetail
}
},
{
type: 'GLButton',
name: '活码海报',
attrs: {
type: 'text',
fn: '活码海报'
},
listeners: {
click: this.handleAddPoster
}
},
{
type: 'GLButton',
name: '修改',
attrs: {
type: 'text',
fn: '活码编辑'
},
listeners: {
click: this.handleEdit
}
},
{
type: 'el-button',
name: '删除',
attrs: {
type: 'text'
},
listeners: {
click: this.handleDelete
}
}
],
tableParams: {
listName: 'data',
tableOption: false,
......@@ -116,47 +168,49 @@ export default {
{
label: '渠道名称',
prop: 'codeRemark',
minWidth: 200,
addHtml: 'codeRemark'
},
{
label: '今日新增客户数',
prop: 'yesterdayNum',
width: '130px',
width: 130,
addHtml: 'yesterdayNum'
},
{
label: '总新增客户数',
prop: 'totalNum',
width: '120px',
width: 120,
addHtml: 'totalNum'
},
{
label: '使用专员',
prop: 'staffInfo',
width: '130px',
minWidth: 400,
addHtml: 'staffInfo',
align: 'left'
},
{
label: '活码',
prop: 'qrCode',
addHtml: 'qrCode'
addHtml: 'qrCode',
width: '100px'
},
{
label: '标签',
prop: 'tagging',
addHtml: 'tagging',
width: '150px'
minWidth: 200
},
{
label: '创建时间',
prop: 'createdTime',
width: '180px'
minWidth: 180
},
{
label: '操作',
prop: 'optionBtns',
width: '220px',
width: '170px',
addHtml: 'optionBtns',
fixed: 'right'
}
......@@ -215,30 +269,28 @@ export default {
})
.catch(() => {})
},
handleDelete(scope) {
this.$confirm('是否删除?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
})
.then(() => {
this.$apis.channel
.deleteChannelCode({
id: scope.id,
codeUuid: scope.codeUuid,
configId: scope.configId
})
.then(res => {
if (res) {
this.$message({
type: 'success',
message: '删除成功!'
})
}
this.handleSearch()
handleSure() {
const { id, codeUuid, configId } = this.selectItem
this.$apis.channel
.deleteChannelCode({
id,
codeUuid,
configId
})
.then(res => {
if (res) {
this.$message({
type: 'success',
message: '删除成功!'
})
}
this.handleSearch()
})
.catch(() => {})
this.dialogVisibleDel = false
},
handleDelete(scope) {
this.dialogVisibleDel = true
this.selectItem = scope
},
listChannelCodeByPage() {
const params = {
......@@ -290,14 +342,19 @@ export default {
/deep/ .el-popover {
max-width: 1000px;
}
.name-wrapper {
display: flex;
}
}
.download-link {
cursor: pointer;
margin-top: 6px;
margin-top: 4px;
font-size: 14px;
font-weight: 400;
color: #666666;
color: #5850ff;
font-weight: 600;
color: #5850ff;
line-height: 20px;
text-align: center;
}
.codeRemark {
font-size: 14px;
......@@ -393,7 +450,7 @@ export default {
padding: 6px;
display: inline-block;
margin-bottom: 5px;
margin-right: 5px;
margin-right: 4px;
&-tag {
display: inline-block;
border: 1px solid #e8e8ea;
......
......@@ -64,9 +64,9 @@
<script>
import utils from '@/utils/util'
import linechart from './linechart'
import selectChannel from './selectChannel'
import empDetail from './empDetail.vue'
import linechart from '@/components/linechart'
import selectChannel from '@/components/selectChannel'
import empDetail from '@/components/empDetail'
export default {
name: 'channelStatistics',
components: {
......
......@@ -151,21 +151,20 @@ export default {
label: '客户性别',
prop: 'customerSex',
formatter: cellValue => {
console.log(cellValue)
return cellValue.customerSex == 1 ? '男' : '女'
},
width: '80px'
minWidth: 100
},
{
label: '状态',
prop: 'status',
addHtml: 'status',
width: '80px'
minWidth: 100
},
{
label: '跟进员工',
prop: 'followStaff',
width: '80px'
minWidth: 100
},
{
label: '添加时间',
......@@ -174,7 +173,7 @@ export default {
{
label: '操作',
prop: 'optionBtns',
width: '80px',
minWidth: '80px',
addHtml: 'optionBtns'
}
]
......@@ -230,6 +229,7 @@ export default {
})
},
init(item, value, day) {
this.createTime = []
this.pStatus = null
this.staffIds = null
......
<template>
<div class="square-main">
<el-dialog title="选择渠道" :visible.sync="dialogVisible" width="70%" :before-close="handleCancel">
<GLDialog title="选择渠道" :visible.sync="dialogVisible" @onOk="handleSelect" @onCancel="handleCancel" mode="big">
<div class="square-tabel">
<div class="square-tabel-select">
<GLTable ref="table" :hasPage="false" :tableData="tableData" :tableTotal="tableTotal" :tableParams="tableParams" @refreshTable="handleSearch" @selectionTable="selectionTable"></GLTable>
......@@ -10,7 +10,7 @@
<div class="selected-panel">
<div class="selected-item" v-for="(item, index) in selectedList" :key="index">
<div :title="item.codeName">
<span :style="{ background: colorList[index]}"></span>
<span :style="{ background: colorList[index] }"></span>
{{ item.codeName }}
</div>
<img src="@/assets/img/channel/del.png" @click="delTag(item)" />
......@@ -22,7 +22,7 @@
<el-button size="small" @click="handleCancel">取 消</el-button>
<el-button size="small" type="primary" @click="handleSelect">确 定</el-button>
</span>
</el-dialog>
</GLDialog>
</div>
</template>
......@@ -104,7 +104,7 @@ export default {
this.dialogVisible = false
this.$refs.table.$refs.salelistMutiTable.clearSelection()
},
handleSelect: utils.debounce(function () {
handleSelect: utils.debounce(function() {
if (this.selectedList.length == 0) {
this.$message.error('请选择渠道')
return
......@@ -119,7 +119,7 @@ export default {
}, 300)
}
}
</script>
</script>
<style lang="scss" scoped>
.square-main {
......@@ -154,11 +154,11 @@ export default {
white-space: nowrap;
}
span {
vertical-align: middle;
display: inline-block;
width: 12px;
height: 2px;
margin-right: 10px;
vertical-align: middle;
display: inline-block;
width: 12px;
height: 2px;
margin-right: 10px;
}
img {
width: 16px;
......@@ -182,4 +182,4 @@ export default {
}
}
}
</style>
\ No newline at end of file
</style>
<!--
* @Author: yangming yangming@didihu.com.cn
* @Date: 2022-10-12 09:30:11
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2022-11-23 09:50:08
* @FilePath: \scrm-micro-drainage\src\views\channel\index.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
<div class="channel-main">
<el-tabs v-model="activeName" @tab-click="handleClick">
<el-tab-pane label="渠道码列表" name="first"></el-tab-pane>
<el-tab-pane label="数据统计" name="second"></el-tab-pane>
</el-tabs>
<GLTabs v-model="activeName" :tabPaneList="tabPaneList" class="tabs-panel"></GLTabs>
<channel-list v-if="activeName == 'first'"></channel-list>
<channel-statistics v-if="activeName == 'second'"></channel-statistics>
</div>
......@@ -12,6 +17,7 @@
<script>
import channelList from './components/channelList'
import channelStatistics from './components/channelStatistics'
import a from '@/api/modules/channel'
export default {
name: 'channel',
components: {
......@@ -20,10 +26,31 @@ export default {
},
data() {
return {
activeName: 'first'
activeName: 'first',
tabPaneList: [
{
label: '渠道码列表',
name: 'first'
},
{
label: '数据统计',
name: 'second'
}
]
}
},
methods: {
render(createElement) {
createElement(
'div',
{
class: {
'channel-main': true
}
},
[createElement('el-tabs', {})]
)
},
jumpWx() {
this.$history.push('/settings/enterpriseWechat/index')
},
......@@ -55,6 +82,7 @@ export default {
this.$message.closeAll()
},
mounted() {
console.log(a)
this.wxTips()
}
}
......@@ -62,10 +90,8 @@ export default {
<style lang="scss" scoped>
.channel-main {
/deep/ {
.el-tabs__nav-wrap::after {
height: 0px;
}
.tabs-panel {
margin-bottom: 10px;
}
}
</style>
<template>
<div class="channel-main scrm-box-f" v-loading="loading">
<div class="channel-header">
<el-button type="primary" size="small" @click="goBack">返回</el-button>
</div>
<div class="poster-body">
<div class="poster-item" @click="setPoster(item)" @mouseenter="item.show = true" @mouseleave="item.show = false" v-for="(item, index) in posterList" :key="index">
<div class="poster-del" v-show="item.show" @click.stop="handleDelete(item.id)">
......@@ -36,9 +33,9 @@
</div>
</div>
</div>
<el-dialog v-loading="loadingDrag" title="创建活码海报" :visible.sync="dialogVisible" width="50%" :before-close="handleClose">
<el-dialog title="创建活码海报" :visible.sync="dialogVisible">
<div class="poster-draggable-title">拖动活码可调整活码位置</div>
<div class="poster-draggable">
<div class="poster-draggable" v-loading="loadingDrag">
<div
class="poster-image"
v-if="dragHeight"
......@@ -58,7 +55,7 @@
:style="{
'background-image': 'url(' + codeUrl + ')'
}"
:parent="true"
parent=".poster-image"
@dragging="onDrag"
@resizing="onResize"
:customId="index"
......@@ -255,11 +252,10 @@ export default {
getDraggable(img_url) {
let img = new Image()
img.src = img_url
let self = this
img.onload = function() {
self.dragHeight = (img.height * 375) / img.width
self.dialogVisible = true
self.loading = false
img.onload = () => {
this.dragHeight = (img.height * 375) / img.width
this.dialogVisible = true
this.loading = false
}
}
},
......@@ -303,6 +299,8 @@ export default {
.poster-draggable {
display: flex;
justify-content: center;
// height: 500px;
// overflow: auto;
.poster-image {
background-size: 100% 100%;
width: 375px;
......
<template>
<div class="channel-main scrm-box-f">
<div><el-button type="primary" size="small" @click="goback">返回</el-button></div>
<div class="detail-form">
<el-form :model="detailCodeForm" label-width="120px">
<el-row>
......@@ -12,20 +11,43 @@
<el-row>
<el-form-item size="small" label="使用员工:">
<div class="form-row">
<div class="emp-item" v-for="(item, index) in detailCodeForm.staffInfo" :key="index">
<i class="el-icon-user-solid"></i>
{{ item.staffName }}
</div>
<template v-for="(item, index) in detailCodeForm.staffInfo">
<div class="emp-item" :key="index" v-if="index < 10">
<i class="el-icon-user-solid"></i>
{{ item.staffName }}
</div>
<template v-if="detailCodeForm.staffInfo.length > 10 && index == 10">
<el-popover placement="top" width="600" trigger="hover" :key="index">
<span slot="reference" class="emp-item">...({{ detailCodeForm.staffInfo.length }})</span>
<div class="form-row">
<div class="emp-item" :key="index1" v-for="(item, index1) in detailCodeForm.staffInfo">
<i class="el-icon-user-solid"></i>
{{ item.staffName }}
</div>
</div>
</el-popover>
</template>
</template>
</div>
</el-form-item>
</el-row>
<el-row>
<el-form-item size="small" label="标签:">
<div class="form-row">
<template v-for="item in tagging">
<div class="tag-item" v-for="(tag, idx) in item.labelList" :key="idx">
{{ tag.name }}
<template v-for="(tag, idx) in tagging">
<div class="tag-item" :key="idx" v-if="idx < 10">
{{ tag }}
</div>
<template v-if="tagging.length > 10 && idx == 10">
<el-popover placement="top" width="600" trigger="hover" :key="idx">
<span slot="reference" class="emp-item">...({{ tagging.length }})</span>
<div class="form-row">
<div class="tag-item" v-for="(tag, idx1) in tagging" :key="idx1">
{{ tag }}
</div>
</div>
</el-popover>
</template>
</template>
</div>
</el-form-item>
......@@ -34,14 +56,14 @@
<div class="count-panel">
<div class="count-panel-item">
<div class="count-item-title">今日新增客户</div>
<div class="count-item-num" @click="handleEmpDetail(detailCodeForm,'day')" v-if="detailCodeForm.yesTodayAddCount">{{ detailCodeForm.yesTodayAddCount }}人</div>
<div class="count-item-num" @click="handleEmpDetail(detailCodeForm, 'day')" v-if="detailCodeForm.yesTodayAddCount">{{ detailCodeForm.yesTodayAddCount }}人</div>
<div class="count-item-num2" v-else>0人</div>
<img src="@/assets/img/channel/count3.png" class="count-item-icon" />
</div>
<div class="count-panel-item">
<div class="count-item-title">总新增客户</div>
<div class="count-item-num" @click="handleEmpDetail(detailCodeForm)" v-if="detailCodeForm.newlyCount">{{ detailCodeForm.newlyCount }}人</div>
<div class="count-item-num2" v-else>0人</div>
<div class="count-item-num2" v-else>0人</div>
<img src="@/assets/img/channel/count2.png" class="count-item-icon" />
</div>
<div class="count-panel-item">
......@@ -51,8 +73,8 @@
<img src="@/assets/img/question.png" slot="reference" class="count-item-question" />
</el-popover>
</div>
<div class="count-item-num" @click="handleEmpDetail(detailCodeForm,'status')" v-if="detailCodeForm.newlyKeepCount">{{ detailCodeForm.newlyKeepCount }}人</div>
<div class="count-item-num2" v-else>0人</div>
<div class="count-item-num" @click="handleEmpDetail(detailCodeForm, 'status')" v-if="detailCodeForm.newlyKeepCount">{{ detailCodeForm.newlyKeepCount }}人</div>
<div class="count-item-num2" v-else>0人</div>
<img src="@/assets/img/channel/count1.png" class="count-item-icon" />
</div>
</div>
......@@ -68,17 +90,17 @@
</div>
<div slot="newlyKeepCount" slot-scope="scope">
<div class="link-dialog" @click="handleEmpDetail(scope.scope, 'status', scope.scope.dayTime)" v-if="scope.scope.newlyKeepCount">{{ scope.scope.newlyKeepCount }}</div>
<div v-else>0</div>
<div v-else>0</div>
</div>
</GLTable>
<GLTable v-show="activeName == 2" @refreshTable="listStaff" :layout="layout" :tableTotal="tableTotal" ref="memberTabel" :tableData="getMemberApi" :tableParams="tableMemberParams" :pageConf="pageMemberConf" :hasNum="false">
<div slot="newlyCount" slot-scope="scope">
<div class="link-dialog" @click="handleEmpDetail(scope.scope,'staffIds')" v-if="scope.scope.newlyCount">{{ scope.scope.newlyCount }}</div>
<div v-else>0</div>
<div class="link-dialog" @click="handleEmpDetail(scope.scope, 'staffIds')" v-if="scope.scope.newlyCount">{{ scope.scope.newlyCount }}</div>
<div v-else>0</div>
</div>
<div slot="newlyKeepCount" slot-scope="scope">
<div class="link-dialog" @click="handleEmpDetail(scope.scope,'statusAndStaffIds')" v-if="scope.scope.newlyKeepCount">{{ scope.scope.newlyKeepCount }}</div>
<div v-else>0</div>
<div class="link-dialog" @click="handleEmpDetail(scope.scope, 'statusAndStaffIds')" v-if="scope.scope.newlyKeepCount">{{ scope.scope.newlyKeepCount }}</div>
<div v-else>0</div>
</div>
</GLTable>
<emp-detail ref="empDetailForm"></emp-detail>
......@@ -155,8 +177,8 @@ export default {
goback() {
this.$router.push('/channel/index')
},
handleEmpDetail(scope,status,day) {
this.$refs.empDetailForm.init(scope,status,day)
handleEmpDetail(scope, status, day) {
this.$refs.empDetailForm.init(scope, status, day)
},
detailChannelCode(id, codeUuid) {
let param = {
......@@ -181,7 +203,14 @@ export default {
labelList
}
})
this.tagging = taggingList
this.tagging = []
for (let i = 0; i < taggingList.length; i++) {
for (let j = 0; j < taggingList[i].labelList.length; j++) {
this.tagging.push(taggingList[i].labelList[j].name)
}
}
// this.tagging = taggingList
// console.log(this.tagging, '00000000000')
this.welcomeInfo = res.welcomeInfo.map(item => {
let attContent
if (item.attType == 7) {
......@@ -227,7 +256,7 @@ export default {
this.listStaff()
}
}
</script>
</script>
<style lang="scss" scoped>
.link-dialog {
......@@ -241,45 +270,6 @@ export default {
}
.detail-form {
margin-top: 10px;
.form-row {
display: flex;
flex-wrap: wrap;
margin-top: 5px;
.tag-item {
display: inline-block;
text-align: center;
min-width: 76px;
background: #fafbfe;
border: 1px solid #e8e8ea;
line-height: 14px;
box-sizing: border-box;
padding: 6px 6px;
font-size: 14px;
border-radius: 4px;
line-height: 14px;
font-weight: 400;
color: #666;
margin-right: 5px;
margin-bottom: 5px;
}
.emp-item {
text-align: left;
position: relative;
font-size: 14px;
line-height: 14px;
padding-left: 15px;
-webkit-border-radius: 4px;
border-radius: 4px;
border: 1px solid #e8e8ea;
padding: 6px;
display: inline-block;
margin-bottom: 5px;
margin-right: 5px;
i {
color: #75acff;
}
}
}
.welcome-panel {
.welcome-title {
font-size: 16px;
......@@ -370,35 +360,68 @@ export default {
}
}
}
.form-row {
display: flex;
flex-wrap: wrap;
margin-top: 5px;
.tag-item {
display: inline-block;
text-align: center;
min-width: 76px;
background: #fafbfe;
border: 1px solid #e8e8ea;
line-height: 14px;
box-sizing: border-box;
padding: 3px 6px;
font-size: 14px;
border-radius: 4px;
line-height: 20px;
font-weight: 400;
color: #666;
margin-right: 4px;
margin-bottom: 5px;
box-sizing: border-box;
}
.emp-item {
text-align: left;
position: relative;
font-size: 14px;
line-height: 14px;
padding-left: 15px;
-webkit-border-radius: 4px;
border-radius: 4px;
border: 1px solid #e8e8ea;
padding: 6px;
display: inline-block;
margin-bottom: 5px;
margin-right: 5px;
i {
color: #75acff;
}
}
}
.tab-panel {
margin-top: 20px;
margin-bottom: 10px;
display: inline-block;
/deep/ {
.el-checkbox:last-of-type {
margin-right: 8px;
}
.el-tabs__nav {
border: 0;
border: none;
}
.el-tabs__header {
border: 0;
background-color: #f4f6fc;
margin: 0px;
}
.el-tabs__item {
border: none;
width: 180px;
height: 32px;
line-height: 32px;
margin: 2px;
text-align: center;
}
.el-tabs__item.is-active {
background-color: #fff;
border-radius: 4px;
font-weight: 600;
background: #fff;
border-bottom: none !important;
}
.el-tabs__item {
border: 1px solid #e5e5e5 !important;
border-bottom: none;
border-radius: 4px 4px 0px 0px;
background: #fafafa;
&:first-child {
margin-right: 5px;
}
}
}
}
</style>
\ No newline at end of file
</style>
......@@ -4,29 +4,32 @@
<div class="drainage-title">营销配置</div>
<div class="form-main">
<div class="drainage-form">
<div class="drainage-form-item">
<!-- <div class="drainage-form-item">
<label class="is-require" style="line-height: 32px">营销名称</label>
<div style="position: relative">
<el-input @focus="imNameStatus = false" type="type" size="small" placeholder="请输入营销名称" v-model.trim="imName" :disabled="!editStatus" maxlength="30"></el-input>
<div class="el-form-item__error" v-if="imNameStatus">请输入营销名称</div>
</div>
</div>
</div> -->
<div class="drainage-form-item">
<label>群发短信</label>
<div class="message-panel">
<el-form ref="configForm" label-position="left" label-width="100px" :model="addForm" :rules="addRules" class="code-body-form">
<!-- <label>群发短信</label> -->
<div class="gl-form-page">
<el-form ref="configForm" label-width="154px" :model="addForm" :rules="addRules" class="code-body-form">
<el-form-item label="营销名称:" prop="imName">
<el-input @focus="imNameStatus = false" type="type" size="small" placeholder="请输入营销名称" v-model.trim="imName" :disabled="!editStatus" maxlength="30"></el-input>
</el-form-item>
<el-form-item label="推送规则:"><div class="configForm-desc">系统将在「开始营销时间」之后启动短信营销,并在「截止营销时间」之后停止短信下放。由于相关管控限制,营销类短信无法实时触达用户,若短信时效要求很高,请谨慎使用。</div></el-form-item>
<el-form-item size="small" label="营销时间" prop="time">
<el-form-item size="small" label="营销时间:" prop="time">
<el-time-picker is-range :disabled="!editStatus" value-format="HH:mm" format="HH:mm" v-model="addForm.time" range-separator="至" start-placeholder="开始时间" end-placeholder="结束时间" placeholder="选择时间范围"></el-time-picker>
</el-form-item>
<el-form-item label="短信内容" prop="content">
<el-form-item label="短信内容:" prop="content">
<el-input type="textarea" v-model="addForm.content" rows="5" :disabled="!editStatus" maxlength="280" show-word-limit></el-input>
<div class="form-tips">70字內(含70字)计一条,超过70字,按70字/条计费。</div>
<div class="form-tips">提示:当前短信已有{{ addForm.content.length }}字,按{{ content.length }}条短信发送且计费。</div>
</el-form-item>
<div class="drainage-form-item">
<label style="width: 100px; text-align: left; color: #666">
自动打标签
<label>
自动打标签:
<el-popover placement="top" width="400" trigger="hover" content="提示:通过该营销活动添加员工企微的客户,将自动使用以下标签进行标记。">
<img src="@/assets/img/question.png" slot="reference" class="count-item-question" />
</el-popover>
......@@ -43,8 +46,8 @@
</div>
</div>
<div class="drainage-form-item">
<label>
跟进员工
<label style="margin-left: 20px">
跟进员工:
<el-popover placement="top" width="400" trigger="hover" content="用户点击短信中的链接后,将自动分配以下某位员工的企微名片,客户添加好友将自动回复后台所配置的欢迎语。">
<img src="@/assets/img/question.png" slot="reference" class="count-item-question" />
</el-popover>
......@@ -71,7 +74,7 @@
<div class="chanel-form-title">欢迎语</div>
<div class="welcome-panel">
<div class="welcome-switch">
<label>自动发送欢迎语</label>
<label>自动发送欢迎语:</label>
<el-switch v-model="autoWelcome" :disabled="!editStatus" active-color="#5850FF" inactive-color="#999999"></el-switch>
</div>
<div class="welcome-box" v-show="!editStatus && autoWelcome">
......@@ -96,6 +99,10 @@
<img src="@/assets/img/guestCustom/icon-applet.png" alt="" />
<span>{{ item.attContent }}</span>
</div>
<div v-else-if="item.attType == 6">
<img src="@/assets/img/guestCustom/icon-applet.png" alt="" />
<span>{{ JSON.parse(item.attContent).fileName }}</span>
</div>
<div v-else-if="item.attType == 7">
<img src="@/assets/img/guestCustom/icon-applet.png" alt="" />
<span>{{ item.attContent.marketingName }}</span>
......@@ -149,7 +156,7 @@ export default {
},
watch: {
'addForm.content': {
handler: function () {
handler: function() {
this.content = []
let str = this.addForm.content
let num = 70
......@@ -185,7 +192,7 @@ export default {
deep: true
},
tagging: {
handler: function () {
handler: function() {
this.taggingLength = 0
this.tagging.forEach(item => {
this.taggingLength += item.labelList.length
......@@ -215,29 +222,33 @@ export default {
this.addForm.content = res.dracImMessageConResponse.content
this.imName = res.imName
this.autoWelcome = res.autoWelcome ? true : false
const previewList = res.dracScrmWelcomeConfigDTOS.map(item => {
const dracScrmWelcomeConfigDTOS = res.dracScrmWelcomeConfigDTOS ? res.dracScrmWelcomeConfigDTOS : []
const previewList = dracScrmWelcomeConfigDTOS.map(item => {
if (item.attType == 7) item.attContent = JSON.parse(item.attContent)
if (item.attType == 1) item.attContent = item.attContent.replaceAll('[@昵称]', '<span style="color:#5850FF">@昵称</span>')
if (item.attType == 1) item.attContent = item.attContent.replaceAll('[@昵称]', '<span style="color:#5850FF">@昵称</span>').replaceAll(/\n/g, '<br>')
return item
})
this.welcomeInfo = previewList
const tagging = eval(res.tagging)
const taggingList = tagging.map(item => {
let name = item.name.split(',')
let ids = item.tagIds.split(',')
console.log(ids)
let labelList = name.map((tag, index) => {
return { id: ids[index], name: tag }
if (tagging && tagging.length) {
const taggingList = tagging.map(item => {
let name = item.name.split(',')
let ids = item.tagIds.split(',')
console.log(ids)
let labelList = name.map((tag, index) => {
return { id: ids[index], name: tag }
})
return {
labelGroup: {
id: item.groupId,
name: item.labelType
},
labelList
}
})
return {
labelGroup: {
id: item.groupId,
name: item.labelType
},
labelList
}
})
this.tagging = taggingList
this.tagging = taggingList
}
this.$nextTick(() => {
this.saveStatus = false
})
......@@ -250,11 +261,11 @@ export default {
this.findById(id)
}
}
</script>
</script>
<style lang="scss" scoped>
.channel-main-welcome {
margin: 20px 0px 60px;
margin: 20px 0px 16px;
.chanel-form-title {
padding-left: 20px;
font-size: 16px;
......@@ -277,7 +288,7 @@ export default {
}
}
.welcome-box {
margin-left: 48px;
margin-left: 70px;
&-contaner {
margin: 20px;
background: rgba(247, 247, 247, 0.52);
......@@ -444,9 +455,11 @@ export default {
}
}
label {
width: 120px;
font-size: 14px;
text-align: right;
margin-right: 20px;
color: #666;
width: 140px;
margin-right: 12px;
height: 36px;
line-height: 36px;
img {
......@@ -699,4 +712,4 @@ export default {
}
}
}
</style>
\ No newline at end of file
</style>
......@@ -21,10 +21,18 @@
</el-row>
</el-form>
<GLTable v-loading="loading" ref="table" @refreshTable="handleSearch" :searchForm="tableSearchForm" :layout="layout" :tableData="tableData" :tableTotal="tableTotal" :pageConf="pageConf" :tableParams="tableParams">
<div slot="status" slot-scope="scope">
<span :class="['task_icon',scope.scope.status==1?'green-icon':'yellow-icon']">{{ scope.scope.statusName }}</span>
</div>
<div class="table-btns" slot="optionBtns" slot-scope="scope">
<el-button type="text" @click="handleDetail(scope.scope)">短信内容</el-button>
</div>
</GLTable>
<GLDialog title="短信内容" :hasFooter="true" :content="messageContent" :visible.sync="dialogVisible" mode="small">
<span slot="footer" class="dialog-footer">
<el-button size="small" type="primary" @click="dialogVisible = false">确定</el-button>
</span>
</GLDialog>
</div>
</div>
</template>
......@@ -36,7 +44,9 @@ export default {
data() {
return {
loading: false,
messageContent: '',
tableSearchForm: {},
dialogVisible: false,
tableData: [],
optionstatus: [
{
......@@ -66,7 +76,8 @@ export default {
},
{
label: '发送状态',
prop: 'statusName'
prop: 'statusName',
addHtml: 'status'
},
{
label: '发送时间',
......@@ -88,7 +99,8 @@ export default {
},
methods: {
handleDetail(scope) {
this.$alert(scope.content, { center: true })
this.dialogVisible = true
this.messageContent = scope.content
},
handleSearch() {
this.listChannelCodeByPage()
......@@ -131,7 +143,7 @@ export default {
this.listChannelCodeByPage()
}
}
</script>
</script>
<style>
.el-popover {
max-width: 800px;
......@@ -282,4 +294,4 @@ export default {
// top: 7px;
// }
}
</style>
\ No newline at end of file
</style>
......@@ -4,7 +4,7 @@
<div class="drainage-title">指定客户</div>
<div class="drainage-form">
<div class="drainage-form-item">
<label>指定方式</label>
<label style="margin: 0 0 0 32px">指定方式:</label>
<div class="upload-box drainage-type">
<el-radio-group v-model="selectType">
<el-radio :label="1">通过标签筛选</el-radio>
......@@ -14,7 +14,7 @@
</div>
</div>
<div class="drainage-form-item" v-if="selectType == 1">
<label>客户信息</label>
<label style="margin: 0 0 0 32px">客户信息:</label>
<div class="upload-box">
<el-button size="small" @click="handleScreenTag">
<i class="el-icon-plus"></i>
......@@ -36,7 +36,7 @@
</div>
</div>
<div class="drainage-form-item" v-if="selectType == 3">
<label>客户信息</label>
<label style="margin: 0 0 0 32px">客户信息:</label>
<div class="upload-box">
<el-button size="small" @click="handleCrowd">
<i class="el-icon-plus"></i>
......@@ -58,7 +58,7 @@
</div>
</div>
<div class="drainage-form-item" v-if="selectType == 2">
<label>客户信息</label>
<label style="margin: 0 0 0 32px">客户信息:</label>
<div class="upload-box">
<div class="upload-file-panel">
<div class="image-uploader">
......@@ -83,22 +83,25 @@
<div class="drainage-title">营销配置</div>
<div class="form-main">
<div class="drainage-form">
<div class="drainage-form-item">
<!-- <div class="drainage-form-item">
<label class="is-require" style="line-height: 32px">营销名称</label>
<div style="position: relative">
<el-input @focus="imNameStatus = false" type="type" size="small" placeholder="请输入营销名称" v-model.trim="imName" :disabled="!editStatus" maxlength="30"></el-input>
<div class="el-form-item__error" v-if="imNameStatus">请输入营销名称</div>
</div>
</div>
</div> -->
<div class="drainage-form-item">
<label>群发短信</label>
<div class="message-panel">
<el-form ref="configForm" label-position="left" label-width="100px" :model="addForm" :rules="addRules" class="code-body-form">
<el-form-item label="推送规则:"><div class="configForm-desc">系统将在「开始营销时间」之后启动短信营销,并在「截止营销时间」之后停止短信下放。由于相关管控限制,营销类短信无法实时触达用户,若短信时效要求很高,请谨慎使用。</div></el-form-item>
<el-form-item size="small" label="营销时间" prop="time">
<!-- <label>群发短信</label> -->
<div class="gl-form-page">
<el-form ref="configForm" label-width="154px" :model="addForm" :rules="addRules" class="code-body-form">
<el-form-item label="营销名称:" prop="imName">
<el-input @focus="imNameStatus = false" type="type" size="small" placeholder="请输入营销名称" v-model.trim="addForm.imName" :disabled="!editStatus" maxlength="30"></el-input>
</el-form-item>
<el-form-item label="推送时间:">系统将在「开始营销时间」之后启动智系统将在「开始营销时间」之后启动短信营销,并在「截止营销时间」之后停止短信发送。由于相关管控限制,营销类短信无法实时触达用户,若短信时效要求很高,请谨慎使用。</el-form-item>
<el-form-item size="small" label="营销时间:" prop="time">
<el-time-picker is-range :disabled="!editStatus" value-format="HH:mm" format="HH:mm" v-model="addForm.time" range-separator="至" start-placeholder="开始时间" end-placeholder="结束时间" placeholder="选择时间范围"></el-time-picker>
</el-form-item>
<el-form-item label="短信内容" prop="content">
<el-form-item label="短信内容:" prop="content">
<el-input type="textarea" v-model="addForm.content" rows="5" :disabled="!editStatus" maxlength="280" show-word-limit></el-input>
<div class="select-panel" v-if="editStatus">
<div @click="handleSelectMessage">
......@@ -109,8 +112,8 @@
<div class="form-tips">提示:当前短信已有{{ addForm.content.length }}字,按{{ content.length }}条短信发送且计费。</div>
</el-form-item>
<div class="drainage-form-item">
<label style="width: 100px; text-align: left; color: #666">
自动打标签
<label>
自动打标签:
<el-popover placement="top" width="400" trigger="hover" content="提示:通过该营销活动添加员工企微的客户,将自动使用以下标签进行标记。">
<img src="@/assets/img/question.png" slot="reference" class="count-item-question" />
</el-popover>
......@@ -139,8 +142,8 @@
</div>
</div>
<div class="drainage-form-item" v-if="editStatus">
<label class="is-require">
跟进员工
<label class="is-require" style="margin-left: 20px">
跟进员工:
<el-popover placement="top" width="400" trigger="hover" content="用户点击短信中的链接后,将自动分配以下某位员工的企微名片,客户添加好友将自动回复后台所配置的欢迎语。">
<img src="@/assets/img/question.png" slot="reference" class="count-item-question" />
</el-popover>
......@@ -161,8 +164,8 @@
</div>
</div>
<div class="drainage-form-item" v-else>
<label>
跟进员工
<label style="margin-left: 20px">
跟进员工:
<el-popover placement="top" width="400" trigger="hover" content="用户点击短信中的链接后,将自动分配以下某位员工的企微名片,客户添加好友将自动回复后台所配置的欢迎语。">
<img src="@/assets/img/question.png" slot="reference" class="count-item-question" />
</el-popover>
......@@ -189,11 +192,11 @@
<div class="chanel-form-title">欢迎语</div>
<div class="welcome-panel">
<div class="welcome-switch">
<label>自动发送欢迎语</label>
<label>自动发送欢迎语:</label>
<el-switch v-model="autoWelcome" :disabled="!editStatus" active-color="#5850FF" inactive-color="#999999"></el-switch>
</div>
<div class="welcome-box" v-show="editStatus && autoWelcome">
<welcome-words :eventBus="eventBus" ref="welcome"></welcome-words>
<GLEditor ref="welcome" :form="'customer'" :btnList="btnList" @previewWord="previewForm"></GLEditor>
</div>
<div class="welcome-box" v-show="!editStatus && autoWelcome">
<div class="welcome-box-contaner">
......@@ -226,16 +229,10 @@
</div>
</div>
</div>
<div
class="footer-panel"
:style="{
left: footerLeft + 'px',
width: footerWidth + 'px'
}"
>
<el-button type="primary" @click="handleSave">提交</el-button>
<GLFooter>
<el-button @click="handleCancel">取消</el-button>
</div>
<el-button type="primary" @click="handleSave">提交</el-button>
</GLFooter>
<div class="import-panel" v-if="importStatus">
<div class="import-panel-box">
<div class="import-title">操作结果</div>
......@@ -255,6 +252,7 @@
</div>
</div>
</div>
<GLDialog title="提示" @onOk="handleSure" @onCancel="dialogVisible = false" type="warning" content="当前有内容信息未保存,是否继续返回?" :visible.sync="dialogVisible" mode="small"></GLDialog>
<select-emp ref="selectEmpForm" @selectTable="selectTable"></select-emp>
<select-tag ref="selectTagForm" @tagSelected="tagSelected"></select-tag>
<screen-tag ref="screenTagForm" @tagScreened="tagScreened"></screen-tag>
......@@ -266,7 +264,7 @@
<script>
import Vue from 'vue'
import welcomeWords from '@/components/welcome/welcomeWords.vue'
import word from '@/mixins/word'
import selectEmp from '@/components/selectEmp'
import selectTag from '@/components/selectTag'
import screenTag from '@/components/screenTag'
......@@ -289,14 +287,14 @@ const validateContent = (rule, value, callback) => {
}
}
export default {
mixins: [word],
name: 'config',
components: {
selectEmp,
selectTag,
screenTag,
selectCrowd,
messageModel,
welcomeWords
messageModel
},
data() {
return {
......@@ -304,7 +302,6 @@ export default {
selectType: 1,
loading: false,
welcomeInfo: [],
eventBus: new Vue(),
taggingLength: 0,
autoWelcome: true,
imName: '',
......@@ -319,6 +316,7 @@ export default {
footerLeft: 0,
footerWidth: 0,
addForm: {
imName: '',
desc: '',
content: `【${this.$globalState.session.merchantName}】`,
time: ['9:00:00', '18:00:00']
......@@ -329,7 +327,7 @@ export default {
labeling: [],
crowding: [],
messageItem: {},
dialogVisible: true,
dialogVisible: false,
value: false,
value1: false,
dracImFollowStaffResponses: [],
......@@ -337,6 +335,7 @@ export default {
ModelItem: {},
merchantName: this.$globalState.session.merchantName,
addRules: {
imName: [{ required: true, message: '请输入营销名称', trigger: 'blur' }],
time: [
{ required: true, message: '请选择营销时间', trigger: 'change' },
{ validator: validateTime, trigger: 'change' }
......@@ -350,7 +349,7 @@ export default {
},
watch: {
'addForm.content': {
handler: function() {
handler: function () {
this.content = []
let str = this.addForm.content
let num = 70
......@@ -386,7 +385,7 @@ export default {
deep: true
},
tagging: {
handler: function() {
handler: function () {
this.taggingLength = 0
this.tagging.forEach(item => {
this.taggingLength += item.labelList.length
......@@ -478,16 +477,13 @@ export default {
goback() {
this.importStatus = false
},
handleSure() {
this.$router.push('/market/index')
},
handleCancel() {
console.log(this.saveStatus)
if (this.saveStatus || (this.$refs.welcome && this.$refs.welcome.previewList.length > 0 && this.editStatus)) {
this.$confirm('当前有内容信息未保存,是否继续返回?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
this.$router.push('/market/index')
})
this.dialogVisible = true
} else {
this.$router.push('/market/index')
}
......@@ -640,7 +636,7 @@ export default {
const groupIds = this.crowding.map(item => item.crowdId)
let params = {
autoWelcome: this.autoWelcome ? 1 : 0,
imName: this.imName,
imName: this.addForm.imName,
imType: 2,
tagging: JSON.stringify(tagging),
filterTagging: JSON.stringify(this.filterTagging),
......@@ -716,7 +712,7 @@ export default {
this.dracImFollowStaffResponses = res.dracImFollowStaffResponses
this.addForm.time = [res.dracImMessageConResponse.startTime, res.dracImMessageConResponse.endTime]
this.addForm.content = res.dracImMessageConResponse.content
this.imName = res.imName
this.addForm.imName = res.imName
this.autoWelcome = res.autoWelcome ? true : false
const previewList = res.dracScrmWelcomeConfigDTOS.map(item => {
if (item.attType == 7) item.attContent = JSON.parse(item.attContent)
......@@ -785,7 +781,7 @@ export default {
}
}
.welcome-box {
margin-left: 48px;
margin-left: 61px;
&-contaner {
margin: 20px;
background: rgba(247, 247, 247, 0.52);
......@@ -887,13 +883,13 @@ export default {
}
}
.drainage-wrap {
margin-bottom: 20px;
margin-bottom: 16px;
&:nth-child(2) {
margin-bottom: 20px;
}
&.drainage-bottom {
margin-bottom: 60px;
margin-bottom: 16px;
}
.drainage-title {
padding-left: 20px;
......@@ -956,9 +952,11 @@ export default {
}
}
label {
width: 120px;
font-size: 14px;
text-align: right;
margin-right: 20px;
color: #666;
width: 140px;
margin-right: 12px;
height: 36px;
line-height: 36px;
img {
......@@ -991,7 +989,9 @@ export default {
color: #717171;
line-height: 30px;
border: 1px solid #dcdfe6;
width: 580px !important;
border-top: 0px;
box-sizing: border-box;
> div {
cursor: pointer;
margin-right: 10px;
......@@ -1004,7 +1004,7 @@ export default {
.upload-box {
margin-bottom: 10px;
&.drainage-type {
margin-left: -10px;
margin-left: -28px;
}
.tag-count {
color: #666666;
......
......@@ -5,9 +5,9 @@
<el-tab-pane label="客户列表" name="second"></el-tab-pane>
</el-tabs>
<component :is="activeName == 'first' ? configInfo : customList"></component>
<GLFooter>
<!-- <GLFooter>
<el-button type="primary" @click="goback">返回</el-button>
</GLFooter>
</GLFooter> -->
</div>
</template>
......
......@@ -14,8 +14,11 @@
</div>
<div class="square-tabel scrm-box-f">
<div class="square-tabel-form">
<GLCombiForm ref="formSearch" :formObj="tableSearchForm" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
<GLCombiForm :rowNumber="1" ref="formSearch" :formObj="tableSearchForm" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
<GLTable ref="employeeRef" :getListApi="getListApi" :searchForm="tableSearchForm" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn">
<div slot="imStatus" slot-scope="scope">
<span :class="['task_icon',scope.scope.imStatus==3?'green-icon':'yellow-icon']">{{ scope.scope.imStatusName }}</span>
</div>
<div class="table-btns" slot="optionBtns" slot-scope="scope">
<GLButton type="text" @click="handleDetail(scope.scope)" fn="智能营销配置">查看配置</GLButton>
<!-- <GLButton :disabled="scope.scope.imStatus!=1" type="text" @click="handleStatistics(scope.scope)" fn="营销统计">营销统计</GLButton> -->
......@@ -92,26 +95,28 @@ export default {
tableColumns: [
{
label: '营销名称',
prop: 'imName'
prop: 'imName',
minWidth: '150px'
},
{
label: '营销客户数',
prop: 'customerCount',
width: '120px'
minWidth: '120px'
},
{
label: '状态',
prop: 'imStatusName'
prop: 'imStatusName',
addHtml:'imStatus'
},
{
label: '创建时间',
prop: 'createdTime',
width: '180px'
minWidth: '180px'
},
{
label: '创建人',
prop: 'createdName',
width: '220px'
minWidth: '220px'
},
{
label: '操作',
......
......@@ -27,7 +27,7 @@
</div>
</div>
</div>
<el-dialog title="提示" :visible.sync="dialogVisible" width="30%" :before-close="handleClose" top="30vh">
<GLDialog @onOk="handleSure" @onCancel="handleCancel" title="提示" :visible.sync="dialogVisible" mode="small">
<div class="dialog-body">
<div class="dialog-tips-icon"><i class="el-icon-warning"></i></div>
<div class="dialog-tips-text">点击继续将开始上传数据文件</div>
......@@ -36,13 +36,13 @@
,是否继续吗?
</div>
</div>
<div slot="footer" class="dialog-footer">
<!-- <div slot="footer" class="dialog-footer">
<el-button size="small" @click="handleCancel">
取 消
</el-button>
<el-button size="small" type="primary" @click="handleSure">确 定</el-button>
</div>
</el-dialog>
</div> -->
</GLDialog>
<div class="loading-containner" v-if="processLoading"></div>
</div>
</template>
......
......@@ -71,14 +71,14 @@
<div class="form-main">
<div class="drainage-form">
<div class="drainage-form-item">
<label>群发短信</label>
<div class="message-panel">
<el-form ref="configForm" label-position="left" label-width="100px" :model="addForm" :rules="addRules" class="code-body-form">
<!-- <label>群发短信</label> -->
<div class="gl-form-page">
<el-form ref="configForm" label-width="154px" :model="addForm" :rules="addRules" class="code-body-form">
<el-form-item label="推送时间:">系统将在「开始营销时间」之后启动智系统将在「开始营销时间」之后启动短信营销,并在「截止营销时间」之后停止短信发送。由于相关管控限制,营销类短信无法实时触达用户,若短信时效要求很高,请谨慎使用。</el-form-item>
<el-form-item size="small" label="营销时间" prop="time">
<el-form-item size="small" label="营销时间:" prop="time">
<el-time-picker is-range :disabled="!editStatus" value-format="HH:mm" format="HH:mm" v-model="addForm.time" range-separator="至" start-placeholder="开始时间" end-placeholder="结束时间" placeholder="选择时间范围"></el-time-picker>
</el-form-item>
<el-form-item label="短信内容" prop="content">
<el-form-item label="短信内容:" prop="content">
<el-input :disabled="!editStatus" type="textarea" v-model="addForm.content" rows="5" maxlength="280" show-word-limit></el-input>
<div class="select-panel" v-if="editStatus">
<div @click="handleSelectMessage">
......@@ -89,8 +89,8 @@
<div class="form-tips">提示:当前短信已有{{ addForm.content.length }}字,按{{ content.length }}条短信发送且计费。</div>
</el-form-item>
<div class="drainage-form-item">
<label style="width: 100px; text-align: left; color: #666">
自动打标签
<label style="width: 140px;font-size:14px; text-align: right; color: #666">
自动打标签:
<el-popover placement="top" width="400" trigger="hover" content="提示:通过该营销活动添加员工企微的客户,将自动使用以下标签进行标记。">
<img src="@/assets/img/question.png" slot="reference" class="count-item-question" />
</el-popover>
......@@ -120,8 +120,8 @@
</div>
</div>
<div class="drainage-form-item" v-if="editStatus">
<label class="is-require">
跟进员工
<label class="is-require" style="width: 140px;font-size:14px; text-align: right; color: #666">
跟进员工:
<el-popover placement="top" width="400" trigger="hover" content="用户点击短信中的链接后,将自动分配以下某位员工的企微名片,客户添加好友将自动回复后台所配置的欢迎语。">
<img src="@/assets/img/question.png" slot="reference" class="count-item-question" />
</el-popover>
......@@ -142,8 +142,8 @@
</div>
</div>
<div class="drainage-form-item" v-else>
<label>
跟进员工
<label style="width: 140px;font-size:14px; text-align: right; color: #666;margin-left:20px;">
跟进员工:
<el-popover placement="top" width="400" trigger="hover" content="用户点击短信中的链接后,将自动分配以下某位员工的企微名片,客户添加好友将自动回复后台所配置的欢迎语。">
<img src="@/assets/img/question.png" slot="reference" class="count-item-question" />
</el-popover>
......@@ -170,11 +170,11 @@
<div class="chanel-form-title">欢迎语</div>
<div class="welcome-panel">
<div class="welcome-switch">
<label>自动发送欢迎语</label>
<label>自动发送欢迎语:</label>
<el-switch :disabled="!editStatus" v-model="autoWelcome" active-color="#5850FF" inactive-color="#999999"></el-switch>
</div>
<div class="welcome-box" v-show="editStatus && autoWelcome">
<welcome-words :eventBus="eventBus" ref="welcome"></welcome-words>
<GLEditor ref="welcome" :form="'customer'" :btnList="btnList" @previewWord="previewForm"></GLEditor>
</div>
<div class="welcome-box" v-show="!editStatus && autoWelcome">
<div class="welcome-box-contaner">
......@@ -275,13 +275,14 @@
</div>
</div>
</div>
<GLDialog title="提示" @onOk="handleSure" @onCancel="dialogVisibleTips = false" type="warning" content="当前有内容信息未保存,是否继续返回?" :visible.sync="dialogVisibleTips" mode="small"></GLDialog>
</div>
</template>
<script>
import Vue from 'vue'
import word from '@/mixins/word'
import { utils } from 'glsx-common'
import welcomeWords from '@/components/welcome/welcomeWords.vue'
import selectEmp from '@/components/selectEmp'
import selectTag from '@/components/selectTag'
import messageModel from '../market/components/messageModel'
......@@ -293,16 +294,17 @@ const validateTime = (rule, value, callback) => {
}
}
export default {
mixins: [word],
name: 'drainage',
components: {
selectEmp,
selectTag,
messageModel,
welcomeWords
messageModel
},
data() {
return {
welcomeInfo: [],
dialogVisibleTips: false,
eventBus: new Vue(),
autoWelcome: true,
editStatus: false,
......@@ -441,17 +443,14 @@ export default {
this.saveStatus = true
}
if (this.saveStatus) {
this.$confirm('当前有内容信息未保存,是否继续返回?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
this.$router.go(-1)
})
this.dialogVisibleTips = true
} else {
this.$router.go(-1)
}
},
handleSure() {
this.$router.go(-1)
},
//开关
handleSwitch() {
let params = {
......@@ -598,7 +597,7 @@ export default {
<style lang="scss" scoped>
.channel-main-welcome {
margin: 20px 0px 60px;
margin: 20px 0px 16px;
.chanel-form-title {
padding-left: 20px;
font-size: 16px;
......@@ -621,7 +620,7 @@ export default {
}
}
.welcome-box {
margin-left: 48px;
margin-left: 60px;
&-contaner {
margin: 20px;
background: rgba(247, 247, 247, 0.52);
......@@ -818,9 +817,9 @@ export default {
display: flex;
margin-top: 20px;
label {
width: 120px;
width: 140px;
text-align: right;
margin-right: 20px;
margin-right: 12px;
height: 36px;
line-height: 36px;
img {
......@@ -829,6 +828,7 @@ export default {
vertical-align: middle;
}
&.is-require {
padding-left: 20px;
&::before {
content: '*';
color: #f56c6c;
......@@ -856,6 +856,8 @@ export default {
line-height: 30px;
border: 1px solid #dcdfe6;
border-top: 0px;
width: 580px!important;
box-sizing: border-box;
> div {
cursor: pointer;
margin-right: 10px;
......@@ -899,8 +901,8 @@ export default {
}
}
.message-panel {
background: #f7f7f7;
border: 1px solid #dcdfe6;
// background: #f7f7f7;
// border: 1px solid #dcdfe6;
padding: 20px;
flex: 1;
box-sizing: border-box;
......
......@@ -417,8 +417,8 @@ export default {
}
.squre-safe-panel {
padding: 40px;
margin-top: 20px;
// margin-bottom: 60px;
margin-top: 10px;
margin-bottom: 16px;
/deep/ {
.el-carousel__indicators,
.el-carousel__arrow {
......@@ -509,7 +509,6 @@ export default {
margin: 40px 0px;
height: 328px;
background: #ffffff;
box-shadow: 0px 0px 20px 0px rgba(88, 80, 255, 0.1);
border-radius: 2px;
display: flex;
justify-content: space-between;
......
......@@ -110,6 +110,9 @@
</GLButton>
</div>
<GLTable ref="employeeRef" :getListApi="getListApi" :searchForm="tableSearchForm" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn">
<div slot="state" slot-scope="scope">
<span :class="['task_icon', scope.scope.state == 1 ? 'green-icon' : 'yellow-icon']">{{ scope.scope.state == 1 ? '已处理' : '处理中' }}</span>
</div>
<div slot="importNumber" slot-scope="scope">
<div class="number-form">
<span>{{ scope.scope.entmicroNumber }}</span>
......@@ -241,11 +244,12 @@ export default {
}
},
{
label: '事件处理状态',
label: '数据处理状态',
prop: 'state',
formatter: cellValue => {
return cellValue.state == 1 ? '已处理' : '处理中'
}
addHtml: 'state'
// formatter: cellValue => {
// return cellValue.state == 1 ? '已处理' : '处理中'
// }
},
{
label: '导入人员',
......@@ -275,8 +279,9 @@ export default {
methods: {
importsCount() {
this.$apis.square.importsCount({}).then(res => {
console.log(res)
this.countAll = res
if (res) {
this.countAll = res
}
})
},
handleReset() {
......@@ -302,9 +307,9 @@ export default {
jumpDetail(status) {
let url
if (status) {
url = `/custom/clientManage/index?isJoin=${status}&addWay=企微魔方`
url = `/custom/clientManage/index?isJoin=${status}&addWay=数据魔方`
} else {
url = `/custom/clientManage/index?addWay=企微魔方`
url = `/custom/clientManage/index?addWay=数据魔方`
}
this.$history.push(url)
},
......@@ -353,8 +358,10 @@ export default {
}
}
this.$apis.square.queryCrowdTree(params).then(res => {
const crowdUnitList = res.crowdUnitList.find(item => item.crowdName == '已加企微,待匹配客户')
this.crowdId = crowdUnitList.crowdId
if (res && res.crowdUnitList) {
const crowdUnitList = res.crowdUnitList.find(item => item.crowdName == '已加企微,待匹配客户')
this.crowdId = crowdUnitList ? crowdUnitList.crowdId : ''
}
})
}
},
......@@ -482,7 +489,6 @@ export default {
height: 102px;
margin: 20px 0px;
background: #ffffff;
box-shadow: 0px 10px 20px 0px rgba(88, 80, 255, 0.1);
display: flex;
.square-num-item {
width: 50%;
......@@ -516,7 +522,7 @@ export default {
}
}
.coustom-box-container {
margin-top: 20px;
margin-top: 16px;
background: #ffffff;
.square-title {
height: 55px;
......@@ -633,7 +639,7 @@ export default {
}
.square-tabel {
padding: 20px;
margin-top: 20px;
margin-top: 16px;
}
.table-btns a {
color: #5850ff;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!