工作台待办任务换行
parent
15f0154b5d
commit
0728220a2d
|
@ -274,7 +274,8 @@ export default {
|
||||||
if (this.userTypeEnumInt !== 0) {
|
if (this.userTypeEnumInt !== 0) {
|
||||||
this.$emit('refreshPage')
|
this.$emit('refreshPage')
|
||||||
}
|
}
|
||||||
this.$message.success(this.$t('common:message:savedSuccessfully'))
|
// this.$message.success(this.$t('common:message:savedSuccessfully'))
|
||||||
|
this.$message.success(this.$t('trials:researchForm:message:savedSuccessfully'))
|
||||||
}
|
}
|
||||||
}).catch(() => { this.loading = false })
|
}).catch(() => { this.loading = false })
|
||||||
}).catch(() => {})
|
}).catch(() => {})
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="workbench-content" style="height: 100%">
|
<div class="workbench-content" style="height: 100%">
|
||||||
<div style="height: 100%;position: relative">
|
<div style="height: 100%;position: relative">
|
||||||
<div style="font-size: 20px;position: absolute;line-height: 40px;text-align: right;white-space: nowrap;" :style="{width: width + 'px'}">
|
<div style="font-weight:900;font-size: 20px;position: absolute;line-height: 40px;text-align: right;white-space: nowrap;" :style="{width: width + 'px'}">
|
||||||
{{ $t('trials:workbench:label:pendingTasksStats') }} ({{tabList.TotalCount}})
|
{{ $t('trials:workbench:label:pendingTasksStats') }} ({{tabList.TotalCount}})
|
||||||
</div>
|
</div>
|
||||||
<el-tabs v-model="activeName" style="height: 100%" tab-position="left">
|
<el-tabs v-model="activeName" style="height: 100%" tab-position="left">
|
||||||
|
@ -157,7 +157,7 @@ export default {
|
||||||
console.log(res)
|
console.log(res)
|
||||||
this.trialIdList = res.Result
|
this.trialIdList = res.Result
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.width = document.querySelector('.el-tabs__nav-scroll').clientWidth - 75
|
this.width = document.querySelector('.el-tabs__nav-scroll').clientWidth - 20
|
||||||
var list = document.querySelectorAll('div[aria-controls]')
|
var list = document.querySelectorAll('div[aria-controls]')
|
||||||
list.forEach((v, i) => {
|
list.forEach((v, i) => {
|
||||||
if (i === 0) {
|
if (i === 0) {
|
||||||
|
@ -184,6 +184,7 @@ export default {
|
||||||
}
|
}
|
||||||
.el-tabs__header{
|
.el-tabs__header{
|
||||||
position: relative;
|
position: relative;
|
||||||
|
width: 260px!important;
|
||||||
}
|
}
|
||||||
::-webkit-scrollbar {
|
::-webkit-scrollbar {
|
||||||
width: 7px;
|
width: 7px;
|
||||||
|
|
Loading…
Reference in New Issue