Pārlūkot izejas kodu

task 44941 资产详情

dev
庞东旭 pirms 4 dienas
vecāks
revīzija
fa530b1d6c
9 mainītis faili ar 15 papildinājumiem un 10 dzēšanām
  1. +4
    -1
      src/views/property/asset-details/index.js
  2. +1
    -1
      src/views/property/comps/left/bottom/3/index.js
  3. +1
    -1
      src/views/property/comps/left/middle/3/index.js
  4. +1
    -1
      src/views/property/comps/left/top/3/index.js
  5. +1
    -1
      src/views/property/comps/right/bottom/3/index.js
  6. +1
    -1
      src/views/property/comps/right/middle/3/index.js
  7. +1
    -1
      src/views/property/comps/right/top/3/index.js
  8. +1
    -1
      src/views/property/index.html
  9. +4
    -2
      src/views/property/index.js

+ 4
- 1
src/views/property/asset-details/index.js Parādīt failu

@@ -3,7 +3,10 @@ import { attachmentList } from "@/api/common/uploadAttachment.js";
export default {
props: {
data: {},
type: '1'
type: {
type: String,
default: '1'
}
},
data () {
return {


+ 1
- 1
src/views/property/comps/left/bottom/3/index.js Parādīt failu

@@ -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) {


+ 1
- 1
src/views/property/comps/left/middle/3/index.js Parādīt failu

@@ -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) {


+ 1
- 1
src/views/property/comps/left/top/3/index.js Parādīt failu

@@ -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) {


+ 1
- 1
src/views/property/comps/right/bottom/3/index.js Parādīt failu

@@ -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) {


+ 1
- 1
src/views/property/comps/right/middle/3/index.js Parādīt failu

@@ -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) {


+ 1
- 1
src/views/property/comps/right/top/3/index.js Parādīt failu

@@ -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) {


+ 1
- 1
src/views/property/index.html Parādīt failu

@@ -17,7 +17,7 @@
<component :is="item" v-for="(item, index) in currentComp.buttom" :key="index" @clickDetail="clickDetail"></component>
</div>

<AssetDetails @close="showDetail = false" @openImage="openImage" v-if="showDetail" :data="permanentDetail"></AssetDetails>
<AssetDetails @close="showDetail = false" @openImage="openImage" v-if="showDetail" :data="permanentDetail" :type="permanentType"></AssetDetails>

<div class="imgBox" v-if="dialogVisible">
<div class="box_bg" @click="dialogVisible = false"></div>


+ 4
- 2
src/views/property/index.js Parādīt failu

@@ -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;
}
}


Notiek ielāde…
Atcelt
Saglabāt