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 = []