BUG 29594
This commit is contained in:
@@ -12,7 +12,7 @@ import Add from './components/Add'
|
||||
import BuildMsg from './components/BuildMsg'
|
||||
|
||||
export default {
|
||||
label: '楼栋管理',
|
||||
label: '楼栋管理(sass)',
|
||||
name: 'AppBuildManage',
|
||||
props: {
|
||||
instance: Function,
|
||||
|
||||
@@ -12,7 +12,8 @@
|
||||
<ai-bar title="基础信息"></ai-bar>
|
||||
<el-form-item label="小区名称" prop="communityName" class="line" ref="communityNameContent">
|
||||
<!-- 选择小区 -->
|
||||
<ai-select v-if="instance" :instance="instance" v-model="formData.communityId" action="/app/appcommunityinfo/listAll" :prop="{ label: 'communityName' }"></ai-select>
|
||||
<ai-select v-if="instance" :instance="instance" v-model="formData.communityId" action="/app/appcommunityinfo/listAll"
|
||||
:prop="{ label: 'communityName' }"></ai-select>
|
||||
</el-form-item>
|
||||
|
||||
<div class="flex">
|
||||
@@ -96,19 +97,13 @@
|
||||
<el-button type="primary" @click="confirm()">提交</el-button>
|
||||
</template>
|
||||
</ai-detail>
|
||||
<ai-dialog title="地图" :visible.sync="showMap" @opened="getCorpLocation" width="800px" class="mapDialog" @onConfirm="selectMap">
|
||||
<ai-dialog title="地图" :visible.sync="showMap" @opened="getCorpLocation" width="800px" class="mapDialog" @onConfirm="selectMap" fullscreen>
|
||||
<div id="map"></div>
|
||||
<el-form label-width="80px" style="padding: 10px 20px 0 20px;">
|
||||
<el-row type="flex" justify="space-between">
|
||||
<el-form-item label="经度">
|
||||
<el-input disabled size="small" v-model="placeDetail.lng"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="纬度">
|
||||
<el-input disabled size="small" v-model="placeDetail.lat"></el-input>
|
||||
</el-form-item>
|
||||
</el-row>
|
||||
<el-form label-position="left">
|
||||
<el-form-item label="经纬度">{{ [placeDetail.lng, placeDetail.lat].toString() }}</el-form-item>
|
||||
</el-form>
|
||||
<el-input id="searchPlaceInput" size="medium" class="searchPlaceInput" clearable v-model="searchPlace" autocomplete="on" @change="placeSearch.search(searchPlace)" placeholder="请输入关键字">
|
||||
<el-input id="searchPlaceInput" size="medium" class="searchPlaceInput" clearable v-model="searchPlace" autocomplete="on"
|
||||
@change="placeSearch.search(searchPlace)" placeholder="请输入关键字">
|
||||
<el-button type="primary" slot="append" @click="placeSearch.search(searchPlace)">搜索</el-button>
|
||||
</el-input>
|
||||
<div id="searchPlaceOutput"/>
|
||||
@@ -319,27 +314,34 @@ export default {
|
||||
::v-deep .amap-logo {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
::v-deep .amap-copyright {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
.Add {
|
||||
height: 100%;
|
||||
|
||||
.ai-detail__title {
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.ai-detail__content {
|
||||
.ai-detail__content--wrapper {
|
||||
.el-form {
|
||||
background-color: #fff;
|
||||
padding: 0 60px;
|
||||
|
||||
.flex {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
|
||||
.el-form-item {
|
||||
width: 48%;
|
||||
}
|
||||
|
||||
.buildingTypes {
|
||||
width: 100%;
|
||||
}
|
||||
@@ -350,11 +352,20 @@ export default {
|
||||
}
|
||||
|
||||
::v-deep .mapDialog {
|
||||
.el-dialog {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.el-dialog__body {
|
||||
padding: 0;
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
|
||||
.ai-dialog__content {
|
||||
padding: 0;
|
||||
max-height: unset !important;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.ai-dialog__content--wrapper {
|
||||
@@ -364,7 +375,7 @@ export default {
|
||||
|
||||
#map {
|
||||
width: 100%;
|
||||
height: 420px;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.searchPlaceInput {
|
||||
@@ -374,6 +385,21 @@ export default {
|
||||
left: 25px;
|
||||
}
|
||||
|
||||
.el-form {
|
||||
position: absolute;
|
||||
width: 230px;
|
||||
right: 25px;
|
||||
top: 20px;
|
||||
background: rgba(#fff, .8);
|
||||
color: #26f;
|
||||
padding: 0 16px;
|
||||
box-sizing: border-box;
|
||||
|
||||
.el-form-item {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
#searchPlaceOutput {
|
||||
position: absolute;
|
||||
width: 250px;
|
||||
|
||||
Reference in New Issue
Block a user