工作台
parent
f3c992bfc9
commit
3fcefdb1f4
|
@ -676,7 +676,7 @@ export default {
|
|||
DoctorUserList: [],
|
||||
btnLoading: false,
|
||||
rowData: {},
|
||||
OtherInfo: null,
|
||||
OtherInfo: {},
|
||||
title: null,
|
||||
SelectList: [],
|
||||
TaskConsistentRuleList: [],
|
||||
|
|
|
@ -36,22 +36,22 @@
|
|||
</div>
|
||||
</el-col>
|
||||
|
||||
<el-col :span="6" class="card-panel-col">
|
||||
<div class="card-panel">
|
||||
<div class="card-panel-icon-wrapper icon-monitor">
|
||||
<svg-icon icon-class="monitor" class-name="card-panel-icon" />
|
||||
</div>
|
||||
<div class="card-panel-description">
|
||||
<div class="card-panel-text">
|
||||
<!-- 待办任务 -->
|
||||
{{ $t('trials:workbench:label:pendingTasksStats') }}
|
||||
</div>
|
||||
<div class="card-panel-num">
|
||||
<countTo :start-val="0" :end-val="taskCount" :duration="3000" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</el-col>
|
||||
<!-- <el-col :span="6" class="card-panel-col">-->
|
||||
<!-- <div class="card-panel">-->
|
||||
<!-- <div class="card-panel-icon-wrapper icon-monitor">-->
|
||||
<!-- <svg-icon icon-class="monitor" class-name="card-panel-icon" />-->
|
||||
<!-- </div>-->
|
||||
<!-- <div class="card-panel-description">-->
|
||||
<!-- <div class="card-panel-text">-->
|
||||
<!-- <!– 待办任务 –>-->
|
||||
<!-- {{ $t('trials:workbench:label:pendingTasksStats') }}-->
|
||||
<!-- </div>-->
|
||||
<!-- <div class="card-panel-num">-->
|
||||
<!-- <countTo :start-val="0" :end-val="taskCount" :duration="3000" />-->
|
||||
<!-- </div>-->
|
||||
<!-- </div>-->
|
||||
<!-- </div>-->
|
||||
<!-- </el-col>-->
|
||||
|
||||
<el-col :span="6" class="card-panel-col">
|
||||
<div class="card-panel">
|
||||
|
|
|
@ -4,7 +4,10 @@
|
|||
<PanelCount ref="panelCount" @getSignSystemDocCount="getSignSystemDocCount" />
|
||||
</div>
|
||||
<div class="workbench-content" style="height: 100%">
|
||||
<div style="height: 100%">
|
||||
<div style="height: 100%;position: relative">
|
||||
<div style="font-size: 20px;position: absolute;line-height: 40px;text-align: right" :style="{width: width + 'px'}">
|
||||
{{ $t('trials:workbench:label:pendingTasksStats') }} ({{tabList.TotalCount}})
|
||||
</div>
|
||||
<el-tabs v-model="activeName" style="height: 100%" tab-position="left">
|
||||
<!-- PM/APM -->
|
||||
<!-- 阅片期 -->
|
||||
|
@ -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 {
|
|||
|
||||
<style lang="scss">
|
||||
.workbench-container{
|
||||
.el-tabs__nav{
|
||||
transform: translateY(40px)!important;
|
||||
}
|
||||
.el-tabs__header{
|
||||
position: relative;
|
||||
}
|
||||
::-webkit-scrollbar {
|
||||
width: 7px;
|
||||
height: 7px;
|
||||
|
|
Loading…
Reference in New Issue