工作台
parent
f3c992bfc9
commit
3fcefdb1f4
|
@ -676,7 +676,7 @@ export default {
|
||||||
DoctorUserList: [],
|
DoctorUserList: [],
|
||||||
btnLoading: false,
|
btnLoading: false,
|
||||||
rowData: {},
|
rowData: {},
|
||||||
OtherInfo: null,
|
OtherInfo: {},
|
||||||
title: null,
|
title: null,
|
||||||
SelectList: [],
|
SelectList: [],
|
||||||
TaskConsistentRuleList: [],
|
TaskConsistentRuleList: [],
|
||||||
|
|
|
@ -36,22 +36,22 @@
|
||||||
</div>
|
</div>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
||||||
<el-col :span="6" class="card-panel-col">
|
<!-- <el-col :span="6" class="card-panel-col">-->
|
||||||
<div class="card-panel">
|
<!-- <div class="card-panel">-->
|
||||||
<div class="card-panel-icon-wrapper icon-monitor">
|
<!-- <div class="card-panel-icon-wrapper icon-monitor">-->
|
||||||
<svg-icon icon-class="monitor" class-name="card-panel-icon" />
|
<!-- <svg-icon icon-class="monitor" class-name="card-panel-icon" />-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
<div class="card-panel-description">
|
<!-- <div class="card-panel-description">-->
|
||||||
<div class="card-panel-text">
|
<!-- <div class="card-panel-text">-->
|
||||||
<!-- 待办任务 -->
|
<!-- <!– 待办任务 –>-->
|
||||||
{{ $t('trials:workbench:label:pendingTasksStats') }}
|
<!-- {{ $t('trials:workbench:label:pendingTasksStats') }}-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
<div class="card-panel-num">
|
<!-- <div class="card-panel-num">-->
|
||||||
<countTo :start-val="0" :end-val="taskCount" :duration="3000" />
|
<!-- <countTo :start-val="0" :end-val="taskCount" :duration="3000" />-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
</el-col>
|
<!-- </el-col>-->
|
||||||
|
|
||||||
<el-col :span="6" class="card-panel-col">
|
<el-col :span="6" class="card-panel-col">
|
||||||
<div class="card-panel">
|
<div class="card-panel">
|
||||||
|
|
|
@ -4,7 +4,10 @@
|
||||||
<PanelCount ref="panelCount" @getSignSystemDocCount="getSignSystemDocCount" />
|
<PanelCount ref="panelCount" @getSignSystemDocCount="getSignSystemDocCount" />
|
||||||
</div>
|
</div>
|
||||||
<div class="workbench-content" style="height: 100%">
|
<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">
|
<el-tabs v-model="activeName" style="height: 100%" tab-position="left">
|
||||||
<!-- PM/APM -->
|
<!-- PM/APM -->
|
||||||
<!-- 阅片期 -->
|
<!-- 阅片期 -->
|
||||||
|
@ -85,7 +88,7 @@
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
<!-- 项目签署文件 -->
|
<!-- 项目签署文件 -->
|
||||||
<el-tab-pane name="NeedSignTrialDoc" v-if="!hasPermi(['role:zys'])" :label="`${$t('trials:workbench:title:trialDocBeSigned')} (${tabList.TrialWaitSignDocCount})`">
|
<el-tab-pane name="NeedSignTrialDoc" v-if="!hasPermi(['role:zys'])" :label="`${$t('trials:workbench:title:trialDocBeSigned')} (${tabList.TrialWaitSignDocCount})`">
|
||||||
<NeedSignTrialDoc v-if="activeName === 'NeedSignTrialDoc'" :is-sign-system-doc="isSignSystemDoc" />
|
<NeedSignTrialDoc v-if="activeName === 'NeedSignTrialDoc'" :is-sign-system-doc="isSignSystemDoc" />
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
<!-- 系统签署文件 -->
|
<!-- 系统签署文件 -->
|
||||||
<el-tab-pane name="NeedSignSysDoc" v-if="!hasPermi(['role:zys'])" :label="`${$t('trials:workbench:title:sysDocBeSigned')} (${tabList.SysWaitSignDocCount})`">
|
<el-tab-pane name="NeedSignSysDoc" v-if="!hasPermi(['role:zys'])" :label="`${$t('trials:workbench:title:sysDocBeSigned')} (${tabList.SysWaitSignDocCount})`">
|
||||||
|
@ -130,7 +133,8 @@ export default {
|
||||||
isSignSystemDoc: false,
|
isSignSystemDoc: false,
|
||||||
trialIdList: [],
|
trialIdList: [],
|
||||||
tabList: {},
|
tabList: {},
|
||||||
activeName: ''
|
activeName: '',
|
||||||
|
width: 0
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
@ -138,6 +142,9 @@ export default {
|
||||||
this.getNeedSignTrialDocTrialIdList()
|
this.getNeedSignTrialDocTrialIdList()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
tabClick(e) {
|
||||||
|
console.log(e)
|
||||||
|
},
|
||||||
getSignSystemDocCount(count) {
|
getSignSystemDocCount(count) {
|
||||||
this.isSignSystemDoc = count > 0
|
this.isSignSystemDoc = count > 0
|
||||||
},
|
},
|
||||||
|
@ -148,6 +155,16 @@ export default {
|
||||||
getNeedSignTrialDocTrialIdList().then(res => {
|
getNeedSignTrialDocTrialIdList().then(res => {
|
||||||
console.log(res)
|
console.log(res)
|
||||||
this.trialIdList = res.Result
|
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() {
|
getUserTobeDoneRecord() {
|
||||||
|
@ -161,6 +178,12 @@ export default {
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.workbench-container{
|
.workbench-container{
|
||||||
|
.el-tabs__nav{
|
||||||
|
transform: translateY(40px)!important;
|
||||||
|
}
|
||||||
|
.el-tabs__header{
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
::-webkit-scrollbar {
|
::-webkit-scrollbar {
|
||||||
width: 7px;
|
width: 7px;
|
||||||
height: 7px;
|
height: 7px;
|
||||||
|
|
Loading…
Reference in New Issue