From c1514cfc69b679d05398bb1def6b24c772426aa0 Mon Sep 17 00:00:00 2001 From: Surpriseplus <845948745@qq.com> Date: 星期二, 14 二月 2023 09:11:46 +0800 Subject: [PATCH] 综合展示图层管理图标切换 --- src/components/MapView/mapMenuPop.vue | 136 +++++++-------------------------------------- 1 files changed, 21 insertions(+), 115 deletions(-) diff --git a/src/components/MapView/mapMenuPop.vue b/src/components/MapView/mapMenuPop.vue index 28aaa14..c91d74c 100644 --- a/src/components/MapView/mapMenuPop.vue +++ b/src/components/MapView/mapMenuPop.vue @@ -266,7 +266,7 @@ entity: [], wkt: null, descr: null, - + }, listPage: { pageSize: 10, @@ -331,9 +331,9 @@ this.$message.error("鏁版嵁璇锋眰澶辫触"); return; } - + if (data.result.length == 0 || data.result == null) { - + this.insertFlag = 1; this.dialogVisible = true; } else { @@ -347,20 +347,20 @@ } else { val += "&ids=" + data.result[i] } - + std.push({ name: data.result[i] }) } const data1 = await dataLib_selectDepsByIds(val); - + this.ruleForm.depid = data1.result; this.ruleForm.depname = std; this.ruleForm.wkt = decr(this.listdata.wkt) this.ruleForm.tabs = this.option; this.dialogInsertVisible = true; } - + }, async signGetPublicKey() { const res = await sign_getPublicKey(); @@ -400,7 +400,7 @@ var std = []; var std1 = []; for (var i in this.option) { - + std.push(this.option[i].tabDesc) std1.push(this.option[i].entity) } @@ -421,10 +421,10 @@ message: '鏁版嵁鐢宠鎴愬姛', type: 'success' }); - + this.closeDown(); } - + }, async selectDownloadFile(rsid, rspwd) { var downObj = { @@ -481,7 +481,7 @@ }, []); this.option = arr; this.listdata.name = this.option[0].entity; - + this.getTableDateHidder(); }, async getTableDateHidder() { @@ -497,7 +497,7 @@ this.attributeData = []; var valadata = data.result; var laydomain = data1.result; - + for (var i in valadata) { if (valadata[i].showtype == 1) { if ( @@ -525,7 +525,7 @@ if (data.code != 200) { this.$message.error("鍒楄〃璋冪敤澶辫触"); } - + var val1 = decr(data.result); if (val1) { if (this.imagePoint != null) { @@ -554,7 +554,7 @@ } else if (res.type == "MultiPolygon") { var val = res.coordinates[0][0]; var std = []; - + for (var i in val) { std.push({ x: val[i][0], y: val[i][1], z: 1000 }); } @@ -573,7 +573,7 @@ } else if (res.type == "MultiLineString") { var line = res.coordinates[0]; var std = []; - + for (var i in line) { std.push({ x: line[i][0], y: line[i][1], z: 1000 }); } @@ -604,12 +604,12 @@ }, async getTableData() { this.tableData = []; - + const data = await dataQuery_selectByPage(this.listdata); if (data.code != 200) { this.$message.error("鍒楄〃璋冪敤澶辫触"); } - + var val_Data = data.result; for (var i in val_Data) { var valste = val_Data[i]; @@ -725,7 +725,7 @@ break; } }, - + closeMenuBox() { if (this.imagePoint != null) { sgworld.Creator.DeleteObject(this.imagePoint); @@ -765,7 +765,6 @@ float: left; border-right: 1px solid gray; li { - color: white; line-height: 20px; border-bottom: 1px solid gray; padding: 5px; @@ -782,14 +781,14 @@ justify-content: flex-end; } } - + .rightBox { width: calc(80% - 1px); height: 100%; float: left; .rightTitle { padding: 5px; - color: white; + width: 100%; } .tableBox { @@ -799,107 +798,14 @@ margin-left: 50px; /*涓嶅彲鐐瑰嚮鐨�*/ } - .pagination_box { - position: absolute; - bottom: 10px; - /deep/.el-input__inner { - background-color: transparent !important; - border: 1px solid; - color: white; - } - /deep/.el-pagination__total { - color: white; - } - /deep/.el-pagination__jump { - color: white; - } - /deep/.el-pager li.active { - color: #409eff; - } - /deep/.el-pager li { - color: white; - background: transparent; - } - /deep/.el-pager li { - color: white; - } - /deep/.btn-prev { - background: transparent; - } - /deep/.btn-next { - background: transparent; - } - /deep/.btn-next i { - color: white; - } - /deep/.btn-prev i { - color: white; - } - } + .boxClose { float: right; margin-right: 20px; - color: white; - } - } - /deep/ .el-table { - background-color: transparent; - - th, - td { - background-color: transparent; - } - .el-table__expanded-cell { - background-color: transparent !important; - } - - // 琛ㄥご鑳屾櫙鑹� - th.el-table__cell { - background-color: #303030; - color: #fff; - } - tr > td { - background-color: #303030; - color: #fff; - } - - // hover鏁堟灉 - tr:hover > td { - background-color: rgba(255, 255, 255, 0.3) !important; - } - - tbody tr:hover { - background-color: rgba(255, 255, 255, 0.3) !important; - // text-align: center; - } - - // 婊氬姩鏉″楂� - .el-table__body-wrapper::-webkit-scrollbar { - width: 5px; - height: 5px; - } - - .el-table__body-wrapper::-webkit-scrollbar { - width: 5px; - /*婊氬姩鏉″搴�*/ - height: 5px; - /*婊氬姩鏉¢珮搴�*/ - } - /*瀹氫箟婊氬姩鏉¤建閬� 鍐呴槾褰�+鍦嗚*/ - .el-table__body-wrapper::-webkit-scrollbar-track { - box-shadow: 0px 1px 3px #216fe6 inset; - /*婊氬姩鏉$殑鑳屾櫙鍖哄煙鐨勫唴闃村奖*/ - border-radius: 10px; - } - - /*瀹氫箟婊戝潡 鍐呴槾褰�+鍦嗚*/ - .el-table__body-wrapper::-webkit-scrollbar-thumb { - box-shadow: 0px 1px 3px #216fe6 inset; - border-radius: 6px; - background-color: #216fe6; } } } + li { line-height: 20px; border-bottom: 1px solid gray; -- Gitblit v1.9.3