diff --git a/jero-web/src/components/tableCollection/index.vue b/jero-web/src/components/tableCollection/index.vue
index 8103f72e0..f29c53e4e 100644
--- a/jero-web/src/components/tableCollection/index.vue
+++ b/jero-web/src/components/tableCollection/index.vue
@@ -335,7 +335,6 @@
this.getHeader()
eventBUs.$on('getTableList', search => {
this.queryParamQuery = search
- console.log(this.queryParamQuery)
this.getTableList()
})
},
diff --git a/jero-web/src/views/parameter/managementdetails/index.vue b/jero-web/src/views/parameter/managementdetails/index.vue
index d178b43be..703ffe5b8 100644
--- a/jero-web/src/views/parameter/managementdetails/index.vue
+++ b/jero-web/src/views/parameter/managementdetails/index.vue
@@ -62,7 +62,7 @@
{{$t('sdt')}}
+
+
+
@@ -1555,40 +1564,21 @@
if (this.selectedRowKeys.length > 0) {
let _this = this
this.$confirm({
- content: _this.$t('ConfirmBatchDeletion'),
+ content: this.$t('ConfirmBatchDeletion'),
onOk() {
_this.textLoading = true
- axios({
- url: '/jero-boot/params/collectManifest/deleteBatch',
- method: 'post',
- data: param,
- transformRequest: [function(data) {
- let ret = ''
- for (let it in data) {
- ret += encodeURIComponent(it) + '=' + encodeURIComponent(data[it]) + '&'
- }
- return ret
- }],
- headers: {
- 'Content-Type': 'application/x-www-form-urlencoded',
- 'X-Access-Token': _this.token
+ postAction('/params/collectManifest/deleteBatch', param).then((res) => {
+ if (res.success) {
+ _this.$message.success(_this.$t('OperationSuccessful'))
+ _this.selectedRowKeys = []
+ console.log(111)
+ _this.$refs.CollectionTabel.getTableList(_this.queryParamQuery)
+ _this.textLoading = false
+ } else {
+ _this.textLoading = false
+ _this.$message.warning(this.$t('operationFailed'))
}
})
- .then((res) => {
- if (res.data.success) {
- _this.$message.success(_this.$t('OperationSuccessful'))
- _this.selectedRowKeys = []
- // _this.$refs.CollectionTabel.getData()
- _this.$refs.CollectionTabel.getTableList(this.queryParamQuery)
- _this.textLoading = false
- } else {
- _this.textLoading = false
- _this.$message.warning(_this.$t('operationFailed'))
- }
- })
- .catch((error) => {
- _this.textLoading = false
- })
}
})
} else {