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

main
caiyiling 2025-03-10 16:11:22 +08:00
commit c0588661ce
9 changed files with 1982 additions and 590 deletions

View File

@ -1241,3 +1241,11 @@ export function authorizedTrialTrianingRecord(data) {
data
})
}
// 项目文档-阅片人简历
export function getTrialDoctorList(data) {
return request({
url: `/DoctorList/getTrialDoctorList`,
method: 'post',
data
})
}

View File

@ -4,6 +4,7 @@
<el-col :span="24">
<div class="box">
<div class="box-body">
<slot name="title-container" />
<div class="search">
<slot name="search-container" />
</div>
@ -24,42 +25,42 @@ export default {
props: {
noTitle: {
type: Boolean,
default: false
}
default: false,
},
},
computed: {
contentClass() {
return this.noTitle ? 'content-notitle' : 'content'
}
}
},
},
}
</script>
<style lang="scss">
.box-body{
padding: 0px;
background-color: #fff;
.el-card__body {
padding: 0px;
}
.search{
display: flex;
padding: 5px;
.box-body {
padding: 0px;
background-color: #fff;
.el-card__body {
padding: 0px;
}
.search {
display: flex;
padding: 5px;
.mr5{
margin-right:5px;
}
.el-form-item{
margin-bottom: 10px;
}
.mr5 {
margin-right: 5px;
}
.page{
text-align: right;
padding-top: 3px;
}
.el-button.is-circle {
padding: 9px;
font-weight: bold;
font-size: 14px;
.el-form-item {
margin-bottom: 10px;
}
}
.page {
text-align: right;
padding-top: 3px;
}
.el-button.is-circle {
padding: 9px;
font-weight: bold;
font-size: 14px;
}
}
</style>

View File

@ -1,5 +1,10 @@
<template>
<BaseContainer>
<template slot="title-container">
<div class="title" v-if="isDoc">
{{ TITLE }}
</div>
</template>
<!-- 搜索框 -->
<template slot="search-container">
<el-form :inline="true">
@ -23,7 +28,10 @@
<el-input v-model="searchData.Name" style="width: 120px" />
</el-form-item>
<!-- 签署人 -->
<el-form-item :label="$t('trials:signRecords:table:user')">
<el-form-item
:label="$t('trials:signRecords:table:user')"
v-if="!isDoc"
>
<el-select
v-model="searchData.UserId"
clearable
@ -51,7 +59,10 @@
</el-select>
</el-form-item>
<!-- 用户类型 -->
<el-form-item :label="$t('trials:signRecords:table:userType')">
<el-form-item
:label="$t('trials:signRecords:table:userType')"
v-if="!isDoc"
>
<el-select
v-model="searchData.UserTypeId"
clearable
@ -69,7 +80,10 @@
</el-option>
</el-select>
</el-form-item>
<el-form-item :label="$t('trials:signRecords:table:isSign')">
<el-form-item
:label="$t('trials:signRecords:table:isSign')"
v-if="!isDoc || !viewStatus"
>
<el-select
v-model="searchData.IsConfirmed"
clearable
@ -83,7 +97,13 @@
/>
</el-select>
</el-form-item>
<el-form-item :label="$t('trials:signRecords:table:isDeleted')">
<el-form-item
:label="
isDoc
? $t('trials:signRecords:table:isDeletedFile')
: $t('trials:signRecords:table:isDeleted')
"
>
<el-select
v-model="searchData.IsDeleted"
clearable
@ -97,6 +117,25 @@
/>
</el-select>
</el-form-item>
<el-form-item
:label="$t('trials:signRecords:table:username')"
v-if="isDoc"
>
<el-input v-model="searchData.UserName" style="width: 120px" />
</el-form-item>
<el-form-item
:label="$t('trials:signRecords:table:confirmTime')"
v-if="isDoc"
>
<el-date-picker
v-model="timeList"
@change="changeTimeList"
value-format="yyyy-MM-dd HH:mm:ss"
:default-time="['00:00:00', '23:59:59']"
type="datetimerange"
>
</el-date-picker>
</el-form-item>
<el-form-item>
<!-- 查询 -->
<el-button icon="el-icon-search" type="primary" @click="handleSearch">
@ -170,7 +209,11 @@
<!-- 是否废除 -->
<el-table-column
prop="IsDeleted"
:label="$t('trials:signRecords:table:isDeleted')"
:label="
isDoc
? $t('trials:signRecords:table:isDeletedFile')
: $t('trials:signRecords:table:isDeleted')
"
show-overflow-tooltip
sortable="custom"
>
@ -213,6 +256,7 @@
:label="$t('trials:signRecords:table:user')"
show-overflow-tooltip
sortable="custom"
v-if="!isDoc || !viewStatus"
/>
<!-- 用户名 -->
<el-table-column
@ -302,6 +346,9 @@ import Pagination from '@/components/Pagination'
import PreviewFile from '@/components/PreviewFile/index'
const searchDataDefault = () => {
return {
UserName: null,
StartConfirmTime: null,
EndConfirmTime: null,
FileTypeId: '',
Name: '',
UserId: '',
@ -315,6 +362,20 @@ const searchDataDefault = () => {
export default {
name: 'AttachmentsManagement',
components: { BaseContainer, Pagination, PreviewFile },
props: {
isDoc: {
type: Boolean,
default: false,
},
TITLE: {
type: String,
default: '',
},
viewStatus: {
type: Boolean,
default: false,
},
},
data() {
return {
searchData: searchDataDefault(),
@ -331,15 +392,24 @@ export default {
typeOptions: [],
trialId: this.$route.query.trialId,
exportLoading: false,
timeList: [],
}
},
mounted() {
this.getTypeOptions()
this.getUserSelect()
this.getUserType()
this.getList()
},
methods: {
changeTimeList() {
if (this.timeList) {
this.searchData.StartConfirmTime = this.timeList[0]
this.searchData.EndConfirmTime = this.timeList[1]
} else {
this.searchData.StartConfirmTime = null
this.searchData.EndConfirmTime = null
}
},
handleExport() {
this.exportLoading = true
pMTrainingRecordList_Export(this.searchData)
@ -353,6 +423,13 @@ export default {
//
getList() {
this.loading = true
if (this.viewStatus) {
this.searchData.IsConfirmed = true
let IR = this.userTypeOptions.find((item) => item.UserTypeEnum == 13)
if (IR) {
this.searchData.UserTypeId = IR.Id
}
}
this.searchData.TrialId = this.trialId
getDocumentConfirmList(this.searchData)
.then(async (res) => {
@ -379,9 +456,14 @@ export default {
},
//
getUserType() {
getTrialUserTypeList().then((res) => {
this.userTypeOptions = res.Result
})
getTrialUserTypeList()
.then((res) => {
this.userTypeOptions = res.Result
this.getList()
})
.catch(() => {
this.getList()
})
},
//
handlePreview(row) {
@ -396,6 +478,7 @@ export default {
//
handleReset() {
this.searchData = searchDataDefault()
this.timeList = []
this.getList()
this.$nextTick(() => {
this.$refs.AttachmentsManagement.clearSort()
@ -418,3 +501,10 @@ export default {
},
}
</script>
<style lang="scss" scoped>
.title {
line-height: 40px;
font-weight: bold;
margin-bottom: 10px;
}
</style>

View File

@ -1,19 +1,41 @@
/* eslint-disable */
<template>
<BaseContainer>
<template slot="title-container">
<div class="title" v-if="isDoc">
{{ TITLE }}
</div>
</template>
<template slot="search-container">
<el-form :inline="true">
<!-- 是否加急 -->
<el-form-item style="margin-bottom:10px" :label="$t('trials:pmMedicalReview:table:isUrgent')">
<el-select v-model="searchData.IsUrgent" clearable style="width:120px;">
<el-option v-for="item of $d.YesOrNo" :key="'IsUrgent' + item.label" :value="item.value" :label="item.label" />
<el-form-item
style="margin-bottom: 10px"
:label="$t('trials:pmMedicalReview:table:isUrgent')"
>
<el-select
v-model="searchData.IsUrgent"
clearable
style="width: 120px"
>
<el-option
v-for="item of $d.YesOrNo"
:key="'IsUrgent' + item.label"
:value="item.value"
:label="item.label"
/>
</el-select>
</el-form-item>
<!-- 中心编号 -->
<el-form-item :label="$t('trials:pmMedicalReview:table:siteCode')">
<el-select v-model="searchData.TrialSiteCode" clearable filterable style="width:120px;">
<el-select
v-model="searchData.TrialSiteCode"
clearable
filterable
style="width: 120px"
>
<el-option
v-for="(item,index) of siteOptions"
v-for="(item, index) of siteOptions"
:key="index"
:label="item"
:value="item"
@ -22,87 +44,202 @@
</el-form-item>
<!-- 受试者编号 -->
<el-form-item :label="$t('trials:pmMedicalReview:table:subjectCode')">
<el-input v-model="searchData.SubjectCode" style="width:100px;" />
<el-input v-model="searchData.SubjectCode" style="width: 100px" />
</el-form-item>
<!-- 任务名称 -->
<el-form-item style="margin-bottom:10px" :label="$t('trials:pmMedicalReview:table:taskName')">
<el-form-item
style="margin-bottom: 10px"
:label="$t('trials:pmMedicalReview:table:taskName')"
>
<el-input
v-model="searchData.TaskName"
style="width:100px;"
style="width: 100px"
clearable
/>
</el-form-item>
<!-- 任务类型 -->
<el-form-item style="margin-bottom:10px" :label="$t('trials:pmMedicalReview:table:taskType')">
<el-select v-model="searchData.ReadingCategory" clearable style="width:120px;">
<el-option v-for="item of $d.ReadingCategory" :key="'ReadingCategory' + item.label" :value="item.value" :label="item.label" />
<el-form-item
style="margin-bottom: 10px"
:label="$t('trials:pmMedicalReview:table:taskType')"
>
<el-select
v-model="searchData.ReadingCategory"
clearable
style="width: 120px"
>
<el-option
v-for="item of $d.ReadingCategory"
:key="'ReadingCategory' + item.label"
:value="item.value"
:label="item.label"
/>
</el-select>
</el-form-item>
<!-- 阅片人 -->
<el-form-item style="margin-bottom:10px" :label="$t('trials:pmMedicalReview:table:reader')">
<el-select v-model="searchData.DoctorUserId" clearable style="width:120px;">
<el-option v-for="item of DoctorUserList" :key="'DoctorUserId' + item.DoctorUserId" :value="item.DoctorUserId" :label="`${item.UserName}(${item.FullName})`" />
<el-form-item
style="margin-bottom: 10px"
:label="$t('trials:pmMedicalReview:table:reader')"
>
<el-select
v-model="searchData.DoctorUserId"
clearable
style="width: 120px"
>
<el-option
v-for="item of DoctorUserList"
:key="'DoctorUserId' + item.DoctorUserId"
:value="item.DoctorUserId"
:label="
viewStatus
? `${item.UserName}`
: `${item.UserName}(${item.FullName})`
"
/>
</el-select>
</el-form-item>
<!-- 角色 -->
<el-form-item style="margin-bottom:10px" :label="$t('trials:reviewTrack:table:role')">
<el-select v-model="searchData.ArmEnum" clearable style="width:120px;">
<el-option v-for="item of $d.ArmEnum" :key="'ArmEnum' + item.label" :value="item.value" :label="item.label" />
<el-form-item
style="margin-bottom: 10px"
:label="$t('trials:reviewTrack:table:role')"
>
<el-select
v-model="searchData.ArmEnum"
clearable
style="width: 120px"
>
<el-option
v-for="item of $d.ArmEnum"
:key="'ArmEnum' + item.label"
:value="item.value"
:label="item.label"
/>
</el-select>
</el-form-item>
<!-- 审核人 -->
<el-form-item style="margin-bottom:10px" :label="$t('trials:pmMedicalReview:table:mim')">
<el-form-item
style="margin-bottom: 10px"
:label="$t('trials:pmMedicalReview:table:mim')"
>
<el-select v-model="searchData.MedicalManagerUserId" clearable>
<el-option v-for="item of MIMOptions" :label="`${item.UserName}(${item.FullName})`" :value="item.UserId" :key="item.UserId" />
<el-option
v-for="item of MIMOptions"
:label="`${item.UserName}(${item.FullName})`"
:value="item.UserId"
:key="item.UserId"
/>
</el-select>
</el-form-item>
<!-- 审核状态 -->
<el-form-item style="margin-bottom:10px" :label="$t('trials:pmMedicalReview:table:auditState')">
<el-select v-model="searchData.AuditState" clearable style="width:120px;">
<el-option v-for="item of $d.MedicalReviewAuditState" :key="'AuditState' + item.label" :value="item.value" :label="item.label" />
<el-form-item
style="margin-bottom: 10px"
:label="$t('trials:pmMedicalReview:table:auditState')"
v-if="!viewStatus"
>
<el-select
v-model="searchData.AuditState"
clearable
style="width: 120px"
>
<el-option
v-for="item of $d.MedicalReviewAuditState"
:key="'AuditState' + item.label"
:value="item.value"
:label="item.label"
/>
</el-select>
</el-form-item>
<!-- 审核结论 -->
<el-form-item style="margin-bottom:10px" :label="$t('trials:pmMedicalReview:table:IsHaveQuestion')">
<el-select v-model="searchData.IsHaveQuestion" clearable style="width:120px;">
<el-option v-for="item of $d.IsPass" :key="'IsHaveQuestion' + item.label" :value="item.value" :label="item.label" />
<el-form-item
style="margin-bottom: 10px"
:label="$t('trials:pmMedicalReview:table:IsHaveQuestion')"
>
<el-select
v-model="searchData.IsHaveQuestion"
clearable
style="width: 120px"
>
<el-option
v-for="item of $d.IsPass"
:key="'IsHaveQuestion' + item.label"
:value="item.value"
:label="item.label"
/>
</el-select>
</el-form-item>
<!-- 审核建议 -->
<el-form-item style="margin-bottom:10px" :label="$t('trials:pmMedicalReview:table:auditAdvice')">
<el-select v-model="searchData.AuditAdviceEnum" clearable style="width:120px;">
<el-option v-for="item of $d.AuditAdvice" :key="'AuditAdvice' + item.label" :value="item.value" :label="item.label" />
<el-form-item
style="margin-bottom: 10px"
:label="$t('trials:pmMedicalReview:table:auditAdvice')"
>
<el-select
v-model="searchData.AuditAdviceEnum"
clearable
style="width: 120px"
>
<el-option
v-for="item of $d.AuditAdvice"
:key="'AuditAdvice' + item.label"
:value="item.value"
:label="item.label"
/>
</el-select>
</el-form-item>
<!-- 阅片人认同 -->
<el-form-item style="margin-bottom:10px" :label="$t('trials:pmMedicalReview:table:whetherAgree')">
<el-select v-model="searchData.DoctorUserIdeaEnum" clearable style="width:120px;">
<el-option v-for="item of $d.MedicalReviewDoctorUserIdea" :key="'DoctorUserIdeaEnum' + item.label" :value="item.value" :label="item.label" />
<el-form-item
style="margin-bottom: 10px"
:label="$t('trials:pmMedicalReview:table:whetherAgree')"
>
<el-select
v-model="searchData.DoctorUserIdeaEnum"
clearable
style="width: 120px"
>
<el-option
v-for="item of $d.MedicalReviewDoctorUserIdea"
:key="'DoctorUserIdeaEnum' + item.label"
:value="item.value"
:label="item.label"
/>
</el-select>
</el-form-item>
<!-- 阅片标准 -->
<el-form-item style="margin-bottom:10px" :label="$t('trials:pmMedicalReview:table:criterionName')">
<el-select v-model="searchData.TrialReadingCriterionId" clearable style="width:120px;">
<el-option v-for="item of trialCriterionList" :key="'TrialReadingCriterionId' + item.TrialReadingCriterionId" :value="item.TrialReadingCriterionId" :label="item.TrialReadingCriterionName" />
<el-form-item
style="margin-bottom: 10px"
:label="$t('trials:pmMedicalReview:table:criterionName')"
>
<el-select
v-model="searchData.TrialReadingCriterionId"
clearable
style="width: 120px"
>
<el-option
v-for="item of trialCriterionList"
:key="'TrialReadingCriterionId' + item.TrialReadingCriterionId"
:value="item.TrialReadingCriterionId"
:label="item.TrialReadingCriterionName"
/>
</el-select>
</el-form-item>
<!-- 阅片任务状态 -->
<!-- <el-form-item style="margin-bottom:10px" :label="$t('trials:pmMedicalReview:table:taskState')">
<el-select v-model="searchData.TaskState" clearable style="width:120px;">
<el-option v-for="item of $d.TaskState" :key="'TaskState' + item.label" :value="item.value" :label="item.label" />
</el-select>
</el-form-item> -->
<!-- 阅片状态 -->
<!-- <el-form-item style="margin-bottom:10px" label="阅片状态">
<el-select v-model="searchData.TaskAllocationState" clearable style="width:120px;">
<el-option v-for="item of $d.TaskAllocationState" :key="'TaskAllocationState' + item.label" :value="item.value" :label="item.label" />
</el-select>
</el-form-item> -->
<!-- 审核分配时间 -->
<el-form-item style="margin-bottom:10px" :label="$t('trials:pmMedicalReview:table:allocateTime')">
<!-- 审核分配时间 -->
<el-form-item
style="margin-bottom: 10px"
:label="$t('trials:pmMedicalReview:table:allocateTime')"
>
<el-date-picker
v-model="timeList"
value-format="yyyy-MM-dd HH:mm:ss"
@ -111,34 +248,53 @@
@change="changeTimeList"
/>
</el-form-item>
<el-form-item style="margin-bottom:10px">
<el-form-item style="margin-bottom: 10px">
<el-button type="primary" icon="el-icon-search" @click="handleSearch">
{{ $t('common:button:search') }}
</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') }}
</el-button>
<!--导出-->
<el-button type="primary" icon="el-icon-download" @click="handleExport">
<el-button
type="primary"
icon="el-icon-download"
@click="handleExport"
v-if="!viewStatus"
>
{{ $t('common:button:export') }}
</el-button>
<!-- 筛选 -->
<el-button type="primary" v-if="hasPermi(['trials:trials-panel:tab:pmMedicalFeedback:edit'])" @click="openFilter">
{{$t('trials:pmMedicalReview:button:select')}}
<!-- 筛选 -->
<el-button
type="primary"
v-if="
hasPermi(['trials:trials-panel:tab:pmMedicalFeedback:edit']) &&
!viewStatus
"
@click="openFilter"
>
{{ $t('trials:pmMedicalReview:button:select') }}
</el-button>
<!-- 失效记录 -->
<el-button type="primary" icon="el-icon-info" @click="handleViewRecord">
{{$t('common:button:failureRecord')}}
<el-button
type="primary"
icon="el-icon-info"
@click="handleViewRecord"
v-if="!viewStatus"
>
{{ $t('common:button:failureRecord') }}
</el-button>
</el-form-item>
</el-form>
</template>
<template slot="main-container">
<el-table
v-adaptive="{bottomOffset:60}"
v-adaptive="{ bottomOffset: 60 }"
v-loading="loading"
:data="list"
stripe
@ -146,7 +302,12 @@
@sort-change="handleSortChange"
@selection-change="handleListSelectChange"
>
<el-table-column type="selection" :selectable="MedicalReviewSelectable" align="left" width="45" />
<el-table-column
type="selection"
:selectable="MedicalReviewSelectable"
align="left"
width="45"
/>
<!-- 是否加急 -->
<el-table-column
prop="IsUrgent"
@ -156,8 +317,12 @@
sortable="custom"
>
<template slot-scope="scope">
<el-tag v-if="scope.row.IsUrgent" type="danger">{{ $fd('YesOrNo', scope.row.IsUrgent) }}</el-tag>
<el-tag v-else type="primary">{{ $fd('YesOrNo', scope.row.IsUrgent) }}</el-tag>
<el-tag v-if="scope.row.IsUrgent" type="danger">{{
$fd('YesOrNo', scope.row.IsUrgent)
}}</el-tag>
<el-tag v-else type="primary">{{
$fd('YesOrNo', scope.row.IsUrgent)
}}</el-tag>
</template>
</el-table-column>
<!-- 中心编号 -->
@ -177,10 +342,15 @@
show-overflow-tooltip
>
<template slot-scope="scope">
<span v-if="scope.row.BlindSubjectCode && scope.row.BlindSubjectCode !== scope.row.SubjectCode">
<span
v-if="
scope.row.BlindSubjectCode &&
scope.row.BlindSubjectCode !== scope.row.SubjectCode
"
>
{{ `${scope.row.SubjectCode}/${scope.row.BlindSubjectCode}` }}
</span>
<span v-else>{{scope.row.SubjectCode}}</span>
<span v-else>{{ scope.row.SubjectCode }}</span>
</template>
</el-table-column>
<!-- 任务名称 -->
@ -192,10 +362,15 @@
show-overflow-tooltip
>
<template slot-scope="scope">
<span v-if="scope.row.TaskBlindName && scope.row.TaskName !== scope.row.TaskBlindName">
<span
v-if="
scope.row.TaskBlindName &&
scope.row.TaskName !== scope.row.TaskBlindName
"
>
{{ `${scope.row.TaskName}/${scope.row.TaskBlindName}` }}
</span>
<span v-else>{{scope.row.TaskName}}</span>
<span v-else>{{ scope.row.TaskName }}</span>
</template>
</el-table-column>
<!-- 盲态任务标识 -->
@ -215,10 +390,18 @@
show-overflow-tooltip
>
<template slot-scope="scope">
<el-tag v-if="scope.row.ReadingCategory === 1" type="primary">{{ $fd('ReadingCategory', scope.row.ReadingCategory) }}</el-tag>
<el-tag v-if="scope.row.ReadingCategory === 2" type="info">{{ $fd('ReadingCategory', scope.row.ReadingCategory) }}</el-tag>
<el-tag v-if="scope.row.ReadingCategory === 4" type="danger">{{ $fd('ReadingCategory', scope.row.ReadingCategory) }}</el-tag>
<el-tag v-if="scope.row.ReadingCategory === 5" type="warning">{{ $fd('ReadingCategory', scope.row.ReadingCategory) }}</el-tag>
<el-tag v-if="scope.row.ReadingCategory === 1" type="primary">{{
$fd('ReadingCategory', scope.row.ReadingCategory)
}}</el-tag>
<el-tag v-if="scope.row.ReadingCategory === 2" type="info">{{
$fd('ReadingCategory', scope.row.ReadingCategory)
}}</el-tag>
<el-tag v-if="scope.row.ReadingCategory === 4" type="danger">{{
$fd('ReadingCategory', scope.row.ReadingCategory)
}}</el-tag>
<el-tag v-if="scope.row.ReadingCategory === 5" type="warning">{{
$fd('ReadingCategory', scope.row.ReadingCategory)
}}</el-tag>
</template>
</el-table-column>
<!-- 阅片任务状态 -->
@ -246,7 +429,12 @@
show-overflow-tooltip
>
<template slot-scope="scope" v-if="scope.row.DoctorUser.UserName">
{{scope.row.DoctorUser.UserName}}({{scope.row.DoctorUser.FullName}})
<span v-if="viewStatus">{{ scope.row.DoctorUser.UserName }}</span>
<span v-else
>{{ scope.row.DoctorUser.UserName }}({{
scope.row.DoctorUser.FullName
}})</span
>
</template>
</el-table-column>
<!-- 角色 -->
@ -258,12 +446,24 @@
show-overflow-tooltip
>
<template slot-scope="scope">
<el-tag v-if="scope.row.ArmEnum === 0" type="primary">{{$fd('ArmEnum', scope.row.ArmEnum)}}</el-tag>
<el-tag v-else-if="scope.row.ArmEnum === 1" type="primary">{{$fd('ArmEnum', scope.row.ArmEnum)}}</el-tag>
<el-tag v-else-if="scope.row.ArmEnum === 2" type="success">{{$fd('ArmEnum', scope.row.ArmEnum)}}</el-tag>
<el-tag v-else-if="scope.row.ArmEnum === 3" type="info">{{$fd('ArmEnum', scope.row.ArmEnum)}}</el-tag>
<el-tag v-else-if="scope.row.ArmEnum === 4" type="danger">{{$fd('ArmEnum', scope.row.ArmEnum)}}</el-tag>
<el-tag v-else type="danger">{{$fd('ArmEnum', scope.row.ArmEnum)}}</el-tag>
<el-tag v-if="scope.row.ArmEnum === 0" type="primary">{{
$fd('ArmEnum', scope.row.ArmEnum)
}}</el-tag>
<el-tag v-else-if="scope.row.ArmEnum === 1" type="primary">{{
$fd('ArmEnum', scope.row.ArmEnum)
}}</el-tag>
<el-tag v-else-if="scope.row.ArmEnum === 2" type="success">{{
$fd('ArmEnum', scope.row.ArmEnum)
}}</el-tag>
<el-tag v-else-if="scope.row.ArmEnum === 3" type="info">{{
$fd('ArmEnum', scope.row.ArmEnum)
}}</el-tag>
<el-tag v-else-if="scope.row.ArmEnum === 4" type="danger">{{
$fd('ArmEnum', scope.row.ArmEnum)
}}</el-tag>
<el-tag v-else type="danger">{{
$fd('ArmEnum', scope.row.ArmEnum)
}}</el-tag>
</template>
</el-table-column>
<!-- 医学经理 -->
@ -275,7 +475,9 @@
show-overflow-tooltip
>
<template slot-scope="scope" v-if="scope.row.MedicalManagerUser">
{{scope.row.MedicalManagerUser.UserName}}({{scope.row.MedicalManagerUser.FullName}})
{{ scope.row.MedicalManagerUser.UserName }}({{
scope.row.MedicalManagerUser.FullName
}})
</template>
</el-table-column>
<!-- 审核状态 -->
@ -287,9 +489,15 @@
show-overflow-tooltip
>
<template slot-scope="scope">
<el-tag type="warning" v-if="scope.row.AuditState === 0">{{$fd('MedicalReviewAuditState', scope.row.AuditState)}}</el-tag>
<el-tag type="primary" v-if="scope.row.AuditState === 1">{{$fd('MedicalReviewAuditState', scope.row.AuditState)}}</el-tag>
<el-tag type="danger" v-if="scope.row.AuditState === 2">{{$fd('MedicalReviewAuditState', scope.row.AuditState)}}</el-tag>
<el-tag type="warning" v-if="scope.row.AuditState === 0">{{
$fd('MedicalReviewAuditState', scope.row.AuditState)
}}</el-tag>
<el-tag type="primary" v-if="scope.row.AuditState === 1">{{
$fd('MedicalReviewAuditState', scope.row.AuditState)
}}</el-tag>
<el-tag type="danger" v-if="scope.row.AuditState === 2">{{
$fd('MedicalReviewAuditState', scope.row.AuditState)
}}</el-tag>
</template>
</el-table-column>
<!-- 审核结论 -->
@ -301,7 +509,7 @@
show-overflow-tooltip
>
<template slot-scope="scope" v-if="scope.row.AuditState !== 0">
{{$fd('IsPass', scope.row.IsHaveQuestion)}}
{{ $fd('IsPass', scope.row.IsHaveQuestion) }}
</template>
</el-table-column>
<!-- 审核建议 -->
@ -313,7 +521,7 @@
show-overflow-tooltip
>
<template slot-scope="scope">
{{$fd('AuditAdvice', scope.row.AuditAdviceEnum)}}
{{ $fd('AuditAdvice', scope.row.AuditAdviceEnum) }}
</template>
</el-table-column>
<!-- 阅片人是否认同 -->
@ -325,8 +533,16 @@
show-overflow-tooltip
>
<template slot-scope="scope">
<el-tag type="primary" v-if="scope.row.DoctorUserIdeaEnum === 1"> {{$fd('MedicalReviewDoctorUserIdea', scope.row.DoctorUserIdeaEnum)}} </el-tag>
<el-tag type="danger" v-if="scope.row.DoctorUserIdeaEnum === 2"> {{$fd('MedicalReviewDoctorUserIdea', scope.row.DoctorUserIdeaEnum)}} </el-tag>
<el-tag type="primary" v-if="scope.row.DoctorUserIdeaEnum === 1">
{{
$fd('MedicalReviewDoctorUserIdea', scope.row.DoctorUserIdeaEnum)
}}
</el-tag>
<el-tag type="danger" v-if="scope.row.DoctorUserIdeaEnum === 2">
{{
$fd('MedicalReviewDoctorUserIdea', scope.row.DoctorUserIdeaEnum)
}}
</el-tag>
</template>
</el-table-column>
<!-- 审核分配时间 -->
@ -379,8 +595,7 @@
</el-tag>
</template>
</el-table-column> -->
<el-table-column
:label="$t('common:action:action')"
width="240"
@ -391,7 +606,7 @@
<el-button
circle
:title="$t('trials:pmMedicalReview:action:view')"
:disabled="scope.row.IsInvalid "
:disabled="scope.row.IsInvalid"
icon="el-icon-view"
@click="handleReadMecialAudit(scope.row)"
/>
@ -400,31 +615,54 @@
circle
:title="$t('trials:pmMedicalReview:action:failure')"
:disabled="scope.row.IsInvalid || !!scope.row.AuditSignTime"
v-hasPermi="['trials:trials-panel:reading:pm-medical-feedback:failure']"
v-hasPermi="[
'trials:trials-panel:reading:pm-medical-feedback:failure',
]"
v-if="!isDoc"
icon="el-icon-close"
@click="setMedicalReviewInvalid(scope.row)"
/>
<el-button
circle
:title="$t('trials:pmMedicalReview:action:assign')"
:disabled="!!scope.row.MedicalManagerUser || scope.row.IsInvalid || !!scope.row.AuditSignTime"
:disabled="
!!scope.row.MedicalManagerUser ||
scope.row.IsInvalid ||
!!scope.row.AuditSignTime
"
icon="el-icon-thumb"
v-hasPermi="['trials:trials-panel:reading:pm-medical-feedback:assign']"
v-hasPermi="[
'trials:trials-panel:reading:pm-medical-feedback:assign',
]"
v-if="!isDoc"
@click="assignMedicalReviewTask(scope.row, 1)"
/>
<el-button
circle
:title="$t('trials:pmMedicalReview:action:cancelAssign')"
:disabled="!scope.row.MedicalManagerUser || scope.row.IsInvalid || !!scope.row.AuditSignTime"
:disabled="
!scope.row.MedicalManagerUser ||
scope.row.IsInvalid ||
!!scope.row.AuditSignTime
"
icon="el-icon-refresh-left"
v-hasPermi="['trials:trials-panel:reading:pm-medical-feedback:cancelAssign']"
v-hasPermi="[
'trials:trials-panel:reading:pm-medical-feedback:cancelAssign',
]"
v-if="!isDoc"
@click="assignMedicalReviewTask(scope.row, 3)"
/>
</template>
</el-table-column>
</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
v-if="FilterVisible"
@ -436,7 +674,10 @@
:close-on-click-modal="false"
custom-class="base-dialog-wrapper"
>
<GenerateMedicalReviewTaskList :trial-criterion-list="trialCriterionList" @getList="getList"></GenerateMedicalReviewTaskList>
<GenerateMedicalReviewTaskList
:trial-criterion-list="trialCriterionList"
@getList="getList"
></GenerateMedicalReviewTaskList>
</el-dialog>
<!-- <el-dialog
v-if="AddOrEditFilterVisible"
@ -455,7 +696,17 @@
width="500px"
:close-on-click-modal="false"
>
<ReAssignMedicalReviewTask :data="rowData" :select-list="SelectList" :doctor-user-list="MIMOptions" @close="() => {AssignMedicalReviewTaskVisible = false}" @getList="getList" />
<ReAssignMedicalReviewTask
:data="rowData"
:select-list="SelectList"
:doctor-user-list="MIMOptions"
@close="
() => {
AssignMedicalReviewTaskVisible = false
}
"
@getList="getList"
/>
</el-dialog>
<!-- 医学审核详情 -->
<el-dialog
@ -465,7 +716,13 @@
:fullscreen="true"
:title="$t('trials:pmMedicalReview:dialog:medicalReview')"
>
<MedicalAudit :visit-task-id="currentRow.VisitTaskId" :task-medical-review-id="currentRow.Id" @getList="getList" @close="auditVisible=false" :rowData="currentRow"/>
<MedicalAudit
:visit-task-id="currentRow.VisitTaskId"
:task-medical-review-id="currentRow.Id"
@getList="getList"
@close="auditVisible = false"
:rowData="currentRow"
/>
</el-dialog>
<!-- 失效记录 -->
<el-dialog
@ -478,13 +735,23 @@
:close-on-click-modal="false"
custom-class="base-dialog-wrapper"
>
<RecordList @viewMecialAudit="viewMecialAudit"/>
<RecordList @viewMecialAudit="viewMecialAudit" />
</el-dialog>
</template>
</BaseContainer>
</template>
<script>
import { getTrialCriterionList, setMedicalReviewInvalid, assignMedicalReviewTask, getTrialSiteCodeSelect, getMedicalReviewTaskList, getDoctorUserSelectList, getMIMUserList, generateMedicalReviewTask, deleteTaskMedicalReviewRule } from '@/api/trials/reading'
import {
getTrialCriterionList,
setMedicalReviewInvalid,
assignMedicalReviewTask,
getTrialSiteCodeSelect,
getMedicalReviewTaskList,
getDoctorUserSelectList,
getMIMUserList,
generateMedicalReviewTask,
deleteTaskMedicalReviewRule,
} from '@/api/trials/reading'
import { getMedicalReviewTaskList_Export } from '@/api/export'
import BaseContainer from '@/components/BaseContainer'
import Pagination from '@/components/Pagination'
@ -520,12 +787,35 @@ const searchDataDefault = () => {
AuditAdviceEnum: null,
DoctorUserIdeaEnum: null,
IsInvalid: false,
IsHaveQuestion: null
IsHaveQuestion: null,
}
}
export default {
name: 'TrialsNotice',
components: { BaseContainer, Pagination, AddOrEditFilter, AssignMedicalReviewTask, GenerateMedicalReviewTaskList, MedicalAudit, ReAssignMedicalReviewTask, RecordList },
components: {
BaseContainer,
Pagination,
AddOrEditFilter,
AssignMedicalReviewTask,
GenerateMedicalReviewTaskList,
MedicalAudit,
ReAssignMedicalReviewTask,
RecordList,
},
props: {
isDoc: {
type: Boolean,
default: false,
},
TITLE: {
type: String,
default: '',
},
viewStatus: {
type: Boolean,
default: false,
},
},
data() {
return {
auditVisible: null,
@ -552,9 +842,9 @@ export default {
SelectMedicalList: [],
distributionInfo: {},
currentRow: {},
trialCriterionList:[],
timeList:[],
recordVisible: false
trialCriterionList: [],
timeList: [],
recordVisible: false,
}
},
mounted() {
@ -575,13 +865,18 @@ export default {
}
},
handleExport() {
getMedicalReviewTaskList_Export(this.searchData).then(res => {
}).catch(() => { this.loading = false })
getMedicalReviewTaskList_Export(this.searchData)
.then((res) => {})
.catch(() => {
this.loading = false
})
},
getTrialCriterionList() {
getTrialCriterionList(this.trialId).then(res => {
this.trialCriterionList = res.Result
}).catch(() => {})
getTrialCriterionList(this.trialId)
.then((res) => {
this.trialCriterionList = res.Result
})
.catch(() => {})
},
MedicalReviewSelectable(row) {
if (row.IsInvalid || row.AuditSignTime) {
@ -603,22 +898,27 @@ export default {
this.$alert(this.$t('trials:pmMedicalReview:message:msg01'))
return
}
params.MedicalReviewIdList = this.SelectMedicalList.map(v => v.Id)
params.MedicalReviewIdList = this.SelectMedicalList.map((v) => v.Id)
}
//
this.$confirm(this.$t('trials:pmMedicalReview:message:msg02')).then(() => {
this.loading = true
params.TrialId = this.trialId
setMedicalReviewInvalid(params).then(res => {
// ''
this.$message.success(this.$t('trials:pmMedicalReview:message:msg03'))
this.getList()
this.loading = false
}).catch(() => {
this.loading = false
})
})
this.$confirm(this.$t('trials:pmMedicalReview:message:msg02')).then(
() => {
this.loading = true
params.TrialId = this.trialId
setMedicalReviewInvalid(params)
.then((res) => {
// ''
this.$message.success(
this.$t('trials:pmMedicalReview:message:msg03')
)
this.getList()
this.loading = false
})
.catch(() => {
this.loading = false
})
}
)
},
openAssignMedicalReviewTask() {
this.rowData = {}
@ -639,27 +939,31 @@ export default {
},
assignMedicalReviewTask(row, type) {
var params = {
IdList: [
row.Id
],
taskOptType: type
IdList: [row.Id],
taskOptType: type,
}
if (type === 3) {
// ''
this.$confirm(this.$t('trials:pmMedicalReview:message:msg05')).then(() => {
this.loading = true
this.btnLoading = true
assignMedicalReviewTask(params).then(() => {
//
this.$message.success(this.$t('trials:pmMedicalReview:message:msg06'))
this.getList()
this.loading = false
this.btnLoading = false
}).catch(() => {
this.loading = false
this.btnLoading = false
})
})
this.$confirm(this.$t('trials:pmMedicalReview:message:msg05')).then(
() => {
this.loading = true
this.btnLoading = true
assignMedicalReviewTask(params)
.then(() => {
//
this.$message.success(
this.$t('trials:pmMedicalReview:message:msg06')
)
this.getList()
this.loading = false
this.btnLoading = false
})
.catch(() => {
this.loading = false
this.btnLoading = false
})
}
)
} else {
this.rowData = { ...row }
this.AssignMedicalReviewTaskVisible = true
@ -680,17 +984,19 @@ export default {
this.loading = true
this.btnLoading = true
generateMedicalReviewTask({
trialId: this.trialId
}).then(res => {
this.$message.success('应用成功')
this.loading = false
this.getList()
this.btnLoading = false
this.FilterVisible = false
}).catch(() => {
this.loading = false
this.btnLoading = false
trialId: this.trialId,
})
.then((res) => {
this.$message.success('应用成功')
this.loading = false
this.getList()
this.btnLoading = false
this.FilterVisible = false
})
.catch(() => {
this.loading = false
this.btnLoading = false
})
})
},
addOrEdit(row) {
@ -708,7 +1014,7 @@ export default {
this.AddOrEditFilterVisible = false
},
getDoctorUserSelectList() {
getDoctorUserSelectList(this.$route.query.trialId).then(res => {
getDoctorUserSelectList(this.$route.query.trialId).then((res) => {
this.DoctorUserList = res.Result
if (this.DoctorUserList.length > 0) {
this.ReadingType = this.DoctorUserList[0].ReadingType
@ -717,15 +1023,22 @@ export default {
})
},
getList() {
if (this.viewStatus) {
this.searchData.AuditState = 2
}
this.searchData.TrialId = this.$route.query.trialId
this.loading = true
getMedicalReviewTaskList(this.searchData).then(res => {
this.loading = false
this.OtherInfo = res.OtherInfo
this.list = res.Result.CurrentPageData
this.total = res.Result.TotalCount
this.AssignMedicalReviewTaskVisible = false
}).catch(() => { this.loading = false })
getMedicalReviewTaskList(this.searchData)
.then((res) => {
this.loading = false
this.OtherInfo = res.OtherInfo
this.list = res.Result.CurrentPageData
this.total = res.Result.TotalCount
this.AssignMedicalReviewTaskVisible = false
})
.catch(() => {
this.loading = false
})
},
handleSearch() {
this.searchData.PageIndex = 1
@ -737,26 +1050,33 @@ export default {
this.getList()
},
getSite() {
getTrialSiteCodeSelect(this.trialId).then(res => {
getTrialSiteCodeSelect(this.trialId).then((res) => {
this.siteOptions = res.Result
})
},
getMIMUserList() {
getMIMUserList(this.trialId).then(res => {
getMIMUserList(this.trialId).then((res) => {
this.MIMOptions = res.Result
})
},
handleDelete(row) {
this.$confirm(`确定要删除${row.DoctorUser.UserName}(${row.DoctorUser.FullName})的核查计划吗?`, {
type: 'warning',
distinguishCancelAndClose: true
}).then(() => {
this.$confirm(
`确定要删除${row.DoctorUser.UserName}(${row.DoctorUser.FullName})的核查计划吗?`,
{
type: 'warning',
distinguishCancelAndClose: true,
}
).then(() => {
this.loading = true
deleteTaskMedicalReviewRule(row.Id).then(res => {
this.loading = false
this.$message.success('删除成功')
this.openFilter()
}).catch(() => { this.loading = false })
deleteTaskMedicalReviewRule(row.Id)
.then((res) => {
this.loading = false
this.$message.success('删除成功')
this.openFilter()
})
.catch(() => {
this.loading = false
})
})
},
//
@ -769,12 +1089,17 @@ export default {
this.searchData.SortField = column.prop
this.searchData.PageIndex = 1
this.getList()
}
}
},
},
}
</script>
<style lang="scss" scoped>
::v-deep .hidden-row{
.title {
line-height: 40px;
font-weight: bold;
margin-bottom: 10px;
}
::v-deep .hidden-row {
display: none;
}
::v-deep .el-dialog__body {
@ -783,13 +1108,13 @@ export default {
::v-deep .el-tag--danger.el-tag--dark {
// background-color: #f56c6c!important;
border-color: none!important;
border-color: none !important;
// color: #fff!important;
}
::v-deep #TaskAllocationRuleList thead .el-checkbox__inner{
::v-deep #TaskAllocationRuleList thead .el-checkbox__inner {
display: none;
}
::v-deep .el-descriptions-item__label.has-colon:after{
::v-deep .el-descriptions-item__label.has-colon:after {
display: none;
}
</style>

View File

@ -869,7 +869,6 @@ export default {
let typeArr = ['', 'Report', 'Doc', 'Record', 'Reviewer', 'Template']
let types = typeArr[this.ArchiveTypeEnum]
this.uploadPath = `/${this.$route.query.trialId}/Document/${types}`
console.log(this.uploadPath, this.ArchiveTypeEnum)
},
computed: {
isEN() {
@ -918,7 +917,7 @@ export default {
},
}
</script>
<style lang="scss" scoped>
<style lang="scss" scoped>
.title {
line-height: 40px;
font-weight: bold;

View File

@ -0,0 +1,368 @@
<template>
<box-content>
<div class="title">
{{ TITLE }}
</div>
<!-- 搜索框 -->
<div class="search" style="position: relative">
<el-form :inline="true" class="base-search-form">
<!--专业-->
<el-form-item
:label="$t('trials:trialDocument:curriculumVitae:search:Speciality')"
>
<el-select
v-model="searchData.SpecialityId"
style="width: 200px"
placeholder=""
clearable
>
<el-option
v-for="item in $d.Department"
:key="item.id"
:label="item.label"
:value="item.value"
>
</el-option>
</el-select>
</el-form-item>
<!--亚专业-->
<el-form-item
:label="
$t('trials:trialDocument:curriculumVitae:search:Subspeciality')
"
>
<el-select
v-model="searchData.SubspecialityId"
style="width: 200px"
placeholder=""
clearable
>
<el-option
v-for="item in $d.Subspeciality"
:key="item.id"
:label="item.label"
:value="item.value"
>
</el-option>
</el-select>
</el-form-item>
<!--机构-->
<el-form-item
:label="
$t('trials:trialDocument:curriculumVitae:search:HospitalName')
"
>
<el-select
v-model="searchData.HospitalId"
style="width: 200px"
placeholder=""
clearable
>
<el-option
v-for="(item, index) in hospitalList"
:key="index"
:label="isEN ? item.HospitalName : item.HospitalNameCN"
:value="item.Id"
/>
</el-select>
</el-form-item>
<el-form-item>
<el-button type="primary" icon="el-icon-search" @click="handleSearch">
{{ $t('common:button:search') }}
</el-button>
<el-button
type="primary"
icon="el-icon-refresh-left"
@click="handleReset"
>
{{ $t('common:button:reset') }}
</el-button>
</el-form-item>
</el-form>
</div>
<el-table
v-loading="loading"
v-adaptive="{ bottomOffset: 75 }"
:data="list"
stripe
height="100"
style="width: 100%"
>
<el-table-column type="index" />
<!--姓名-->
<el-table-column
prop="BlindName"
:label="$t('trials:trialDocument:curriculumVitae:table:name')"
show-overflow-tooltip
sortable="custom"
>
<template slot-scope="scope">
<span>{{ isEN ? scope.row.BlindName : scope.row.BlindNameCN }}</span>
</template>
</el-table-column>
<el-table-column
prop="Speciality"
:label="$t('trials:trialDocument:curriculumVitae:table:Speciality')"
show-overflow-tooltip
sortable="custom"
>
<template slot-scope="scope">
<span>
{{
scope.row.SpecialityId === otherId
? scope.row.SpecialityOther
: isEN
? scope.row.Speciality
: scope.row.SpecialityCN
}}
</span>
</template>
</el-table-column>
<el-table-column
prop="Subspeciality"
:label="$t('trials:trialDocument:curriculumVitae:table:Subspeciality')"
show-overflow-tooltip
>
<template slot-scope="scope">
<span v-if="isEN">
{{
scope.row.SubspecialityList.length > 0
? scope.row.SubspecialityList.join(', ')
: ''
}}
</span>
<span v-else>
{{
scope.row.SubspecialityCNList.length > 0
? scope.row.SubspecialityCNList.join(', ')
: ''
}}
</span>
</template>
</el-table-column>
<el-table-column
prop="HospitalName"
:label="$t('trials:trialDocument:curriculumVitae:table:HospitalName')"
show-overflow-tooltip
sortable="custom"
>
<template slot-scope="scope">
<span>
{{ isEN ? scope.row.HospitalName : scope.row.HospitalNameCN }}
</span>
</template>
</el-table-column>
<el-table-column
prop="SubmmitTime"
:label="$t('trials:trialDocument:curriculumVitae:table:submmitTime')"
show-overflow-tooltip
sortable="custom"
/>
<el-table-column :label="$t('common:action:action')" width="200">
<template slot-scope="scope">
<el-button
icon="el-icon-view"
:title="$t('common:button:view')"
circle
@click.stop="preview(scope.row)"
/>
</template>
</el-table-column>
</el-table>
<!-- 分页组件 -->
<pagination
class="page"
:total="total"
:page.sync="searchData.PageIndex"
:limit.sync="searchData.PageSize"
@pagination="getList"
/>
<el-dialog :visible.sync="preview_visible" fullscreen>
<div style="height: 100%; overflow: auto">
<preview
:isEN="isEN"
:isAll="isAll"
:reviewerId.sync="reviewerId"
v-if="preview_visible"
/>
</div>
</el-dialog>
</box-content>
</template>
<script>
import { getTrialDoctorList } from '@/api/dictionary'
import Pagination from '@/components/Pagination'
import BoxContent from '@/components/BoxContent'
import preview from '@/views/reviewers/curriculumVitae/preview.vue'
import { mapGetters } from 'vuex'
const searchDataDefault = () => {
return {
SubspecialityId: null,
SpecialityId: null,
HospitalId: null,
PageIndex: 1,
PageSize: 20,
Asc: false,
SortField: 'BlindName',
}
}
export default {
name: 'curriculumVitae',
components: { BoxContent, Pagination, preview },
props: {
ArchiveTypeEnum: {
type: Number,
default: 0,
},
rowData: {
type: Object,
default: () => {
return {}
},
},
},
data() {
return {
searchData: searchDataDefault(),
loading: false,
list: [],
total: 0,
reviewerId: null,
isAll: false,
preview_visible: false,
}
},
methods: {
async getList() {
try {
this.searchData.TrialId = this.$route.query.trialId
this.loading = true
let res = await getTrialDoctorList(this.searchData)
this.loading = false
if (res.IsSuccess) {
this.list = res.Result.CurrentPageData
this.total = res.Result.TotalCount
}
} catch (err) {
this.loading = false
console.log(err)
}
},
//
handleSearch() {
this.searchData.PageIndex = 1
this.getList()
},
//
handleReset() {
this.searchData = searchDataDefault()
this.getList()
},
//
handleSortByColumn(column) {
if (column.order === 'ascending') {
this.searchData.Asc = true
} else {
this.searchData.Asc = false
}
this.searchData.SortField = column.prop
this.searchData.PageIndex = 1
this.getList()
},
//
preview(row) {
this.reviewerId = row.Id
this.isAll = false
this.preview_visible = true
},
},
watch: {
Id: {
handler() {
this.rowBtnStatus = 'edit'
this.getList()
},
immediate: true,
},
},
computed: {
...mapGetters(['hospitalList']),
isEN() {
return this.$i18n.locale !== 'zh'
},
isInspect() {
return this.hasPermi([
'trials:trials-panel:trial-summary:trial-document:inspect',
])
},
isManage() {
return this.hasPermi([
'trials:trials-panel:trial-summary:trial-document:manage',
])
},
hasAdd() {
return this.hasPermi([
'trials:trials-panel:trial-summary:trial-document:add',
])
},
hasEdit() {
return this.hasPermi([
'trials:trials-panel:trial-summary:trial-document:edit',
])
},
hasDel() {
return this.hasPermi([
'trials:trials-panel:trial-summary:trial-document:del',
])
},
hasDownLoad() {
return this.hasPermi([
'trials:trials-panel:trial-summary:trial-document:downLoad',
])
},
hasAccredit() {
return this.hasPermi([
'trials:trials-panel:trial-summary:trial-document:accredit',
])
},
TITLE() {
return `${this.$fd('ArchiveType', this.ArchiveTypeEnum)}${
this.isEN ? this.rowData.Name : this.rowData.NameCN
}`
},
},
}
</script>
<style lang="scss" scoped>
.title {
line-height: 40px;
font-weight: bold;
margin-bottom: 10px;
}
.fileName {
display: inline-block;
max-width: 100%;
white-space: nowrap; /* 文本不换行 */
overflow: hidden; /* 超出部分隐藏 */
text-overflow: ellipsis;
}
.fileBtnBox {
display: inline-block;
width: 50px;
i {
cursor: pointer;
color: #409eff;
margin-right: 3px;
&:last-child {
margin: 0;
}
}
}
.topForm {
.el-form-item {
margin-right: 30px;
}
}
</style>

View File

@ -67,6 +67,33 @@
:rowData="rowData"
@getMenu="getMenu"
/>
<!--阅片人简历-->
<curriculum-vitae
v-if="[7].includes(SubIdentificationEnum)"
:ArchiveTypeEnum="ArchiveTypeEnum"
:rowData="rowData"
/>
<!--阅片记录-->
<reading-tracking
v-if="[11].includes(SubIdentificationEnum)"
:isDoc="true"
:TITLE="TITLE"
:viewStatus="viewStatus"
/>
<!--培训记录/共享资料-->
<Attachments-management
v-if="[13].includes(SubIdentificationEnum)"
:isDoc="true"
:TITLE="TITLE"
:viewStatus="viewStatus"
/>
<!--医学审核-->
<medical-feedback
v-if="[9].includes(SubIdentificationEnum)"
:isDoc="true"
:TITLE="TITLE"
:viewStatus="viewStatus"
/>
</div>
</div>
</template>
@ -77,9 +104,27 @@ import reportDoc from './components/report_doc/index.vue'
import fileRecord from './components/fileRecord/index.vue'
import trainRecord from './components/trainRecord/index.vue'
import temp from './components/template/index.vue'
//
import curriculumVitae from './components/viewer/curriculumVitae/index.vue'
import readingTracking from '@/views/trials/trials-panel/reading/reading-tracking/index.vue'
import medicalFeedback from '@/views/trials/trials-panel/reading/pm-medical-feedback/index.vue'
import AttachmentsManagement from '@/views/trials/trials-panel/attachments/attachment-management/index.vue'
export default {
name: 'trialDocument',
components: { BaseContainer, Menu, reportDoc, fileRecord, trainRecord, temp },
components: {
BaseContainer,
Menu,
reportDoc,
fileRecord,
trainRecord,
temp,
curriculumVitae,
readingTracking,
AttachmentsManagement,
medicalFeedback,
},
data() {
return {
viewStatus: true,
@ -100,6 +145,11 @@ export default {
'trials:trials-panel:trial-summary:trial-document:manage',
])
},
TITLE() {
return `${this.$fd('ArchiveType', this.ArchiveTypeEnum)}${
this.isEN ? this.rowData.Name : this.rowData.NameCN
}`
},
},
methods: {
handleChange() {
@ -160,13 +210,13 @@ export default {
::v-deep .topForm {
.el-form-item {
margin-right: 30px;
margin-bottom: 22px;
margin-bottom: 12px;
}
}
::v-deep .line {
width: 100%;
height: 1px;
margin: 0 0 22px 0;
margin: 0 0 12px 0;
border-top: 1px solid #ebeef5;
}
</style>