From 79a544f5bbf529c845f78bca964dddc41dd23504 Mon Sep 17 00:00:00 2001
From: yangfuda <945208611@qq.com>
Date: Tue, 17 Jun 2025 15:40:24 +0800
Subject: [PATCH 1/2] =?UTF-8?q?TASK=2044066=20=E5=9C=A8=E8=B5=84=E4=BA=A7?=
=?UTF-8?q?=E7=AE=A1=E7=90=86=E6=A8=A1=E5=9D=97=E4=B8=8B=E5=A2=9E=E5=8A=A0?=
=?UTF-8?q?=E2=80=9C=E4=B8=89=E6=B8=85=E5=8F=B0=E8=B4=A6=E2=80=9D=E5=8A=9F?=
=?UTF-8?q?=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/sunVillage_info/three.vue | 44 +++++++++++++++++++++++++----
1 file changed, 39 insertions(+), 5 deletions(-)
diff --git a/src/views/sunVillage_info/three.vue b/src/views/sunVillage_info/three.vue
index 09d941c6..175e06cd 100644
--- a/src/views/sunVillage_info/three.vue
+++ b/src/views/sunVillage_info/three.vue
@@ -8,7 +8,12 @@
共{{listLength}}个资产
@@ -80,9 +85,10 @@
} from "@/api/sunVillage_info/three";
import request from '@/utils/request'
import MapGisLine from "@/components/Map/MapGisLine";
+ import Selector from "@/components/common/Selector.vue";
export default {
name: "certificateList",
- components: { MapGisLine,},
+ components: {Selector, MapGisLine,},
data() {
return {
theGeom:'',
@@ -103,7 +109,8 @@
orderByColumn:'createTime',
isAsc:'desc',
translate_dict:1,
- zcmc:''
+ zcmc:'',
+ threeAssetType: null,
},
uploadFiles1:[],
projectId:'',
@@ -111,10 +118,15 @@
showBtn:true,
listMap: 0,
resourceId: null, // 资产ID,记录当前资产的ID
- resourceList: [] // 资产列表,存储本账套下所有的资产信息
+ resourceList: [], // 资产列表,存储本账套下所有的资产信息
+ typeVisible: false,
+ threeAssetTypeOptions: [],
};
},
created() {
+ this.houseGetDicts("three_asset_type").then((response) => {
+ this.threeAssetTypeOptions = response.data;
+ });
},
methods: {
saveGeom(){
@@ -258,7 +270,23 @@
goAdd(){
this.$router.push('/sunVillage_info/threeAdd')
},
+ openThreeAssetType() {
+ this.typeVisible = true;
+ },
+ refresh() {
+ this.queryParams.pageNum = 1;
+ this.listLength = 0;
+ this.applicationList = [];
+ this.finished = false;
+ this.getList();
+ },
},
+ computed: {
+ searchPlaceholder() {
+ let typeName = this.threeAssetTypeOptions.find((x) => x.dictValue == this.queryParams.threeAssetType);
+ return '搜索' + (typeName ? typeName.dictLabel : '');
+ },
+ }
}