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

uat
wangxiaoshuang 2025-03-12 11:22:32 +08:00
commit d5b342ddc6
16 changed files with 76 additions and 48 deletions

View File

@ -50,11 +50,11 @@ export const constantRoutes = [
component: () => import('@/views/login/index'), component: () => import('@/views/login/index'),
hidden: true hidden: true
}, },
{ // {
path: '/test', // path: '/test',
component: () => import('@/views/test/index'), // component: () => import('@/views/test/index'),
hidden: true // hidden: true
}, // },
{ {
path: '/resetpassword', path: '/resetpassword',
component: () => import('@/views/forgetpassword/index'), component: () => import('@/views/forgetpassword/index'),

View File

@ -3,7 +3,7 @@
ref="organForm" ref="organForm"
v-loading="loading" v-loading="loading"
:model="form" :model="form"
label-width="130px" label-width="170px"
size="small" size="small"
:rules="rules" :rules="rules"
> >

View File

@ -42,7 +42,6 @@
v-adaptive="{bottomOffset:45}" v-adaptive="{bottomOffset:45}"
:data="list" :data="list"
stripe stripe
size="small"
height="100" height="100"
> >
<el-table-column type="index" width="60" /> <el-table-column type="index" width="60" />

View File

@ -53,27 +53,29 @@
v-adaptive="{bottomOffset:45}" v-adaptive="{bottomOffset:45}"
:data="list" :data="list"
stripe stripe
size="small"
height="100" height="100"
> >
<el-table-column type="index" width="60" /> <el-table-column type="index" width="40" />
<!-- 临床数据名称 --> <!-- 临床数据名称 -->
<el-table-column <el-table-column
prop="ClinicalDataSetName" prop="ClinicalDataSetName"
:label="$t('trials:processCfg:title:clinicalDataName')" :label="$t('trials:processCfg:title:clinicalDataName')"
show-overflow-tooltip show-overflow-tooltip
min-width="160"
/> />
<!-- 临床数据名称EN --> <!-- 临床数据名称EN -->
<el-table-column <el-table-column
prop="ClinicalDataSetEnName" prop="ClinicalDataSetEnName"
:label="$t('dictionary:clinicalData:label:clinicalDataNameEn')" :label="$t('dictionary:clinicalData:label:clinicalDataNameEn')"
show-overflow-tooltip show-overflow-tooltip
min-width="190"
/> />
<!-- 上传人 --> <!-- 上传人 -->
<el-table-column <el-table-column
prop="UploadRole" prop="UploadRole"
:label="$t('trials:processCfg:title:uploader')" :label="$t('trials:processCfg:title:uploader')"
show-overflow-tooltip show-overflow-tooltip
min-width="120"
> >
<template slot-scope="scope"> <template slot-scope="scope">
{{ $fd('ClinicalDataUploadRole',scope.row.UploadRole) }} {{ $fd('ClinicalDataUploadRole',scope.row.UploadRole) }}
@ -84,6 +86,7 @@
prop="ClinicalDataLevel" prop="ClinicalDataLevel"
:label="$t('trials:processCfg:title:dataLevel')" :label="$t('trials:processCfg:title:dataLevel')"
show-overflow-tooltip show-overflow-tooltip
min-width="120"
> >
<template slot-scope="scope"> <template slot-scope="scope">
{{ $fd('ClinicalLevel',scope.row.ClinicalDataLevel) }} {{ $fd('ClinicalLevel',scope.row.ClinicalDataLevel) }}
@ -94,6 +97,7 @@
prop="ClinicalUploadType" prop="ClinicalUploadType"
:label="$t('trials:processCfg:title:transferType')" :label="$t('trials:processCfg:title:transferType')"
show-overflow-tooltip show-overflow-tooltip
min-width="120"
> >
<template slot-scope="scope"> <template slot-scope="scope">
{{ $fd('ClinicalUploadType',scope.row.ClinicalUploadType) }} {{ $fd('ClinicalUploadType',scope.row.ClinicalUploadType) }}
@ -104,6 +108,7 @@
prop="CriterionEnumList" prop="CriterionEnumList"
:label="$t('trials:processCfg:label:criterion')" :label="$t('trials:processCfg:label:criterion')"
show-overflow-tooltip show-overflow-tooltip
min-width="200"
> >
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.CriterionEnumList.map(v => $fd('CriterionType', v)).toString() }} {{ scope.row.CriterionEnumList.map(v => $fd('CriterionType', v)).toString() }}
@ -114,6 +119,7 @@
prop="FileName" prop="FileName"
:label="$t('trials:processCfg:title:module')" :label="$t('trials:processCfg:title:module')"
show-overflow-tooltip show-overflow-tooltip
min-width="120"
> >
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.FileName }} {{ scope.row.FileName }}
@ -124,6 +130,7 @@
prop="EnFileName" prop="EnFileName"
:label="$t('trials:processCfg:title:enModule')" :label="$t('trials:processCfg:title:enModule')"
show-overflow-tooltip show-overflow-tooltip
min-width="140"
> >
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.EnFileName }} {{ scope.row.EnFileName }}
@ -134,6 +141,7 @@
prop="IsEnable" prop="IsEnable"
:label="$t('dictionary:clinicalData:label:status')" :label="$t('dictionary:clinicalData:label:status')"
show-overflow-tooltip show-overflow-tooltip
min-width="120"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<!-- <el-tag v-if="scope.row.IsEnable"></el-tag> <!-- <el-tag v-if="scope.row.IsEnable"></el-tag>
@ -147,9 +155,10 @@
prop="CreateTime" prop="CreateTime"
:label="$t('dictionary:clinicalData:label:CreateTime')" :label="$t('dictionary:clinicalData:label:CreateTime')"
show-overflow-tooltip show-overflow-tooltip
min-width="140"
/> />
<el-table-column :label="$t('common:action:action')" width="340" fixed="right"> <el-table-column :label="$t('common:action:action')" min-width="350" fixed="right">
<template slot-scope="scope"> <template slot-scope="scope">
<!-- 问题配置 --> <!-- 问题配置 -->
<el-button <el-button

View File

@ -6,7 +6,7 @@
size="small" size="small"
:rules="rules" :rules="rules"
:disabled="type === 'look'" :disabled="type === 'look'"
label-width="140px" label-width="220px"
> >
<div class="base-dialog-body" style="height: 550px; display:flex;flex-direction: column;"> <div class="base-dialog-body" style="height: 550px; display:flex;flex-direction: column;">
<div style="height: 150px;"> <div style="height: 150px;">

View File

@ -62,32 +62,35 @@
prop="GroupName" prop="GroupName"
:label="$t('trials:readingUnit:qsList:title:groupName')" :label="$t('trials:readingUnit:qsList:title:groupName')"
show-overflow-tooltip show-overflow-tooltip
min-width="120"
/> />
<!-- 分组(EN) --> <!-- 分组(EN) -->
<el-table-column <el-table-column
prop="GroupEnName" prop="GroupEnName"
:label="$t('dictionary:template:criterionConfig:title:groupNameEn')" :label="$t('dictionary:template:criterionConfig:title:groupNameEn')"
show-overflow-tooltip show-overflow-tooltip
width="140" min-width="140"
/> />
<!-- 名称 --> <!-- 名称 -->
<el-table-column <el-table-column
prop="QuestionName" prop="QuestionName"
:label="$t('trials:readingUnit:qsList:title:qsName')" :label="$t('trials:readingUnit:qsList:title:qsName')"
show-overflow-tooltip show-overflow-tooltip
min-width="140"
/> />
<!-- 名称(EN) --> <!-- 名称(EN) -->
<el-table-column <el-table-column
prop="QuestionEnName" prop="QuestionEnName"
:label="$t('dictionary:template:criterionConfig:title:qsNameEn')" :label="$t('dictionary:template:criterionConfig:title:qsNameEn')"
show-overflow-tooltip show-overflow-tooltip
width="140" min-width="160"
/> />
<!-- 题型 --> <!-- 题型 -->
<el-table-column <el-table-column
prop="Type" prop="Type"
:label="$t('trials:readingUnit:qsList:title:type')" :label="$t('trials:readingUnit:qsList:title:type')"
show-overflow-tooltip show-overflow-tooltip
min-width="180"
> >
<template slot-scope="scope"> <template slot-scope="scope">
{{ $fd('Criterion_Question_Type',scope.row.Type) }} {{ $fd('Criterion_Question_Type',scope.row.Type) }}
@ -98,6 +101,7 @@
prop="ShowQuestion" prop="ShowQuestion"
:label="$t('trials:readingUnit:qsList:title:isShow')" :label="$t('trials:readingUnit:qsList:title:isShow')"
show-overflow-tooltip show-overflow-tooltip
min-width="100"
> >
<template slot-scope="scope"> <template slot-scope="scope">
{{ $fd('ShowQuestion',scope.row.ShowQuestion) }} {{ $fd('ShowQuestion',scope.row.ShowQuestion) }}
@ -108,6 +112,7 @@
prop="IsRequired" prop="IsRequired"
:label="$t('trials:readingUnit:qsList:title:isRequired')" :label="$t('trials:readingUnit:qsList:title:isRequired')"
show-overflow-tooltip show-overflow-tooltip
min-width="100"
> >
<template slot-scope="scope"> <template slot-scope="scope">
{{ $fd('QuestionRequired',scope.row.IsRequired) }} {{ $fd('QuestionRequired',scope.row.IsRequired) }}
@ -117,7 +122,7 @@
<el-table-column <el-table-column
prop="IsJudgeQuestion" prop="IsJudgeQuestion"
:label="$t('trials:readingUnit:qsList:title:isJudgeQuestion')" :label="$t('trials:readingUnit:qsList:title:isJudgeQuestion')"
width="120" min-width="200"
show-overflow-tooltip show-overflow-tooltip
> >
<template slot-scope="scope"> <template slot-scope="scope">
@ -128,7 +133,7 @@
<el-table-column <el-table-column
prop="IsShowInDicom" prop="IsShowInDicom"
:label="$t('trials:readingUnit:qsList:title:isShowInDicom')" :label="$t('trials:readingUnit:qsList:title:isShowInDicom')"
width="150" min-width="200"
show-overflow-tooltip show-overflow-tooltip
> >
<template slot-scope="scope"> <template slot-scope="scope">
@ -147,7 +152,7 @@
<el-table-column <el-table-column
prop="GlobalReadingShowType" prop="GlobalReadingShowType"
:label="$t('trials:readingUnit:qsList:title:globalReadingShowType')" :label="$t('trials:readingUnit:qsList:title:globalReadingShowType')"
width="160" min-width="240"
show-overflow-tooltip show-overflow-tooltip
> >
<template slot-scope="scope"> <template slot-scope="scope">
@ -169,7 +174,7 @@
<el-table-column <el-table-column
prop="QuestionType" prop="QuestionType"
:label="$t('dictionary:template:criterionConfig:table:questionType')" :label="$t('dictionary:template:criterionConfig:table:questionType')"
width="140" min-width="160"
show-overflow-tooltip show-overflow-tooltip
> >
<template slot-scope="scope"> <template slot-scope="scope">
@ -258,11 +263,11 @@
:visible.sync="addOrEdit.visible" :visible.sync="addOrEdit.visible"
:close-on-click-modal="false" :close-on-click-modal="false"
:title="`${addOrEdit.title}`" :title="`${addOrEdit.title}`"
width="650px" width="800px"
append-to-body append-to-body
custom-class="base-dialog-wrapper" custom-class="base-dialog-wrapper"
> >
<CriterionQuestionForm <criterion-question-form
ref="addOrEdit" ref="addOrEdit"
:data="rowData" :data="rowData"
:type="type" :type="type"

View File

@ -84,7 +84,6 @@
v-adaptive="{bottomOffset:45}" v-adaptive="{bottomOffset:45}"
:data="list" :data="list"
stripe stripe
size="small"
height="100" height="100"
@sort-change="handleSortByColumn" @sort-change="handleSortByColumn"
ref="criterionsTbl" ref="criterionsTbl"
@ -96,6 +95,7 @@
:label="$t('trials:auditRecord:table:criterion')" :label="$t('trials:auditRecord:table:criterion')"
show-overflow-tooltip show-overflow-tooltip
sortable="custom" sortable="custom"
width="180"
/> />
<!-- 标准类型 --> <!-- 标准类型 -->
<el-table-column <el-table-column
@ -103,6 +103,7 @@
:label="$t('dictionary:template:criterionConfig:table:criterionType')" :label="$t('dictionary:template:criterionConfig:table:criterionType')"
show-overflow-tooltip show-overflow-tooltip
sortable="custom" sortable="custom"
width="180"
> >
<template slot-scope="scope"> <template slot-scope="scope">
{{ $fd('CriterionType',scope.row.CriterionType) }} {{ $fd('CriterionType',scope.row.CriterionType) }}
@ -114,6 +115,7 @@
:label="$t('dictionary:template:criterionConfig:table:criterionGroup')" :label="$t('dictionary:template:criterionConfig:table:criterionGroup')"
show-overflow-tooltip show-overflow-tooltip
sortable="custom" sortable="custom"
width="160"
> >
<template slot-scope="scope"> <template slot-scope="scope">
{{ $fd('CriterionGroup',scope.row.CriterionGroup) }} {{ $fd('CriterionGroup',scope.row.CriterionGroup) }}
@ -124,6 +126,7 @@
prop="IsCompleteConfig" prop="IsCompleteConfig"
:label="$t('dictionary:template:criterionConfig:table:isCompleteConfig')" :label="$t('dictionary:template:criterionConfig:table:isCompleteConfig')"
sortable="custom" sortable="custom"
width="220"
> >
<template slot-scope="scope"> <template slot-scope="scope">
@ -219,9 +222,9 @@
:close-on-click-modal="false" :close-on-click-modal="false"
append-to-body append-to-body
custom-class="base-dialog-wrapper" custom-class="base-dialog-wrapper"
width="500px" width="600px"
> >
<AddCriterion <add-criterion
:data="rowData" :data="rowData"
@close="addDialog.visible = false" @close="addDialog.visible = false"
@getList="getList" @getList="getList"

View File

@ -1,6 +1,6 @@
<template> <template>
<div style="position: relative"> <div style="position: relative">
<el-form size="small" :inline="true" label-width="130px" style="position: relative;"> <el-form size="small" :inline="true" style="position: relative;">
<!-- 阅片规则 --> <!-- 阅片规则 -->
<el-divider content-position="left">{{ $t('dictionary:template:globalConfig:readingRules') }}</el-divider> <el-divider content-position="left">{{ $t('dictionary:template:globalConfig:readingRules') }}</el-divider>
<!-- 是否必须全局阅片 --> <!-- 是否必须全局阅片 -->
@ -18,7 +18,7 @@
{{ $t('dictionary:template:globalConfig:config') }} {{ $t('dictionary:template:globalConfig:config') }}
</el-button> </el-button>
</el-form> </el-form>
<el-form size="small" :inline="true" label-width="110px" style="position: relative"> <el-form size="small" :inline="true" style="position: relative">
<!-- 名称 --> <!-- 名称 -->
<el-divider content-position="left">{{ $t('dictionary:template:globalConfig:name') }}</el-divider> <el-divider content-position="left">{{ $t('dictionary:template:globalConfig:name') }}</el-divider>
<!-- 配置 --> <!-- 配置 -->
@ -44,7 +44,7 @@
<el-table-column <el-table-column
prop="" prop=""
:label="$t('dictionary:template:globalConfig:order')" :label="$t('dictionary:template:globalConfig:order')"
width="50" width="80"
> >
<template slot-scope="scope"> <template slot-scope="scope">
{{scope.$index + 1}} {{scope.$index + 1}}

View File

@ -1,6 +1,6 @@
<template> <template>
<div> <div>
<el-form size="small" :inline="true" label-width="110px" style="position: relative;"> <el-form size="small" :inline="true" style="position: relative;">
<!-- 阅片规则 --> <!-- 阅片规则 -->
<el-divider content-position="left">{{ $t('dictionary:template:globalConfig:readingRules') }}</el-divider> <el-divider content-position="left">{{ $t('dictionary:template:globalConfig:readingRules') }}</el-divider>
<!-- 是否肿瘤学阅片 --> <!-- 是否肿瘤学阅片 -->
@ -18,7 +18,7 @@
{{ $t('dictionary:template:globalConfig:config') }} {{ $t('dictionary:template:globalConfig:config') }}
</el-button> </el-button>
</el-form> </el-form>
<el-form size="small" :inline="true" label-width="110px" style="position: relative"> <el-form size="small" :inline="true" style="position: relative">
<!-- 阅片问题 --> <!-- 阅片问题 -->
<el-divider content-position="left">{{ $t('dictionary:template:oncologyConfig:reviewQs') }}</el-divider> <el-divider content-position="left">{{ $t('dictionary:template:oncologyConfig:reviewQs') }}</el-divider>
<!-- 配置 --> <!-- 配置 -->
@ -45,7 +45,7 @@
<el-table-column <el-table-column
prop="" prop=""
:label="$t('dictionary:template:globalConfig:order')" :label="$t('dictionary:template:globalConfig:order')"
width="50" width="80"
> >
<template slot-scope="scope"> <template slot-scope="scope">
{{scope.$index + 1}} {{scope.$index + 1}}
@ -126,7 +126,7 @@ import { getSystemOncologyInfo, setSystemOncologyInfo, getCriterionDictionary }
export default { export default {
props: { props: {
data: { data: {
type: String, type: Object,
default() { return {} } default() { return {} }
}, },
criterionId: { criterionId: {

View File

@ -42,7 +42,6 @@
v-adaptive="{bottomOffset:45}" v-adaptive="{bottomOffset:45}"
:data="list" :data="list"
stripe stripe
size="small"
height="100" height="100"
> >
<el-table-column type="index" width="60" /> <el-table-column type="index" width="60" />

View File

@ -65,7 +65,6 @@
v-adaptive="{bottomOffset:50}" v-adaptive="{bottomOffset:50}"
:data="list" :data="list"
stripe stripe
size="small"
height="100" height="100"
> >
<!-- 序号 --> <!-- 序号 -->
@ -79,12 +78,14 @@
prop="QuestionName" prop="QuestionName"
:label="$t('trials:MIMqcCfg:table:questionName')" :label="$t('trials:MIMqcCfg:table:questionName')"
show-overflow-tooltip show-overflow-tooltip
min-width="140"
/> />
<!-- 审核问题 --> <!-- 审核问题 -->
<el-table-column <el-table-column
prop="LanguageType" prop="LanguageType"
:label="$t('common:title:languageType')" :label="$t('common:title:languageType')"
show-overflow-tooltip show-overflow-tooltip
min-width="160"
> >
<template slot-scope="scope"> <template slot-scope="scope">
{{ $fd('LanguageType', scope.row.LanguageType) }} {{ $fd('LanguageType', scope.row.LanguageType) }}
@ -95,6 +96,7 @@
prop="Type" prop="Type"
:label="$t('trials:qcCfg:table:type')" :label="$t('trials:qcCfg:table:type')"
show-overflow-tooltip show-overflow-tooltip
min-width="140"
> >
<template slot-scope="scope"> <template slot-scope="scope">
{{ $fd('QcType', scope.row.Type) }} {{ $fd('QcType', scope.row.Type) }}
@ -105,12 +107,14 @@
prop="TypeValue" prop="TypeValue"
:label="$t('trials:qcCfg:table:typeValue')" :label="$t('trials:qcCfg:table:typeValue')"
show-overflow-tooltip show-overflow-tooltip
min-width="140"
/> />
<!-- 任务类型 --> <!-- 任务类型 -->
<el-table-column <el-table-column
prop="ReadingCategory" prop="ReadingCategory"
:label="$t('trials:medicalFeedbackCfg:title:taskType')" :label="$t('trials:medicalFeedbackCfg:title:taskType')"
show-overflow-tooltip show-overflow-tooltip
min-width="140"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag v-if="scope.row.ReadingCategory === 1" type="primary"> <el-tag v-if="scope.row.ReadingCategory === 1" type="primary">
@ -130,7 +134,7 @@
<el-table-column <el-table-column
prop="ReadingCategory" prop="ReadingCategory"
:label="$t('trials:auditRecord:table:criterion')" :label="$t('trials:auditRecord:table:criterion')"
width="240" min-width="160"
show-overflow-tooltip show-overflow-tooltip
> >
<template slot-scope="scope"> <template slot-scope="scope">
@ -142,7 +146,7 @@
<el-table-column <el-table-column
prop="IsGeneral" prop="IsGeneral"
:label="$t('dictionary:medicalAudit:label:IsGeneral')" :label="$t('dictionary:medicalAudit:label:IsGeneral')"
width="80" min-width="120"
show-overflow-tooltip show-overflow-tooltip
> >
<template slot-scope="scope"> <template slot-scope="scope">
@ -156,17 +160,20 @@
prop="ParentShowOrder" prop="ParentShowOrder"
:label="$t('trials:qcCfg:table:parentQs')" :label="$t('trials:qcCfg:table:parentQs')"
show-overflow-tooltip show-overflow-tooltip
min-width="140"
/> />
<!-- 父问题触发值 --> <!-- 父问题触发值 -->
<el-table-column <el-table-column
prop="ParentTriggerValue" prop="ParentTriggerValue"
:label="$t('trials:qcCfg:table:parentTriggerValue')" :label="$t('trials:qcCfg:table:parentTriggerValue')"
show-overflow-tooltip show-overflow-tooltip
min-width="160"
/> />
<!-- 是否必填 --> <!-- 是否必填 -->
<el-table-column <el-table-column
prop="IsRequired" prop="IsRequired"
:label="$t('trials:qcCfg:table:isRequired')" :label="$t('trials:qcCfg:table:isRequired')"
min-width="120"
> >
<template slot-scope="scope"> <template slot-scope="scope">
{{ $fd('YesOrNo', scope.row.IsRequired) }} {{ $fd('YesOrNo', scope.row.IsRequired) }}
@ -176,6 +183,7 @@
<el-table-column <el-table-column
prop="IsEnable" prop="IsEnable"
:label="$t('trials:qcCfg:table:isEnable')" :label="$t('trials:qcCfg:table:isEnable')"
min-width="120"
> >
<template slot-scope="scope"> <template slot-scope="scope">
{{ $fd('YesOrNo', scope.row.IsEnable) }} {{ $fd('YesOrNo', scope.row.IsEnable) }}

View File

@ -96,7 +96,7 @@
<el-table-column <el-table-column
prop="OrganType" prop="OrganType"
:label="$t('trials:readingUnit:baseDataCfg:title:organType')" :label="$t('trials:readingUnit:baseDataCfg:title:organType')"
min-width="120" min-width="140"
show-overflow-tooltip show-overflow-tooltip
sortable="custom" sortable="custom"
> >
@ -110,11 +110,12 @@
:label="$t('trials:readingUnit:baseDataCfg:title:classification')" :label="$t('trials:readingUnit:baseDataCfg:title:classification')"
show-overflow-tooltip show-overflow-tooltip
sortable="custom" sortable="custom"
min-width="140"
/> />
<el-table-column <el-table-column
prop="ClassificationEN" prop="ClassificationEN"
:label="$t('trials:readingUnit:baseDataCfg:title:classificationEn')" :label="$t('trials:readingUnit:baseDataCfg:title:classificationEn')"
min-width="140" min-width="160"
show-overflow-tooltip show-overflow-tooltip
sortable="custom" sortable="custom"
/> />
@ -124,6 +125,7 @@
:label="$t('trials:readingUnit:baseDataCfg:title:bodyPart')" :label="$t('trials:readingUnit:baseDataCfg:title:bodyPart')"
show-overflow-tooltip show-overflow-tooltip
sortable="custom" sortable="custom"
min-width="120"
/> />
<el-table-column <el-table-column
prop="PartEN" prop="PartEN"
@ -138,6 +140,7 @@
:label="$t('trials:readingUnit:baseDataCfg:title:organ')" :label="$t('trials:readingUnit:baseDataCfg:title:organ')"
show-overflow-tooltip show-overflow-tooltip
sortable="custom" sortable="custom"
min-width="120"
/> />
<el-table-column <el-table-column
prop="TULOCEN" prop="TULOCEN"
@ -152,6 +155,7 @@
:label="$t('trials:readingUnit:baseDataCfg:title:TULAT')" :label="$t('trials:readingUnit:baseDataCfg:title:TULAT')"
show-overflow-tooltip show-overflow-tooltip
sortable="custom" sortable="custom"
min-width="120"
/> />
<el-table-column <el-table-column
prop="TULATEN" prop="TULATEN"

View File

@ -57,7 +57,6 @@
v-adaptive="{bottomOffset:45}" v-adaptive="{bottomOffset:45}"
:data="list" :data="list"
stripe stripe
size="small"
height="100" height="100"
> >
<!-- 序号 --> <!-- 序号 -->

View File

@ -167,6 +167,7 @@
prop="IsConfirmRecord" prop="IsConfirmRecord"
show-overflow-tooltip show-overflow-tooltip
sortable="custom" sortable="custom"
width="200"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag :type="!scope.row.IsEnable ? 'info' : ''"> <el-tag :type="!scope.row.IsEnable ? 'info' : ''">

View File

@ -101,7 +101,7 @@
@mouseup="sliderMouseup($event, index)" @mouseup="sliderMouseup($event, index)"
@mousemove="sliderMousemove($event, index)" @mousemove="sliderMousemove($event, index)"
> >
<div v-show="v.fileType === 'image/jpeg'" :ref="`canvas-${index}`" class="content"> <div v-show="imageType.includes(v.fileType)" :ref="`canvas-${index}`" class="content">
<div class="left-top-text"> <div class="left-top-text">
<div <div
v-if="v.taskInfo.IsExistsClinicalData" v-if="v.taskInfo.IsExistsClinicalData"
@ -263,7 +263,8 @@ export default {
taskInfo: null, taskInfo: null,
activeTool: '', activeTool: '',
readingTaskState: 2, readingTaskState: 2,
renderHistoryAnnotationTaskIds: [] renderHistoryAnnotationTaskIds: [],
imageType: ['image/jpeg', 'image/jpg', 'image/bmp', 'image/png']
} }
}, },
computed: { computed: {
@ -493,7 +494,7 @@ export default {
if (!obj || Object.keys(obj).length === 0) return if (!obj || Object.keys(obj).length === 0) return
const i = this.viewportInfos.findIndex(i => i.index === this.activeCanvasIndex) const i = this.viewportInfos.findIndex(i => i.index === this.activeCanvasIndex)
if (i === -1) return if (i === -1) return
if (obj.studyId === this.viewportInfos[i].studyId && this.viewportInfos[i].fileType === 'image/jpeg' && obj.fileInfo.FileType === 'image/jpeg') { if (obj.studyId === this.viewportInfos[i].studyId && this.imageType.includes(this.viewportInfos[i].fileType) && this.imageType.includes(obj.fileInfo.FileType)) {
const fileIndex = this.viewportInfos[i].fileList.findIndex(i => i.Path === obj.fileInfo.Path) const fileIndex = this.viewportInfos[i].fileList.findIndex(i => i.Path === obj.fileInfo.Path)
this.sliceIndex(fileIndex) this.sliceIndex(fileIndex)
} else { } else {
@ -525,8 +526,8 @@ export default {
this.viewportInfos[i].currentFileName = obj.fileInfo.FileName this.viewportInfos[i].currentFileName = obj.fileInfo.FileName
this.viewportInfos[i].studyId = obj.studyId this.viewportInfos[i].studyId = obj.studyId
this.viewportInfos[i].fileType = obj.fileInfo.FileType this.viewportInfos[i].fileType = obj.fileInfo.FileType
if (obj.fileInfo.FileType === 'image/jpeg') { if (this.imageType.includes(obj.fileInfo.FileType)) {
const arr = obj.fileList.filter(i => i.FileType === obj.fileInfo.FileType) const arr = obj.fileList.filter(i => this.imageType.includes(i.FileType))
this.viewportInfos[i].fileList = arr this.viewportInfos[i].fileList = arr
const fileIndex = this.viewportInfos[i].fileList.findIndex(i => i.Path === obj.fileInfo.Path) const fileIndex = this.viewportInfos[i].fileList.findIndex(i => i.Path === obj.fileInfo.Path)
this.viewportInfos[i].currentImageIdIndex = fileIndex this.viewportInfos[i].currentImageIdIndex = fileIndex
@ -648,7 +649,7 @@ export default {
// //
toggleFullScreen(e, index) { toggleFullScreen(e, index) {
const i = this.viewportInfos.findIndex(i => i.index === index) const i = this.viewportInfos.findIndex(i => i.index === index)
if (i === -1 && this.viewportInfos[i].fileType !== 'image/jpeg') return if (i === -1 && this.imageType.includes(this.viewportInfos[i].fileType)) return
this.fullScreenIndex = this.fullScreenIndex === index ? null : index this.fullScreenIndex = this.fullScreenIndex === index ? null : index
this.activeCanvasIndex = index this.activeCanvasIndex = index
}, },
@ -847,12 +848,12 @@ export default {
}, },
sliderMouseup(e, index) { sliderMouseup(e, index) {
const i = this.viewportInfos.findIndex(i => i.index === index) const i = this.viewportInfos.findIndex(i => i.index === index)
if (i === -1 && this.viewportInfos[i].fileType !== 'image/jpeg') return if (i === -1 && this.imageType.includes(this.viewportInfos[i].fileType)) return
this.viewportInfos[i].isMove = false this.viewportInfos[i].isMove = false
}, },
sliderMousemove(e, index) { sliderMousemove(e, index) {
const i = this.viewportInfos.findIndex(i => i.index === index) const i = this.viewportInfos.findIndex(i => i.index === index)
if (i === -1 && this.viewportInfos[i].fileType !== 'image/jpeg') return if (i === -1 && this.imageType.includes(this.viewportInfos[i].fileType)) return
if (!this.viewportInfos[i].isMove) return if (!this.viewportInfos[i].isMove) return
const delta = this.viewportInfos[i].oldB - (this.viewportInfos[i].oldM - e.clientY) const delta = this.viewportInfos[i].oldB - (this.viewportInfos[i].oldM - e.clientY)
const boxHeight = this.$refs[`sliderBox-${index}`][0].clientHeight const boxHeight = this.$refs[`sliderBox-${index}`][0].clientHeight

View File

@ -12,12 +12,12 @@ const defaultSettings = require('./src/settings.js')
const moment = require('moment') const moment = require('moment')
var distDate = moment(new Date()).format('YYYY-MM-DD') var distDate = moment(new Date()).format('YYYY-MM-DD')
const name = process.env.NODE_ENV === 'usa' ? 'LILI' : defaultSettings.title || 'IRCIS' // page title const name = process.env.NODE_ENV === 'usa' ? 'LILI' : defaultSettings.title || 'IRCIS' // page title
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin; // const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin
// eslint-disable-next-line no-undef // eslint-disable-next-line no-undef
module.exports = defineConfig({ module.exports = defineConfig({
// lintOnSave: false, // lintOnSave: false,
transpileDependencies: false, transpileDependencies: false,
publicPath: process.env.NODE_ENV === 'development' || process.env.VUE_APP_OSS_CONFIG_BUCKET === 'zyypacs-usa' ? process.env.VUE_APP_BASE_PATH : `${process.env.VUE_FILE_PATH}${process.env.VUE_APP_OSS_PATH}${distDate}/`, publicPath: process.env.NODE_ENV === 'development' || process.env.NODE_ENV === 'production' || process.env.VUE_APP_OSS_CONFIG_BUCKET === 'zyypacs-usa' ? process.env.VUE_APP_BASE_PATH : `${process.env.VUE_FILE_PATH}${process.env.VUE_APP_OSS_PATH}${distDate}/`,
// publicPath: '/', // publicPath: '/',
outputDir: 'dist', outputDir: 'dist',
assetsDir: 'static', assetsDir: 'static',
@ -97,7 +97,7 @@ module.exports = defineConfig({
] ]
}), }),
// new BundleAnalyzerPlugin(), // new BundleAnalyzerPlugin(),
process.env.NODE_ENV === 'development' || process.env.VUE_APP_OSS_CONFIG_BUCKET === 'zyypacs-usa' ? function () { } process.env.NODE_ENV === 'development' || process.env.NODE_ENV === 'production' || process.env.VUE_APP_OSS_CONFIG_BUCKET === 'zyypacs-usa' ? function() { }
: new WebpackAliyunOss({ : new WebpackAliyunOss({
from: ['./dist/**'], from: ['./dist/**'],
dist: process.env.VUE_APP_OSS_PATH + distDate, dist: process.env.VUE_APP_OSS_PATH + distDate,
@ -184,7 +184,7 @@ module.exports = defineConfig({
// 生成文件的最大体积 // 生成文件的最大体积
maxAssetSize: 3000000000, maxAssetSize: 3000000000,
// 只给出js的性能提示 // 只给出js的性能提示
assetFilter: function (assetFileName) { assetFilter: function(assetFileName) {
return assetFileName.endsWith('.js') return assetFileName.endsWith('.js')
} }
} }