Commit ec9c2a56 authored by youjie's avatar youjie

上传 地图

parent 1183e78a
......@@ -82,7 +82,7 @@
</div>
</div>
<Tripmap v-if="ShowMap" :PostConfig="PostConfig" :ConfigId="ConfigId" @Cancel="ShowMap=false"
@saveMsg="ShowMap=false,SaveData(1)"></Tripmap>
@saveMsg="SaveData"></Tripmap>
</div>
<TravelNotice :class="{'showOther':TeamType==3}" ref="TravelNotice" id="fourAnchor" @headCallBack="getNotice"
:subArray="NoticeParameters" :NoticeData="NoticeData" v-bind:PostConfig="PostConfig"
......@@ -440,7 +440,8 @@
}
},
/*保存数据*/
SaveData(SaveType) {
SaveData(SaveType,MapUrl) {
this.ShowMap = false
this.saveLoading = true;
this.MsgBus.$emit('saveTravel', true);
this.FeatureData.IsSave = true;
......
......@@ -718,11 +718,11 @@
if (x.data.StatusCode == 1) {
that.saveLoading = false;
let allPath = that.domainManager().ViittoFileUrl + x.data.FilePath;
that.PostConfig.Mapurl = allPath;
that.PostConfig.MapUrl = allPath;
//调用父页面保存方法
that.PostConfig.TripCountryList = JSON.parse(JSON.stringify(that.countriesData));
that.PostConfig.TripCityList = JSON.parse(JSON.stringify(that.citiesData));
that.$emit('saveMsg');
that.$emit('saveMsg',1);
} else {
that.saveLoading = false;
}
......
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