添加导出列表
This commit is contained in:
@@ -57,7 +57,7 @@
|
|||||||
z-index: 1009;
|
z-index: 1009;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background-color: rgba(255, 255, 255, 0.9);
|
background-color: rgba(255, 255, 255, 0.3);
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
.loading-content{
|
.loading-content{
|
||||||
|
|||||||
@@ -129,6 +129,7 @@
|
|||||||
|
|
||||||
</project-collection-parameters>
|
</project-collection-parameters>
|
||||||
</a-drawer>
|
</a-drawer>
|
||||||
|
<JLoading style="position: fixed" :loading="handleModuleLoading">{{$t('pleaseWaitWhileRunning')}}</JLoading>
|
||||||
</a-card>
|
</a-card>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -268,7 +269,8 @@
|
|||||||
drawerVisible: false,
|
drawerVisible: false,
|
||||||
drawerVisibleitem: false,
|
drawerVisibleitem: false,
|
||||||
titleTag: '',
|
titleTag: '',
|
||||||
selectedRowKeysvalArray: []
|
selectedRowKeysvalArray: [],
|
||||||
|
handleModuleLoading:false,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
@@ -397,13 +399,16 @@
|
|||||||
} else if (this.selectedRowKeys.length > 1) {
|
} else if (this.selectedRowKeys.length > 1) {
|
||||||
this.$message.warning(_this.$t('OnlyOneSelected'))
|
this.$message.warning(_this.$t('OnlyOneSelected'))
|
||||||
} else if (this.selectedRowKeysvalArray[0].state === '已完成' || this.selectedRowKeysvalArray[0].state === 'Finished') {
|
} else if (this.selectedRowKeysvalArray[0].state === '已完成' || this.selectedRowKeysvalArray[0].state === 'Finished') {
|
||||||
|
this.handleModuleLoading = true
|
||||||
getAction(_this.url.changeExtension, { id: this.selectedRowKeys[0] }).then((res) => {
|
getAction(_this.url.changeExtension, { id: this.selectedRowKeys[0] }).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
_this.$message.success(_this.$t('OperationSuccessful'))
|
_this.$message.success(_this.$t('OperationSuccessful'))
|
||||||
_this.getlist()
|
_this.getlist()
|
||||||
|
_this.handleModuleLoading = false
|
||||||
} else {
|
} else {
|
||||||
_this.$message.warning(res.message)
|
_this.$message.warning(res.message)
|
||||||
this.selectedRowKeys = []
|
this.selectedRowKeys = []
|
||||||
|
_this.handleModuleLoading = false
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user