|
@@ -1,40 +1,89 @@
|
|
<template>
|
|
<template>
|
|
<div>
|
|
<div>
|
|
- <header class="mui-bar mui-bar-nav">
|
|
|
|
- <h1 class="mui-title">联系物业</h1>
|
|
|
|
- <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
|
|
|
|
- </header>
|
|
|
|
|
|
+
|
|
|
|
+ <common ref="common" @asynCallBack="asynCallBack"></common>
|
|
|
|
+ <top-header :pageTitle="pageTitle"></top-header>
|
|
<div class="mui-content vongi-fklist">
|
|
<div class="mui-content vongi-fklist">
|
|
<div class="mui-content-padded">
|
|
<div class="mui-content-padded">
|
|
<h5>需要帮助请联系我们</h5>
|
|
<h5>需要帮助请联系我们</h5>
|
|
</div>
|
|
</div>
|
|
<ul class="mui-table-view openfyy-list">
|
|
<ul class="mui-table-view openfyy-list">
|
|
- <li class="mui-table-view-cell mui-media flew-sp">
|
|
|
|
- <div class="mui-media-body">
|
|
|
|
- 物业门卫
|
|
|
|
- </div>
|
|
|
|
- <span class="iconfont icon-dianhua1"></span>
|
|
|
|
- </li>
|
|
|
|
- <li class="mui-table-view-cell mui-media flew-sp">
|
|
|
|
|
|
+ <li class="mui-table-view-cell mui-media flew-sp" v-for="mod in list">
|
|
<div class="mui-media-body">
|
|
<div class="mui-media-body">
|
|
- 物业经理
|
|
|
|
|
|
+ {{mod.name}}
|
|
</div>
|
|
</div>
|
|
- <span class="iconfont icon-dianhua1"></span>
|
|
|
|
- </li>
|
|
|
|
- <li class="mui-table-view-cell mui-media flew-sp">
|
|
|
|
- <div class="mui-media-body">
|
|
|
|
- 楼栋管家
|
|
|
|
- </div>
|
|
|
|
- <span class="iconfont icon-dianhua1"></span>
|
|
|
|
|
|
+ <a :href="'tel:'+mod.telephone">
|
|
|
|
+ <span class="iconfont icon-dianhua1"></span>
|
|
|
|
+ </a>
|
|
</li>
|
|
</li>
|
|
</ul>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
+ <loading :visible="isLoading"></loading>
|
|
|
|
+
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
+
|
|
<script>
|
|
<script>
|
|
|
|
+ import * as API_Property from '@/apis/Master/property'
|
|
|
|
+ import Common from '$project/components/Common.vue'
|
|
|
|
+ import Loading from '$project/components/Loading.vue'
|
|
|
|
+ import TopHeader from '$project/components/TopHeader.vue'
|
|
|
|
+ import {
|
|
|
|
+ mapGetters,
|
|
|
|
+ mapMutations
|
|
|
|
+ } from 'vuex'
|
|
|
|
+ export default {
|
|
|
|
+ name: 'MasterPropertyContact',
|
|
|
|
+ components: {
|
|
|
|
+ Common,
|
|
|
|
+ Loading,
|
|
|
|
+ TopHeader
|
|
|
|
+ },
|
|
|
|
+ data() {
|
|
|
|
+ return {
|
|
|
|
+ pageTitle: '联系物业',
|
|
|
|
+
|
|
|
|
+ isLoading: false,
|
|
|
|
+
|
|
|
|
+ list:[]
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ created() {},
|
|
|
|
+ methods: {
|
|
|
|
+
|
|
|
|
+ //提交
|
|
|
|
+ getList() {
|
|
|
|
+ this.isLoading = true;
|
|
|
|
+
|
|
|
|
+ API_Property.companyContactsList().then(response => {
|
|
|
|
+ this.isLoading = false;
|
|
|
|
+ this.list=response.list;
|
|
|
|
+
|
|
|
|
+ }).catch(error => {
|
|
|
|
+ this.isLoading = false;
|
|
|
|
+ mui.toast(error);
|
|
|
|
+ })
|
|
|
|
+ },
|
|
|
|
+ asynCallBack() {
|
|
|
|
+
|
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
+ mounted() {
|
|
|
|
+ this.getList();
|
|
|
|
+ },
|
|
|
|
+ destroyed() {
|
|
|
|
+ },
|
|
|
|
+ computed: {
|
|
|
|
+ ...mapGetters({
|
|
|
|
+ openId: 'wx_openid',
|
|
|
|
+ token: 'token',
|
|
|
|
+ })
|
|
|
|
+ },
|
|
|
|
+ }
|
|
</script>
|
|
</script>
|
|
|
|
|
|
|
|
+
|
|
<style scoped src="$project/assets/css/xpwyfyy.css"></style>
|
|
<style scoped src="$project/assets/css/xpwyfyy.css"></style>
|
|
<style src="$project/assets/css/iconfont.css"></style>
|
|
<style src="$project/assets/css/iconfont.css"></style>
|
|
<style>
|
|
<style>
|