From fa3a63a4f4d5708be66e5164a0096e6fd3da3b36 Mon Sep 17 00:00:00 2001 From: sunFlower <787203167@qq.com> Date: Fri, 23 Sep 2022 11:33:29 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E6=94=B9=E4=B8=89=E6=9C=9F=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/RegulationMonthlyFill.vue | 23 ++++++++++++++++++- jero-web/vue.config.js | 2 +- 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/jero-web/src/views/businessSupport/regulationReport/components/RegulationMonthlyFill.vue b/jero-web/src/views/businessSupport/regulationReport/components/RegulationMonthlyFill.vue index 35a2c70b1..008c74166 100644 --- a/jero-web/src/views/businessSupport/regulationReport/components/RegulationMonthlyFill.vue +++ b/jero-web/src/views/businessSupport/regulationReport/components/RegulationMonthlyFill.vue @@ -74,6 +74,7 @@ :columns="columns" > + {{$t('copy')}} {{$t('view')}} {{$t('edit')}} {{$t('deleteLib')}} @@ -181,7 +182,7 @@ title: this.$t('operation'), align: 'center', fixed: 'right', - width: 180, + width: 190, scopedSlots: { customRender: 'operation' } } ] @@ -192,6 +193,26 @@ this.getList() }, methods: { + copyClick(row){ + let _this = this + this.$confirm({ + content: _this.$t('ConfirmReplication'), + onOk() { + let query = JSON.parse(JSON.stringify(row)) + delete query.id + delete query.exportState + delete query.exportStateName + postAction('/report/lawsMonthlyReportWriteEO/add', query).then((res) => { + if (res.success) { + _this.$message.success(_this.$t('OperationSuccessful')) + _this.getList() + } else { + _this.$message.warning(res.message) + } + }) + } + }) + }, dateChange(item) { this.queryParam[item.db_field_name] = this.queryParam[item.db_field_name] ? moment(this.queryParam[item.db_field_name]).format('YYYY-MM') : '' this.queryParam = { ...this.queryParam } diff --git a/jero-web/vue.config.js b/jero-web/vue.config.js index cc121368a..f8a8eae61 100644 --- a/jero-web/vue.config.js +++ b/jero-web/vue.config.js @@ -92,7 +92,7 @@ module.exports = { } }, */ '/jero-boot': { - target: 'http://localhost:8080', //请求本地 jero-boot后台项目 + target: 'http://10.0.1.14:8080', //请求本地 jero-boot后台项目 // target: 'http://10.10.10.46:8101', //请求本地 jero-boot后台项目 // target: 'http://10.0.1.25:8080', // target: 'http://10.0.1.5:8080',