Min 1 år sedan
förälder
incheckning
0f19c0c770
1 ändrade filer med 8 tillägg och 0 borttagningar
  1. 8 0
      fhKeeper/formulahousekeeper/timesheet/src/views/team/index.vue

+ 8 - 0
fhKeeper/formulahousekeeper/timesheet/src/views/team/index.vue

@@ -2629,10 +2629,17 @@ export default {
       );
     },
     syncFeishu(){
+      const loading = this.$loading({
+          lock: true,
+          text: '同步中',
+          spinner: 'el-icon-loading',
+          background: 'rgba(0, 0, 0, 0.7)'
+        });
       this.http.post(
             "/feishu-info/getFeishuMembsFromPlatform",
             {},
             (res) => {
+              loading.close()
               if (res.code == "ok") {
                 this.$message({
                   message: '同步成功',
@@ -2646,6 +2653,7 @@ export default {
               }
             },
             (error) => {
+              loading.close()
               this.listLoading = false;
               this.$message({
                 message: error,