From fa530b1d6c16d2b6d5ce5675573f6615dba42a71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BA=9E=E4=B8=9C=E6=97=AD?= <850374051@qq.com> Date: Thu, 31 Jul 2025 09:30:45 +0800 Subject: [PATCH] =?UTF-8?q?task=2044941=20=E8=B5=84=E4=BA=A7=E8=AF=A6?= =?UTF-8?q?=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/property/asset-details/index.js | 5 ++++- src/views/property/comps/left/bottom/3/index.js | 2 +- src/views/property/comps/left/middle/3/index.js | 2 +- src/views/property/comps/left/top/3/index.js | 2 +- src/views/property/comps/right/bottom/3/index.js | 2 +- src/views/property/comps/right/middle/3/index.js | 2 +- src/views/property/comps/right/top/3/index.js | 2 +- src/views/property/index.html | 2 +- src/views/property/index.js | 6 ++++-- 9 files changed, 15 insertions(+), 10 deletions(-) diff --git a/src/views/property/asset-details/index.js b/src/views/property/asset-details/index.js index 4eced33..35c0ca0 100644 --- a/src/views/property/asset-details/index.js +++ b/src/views/property/asset-details/index.js @@ -3,7 +3,10 @@ import { attachmentList } from "@/api/common/uploadAttachment.js"; export default { props: { data: {}, - type: '1' + type: { + type: String, + default: '1' + } }, data () { return { diff --git a/src/views/property/comps/left/bottom/3/index.js b/src/views/property/comps/left/bottom/3/index.js index 3701565..0494a04 100644 --- a/src/views/property/comps/left/bottom/3/index.js +++ b/src/views/property/comps/left/bottom/3/index.js @@ -37,7 +37,7 @@ export default { methods: { lineClick1 (val) { console.log(val + 222222222222) - this.$emit('clickDetail', val) + this.$emit('clickDetail', val, '3') }, getData () { if (this.year, this.deptId) { diff --git a/src/views/property/comps/left/middle/3/index.js b/src/views/property/comps/left/middle/3/index.js index 2f4af50..2c725d4 100644 --- a/src/views/property/comps/left/middle/3/index.js +++ b/src/views/property/comps/left/middle/3/index.js @@ -35,7 +35,7 @@ export default { methods: { lineClick1 (val) { console.log(val + 222222222222) - this.$emit('clickDetail', val) + this.$emit('clickDetail', val, '2') }, getData () { if (this.year, this.deptId) { diff --git a/src/views/property/comps/left/top/3/index.js b/src/views/property/comps/left/top/3/index.js index 2a6eed5..a500ed5 100644 --- a/src/views/property/comps/left/top/3/index.js +++ b/src/views/property/comps/left/top/3/index.js @@ -37,7 +37,7 @@ export default { methods: { lineClick1 (val) { console.log(val) - this.$emit('clickDetail', val) + this.$emit('clickDetail', val, '1') }, getData () { if (this.year, this.deptId) { diff --git a/src/views/property/comps/right/bottom/3/index.js b/src/views/property/comps/right/bottom/3/index.js index 5917114..20dc102 100644 --- a/src/views/property/comps/right/bottom/3/index.js +++ b/src/views/property/comps/right/bottom/3/index.js @@ -39,7 +39,7 @@ export default { methods: { lineClick1 (val) { console.log(val + 222222222222) - this.$emit('clickDetail', val) + this.$emit('clickDetail', val, '6') }, getData () { if (this.year, this.deptId) { diff --git a/src/views/property/comps/right/middle/3/index.js b/src/views/property/comps/right/middle/3/index.js index 0401ff1..da09a40 100644 --- a/src/views/property/comps/right/middle/3/index.js +++ b/src/views/property/comps/right/middle/3/index.js @@ -39,7 +39,7 @@ export default { methods: { lineClick1 (val) { console.log(val + 222222222222) - this.$emit('clickDetail', val) + this.$emit('clickDetail', val, '5') }, getData () { if (this.year, this.deptId) { diff --git a/src/views/property/comps/right/top/3/index.js b/src/views/property/comps/right/top/3/index.js index 5079040..20d029a 100644 --- a/src/views/property/comps/right/top/3/index.js +++ b/src/views/property/comps/right/top/3/index.js @@ -39,7 +39,7 @@ export default { methods: { lineClick1 (val) { console.log(val + 222222222222) - this.$emit('clickDetail', val) + this.$emit('clickDetail', val, '4') }, getData () { if (this.year, this.deptId) { diff --git a/src/views/property/index.html b/src/views/property/index.html index 1d8052b..a499394 100644 --- a/src/views/property/index.html +++ b/src/views/property/index.html @@ -17,7 +17,7 @@ - +
diff --git a/src/views/property/index.js b/src/views/property/index.js index f70258f..47e999d 100644 --- a/src/views/property/index.js +++ b/src/views/property/index.js @@ -97,7 +97,8 @@ export default { dialogImageUrl: '', dialogVisible: false, showDetail: false, - permanentDetail: {} + permanentDetail: {}, + permanentType: '1' }; }, computed: { @@ -114,9 +115,10 @@ export default { this.dialogImageUrl = url; this.dialogVisible = true; }, - clickDetail (val) { + clickDetail (val, type) { console.log(val + 111111111) this.permanentDetail = val; + this.permanentType = type; this.showDetail = true; } }