From c416ff483f1813802722476a28a54b287d8a23c3 Mon Sep 17 00:00:00 2001
From: "15881625488@163.com" <15881625488@163.com>
Date: Mon, 5 Jan 2026 20:30:05 +0800
Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E6=A8=A1=E6=9D=BF=E9=80=89?=
=?UTF-8?q?=E6=8B=A9=E7=BB=84=E4=BB=B6bug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/business/comps/select/SelectTemplateDialog.vue | 3 ++-
src/views/business/study/comp/sqbdList.vue | 4 ++--
src/views/business/study/comp/tbbdList.vue | 4 ++--
src/views/business/study/comp/ytbd/Bj.vue | 1 +
vue.config.js | 4 ++--
5 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/src/views/business/comps/select/SelectTemplateDialog.vue b/src/views/business/comps/select/SelectTemplateDialog.vue
index b5fcdd5..79725b8 100644
--- a/src/views/business/comps/select/SelectTemplateDialog.vue
+++ b/src/views/business/comps/select/SelectTemplateDialog.vue
@@ -103,7 +103,8 @@ export default {
},
handleSelect() {
let that = this
- let _index = _.findIndex(this.list, function (item) { return item.id = that.selectedId })
+ let _index = _.findIndex(this.list, function (item) { return item.id == that.selectedId })
+ debugger
this.$emit('callback', this.list[_index]);
this.open = false
}
diff --git a/src/views/business/study/comp/sqbdList.vue b/src/views/business/study/comp/sqbdList.vue
index a1c4511..0b8e894 100644
--- a/src/views/business/study/comp/sqbdList.vue
+++ b/src/views/business/study/comp/sqbdList.vue
@@ -93,8 +93,8 @@
- {{ $t('page.business.study.studyFormApply.yes') }}
- {{ $t('page.business.study.studyFormApply.no') }}
+ {{ $t('page.business.study.studyFormApply.yes') }}
+ {{ $t('page.business.study.studyFormApply.no') }}
diff --git a/src/views/business/study/comp/tbbdList.vue b/src/views/business/study/comp/tbbdList.vue
index a714c7a..00c0d58 100644
--- a/src/views/business/study/comp/tbbdList.vue
+++ b/src/views/business/study/comp/tbbdList.vue
@@ -93,8 +93,8 @@
- {{ $t('page.business.study.studyFormFill.yes') }}
- {{ $t('page.business.study.studyFormFill.no') }}
+ {{ $t('page.business.study.studyFormFill.yes') }}
+ {{ $t('page.business.study.studyFormFill.no') }}
diff --git a/src/views/business/study/comp/ytbd/Bj.vue b/src/views/business/study/comp/ytbd/Bj.vue
index 00905c7..25829b7 100644
--- a/src/views/business/study/comp/ytbd/Bj.vue
+++ b/src/views/business/study/comp/ytbd/Bj.vue
@@ -194,6 +194,7 @@ export default {
})
},
selectTemplateChange(val) {
+ debugger
this.form.bdnr = val.content
this.form.templateMc = val.name
this.form.templateSn = val.sn
diff --git a/vue.config.js b/vue.config.js
index 8bdc9d8..bbd8cf9 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]: ''