Merge remote-tracking branch 'origin/master'
# Conflicts:
# pages/myself/childen/xinxi.vue
| | |
| | | tenantNameArray:[], |
| | | tenantNameArrayIndex:0, |
| | | tenantNameArrayType:'请选择客户', |
| | | tenantNameColor:"#808080" |
| | | tenantNameColor:"#808080", |
| | | pathUrl:"http://s16s652780.51mypc.cn/api", |
| | | } |
| | | }, |
| | | onLoad() { |
| | |
| | | getTenantList(){ |
| | | var that = this; |
| | | uni.request({ |
| | | url: 'https://web.byisf.com/api/blade-system/tenant/page', |
| | | url: that.pathUrl + '/blade-system/tenant/page', |
| | | method:'GET', |
| | | success: (res) => { |
| | | that.tenantArr = res.data.data.records; |
| | |
| | | +"&ownerId="+this.ownerId; |
| | | uni.request({ |
| | | // url: 'http://localhost:89/equipment/equipment/AppSubmit?'+params, |
| | | url: 'https://web.byisf.com/api/blade-jfpts/equipment/equipment/AppSubmit?'+params, |
| | | url: that.pathUrl + '/blade-jfpts/equipment/equipment/AppSubmit?'+params, |
| | | method:'POST', |
| | | success: (res) => { |
| | | if(res.data.code==200){ |
| | |
| | | typeArray:["学校","医院","小区"], |
| | | typeArrayIndex:0, |
| | | typeArrayType:'请选择客户类型', |
| | | pathUrl:"https://web.byisf.com/api/blade-system", |
| | | pathUrl:"http://s16s652780.51mypc.cn/api", |
| | | // pathUrl: "http://localhost:8106" |
| | | } |
| | | }, |
| | |
| | | getTenantList(){ |
| | | var that = this; |
| | | uni.request({ |
| | | url: this.pathUrl + '/tenant/page', |
| | | url: this.pathUrl + '/blade-system/tenant/page', |
| | | method:'GET', |
| | | success: (res) => { |
| | | that.tenantArr = res.data.data.records; |
| | |
| | | //提交修改 |
| | | confirm(){ |
| | | uni.request({ |
| | | url: 'https://web.byisf.com/api/blade-system/tenant/submit', |
| | | url: this.pathUrl +'/blade-system/tenant/submit', |
| | | method:'POST', |
| | | data:{ |
| | | "id":this.id, |
| | |
| | | typeArray:["学校","医院","小区"], |
| | | typeArrayIndex:0, |
| | | typeArrayType:'请选择客户类型', |
| | | pathUrl:"https://web.byisf.com/api/blade-system", |
| | | pathUrl:"http://s16s652780.51mypc.cn/api", |
| | | // pathUrl: "http://localhost:8106", |
| | | } |
| | | }, |
| | |
| | | //提交修改 |
| | | confirm(){ |
| | | uni.request({ |
| | | url: this.pathUrl + '/tenant/save', |
| | | url: this.pathUrl + '/blade-system/tenant/save', |
| | | method:'POST', |
| | | data:{ |
| | | // "id":this.id, |
| | |
| | | var longitude = wx.getStorageSync("longitude"); |
| | | |
| | | // alert(wx.getStorageSync("longitude")); |
| | | that.urls = "https://web.byisf.com/xcxjingqingmap_lxdh/lxdhmap.html?data=" + data + "&latitude=" + |
| | | that.urls = "http://s16s652780.51mypc.cn/xcxjingqingmap_lxdh/lxdhmap.html?data=" + data + "&latitude=" + |
| | | latitude + "&longitude=" + longitude; |
| | | |
| | | |
| | |
| | | }else{ |
| | | data = options.data; |
| | | } |
| | | this.urls = "https://web.byisf.com/xcxMapJQ/xcxmap.html?data=" + data; |
| | | this.urls = "http://s16s652780.51mypc.cn/xcxMapJQ/xcxmap.html?data=" + data; |
| | | // this.dataList = data; |
| | | console.log(this.urls); |
| | | }, |
| | |
| | | |
| | | |
| | | <view class="down"> |
| | | <view class="title">安防管理系统 Copyright © 江西北邮信息通信技术有限公司</view> |
| | | <view class="title" :style="{left:left}">安防管理系统 Copyright © 江西北邮信息通信技术有限公司</view> |
| | | </view> |
| | | |
| | | </view> |
| | | </template> |
| | | |
| | | <script> |
| | | export default { |
| | | data() { |
| | | return { |
| | | left:'47px', |
| | | }; |
| | | }, |
| | | onLoad() { |
| | | var that = this; |
| | | //使用延时执行待页面完全渲染再执行 |
| | | setTimeout(()=>{ |
| | | uni.getSystemInfo({ |
| | | success(res) { |
| | | let obj = uni.createSelectorQuery().select('.title') |
| | | obj.boundingClientRect(function (data) { // data - 各种参数 |
| | | that.left = (res.windowWidth - data.width)/2 + "px"; |
| | | }).exec() |
| | | } |
| | | }) |
| | | },0); |
| | | }, |
| | | methods: { |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | |
| | | |
| | | .title{ |
| | | // background-color: #0078A8; |
| | | // width: 584rpx; |
| | | position: fixed; |
| | | text-align: center; |
| | | bottom: 1.5%; |
| | | left: calc((100% - 582rpx)/2); |
| | | text-align: center; |
| | | // left: calc((100% - 640rpx)/2); |
| | | // text-align: center; |
| | | font-size: 22rpx; |
| | | color: #808080; |
| | | } |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import WxStorage from "../../../static/lib/wxStorage.js" //微信Storage |
| | | export default{ |
| | | data(){ |
| | | return{ |
| | |
| | | var userID = WxStorage.get("ids") |
| | | console.log(userID) |
| | | uni.request({ |
| | | url: 'https://web.byisf.com/api/blade-user/details?id='+userID, |
| | | |
| | | url: 'http://s16s652780.51mypc.cn/api/blade-user/details?id='+this.$store.state.puserID, |
| | | method:'POST', |
| | | success: (res) => { |
| | | that.user=res.data.data; |
| | |
| | | onLoad: function(options) { |
| | | //long 转换为字符串 |
| | | var code = JSON.stringify(this.$store.state.puserID.toString()); |
| | | this.urls = "https://web.byisf.com/xcxjingqingmap_patrol/xcxmap.html?snumber="+code; |
| | | this.urls = "http://s16s652780.51mypc.cn/xcxjingqingmap_patrol/xcxmap.html?snumber="+code; |
| | | }, |
| | | } |
| | | </script> |
| | |
| | | display1:'none', |
| | | display2:'none', |
| | | display3:'none', |
| | | pathUrl:"https://web.byisf.com/api/blade-jfpts", |
| | | pathUrl:"http://s16s652780.51mypc.cn/api", |
| | | // pathUrl: "http://localhost:89", |
| | | riskClassArray:["一级","二级","三级","四级"], |
| | | riskClassArrayIndex:0, |
| | |
| | | getTenantList(){ |
| | | var that = this; |
| | | uni.request({ |
| | | url: 'https://web.byisf.com/api/blade-system/tenant/page', |
| | | url: this.pathUrl + '/blade-system/tenant/page', |
| | | method:'GET', |
| | | success: (res) => { |
| | | that.tenantArr = res.data.data.records; |
| | |
| | | //提交修改 |
| | | confirm(){ |
| | | uni.request({ |
| | | url: this.pathUrl + '/riskReporting/save', |
| | | url: this.pathUrl + '/blade-jfpts/riskReporting/save', |
| | | method:'POST', |
| | | data:{ |
| | | "riskTime":this.riskTime, |
| | |
| | | display1:'none', |
| | | display2:'none', |
| | | display3:'none', |
| | | pathUrl:"https://web.byisf.com/api/blade-jfpts", |
| | | pathUrl:"http://s16s652780.51mypc.cn/api", |
| | | // pathUrl: "http://localhost:89", |
| | | tenantArr:[], |
| | | ynameArray:[], |
| | |
| | | getTenantList(){ |
| | | var that = this; |
| | | uni.request({ |
| | | url: 'https://web.byisf.com/api/blade-system/tenant/page', |
| | | url: this.pathUrl + '/blade-system/tenant/page', |
| | | method:'GET', |
| | | success: (res) => { |
| | | that.tenantArr = res.data.data.records; |
| | |
| | | //提交修改 |
| | | confirm(){ |
| | | uni.request({ |
| | | url: this.pathUrl + '/visitrecord/visitrecord/save', |
| | | url: this.pathUrl + '/blade-jfpts/visitrecord/visitrecord/save', |
| | | method:'POST', |
| | | data:{ |
| | | // "visitrecord": |
| | |
| | | useName: '过客 ', |
| | | }, |
| | | logPath: '', |
| | | piAPI: 'https://web.byisf.com/api/', |
| | | piAPI: 'http://s16s652780.51mypc.cn/api/', |
| | | puserName: '陈慧英', |
| | | puserID: '1370564873280430082', |
| | | puserIphone:'15649685246', |
| | |
| | | //警情点查询 |
| | | axios({ |
| | | method: "post", |
| | | url: `https://web.byisf.com/api/blade-jfpts/alarm/alarm/APP-getAlarming`, |
| | | url: `http://s16s652780.51mypc.cn/api/blade-jfpts/alarm/alarm/APP-getAlarming`, |
| | | params: { |
| | | securityId: "1370564873280430082", |
| | | }, |
| | |
| | | |
| | | //基础路径 |
| | | // pathUrl: "http://localhost:89", |
| | | pathUrl: "https://web.byisf.com/api/blade-jfpts", |
| | | pathUrl: "http://s16s652780.51mypc.cn/api/blade-jfpts", |
| | | |
| | | layer: null, |
| | | |