From 0c42bb61610e76c50069b420075867ad5127da1c Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Thu, 11 Apr 2024 14:38:11 +0800 Subject: [PATCH] =?UTF-8?q?=E9=83=A8=E5=88=86=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 4 +-- .../components/ClinicalQuestionConfig.vue | 4 ++- .../template/components/CriterionsConfig.vue | 4 ++- .../components/EfficacyAssessment.vue | 7 +++-- .../template/components/OrgansTbl.vue | 4 ++- src/views/financials/revenues/index.vue | 8 +++-- .../components/EnrollmentsStatsByReviewer.vue | 4 ++- .../components/TrialEnrollmentsStats.vue | 4 ++- .../statistics/components/WorkloadStats.vue | 4 ++- .../components/confirm-visit-list.vue | 1 + .../enrolled-reviewers/list/index.vue | 15 ++++++---- .../trials/trials-panel/hirVisit/index.vue | 30 +++++++++++++++++-- .../reading/audit-records/index.vue | 8 +++-- .../reading/mim-medical-audit/index.vue | 4 ++- .../reading/pending-review/index.vue | 22 ++------------ .../trials-panel/reading/reviewed/index.vue | 4 ++- .../email-manage/components/EmailList.vue | 2 +- .../reading-unit/components/DefaultOrgans.vue | 2 +- .../reading-unit/components/OrgansTbl.vue | 2 +- .../components/ClinicalQuestionConfig.vue | 2 +- .../subject-list/components/MessageTable.vue | 2 +- .../subject-list/components/SubjectsForm.vue | 4 +-- .../subject-list/components/add-subject.vue | 3 ++ .../subject/subject-list/index.vue | 2 +- .../trials-panel/visit/crc-upload/index.vue | 2 +- .../trials-panel/visit/qc-check/index.vue | 2 +- 26 files changed, 97 insertions(+), 53 deletions(-) diff --git a/.gitignore b/.gitignore index 3df607e..60883be 100644 --- a/.gitignore +++ b/.gitignore @@ -14,5 +14,5 @@ tests/**/coverage/ *.ntvs* *.njsproj *.sln -# .eslintignore -# /.eslintignore \ No newline at end of file +.eslintignore +/.eslintignore \ No newline at end of file diff --git a/src/views/dictionary/template/components/ClinicalQuestionConfig.vue b/src/views/dictionary/template/components/ClinicalQuestionConfig.vue index 0049f63..5aa089b 100644 --- a/src/views/dictionary/template/components/ClinicalQuestionConfig.vue +++ b/src/views/dictionary/template/components/ClinicalQuestionConfig.vue @@ -242,7 +242,9 @@ export default { watch: { list() { this.$nextTick(() => { - this.$refs.criterionQSList.doLayout() + if(this.$refs.criterionQSList){ + this.$refs.criterionQSList.doLayout() + } }) } }, diff --git a/src/views/dictionary/template/components/CriterionsConfig.vue b/src/views/dictionary/template/components/CriterionsConfig.vue index b2b50bd..e6dd01d 100644 --- a/src/views/dictionary/template/components/CriterionsConfig.vue +++ b/src/views/dictionary/template/components/CriterionsConfig.vue @@ -295,7 +295,9 @@ export default { watch: { list() { this.$nextTick(() => { - this.$refs.criterionQSList.doLayout() + if(this.$refs.criterionQSList){ + this.$refs.criterionQSList.doLayout() + } }) } }, diff --git a/src/views/dictionary/template/components/EfficacyAssessment.vue b/src/views/dictionary/template/components/EfficacyAssessment.vue index b2e290f..e3c46d1 100644 --- a/src/views/dictionary/template/components/EfficacyAssessment.vue +++ b/src/views/dictionary/template/components/EfficacyAssessment.vue @@ -83,7 +83,8 @@ { - this.$refs.organList.doLayout() + if(this.$refs.organList){ + this.$refs.organList.doLayout() + } }) } }, diff --git a/src/views/dictionary/template/components/OrgansTbl.vue b/src/views/dictionary/template/components/OrgansTbl.vue index 04eed43..a356717 100644 --- a/src/views/dictionary/template/components/OrgansTbl.vue +++ b/src/views/dictionary/template/components/OrgansTbl.vue @@ -357,7 +357,9 @@ export default { watch: { list() { this.$nextTick(() => { - this.$refs.organList.doLayout() + if(this.$refs.organList){ + this.$refs.organList.doLayout() + } }) } }, diff --git a/src/views/financials/revenues/index.vue b/src/views/financials/revenues/index.vue index 760da37..73ac287 100644 --- a/src/views/financials/revenues/index.vue +++ b/src/views/financials/revenues/index.vue @@ -259,10 +259,14 @@ export default { this.listQuery.PageIndex = 1 this.listQuery.Asc = true this.listQuery.SortField = '' - this.$refs.revenusList.doLayout() + if(this.$refs.revenusList){ + this.$refs.revenusList.doLayout() + } this.arrID = [] this.getList() - this.$refs.revenusList.doLayout() + if(this.$refs.revenusList){ + this.$refs.revenusList.doLayout() + } }, handleVerify() { this.dialogLoading = true diff --git a/src/views/statistics/components/EnrollmentsStatsByReviewer.vue b/src/views/statistics/components/EnrollmentsStatsByReviewer.vue index ba94365..e93e10f 100644 --- a/src/views/statistics/components/EnrollmentsStatsByReviewer.vue +++ b/src/views/statistics/components/EnrollmentsStatsByReviewer.vue @@ -252,7 +252,9 @@ export default { // 合计行 getSummaries(param) { this.$nextTick(() => { - this.$refs.enrollmentStats.doLayout() + if(this.$refs.enrollmentStats){ + this.$refs.enrollmentStats.doLayout() + } }) const { columns, data } = param const sums = [] diff --git a/src/views/statistics/components/TrialEnrollmentsStats.vue b/src/views/statistics/components/TrialEnrollmentsStats.vue index 922759b..5725833 100644 --- a/src/views/statistics/components/TrialEnrollmentsStats.vue +++ b/src/views/statistics/components/TrialEnrollmentsStats.vue @@ -248,7 +248,9 @@ export default { // 合计行 getSummaries(param) { this.$nextTick(() => { - this.$refs.trialStats.doLayout() + if(this.$refs.trialStats){ + this.$refs.trialStats.doLayout() + } }) const { columns, data } = param const sums = [] diff --git a/src/views/statistics/components/WorkloadStats.vue b/src/views/statistics/components/WorkloadStats.vue index e270215..ef73839 100644 --- a/src/views/statistics/components/WorkloadStats.vue +++ b/src/views/statistics/components/WorkloadStats.vue @@ -254,7 +254,9 @@ export default { // 统计 getSummaries(param) { this.$nextTick(() => { - this.$refs.workloadStats.doLayout() + if(this.$refs.workloadStats){ + this.$refs.workloadStats.doLayout() + } }) const { columns, data } = param const sums = [] diff --git a/src/views/trials/trials-inspection/components/confirm-visit-list.vue b/src/views/trials/trials-inspection/components/confirm-visit-list.vue index ea8931d..4b70f36 100644 --- a/src/views/trials/trials-inspection/components/confirm-visit-list.vue +++ b/src/views/trials/trials-inspection/components/confirm-visit-list.vue @@ -319,6 +319,7 @@ export default { } } } catch (err) { + this.loading = false; console.log(err); } }, diff --git a/src/views/trials/trials-panel/enrolled-reviewers/list/index.vue b/src/views/trials/trials-panel/enrolled-reviewers/list/index.vue index cd4f7bf..2624e90 100644 --- a/src/views/trials/trials-panel/enrolled-reviewers/list/index.vue +++ b/src/views/trials/trials-panel/enrolled-reviewers/list/index.vue @@ -90,7 +90,8 @@