From bf27f5b4da2b9c2911cfeb9e3b334664d2430919 Mon Sep 17 00:00:00 2001 From: "15881625488@163.com" <15881625488@163.com> Date: Tue, 10 Feb 2026 10:46:56 +0800 Subject: [PATCH] =?UTF-8?q?fix:[=E6=A8=A1=E6=9D=BF=E7=AE=A1=E7=90=86]?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/business/study/comp/jhbd/Fh.vue | 5 ++++- src/views/business/study/comp/jhbd/Sy.vue | 5 ++++- src/views/business/study/comp/jhbd/Xq.vue | 5 ++++- src/views/business/study/comp/sqbd/Fh.vue | 5 ++++- src/views/business/study/comp/sqbd/Sh.vue | 5 ++++- src/views/business/study/comp/sqbd/Sy.vue | 5 ++++- src/views/business/study/comp/sqbd/Xq.vue | 5 ++++- src/views/business/study/comp/tbbd/Bj.vue | 25 ++++++++++++++----------- src/views/business/study/comp/tbbd/Fh.vue | 5 ++++- src/views/business/study/comp/tbbd/Sy.vue | 5 ++++- src/views/business/study/comp/tbbd/Xq.vue | 5 ++++- src/views/business/study/comp/ytbd/Xq.vue | 8 +++++++- 12 files changed, 61 insertions(+), 22 deletions(-) diff --git a/src/views/business/study/comp/jhbd/Fh.vue b/src/views/business/study/comp/jhbd/Fh.vue index a498b11..dad7c50 100644 --- a/src/views/business/study/comp/jhbd/Fh.vue +++ b/src/views/business/study/comp/jhbd/Fh.vue @@ -189,7 +189,10 @@ export default { }, getJjcgjList(val) { this.$modal.loading() - studyFormPlan_jcgj(_.merge({}, this.queryParamsJcgj, val)).then(response => { + if(val){ + this.queryParamsJcgj=_.merge({}, this.queryParamsJcgj, val) + } + studyFormPlan_jcgj(this.queryParamsJcgj).then(response => { this.jcgjList = response.rows this.jcgjTotal = response.total this.$refs.jcgjList.init(this.jcgjList) diff --git a/src/views/business/study/comp/jhbd/Sy.vue b/src/views/business/study/comp/jhbd/Sy.vue index c42c1e6..0ace067 100644 --- a/src/views/business/study/comp/jhbd/Sy.vue +++ b/src/views/business/study/comp/jhbd/Sy.vue @@ -145,7 +145,10 @@ export default { methods: { getJjcgjList(val) { this.$modal.loading() - studyFormPlan_jcgj(_.merge({}, this.queryParamsJcgj, val)).then(response => { + if(val){ + this.queryParamsJcgj=_.merge({}, this.queryParamsJcgj, val) + } + studyFormPlan_jcgj(this.queryParamsJcgj).then(response => { this.jcgjList = response.rows this.jcgjTotal = response.total this.$refs.jcgjList.init(this.jcgjList) diff --git a/src/views/business/study/comp/jhbd/Xq.vue b/src/views/business/study/comp/jhbd/Xq.vue index 7bd5222..2a26334 100644 --- a/src/views/business/study/comp/jhbd/Xq.vue +++ b/src/views/business/study/comp/jhbd/Xq.vue @@ -345,7 +345,10 @@ export default { }, getJjcgjList(val) { this.$modal.loading() - studyFormPlan_jcgj(_.merge({}, this.queryParamsJcgj, val)).then(response => { + if(val){ + this.queryParamsJcgj=_.merge({}, this.queryParamsJcgj, val) + } + studyFormPlan_jcgj(this.queryParamsJcgj).then(response => { this.jcgjList = response.rows this.jcgjTotal = response.total this.$refs.jcgjList.init(this.jcgjList) diff --git a/src/views/business/study/comp/sqbd/Fh.vue b/src/views/business/study/comp/sqbd/Fh.vue index 4251a32..b00dd00 100644 --- a/src/views/business/study/comp/sqbd/Fh.vue +++ b/src/views/business/study/comp/sqbd/Fh.vue @@ -190,7 +190,10 @@ export default { }, getJjcgjList(val) { this.$modal.loading() - studyFormApply_jcgj(_.merge({}, this.queryParamsJcgj, val)).then(response => { + if(val){ + this.queryParamsJcgj=_.merge({}, this.queryParamsJcgj, val) + } + studyFormApply_jcgj(this.queryParamsJcgj).then(response => { this.jcgjList = response.rows this.jcgjTotal = response.total this.$refs.jcgjList.init(this.jcgjList) diff --git a/src/views/business/study/comp/sqbd/Sh.vue b/src/views/business/study/comp/sqbd/Sh.vue index 9654484..902a8dc 100644 --- a/src/views/business/study/comp/sqbd/Sh.vue +++ b/src/views/business/study/comp/sqbd/Sh.vue @@ -165,7 +165,10 @@ export default { getJjcgjList(val) { this.$modal.loading() - studyFormApply_jcgj(_.merge({}, this.queryParamsJcgj, val)).then(response => { + if(val){ + this.queryParamsJcgj=_.merge({}, this.queryParamsJcgj, val) + } + studyFormApply_jcgj(this.queryParamsJcgj).then(response => { this.jcgjList = response.rows this.jcgjTotal = response.total this.$refs.jcgjList.init(this.jcgjList) diff --git a/src/views/business/study/comp/sqbd/Sy.vue b/src/views/business/study/comp/sqbd/Sy.vue index 52e1575..7c8bc07 100644 --- a/src/views/business/study/comp/sqbd/Sy.vue +++ b/src/views/business/study/comp/sqbd/Sy.vue @@ -148,7 +148,10 @@ export default { methods: { getJjcgjList(val) { this.$modal.loading() - studyFormApply_jcgj(_.merge({}, this.queryParamsJcgj, val)).then(response => { + if(val){ + this.queryParamsJcgj=_.merge({}, this.queryParamsJcgj, val) + } + studyFormApply_jcgj(this.queryParamsJcgj).then(response => { this.jcgjList = response.rows this.jcgjTotal = response.total this.$refs.jcgjList.init(this.jcgjList) diff --git a/src/views/business/study/comp/sqbd/Xq.vue b/src/views/business/study/comp/sqbd/Xq.vue index abc3c25..c406bf5 100644 --- a/src/views/business/study/comp/sqbd/Xq.vue +++ b/src/views/business/study/comp/sqbd/Xq.vue @@ -346,7 +346,10 @@ export default { }, getJjcgjList(val) { this.$modal.loading() - studyFormApply_jcgj(_.merge({}, this.queryParamsJcgj, val)).then(response => { + if(val){ + this.queryParamsJcgj=_.merge({}, this.queryParamsJcgj, val) + } + studyFormApply_jcgj(this.queryParamsJcgj).then(response => { this.jcgjList = response.rows this.jcgjTotal = response.total this.$refs.jcgjList.init(this.jcgjList) diff --git a/src/views/business/study/comp/tbbd/Bj.vue b/src/views/business/study/comp/tbbd/Bj.vue index 568867c..f4fde38 100644 --- a/src/views/business/study/comp/tbbd/Bj.vue +++ b/src/views/business/study/comp/tbbd/Bj.vue @@ -46,7 +46,7 @@ + @change="selectTemplateChange" :needPre="1" :selectedDeptId="selectedDeptId" /> @@ -174,15 +174,18 @@
{{ $t('page.business.study.studyFormFill.yltj') }}
- {{ item.bh }} - - - +
+
@@ -479,7 +482,7 @@ export default { studyType: null, studyFormType: null, ccwzlist: [], - selectedDeptId:null, + selectedDeptId: null, } }, computed: { @@ -608,9 +611,9 @@ export default { this.templateData = deepClone(this.form) const obj = Object.assign({}, this.$route, { title: this.$t('page.business.study.studyFormFill.xzbd') }) this.$tab.updatePage(obj); - let name=this.studyType==1?'试验':(this.studyType==5?'非试验表单':'麻精药表单') - let nameEn=this.studyType==1?'Study':(this.studyType==5?'Non-study':'ontrolled Drug') - this.saveSimpleLog({jcmc:'填报表单新增',jcmcEn:'Record Create',name:name,nameEn:nameEn}) + let name = this.studyType == 1 ? '试验' : (this.studyType == 5 ? '非试验表单' : '麻精药表单') + let nameEn = this.studyType == 1 ? 'Study' : (this.studyType == 5 ? 'Non-study' : 'ontrolled Drug') + this.saveSimpleLog({ jcmc: '填报表单新增', jcmcEn: 'Record Create', name: name, nameEn: nameEn }) this.$modal.closeLoading() }) } diff --git a/src/views/business/study/comp/tbbd/Fh.vue b/src/views/business/study/comp/tbbd/Fh.vue index 4c81d1a..c03ef8c 100644 --- a/src/views/business/study/comp/tbbd/Fh.vue +++ b/src/views/business/study/comp/tbbd/Fh.vue @@ -191,7 +191,10 @@ export default { }, getJjcgjList(val) { this.$modal.loading() - studyFormFill_jcgj(_.merge({}, this.queryParamsJcgj, val)).then(response => { + if(val){ + this.queryParamsJcgj=_.merge({}, this.queryParamsJcgj, val) + } + studyFormFill_jcgj(this.queryParamsJcgj).then(response => { this.jcgjList = response.rows this.jcgjTotal = response.total this.$refs.jcgjList.init(this.jcgjList) diff --git a/src/views/business/study/comp/tbbd/Sy.vue b/src/views/business/study/comp/tbbd/Sy.vue index e0873c0..27e9a64 100644 --- a/src/views/business/study/comp/tbbd/Sy.vue +++ b/src/views/business/study/comp/tbbd/Sy.vue @@ -147,7 +147,10 @@ export default { methods: { getJjcgjList(val) { this.$modal.loading() - studyFormFill_jcgj(_.merge({}, this.queryParamsJcgj, val)).then(response => { + if(val){ + this.queryParamsJcgj=_.merge({}, this.queryParamsJcgj, val) + } + studyFormFill_jcgj(this.queryParamsJcgj).then(response => { this.jcgjList = response.rows this.jcgjTotal = response.total this.$refs.jcgjList.init(this.jcgjList) diff --git a/src/views/business/study/comp/tbbd/Xq.vue b/src/views/business/study/comp/tbbd/Xq.vue index 45fdbae..0516b80 100644 --- a/src/views/business/study/comp/tbbd/Xq.vue +++ b/src/views/business/study/comp/tbbd/Xq.vue @@ -352,7 +352,10 @@ export default { }, getJjcgjList(val) { this.$modal.loading() - studyFormFill_jcgj(_.merge({}, this.queryParamsJcgj, val)).then(response => { + if(val){ + this.queryParamsJcgj=_.merge({}, this.queryParamsJcgj, val) + } + studyFormFill_jcgj(this.queryParamsJcgj).then(response => { this.jcgjList = response.rows this.jcgjTotal = response.total this.$refs.jcgjList.init(this.jcgjList) diff --git a/src/views/business/study/comp/ytbd/Xq.vue b/src/views/business/study/comp/ytbd/Xq.vue index 778bd3b..b67449d 100644 --- a/src/views/business/study/comp/ytbd/Xq.vue +++ b/src/views/business/study/comp/ytbd/Xq.vue @@ -182,10 +182,16 @@ export default { }) }, getJjcgjList(val) { - studyFormPre_jcgj(_.merge({}, this.queryParamsJcgj, val)).then(response => { + this.$modal.loading() + if(val){ + this.queryParamsJcgj=_.merge({}, this.queryParamsJcgj, val) + } + studyFormPre_jcgj(this.queryParamsJcgj).then(response => { this.jcgjList = response.rows this.jcgjTotal = response.total this.$refs.jcgjList.init(this.jcgjList) + }).finally(() => { + this.$modal.closeLoading() }) }, getQmxxList() {