智慧保安互联网APP
zengh
2021-08-18 b11c962b71a6fd1e2fe8b88f65c954c61bc67fa3
好友列表修改
11 files modified
39 ■■■■■ changed files
mapWz/js/vueMain.js 2 ●●● patch | view | raw | blame | history
pages/examine/addunit.vue 1 ●●●● patch | view | raw | blame | history
pages/groupChat/chating.vue 4 ●●●● patch | view | raw | blame | history
pages/groupChat/chatingcopy.vue 2 ●●● patch | view | raw | blame | history
pages/groupChat/groupChat.vue 6 ●●●● patch | view | raw | blame | history
pages/registerUser/registerUser.vue 2 ●●● patch | view | raw | blame | history
pages/user/center.vue 9 ●●●●● patch | view | raw | blame | history
store/actions.js 6 ●●●● patch | view | raw | blame | history
store/actions1.js 3 ●●●● patch | view | raw | blame | history
xcxMapWzzzz/js/vueMain copy.js 2 ●●● patch | view | raw | blame | history
xcxMapWzzzz/js/vueMain.js 2 ●●● patch | view | raw | blame | history
mapWz/js/vueMain.js
@@ -36,7 +36,7 @@
            var jurisdictionId = this.GetQueryString('id')
            this.userId = this.GetQueryString('userid')
            axios.get('http://223.82.109.183:2080/api/blade-user/page?size=99999&jurisdiction=' + jurisdictionId).then((res) => {
            axios.get(this.$store.state.piAPI + '/blade-user/page?size=99999&jurisdiction=' + jurisdictionId).then((res) => {
                if (res.data.data.records.length > 0) {
                    res.data.data.records.forEach(item => {
pages/examine/addunit.vue
@@ -91,7 +91,6 @@
        },
        onLoad() {
            this.createData = this.$store.state.UserData
            // http://223.82.109.183:2080/api
        },
        onReachBottom() {
pages/groupChat/chating.vue
@@ -216,7 +216,7 @@
                var that = this;
                that.senId = WxStorage.get("ids");
                uni.request({
                    url:"http://223.82.109.183:2080/api/chat-records/getSingleMessagePage",
                    url:this.$store.state.piAPI + "/chat-records/getSingleMessagePage",
                    method:"get",
                    data:{
                        senderId: that.senId,
@@ -339,7 +339,7 @@
                }
                
                uni.request({
                    url:"http://223.82.109.183:2080/api/chat-records/insertSingleChat",
                    url:this.$store.state.piAPI + "/chat-records/insertSingleChat",
                    method:"post",
                    data:{
                        senderId: that.senId,
pages/groupChat/chatingcopy.vue
@@ -340,7 +340,7 @@
                this.$nextTick(() => {
                    let len = this.msgs.length -1
                    this.scrollToView = 'msg' + this.msgs[len].tip
                })
                })
            },
            // 地图定位
            covers(e) {
pages/groupChat/groupChat.vue
@@ -140,7 +140,7 @@
                var that = this;
                if (this.current == 0) {
                    uni.request({
                        url: "http://223.82.109.183:2080/api/chat-records/getChatListPage",
                        url: this.$store.state.piAPI + "/chat-records/getChatListPage",
                        method: "get",
                        data: {
                            senderId: WxStorage.get("ids")
@@ -158,7 +158,7 @@
                    });
                } else if (this.current == 1) {
                    uni.request({
                        url: "http://223.82.109.183:2080/api/blade-user/page?current=1&size=9999",
                        url: this.$store.state.piAPI + "/blade-user/page?current=1&size=9999",
                        method: "get",
                        data: {
                            senderId: WxStorage.get("ids")
@@ -178,7 +178,7 @@
                } else if (this.current == 2) {
                    uni.request({
                        url: "http://223.82.109.183:2080/api/chatgroup/selectList",
                        url: this.$store.state.piAPI + "/chatgroup/selectList",
                        method: "POST",
                        data: {
                            senderId: WxStorage.get("ids")
pages/registerUser/registerUser.vue
@@ -321,7 +321,7 @@
                //         var img = res.tempFiles;
                //         console.log('img', img)
                //         // imgToBase64(res)
                //         var url = that.$store.state.piAPI + 'blade-user/faceCompare',
                //         var url = that.$store.state.piAPI + '/blade-user/faceCompare',
                //             // var url = 'http://192.168.0.114:82/' + 'blade-user/faceCompare',
                //             data = {
                //                 "name": that.form.name,
pages/user/center.vue
@@ -119,15 +119,6 @@
                    // that.tenantName = this.$store.state.UserData.tenantName
                }
                // uni.request({
                //     url:'http://223.82.109.183:2080/api/blade-user/details?id='+this.$store.state.puserID,
                //     method:'POST',
                //     success(resdata) {
                //         that.name = resdata.data.data.realName;
                //         that.id = resdata.data.data.id;
                //         that.tenantName = resdata.data.data.tenantName;
                //     }
                // })
            },
        },
        mounted() {
store/actions.js
@@ -17,7 +17,7 @@
        var addr = position.addr; //详细地址
        wx.request({
            url: "http://223.82.109.183:2080/api/liveLocation/saveLiveLocationAndLocus",
            url: this.$store.state.piAPI + "/liveLocation/saveLiveLocationAndLocus",
            method: "post",
            data: {
                type: 1,
@@ -58,7 +58,7 @@
                },
            ],
            pasw = md5(data.pass),
            // url = 'http://223.82.109.183:2080/api/blade-auth/oauth/token?tenantId=000000&username=' + data.name +
            // url = this.$store.state.piAPI + '/blade-auth/oauth/token?tenantId=000000&username=' + data.name +
            url = store.state.piAPI + '/blade-auth/oauth/token?tenantId=000000&username=' + data.name +
            ' &password=' + pasw + '&grant_type=password&scope=all&type=account';
        // url ='http://192.168.0.109:82/blade-auth/oauth/token';
@@ -116,7 +116,7 @@
                        30000)
                    uni.request({
                        url: "http://223.82.109.183:2080/api/blade-system/dept/detail?id=" + res
                        url: this.$store.state.piAPI + "/blade-system/dept/detail?id=" + res
                            .data.dept_id,
                        method: "get",
                        data: {
store/actions1.js
@@ -16,7 +16,6 @@
                },
            ],
            pasw = md5(data.pass),
            // url = 'http://223.82.109.183:2080/api/blade-auth/oauth/token?tenantId=000000&username=' + data.name +
            url = store.state.piAPI + '/blade-auth/oauth/token?tenantId=000000&username=' + data.name +
            ' &password=' + pasw + '&grant_type=password&scope=all&type=account';
        // url ='http://192.168.0.109:82/blade-auth/oauth/token';
@@ -73,7 +72,7 @@
                    })
                    uni.request({
                        url: "http://223.82.109.183:2080/api/blade-system/dept/detail?id=" + res
                        url: this.$store.state.piAPI + "/blade-system/dept/detail?id=" + res
                            .data.dept_id,
                        method: "get",
                        data: {
xcxMapWzzzz/js/vueMain copy.js
@@ -35,7 +35,7 @@
            //url解码
            var policeId = this.GetQueryString('id');
            var that = this;
            axios.get('http://223.82.109.183:2080/api/blade-user/page?size=99999&jurisdiction=' + policeId).then((res) => {
            axios.get(this.$store.state.piAPI + '/blade-user/page?size=99999&jurisdiction=' + policeId).then((res) => {
                res.data.data.records.forEach(item => {
                    if (item.longitude && item.latitude) {
                        data.push(item)
xcxMapWzzzz/js/vueMain.js
@@ -35,7 +35,7 @@
            //url解码
            var policeId = this.GetQueryString('id');
            console.log(policeId, 4654645)
            axios.get('http://223.82.109.183:2080/api/blade-user/page?size=99999').then((res) => {
            axios.get(this.$store.state.piAPI + '/blade-user/page?size=99999').then((res) => {
                console.log(res, 4848)
                res.data.data.records.forEach(item => {
                    if (item.longitude && item.latitude) {