From 13dd1b9c019b9633f3005f15d4b0e6132189eccc Mon Sep 17 00:00:00 2001 From: lixuliang <lixuliang_hd@126.com> Date: 星期三, 15 十一月 2023 18:32:52 +0800 Subject: [PATCH] 企业,图层树 --- src/components/left/layerTree/Layer.vue | 2 + src/components/map/viewer1.vue | 32 +++++++++++++--- static/layers.json | 24 +++++++++++- static/layers2.json | 19 ++++++++- 4 files changed, 67 insertions(+), 10 deletions(-) diff --git a/src/components/left/layerTree/Layer.vue b/src/components/left/layerTree/Layer.vue index 5fcb5da..4d39092 100644 --- a/src/components/left/layerTree/Layer.vue +++ b/src/components/left/layerTree/Layer.vue @@ -1109,6 +1109,8 @@ } .el-tree { + height: 300px; + overflow: auto; background: transparent; color: #fff; } diff --git a/src/components/map/viewer1.vue b/src/components/map/viewer1.vue index 0821b86..109f06b 100644 --- a/src/components/map/viewer1.vue +++ b/src/components/map/viewer1.vue @@ -80,8 +80,8 @@ class="aboutDialog" title="浼佷笟淇℃伅" append-to-body - width="60%" - height="60%" + width="50%" + height="55%" style="overflow: auto" :visible.sync="QYbox" :before-close="dialogClose" @@ -115,13 +115,14 @@ style="width: 100%" :data="tableData" highlight-current-row + height="50" > <el-table-column type="index" width="50"></el-table-column> <el-table-column property="浼佷笟鍚嶇О" label="浼佷笟鍚嶇О" ></el-table-column> - <el-table-column + <!-- <el-table-column property="浼佷笟绫诲瀷" label="浼佷笟绫诲瀷" ></el-table-column> @@ -137,12 +138,21 @@ property="娉曚汉" label="娉曚汉" width="100" - ></el-table-column> + ></el-table-column> --> <el-table-column property="娉ㄥ唽鍦板潃" label="娉ㄥ唽鍦板潃" - width="200" ></el-table-column> + <el-table-column label="鎿嶄綔" width="100"> + <template slot-scope="scope"> + <el-button + @click="handleClick(scope.row)" + type="text" + size="small" + >璇︽儏</el-button + > + </template> + </el-table-column> </el-table> <div slot="footer" @@ -728,7 +738,13 @@ } return table; }, - + handleClick(row) { + window.open( + "https://qylweb.bda.gov.cn/alldetails/#/newEnterprisedetails?uscc=" + + row["缁熶竴绀句細淇$敤浠g爜"] + + "&systemName=涓皬寰�" + ); + }, detectZoom() { var ratio = 0, screen = window.screen, @@ -1297,6 +1313,10 @@ height: 80% !important; overflow: auto; } +.el-table /deep/ .el-button--text { + /* color: #fff; */ + font-size: 14px; +} .el-table thead { font-weight: 500; diff --git a/static/layers.json b/static/layers.json index 329c456..76d883c 100644 --- a/static/layers.json +++ b/static/layers.json @@ -4,6 +4,27 @@ "open": true, "children": [ { + "id": "CE402B81", + "name": "缁勭粐浜轰簨閮�", + "children": [ + { + "id": "A349C2B7", + "sourceType": "wmse", + "name": "浜︿紒鏈嶅姟宀�", + "urls": "http://10.10.4.121:8070/gisserver/wmsserver/yiqifuwugang-1102", + "maximumLevel": 26, + "alpha": 1, + "zIndex": 4, + "Level": "0,26", + "checked": false, + "rename": false + } + ], + "rename": false, + "checked": false, + "expanded": false + }, + { "id": "482040AD", "name": "瀹d紶鏂囧寲閮�", "children": [ @@ -3703,7 +3724,7 @@ } ], "rename": false, - "expanded": true, + "expanded": false, "checked": false }, { @@ -4575,7 +4596,6 @@ "zIndex": 2, "rename": false }, - { "id": "A6D6DE13", "sourceType": "gdmap", diff --git a/static/layers2.json b/static/layers2.json index 332b6a8..cf99fd0 100644 --- a/static/layers2.json +++ b/static/layers2.json @@ -474,6 +474,18 @@ "name": "鍩庡競瑙勫垝", "children": [ { + "id": "A349C2B7", + "sourceType": "wmse", + "name": "浜︿紒鏈嶅姟宀�", + "urls": "http://10.10.4.121:8070/gisserver/wmsserver/yiqifuwugang-1102", + "maximumLevel": 26, + "alpha": 1, + "zIndex": 4, + "Level": "0,26", + "checked": false, + "rename": false + }, + { "id": "chengshiguihua_xiangmumingcheng_tms", "name": "浜﹀簞鏂板煄瑙勫垝鍥�", "sourceType": "local-map", @@ -4801,7 +4813,8 @@ } ], "rename": false, - "expanded": false + "expanded": false, + "checked": false }, { "id": "65B2146A", @@ -4822,7 +4835,9 @@ "rename": false } ], - "rename": false + "rename": false, + "expanded": false, + "checked": false }, { "id": "B5F8764D", -- Gitblit v1.9.3