BUG 27032
This commit is contained in:
@@ -5,21 +5,18 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import Detail from './detail'
|
|
||||||
import Add from './add'
|
import SearchMap from "./components/searchMap";
|
||||||
import List from './list'
|
|
||||||
import SearchMap from './components/searchMap'
|
|
||||||
import Map from './map'
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'AppBuilding',
|
name: 'AppBuilding',
|
||||||
|
components: {SearchMap},
|
||||||
appName: '以房找人',
|
appName: '以房找人',
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
show: true
|
show: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
components: {Detail, Add, List, SearchMap, Map},
|
|
||||||
onShow() {
|
onShow() {
|
||||||
this.show = false
|
this.show = false
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
|
|||||||
@@ -108,6 +108,7 @@
|
|||||||
import {mapState} from 'vuex'
|
import {mapState} from 'vuex'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
name:"searchMap",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
ops: {},
|
ops: {},
|
||||||
|
|||||||
@@ -168,6 +168,9 @@ export default {
|
|||||||
this.$dict.load('householdRelation', 'houselivingStatus', 'houseLeaseSituation', 'houseUseStatus',
|
this.$dict.load('householdRelation', 'houselivingStatus', 'houseLeaseSituation', 'houseUseStatus',
|
||||||
'isFilingCertificateStatus', 'communityBuildingType', 'yesOrNo', 'BulidResidentType')
|
'isFilingCertificateStatus', 'communityBuildingType', 'yesOrNo', 'BulidResidentType')
|
||||||
this.getBuilding()
|
this.getBuilding()
|
||||||
|
if (this.show && !!this.houseId) {
|
||||||
|
this.getHouseDetail(this.houseId)
|
||||||
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getSelectList(communityId) {
|
getSelectList(communityId) {
|
||||||
|
|||||||
@@ -27,8 +27,7 @@ Vue.prototype.$http = axios;
|
|||||||
Vue.prototype.$cdn = 'https://cdn.cunwuyun.cn/dvcp/h5/';
|
Vue.prototype.$cdn = 'https://cdn.cunwuyun.cn/dvcp/h5/';
|
||||||
Object.keys(utils).map((e) => (Vue.prototype['$' + e] = utils[e]));
|
Object.keys(utils).map((e) => (Vue.prototype['$' + e] = utils[e]));
|
||||||
App.mpType = 'app';
|
App.mpType = 'app';
|
||||||
// process.env.NODE_ENV == 'development' && new VConsole();
|
process.env.NODE_ENV == 'development' && new VConsole();
|
||||||
new VConsole()
|
|
||||||
const app = new Vue({
|
const app = new Vue({
|
||||||
store,
|
store,
|
||||||
...App
|
...App
|
||||||
|
|||||||
@@ -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://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://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 src="https://cdn.bootcdn.net/ajax/libs/vConsole/3.11.1/vconsole.min.js"></script>
|
||||||
<script>
|
|
||||||
// init vConsole
|
|
||||||
var vConsole = new VConsole();
|
|
||||||
console.log('Hello world');
|
|
||||||
</script>
|
|
||||||
<!--end-->
|
<!--end-->
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user