智慧保安互联网APP
zengh
2022-06-21 4efeb31d5b4921d7e851c256009486ad86bc70e2
地址替换
6 files modified
34 ■■■■ changed files
manifest.json 2 ●●● patch | view | raw | blame | history
mapWz/js/vueMain.js 16 ●●●● patch | view | raw | blame | history
store/actions.111.js 6 ●●●● patch | view | raw | blame | history
store/actions.js 4 ●●●● patch | view | raw | blame | history
store/index.js 4 ●●●● patch | view | raw | blame | history
store/mutations.js 2 ●●● patch | view | raw | blame | history
manifest.json
@@ -1,6 +1,6 @@
{
    "name" : "智慧保安",
    "appid" : "__UNI__6A6A0FC",
    "appid" : "__UNI__6862E78",
    "description" : "",
    "versionName" : "1.0.0",
    "versionCode" : "100",
mapWz/js/vueMain.js
@@ -1,6 +1,6 @@
/*
 * @Author: Morpheus
 * @Date: 2021-08-26 16:22:11
 * @Author: Morpheus
 * @Date: 2021-08-26 16:22:11
 * @Last Modified by: Morpheus
 * @Last Modified time: 2021-08-28 15:03:25
 */
@@ -51,13 +51,13 @@
            var url = ''
            if (roleName == '保安公司管理员') {
            if (roleName == '保安公司管理员') {
                url = 'http://223.82.109.183:2080/api/blade-user/pages?&current=1&size=999999&deptId=' + deptid
                url = 'http://61.131.136.25:2080/api/blade-user/pages?&current=1&size=999999&deptId=' + deptid
            } else {
                url = 'http://223.82.109.183:2080/api/blade-user/pages?dispatch=0&jurisdiction=' + jurisdictionId + '&current=1&size=999999'
                url = 'http://61.131.136.25:2080/api/blade-user/pages?dispatch=0&jurisdiction=' + jurisdictionId + '&current=1&size=999999'
            }
@@ -366,7 +366,7 @@
                var city = position.city; //城市
                var addr = position.addr; //详细地址
                that.lat = position.lat; //
                that.lng = position.lng; //火星坐标 //TODO 实现业务代码逻辑
                that.lng = position.lng; //火星坐标 //TODO 实现业务代码逻辑
                if (that.LXdhStart != null) {
                    that.map.removeLayer(that.LXdhStart);
@@ -394,7 +394,7 @@
            };
            function showErr() {
                //TODO 如果出错了调用此方法
                //TODO 如果出错了调用此方法
            };
@@ -419,4 +419,4 @@
    },
    wacth: {}
})
})
store/actions.111.js
@@ -42,7 +42,7 @@
            method: "post",
            //     // dataType: 'JSON',
            success: (res) => {
                var geolocation = null;
                var qqTime = setInterval(function() {
@@ -70,7 +70,7 @@
                        var addr = position.addr; //详细地址
                        wx.request({
                            url: "http://223.82.109.183:2080/api/liveLocation/saveLiveLocationAndLocus",
                            url: "http://61.131.136.25:2080/api/liveLocation/saveLiveLocationAndLocus",
                            method: "post",
                            data: {
                                type: 1,
@@ -89,7 +89,7 @@
                    };
                    function showErr() {
                        //TODO 如果出错了调用此方法
                        //TODO 如果出错了调用此方法
                        alert(123)
                    };
store/actions.js
@@ -74,7 +74,7 @@
                        geocode: true,
                        success: function(wzres) {
                            uni.request({
                                url: "http://223.82.109.183:2080/api/liveLocation/saveLiveLocationAndLocus",
                                url: "http://61.131.136.25:2080/api/liveLocation/saveLiveLocationAndLocus",
                                method: "post",
                                data: {
                                    type: 1,
@@ -99,7 +99,7 @@
                            geocode: true,
                            success: function(wzres) {
                                uni.request({
                                    url: "http://223.82.109.183:2080/api/liveLocation/saveLiveLocationAndLocus",
                                    url: "http://61.131.136.25:2080/api/liveLocation/saveLiveLocationAndLocus",
                                    method: "post",
                                    data: {
                                        type: 1,
store/index.js
@@ -33,9 +33,9 @@
            useName: '过客 ',
        },
        logPath: '',
        piAPI: 'http://223.82.109.183:2080/api',
        piAPI: 'http://61.131.136.25:2080/api',
        // piAPI: 'http://192.168.0.114:81',
        api: 'http://223.82.109.183:2080/api',
        api: 'http://61.131.136.25:2080/api',
        // piAPI: 'http://localhost:83/',
        // piAPI: 'http://192.168.0.115:83',
        puserName: '',
store/mutations.js
@@ -48,7 +48,7 @@
        }
        console.log('登入数据传输成功  开始进入连接')
        var url = 'ws://223.82.109.183:2086/websocket';
        var url = 'ws://61.131.136.25:2086/websocket';
        uni.connectSocket({
            url: url