|
@@ -608,7 +608,7 @@
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
<span slot="footer" class="dialog-footer">
|
|
|
- <el-button type="primary" @click="exportUsers">{{ $t('export.export') }}</el-button>
|
|
|
+ <el-button type="primary" @click="exportUsers" :loading="isExporting">{{ $t('export.export') }}</el-button>
|
|
|
</span>
|
|
|
</el-dialog>
|
|
|
<!-- 转让超级管理员权限 -->
|
|
@@ -946,6 +946,7 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ isExporting: false,
|
|
|
isSyncContact: false,
|
|
|
showSyncDDDialog: false,
|
|
|
transferActiveDialogFlag:false,
|
|
@@ -2436,12 +2437,14 @@ export default {
|
|
|
this.exportDialogVisible = true;
|
|
|
},
|
|
|
exportUsers() {
|
|
|
+ this.isExporting = true;
|
|
|
this.http.post(
|
|
|
"/user/exportUsers",
|
|
|
{
|
|
|
containInvalid: this.containInvalid,
|
|
|
},
|
|
|
(res) => {
|
|
|
+ this.isExporting = false;
|
|
|
if (res.code == "ok") {
|
|
|
this.exportDialogVisible = false;
|
|
|
var aTag = document.createElement("a");
|