Commit eb45d728 authored by zhengke's avatar zhengke

no message

parent 921b5785
......@@ -64,8 +64,8 @@
methods: {
// 初始化地图
initMap() {
let self = this;
let center = new qq.maps.LatLng(self.latitude, self.longitude); // 默认坐标
let self = this
let center = new qq.maps.LatLng(self.latitude?self.latitude:39.961627, self.longitude?self.longitude:116.294625); // 默认坐标
self.map = new qq.maps.Map(
document.getElementById("container"), {
center: center,
......
......@@ -51,7 +51,7 @@
top: 1px;
"></span>
</div> -->
<!-- <div class="searchInput" style="width: 250px; margin-bottom: 10px">
<div class="searchInput" style="width: 250px; margin-bottom: 10px">
<el-input @keyup.enter.native="(msg.pageIndex = 1), getList()" @clear="(msg.pageIndex = 1), getList()"
style="display: inline-block; width: 225px; height: 30px" @keyup.native="checkInteger(msg, 'MetroNum')"
placeholder="地铁线路" v-model="msg.MetroNum" size="small" clearable>
......@@ -74,7 +74,7 @@
position: relative;
top: 1px;
"></span>
</div> -->
</div>
<!-- <div class="searchInput" style="width: 200px; margin-bottom: 10px">
<el-select size="small" v-model="msg.UserId" :filter-method="ChangeListName" filterable
@change="(msg.pageIndex = 1), getList()" placeholder="请选择">
......
......@@ -437,7 +437,7 @@
>
</el-input>
</el-form-item> -->
<!-- <el-form-item label="地铁信息">
<el-form-item label="地铁信息">
<div
v-for="(item, index) in MetroList"
:key="index"
......@@ -477,7 +477,7 @@
icon="el-icon-plus"
circle
></el-button>
</el-form-item> -->
</el-form-item>
<el-form-item label="分类" prop="CategoryId">
<el-select
v-model="addMsg.CategoryId"
......@@ -867,12 +867,12 @@ export default {
baiduMap,
},
created() {
this.isCarrier = this.$route.query.isCarrier
this.addMsg.BuildingCarrierType = this.isCarrier?this.isCarrier:2
if (this.$route.query.ID) {
this.ID = this.$route.query.ID;
this.getData();
}
this.isCarrier = this.$route.query.isCarrier
this.addMsg.BuildingCarrierType = this.isCarrier?this.isCarrier:2
this.getTypeEnumList();
this.GetAuthenticationCategoryEnumList();
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment