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

@@ -69,7 +69,7 @@
<div class="row-item center">
<span class="right-line"></span>
<span class="left-line"></span>
<h3>{{ $dateFormat(houseInfo.startDate,'YYYY-MM-DD') }}</h3>
<h3>{{ $dateFormat(houseInfo.startDate, 'YYYY-MM-DD') }}</h3>
<p>起租日期</p>
</div>
<div class="row-item right">
@@ -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

@@ -5,8 +5,8 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta name="format-detection" content="telephone=yes" />
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta name="format-detection" content="telephone=yes"/>
<title>企微应用产品库</title>
<!-- 正式发布的时候使用,开发期间不启用。↓ -->
<!-- <script src="/h5/touch-emulator.js"></script>
@@ -36,28 +36,23 @@ if (document.documentElement.clientWidth > 1024) {
// document.documentElement.style.fontSize = document.documentElement.clientWidth / 20 + 'px'
// })
</script>
<link rel="stylesheet" href="<%= BASE_URL %>static/index.<%= VUE_APP_INDEX_CSS_HASH %>.css" />
<link rel="stylesheet" href="<%= BASE_URL %>static/index.<%= VUE_APP_INDEX_CSS_HASH %>.css"/>
<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>
<body>
<!-- 该文件为 H5 平台的模板 HTML并非应用入口。 -->
<!-- 请勿在此文件编写页面代码或直接运行此文件。 -->
<!-- 详见文档https://uniapp.dcloud.io/collocation/manifest?id=h5-template -->
<noscript>
<strong>Please enable JavaScript to continue.</strong>
</noscript>
<div id="app"></div>
<!-- built files will be auto injected -->
<!-- 该文件为 H5 平台的模板 HTML并非应用入口。 -->
<!-- 请勿在此文件编写页面代码或直接运行此文件。 -->
<!-- 详见文档https://uniapp.dcloud.io/collocation/manifest?id=h5-template -->
<noscript>
<strong>Please enable JavaScript to continue.</strong>
</noscript>
<div id="app"></div>
<!-- built files will be auto injected -->
</body>
</html>
</html>