[update] bug修改

This commit is contained in:
zhaomeijing
2022-06-15 11:32:26 +08:00
parent eff18530e7
commit eb4d6eb4e3
4 changed files with 18 additions and 8 deletions
@@ -910,6 +910,7 @@ export default {
},
// 提交数据
ishandleSubmit() {
let _this = this
let postDate = []
this.selectedRowKeysValue.forEach((item, index) => {
let postDateobj = {}
@@ -932,12 +933,19 @@ export default {
if(this.selectedRowKeys.length == 0) {
this.$message.warning(this.$t('selectLeastOne'))
}else {
postAction(this.url.add, configDataList).then((res) => {
if (res.success) {
this.GetgetTableList()
this.$message.success(this.$t('OperationSuccessful'))
} else {
this.$message.warning(this.$t('operationFailed'))
let _configDataListNo = []
this.$confirm({
content: _this.$t('Areyousureparameteritems'),
onOk() {
console.log(configDataList,'configDataListconfigDataList')
postAction(_this.url.add, configDataList).then((res) => {
if (res.success) {
_this.GetgetTableList()
_this.$message.success(this.$t('OperationSuccessful'))
} else {
_this.$message.warning(this.$t('operationFailed'))
}
})
}
})
}