-
{{infoDetail.name}}详情
-
+
{{permanentDetail.name}}详情
+
-
合同编码
-
{{infoDetail.code}}
+
资产编码
+
{{permanentDetail.code}}
-
合同名称
-
{{infoDetail.name}}
+
资产名称
+
{{permanentDetail.name}}
-
甲方
-
{{infoDetail.firstParty}}
+
资产类别
+
{{permanentDetail.assetType}}
-
乙方
-
{{infoDetail.secondParty}}
+
经营属性
+
{{permanentDetail.operationType}}
-
签订日期
-
{{infoDetail.buildingTime}}
+
增加方式
+
{{permanentDetail.addType}}
-
开始日期
-
{{infoDetail.startTime}}
+
购建时间
+
{{permanentDetail.buildTime}}
-
结束日期
-
{{infoDetail.endTime}}
+
使用情况
+
{{permanentDetail.useType}}
-
承包价款(元)
-
{{infoDetail.totalAmount}}
+
资产状态
+
{{permanentDetail.assetStatus}}
-
折合年均(元)
-
{{infoDetail.price}}
+
数量/面积
+
{{permanentDetail.quantity}}
-
已结款(元)
-
{{infoDetail.receivedAmount}}
+
计量单位
+
{{permanentDetail.unit}}
-
合同状态
-
{{infoDetail.contractionStatus}}
+
原值(元)
+
{{permanentDetail.originalValue}}
-
备注
-
{{infoDetail.remark}}
+
折旧方式
+
{{permanentDetail.depreciationType}}
-
-
-
-
![]()
+
+
+
+
+ {{ data.label }}
+ ({{ data.children.length }})
+
+
-
+
\ No newline at end of file
diff --git a/src/views/property/main-gis/index.js b/src/views/property/main-gis/index.js
index 15fc0a4..db341fc 100644
--- a/src/views/property/main-gis/index.js
+++ b/src/views/property/main-gis/index.js
@@ -21,6 +21,7 @@ export default {
},
data () {
return {
+ showPermanentDetail: false,
LegendData: [
{
icon: require('./icon/组 4665@2x.png'),
@@ -184,6 +185,8 @@ export default {
status: null,
translate_dict: 1,
},
+ //固定资产详情数据
+ permanentDetail: [],
//合同信息请求参数
contractionByPermanentQueryParams: {
pageNum: 1,
@@ -370,49 +373,6 @@ export default {
gis.getVectorLayerByFs(features)
gis.mapSetFit(features)
},
- openResourceDialog (data) {
- data.fileList = [];
- let parmasData = {
- tableId: data.id,
- tableName: 't_asset_resource',
- bizPath: 'asset',
- };
- attachmentList(parmasData).then((res) => {
- if (res.code == 200) {
- let UattachmentList = res.rows;
- for (let i = 0; i < UattachmentList.length; i++) {
- let fileName = UattachmentList[i].fileName;
- let subIndex = fileName.lastIndexOf(".");
- let ext = fileName.substring(subIndex + 1, fileName.length);
- let urls = "";
- let type = "";
- if (ext == "xlsx" || ext == "xls") {
- urls = require("@/assets/images/icon_excel.jpg");
- type = 'excel';
- } else if (ext == "doc" || ext == "docx") {
- urls = require("@/assets/images/icon_word.jpg");
- type = 'word';
- } else if (ext == "pdf") {
- urls = require("@/assets/images/icon_pdf.jpg");
- type = 'pdf';
- } else if (ext == "zip") {
- urls = require("@/assets/images/icon_zip.jpg");
- type = 'zip';
- } else {
- urls = '/api' + UattachmentList[i].fileUrl;
- type = 'image';
- }
- data.fileList.push({
- url: urls,
- urlApi: '/api' + UattachmentList[i].fileUrl,
- type: type
- })
- }
- this.showResourceDetail = true;
- this.resourceDetail = data;
- }
- });
- },
listDialogHidden (type) {
if (type == 'detail') {
//合同信息详情弹窗
@@ -535,13 +495,17 @@ export default {
(feature) => feature
);
if (feature) {
- var ifConsole = feature.values_.level;
- if (ifConsole == "permanent") {
- that.listDialogHidden('detail');
- that.openPermanentDialog(feature.values_.detail);
+ // 镇级:加载村级坐标点
+ if (feature.get('deptLevel') === '3') {
+ gis.getMapContainer().getView().animate({
+ center: fromLonLat([feature.get('lng'), feature.get('lat')]), // 中心点
+ zoom: 12, // 缩放级别
+ rotation: undefined, // 缩放完成view视图旋转弧度
+ duration: 1000, // 缩放持续时间,默认不需要设置
+ });
} else {
that.listDialogHidden('detail');
- that.openResourceDialog(feature.values_.detail);
+ that.openPermanentDialog(feature.values_.detail);
}
}
});
diff --git a/src/views/property/main-gis/index.scss b/src/views/property/main-gis/index.scss
index 7b84e3d..726a08f 100644
--- a/src/views/property/main-gis/index.scss
+++ b/src/views/property/main-gis/index.scss
@@ -31,6 +31,167 @@
}
}
+ .gl_pop_cash {
+ background: rgba(10, 25, 47, 0.8);
+ position: absolute;
+ border: 1px solid #063a95;
+ border-left: 0.15vw solid #357dfa;
+ padding: 0 1vw;
+ z-index: 11;
+
+ .head_main {
+ height: 4.62vh;
+ padding-top: 0.55vh;
+ display: flex;
+ align-items: center;
+ position: relative;
+ justify-content: space-between;
+
+ .title {
+ color: #ffad00;
+ font-size: 1.66vh;
+ }
+
+ .close {
+ background: url('./close.png') no-repeat;
+ background-size: 100% 100%;
+ width: 1.48vh;
+ height: 1.48vh;
+ cursor: pointer;
+ }
+
+ .xs_main {
+ height: 0.55vh;
+ position: absolute;
+ width: 100%;
+ bottom: -0.55vh;
+ display: flex;
+ align-items: center;
+
+ .block {
+ width: 2.34vw;
+ display: flex;
+
+ .point {
+ width: .55vh;
+ height: .55vh;
+ margin-right: 0.36vw;
+
+ &.p1 {
+ background: rgba(53, 125, 250, 1)
+ }
+
+ &.p2 {
+ background: rgba(53, 125, 250, .7)
+ }
+
+ &.p3 {
+ background: rgba(53, 125, 250, .4)
+ }
+ }
+
+ }
+
+ .xs_x {
+ height: 1px;
+ flex: 1;
+ background: #214284;
+ }
+ }
+ }
+
+ .echarts_main {
+ .headers {
+ height: 3.33vh;
+ font-size: 1.48vh;
+ color: #0befca;
+ text-align: center;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ margin-right: 0.53vw;
+ background: rgba(11, 239, 202, .2);
+ margin-bottom: 0.9vh
+ }
+
+ .desc_main {
+ overflow-y: scroll;
+ padding-right: 0.33vw;
+
+ .analysisTable_list {
+ margin: 0;
+ padding: 0;
+ flex: 1;
+ display: flex;
+ flex-direction: column;
+
+ .flex_item {
+ cursor: pointer;
+ list-style: none;
+ margin: 0;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ text-align: center;
+ color: #fff;
+ font-size: 1.29vh;
+ position: relative;
+ height: 3.2vh;
+
+ &:nth-child(2n) {
+ background: rgba(53, 125, 250, .1);
+ }
+ }
+ }
+ }
+ }
+
+ }
+
+ .pop_statistical_desc {
+ width: 20.2vw;
+ margin: 0;
+ right: 23vw;
+ top: 35vh;
+ padding-bottom: 1.04vw !important;
+
+ .head_main {
+ .title {
+ color: #fff;
+ }
+ }
+
+ .echarts_main {
+ margin-top: 1.66vh;
+
+ div {
+ display: flex;
+ align-items: center;
+
+ &:nth-child(even) {
+ background: rgba(32, 89, 188, 0.2);
+ }
+
+ p {
+ &:nth-child(1) {
+ width: 8vw;
+ padding-left: 1vw;
+ flex-shrink: 0;
+ }
+
+ &:nth-child(2) {
+ color: #ffad00;
+ }
+
+ margin: 0;
+ color: #ffffff;
+ font-size:1.33vh;
+ line-height: 3.92vh;
+ }
+ }
+ }
+ }
+
.mask {
z-index: 1;
width: 100%;
diff --git a/src/views/resources/main-gis/index.html b/src/views/resources/main-gis/index.html
index 0715602..b53f70b 100644
--- a/src/views/resources/main-gis/index.html
+++ b/src/views/resources/main-gis/index.html
@@ -85,7 +85,7 @@