Merge branch 'main' of https://gitea.frp.extimaging.com/XCKJ/irc_web into main
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
commit
a887e686a8
|
@ -1378,9 +1378,9 @@ export function getForwardList(param) {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
export function getNoneDicomStudyList(subjectVisitId, sudyId = '', isFilterZip = false, visitTaskId = '') {
|
export function getNoneDicomStudyList(subjectVisitId, sudyId = '', isFilterZip = false, visitTaskId = '', IsReading = false) {
|
||||||
return request({
|
return request({
|
||||||
url: `/NoneDicomStudy/getNoneDicomStudyList?subjectVisitId=${subjectVisitId}&nonedicomStudyId=${sudyId}&isFilterZip=${isFilterZip}&visitTaskId=${visitTaskId}`,
|
url: `/NoneDicomStudy/getNoneDicomStudyList?subjectVisitId=${subjectVisitId}&nonedicomStudyId=${sudyId}&isFilterZip=${isFilterZip}&visitTaskId=${visitTaskId}&IsReading=${IsReading}`,
|
||||||
method: 'get'
|
method: 'get'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,7 +6,12 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="left-content">
|
<div class="left-content">
|
||||||
<!-- 检查层级 -->
|
<!-- 检查层级 -->
|
||||||
<div v-for="(study, i) in studyList" :key="study.CodeView">
|
<el-collapse v-model="activeNames" @change="handleChange">
|
||||||
|
<el-collapse-item
|
||||||
|
v-for="(study, i) in studyList"
|
||||||
|
:key="study.CodeView"
|
||||||
|
:name="study.CodeView"
|
||||||
|
><template slot="title">
|
||||||
<div class="study-desc">
|
<div class="study-desc">
|
||||||
<span>{{ study.CodeView }}</span>
|
<span>{{ study.CodeView }}</span>
|
||||||
<span v-if="OtherInfo.IsShowStudyName" style="margin-left: 5px">
|
<span v-if="OtherInfo.IsShowStudyName" style="margin-left: 5px">
|
||||||
|
@ -15,6 +20,7 @@
|
||||||
<span style="margin: 0 5px">{{ study.Modality }}</span>
|
<span style="margin: 0 5px">{{ study.Modality }}</span>
|
||||||
<span>{{ getBodyPart(study.BodyPart) }}</span>
|
<span>{{ getBodyPart(study.BodyPart) }}</span>
|
||||||
</div>
|
</div>
|
||||||
|
</template>
|
||||||
<!-- 文件层级 -->
|
<!-- 文件层级 -->
|
||||||
<div
|
<div
|
||||||
v-if="study.NoneDicomStudyFileList.length === 0"
|
v-if="study.NoneDicomStudyFileList.length === 0"
|
||||||
|
@ -33,10 +39,22 @@
|
||||||
class="img-box"
|
class="img-box"
|
||||||
@click="selected(item, i, j, true)"
|
@click="selected(item, i, j, true)"
|
||||||
>
|
>
|
||||||
|
<div v-if="item.FileType === 'image/jpeg'" class="file-image">
|
||||||
|
<el-image
|
||||||
|
style="width: 100%; height: 100%"
|
||||||
|
:src="`${OSSclientConfig.basePath}${item.Path}?x-oss-process=image/resize,w_50,h_50/format,png`"
|
||||||
|
fit="contain"
|
||||||
|
crossorigin="anonymous"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
<div v-if="item.FileName.length < 15" class="img-text">
|
<div v-if="item.FileName.length < 15" class="img-text">
|
||||||
{{ `${j + 1}. ${item.FileName}` }}
|
{{ `${j + 1}. ${item.FileName}` }}
|
||||||
</div>
|
</div>
|
||||||
<el-tooltip v-else :content="item.FileName" placement="bottom">
|
<el-tooltip
|
||||||
|
v-else
|
||||||
|
:content="item.FileName"
|
||||||
|
placement="bottom"
|
||||||
|
>
|
||||||
<div class="img-text">
|
<div class="img-text">
|
||||||
{{ `${j + 1}. ${item.FileName}` }}
|
{{ `${j + 1}. ${item.FileName}` }}
|
||||||
</div>
|
</div>
|
||||||
|
@ -66,7 +84,8 @@
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</el-collapse-item>
|
||||||
|
</el-collapse>
|
||||||
</div>
|
</div>
|
||||||
</el-card>
|
</el-card>
|
||||||
<!-- 预览图像 -->
|
<!-- 预览图像 -->
|
||||||
|
@ -136,12 +155,13 @@ export default {
|
||||||
},
|
},
|
||||||
isQcCheck: false,
|
isQcCheck: false,
|
||||||
isAudit: false,
|
isAudit: false,
|
||||||
|
|
||||||
|
activeNames: [],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
async created() {
|
async created() {
|
||||||
this.bp = await this.$getBodyPart(this.$route.query.trialId)
|
this.bp = await this.$getBodyPart(this.$route.query.trialId)
|
||||||
this.isQcCheck = !!this.$route.query.isQcCheck
|
this.isQcCheck = !!this.$route.query.isQcCheck
|
||||||
console.log(this.isQcCheck)
|
|
||||||
},
|
},
|
||||||
async mounted() {
|
async mounted() {
|
||||||
if (this.$router.currentRoute.query.TokenKey) {
|
if (this.$router.currentRoute.query.TokenKey) {
|
||||||
|
@ -154,6 +174,7 @@ export default {
|
||||||
// 默认选择第一个文件
|
// 默认选择第一个文件
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
handleChange() {},
|
||||||
changeReadingStatus(callback, row, file) {
|
changeReadingStatus(callback, row, file) {
|
||||||
let statusStr = ''
|
let statusStr = ''
|
||||||
if (callback) {
|
if (callback) {
|
||||||
|
@ -244,7 +265,6 @@ export default {
|
||||||
.catch(() => {})
|
.catch(() => {})
|
||||||
},
|
},
|
||||||
getBodyPart(bodyPart) {
|
getBodyPart(bodyPart) {
|
||||||
console.log(bodyPart)
|
|
||||||
if (!bodyPart) return ''
|
if (!bodyPart) return ''
|
||||||
var separator = ','
|
var separator = ','
|
||||||
if (bodyPart.indexOf('|') > -1) {
|
if (bodyPart.indexOf('|') > -1) {
|
||||||
|
@ -264,7 +284,6 @@ export default {
|
||||||
'Name'
|
'Name'
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
console.log(newArr, this.bp)
|
|
||||||
return newArr.join(' | ')
|
return newArr.join(' | ')
|
||||||
},
|
},
|
||||||
// 获取非Dicom检查信息
|
// 获取非Dicom检查信息
|
||||||
|
@ -274,7 +293,8 @@ export default {
|
||||||
this.subjectVisitId,
|
this.subjectVisitId,
|
||||||
this.studyId,
|
this.studyId,
|
||||||
false,
|
false,
|
||||||
this.$route.query.visitTaskId
|
this.$route.query.visitTaskId,
|
||||||
|
!!this.$route.query.isReading
|
||||||
)
|
)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
this.studyList = res.Result
|
this.studyList = res.Result
|
||||||
|
@ -284,6 +304,8 @@ export default {
|
||||||
const studyIndex = this.studyList.findIndex((item) => {
|
const studyIndex = this.studyList.findIndex((item) => {
|
||||||
return item.NoneDicomStudyFileList.length > 0
|
return item.NoneDicomStudyFileList.length > 0
|
||||||
})
|
})
|
||||||
|
this.activeNames = this.studyList.map((item) => item.CodeView)
|
||||||
|
console.log(this.activeNames)
|
||||||
if (studyIndex > -1) {
|
if (studyIndex > -1) {
|
||||||
var fileObj = this.studyList[studyIndex]['NoneDicomStudyFileList']
|
var fileObj = this.studyList[studyIndex]['NoneDicomStudyFileList']
|
||||||
this.selected(fileObj[0], studyIndex, 0, true)
|
this.selected(fileObj[0], studyIndex, 0, true)
|
||||||
|
@ -366,7 +388,7 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.study-desc {
|
.study-desc {
|
||||||
padding: 15px 5px;
|
padding: 10px 5px;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
background-color: #d5d5d5;
|
background-color: #d5d5d5;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
|
@ -411,6 +433,11 @@ export default {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
border-bottom: 2px solid #f3f3f3;
|
border-bottom: 2px solid #f3f3f3;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
justify-content: flex-start;
|
||||||
|
padding: 5px 10px;
|
||||||
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
// margin-bottom: 5px;
|
// margin-bottom: 5px;
|
||||||
|
@ -418,7 +445,8 @@ export default {
|
||||||
}
|
}
|
||||||
.img-text {
|
.img-text {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 200px;
|
width: calc(100% - 60px);
|
||||||
|
margin-left: 5px;
|
||||||
height: 50px;
|
height: 50px;
|
||||||
line-height: 50px;
|
line-height: 50px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
@ -446,7 +474,8 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.switchBox {
|
.switchBox {
|
||||||
margin-bottom: 5px;
|
width: 100%;
|
||||||
|
margin: 5px 0;
|
||||||
color: #4e4e4e;
|
color: #4e4e4e;
|
||||||
.item {
|
.item {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -455,4 +484,18 @@ export default {
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.file-image {
|
||||||
|
width: 50px;
|
||||||
|
height: 50px;
|
||||||
|
}
|
||||||
|
::v-deep .el-collapse-item__header {
|
||||||
|
background-color: #d5d5d5;
|
||||||
|
}
|
||||||
|
::v-deep .el-collapse-item__header {
|
||||||
|
min-height: 48px;
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
::v-deep .el-collapse-item__content{
|
||||||
|
padding-bottom: 0;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -223,6 +223,18 @@
|
||||||
<!-- 详情 -->
|
<!-- 详情 -->
|
||||||
<el-button
|
<el-button
|
||||||
circle
|
circle
|
||||||
|
:disabled="
|
||||||
|
(scope.row.TrialStatusStr === 'Initializing' &&
|
||||||
|
!hasPermi(['role:pm'])) ||
|
||||||
|
scope.row.IsDeleted ||
|
||||||
|
((scope.row.TrialStatusStr === 'Completed' ||
|
||||||
|
scope.row.TrialStatusStr === 'Stopped') &&
|
||||||
|
!(
|
||||||
|
hasPermi(['role:qa']) ||
|
||||||
|
hasPermi(['role:ea']) ||
|
||||||
|
hasPermi(['role:pm'])
|
||||||
|
))
|
||||||
|
"
|
||||||
icon="el-icon-info"
|
icon="el-icon-info"
|
||||||
:title="$t('system:retrospect:table:detail')"
|
:title="$t('system:retrospect:table:detail')"
|
||||||
@click.stop="handleDetail(scope.row)"
|
@click.stop="handleDetail(scope.row)"
|
||||||
|
@ -271,19 +283,11 @@
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="UserTypeShortName"
|
prop="UserTypeShortName"
|
||||||
:label="
|
:label="$t('system:retrospect:table:UserTypeShortName')"
|
||||||
$t(
|
|
||||||
'system:retrospect:table:UserTypeShortName'
|
|
||||||
)
|
|
||||||
"
|
|
||||||
/>
|
/>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="IsDeleted"
|
prop="IsDeleted"
|
||||||
:label="
|
:label="$t('system:retrospect:table:IsUserRoleDisabled')"
|
||||||
$t(
|
|
||||||
'system:retrospect:table:IsUserRoleDisabled'
|
|
||||||
)
|
|
||||||
"
|
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span> {{ $fd('IsDisable', scope.row.IsDeleted) }}</span>
|
<span> {{ $fd('IsDisable', scope.row.IsDeleted) }}</span>
|
||||||
|
@ -291,11 +295,7 @@
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="IsDeleted"
|
prop="IsDeleted"
|
||||||
:label="
|
:label="$t('system:retrospect:table:enableTime')"
|
||||||
$t(
|
|
||||||
'system:retrospect:table:enableTime'
|
|
||||||
)
|
|
||||||
"
|
|
||||||
min-width="120px"
|
min-width="120px"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
|
@ -306,11 +306,7 @@
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="IsDeleted"
|
prop="IsDeleted"
|
||||||
:label="
|
:label="$t('system:retrospect:table:forbiddenTime')"
|
||||||
$t(
|
|
||||||
'system:retrospect:table:forbiddenTime'
|
|
||||||
)
|
|
||||||
"
|
|
||||||
min-width="120px"
|
min-width="120px"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
|
|
|
@ -76,6 +76,7 @@
|
||||||
{{ $t('common:button:reset') }}
|
{{ $t('common:button:reset') }}
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button
|
<el-button
|
||||||
|
v-if="hasPermi(['trials:trials-panel:setting:email-manage:edit'])"
|
||||||
type="primary"
|
type="primary"
|
||||||
icon="el-icon-plus"
|
icon="el-icon-plus"
|
||||||
size="small"
|
size="small"
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
:label="item.TrialReadingCriterionName"
|
:label="item.TrialReadingCriterionName"
|
||||||
:name="item.TrialReadingCriterionId"
|
:name="item.TrialReadingCriterionId"
|
||||||
>
|
>
|
||||||
<div style="text-align: right; padding: 5px 0px" v-if="!hasPermi(['role:admin'])">
|
<div style="text-align: right; padding: 5px 0px" v-if="!hasPermi(['role:admin','role:qa','role:ea'])">
|
||||||
<!-- 同步当前标准 -->
|
<!-- 同步当前标准 -->
|
||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
|
|
|
@ -1,12 +1,24 @@
|
||||||
<template>
|
<template>
|
||||||
<BaseContainer>
|
<BaseContainer>
|
||||||
<el-tabs v-model="TrialReadingCriterionId" type="border-card">
|
<el-tabs v-model="TrialReadingCriterionId" type="border-card">
|
||||||
<el-tab-pane v-for="criterion of trialCriterionList" :key="criterion.TrialReadingCriterionId" :label="criterion.TrialReadingCriterionName" :name="criterion.TrialReadingCriterionId">
|
<el-tab-pane
|
||||||
<div v-if="TrialReadingCriterionId === criterion.TrialReadingCriterionId">
|
v-for="criterion of trialCriterionList"
|
||||||
|
:key="criterion.TrialReadingCriterionId"
|
||||||
|
:label="criterion.TrialReadingCriterionName"
|
||||||
|
:name="criterion.TrialReadingCriterionId"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
v-if="TrialReadingCriterionId === criterion.TrialReadingCriterionId"
|
||||||
|
>
|
||||||
<div slot="search-container">
|
<div slot="search-container">
|
||||||
<el-form :inline="true">
|
<el-form :inline="true">
|
||||||
<el-form-item :label="$t('trials:subject:table:site')">
|
<el-form-item :label="$t('trials:subject:table:site')">
|
||||||
<el-select v-model="searchData.TrialSiteCode" clearable filterable style="width:130px;">
|
<el-select
|
||||||
|
v-model="searchData.TrialSiteCode"
|
||||||
|
clearable
|
||||||
|
filterable
|
||||||
|
style="width: 130px"
|
||||||
|
>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="(item, index) of siteOptions"
|
v-for="(item, index) of siteOptions"
|
||||||
:key="index"
|
:key="index"
|
||||||
|
@ -17,29 +29,69 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- Subject ID -->
|
<!-- Subject ID -->
|
||||||
<el-form-item :label="$t('trials:subject:table:subjectId')">
|
<el-form-item :label="$t('trials:subject:table:subjectId')">
|
||||||
<el-input v-model="searchData.SubjectCode" style="width:130px;" />
|
<el-input
|
||||||
|
v-model="searchData.SubjectCode"
|
||||||
|
style="width: 130px"
|
||||||
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- Status -->
|
<!-- Status -->
|
||||||
<el-form-item :label="$t('trials:subject:table:status')">
|
<el-form-item :label="$t('trials:subject:table:status')">
|
||||||
<el-select v-model="searchData.SubjectStatus" clearable style="width:130px;">
|
<el-select
|
||||||
<el-option v-for="item of $d.Subject_Visit_Status" :key="item.value" :value="item.value" :label="item.label" />
|
v-model="searchData.SubjectStatus"
|
||||||
|
clearable
|
||||||
|
style="width: 130px"
|
||||||
|
>
|
||||||
|
<el-option
|
||||||
|
v-for="item of $d.Subject_Visit_Status"
|
||||||
|
:key="item.value"
|
||||||
|
:value="item.value"
|
||||||
|
:label="item.label"
|
||||||
|
/>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item :label="$t('trials:trials-panel:form:ParticipateEvaluation')">
|
<el-form-item
|
||||||
<el-select v-model="searchData.IsJoinEvaluation" clearable style="width:130px;">
|
:label="$t('trials:trials-panel:form:ParticipateEvaluation')"
|
||||||
<el-option v-for="item of $d.YesOrNo" :key="item.value" :value="item.value" :label="item.label" />
|
>
|
||||||
|
<el-select
|
||||||
|
v-model="searchData.IsJoinEvaluation"
|
||||||
|
clearable
|
||||||
|
style="width: 130px"
|
||||||
|
>
|
||||||
|
<el-option
|
||||||
|
v-for="item of $d.YesOrNo"
|
||||||
|
:key="item.value"
|
||||||
|
:value="item.value"
|
||||||
|
:label="item.label"
|
||||||
|
/>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item :label="$t('trials:subject:form:ImageSelect')">
|
<el-form-item :label="$t('trials:subject:form:ImageSelect')">
|
||||||
<el-select v-model="searchData.IsImageFiltering" clearable style="width:130px;">
|
<el-select
|
||||||
<el-option v-for="item of $d.YesOrNo" :key="item.value" :value="item.value" :label="item.label" />
|
v-model="searchData.IsImageFiltering"
|
||||||
|
clearable
|
||||||
|
style="width: 130px"
|
||||||
|
>
|
||||||
|
<el-option
|
||||||
|
v-for="item of $d.YesOrNo"
|
||||||
|
:key="item.value"
|
||||||
|
:value="item.value"
|
||||||
|
:label="item.label"
|
||||||
|
/>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-button type="primary" icon="el-icon-search" @click="handleSearch">
|
<el-button
|
||||||
|
type="primary"
|
||||||
|
icon="el-icon-search"
|
||||||
|
@click="handleSearch"
|
||||||
|
>
|
||||||
{{ $t('common:button:search') }}
|
{{ $t('common:button:search') }}
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button type="primary" icon="el-icon-refresh-left" @click="handleReset">
|
<el-button
|
||||||
|
type="primary"
|
||||||
|
icon="el-icon-refresh-left"
|
||||||
|
@click="handleReset"
|
||||||
|
>
|
||||||
{{ $t('common:button:reset') }}
|
{{ $t('common:button:reset') }}
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button type="primary" @click="handleSelect()">
|
<el-button type="primary" @click="handleSelect()">
|
||||||
|
@ -59,7 +111,11 @@
|
||||||
@sort-change="handleSortChange"
|
@sort-change="handleSortChange"
|
||||||
@selection-change="handleSelectChange"
|
@selection-change="handleSelectChange"
|
||||||
>
|
>
|
||||||
<el-table-column type="selection" width="50" :selectable="handleSelectTable" />
|
<el-table-column
|
||||||
|
type="selection"
|
||||||
|
width="50"
|
||||||
|
:selectable="handleSelectTable"
|
||||||
|
/>
|
||||||
<el-table-column type="index" width="40" />
|
<el-table-column type="index" width="40" />
|
||||||
<!-- 中心编号 -->
|
<!-- 中心编号 -->
|
||||||
<el-table-column
|
<el-table-column
|
||||||
|
@ -84,20 +140,44 @@
|
||||||
sortable="custom"
|
sortable="custom"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-tag v-if="scope.row.SubjectStatus === 1" type="primary">{{ $fd('Subject_Visit_Status', scope.row.SubjectStatus) }}</el-tag>
|
<el-tag v-if="scope.row.SubjectStatus === 1" type="primary">{{
|
||||||
<el-tag v-if="scope.row.SubjectStatus === 2" type="danger">{{ $fd('Subject_Visit_Status', scope.row.SubjectStatus) }}</el-tag>
|
$fd('Subject_Visit_Status', scope.row.SubjectStatus)
|
||||||
|
}}</el-tag>
|
||||||
|
<el-tag v-if="scope.row.SubjectStatus === 2" type="danger">{{
|
||||||
|
$fd('Subject_Visit_Status', scope.row.SubjectStatus)
|
||||||
|
}}</el-tag>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
:prop="item.QuestionId"
|
:prop="item.QuestionId"
|
||||||
v-for="(item, index) of OtherInfo"
|
v-for="(item, index) of OtherInfo"
|
||||||
:label="$i18n.locale === 'zh' ? item.QuestionName : item.QuestionEnName"
|
:label="
|
||||||
|
$i18n.locale === 'zh'
|
||||||
|
? item.QuestionName
|
||||||
|
: item.QuestionEnName
|
||||||
|
"
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
:key="item.QuestionId"
|
:key="item.QuestionId"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-tooltip class="item" effect="dark" :content="getReadingEvaluationList(item.QuestionId, scope.row.ReadingEvaluationList)" placement="top">
|
<el-tooltip
|
||||||
<span>{{$fd(scope.row.FinalEvaluationList[index].FinalTranslateDictionaryCode, parseInt(scope.row.FinalEvaluationList[index].Answer))}}</span>
|
class="item"
|
||||||
|
effect="dark"
|
||||||
|
:content="
|
||||||
|
getReadingEvaluationList(
|
||||||
|
item.QuestionId,
|
||||||
|
scope.row.ReadingEvaluationList
|
||||||
|
)
|
||||||
|
"
|
||||||
|
placement="top"
|
||||||
|
>
|
||||||
|
<span>{{
|
||||||
|
$fd(
|
||||||
|
scope.row.FinalEvaluationList[index]
|
||||||
|
.FinalTranslateDictionaryCode,
|
||||||
|
parseInt(scope.row.FinalEvaluationList[index].Answer)
|
||||||
|
)
|
||||||
|
}}</span>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
@ -110,8 +190,14 @@
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-tag v-if="scope.row.IsJoinEvaluation" type="primary">{{ $fd('YesOrNo', scope.row.IsJoinEvaluation) }}</el-tag>
|
<el-tag v-if="scope.row.IsJoinEvaluation" type="primary">{{
|
||||||
<el-tag v-if="scope.row.IsJoinEvaluation === false" type="danger">{{ $fd('YesOrNo', scope.row.IsJoinEvaluation) }}</el-tag>
|
$fd('YesOrNo', scope.row.IsJoinEvaluation)
|
||||||
|
}}</el-tag>
|
||||||
|
<el-tag
|
||||||
|
v-if="scope.row.IsJoinEvaluation === false"
|
||||||
|
type="danger"
|
||||||
|
>{{ $fd('YesOrNo', scope.row.IsJoinEvaluation) }}</el-tag
|
||||||
|
>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
|
@ -122,13 +208,22 @@
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-tag v-if="scope.row.IsImageFiltering" type="primary">{{ $fd('YesOrNo', scope.row.IsImageFiltering) }}</el-tag>
|
<el-tag v-if="scope.row.IsImageFiltering" type="primary">{{
|
||||||
<el-tag v-if="scope.row.IsImageFiltering === false" type="danger">{{ $fd('YesOrNo', scope.row.IsImageFiltering) }}</el-tag>
|
$fd('YesOrNo', scope.row.IsImageFiltering)
|
||||||
|
}}</el-tag>
|
||||||
|
<el-tag
|
||||||
|
v-if="scope.row.IsImageFiltering === false"
|
||||||
|
type="danger"
|
||||||
|
>{{ $fd('YesOrNo', scope.row.IsImageFiltering) }}</el-tag
|
||||||
|
>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
:label="$t('common:action:action')"
|
:label="$t('common:action:action')"
|
||||||
width="120"
|
width="120"
|
||||||
|
v-if="
|
||||||
|
hasPermi(['trials:trials-panel:subject:brainMetastasis:Edit'])
|
||||||
|
"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<!-- 选择受试者 -->
|
<!-- 选择受试者 -->
|
||||||
|
@ -151,7 +246,13 @@
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
<!-- 分页组件 -->
|
<!-- 分页组件 -->
|
||||||
<pagination class="page" :total="total" :page.sync="searchData.PageIndex" :limit.sync="searchData.PageSize" @pagination="getList" />
|
<pagination
|
||||||
|
class="page"
|
||||||
|
:total="total"
|
||||||
|
:page.sync="searchData.PageIndex"
|
||||||
|
:limit.sync="searchData.PageSize"
|
||||||
|
@pagination="getList"
|
||||||
|
/>
|
||||||
<!-- 添加受试者阅片期 -->
|
<!-- 添加受试者阅片期 -->
|
||||||
<el-dialog
|
<el-dialog
|
||||||
v-if="selectSubject.visible"
|
v-if="selectSubject.visible"
|
||||||
|
@ -161,8 +262,18 @@
|
||||||
custom-class="base-dialog-wrapper"
|
custom-class="base-dialog-wrapper"
|
||||||
:close-on-click-modal="false"
|
:close-on-click-modal="false"
|
||||||
>
|
>
|
||||||
<select-subject v-if="!isBatch" :data="rowData" @close="selectSubject.visible = false" @getList="getList"></select-subject>
|
<select-subject
|
||||||
<batch-select-subject v-else :select-list="selectList" @close="selectSubject.visible = false" @getList="getList"></batch-select-subject>
|
v-if="!isBatch"
|
||||||
|
:data="rowData"
|
||||||
|
@close="selectSubject.visible = false"
|
||||||
|
@getList="getList"
|
||||||
|
></select-subject>
|
||||||
|
<batch-select-subject
|
||||||
|
v-else
|
||||||
|
:select-list="selectList"
|
||||||
|
@close="selectSubject.visible = false"
|
||||||
|
@getList="getList"
|
||||||
|
></batch-select-subject>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
<el-dialog
|
<el-dialog
|
||||||
v-if="selectSubjectImage.visible"
|
v-if="selectSubjectImage.visible"
|
||||||
|
@ -172,7 +283,11 @@
|
||||||
custom-class="base-dialog-wrapper"
|
custom-class="base-dialog-wrapper"
|
||||||
:close-on-click-modal="false"
|
:close-on-click-modal="false"
|
||||||
>
|
>
|
||||||
<select-subject-image :data="rowData" @close="selectSubjectImage.visible = false" @getList="getList"></select-subject-image>
|
<select-subject-image
|
||||||
|
:data="rowData"
|
||||||
|
@close="selectSubjectImage.visible = false"
|
||||||
|
@getList="getList"
|
||||||
|
></select-subject-image>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -182,7 +297,15 @@
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import { getTrialCriterionList2, getTrialSiteSelect } from '@/api/trials'
|
import { getTrialCriterionList2, getTrialSiteSelect } from '@/api/trials'
|
||||||
import { getSubjectCriteriaEvaluationList, batchAddOrUpdateSubjectCriteriaEvaluation, getSubjectCriteriaEvaluationVisitFilterList, getHaveGeneratedTaskList, batchGenerateTask, getVisitStudyAndSeriesList, batchAddSubjectCriteriaEvaluationVisitStudyFilter } from '@/api/trials/subject'
|
import {
|
||||||
|
getSubjectCriteriaEvaluationList,
|
||||||
|
batchAddOrUpdateSubjectCriteriaEvaluation,
|
||||||
|
getSubjectCriteriaEvaluationVisitFilterList,
|
||||||
|
getHaveGeneratedTaskList,
|
||||||
|
batchGenerateTask,
|
||||||
|
getVisitStudyAndSeriesList,
|
||||||
|
batchAddSubjectCriteriaEvaluationVisitStudyFilter,
|
||||||
|
} from '@/api/trials/subject'
|
||||||
import BaseContainer from '@/components/BaseContainer'
|
import BaseContainer from '@/components/BaseContainer'
|
||||||
import Pagination from '@/components/Pagination'
|
import Pagination from '@/components/Pagination'
|
||||||
import batchSelectSubject from './components/batchSelectSubject'
|
import batchSelectSubject from './components/batchSelectSubject'
|
||||||
|
@ -198,12 +321,18 @@ const searchDataDefault = () => {
|
||||||
Asc: true,
|
Asc: true,
|
||||||
SortField: null,
|
SortField: null,
|
||||||
PageIndex: 1,
|
PageIndex: 1,
|
||||||
PageSize: 20
|
PageSize: 20,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const MinPlanCount = 10
|
const MinPlanCount = 10
|
||||||
export default {
|
export default {
|
||||||
components: { BaseContainer, Pagination, selectSubject, batchSelectSubject, selectSubjectImage },
|
components: {
|
||||||
|
BaseContainer,
|
||||||
|
Pagination,
|
||||||
|
selectSubject,
|
||||||
|
batchSelectSubject,
|
||||||
|
selectSubjectImage,
|
||||||
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
OtherInfo: [],
|
OtherInfo: [],
|
||||||
|
@ -214,12 +343,18 @@ export default {
|
||||||
siteOptions: [],
|
siteOptions: [],
|
||||||
trialId: this.$route.query.trialId,
|
trialId: this.$route.query.trialId,
|
||||||
list: [],
|
list: [],
|
||||||
selectSubject: { visible: false, title: this.$t('trials:subject:dialogTitle:SubjectsSelect') },
|
selectSubject: {
|
||||||
|
visible: false,
|
||||||
|
title: this.$t('trials:subject:dialogTitle:SubjectsSelect'),
|
||||||
|
},
|
||||||
selectList: [],
|
selectList: [],
|
||||||
total: 0,
|
total: 0,
|
||||||
rowData: null,
|
rowData: null,
|
||||||
isBatch: false,
|
isBatch: false,
|
||||||
selectSubjectImage: { visible: false, title: this.$t('trials:subject:action:ImageSelect') },
|
selectSubjectImage: {
|
||||||
|
visible: false,
|
||||||
|
title: this.$t('trials:subject:action:ImageSelect'),
|
||||||
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
name: 'TrialsNotice',
|
name: 'TrialsNotice',
|
||||||
|
@ -228,7 +363,7 @@ export default {
|
||||||
if (v) {
|
if (v) {
|
||||||
this.getList()
|
this.getList()
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.getSite()
|
this.getSite()
|
||||||
|
@ -241,7 +376,9 @@ export default {
|
||||||
handleSelectSubjectImage(row) {
|
handleSelectSubjectImage(row) {
|
||||||
this.rowData = { ...row }
|
this.rowData = { ...row }
|
||||||
this.selectSubjectImage.visible = true
|
this.selectSubjectImage.visible = true
|
||||||
this.selectSubjectImage.title = `${this.$t('trials:subject:action:ImageSelect')}(${row.SubjectCode})`
|
this.selectSubjectImage.title = `${this.$t(
|
||||||
|
'trials:subject:action:ImageSelect'
|
||||||
|
)}(${row.SubjectCode})`
|
||||||
},
|
},
|
||||||
handleSelectChange(e) {
|
handleSelectChange(e) {
|
||||||
this.selectList = e
|
this.selectList = e
|
||||||
|
@ -279,12 +416,16 @@ export default {
|
||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
getReadingEvaluationList(QuestionId, list) {
|
getReadingEvaluationList(QuestionId, list) {
|
||||||
var arr = list.filter(v => {
|
var arr = list.filter((v) => {
|
||||||
return v.QuestionId === QuestionId
|
return v.QuestionId === QuestionId
|
||||||
})
|
})
|
||||||
var text = ''
|
var text = ''
|
||||||
arr.forEach(v => {
|
arr.forEach((v) => {
|
||||||
text += ' ' + this.$fd('ArmEnum', v.ArmEnum) + ':' + this.$fd(v.FinalTranslateDictionaryCode, parseInt(v.Answer))
|
text +=
|
||||||
|
' ' +
|
||||||
|
this.$fd('ArmEnum', v.ArmEnum) +
|
||||||
|
':' +
|
||||||
|
this.$fd(v.FinalTranslateDictionaryCode, parseInt(v.Answer))
|
||||||
})
|
})
|
||||||
return text
|
return text
|
||||||
},
|
},
|
||||||
|
@ -292,26 +433,29 @@ export default {
|
||||||
getSubjectCriteriaEvaluationList({
|
getSubjectCriteriaEvaluationList({
|
||||||
...this.searchData,
|
...this.searchData,
|
||||||
TrialId: this.trialId,
|
TrialId: this.trialId,
|
||||||
TrialReadingCriterionId: this.TrialReadingCriterionId
|
TrialReadingCriterionId: this.TrialReadingCriterionId,
|
||||||
}).then(res => {
|
}).then((res) => {
|
||||||
this.list = res.Result.CurrentPageData
|
this.list = res.Result.CurrentPageData
|
||||||
this.OtherInfo = res.OtherInfo
|
this.OtherInfo = res.OtherInfo
|
||||||
this.total = res.Result.TotalCount
|
this.total = res.Result.TotalCount
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
getTrialCriterionList() {
|
getTrialCriterionList() {
|
||||||
getTrialCriterionList2(this.trialId, false).then(res => {
|
getTrialCriterionList2(this.trialId, false)
|
||||||
|
.then((res) => {
|
||||||
this.trialCriterionList = res.Result
|
this.trialCriterionList = res.Result
|
||||||
this.TrialReadingCriterionId = this.trialCriterionList[0].TrialReadingCriterionId
|
this.TrialReadingCriterionId =
|
||||||
}).catch(() => {})
|
this.trialCriterionList[0].TrialReadingCriterionId
|
||||||
|
})
|
||||||
|
.catch(() => {})
|
||||||
},
|
},
|
||||||
// 获取site下拉框数据
|
// 获取site下拉框数据
|
||||||
getSite() {
|
getSite() {
|
||||||
getTrialSiteSelect(this.trialId).then(res => {
|
getTrialSiteSelect(this.trialId).then((res) => {
|
||||||
this.siteOptions = res.Result
|
this.siteOptions = res.Result
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
|
|
@ -216,6 +216,7 @@
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
|
v-if="hasPermi(['trials:trials-panel:subject:readingPeriod:edit'])"
|
||||||
:fixed="(otherInfo.IsReadingPeriod || otherInfo.IsClinicalReading) && ReadingInfoSignTime && hasPermi(['trials:trials-panel:subject:readingPeriod:edit']) ? 'right':false"
|
:fixed="(otherInfo.IsReadingPeriod || otherInfo.IsClinicalReading) && ReadingInfoSignTime && hasPermi(['trials:trials-panel:subject:readingPeriod:edit']) ? 'right':false"
|
||||||
:label="(otherInfo.IsReadingPeriod || otherInfo.IsClinicalReading) && ReadingInfoSignTime && hasPermi(['trials:trials-panel:subject:readingPeriod:edit']) ? $t('common:action:action') : ''"
|
:label="(otherInfo.IsReadingPeriod || otherInfo.IsClinicalReading) && ReadingInfoSignTime && hasPermi(['trials:trials-panel:subject:readingPeriod:edit']) ? $t('common:action:action') : ''"
|
||||||
:width="(otherInfo.IsReadingPeriod || otherInfo.IsClinicalReading) && ReadingInfoSignTime && hasPermi(['trials:trials-panel:subject:readingPeriod:edit']) ? '150px' : '80px' "
|
:width="(otherInfo.IsReadingPeriod || otherInfo.IsClinicalReading) && ReadingInfoSignTime && hasPermi(['trials:trials-panel:subject:readingPeriod:edit']) ? '150px' : '80px' "
|
||||||
|
|
|
@ -12,9 +12,9 @@
|
||||||
<!-- 所有检查信息 -->
|
<!-- 所有检查信息 -->
|
||||||
<el-card shadow="hover" style="min-height: 600px">
|
<el-card shadow="hover" style="min-height: 600px">
|
||||||
<el-tabs v-model="activeName" type="card">
|
<el-tabs v-model="activeName" type="card">
|
||||||
<!-- DICOM影像 -->
|
<!-- DICOM影像 data.DicomStudyCount > 0-->
|
||||||
<el-tab-pane
|
<el-tab-pane
|
||||||
v-if="data.DicomStudyCount > 0"
|
v-if="studyList.length > 0"
|
||||||
:label="$t('trials:audit:tab:dicoms')"
|
:label="$t('trials:audit:tab:dicoms')"
|
||||||
name="dicom"
|
name="dicom"
|
||||||
>
|
>
|
||||||
|
@ -433,13 +433,23 @@
|
||||||
>
|
>
|
||||||
{{ $t('trials:audit:button:downLoadAllNonDiocms') }}
|
{{ $t('trials:audit:button:downLoadAllNonDiocms') }}
|
||||||
</el-button>
|
</el-button>
|
||||||
|
<!-- 预览阅片 -->
|
||||||
|
<el-button
|
||||||
|
size="small"
|
||||||
|
:disabled="noneDicomStudyList.length === 0"
|
||||||
|
type="primary"
|
||||||
|
style="margin-left: 10px"
|
||||||
|
@click="handleViewAllNoneDicoms(true)"
|
||||||
|
>
|
||||||
|
{{ $t('trials:audit:tip:nonDicomsPreviewAllReading') }}
|
||||||
|
</el-button>
|
||||||
<!-- 预览 -->
|
<!-- 预览 -->
|
||||||
<el-button
|
<el-button
|
||||||
size="small"
|
size="small"
|
||||||
:disabled="noneDicomStudyList.length === 0"
|
:disabled="noneDicomStudyList.length === 0"
|
||||||
type="primary"
|
type="primary"
|
||||||
style="margin-left: 10px"
|
style="margin-left: 10px"
|
||||||
@click="handleViewAllNoneDicoms"
|
@click="handleViewAllNoneDicoms(false)"
|
||||||
>
|
>
|
||||||
{{ $t('trials:audit:tip:nonDicomsPreviewAll') }}
|
{{ $t('trials:audit:tip:nonDicomsPreviewAll') }}
|
||||||
</el-button>
|
</el-button>
|
||||||
|
@ -2697,14 +2707,18 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 预览所有检查下非Dicom文件
|
// 预览所有检查下非Dicom文件
|
||||||
handleViewAllNoneDicoms() {
|
handleViewAllNoneDicoms(isReading = false) {
|
||||||
if (this.open) {
|
if (this.open) {
|
||||||
this.open.close()
|
this.open.close()
|
||||||
}
|
}
|
||||||
// this.previewAllNoneDicomVisible = true
|
// this.previewAllNoneDicomVisible = true
|
||||||
let trialId = this.$route.query.trialId
|
let trialId = this.$route.query.trialId
|
||||||
var token = getToken()
|
var token = getToken()
|
||||||
const routeData = this.$router.resolve({
|
const routeData = isReading
|
||||||
|
? this.$router.resolve({
|
||||||
|
path: `/showNoneDicoms?trialId=${trialId}&subjectVisitId=${this.data.Id}&TokenKey=${token}&isReading=1`,
|
||||||
|
})
|
||||||
|
: this.$router.resolve({
|
||||||
path: `/showNoneDicoms?trialId=${trialId}&subjectVisitId=${this.data.Id}&TokenKey=${token}&isQcCheck=1`,
|
path: `/showNoneDicoms?trialId=${trialId}&subjectVisitId=${this.data.Id}&TokenKey=${token}&isQcCheck=1`,
|
||||||
})
|
})
|
||||||
this.open = window.open(routeData.href, '_blank')
|
this.open = window.open(routeData.href, '_blank')
|
||||||
|
|
Loading…
Reference in New Issue