|
|
|
|
@ -205,10 +205,12 @@
|
|
|
|
|
<div class="el-descriptions__header el-descriptions__title">
|
|
|
|
|
<p>资产地图</p>
|
|
|
|
|
|
|
|
|
|
<div @click="copyLocation" style="cursor: pointer">
|
|
|
|
|
<div @click="copyLocation" style="cursor: pointer;margin-left: auto;margin-right: 20px;">
|
|
|
|
|
<i class="el-icon-map-location" style="font-weight: 600;margin-right: 4px;"></i>
|
|
|
|
|
<span>{{ detail.zichanweizhi }}</span>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<i class="el-icon-full-screen" style="cursor: pointer;font-weight: 600;" @click="assetsMapFullscreen"></i>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div
|
|
|
|
|
@ -732,19 +734,6 @@ export default {
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '合同交租期限',
|
|
|
|
|
width: 190,
|
|
|
|
|
customFn:row => {
|
|
|
|
|
return (
|
|
|
|
|
<div>
|
|
|
|
|
<span>{ this.$moment(new Date(row.hetongjiaozukaishishijian)).format('YYYY.MM.DD') }</span>
|
|
|
|
|
<span> - </span>
|
|
|
|
|
<span>{ this.$moment(new Date(row.hetongjiaozujieshushijian)).format('YYYY.MM.DD') }</span>
|
|
|
|
|
</div>
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '年租金单价',
|
|
|
|
|
prop: 'nianzujindanjia',
|
|
|
|
|
@ -853,6 +842,25 @@ export default {
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
assetsMapFullscreen () {
|
|
|
|
|
const dom = document.querySelector('#detail-map')
|
|
|
|
|
this.$store.dispatch('app/toggleDevice',"mobile")
|
|
|
|
|
this.$store.commit('app/CLOSE_SIDEBAR')
|
|
|
|
|
|
|
|
|
|
dom.classList.add('dom-fullscreen')
|
|
|
|
|
|
|
|
|
|
const closeDom = document.createElement('div')
|
|
|
|
|
closeDom.classList.add('dom-fullscreen-close')
|
|
|
|
|
closeDom.innerHTML = '<i class="el-icon-circle-close"></i>'
|
|
|
|
|
document.body.append(closeDom)
|
|
|
|
|
closeDom.addEventListener('click',() => {
|
|
|
|
|
dom.classList.remove('dom-fullscreen')
|
|
|
|
|
closeDom.remove()
|
|
|
|
|
this.$store.dispatch('app/toggleDevice',"desktop")
|
|
|
|
|
this.$store.commit('app/TOGGLE_SIDEBAR')
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
anchorSelect (href) {
|
|
|
|
|
const cubic = value => Math.pow(value, 3);
|
|
|
|
|
const easeInOutCubic = value => value < 0.5
|
|
|
|
|
@ -1369,4 +1377,29 @@ a:hover {
|
|
|
|
|
filter: drop-shadow(2px 2px 5px #00000055);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.dom-fullscreen {
|
|
|
|
|
position: fixed !important;
|
|
|
|
|
z-index: 99999999 !important;
|
|
|
|
|
width: 100vw !important;
|
|
|
|
|
height: 100vh !important;
|
|
|
|
|
top: 0 !important;
|
|
|
|
|
left: 0 !important;
|
|
|
|
|
transition: all .2s;
|
|
|
|
|
}
|
|
|
|
|
.dom-fullscreen-close {
|
|
|
|
|
position: fixed !important;
|
|
|
|
|
z-index: 999999999 !important;
|
|
|
|
|
top: 50px !important;
|
|
|
|
|
right: 50px !important;
|
|
|
|
|
background: #fff;
|
|
|
|
|
width: 50px;
|
|
|
|
|
height: 50px;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
border-radius: 100%;
|
|
|
|
|
transition: all .2s;
|
|
|
|
|
font-size: 50px;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
|