From 9f09756fe606cd230f8efadc97f0b002e789db95 Mon Sep 17 00:00:00 2001 From: "zyx.net" Date: Wed, 4 Jan 2023 14:54:39 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A4=E8=AF=81=E5=8F=82=E6=95=B0=E5=88=97?= =?UTF-8?q?=E8=A1=A8=20=E5=88=97=E8=A1=A8=E6=9F=A5=E8=AF=A2=E8=AF=B7?= =?UTF-8?q?=E6=B1=82=E6=96=B9=E5=BC=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/components/tableCollection/index.vue | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/jero-web/src/components/tableCollection/index.vue b/jero-web/src/components/tableCollection/index.vue index 18c5465eb..8dafa8e93 100644 --- a/jero-web/src/components/tableCollection/index.vue +++ b/jero-web/src/components/tableCollection/index.vue @@ -853,20 +853,23 @@ // userTypes: this.currentPersonRole } let url + let action this.loading = true this.$emit('listReset', '') // todo if (this.$route.query.it === undefined) { // 页面跳转 url = this.url.tableList + action = postAction params.paramsManifestId = this.$route.query.id params.userTypes = this.currentPersonRole } else { // 历史版本 + action = getAction url = 'params/collectManifestHistory/list' params.paramsManifestId = this.$route.query.it } - getAction(url, params).then((res) => { + action(url, params).then((res) => { if (res.success) { let tt = [] if (this.currentPersonRole !== 'dre') { @@ -915,12 +918,15 @@ getTableList(currentPersonRole) { let paramsManifestid let url + let action if (this.$route.query.it === undefined) { // 页面跳转 paramsManifestid = this.$route.query.id url = this.url.tableList + action = postAction } else { // 历史版本 + action = getAction paramsManifestid = this.$route.query.it url = 'params/collectManifestHistory/list' } @@ -934,7 +940,7 @@ ...this.queryParamQuery } this.loading = true - getAction(url, params).then((res) => { + action(url, params).then((res) => { if (res.success) { // console.log(res.result,'res.result') // let tt = []