Commit eb45d728 authored by zhengke's avatar zhengke

no message

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