Commit 20821369 authored by 华国豪's avatar 华国豪 🙄

1

parent 6e7b826f
......@@ -118,6 +118,10 @@ export default {
mounted() {
let userInfo = this.getLocalStorage();
let RB_Branch_id = userInfo.RB_Branch_id;
let departState = this.$route.query.departState;
if (departState === 'true') {
RB_Branch_id = -1
}
this.apipost('admin_get_GetBranchLngLat', {BranchId: RB_Branch_id}, r=>{
if (r.data.resultCode == 1) {
this.centerP = r.data.data[0]
......
......@@ -656,7 +656,7 @@ export default {
this.$router.push({ name:"CustomerAnalysis",query:{"customerId":item.CustomerIdS,blank: 'y'} })
},
getMap(){
this.$router.push({ name:"customerMap",query:{blank: 'y'} })
this.$router.push({ name:"customerMap",query:{departState: this.departState, blank: 'y'} })
},
updateData: function(obj) {
this.apipost(
......
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