修改问题
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<template>
|
||||
<header-nav :isNoTabList="true" :user="user"></header-nav>
|
||||
<!-- <header-nav :isNoTabList="true" :user="user"></header-nav> -->
|
||||
<page-top-bar></page-top-bar>
|
||||
<map-component v-if="mapComponentState" :info="info" @choosingLocation="choosingLocation" />
|
||||
<div class="content-box flexflex">
|
||||
<!-- 左边的信息盒子 -->
|
||||
@@ -77,7 +78,7 @@
|
||||
<!-- 月租 -->
|
||||
<div v-if="item.field == 'rent' && intermediary != 6" ref="rent"
|
||||
class="form-option modeFive flexacenter" :class="{ 'pitch': info.rent }">
|
||||
<input class="modeFive-input flex1" v-model="info.rent" type="number" step="1" min="0"
|
||||
<input class="modeFive-input flex1" v-model="info.rent" type="number" step="1" min="0"
|
||||
placeholder="请输入数字"
|
||||
onkeyup="this.value= this.value.match(/\d+(\.\d{0,2})?/) ? this.value.match(/\d+(\.\d{0,2})?/)[0] : ''">
|
||||
<div class="modeFive-unit">{{ item.unit }}</div>
|
||||
@@ -667,7 +668,8 @@ import mapComponent from '@/components/edit/map.vue'
|
||||
import pageFooter from '@/components/footer/footer.vue'
|
||||
import how from '@/components/edit/how-pop.vue'
|
||||
import failPop from '@/components/edit/fail-pop.vue'
|
||||
import headerNav from '@/components/public/head.vue'
|
||||
// import headerNav from '@/components/public/head.vue'
|
||||
import pageTopBar from '@/components/pageTopBar/pageTopBar.vue'
|
||||
import userBox from '@/components/edit/user-box.vue'
|
||||
import { setSeoTitle } from '@/utils/util.js'
|
||||
|
||||
@@ -779,7 +781,8 @@ export default {
|
||||
pageFooter,
|
||||
how,
|
||||
failPop,
|
||||
headerNav,
|
||||
// headerNav,
|
||||
pageTopBar,
|
||||
userBox,
|
||||
},
|
||||
methods: {
|
||||
@@ -847,6 +850,10 @@ export default {
|
||||
if (info['type']) this.typeValue = info['type'] >>> 0
|
||||
|
||||
let intermediary = data.intermediary
|
||||
// rentalduration
|
||||
if (data['type'] == "edit") {
|
||||
if (!info['rentalduration']) info['rentalduration'] = 0
|
||||
}
|
||||
|
||||
if (intermediary == 6) {
|
||||
if (info["rent"].length != 0) {
|
||||
@@ -864,7 +871,6 @@ export default {
|
||||
let arr = ["property", "floor", "sunshinearea"]
|
||||
|
||||
arr.forEach(element => {
|
||||
|
||||
if (info[element] && info[element].length == 1 && info[element][0] == 0) info[element] = []
|
||||
|
||||
if (info[element] && info[element].length != 0) {
|
||||
@@ -1182,7 +1188,10 @@ export default {
|
||||
|
||||
return
|
||||
} else {
|
||||
if (status == 0) return
|
||||
if (status == 0) {
|
||||
this.$router.push('/user')
|
||||
return
|
||||
}
|
||||
this.qrcodeBase64 = data['qrcode']
|
||||
this.skipUrl = data['url']
|
||||
|
||||
|
||||
Reference in New Issue
Block a user