kuaifan 5 лет назад
Родитель
Сommit
16dbcbbed8

+ 6 - 0
resources/assets/js/main/components/UseridInput.vue

@@ -249,6 +249,9 @@
                                 this.spinShow = false;
                                 this.noDataText = "没有相关的数据";
                             },
+                            error: () => {
+                                this.noDataText = "数据加载失败!";
+                            },
                             success: (res) => {
                                 if (res.ret === 1 && res.data.total > 0) {
                                     let tmpData = res.data[0];
@@ -382,6 +385,9 @@
                         this.spinShow = false;
                         this.noDataText = "没有相关的数据";
                     },
+                    error: () => {
+                        this.noDataText = "数据加载失败!";
+                    },
                     success: (res) => {
                         if (res.ret === 1) {
                             this.userLists = res.data;

+ 3 - 0
resources/assets/js/main/components/project/archived.vue

@@ -218,6 +218,9 @@
                     complete: () => {
                         this.loadIng--;
                     },
+                    error: () => {
+                        this.noDataText = "数据加载失败!";
+                    },
                     success: (res) => {
                         if (res.ret === 1) {
                             this.lists = res.data.lists;

+ 3 - 0
resources/assets/js/main/components/project/header/archived.vue

@@ -201,6 +201,9 @@
                     complete: () => {
                         this.loadIng--;
                     },
+                    error: () => {
+                        this.noDataText = "数据加载失败!";
+                    },
                     success: (res) => {
                         if (res.ret === 1) {
                             this.lists = res.data.lists;

+ 3 - 0
resources/assets/js/main/components/project/header/create.vue

@@ -145,6 +145,9 @@
                     complete: () => {
                         this.loadIng--;
                     },
+                    error: () => {
+                        this.noDataText = "数据加载失败!";
+                    },
                     success: (res) => {
                         if (res.ret === 1) {
                             this.lists = res.data.lists;

+ 3 - 0
resources/assets/js/main/components/project/my/favor.vue

@@ -143,6 +143,9 @@
                     complete: () => {
                         this.loadIng--;
                     },
+                    error: () => {
+                        this.noDataText = "数据加载失败!";
+                    },
                     success: (res) => {
                         if (res.ret === 1) {
                             this.lists = res.data.lists;

+ 3 - 0
resources/assets/js/main/components/project/my/join.vue

@@ -136,6 +136,9 @@
                     complete: () => {
                         this.loadIng--;
                     },
+                    error: () => {
+                        this.noDataText = "数据加载失败!";
+                    },
                     success: (res) => {
                         if (res.ret === 1) {
                             this.lists = res.data.lists;

+ 3 - 0
resources/assets/js/main/components/project/my/manage.vue

@@ -136,6 +136,9 @@
                     complete: () => {
                         this.loadIng--;
                     },
+                    error: () => {
+                        this.noDataText = "数据加载失败!";
+                    },
                     success: (res) => {
                         if (res.ret === 1) {
                             this.lists = res.data.lists;

+ 3 - 0
resources/assets/js/main/components/project/statistics.vue

@@ -309,6 +309,9 @@
                     complete: () => {
                         this.loadIng--;
                     },
+                    error: () => {
+                        this.noDataText = "数据加载失败!";
+                    },
                     success: (res) => {
                         if (tempType != this.taskType) {
                             return;

+ 3 - 0
resources/assets/js/main/components/project/task/files.vue

@@ -351,6 +351,9 @@
                     complete: () => {
                         this.loadIng--;
                     },
+                    error: () => {
+                        this.noDataText = "数据加载失败!";
+                    },
                     success: (res) => {
                         if (res.ret === 1) {
                             this.lists = res.data.lists;

+ 3 - 0
resources/assets/js/main/components/project/task/lists.vue

@@ -318,6 +318,9 @@
                     complete: () => {
                         this.loadIng--;
                     },
+                    error: () => {
+                        this.noDataText = "数据加载失败!";
+                    },
                     success: (res) => {
                         if (res.ret === 1) {
                             this.lists = res.data.lists;

+ 3 - 0
resources/assets/js/main/components/project/todo/attention.vue

@@ -166,6 +166,9 @@
                     complete: () => {
                         this.loadIng--;
                     },
+                    error: () => {
+                        this.noDataText = "数据加载失败!";
+                    },
                     success: (res) => {
                         if (res.ret === 1) {
                             this.lists = res.data.lists;

+ 3 - 0
resources/assets/js/main/components/project/todo/complete.vue

@@ -148,6 +148,9 @@
                     complete: () => {
                         this.loadIng--;
                     },
+                    error: () => {
+                        this.noDataText = "数据加载失败!";
+                    },
                     success: (res) => {
                         if (res.ret === 1) {
                             this.lists = res.data.lists;

+ 3 - 0
resources/assets/js/main/components/project/users.vue

@@ -202,6 +202,9 @@
                     complete: () => {
                         this.loadIng--;
                     },
+                    error: () => {
+                        this.noDataText = "数据加载失败!";
+                    },
                     success: (res) => {
                         if (res.ret === 1) {
                             this.lists = res.data.lists;

+ 3 - 0
resources/assets/js/main/pages/team.vue

@@ -270,6 +270,9 @@
                     complete: () => {
                         this.loadIng--;
                     },
+                    error: () => {
+                        this.noDataText = "数据加载失败!";
+                    },
                     success: (res) => {
                         if (res.ret === 1) {
                             this.lists = res.data.lists;