智慧保安APP验收版本
shuishen
2021-12-03 31a5c00aeb725b8aaccca1d9fab4f074aae4d22d
部分修改
3 files modified
15 ■■■■ changed files
pages/dispatch/index.vue 7 ●●●● patch | view | raw | blame | history
pages/home/home.vue 6 ●●●●● patch | view | raw | blame | history
pages/message/addMessage.vue 2 ●●●●● patch | view | raw | blame | history
pages/dispatch/index.vue
@@ -58,11 +58,6 @@
                            url: '../dispatch/send'
                        },
                        {
                            name: '接收指令查询',
                            img: '/static/images/dispatch/look.png',
                            url: '../dispatch/receive'
                        },
                        {
                            name: '文字指令下发',
                            img: '/static/images/dispatch/issue.png',
                            url: '../dispatch/text'
@@ -93,7 +88,7 @@
<style lang="scss">
    .container {
        background-color: #f7f7f7;
        min-height: 100%;
        min-height: 100vh;
        overflow: hidden;
    }
pages/home/home.vue
@@ -344,7 +344,7 @@
            getArtcilePageList() {
                var that = this;
                uni.request({
                    url: this.$store.state.piAPI + "/blade-desk/notice/page?category=1&deptId=" + this.$store.state
                    url: this.$store.state.piAPI + "/blade-desk/notice/page?category=2&deptId=" + this.$store.state
                        .UserData
                        .dept_id,
                    method: 'GET',
@@ -356,10 +356,10 @@
                    success: (res) => {
                        if (res.data.code == 200) {
                            if (res.data.data.records) {
                                //如果总数小于pageSize,不做其他操作
                                if (res.data.data.total < this.pagesize) {
                                    that.newsList = res.data.data.records;
                                    this.status = 'nomore'
                                } else {
                                    if (res.data.data.records.length < this.pagesize) {
                                        //如果数量小于分页数量,则为最后一页
@@ -369,13 +369,11 @@
                                        this.status = 'loading';
                                    }
                                    res.data.data.records.forEach(item => {
                                        console.log(item);
                                        that.newsList.push(item);
                                    })
                                }
                            }
                            uni.stopPullDownRefresh();
                        }
                    }
                });
pages/message/addMessage.vue
@@ -163,8 +163,6 @@
                        data: data,
                        success: (res) => {
                            console.log(res, 546)
                            this.recipientList = []
                            res.data.data.records.forEach(item => {