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