添加导出列表

This commit is contained in:
高嵩
2023-09-26 17:50:54 +08:00
parent 552f196a0b
commit 2b70e816b9
2 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -57,7 +57,7 @@
z-index: 1009;
width: 100%;
height: 100%;
background-color: rgba(255, 255, 255, 0.9);
background-color: rgba(255, 255, 255, 0.3);
border-radius: 8px;
user-select: none;
.loading-content{
@@ -129,6 +129,7 @@
</project-collection-parameters>
</a-drawer>
<JLoading style="position: fixed" :loading="handleModuleLoading">{{$t('pleaseWaitWhileRunning')}}</JLoading>
</a-card>
</template>
@@ -268,7 +269,8 @@
drawerVisible: false,
drawerVisibleitem: false,
titleTag: '',
selectedRowKeysvalArray: []
selectedRowKeysvalArray: [],
handleModuleLoading:false,
}
},
created() {
@@ -397,13 +399,16 @@
} else if (this.selectedRowKeys.length > 1) {
this.$message.warning(_this.$t('OnlyOneSelected'))
} else if (this.selectedRowKeysvalArray[0].state === '已完成' || this.selectedRowKeysvalArray[0].state === 'Finished') {
this.handleModuleLoading = true
getAction(_this.url.changeExtension, { id: this.selectedRowKeys[0] }).then((res) => {
if (res.success) {
_this.$message.success(_this.$t('OperationSuccessful'))
_this.getlist()
_this.handleModuleLoading = false
} else {
_this.$message.warning(res.message)
this.selectedRowKeys = []
_this.handleModuleLoading = false
}
})
} else {