Commit e72fd256 authored by zhanglw's avatar zhanglw

调整

parent c77309e6
// 项目配置相关 // 项目配置相关
const config = { const config = {
//ganxu //ganxu
// BASE_URL: 'http://192.168.3.23:9092', BASE_URL: 'http://192.168.3.23:9092',
// REAL_URL: 'http://192.168.3.23:9092', REAL_URL: 'http://192.168.3.23:9092',
// ws: 'http://192.168.3.23:9092', ws: '192.168.3.23:9092',
//服务器 //服务器
BASE_URL: 'http://8.143.203.103:9092',
REAL_URL: 'http://8.143.203.103:9092',
ws: 'http://8.143.203.103:9092',
// BASE_URL: 'http://39.164.225.220:5000', // BASE_URL: 'http://39.164.225.220:5000',
// REAL_URL: 'http://39.164.225.220:5000', // REAL_URL: 'http://39.164.225.220:5000',
// ws: '39.164.225.220:5000', // ws: '39.164.225.220:5000',
......
...@@ -57,8 +57,8 @@ export default { ...@@ -57,8 +57,8 @@ export default {
data() { data() {
return { return {
loginForm: { loginForm: {
username: "", username: "五号电铲司机",
password: "", password: "123456",
uuid: "", uuid: "",
}, },
loading: false, loading: false,
...@@ -80,7 +80,6 @@ export default { ...@@ -80,7 +80,6 @@ export default {
this.getCookie(); this.getCookie();
}, },
mounted() { mounted() {
console.log(window, 1111111);
//两种方法相互冲突,每次只需要一种,并且获取的id不一样 //两种方法相互冲突,每次只需要一种,并且获取的id不一样
//app获取设备号方法 //app获取设备号方法
...@@ -133,11 +132,11 @@ export default { ...@@ -133,11 +132,11 @@ export default {
//5+app获取OAID方法 //5+app获取OAID方法
plusReady() { plusReady() {
let that = this; let that = this;
console.log("设备身份码:" + plus.device.imei); // console.log("设备身份码:" + plus.device.imei);
console.log("用户识别码:" + plus.device.imsi); // console.log("用户识别码:" + plus.device.imsi);
console.log("设备型号信息:" + plus.device.model); // console.log("设备型号信息:" + plus.device.model);
console.log("设备厂商信息:" + plus.device.vendor); // console.log("设备厂商信息:" + plus.device.vendor);
console.log("设备唯一标识号:" + plus.device.uuid); // console.log("设备唯一标识号:" + plus.device.uuid);
// plus.device.getOAID({ // plus.device.getOAID({
// success: function (e) { // success: function (e) {
// console.log("oaid", e.oaid); // console.log("oaid", e.oaid);
...@@ -658,4 +657,4 @@ export default { ...@@ -658,4 +657,4 @@ export default {
left: 0; left: 0;
z-index: 100; z-index: 100;
} }
</style> </style>
\ No newline at end of file
...@@ -238,7 +238,7 @@ export default { ...@@ -238,7 +238,7 @@ export default {
zongTimer3: null, zongTimer3: null,
submitReportFormId: null, submitReportFormId: null,
mapDom: null, mapDom: null,
mapCenter: [114.14911, 35.683],//[122.04700, 37.4890], mapCenter: [122.04700, 37.4890],//[114.14911, 35.683],//[122.04700, 37.4890],
posTimer: null, posTimer: null,
currArea: null, currArea: null,
optFlag: false, optFlag: false,
...@@ -356,7 +356,6 @@ export default { ...@@ -356,7 +356,6 @@ export default {
baseLayer: new maptalks.TileLayer('baseTitle', { baseLayer: new maptalks.TileLayer('baseTitle', {
urlTemplate: `http://t{s}.tianditu.com/DataServer?T=img_w&X={x}&Y={y}&L={z}&tk=de0dc270a51aaca3dd4e64d4f8c81ff6`, urlTemplate: `http://t{s}.tianditu.com/DataServer?T=img_w&X={x}&Y={y}&L={z}&tk=de0dc270a51aaca3dd4e64d4f8c81ff6`,
subdomains: ['1', '2', '3', '4'], subdomains: ['1', '2', '3', '4'],
cssFilter: 'sepia(75%) invert(90%)',
}), }),
layers: [ layers: [
new maptalks.ImageLayer('images', new maptalks.ImageLayer('images',
......
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