智慧保安互联网APP
shuishen
2021-07-31 1a36c8ac09c29c62c41edc24cb215b0c1fc3ba4b
逻辑完善
8 files modified
40 ■■■■ changed files
pages/company/company.vue 2 ●●● patch | view | raw | blame | history
pages/dispatch/imgissue.vue 1 ●●●● patch | view | raw | blame | history
pages/dispatch/look.vue 24 ●●●● patch | view | raw | blame | history
pages/message/message.vue 4 ●●●● patch | view | raw | blame | history
pages/report/initiate.vue 4 ●●●● patch | view | raw | blame | history
pages/report/receive.vue 2 ●●● patch | view | raw | blame | history
pages/report/send.vue 1 ●●●● patch | view | raw | blame | history
pages/securityStaff/exhibition.vue 2 ●●● patch | view | raw | blame | history
pages/company/company.vue
@@ -112,7 +112,7 @@
                                    that.newsList.push(that.dataList[that.pagelist]);
                                    flag = false;
                                    that.flag = false;
                                    this.status = 'nomore';
                                }
                            }
pages/dispatch/imgissue.vue
@@ -68,7 +68,6 @@
            };
        },
        onLoad() {
            console.log(this.$store.state)
        },
        onReachBottom() {
pages/dispatch/look.vue
@@ -144,7 +144,7 @@
                                    that.newsList.push(that.dataList[that.pagelist]);
                                    flag = false;
                                    that.flag = false;
                                    this.status = 'nomore';
                                }
                            }
@@ -159,7 +159,7 @@
                    url: this.$store.state.piAPI + "/directive/page?sendDirectiveId=" + this.$store.state.puserID,
                    method: "get",
                    data: {
                    },
                    success: (res) => {
                        var resdata = res.data.data.records;
@@ -167,28 +167,28 @@
                        that.newsList = [];
                        that.flag = true;
                        that.dataList = resdata;
                        var flag = true;
                        for (var i = 0; i < 5; i++) {
                            if (that.pagelist <= that.dataList.length - 2) {
                                that.newsList.push(that.dataList[that.pagelist++]);
                            } else {
                                if (that.dataList.length - 1 == that.pagelist && flag == true) {
                                    that.newsList.push(that.dataList[that.pagelist]);
                                    flag = false;
                                    that.flag = false;
                                    this.status = 'nomore';
                                }
                            }
                        }
                    }
                });
            },
pages/message/message.vue
@@ -143,7 +143,7 @@
                                    that.newsList.push(that.dataList[that.pagelist]);
                                    flag = false;
                                    that.flag = false;
                                    this.status = 'nomore';
                                }
                            }
@@ -182,7 +182,7 @@
                                    that.newsList.push(that.dataList[that.pagelist]);
                                    flag = false;
                                    that.flag = false;
                                    this.status = 'nomore';
                                }
                            }
pages/report/initiate.vue
@@ -82,10 +82,10 @@
                form: {
                    content: '',
                    category: '',
                    type: '',
                    recipient: '',
                    categoryText: '',
                    type: '',
                    typeText: '',
                    recipient: '',
                    recipientText: ''
                },
                rules: {
pages/report/receive.vue
@@ -110,7 +110,7 @@
                                    that.newsList.push(that.dataList[that.pagelist]);
                                    flag = false;
                                    that.flag = false;
                                    this.status = 'nomore';
                                }
                            }
pages/report/send.vue
@@ -113,6 +113,7 @@
                                    that.newsList.push(that.dataList[that.pagelist]);
                                    flag = false;
                                    this.status = 'nomore';
                                    that.flag = false;
                                    
                                }
pages/securityStaff/exhibition.vue
@@ -112,7 +112,7 @@
                                    that.newsList.push(that.dataList[that.pagelist]);
                                    flag = false;
                                    that.flag = false;
                                    this.status = 'nomore';
                                }
                            }