BUG 27032

This commit is contained in:
aixianling
2022-01-26 16:01:18 +08:00
parent 00e03c6117
commit e06443f595
5 changed files with 22 additions and 27 deletions

View File

@@ -5,21 +5,18 @@
</template>
<script>
import Detail from './detail'
import Add from './add'
import List from './list'
import SearchMap from './components/searchMap'
import Map from './map'
import SearchMap from "./components/searchMap";
export default {
name: 'AppBuilding',
components: {SearchMap},
appName: '以房找人',
data() {
return {
show: true
}
},
components: {Detail, Add, List, SearchMap, Map},
onShow() {
this.show = false
this.$nextTick(() => {

View File

@@ -108,6 +108,7 @@
import {mapState} from 'vuex'
export default {
name:"searchMap",
data() {
return {
ops: {},

View File

@@ -168,6 +168,9 @@ export default {
this.$dict.load('householdRelation', 'houselivingStatus', 'houseLeaseSituation', 'houseUseStatus',
'isFilingCertificateStatus', 'communityBuildingType', 'yesOrNo', 'BulidResidentType')
this.getBuilding()
if (this.show && !!this.houseId) {
this.getHouseDetail(this.houseId)
}
},
methods: {
getSelectList(communityId) {

View File

@@ -27,8 +27,7 @@ Vue.prototype.$http = axios;
Vue.prototype.$cdn = 'https://cdn.cunwuyun.cn/dvcp/h5/';
Object.keys(utils).map((e) => (Vue.prototype['$' + e] = utils[e]));
App.mpType = 'app';
// process.env.NODE_ENV == 'development' && new VConsole();
new VConsole()
process.env.NODE_ENV == 'development' && new VConsole();
const app = new Vue({
store,
...App

View File

@@ -40,12 +40,7 @@ if (document.documentElement.clientWidth > 1024) {
<script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js" referrerpolicy="origin"></script>
<script src="https://open.work.weixin.qq.com/wwopen/js/jwxwork-1.0.0.js" referrerpolicy="origin"></script>
<!-- 测试使用-->
<script src="https://cdn.bootcss.com/vConsole/3.3.0/vconsole.min.js"></script>
<script>
// init vConsole
var vConsole = new VConsole();
console.log('Hello world');
</script>
<script src="https://cdn.bootcdn.net/ajax/libs/vConsole/3.11.1/vconsole.min.js"></script>
<!--end-->
</head>