修改法规清单流程重置
This commit is contained in:
@@ -2246,6 +2246,7 @@
|
|||||||
this.$refs.ruleFormReset.validate(valid => {
|
this.$refs.ruleFormReset.validate(valid => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
let _this = this
|
let _this = this
|
||||||
|
_this.confirmLoadingReset = true
|
||||||
let idList = JSON.parse(JSON.stringify(_this.selectedRowKeys))
|
let idList = JSON.parse(JSON.stringify(_this.selectedRowKeys))
|
||||||
postAction('/project/projectLawsInventoryEO/change', {
|
postAction('/project/projectLawsInventoryEO/change', {
|
||||||
ids: idList.join(','),
|
ids: idList.join(','),
|
||||||
@@ -2254,11 +2255,13 @@
|
|||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
_this.$message.success(_this.$t('OperationSuccessful'))
|
_this.$message.success(_this.$t('OperationSuccessful'))
|
||||||
|
_this.confirmLoadingReset = false
|
||||||
_this.selectedRowKeys = []
|
_this.selectedRowKeys = []
|
||||||
_this.pageNo = 1
|
_this.pageNo = 1
|
||||||
_this.getList()
|
_this.getList()
|
||||||
} else {
|
} else {
|
||||||
_this.$message.warning(_this.$t('operationFailed'))
|
_this.$message.warning(_this.$t('operationFailed'))
|
||||||
|
_this.confirmLoadingReset = false
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user