Merge branch 'main' of https://gitea.frp.extimaging.com/XCKJ/irc_web into main
continuous-integration/drone/push Build is passing Details

main
caiyiling 2026-01-07 13:31:42 +08:00
commit bf35797282
4 changed files with 49 additions and 31 deletions

View File

@ -2,10 +2,10 @@
<template>
<div class="trialsTab">
<el-tabs v-model="trialsTab" @tab-click="clickTab">
<el-tab-pane v-for="item of trialsRouter.children.find(v => { return v.name == 'TrialsPanel' }).children"
:key="`tab${item.path}`"
<template v-for="item of trialsRouter.children.find(v => { return v.name == 'TrialsPanel' }).children">
<el-tab-pane :key="`tab${item.path}`"
:disabled="TotalNeedSignTrialDocCount !== 0 && item.path !== '/trials/trials-panel/attachments'"
:label="$t(item.LanguageMark)" :name="item.path">
:label="$t(item.LanguageMark)" :name="item.path" v-if="isShowNode(item)">
<el-tabs v-if="!item.tabHiddn" v-model="trialsTabChild" @tab-click="clickTab"
style="background-color: #f5f7fa;">
<template v-for="item1 of item.children">
@ -15,6 +15,8 @@
</template>
</el-tabs>
</el-tab-pane>
</template>
</el-tabs>
<div style="position: absolute;top: 0;right: 0;display: flex;justify-content: space-between;align-items: center">
<trials-select />
@ -117,6 +119,12 @@ export default {
}
},
methods: {
isShowNode(item) {
if (item.path === '/trials/trials-panel/trial-summary' && item.children.length === 1 && item.children[0].path === '/trials/trials-panel/trial-summary/report-forms' && !this.$store.state.trials.config.IsExternalViewTrialChart && this.hasPermi(['role:cmm', 'role:cpm', 'role:ea', 'role:mc', 'role:smm', 'role:spm'])) {
return false
}
return true
},
isShow: function (path) {
var isShow = true
let chartList = [

View File

@ -36,8 +36,8 @@
hasPermi(['trials:trials-panel:subject:readingPeriod:edit']) &&
clinicalType === '1' &&
type !== 'consistencyAnalysis'
" type="primary" icon="el-icon-download" size="small" :disabled="clinicalDatas.length <= 0"
@click="downLoadTemplate">
" type="primary" icon="el-icon-download" size="small"
:disabled="clinicalDatas.filter(item => item.Path).length <= 0" @click="downLoadTemplate">
{{ $t('trials:readingPeriod:cd:title:downLoadTemplate') }}
</el-button>
<el-button v-if="

View File

@ -91,7 +91,7 @@ export default {
getTrialCriterionList() {
this.loading = true
getTrialCriterionList(this.$route.query.trialId, false).then(res => {
this.trialCriterionList = res.Result
this.trialCriterionList = res.Result.filter(item => [1, 18, 2, 3, 7, 10, 17].includes(Number(item.CriterionType)))
if (this.trialCriterionList.length > 0) {
this.TrialReadingCriterionId = this.trialCriterionList[0].TrialReadingCriterionId
this.getList()

View File

@ -179,14 +179,10 @@ export default {
color: this.color,
tooltip: {
trigger: 'item',
formatter: `${obj.titleText} <br/>{b} : {c}`
formatter: `{b} : {c}`
},
toolbox: {
feature: {
dataView: { readOnly: false },
restore: {},
saveAsImage: {}
}
show: false
},
legend: {
data: obj.legendData,
@ -317,6 +313,9 @@ export default {
title: {
text: obj.titleText
},
toolbox: {
show: false
},
color: this.color,
tooltip: {
trigger: 'axis',
@ -356,6 +355,7 @@ export default {
}
this.loading_bottom = true
let res = await getTrialEfficacyEvaluationStatList(data)
if (data.TrialReadingCriterionId !== this.searchData.TrialReadingCriterionId) return false
this.loading_bottom = false
if (res.IsSuccess) {
let OtherInfo = res.OtherInfo || {}
@ -421,6 +421,9 @@ export default {
title: {
text: obj.titleText
},
toolbox: {
show: false
},
color: this.color,
tooltip: {
trigger: 'axis',
@ -434,7 +437,8 @@ export default {
},
yAxis: {
name: obj.unit,
type: 'value'
type: 'value',
minInterval: 1
},
series: [
{
@ -444,7 +448,7 @@ export default {
label: {
show: true,
formatter: `{c}`,
position: 'inside',
position: 'top',
textStyle: {
fontSize: 14, // 14px
color: '#000', //
@ -467,6 +471,9 @@ export default {
title: {
text: obj.titleText
},
toolbox: {
show: false
},
color: this.color,
tooltip: {
trigger: 'item',
@ -494,7 +501,7 @@ export default {
label: {
show: true,
formatter: `{c}%`,
position: 'inside',
position: 'top',
textStyle: {
fontSize: 14, // 14px
color: '#000', //
@ -521,6 +528,9 @@ export default {
title: {
text: obj.titleText
},
toolbox: {
show: false
},
color: this.color,
tooltip: {
trigger: 'axis',
@ -560,7 +570,7 @@ export default {
label: {
show: true,
formatter: `{c}`,
position: 'inside',
position: 'top',
textStyle: {
fontSize: 14, // 14px
color: '#000', //