From 945a3a2dc92e4ff8fec983db91d5e2611cac2a56 Mon Sep 17 00:00:00 2001 From: zhaomeijing Date: Tue, 26 Apr 2022 10:32:22 +0800 Subject: [PATCH] =?UTF-8?q?[add]=20=E5=8F=82=E6=95=B0=E6=A8=A1=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/views/parameter/template.vue | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/jero-web/src/views/parameter/template.vue b/jero-web/src/views/parameter/template.vue index 98cf3d549..2f6d2e3b0 100644 --- a/jero-web/src/views/parameter/template.vue +++ b/jero-web/src/views/parameter/template.vue @@ -4,10 +4,10 @@
-
+
{{$t('zoneOfApplication')}}
- @@ -15,11 +15,11 @@
-
+
{{$t('parameterTemplate')}}
+ v-model="queryParam.description">
@@ -27,7 +27,7 @@
{{$t('status')}}
- @@ -194,7 +194,7 @@ export default { content: _this.$t('ConfirmBatchDeletion'), onOk() { let idList = JSON.parse(JSON.stringify(_this.selectedRowKeys)) - deleteAction(_this.url.deleteAll, { ids: idList.join(',') }).then((res) => { + postAction(_this.url.deleteAll, { ids: idList.join(',') }).then((res) => { if (res.success) { _this.$message.success(_this.$t('OperationSuccessful')) _this.selectedRowKeys = [] @@ -219,7 +219,7 @@ export default { this.$confirm({ content: _this.$t('ConfirmDelete'), onOk() { - deleteAction(_this.url.deleteBatch, { id: val.id }).then((res) => { + getAction(_this.url.deleteBatch, { id: val.id }).then((res) => { if (res.success) { _this.$message.success(_this.$t('OperationSuccessful')) _this.getList() @@ -278,7 +278,9 @@ export default { this.getList() return } + console.log(res.result.records,'res.result.recordsres.result.records') this.dataSource = res.result.records || [] + // console.log(this.dataSource,'res.result.recordsres.result.records') this.total = res.result.total this.loading = false } else {