From 51ea25ee09bc939f2328c26442aae76156feddfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=8A=B2=E9=BE=99?= <2860996570@qq.com> Date: Thu, 28 Dec 2023 11:08:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=82=B9=E5=87=BB=E6=B8=85?= =?UTF-8?q?=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/apparatus/index.js | 32 ++ src/assets/styles/leaflet.scss | 7 +- src/layout/components/AppMain.vue | 2 +- src/main.js | 5 +- src/utils/mapJson/cityCenter copy.json | 445 ++++++++++++++++++ src/utils/mapJson/cityCenter.json | 12 +- src/views/components/MapCars.vue | 425 ++++++++--------- .../components/downloadFileBox/index.vue | 1 - .../components/cosmeticsArchives.vue | 37 +- src/views/productsMsg/components/health.vue | 154 +++++- .../productsMsg/components/productInfo.vue | 34 +- src/views/productsMsg/index.vue | 46 +- src/views/productsMsg/zyzj.vue | 31 +- 13 files changed, 893 insertions(+), 338 deletions(-) create mode 100644 src/utils/mapJson/cityCenter copy.json diff --git a/src/api/apparatus/index.js b/src/api/apparatus/index.js index c2aed2c..5a4a703 100644 --- a/src/api/apparatus/index.js +++ b/src/api/apparatus/index.js @@ -16,6 +16,7 @@ export default { params: query, }); }, + //器械地图 ylqxJnyelcpareacount(query) { return request({ url: "/pharmaceuticals/ylqxJnyelcp/areacount", @@ -39,6 +40,37 @@ export default { params: query, }); }, + // 中药地图 + deasCorpTcmpFilingChangeHis(query) { + return request({ + url: "/pharmaceuticals/deasCorpTcmpFiling/areacount", + method: "GET", + params: query, + }); + }, + //中药统计 + deasCorpTcmpFilingtypecount(query) { + return request({ + url: "/pharmaceuticals/deasCorpTcmpFiling/typecount", + method: "GET", + params: query, + }); + }, + //化妆品地图统计 + gccpareacount(query) { + return request({ + url: "/pharmaceuticals/gccp/areacount", + method: "GET", + params: query, + }); + }, + gccptypecount(query) { + return request({ + url: "/pharmaceuticals/gccp/typecount", + method: "GET", + params: query, + }); + }, //通过注册证编号查询单条器械品种数据 // apparatusGet(zczh) { // return request({ diff --git a/src/assets/styles/leaflet.scss b/src/assets/styles/leaflet.scss index d161351..82766fa 100644 --- a/src/assets/styles/leaflet.scss +++ b/src/assets/styles/leaflet.scss @@ -15,7 +15,7 @@ text-align: center; font-size: 10px; font-weight: 400; - color: #313332; + color: #000000; } .circle { width: 7px; @@ -23,15 +23,14 @@ background: #ffffff; opacity: 1; border: 1px solid #00255a; - margin-top: 5px; + margin-top: 0px; border-radius: 50%; } .city-name { width: 70px; text-align: center; font-size: 10px; - font-weight: bold; - color: #000814; + color: #000000; font-family: "DIN-Medium"; } diff --git a/src/layout/components/AppMain.vue b/src/layout/components/AppMain.vue index 11a2039..029a412 100644 --- a/src/layout/components/AppMain.vue +++ b/src/layout/components/AppMain.vue @@ -62,7 +62,7 @@ export default { ::-webkit-scrollbar { margin: 0; width: 10px; - height: 6px; + height: 12px; } ::-webkit-scrollbar-track { diff --git a/src/main.js b/src/main.js index 392c074..9a93cb1 100644 --- a/src/main.js +++ b/src/main.js @@ -21,10 +21,7 @@ Element.Table.props['row-class-name'] = { type: String, }; // 带有边框 -// Element.Table.props.border = { -// default: true, -// type: Boolean, -// }; + import dictList from "@/utils/dict.js"; //本地字典 diff --git a/src/utils/mapJson/cityCenter copy.json b/src/utils/mapJson/cityCenter copy.json new file mode 100644 index 0000000..e550281 --- /dev/null +++ b/src/utils/mapJson/cityCenter copy.json @@ -0,0 +1,445 @@ +{ + "type": "FeatureCollection", + "name": "中心点", + "crs": { + "type": "name", + "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } + }, + "features": [ + { + "type": "Feature", + "properties": { + "pkid": null, + "params": {}, + "children": [], + "fCreator": null, + "fCreateTime": null, + "fOperator": null, + "fOperateTime": null, + "fCode": "2110", + "fPcode": null, + "fName": "辽阳市", + "fLevel": null, + "fTdtCode": null, + "fShequcun": null, + "orgId": null, + "subjectLicenseCount": 11206, + "licenseList": null, + "fLng": "123.24636193661814", + "fLat": "41.18083240970848", + "fkSubjectId": null, + "taskCount": "11206" + }, + "geometry": { + "type": "Point", + "coordinates": [123.24636193661814, 41.18083240970848] + } + }, + { + "type": "Feature", + "properties": { + "pkid": null, + "params": {}, + "children": [], + "fCreator": null, + "fCreateTime": null, + "fOperator": null, + "fOperateTime": null, + "fCode": "2112", + "fPcode": null, + "fName": "铁岭市", + "fLevel": null, + "fTdtCode": null, + "fShequcun": null, + "orgId": null, + "subjectLicenseCount": 11864, + "licenseList": null, + "fLng": "124.1710025067986", + "fLat": "42.64382782764356", + "fkSubjectId": null, + "taskCount": "11864" + }, + "geometry": { + "type": "Point", + "coordinates": [124.17100250679860112, 42.643827827643563] + } + }, + { + "type": "Feature", + "properties": { + "pkid": null, + "params": {}, + "children": [], + "fCreator": null, + "fCreateTime": null, + "fOperator": null, + "fOperateTime": null, + "fCode": "2114", + "fPcode": null, + "fName": "葫芦岛市", + "fLevel": null, + "fTdtCode": null, + "fShequcun": null, + "orgId": null, + "subjectLicenseCount": 15630, + "licenseList": null, + "fLng": "120.19481473183642", + "fLat": "40.62536167276387", + "fkSubjectId": null, + "taskCount": "15630" + }, + "geometry": { + "type": "Point", + "coordinates": [120.19481473183642, 40.62536167276387] + } + }, + { + "type": "Feature", + "properties": { + "pkid": null, + "params": {}, + "children": [], + "fCreator": null, + "fCreateTime": null, + "fOperator": null, + "fOperateTime": null, + "fCode": "2109", + "fPcode": null, + "fName": "阜新市", + "fLevel": null, + "fTdtCode": null, + "fShequcun": null, + "orgId": null, + "subjectLicenseCount": 18427, + "licenseList": null, + "fLng": "121.95539780174146", + "fLat": "42.27905242291515", + "fkSubjectId": null, + "taskCount": "18420" + }, + "geometry": { + "type": "Point", + "coordinates": [121.955397801741455, 42.27905242291515] + } + }, + { + "type": "Feature", + "properties": { + "pkid": null, + "params": {}, + "children": [], + "fCreator": null, + "fCreateTime": null, + "fOperator": null, + "fOperateTime": null, + "fCode": "2102", + "fPcode": null, + "fName": "大连市", + "fLevel": null, + "fTdtCode": null, + "fShequcun": null, + "orgId": null, + "subjectLicenseCount": 78028, + "licenseList": null, + "fLng": "122.19804736493907", + "fLat": "39.60708426644009", + "fkSubjectId": null, + "taskCount": "78028" + }, + "geometry": { + "type": "Point", + "coordinates": [122.03847623661963, 39.80082870031089] + } + }, + { + "type": "Feature", + "properties": { + "pkid": null, + "params": {}, + "children": [], + "fCreator": null, + "fCreateTime": null, + "fOperator": null, + "fOperateTime": null, + "fCode": "2103", + "fPcode": null, + "fName": "鞍山市", + "fLevel": null, + "fTdtCode": null, + "fShequcun": null, + "orgId": null, + "subjectLicenseCount": 33784, + "licenseList": null, + "fLng": "123.01171778840865", + "fLat": "40.714211776885584", + "fkSubjectId": null, + "taskCount": "33784" + }, + "geometry": { + "type": "Point", + "coordinates": [123.011717788408646, 40.714211776885584] + } + }, + { + "type": "Feature", + "properties": { + "pkid": null, + "params": {}, + "children": [], + "fCreator": null, + "fCreateTime": null, + "fOperator": null, + "fOperateTime": null, + "fCode": "2101", + "fPcode": null, + "fName": "沈阳市", + "fLevel": null, + "fTdtCode": null, + "fShequcun": null, + "orgId": null, + "subjectLicenseCount": 105042, + "licenseList": null, + "fLng": "123.13802698499136", + "fLat": "42.094442702466736", + "fkSubjectId": null, + "taskCount": "105040" + }, + "geometry": { + "type": "Point", + "coordinates": [123.138026984991356, 42.094442702466736] + } + }, + { + "type": "Feature", + "properties": { + "pkid": null, + "params": {}, + "children": [], + "fCreator": null, + "fCreateTime": null, + "fOperator": null, + "fOperateTime": null, + "fCode": "2108", + "fPcode": null, + "fName": "营口市", + "fLevel": null, + "fTdtCode": null, + "fShequcun": null, + "orgId": null, + "subjectLicenseCount": 16048, + "licenseList": null, + "fLng": "122.46672515804659", + "fLat": "40.39119128233646", + "fkSubjectId": null, + "taskCount": "16048" + }, + "geometry": { + "type": "Point", + "coordinates": [122.46672515804659, 40.39119128233646] + } + }, + { + "type": "Feature", + "properties": { + "pkid": null, + "params": {}, + "children": [], + "fCreator": null, + "fCreateTime": null, + "fOperator": null, + "fOperateTime": null, + "fCode": "2104", + "fPcode": null, + "fName": "抚顺市", + "fLevel": null, + "fTdtCode": null, + "fShequcun": null, + "orgId": null, + "subjectLicenseCount": 20095, + "licenseList": null, + "fLng": "124.65576582140092", + "fLat": "41.83369287083338", + "fkSubjectId": null, + "taskCount": "20095" + }, + "geometry": { + "type": "Point", + "coordinates": [124.65576582140092, 41.83369287083338] + } + }, + { + "type": "Feature", + "properties": { + "pkid": null, + "params": {}, + "children": [], + "fCreator": null, + "fCreateTime": null, + "fOperator": null, + "fOperateTime": null, + "fCode": "2111", + "fPcode": null, + "fName": "盘锦市", + "fLevel": null, + "fTdtCode": null, + "fShequcun": null, + "orgId": null, + "subjectLicenseCount": 15274, + "licenseList": null, + "fLng": "121.93729109765806", + "fLat": "41.59399815182677", + "fkSubjectId": null, + "taskCount": "15274" + }, + "geometry": { + "type": "Point", + "coordinates": [121.99248299163709, 41.2267527372648] + } + }, + { + "type": "Feature", + "properties": { + "pkid": null, + "params": {}, + "children": [], + "fCreator": null, + "fCreateTime": null, + "fOperator": null, + "fOperateTime": null, + "fCode": "2113", + "fPcode": null, + "fName": "朝阳市", + "fLevel": null, + "fTdtCode": null, + "fShequcun": null, + "orgId": null, + "subjectLicenseCount": 13670, + "licenseList": null, + "fLng": "120.01499494794146", + "fLat": "41.51094628842648", + "fkSubjectId": null, + "taskCount": "13670" + }, + "geometry": { + "type": "Point", + "coordinates": [120.01499494794146, 41.510946288426481] + } + }, + { + "type": "Feature", + "properties": { + "pkid": null, + "params": {}, + "children": [], + "fCreator": null, + "fCreateTime": null, + "fOperator": null, + "fOperateTime": null, + "fCode": "2105", + "fPcode": null, + "fName": "本溪市", + "fLevel": null, + "fTdtCode": null, + "fShequcun": null, + "orgId": null, + "subjectLicenseCount": 7938, + "licenseList": null, + "fLng": "124.56947501595212", + "fLat": "41.228474542532545", + "fkSubjectId": null, + "taskCount": "7938" + }, + "geometry": { + "type": "Point", + "coordinates": [124.569475015952122, 41.228474542532545] + } + }, + { + "type": "Feature", + "properties": { + "pkid": null, + "params": {}, + "children": [], + "fCreator": null, + "fCreateTime": null, + "fOperator": null, + "fOperateTime": null, + "fCode": "2106", + "fPcode": null, + "fName": "丹东市", + "fLevel": null, + "fTdtCode": null, + "fShequcun": null, + "orgId": null, + "subjectLicenseCount": 32168, + "licenseList": null, + "fLng": "124.39906947204074", + "fLat": "40.54422772015746", + "fkSubjectId": null, + "taskCount": "32168" + }, + "geometry": { + "type": "Point", + "coordinates": [124.39906947204074, 40.54422772015746] + } + }, + { + "type": "Feature", + "properties": { + "pkid": null, + "params": {}, + "children": [], + "fCreator": null, + "fCreateTime": null, + "fOperator": null, + "fOperateTime": null, + "fCode": "2107", + "fPcode": null, + "fName": "锦州市", + "fLevel": null, + "fTdtCode": null, + "fShequcun": null, + "orgId": null, + "subjectLicenseCount": 64494, + "licenseList": null, + "fLng": "121.61856868689382", + "fLat": "41.47011750884197", + "fkSubjectId": null, + "taskCount": "64494" + }, + "geometry": { + "type": "Point", + "coordinates": [121.61856868689382, 41.47011750884197] + } + }, + { + "type": "Feature", + "properties": { + "pkid": null, + "params": {}, + "children": [], + "fCreator": null, + "fCreateTime": null, + "fOperator": null, + "fOperateTime": null, + "fCode": "2191", + "fPcode": null, + "fName": "沈抚示范区", + "fLevel": null, + "fTdtCode": null, + "fShequcun": null, + "orgId": null, + "subjectLicenseCount": 3160, + "licenseList": null, + "fLng": "123.74446896876951", + "fLat": "41.7942248808908", + "fkSubjectId": null, + "taskCount": "3159" + }, + "geometry": { + "type": "Point", + "coordinates": [123.74446896876951, 41.7942248808908] + } + } + ] +} diff --git a/src/utils/mapJson/cityCenter.json b/src/utils/mapJson/cityCenter.json index c7e4b55..f5568d1 100644 --- a/src/utils/mapJson/cityCenter.json +++ b/src/utils/mapJson/cityCenter.json @@ -32,7 +32,7 @@ }, "geometry": { "type": "Point", - "coordinates": [123.24636193661814, 41.18083240970848] + "coordinates": [123.24636193661814, 41.38083240970848] } }, { @@ -61,7 +61,7 @@ }, "geometry": { "type": "Point", - "coordinates": [124.171002506798601, 42.643827827643563] + "coordinates": [124.17100250679860112, 42.843827827643563] } }, { @@ -119,7 +119,7 @@ }, "geometry": { "type": "Point", - "coordinates": [121.955397801741455, 42.27905242291515] + "coordinates": [121.955397801741455, 42.47905242291515] } }, { @@ -177,7 +177,7 @@ }, "geometry": { "type": "Point", - "coordinates": [123.011717788408646, 40.714211776885584] + "coordinates": [123.391717788408646, 40.514211776885584] } }, { @@ -351,7 +351,7 @@ }, "geometry": { "type": "Point", - "coordinates": [124.569475015952122, 41.228474542532545] + "coordinates": [125.399475015952122, 41.428474542532545] } }, { @@ -409,7 +409,7 @@ }, "geometry": { "type": "Point", - "coordinates": [121.61856868689382, 41.47011750884197] + "coordinates": [121.31856868689382, 41.67011750884197] } }, { diff --git a/src/views/components/MapCars.vue b/src/views/components/MapCars.vue index 96c5b88..d6e05a0 100644 --- a/src/views/components/MapCars.vue +++ b/src/views/components/MapCars.vue @@ -1,5 +1,5 @@