BUG 26284
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
<div class="item" v-if="houseInfo.livingStatus == 1">
|
||||
<span class="label">起租日期</span>
|
||||
<div class="value" @click="dateShow=true">
|
||||
<span :class="houseInfo.startDate === '' ? 'color-999' : ''">{{ houseInfo.startDate || '请选择' }}</span>
|
||||
<span :class="houseInfo.startDate === '' ? 'color-999' : ''">{{ $dateFormat(houseInfo.startDate,'YYYY-MM-DD') || '请选择' }}</span>
|
||||
<u-icon name="arrow-right" color="#cccccc" size="14"/>
|
||||
</div>
|
||||
</div>
|
||||
@@ -167,9 +167,6 @@ export default {
|
||||
let {id} = this.$route.query
|
||||
id && this.$http.post(`app/appcommunityhouseinfo/queryDetailById?id=${id}`).then(res => {
|
||||
if (res?.data) {
|
||||
if (res.data.startDate) {
|
||||
res.data.startDate = res.data.startDate.substring(0, 10)
|
||||
}
|
||||
this.houseInfo = res.data
|
||||
}
|
||||
})
|
||||
@@ -193,7 +190,7 @@ export default {
|
||||
this.houseInfo[this.formName] = e[0].value
|
||||
},
|
||||
dateConfirm(e) {
|
||||
this.houseInfo.startDate = `${e.year}-${e.month}-${e.day}`
|
||||
this.houseInfo.startDate = `${e.year}-${e.month}-${e.day} 00:00:00`
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -69,7 +69,7 @@
|
||||
<div class="row-item center">
|
||||
<span class="right-line"></span>
|
||||
<span class="left-line"></span>
|
||||
<h3>{{ houseInfo.startDate }}</h3>
|
||||
<h3>{{ $dateFormat(houseInfo.startDate,'YYYY-MM-DD') }}</h3>
|
||||
<p>起租日期</p>
|
||||
</div>
|
||||
<div class="row-item right">
|
||||
@@ -228,10 +228,7 @@ export default {
|
||||
getHouseDetail(id) {
|
||||
this.houseId = id
|
||||
this.$http.post(`app/appcommunityhouseinfo/queryDetailById?id=${id}`).then(res => {
|
||||
if (res.code == 0) {
|
||||
if (res.data.startDate) {
|
||||
res.data.startDate = res.data.startDate.substring(0, 10)
|
||||
}
|
||||
if (res?.data) {
|
||||
this.houseInfo = res.data
|
||||
this.show = true
|
||||
}
|
||||
|
||||
@@ -64,6 +64,7 @@
|
||||
<script>
|
||||
import echarts from 'echarts'
|
||||
import {mapState} from 'vuex'
|
||||
|
||||
export default {
|
||||
name: "AppVideoSurveillance",
|
||||
appName: "视频监控",
|
||||
@@ -255,15 +256,18 @@ export default {
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
line-height: 64px;
|
||||
|
||||
img {
|
||||
width: 42px;
|
||||
vertical-align: middle;
|
||||
margin-right: 16px;
|
||||
}
|
||||
|
||||
.u-icon {
|
||||
margin-left: 6px;
|
||||
}
|
||||
}
|
||||
|
||||
.num-content {
|
||||
width: calc(100% - 40px);
|
||||
height: 164px;
|
||||
@@ -271,10 +275,12 @@ export default {
|
||||
border-radius: 16px;
|
||||
margin: 32px 0 0 20px;
|
||||
display: flex;
|
||||
|
||||
.item {
|
||||
flex: 1;
|
||||
text-align: center;
|
||||
position: relative;
|
||||
|
||||
.monitor-icon {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
@@ -284,6 +290,7 @@ export default {
|
||||
margin-left: -24px;
|
||||
margin-top: -24px;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 44px;
|
||||
font-family: PingFangSC-Semibold, PingFang SC;
|
||||
@@ -292,6 +299,7 @@ export default {
|
||||
line-height: 60px;
|
||||
margin-top: 32px;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 28px;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
@@ -306,6 +314,7 @@ export default {
|
||||
padding: 38px 0 0 20px;
|
||||
box-sizing: border-box;
|
||||
overflow: hidden;
|
||||
|
||||
.item {
|
||||
display: inline-block;
|
||||
width: calc(50% - 36px);
|
||||
@@ -314,12 +323,14 @@ export default {
|
||||
position: relative;
|
||||
margin-bottom: 32px;
|
||||
vertical-align: top;
|
||||
|
||||
.img {
|
||||
width: 100%;
|
||||
height: 218px;
|
||||
margin-bottom: 8px;
|
||||
border-radius: 16px;
|
||||
}
|
||||
|
||||
p {
|
||||
width: 100%;
|
||||
font-size: 34px;
|
||||
@@ -328,6 +339,7 @@ export default {
|
||||
line-height: 48px;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
.icon {
|
||||
width: 40px;
|
||||
height: 48px;
|
||||
|
||||
Reference in New Issue
Block a user