diff --git a/.env.development b/.env.development index 5431a9bc..2ad1156b 100644 --- a/.env.development +++ b/.env.development @@ -1,6 +1,6 @@ NODE_ENV=development -# VUE_APP_API_SERVER = http://118.190.150.119:41080/api -VUE_APP_API_SERVER = http://192.168.1.140/api +VUE_APP_API_SERVER = https://epmet-test.elinkservice.cn/api +# VUE_APP_API_SERVER = http://192.168.1.140/api # VUE_APP_API_SERVER = http://192.168.51.36:8080/api # VUE_APP_API_SERVER = https://epmet-dev.elinkservice.cn/api VUE_APP_NODE_ENV=dev diff --git a/.env.production.sit b/.env.production.sit index 6e5b4e9b..de86de77 100644 --- a/.env.production.sit +++ b/.env.production.sit @@ -1,5 +1,5 @@ NODE_ENV=production -# VUE_APP_API_SERVER = http://118.190.150.119:41080/api -VUE_APP_API_SERVER = http://192.168.1.140/api +VUE_APP_API_SERVER = https://epmet-test.elinkservice.cn/api +# VUE_APP_API_SERVER = http://192.168.1.140/api VUE_APP_NODE_ENV=prod:sit VUE_APP_PUBLIC_PATH=epmet-oper \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 3f8baa2d..bf071c79 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1421,14 +1421,12 @@ "@mapbox/jsonlint-lines-primitives": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/@mapbox/jsonlint-lines-primitives/-/jsonlint-lines-primitives-2.0.2.tgz", - "integrity": "sha1-zlblOfg1UrWNENZy6k1vya3HsjQ=", - "dev": true + "integrity": "sha1-zlblOfg1UrWNENZy6k1vya3HsjQ=" }, "@mapbox/mapbox-gl-style-spec": { "version": "13.22.0", "resolved": "https://registry.npmjs.org/@mapbox/mapbox-gl-style-spec/-/mapbox-gl-style-spec-13.22.0.tgz", "integrity": "sha512-35skPiyM1reMRHA+X+DgbT3WG8hXMpqy1Ncs66ZvtVWUvvA9CtERSx5kq+o5S1ZrvDISuyBzrVzyty7PkuStkQ==", - "dev": true, "requires": { "@mapbox/jsonlint-lines-primitives": "~2.0.2", "@mapbox/point-geometry": "^0.1.0", @@ -1443,22 +1441,19 @@ "minimist": { "version": "1.2.5", "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", - "dev": true + "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" } } }, "@mapbox/point-geometry": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/@mapbox/point-geometry/-/point-geometry-0.1.0.tgz", - "integrity": "sha1-ioP5M1x4YO/6Lu7KJUMyqgru2PI=", - "dev": true + "integrity": "sha1-ioP5M1x4YO/6Lu7KJUMyqgru2PI=" }, "@mapbox/unitbezier": { "version": "0.0.0", "resolved": "https://registry.npmjs.org/@mapbox/unitbezier/-/unitbezier-0.0.0.tgz", - "integrity": "sha1-FWUb1VOme4WB+zmIEMmK2Go0Uk4=", - "dev": true + "integrity": "sha1-FWUb1VOme4WB+zmIEMmK2Go0Uk4=" }, "@mrmlnc/readdir-enhanced": { "version": "2.2.1", @@ -1479,8 +1474,7 @@ "@petamoriken/float16": { "version": "3.5.4", "resolved": "https://registry.npmjs.org/@petamoriken/float16/-/float16-3.5.4.tgz", - "integrity": "sha512-RWVPoDJ3q0vOinFEjEOFP+GPSL9cMZNwD9iSafIRXOOUKCQW0j+RAPH0CojMbaHkWlVBRJ40L9RFuSL/oLd+vg==", - "dev": true + "integrity": "sha512-RWVPoDJ3q0vOinFEjEOFP+GPSL9cMZNwD9iSafIRXOOUKCQW0j+RAPH0CojMbaHkWlVBRJ40L9RFuSL/oLd+vg==" }, "@soda/friendly-errors-webpack-plugin": { "version": "1.7.1", @@ -5228,8 +5222,7 @@ "csscolorparser": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/csscolorparser/-/csscolorparser-1.0.3.tgz", - "integrity": "sha1-s085HupNqPPpgjHizNjfnAQfFxs=", - "dev": true + "integrity": "sha1-s085HupNqPPpgjHizNjfnAQfFxs=" }, "cssesc": { "version": "2.0.0", @@ -6163,6 +6156,22 @@ "safer-buffer": "^2.1.0" } }, + "echarts": { + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/echarts/-/echarts-5.2.2.tgz", + "integrity": "sha512-yxuBfeIH5c+0FsoRP60w4De6omXhA06c7eUYBsC1ykB6Ys2yK5fSteIYWvkJ4xJVLQgCvAdO8C4mN6MLeJpBaw==", + "requires": { + "tslib": "2.3.0", + "zrender": "5.2.1" + }, + "dependencies": { + "tslib": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.0.tgz", + "integrity": "sha512-N82ooyxVNm6h1riLCoyS9e3fuJ3AMG2zIZs2Gd1ATcSFjSA23Q0fzjjZeh0jbJvWVDZ0cJT8yaNNaaXHzueNjg==" + } + } + }, "ee-first": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", @@ -6898,7 +6907,6 @@ "version": "3.2.25", "resolved": "https://registry.npmjs.org/esm/-/esm-3.2.25.tgz", "integrity": "sha512-U1suiZ2oDVWv4zPO56S0NcR5QriEahGtdN2OR6FiOG4WJvcjBVFB0qI4+eKoWFH483PKGuLuu6V8Z4T5g63UVA==", - "dev": true, "optional": true }, "espree": { @@ -8327,7 +8335,6 @@ "version": "1.0.8", "resolved": "https://registry.npmjs.org/geotiff/-/geotiff-1.0.8.tgz", "integrity": "sha512-3YA6NpGuuXF+WwwgA7moSHIw1U0XHxBY8W5bjjoSGBCVuw6s+DOgt7Z95Y3bf5k19RHixv6zW8KpW/yrRno43Q==", - "dev": true, "requires": { "@petamoriken/float16": "^3.4.7", "lerc": "^3.0.0", @@ -8342,7 +8349,6 @@ "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" } @@ -8350,14 +8356,12 @@ "pako": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/pako/-/pako-2.0.4.tgz", - "integrity": "sha512-v8tweI900AUkZN6heMU/4Uy4cXRc2AYNRggVmTR+dEncawDJgCdLMximOVA2p4qO57WMynangsfGRb5WD6L1Bg==", - "dev": true + "integrity": "sha512-v8tweI900AUkZN6heMU/4Uy4cXRc2AYNRggVmTR+dEncawDJgCdLMximOVA2p4qO57WMynangsfGRb5WD6L1Bg==" }, "yallist": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" } } }, @@ -9906,8 +9910,7 @@ "ieee754": { "version": "1.1.13", "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.13.tgz", - "integrity": "sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg==", - "dev": true + "integrity": "sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg==" }, "iferr": { "version": "0.1.5", @@ -10422,8 +10425,7 @@ "is-observable": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/is-observable/-/is-observable-2.1.0.tgz", - "integrity": "sha512-DailKdLb0WU+xX8K5w7VsJhapwHLZ9jjmazqCJq4X12CTgqq73TKnbRcnSLuXYPOoLQgV5IrD7ePiX/h1vnkBw==", - "dev": true + "integrity": "sha512-DailKdLb0WU+xX8K5w7VsJhapwHLZ9jjmazqCJq4X12CTgqq73TKnbRcnSLuXYPOoLQgV5IrD7ePiX/h1vnkBw==" }, "is-path-cwd": { "version": "2.2.0", @@ -10732,8 +10734,7 @@ "json-stringify-pretty-compact": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/json-stringify-pretty-compact/-/json-stringify-pretty-compact-2.0.0.tgz", - "integrity": "sha512-WRitRfs6BGq4q8gTgOy4ek7iPFXjbra0H3PmDLKm2xnZ+Gh1HUhiKGgCZkSPNULlP7mvfu6FV/mOLhCarspADQ==", - "dev": true + "integrity": "sha512-WRitRfs6BGq4q8gTgOy4ek7iPFXjbra0H3PmDLKm2xnZ+Gh1HUhiKGgCZkSPNULlP7mvfu6FV/mOLhCarspADQ==" }, "json-stringify-safe": { "version": "5.0.1", @@ -10855,8 +10856,7 @@ "lerc": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/lerc/-/lerc-3.0.0.tgz", - "integrity": "sha512-Rm4J/WaHhRa93nCN2mwWDZFoRVF18G1f47C+kvQWyHGEZxFpTUi73p7lMVSAndyxGt6lJ2/CFbOcf9ra5p8aww==", - "dev": true + "integrity": "sha512-Rm4J/WaHhRa93nCN2mwWDZFoRVF18G1f47C+kvQWyHGEZxFpTUi73p7lMVSAndyxGt6lJ2/CFbOcf9ra5p8aww==" }, "levn": { "version": "0.3.0", @@ -11349,8 +11349,7 @@ "mapbox-to-css-font": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/mapbox-to-css-font/-/mapbox-to-css-font-2.4.0.tgz", - "integrity": "sha512-v674D0WtpxCXlA6E+sBlG1QJWdUkz/s9qAD91bJSXBGuBL5lL4tJXpoJEftecphCh2SVQCjWMS2vhylc3AIQTg==", - "dev": true + "integrity": "sha512-v674D0WtpxCXlA6E+sBlG1QJWdUkz/s9qAD91bJSXBGuBL5lL4tJXpoJEftecphCh2SVQCjWMS2vhylc3AIQTg==" }, "md5.js": { "version": "1.3.5", @@ -12311,8 +12310,7 @@ "observable-fns": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/observable-fns/-/observable-fns-0.6.1.tgz", - "integrity": "sha512-9gRK4+sRWzeN6AOewNBTLXir7Zl/i3GB6Yl26gK4flxz8BXVpD3kt8amREmWNb0mxYOGDotvE5a4N+PtGGKdkg==", - "dev": true + "integrity": "sha512-9gRK4+sRWzeN6AOewNBTLXir7Zl/i3GB6Yl26gK4flxz8BXVpD3kt8amREmWNb0mxYOGDotvE5a4N+PtGGKdkg==" }, "obuf": { "version": "1.1.2", @@ -12324,7 +12322,6 @@ "version": "6.9.0", "resolved": "https://registry.npmjs.org/ol/-/ol-6.9.0.tgz", "integrity": "sha512-VmU5HKHwO2O1uGgmBcng/dL1PouVB1jKiYUbiXPR5l1i/3B3qatexl4rapZAnsGx0vsOC7lI1GLx7jEZro8C8Q==", - "dev": true, "requires": { "geotiff": "^1.0.8", "ol-mapbox-style": "^6.5.1", @@ -12336,7 +12333,6 @@ "version": "6.5.1", "resolved": "https://registry.npmjs.org/ol-mapbox-style/-/ol-mapbox-style-6.5.1.tgz", "integrity": "sha512-diGjCUlYjCA855vJjQjPzxXLn/skm0iQLD2/yDsXaKdNxFd35hNfRm5Li+Vxh/FxraCodxRvd8IplhrhvXoqbQ==", - "dev": true, "requires": { "@mapbox/mapbox-gl-style-spec": "^13.20.1", "mapbox-to-css-font": "^2.4.0", @@ -12622,8 +12618,7 @@ "parse-headers": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/parse-headers/-/parse-headers-2.0.4.tgz", - "integrity": "sha512-psZ9iZoCNFLrgRjZ1d8mn0h9WRqJwFxM9q3x7iUjN/YT2OksthDJ5TiPCu2F38kS4zutqfW+YdVVkBZZx3/1aw==", - "dev": true + "integrity": "sha512-psZ9iZoCNFLrgRjZ1d8mn0h9WRqJwFxM9q3x7iUjN/YT2OksthDJ5TiPCu2F38kS4zutqfW+YdVVkBZZx3/1aw==" }, "parse-json": { "version": "2.2.0", @@ -12742,7 +12737,6 @@ "version": "3.2.1", "resolved": "https://registry.npmjs.org/pbf/-/pbf-3.2.1.tgz", "integrity": "sha512-ClrV7pNOn7rtmoQVF4TS1vyU0WhYRnP92fzbfF75jAIwpnzdJXf8iTd4CMEqO4yUenH6NDqLiwjqlh6QgZzgLQ==", - "dev": true, "requires": { "ieee754": "^1.1.12", "resolve-protobuf-schema": "^2.1.0" @@ -15431,8 +15425,7 @@ "protocol-buffers-schema": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/protocol-buffers-schema/-/protocol-buffers-schema-3.6.0.tgz", - "integrity": "sha512-TdDRD+/QNdrCGCE7v8340QyuXd4kIWIgapsE2+n/SaGiSSbomYl4TjHlvIoCWRpE7wFt02EpB35VVA2ImcBVqw==", - "dev": true + "integrity": "sha512-TdDRD+/QNdrCGCE7v8340QyuXd4kIWIgapsE2+n/SaGiSSbomYl4TjHlvIoCWRpE7wFt02EpB35VVA2ImcBVqw==" }, "proxy-addr": { "version": "2.0.5", @@ -15602,8 +15595,7 @@ "quickselect": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/quickselect/-/quickselect-2.0.0.tgz", - "integrity": "sha512-RKJ22hX8mHe3Y6wH/N3wCM6BWtjaxIyyUIkpHOvfFnxdI4yD4tBXEBKSbriGujF6jnSVkJrffuo6vxACiSSxIw==", - "dev": true + "integrity": "sha512-RKJ22hX8mHe3Y6wH/N3wCM6BWtjaxIyyUIkpHOvfFnxdI4yD4tBXEBKSbriGujF6jnSVkJrffuo6vxACiSSxIw==" }, "quill": { "version": "1.3.6", @@ -15682,7 +15674,6 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/rbush/-/rbush-3.0.1.tgz", "integrity": "sha512-XRaVO0YecOpEuIvbhbpTrZgoiI6xBlz6hnlr6EHhd+0x9ase6EmeN+hdwwUaJvLcsFFQ8iWVF1GAK1yB0BWi0w==", - "dev": true, "requires": { "quickselect": "^2.0.0" } @@ -16059,7 +16050,6 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/resolve-protobuf-schema/-/resolve-protobuf-schema-2.1.0.tgz", "integrity": "sha512-kI5ffTiZWmJaS/huM8wZfEMer1eRd7oJQhDuxeCLe3t7N7mX3z94CN0xPxBQxFYQTSNz9T0i+v6inKqSdK8xrQ==", - "dev": true, "requires": { "protocol-buffers-schema": "^3.3.1" } @@ -16173,8 +16163,7 @@ "rw": { "version": "1.3.3", "resolved": "https://registry.npmjs.org/rw/-/rw-1.3.3.tgz", - "integrity": "sha1-P4Yt+pGrdmsUiF700BEkv9oHT7Q=", - "dev": true + "integrity": "sha1-P4Yt+pGrdmsUiF700BEkv9oHT7Q=" }, "rx-lite": { "version": "4.0.8", @@ -16781,14 +16770,12 @@ "sort-asc": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/sort-asc/-/sort-asc-0.1.0.tgz", - "integrity": "sha1-q3md9h/HPqCVbHnEtTHtHp53J+k=", - "dev": true + "integrity": "sha1-q3md9h/HPqCVbHnEtTHtHp53J+k=" }, "sort-desc": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/sort-desc/-/sort-desc-0.1.1.tgz", - "integrity": "sha1-GYuMDN6wlcRjNBhh45JdTuNZqe4=", - "dev": true + "integrity": "sha1-GYuMDN6wlcRjNBhh45JdTuNZqe4=" }, "sort-keys": { "version": "2.0.0", @@ -16803,7 +16790,6 @@ "version": "0.3.2", "resolved": "https://registry.npmjs.org/sort-object/-/sort-object-0.3.2.tgz", "integrity": "sha1-mODRme3kDgfGGoRAPGHWw7KQ+eI=", - "dev": true, "requires": { "sort-asc": "^0.1.0", "sort-desc": "^0.1.1" @@ -17961,7 +17947,6 @@ "version": "1.7.0", "resolved": "https://registry.npmjs.org/threads/-/threads-1.7.0.tgz", "integrity": "sha512-Mx5NBSHX3sQYR6iI9VYbgHKBLisyB+xROCBGjjWm1O9wb9vfLxdaGtmT/KCjUqMsSNW6nERzCW3T6H43LqjDZQ==", - "dev": true, "requires": { "callsites": "^3.1.0", "debug": "^4.2.0", @@ -17973,14 +17958,12 @@ "callsites": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", - "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", - "dev": true + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==" }, "debug": { "version": "4.3.2", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz", "integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==", - "dev": true, "requires": { "ms": "2.1.2" } @@ -17988,8 +17971,7 @@ "ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" } } }, @@ -18079,7 +18061,6 @@ "version": "2.3.0", "resolved": "https://registry.npmjs.org/tiny-worker/-/tiny-worker-2.3.0.tgz", "integrity": "sha512-pJ70wq5EAqTAEl9IkGzA+fN0836rycEuz2Cn6yeZ6FRzlVS5IDOkFHpIoEsksPRQV34GDqXm65+OlnZqUSyK2g==", - "dev": true, "optional": true, "requires": { "esm": "^3.2.25" @@ -18989,8 +18970,7 @@ "webfont-matcher": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/webfont-matcher/-/webfont-matcher-1.1.0.tgz", - "integrity": "sha1-mM6VCXsp4x++czBT4Q5XFkLRxsc=", - "dev": true + "integrity": "sha1-mM6VCXsp4x++czBT4Q5XFkLRxsc=" }, "webidl-conversions": { "version": "6.1.0", @@ -19582,8 +19562,7 @@ "xml-utils": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/xml-utils/-/xml-utils-1.0.2.tgz", - "integrity": "sha512-rEn0FvKi+YGjv9omf22oAf+0d6Ly/sgJ/CUufU/nOzS7SRLmgwSujrewc03KojXxt+aPaTRpm593TgehtUBMSQ==", - "dev": true + "integrity": "sha512-rEn0FvKi+YGjv9omf22oAf+0d6Ly/sgJ/CUufU/nOzS7SRLmgwSujrewc03KojXxt+aPaTRpm593TgehtUBMSQ==" }, "xmlchars": { "version": "2.2.0", @@ -19714,6 +19693,21 @@ "dev": true } } + }, + "zrender": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/zrender/-/zrender-5.2.1.tgz", + "integrity": "sha512-M3bPGZuyLTNBC6LiNKXJwSCtglMp8XUEqEBG+2MdICDI3d1s500Y4P0CzldQGsqpRVB7fkvf3BKQQRxsEaTlsw==", + "requires": { + "tslib": "2.3.0" + }, + "dependencies": { + "tslib": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.0.tgz", + "integrity": "sha512-N82ooyxVNm6h1riLCoyS9e3fuJ3AMG2zIZs2Gd1ATcSFjSA23Q0fzjjZeh0jbJvWVDZ0cJT8yaNNaaXHzueNjg==" + } + } } } } diff --git a/package.json b/package.json index e2449fc8..3f52cd7e 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,7 @@ "axios": "^0.19.0", "babel-eslint": "^8.0.1", "babel-plugin-component": "^1.1.1", + "echarts": "^5.2.2", "element-theme": "^2.0.1", "element-ui": "^2.13.0", "file-saver": "^2.0.5", diff --git a/public/index.html b/public/index.html index e4e6978e..259b3351 100644 --- a/public/index.html +++ b/public/index.html @@ -36,7 +36,8 @@ <% if (process.env.VUE_APP_NODE_ENV==='dev' ) { %> diff --git a/src/assets/img/shuju/measure/bg-left.png b/src/assets/img/shuju/measure/bg-left.png new file mode 100644 index 00000000..e35c9bc8 Binary files /dev/null and b/src/assets/img/shuju/measure/bg-left.png differ diff --git a/src/assets/img/shuju/measure/dangyuan.png b/src/assets/img/shuju/measure/dangyuan.png new file mode 100644 index 00000000..74ac72ae Binary files /dev/null and b/src/assets/img/shuju/measure/dangyuan.png differ diff --git a/src/assets/img/shuju/measure/huang@2x.png b/src/assets/img/shuju/measure/huang@2x.png new file mode 100644 index 00000000..b40cd4c0 Binary files /dev/null and b/src/assets/img/shuju/measure/huang@2x.png differ diff --git a/src/assets/img/shuju/measure/jgzs@2x.png b/src/assets/img/shuju/measure/jgzs@2x.png new file mode 100644 index 00000000..fd3e53c8 Binary files /dev/null and b/src/assets/img/shuju/measure/jgzs@2x.png differ diff --git a/src/assets/img/shuju/measure/jumin.png b/src/assets/img/shuju/measure/jumin.png new file mode 100644 index 00000000..74003ab8 Binary files /dev/null and b/src/assets/img/shuju/measure/jumin.png differ diff --git a/src/assets/img/shuju/measure/lan@2x.png b/src/assets/img/shuju/measure/lan@2x.png new file mode 100644 index 00000000..9a078223 Binary files /dev/null and b/src/assets/img/shuju/measure/lan@2x.png differ diff --git a/src/assets/img/shuju/measure/lanlv@2x.png b/src/assets/img/shuju/measure/lanlv@2x.png new file mode 100644 index 00000000..190ea272 Binary files /dev/null and b/src/assets/img/shuju/measure/lanlv@2x.png differ diff --git a/src/assets/img/shuju/measure/lv@2x.png b/src/assets/img/shuju/measure/lv@2x.png new file mode 100644 index 00000000..6b09fde3 Binary files /dev/null and b/src/assets/img/shuju/measure/lv@2x.png differ diff --git a/src/assets/img/shuju/measure/lxdj@2x.png b/src/assets/img/shuju/measure/lxdj@2x.png new file mode 100644 index 00000000..2db1aea0 Binary files /dev/null and b/src/assets/img/shuju/measure/lxdj@2x.png differ diff --git a/src/assets/img/shuju/measure/ly@2x.png b/src/assets/img/shuju/measure/ly@2x.png new file mode 100644 index 00000000..76303b9c Binary files /dev/null and b/src/assets/img/shuju/measure/ly@2x.png differ diff --git a/src/assets/img/shuju/measure/qita.png b/src/assets/img/shuju/measure/qita.png new file mode 100644 index 00000000..82b583cd Binary files /dev/null and b/src/assets/img/shuju/measure/qita.png differ diff --git a/src/assets/img/shuju/measure/xq@2x.png b/src/assets/img/shuju/measure/xq@2x.png new file mode 100644 index 00000000..bb4674f9 Binary files /dev/null and b/src/assets/img/shuju/measure/xq@2x.png differ diff --git a/src/assets/img/shuju/measure/zi@2x.png b/src/assets/img/shuju/measure/zi@2x.png new file mode 100644 index 00000000..6bd33116 Binary files /dev/null and b/src/assets/img/shuju/measure/zi@2x.png differ diff --git a/src/assets/img/shuju/top/1.png b/src/assets/img/shuju/top/1.png new file mode 100644 index 00000000..1f4ddc87 Binary files /dev/null and b/src/assets/img/shuju/top/1.png differ diff --git a/src/assets/img/shuju/top/2.png b/src/assets/img/shuju/top/2.png new file mode 100644 index 00000000..fc2e96ca Binary files /dev/null and b/src/assets/img/shuju/top/2.png differ diff --git a/src/assets/img/shuju/top/3.png b/src/assets/img/shuju/top/3.png new file mode 100644 index 00000000..7e89e215 Binary files /dev/null and b/src/assets/img/shuju/top/3.png differ diff --git a/src/assets/scss/main-shuju.scss b/src/assets/scss/main-shuju.scss index ce4ca79d..190f8aef 100644 --- a/src/assets/scss/main-shuju.scss +++ b/src/assets/scss/main-shuju.scss @@ -1,5 +1,5 @@ -@import '~@/element-ui/theme-variables.scss'; -@import './variables.scss'; +@import "~@/element-ui/theme-variables.scss"; +@import "./variables.scss"; // $navbar--height: 60px; body { @@ -72,8 +72,8 @@ body { background-color: transparent; } &-add { - > span > *[class*='el-icon-'], - > span > *[class*='icon'] { + > span > *[class*="el-icon-"], + > span > *[class*="icon"] { vertical-align: middle; font-size: 18px; margin-right: 5px; @@ -233,17 +233,13 @@ body { font-family: FZZCHJW; font-weight: normal; color: #ffffff; - background: linear-gradient( - 0deg, - #03c7ff 24.609375%, - #ffffff 81.0791015625% - ); + background: linear-gradient(0deg, #03c7ff 24.609375%, #ffffff 81.0791015625%); -webkit-background-clip: text; -webkit-text-fill-color: rgba(#fff, 0.7); &::before { position: absolute; - content: ''; + content: ""; z-index: 100000; display: block; bottom: -10px; @@ -289,13 +285,15 @@ body { text-decoration: none; } &.z-div { - .el-menu-item { + .el-menu-item, + .sub-menu { position: relative; - &.is-active { + &.is-active, + &.z-on { &::before { position: absolute; - content: ''; + content: ""; display: block; bottom: -6px; left: 0; @@ -317,7 +315,7 @@ body { &::after { position: absolute; - content: ''; + content: ""; right: 0; top: 0; bottom: 0; @@ -328,8 +326,41 @@ body { } } } + + .sub-menu { + position: relative; + float: left; + cursor: pointer; + &:hover { + .sub-menu-list { + display: block; + } + } + + .sub-menu-list { + position: absolute; + display: none; + padding: 0 10px; + width: 120px; + left: -100px; + right: -100px; + margin: 0 auto; + background-color: rgba(#176dec, 0.9); + text-align: center; + cursor: pointer; + > div { + border-top: 1px dashed rgba(#fff, 0.4); + color: rgba(#fff, 0.7); + transition: all ease 0.5s; + &:hover { + color: #fff; + } + } + } + } + .el-menu-item, - .el-submenu > .el-submenu__title { + .sub-menu { height: $navbar--height; padding: 0 15px; line-height: $navbar--height; @@ -337,14 +368,12 @@ body { color: #fff; } .el-menu-item.is-active, - .el-submenu.is-active > .el-submenu__title { + .sub-menu.z-on { color: #fff; font-weight: bold; - &:focus, - &:hover { - } } - .el-menu-item { + .el-menu-item, + .sub-menu { i { color: #fff; } @@ -388,9 +417,10 @@ body { } } } + .navbar__search { - > *[class*='el-icon-'], - > *[class*='icon'] { + > *[class*="el-icon-"], + > *[class*="icon"] { display: inline-block; vertical-align: middle; } @@ -446,9 +476,7 @@ body { min-height: calc(#{$content--fill-height} - 2px); } > .aui-card--fill > .el-card__header + .el-card__body { - min-height: calc( - #{$content--fill-height} - #{$content--card-header-height} - 2px - ); + min-height: calc(#{$content--fill-height} - #{$content--card-header-height} - 2px); } &--tabs { padding: $content--tabs-header-height 0 0; @@ -520,7 +548,7 @@ body { position: absolute; bottom: 0; left: 0; - content: ''; + content: ""; width: 100%; height: 2px; background-color: $--color-primary; @@ -553,15 +581,10 @@ body { min-height: calc(#{$content--fill-height-tabs} - 2px); } > .aui-card--fill > .el-card__header + .el-card__body { - min-height: calc( - #{$content--fill-height-tabs} - #{$content--card-header-height} - - 2px - ); + min-height: calc(#{$content--fill-height-tabs} - #{$content--card-header-height} - 2px); } &.is-iframe { - height: calc( - #{$content--fill-height-tabs} + #{$content--padding * 2} - ); + height: calc(#{$content--fill-height-tabs} + #{$content--padding * 2}); margin: -$content--padding; min-height: auto; > .aui-card--fill { @@ -580,10 +603,7 @@ body { background-color: #fff; } > .aui-card--fill > .el-card__header + .el-card__body { - height: calc( - #{$content--fill-height-tabs} - #{$content--card-header-height} - - 2px - ); + height: calc(#{$content--fill-height-tabs} - #{$content--card-header-height} - 2px); } } } @@ -613,7 +633,7 @@ body { /* Page ------------------------------ */ -*[class*='aui-page__'] { +*[class*="aui-page__"] { padding-top: 0; .aui-content { min-height: auto; @@ -625,9 +645,7 @@ body { min-height: calc(100vh - #{$content--padding * 2} - 2px); } > .aui-card--fill > .el-card__header + .el-card__body { - min-height: calc( - 100vh - #{$content--padding * 2} - #{$content--card-header-height} - 2px - ); + min-height: calc(100vh - #{$content--padding * 2} - #{$content--card-header-height} - 2px); } } } diff --git a/src/assets/scss/modules/visual/c/common.scss b/src/assets/scss/modules/visual/c/common.scss new file mode 100644 index 00000000..0f86e52d --- /dev/null +++ b/src/assets/scss/modules/visual/c/common.scss @@ -0,0 +1,19 @@ +@mixin scrollBar { + &::-webkit-scrollbar { + /*滚动条整体样式*/ + width: 8px; /*高宽分别对应横竖滚动条的尺寸*/ + height: 1px; + } + &::-webkit-scrollbar-thumb { + /*滚动条里面小方块*/ + border-radius: 8px; + box-shadow: inset 0 0 5px rgba(#00023f, 0.2); + background: linear-gradient(270deg, #0063fe, #0095ff); + } + &::-webkit-scrollbar-track { + /*滚动条里面轨道*/ + box-shadow: inset 0 0 5px rgba(#00023f, 0.2); + border-radius: 8px; + background: darken(#0c81fe, 20); + } +} diff --git a/src/assets/scss/people.scss b/src/assets/scss/modules/visual/people.scss similarity index 63% rename from src/assets/scss/people.scss rename to src/assets/scss/modules/visual/people.scss index ea88d05f..f382abc1 100644 --- a/src/assets/scss/people.scss +++ b/src/assets/scss/modules/visual/people.scss @@ -1,22 +1,27 @@ -@import "c/config"; -@import "c/function"; +@import "../../c/config"; +@import "../../c/function"; +@import "./c/common"; .g-cpt { display: flex; flex-wrap: wrap; justify-content: center; - // justify-content: space-around; - // .g-l { - // margin-right: auto; - // } - // .g-r { - // margin-left: auto; - // } + margin-top: 5px; + + .g-l { + width: 850px; + margin-bottom: 20px; + } + + .g-r { + margin-left: 6px; + width: calc(100% - 850px - 6px); + min-width: 850px; + } } .m-people { position: relative; - width: 850px; .title { padding: 10px; @@ -174,7 +179,7 @@ .m-pop { @include shield; background-color: rgba(#000, 0.9); - overflow-y: scroll; + overflow-y: auto; .wrap { position: relative; @@ -285,8 +290,7 @@ .m-relation { position: relative; - margin-top: 20px; - width: 850px; + margin-top: 10px; .title { padding: 10px; @@ -432,3 +436,200 @@ } } } + +.m-tb { + .title { + padding: 10px; + font-size: 22px; + font-family: PingFang SC; + font-weight: 800; + color: #ffffff; + display: flex; + align-items: center; + + img { + display: block; + margin-right: 5px; + } + span { + display: block; + } + } + .tb { + height: 300px; + overflow-y: auto; + @include scrollBar; + } +} + +.m-row { + display: flex; + justify-content: space-between; + margin-top: 10px; + + .m-list { + width: calc(50% - 3px); + + .title { + padding: 10px; + font-size: 22px; + font-family: PingFang SC; + font-weight: 800; + color: #ffffff; + display: flex; + align-items: center; + + img { + display: block; + margin-right: 5px; + } + span { + display: block; + } + + a { + display: block; + color: rgba(#fff, 0.5); + font-size: 22px; + font-family: PingFang SC; + font-weight: 800; + margin-right: 10px; + cursor: pointer; + + &.z-on { + color: #fff; + cursor: default; + + &:hover { + color: #fff; + text-decoration: none; + } + } + + &:hover { + color: rgba(#fff, 0.5); + text-decoration: underline; + } + } + } + + .list-wrap { + height: 480px; + overflow-y: auto; + @include scrollBar; + + .list { + .item { + position: relative; + background-color: #104ba4; + padding: 10px 20px; + margin-bottom: 4px; + cursor: pointer; + transition: all ease 0.1s; + + .item-row { + display: flex; + justify-content: space-between; + align-items: center; + + .item-l { + width: 25%; + } + .item-r { + width: 75%; + } + + &:hover { + &::before { + content: ""; + position: absolute; + display: block; + left: 0; + top: 0; + bottom: 0; + width: 6px; + background: linear-gradient(270deg, #0336ff, #01b4ff); + border-radius: 2px; + } + + &::after { + content: ""; + position: absolute; + display: block; + left: 15px; + top: 0; + bottom: 0; + margin: auto 0; + width: 0; + height: 0; + border-width: 10px; + border-style: solid; + border-color: transparent transparent transparent #20edff; + } + } + } + + .item-point { + text-align: center; + padding-left: 10%; + height: 16px; + font-size: 22px; + font-family: PingFang SC; + font-weight: bold; + color: #ffffff; + line-height: 12px; + } + + .item-title { + padding: 10px 0; + font-size: 18px; + font-family: PingFang SC; + font-weight: 400; + color: #ffffff; + line-height: 24px; + } + + .item-date { + padding: 10px 0; + border-top: 1px dashed #8398d9; + font-size: 14px; + font-family: PingFang SC; + font-weight: 400; + color: #ffffff; + opacity: 0.67; + } + &:hover { + box-shadow: 0 0 30px 5px inset #22f; + background-color: darken(#104ba4, 12); + } + } + } + } + } +} + +.m-pagination { + box-sizing: border-box; + margin-top: 20px; + width: 100%; + height: 40px; + display: flex; + justify-content: flex-end; + + /deep/ .el-pagination.is-background .el-pager li:not(.disabled).active { + background: #0266d1; + color: #000d3f; + } + + /deep/ .el-pagination .el-pager li { + background: #002e74; + } + + /deep/ .el-pagination .btn-prev { + background: #002e74; + } + + /deep/ .el-pagination .btn-next { + background: #002e74; + } +} diff --git a/src/assets/scss/modules/visual/processAnalyze.scss b/src/assets/scss/modules/visual/processAnalyze.scss new file mode 100644 index 00000000..3a3a0f23 --- /dev/null +++ b/src/assets/scss/modules/visual/processAnalyze.scss @@ -0,0 +1,224 @@ +@import '../../c/config'; +@import '../../c/function'; +@import './c/common'; + +.title { + padding: 10px; + font-size: 22px; + font-family: PingFang SC; + font-weight: 800; + color: #ffffff; + display: flex; + align-items: center; + position: relative; + + img { + display: block; + margin-right: 5px; + } + span { + display: block; + } + + .second-title { + display: flex; + align-items: center; + + .second-select { + margin: 0 10px 0 40px; + + ::v-deep .el-input { + width: 140px; + height: 36px; + .el-input__inner { + height: 100%; + padding: 0 10px; + color: #fff; + line-height: 36px; + background: #06186d; + border: 1px solid #1a64cc; + } + .el-icon-arrow-up:before { + content: '\e78f'; + } + } + ::v-deep .el-date-editor { + .el-input__prefix { + left: unset; + right: 5px; + } + } + } + .cascader { + ::v-deep .el-input { + width: 220px; + } + } + .second-select:last-child { + margin-left: 0; + } + } +} + +.g-cpt-resi { + display: flex; + flex-direction: row; + height: calc(100vh - 170px); + + .g-l { + flex-shrink: 0; + width: 700px; + height: calc(100vh - 230px); + + .l_top { + height: 385px; + display: flex; + .g-count { + width: 100px; + } + .g-pie { + } + } + .l_bottom { + height: calc(100vh - 230px - 385px); + margin-top: 20px; + } + } + + .g-r { + text-align: center; + margin: 40px 19px 20px; + width: calc(100vw - 60px - 800px); + height: calc(100vh - 160px - 20px); + } +} + +.l_bottom { + .bottom_label { + position: relative; + padding-left: 40px; + font-size: 16px; + font-weight: 500; + color: #fff; + } + .bottom_label::after { + content: ''; + position: absolute; + top: 50%; + left: 20px; + width: 12px; + height: 12px; + box-sizing: border-box; + margin-top: -6px; + background: #2865fa; + border-radius: 50%; + } + > span { + font-size: 18px; + font-family: PingFang SC; + font-weight: 800; + color: #ffffff; + } + .echart-line { + margin-top: 10px; + } +} +.g-count { + margin-top: 104px; + margin-left: 52px; + .t_count { + font-size: 16px; + font-family: PingFang SC; + font-weight: 400; + color: #ffffff; + opacity: 0.76; + } + .c_count { + font-size: 48px; + font-family: PingFang SC; + font-weight: bold; + color: #ffffff; + } + .t_yestoday { + margin-top: 59px; + font-size: 14px; + font-family: PingFang SC; + font-weight: 400; + color: #ffffff; + opacity: 0.76; + > span { + margin-left: 18px; + font-size: 16px; + font-family: PingFang SC; + font-weight: 500; + color: #f42800; + } + } + .t_today { + margin-top: 12px; + font-size: 14px; + font-family: PingFang SC; + font-weight: 400; + color: #ffffff; + opacity: 0.76; + > span { + margin-left: 18px; + font-size: 16px; + font-family: PingFang SC; + font-weight: 500; + color: #3edd7f; + } + } +} + +.g-r { + .tb { + position: relative; + height: calc(100vh - 220px); + overflow-y: auto; + @include scrollBar; + + .m-pagination { + position: absolute; + box-sizing: border-box; + right: 0; + bottom: 0; + + width: 100%; + height: 40px; + display: flex; + justify-content: flex-end; + + /deep/ .el-pagination.is-background .el-pager li:not(.disabled).active { + background: #0266d1; + color: #000d3f; + } + + /deep/ .el-pagination .el-pager li { + background: #002e74; + } + + /deep/ .el-pagination .btn-prev { + background: #002e74; + } + + /deep/ .el-pagination .btn-next { + background: #002e74; + } + } + } +} + +.echart-wr { + margin-left: 30px; + // margin-top: 100px; + text-align: center; + position: relative; + width: 500px; + height: 100%; + box-sizing: border-box; + .echart-org { + width: 100%; + height: 90%; + } +} diff --git a/src/assets/scss/modules/visual/resibuzz.scss b/src/assets/scss/modules/visual/resibuzz.scss new file mode 100644 index 00000000..a5c3918e --- /dev/null +++ b/src/assets/scss/modules/visual/resibuzz.scss @@ -0,0 +1,135 @@ +@import '../../c/config'; +@import '../../c/function'; +@import './c/common'; + +.title { + padding: 10px; + font-size: 22px; + font-family: PingFang SC; + font-weight: 800; + color: #ffffff; + display: flex; + align-items: center; + position: relative; + + img { + display: block; + margin-right: 5px; + } + span { + display: block; + } + + .second-select { + margin: 0 10px 0 40px; + + ::v-deep .el-input { + width: 140px; + height: 36px; + .el-input__inner { + height: 100%; + padding: 0 10px; + color: #fff; + line-height: 36px; + background: #06186d; + border: 1px solid #1a64cc; + } + .el-icon-arrow-up:before { + content: '\e78f'; + } + } + ::v-deep .el-date-editor { + .el-input__prefix { + left: unset; + right: 5px; + } + } + } + + .cascader { + ::v-deep .el-input { + width: 220px; + } + } + .status-select { + position: absolute; + top: 20px; + right: 10px; + } + .second-select:last-child { + margin-left: 0; + } +} + +.g-cpt-resi { + display: flex; + flex-direction: row; + // flex-wrap: wrap; + // justify-content: center; + height: calc(100vh - 130px); + + .g-l { + flex-shrink: 0; + width: 600px; + height: calc(100vh - 190px); + } + + .g-r { + text-align: center; + margin: 40px 19px 20px; + width: calc(100vw - 60px - 600px); + height: calc(100vh - 140px - 20px); + } +} + +.g-r { + .tb { + position: relative; + height: calc(100vh - 220px); + overflow-y: auto; + @include scrollBar; + + .m-pagination { + position: absolute; + box-sizing: border-box; + right: 0; + bottom: 0; + + width: 100%; + height: 40px; + display: flex; + justify-content: flex-end; + + /deep/ .el-pagination.is-background .el-pager li:not(.disabled).active { + background: #0266d1; + color: #000d3f; + } + + /deep/ .el-pagination .el-pager li { + background: #002e74; + } + + /deep/ .el-pagination .btn-prev { + background: #002e74; + } + + /deep/ .el-pagination .btn-next { + background: #002e74; + } + } + } +} + +.echart-wr { + margin-left: 30px; + // margin-top: 100px; + text-align: center; + position: relative; + width: 500px; + height: 100%; + box-sizing: border-box; + .echart-org { + width: 100%; + height: 90%; + } +} diff --git a/src/router/index.js b/src/router/index.js index dbf8448e..bc43c78a 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -98,7 +98,8 @@ export const moduleShujuRoutes = { }, }, { - path: "/main-shuju/visual-basicinfo-people", + path: "/main-shuju/visual-basicinfo-people/:uid", + props: true, component: () => import("@/views/modules/visual/basicinfo/people"), name: "visual-basicinfo-people", meta: { @@ -229,9 +230,21 @@ router.beforeEach((to, from, next) => { window.SITE_CONFIG["menuShujuList"] = [ { icon: "icon-setting", - id: "2", + id: "22213213", name: "基础信息", url: "visual/basicinfo/basicInfoMain", + children: [ + { + url: "/visual/basicinfo/basicInfoMain", + name: "基础信息", + id: "5feawfwaefwa5", + }, + { + url: "/visual/basicinfo/basicInfoMain", + name: "人员类别分析", + id: "5fwaefwaefawef5", + }, + ], }, { icon: "icon-setting", @@ -239,6 +252,70 @@ router.beforeEach((to, from, next) => { name: "人员预警", url: "visual/warning/index", }, + { + icon: "icon-setting", + id: "6", + name: "社区治理", + children: [ + { + url: "visual/communityGovern/processAnalyze", + name: "项目处理分析", + id: "processAnalyze", + }, + { + url: "/visual/communityGovern/typeAnalyze", + name: "项目分类分析", + id: "typeAnalyze", + }, + { + url: "/visual/communityGovern/resibuzz", + name: "居民热议", + id: "resibuzz", + }, + { + url: "/visual/communityGovern/distributionAnalyze", + name: "项目分布分析", + id: "distributionAnalyze", + }, + ], + + }, + { + icon: "icon-setting", + id: "2221321001", + name: "社区党建", + // url: "visual/basicinfo/basicInfoMain", + children: [ + { + url: "/visual/communityParty/party", + name: "党员信息统计", + id: "5feawfwaefwa578", + }, + { + url: "/visual/communityParty/community", + name: "区域化党建", + id: "5fwaefwaefawef588", + }, + ], + }, + { + icon: "icon-setting", + id: "2221321123", + name: "措施清单", + // url: "visual/basicinfo/basicInfoMain", + children: [ + { + url: "/visual/measure/service", + name: "服务措施分析", + id: "5feawfwaefwa57", + }, + { + url: "/visual/measure/volunteer", + name: "志愿者服务分析", + id: "5fwaefwaefawef58", + }, + ], + }, ]; fnAddDynamicMenuRoutes2(window.SITE_CONFIG["menuShujuList"]); // next({ ...to, replace: true }) diff --git a/src/views/main-shuju/main-navbar.vue b/src/views/main-shuju/main-navbar.vue index 181e7d51..19c148a4 100644 --- a/src/views/main-shuju/main-navbar.vue +++ b/src/views/main-shuju/main-navbar.vue @@ -1,13 +1,10 @@ - diff --git a/src/views/modules/communityService/ninePlaces/team/team.vue b/src/views/modules/communityService/ninePlaces/team/team.vue index a828b7ae..9f93a0a0 100644 --- a/src/views/modules/communityService/ninePlaces/team/team.vue +++ b/src/views/modules/communityService/ninePlaces/team/team.vue @@ -304,8 +304,11 @@ export default { this.tableData = data.list this.tableData.forEach(item => { - let timeArray = item.time.split(' ') - item.time = timeArray[0] + if (item.time) { + let timeArray = item.time.split(' ') + item.time = timeArray[0] + } + }); } else { this.$message.error(msg) diff --git a/src/views/modules/visual/basicinfo/cpts/demand-info.vue b/src/views/modules/visual/basicinfo/cpts/demand-info.vue new file mode 100644 index 00000000..31ed33e1 --- /dev/null +++ b/src/views/modules/visual/basicinfo/cpts/demand-info.vue @@ -0,0 +1,503 @@ + + + + + diff --git a/src/views/modules/visual/basicinfo/cpts/incident-info.vue b/src/views/modules/visual/basicinfo/cpts/incident-info.vue new file mode 100644 index 00000000..31ed33e1 --- /dev/null +++ b/src/views/modules/visual/basicinfo/cpts/incident-info.vue @@ -0,0 +1,503 @@ + + + + + diff --git a/src/views/modules/visual/basicinfo/cpts/people-more.vue b/src/views/modules/visual/basicinfo/cpts/people-more.vue index a634aade..6198cc91 100644 --- a/src/views/modules/visual/basicinfo/cpts/people-more.vue +++ b/src/views/modules/visual/basicinfo/cpts/people-more.vue @@ -500,4 +500,4 @@ export default { }; - + diff --git a/src/views/modules/visual/basicinfo/cpts/topic-info.vue b/src/views/modules/visual/basicinfo/cpts/topic-info.vue new file mode 100644 index 00000000..31ed33e1 --- /dev/null +++ b/src/views/modules/visual/basicinfo/cpts/topic-info.vue @@ -0,0 +1,503 @@ + + + + + diff --git a/src/views/modules/visual/basicinfo/people.vue b/src/views/modules/visual/basicinfo/people.vue index a75bebad..4335105f 100644 --- a/src/views/modules/visual/basicinfo/people.vue +++ b/src/views/modules/visual/basicinfo/people.vue @@ -133,7 +133,7 @@
-
+
+
+ +
+ + 居民需求 +
+ +
+ + +
+ + +
+
+
+
+ +
+
+ + +
+
+
+
{{ item.eventContent }}
+
{{ item.reportTime }}
+
+
+ +
+ + +
+
+ +
+
+
+
{{ item.eventContent }}
+
{{ item.reportTime }}
+
+
+ +
+ + +
+
+
+
+ +
+ +
+ + 积分记录 +
+ +
+
+
+
+
+
{{ item.point }}
+
+
+
{{ item.title }}
+
{{ item.dateTime }}
+
+
+
+
+ +
+ + +
+
+
+
+
+
+ + + + + + @@ -299,16 +470,22 @@ import { Loading } from "element-ui"; //引入Loading服务 import { requestPost } from "@/js/dai/request"; import cptCard from "@/views/modules/visual/cpts/card"; import peopleMore from "@/views/modules/visual/basicinfo/cpts/people-more"; +import demandInfo from "@/views/modules/visual/basicinfo/cpts/demand-info"; +import incidentInfo from "@/views/modules/visual/basicinfo/cpts/incident-info"; +import topicInfo from "@/views/modules/visual/basicinfo/cpts/topic-info"; +import cptTb from "@/views/modules/visual/cpts/tb"; export default { name: "HomeMap", data() { return { showedMoreInfo: false, + showedDemandInfo: false, userId: "", info: { + epmetUserId: "", financialSituation: { monthlyIncome: "", retirementAmount: "" }, gridName: "", houseInfo: [], @@ -329,6 +506,75 @@ export default { // }, ], }, + + demand: { + loading: true, + colList: [ + { + align: "center", + width: "10%", + }, + { + align: "center", + width: "15%", + }, + { + align: "center", + width: "15%", + }, + { + align: "center", + width: "40%", + }, + { + align: "center", + width: "10%", + }, + { + align: "center", + width: "10%", + }, + ], + header: ["序号", "服务时间", "需求类型", "需求内容", "状态", "操作"], + list: [], + srcList: [], + currentIndex: 0, + pageSize: 5, + pageNo: 1, + total: 0, + }, + + showedIncidentOrTopic: "incident", + + incident: { + loading: false, + list: [], + pageSize: 10, + pageNo: 1, + total: 0, + showedInfo: false, + currentIndex: 0, + }, + + topic: { + loading: false, + list: [], + pageSize: 10, + pageNo: 1, + total: 0, + showedInfo: false, + currentIndex: 0, + }, + + point: { + loading: false, + list: [], + pageSize: 10, + pageNo: 1, + total: 0, + showedInfo: false, + currentIndex: 0, + }, }; }, @@ -345,6 +591,10 @@ export default { components: { cptCard, peopleMore, + cptTb, + demandInfo, + incidentInfo, + topicInfo }, watch: { @@ -365,9 +615,17 @@ export default { methods: { handleSearch() {}, - getApiData() { - this.getInfo(); + async getApiData() { + await this.getInfo(); this.getHouseInfo(); + this.getDemandData(); + this.getIncidentData(); + this.getTopicData(); + this.getPointData(); + }, + + toUserInfo(uid) { + this.$router.push({ path: `/main-shuju/visual-basicinfo-people/${uid}` }); }, //加载组织数据 @@ -401,8 +659,151 @@ export default { this.$message.error(msg); } }, + + handlePageNoChangeDemand(val) { + this.demand.pageNo = val; + this.getDemandData(); + }, + + handleOperateDemandList(index, type) { + if (type == "查看") { + this.showedDemandInfo = true; + this.demand.currentIndex = index; + } + }, + + //加载组织数据 + async getDemandData() { + const url = "/heart/userdemand/mydemand"; + let params = { + epmetUserId: this.info.epmetUserId, + userId: this.userId, + pageNo: this.demand.pageNo, + pageSize: this.demand.pageSize, + }; + + const { data, code, msg } = await requestPost(url, params); + this.demand.loading = false; + + if (code === 0) { + this.demand.total = data.total; + this.demand.list = data.list.map((item) => { + return [ + { type: "index" }, + item.wantServiceTime, + item.categoryName, + item.content, + item.statusName, + { type: "operate", list: ["查看"] }, + ]; + }); + this.demand.srcList = data.list; + } else { + this.$message.error(msg); + } + }, + + handlePageNoChangeIncident(val) { + this.incident.pageNo = val; + this.getIncidentData(); + }, + + handleClickIncident(index) { + this.incident.showedInfo = true; + this.incident.currentIndex = index; + }, + + //加载组织数据 + async getIncidentData() { + const url = + "http://yapi.elinkservice.cn/mock/245/gov/project/resievent/pageuserreported"; + let params = { + epmetUserId: this.info.epmetUserId, + userId: this.userId, + pageNo: this.incident.pageNo, + pageSize: this.incident.pageSize, + }; + + const { data, code, msg } = await requestPost(url, params); + this.incident.loading = false; + + if (code === 0) { + this.incident.total = data.total; + this.incident.list = data.list; + } else { + this.$message.error(msg); + } + }, + + handlePageNoChangeTopic(val) { + this.topic.pageNo = val; + this.getTopicData(); + }, + + handleClickTopic(index) { + this.topic.showedInfo = true; + this.topic.currentIndex = index; + }, + + //加载组织数据 + async getTopicData() { + const url = + "http://yapi.elinkservice.cn/mock/245/gov/project/resievent/pageuserreported"; + let params = { + epmetUserId: this.info.epmetUserId, + userId: this.userId, + pageNo: this.topic.pageNo, + pageSize: this.topic.pageSize, + }; + + const { data, code, msg } = await requestPost(url, params); + this.topic.loading = false; + + if (code === 0) { + this.topic.total = data.total; + this.topic.list = data.list; + } else { + this.$message.error(msg); + } + }, + + handlePageNoChangePoint(val) { + this.point.pageNo = val; + this.getPointData(); + }, + + handleClickPoint(index) { + this.point.showedInfo = true; + this.point.currentIndex = index; + }, + + //加载组织数据 + async getPointData() { + const url = + "http://yapi.elinkservice.cn/mock/245/point/resi/point/pageuserpoint"; + let params = { + epmetUserId: this.info.epmetUserId, + userId: this.userId, + pageNo: this.point.pageNo, + pageSize: this.point.pageSize, + }; + + const { data, code, msg } = await requestPost(url, params); + this.point.loading = false; + + if (code === 0) { + this.point.total = data.total; + this.point.list = data.list; + } else { + this.$message.error(msg); + } + }, }, }; - + diff --git a/src/views/modules/visual/communityGovern/components/screen-loading/index.vue b/src/views/modules/visual/communityGovern/components/screen-loading/index.vue new file mode 100644 index 00000000..cc8bda6f --- /dev/null +++ b/src/views/modules/visual/communityGovern/components/screen-loading/index.vue @@ -0,0 +1,68 @@ + + + + + diff --git a/src/views/modules/visual/communityGovern/components/screen-table/index.vue b/src/views/modules/visual/communityGovern/components/screen-table/index.vue new file mode 100644 index 00000000..41c80f97 --- /dev/null +++ b/src/views/modules/visual/communityGovern/components/screen-table/index.vue @@ -0,0 +1,310 @@ + + + + + diff --git a/src/views/modules/visual/communityGovern/distributionAnalyze.vue b/src/views/modules/visual/communityGovern/distributionAnalyze.vue new file mode 100644 index 00000000..e69de29b diff --git a/src/views/modules/visual/communityGovern/processAnalyze.vue b/src/views/modules/visual/communityGovern/processAnalyze.vue new file mode 100644 index 00000000..10f8da5d --- /dev/null +++ b/src/views/modules/visual/communityGovern/processAnalyze.vue @@ -0,0 +1,500 @@ + + + + + + + + + diff --git a/src/views/modules/visual/communityGovern/typeAnalyze.vue b/src/views/modules/visual/communityGovern/typeAnalyze.vue new file mode 100644 index 00000000..3c5de2f2 --- /dev/null +++ b/src/views/modules/visual/communityGovern/typeAnalyze.vue @@ -0,0 +1,476 @@ + + + + + diff --git a/src/views/modules/visual/communityParty/community.vue b/src/views/modules/visual/communityParty/community.vue new file mode 100644 index 00000000..30fdb498 --- /dev/null +++ b/src/views/modules/visual/communityParty/community.vue @@ -0,0 +1,401 @@ + + + + + + diff --git a/src/views/modules/visual/communityParty/party.vue b/src/views/modules/visual/communityParty/party.vue new file mode 100644 index 00000000..6d3a3efd --- /dev/null +++ b/src/views/modules/visual/communityParty/party.vue @@ -0,0 +1,744 @@ + + + + + + diff --git a/src/views/modules/visual/components/screen-echarts-frame/index.vue b/src/views/modules/visual/components/screen-echarts-frame/index.vue new file mode 100644 index 00000000..e9503385 --- /dev/null +++ b/src/views/modules/visual/components/screen-echarts-frame/index.vue @@ -0,0 +1,177 @@ + + + + + diff --git a/src/views/modules/visual/components/screen-loading/index.vue b/src/views/modules/visual/components/screen-loading/index.vue new file mode 100644 index 00000000..cc8bda6f --- /dev/null +++ b/src/views/modules/visual/components/screen-loading/index.vue @@ -0,0 +1,68 @@ + + + + + diff --git a/src/views/modules/visual/components/screen-map/index copy.vue b/src/views/modules/visual/components/screen-map/index copy.vue new file mode 100644 index 00000000..09217e02 --- /dev/null +++ b/src/views/modules/visual/components/screen-map/index copy.vue @@ -0,0 +1,516 @@ + + + + + + + \ No newline at end of file diff --git a/src/views/modules/visual/components/screen-map/index.vue b/src/views/modules/visual/components/screen-map/index.vue new file mode 100644 index 00000000..4dfac221 --- /dev/null +++ b/src/views/modules/visual/components/screen-map/index.vue @@ -0,0 +1,612 @@ + + + + + + + \ No newline at end of file diff --git a/src/views/modules/visual/components/screen-table/index.vue b/src/views/modules/visual/components/screen-table/index.vue new file mode 100644 index 00000000..cd75b943 --- /dev/null +++ b/src/views/modules/visual/components/screen-table/index.vue @@ -0,0 +1,324 @@ + + + + + diff --git a/src/views/modules/visual/cpts/loading.vue b/src/views/modules/visual/cpts/loading.vue new file mode 100644 index 00000000..cc8bda6f --- /dev/null +++ b/src/views/modules/visual/cpts/loading.vue @@ -0,0 +1,68 @@ + + + + + diff --git a/src/views/modules/visual/cpts/tb.vue b/src/views/modules/visual/cpts/tb.vue new file mode 100644 index 00000000..2222a582 --- /dev/null +++ b/src/views/modules/visual/cpts/tb.vue @@ -0,0 +1,205 @@ + + + + + diff --git a/src/views/modules/visual/measure/service.vue b/src/views/modules/visual/measure/service.vue new file mode 100644 index 00000000..96cc33ba --- /dev/null +++ b/src/views/modules/visual/measure/service.vue @@ -0,0 +1,519 @@ + + + + + + diff --git a/src/views/modules/visual/measure/volunteer.vue b/src/views/modules/visual/measure/volunteer.vue new file mode 100644 index 00000000..3f2728f2 --- /dev/null +++ b/src/views/modules/visual/measure/volunteer.vue @@ -0,0 +1,495 @@ + + + + + +