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