diff --git a/src/views/trials/trials-panel/reading/consistency-analysis/index.vue b/src/views/trials/trials-panel/reading/consistency-analysis/index.vue index e2edba42..05f4845c 100644 --- a/src/views/trials/trials-panel/reading/consistency-analysis/index.vue +++ b/src/views/trials/trials-panel/reading/consistency-analysis/index.vue @@ -676,7 +676,7 @@ export default { DoctorUserList: [], btnLoading: false, rowData: {}, - OtherInfo: null, + OtherInfo: {}, title: null, SelectList: [], TaskConsistentRuleList: [], diff --git a/src/views/trials/trials-workbench/components/panelCount.vue b/src/views/trials/trials-workbench/components/panelCount.vue index f763fca0..e6aa9564 100644 --- a/src/views/trials/trials-workbench/components/panelCount.vue +++ b/src/views/trials/trials-workbench/components/panelCount.vue @@ -36,22 +36,22 @@ - -
-
- -
-
-
- - {{ $t('trials:workbench:label:pendingTasksStats') }} -
-
- -
-
-
-
+ + + + + + + + + + + + + + + +
diff --git a/src/views/trials/trials-workbench/index.vue b/src/views/trials/trials-workbench/index.vue index 5c2d7c95..f030f2e0 100644 --- a/src/views/trials/trials-workbench/index.vue +++ b/src/views/trials/trials-workbench/index.vue @@ -4,7 +4,10 @@
-
+
+
+ {{ $t('trials:workbench:label:pendingTasksStats') }} ({{tabList.TotalCount}}) +
@@ -85,7 +88,7 @@ - + @@ -130,7 +133,8 @@ export default { isSignSystemDoc: false, trialIdList: [], tabList: {}, - activeName: '' + activeName: '', + width: 0 } }, mounted() { @@ -138,6 +142,9 @@ export default { this.getNeedSignTrialDocTrialIdList() }, methods: { + tabClick(e) { + console.log(e) + }, getSignSystemDocCount(count) { this.isSignSystemDoc = count > 0 }, @@ -148,6 +155,16 @@ export default { getNeedSignTrialDocTrialIdList().then(res => { console.log(res) this.trialIdList = res.Result + this.$nextTick(() => { + this.width = document.querySelector('.el-tabs__nav-scroll').clientWidth - 75 + var list = document.querySelectorAll('div[aria-controls]') + list.forEach((v, i) => { + if (i === 0) { + let item = v.getAttribute('aria-controls') + this.activeName = item.split('-')[1] + } + }) + }) }) }, getUserTobeDoneRecord() { @@ -161,6 +178,12 @@ export default {