From d314e67a80478cebdc7fa7f0256cf56de2687242 Mon Sep 17 00:00:00 2001 From: "15881625488@163.com" <15881625488@163.com> Date: Thu, 15 Jan 2026 15:30:12 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A[=E8=AF=95=E9=AA=8C=E7=AE=A1?= =?UTF-8?q?=E7=90=86][=E9=A2=84=E5=A1=AB=E8=A1=A8=E5=8D=95]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lang/en.js | 2 +- src/views/business/study/comp/ytbd/Bj.vue | 10 +++++++++- vue.config.js | 4 ++-- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/src/lang/en.js b/src/lang/en.js index 59ade19..4c12898 100644 --- a/src/lang/en.js +++ b/src/lang/en.js @@ -80,7 +80,7 @@ export default { close: 'Close', operate: 'Action', delete: 'Delete', - detail: 'View', + detail: 'Dtail', placeholderInput: 'Please Input', placeholderSelect: 'Please Select', confirmDelete: 'Confirm Delete?', diff --git a/src/views/business/study/comp/ytbd/Bj.vue b/src/views/business/study/comp/ytbd/Bj.vue index e58df45..71bf42f 100644 --- a/src/views/business/study/comp/ytbd/Bj.vue +++ b/src/views/business/study/comp/ytbd/Bj.vue @@ -196,6 +196,14 @@ export default { this.$refs["form"].validate(valid => { if (valid) { this.showIndex = 2 + this.$modal.loading() + studyFormPre_bc(this.form).then(response => { + this.form = response.data + this.templateData = deepClone(this.form) + this.showIndex = 2 + }).finally(() => { + this.$modal.closeLoading() + }) } }) }, @@ -236,7 +244,7 @@ export default { studyFormPre_info({ id: row.id }).then(response => { this.form = response.data this.templateData = deepClone(this.form) - this.form.qmyy = this.$t('page.business.study.studyFormPre.zztjyzbd') + this.form.qmyy = this.$t('page.business.study.studyFormPre.zztjyzbd') this.$modal.closeLoading() }).finally(() => { this.$modal.closeLoading() diff --git a/vue.config.js b/vue.config.js index bf3ddf1..0461fab 100644 --- a/vue.config.js +++ b/vue.config.js @@ -34,8 +34,8 @@ module.exports = { proxy: { // detail: https://cli.vuejs.org/config/#devserver-proxy [process.env.VUE_APP_BASE_API]: { - // target: `http://localhost:8080`, - target: `http://39.99.251.173:8080`, + target: `http://localhost:8080`, + // target: `http://39.99.251.173:8080`, changeOrigin: true, pathRewrite: { ['^' + process.env.VUE_APP_BASE_API]: ''