|
@@ -27,7 +27,7 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
show-overflow-tooltip="true"
|
|
|
- prop="siweiarea"
|
|
|
+ prop="geomarea"
|
|
|
label="图斑面积(㎡)"
|
|
|
>
|
|
|
</el-table-column>
|
|
@@ -187,9 +187,10 @@ export default {
|
|
|
if (res.statuscode == 200) {
|
|
|
this.viewsData = res.data;
|
|
|
this.yzjgData = res.data.yzjg;
|
|
|
- this.jbxxData = Object.keys(res.data.tbxx).map((key) => ({
|
|
|
+ let geomJson = JSON.parse(res.data.tbxx.geomJson);
|
|
|
+ this.jbxxData = Object.keys(geomJson).map((key) => ({
|
|
|
name: key,
|
|
|
- value: res.data.tbxx[key],
|
|
|
+ value: geomJson[key],
|
|
|
}));
|
|
|
} else {
|
|
|
this.$message.error(res.message);
|
|
@@ -217,8 +218,8 @@ export default {
|
|
|
getAll() {
|
|
|
getgeoms(this.interObj).then((res) => {
|
|
|
if (res.statuscode == 200) {
|
|
|
- this.tableData = res.data.dataListMap;
|
|
|
- this.active_tableData(res.data.dataListMap);
|
|
|
+ this.tableData = res.data;
|
|
|
+ this.active_tableData(res.data);
|
|
|
} else {
|
|
|
this.$message.error(res.message);
|
|
|
}
|
|
@@ -267,37 +268,6 @@ export default {
|
|
|
|
|
|
.tableCon {
|
|
|
height: 48rem;
|
|
|
-
|
|
|
- // /deep/ .el-table tr {
|
|
|
- // background: rgba(10, 25, 38, 0.5) !important;
|
|
|
- // }
|
|
|
-
|
|
|
- // /deep/ .el-table td.el-table__cell,
|
|
|
- // .el-table th.el-table__cell.is-leaf {
|
|
|
- // background: rgba(10, 25, 38, 0.5) !important;
|
|
|
-
|
|
|
- // border-bottom: 0px solid #ebeef5;
|
|
|
- // }
|
|
|
-
|
|
|
- // .el-table {
|
|
|
- // color: #fff;
|
|
|
- // background: rgba(10, 25, 38, 0.5) !important;
|
|
|
- // }
|
|
|
-
|
|
|
- // /deep/ .el-table__fixed-right::before,
|
|
|
- // .el-table__fixed::before {
|
|
|
- // background: rgba(10, 25, 38, 0.9) !important;
|
|
|
- // }
|
|
|
-
|
|
|
- // /deep/ .el-table__fixed-right-patch {
|
|
|
- // background: rgba(10, 25, 38, 0.9) !important;
|
|
|
- // }
|
|
|
-
|
|
|
- // /deep/ .el-table--border::after,
|
|
|
- // .el-table--group::after,
|
|
|
- // .el-table::before {
|
|
|
- // background: rgba(10, 25, 38, 0) !important;
|
|
|
- // }
|
|
|
}
|
|
|
|
|
|
/deep/ .el-icon-close:before {
|