[update] bug修改
This commit is contained in:
@@ -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'))
|
||||
}
|
||||
})
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user