PM医学审核列表优化
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
747eadb7f1
commit
35abb4d573
|
@ -0,0 +1,517 @@
|
|||
/* eslint-disable */
|
||||
<template>
|
||||
<BaseContainer>
|
||||
<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-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-option
|
||||
v-for="(item,index) of siteOptions"
|
||||
:key="index"
|
||||
:label="item"
|
||||
:value="item"
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<!-- 受试者编号 -->
|
||||
<el-form-item :label="$t('trials:pmMedicalReview:table:subjectCode')">
|
||||
<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-input
|
||||
v-model="searchData.TaskName"
|
||||
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-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-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-select>
|
||||
</el-form-item>
|
||||
<!-- 审核人 -->
|
||||
<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-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-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-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-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-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-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-date-picker
|
||||
v-model="timeList"
|
||||
value-format="yyyy-MM-dd HH:mm:ss"
|
||||
type="datetimerange"
|
||||
:default-time="['00:00:00', '23:59:59']"
|
||||
@change="changeTimeList"
|
||||
/>
|
||||
</el-form-item>
|
||||
|
||||
|
||||
<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">
|
||||
{{ $t('common:button:reset') }}
|
||||
</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</template>
|
||||
<template slot="main-container">
|
||||
<el-table
|
||||
v-adaptive="{bottomOffset:60}"
|
||||
v-loading="loading"
|
||||
:data="list"
|
||||
stripe
|
||||
height="100"
|
||||
@sort-change="handleSortChange"
|
||||
>
|
||||
<!-- 是否加急 -->
|
||||
<el-table-column
|
||||
prop="IsUrgent"
|
||||
:label="$t('trials:pmMedicalReview:table:isUrgent')"
|
||||
show-overflow-tooltip
|
||||
width="120"
|
||||
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>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<!-- 中心编号 -->
|
||||
<el-table-column
|
||||
prop="TrialSiteCode"
|
||||
:label="$t('trials:pmMedicalReview:table:siteCode')"
|
||||
width="100"
|
||||
sortable="custom"
|
||||
show-overflow-tooltip
|
||||
/>
|
||||
<!-- 受试者编号 -->
|
||||
<el-table-column
|
||||
prop="SubjectCode"
|
||||
:label="$t('trials:pmMedicalReview:table:subjectCode')"
|
||||
width="120"
|
||||
sortable="custom"
|
||||
show-overflow-tooltip
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<span v-if="scope.row.MedicalNo && scope.row.MedicalNo !== scope.row.SubjectCode">
|
||||
{{ `${scope.row.SubjectCode}/${scope.row.MedicalNo}` }}
|
||||
</span>
|
||||
<span v-else>{{scope.row.SubjectCode}}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<!-- 任务名称 -->
|
||||
<el-table-column
|
||||
prop="VisitTaskNum"
|
||||
:label="$t('trials:pmMedicalReview:table:taskName')"
|
||||
width="130"
|
||||
sortable="custom"
|
||||
show-overflow-tooltip
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<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>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<!-- 盲态任务标识 -->
|
||||
<!-- <el-table-column
|
||||
prop="TaskBlindName"
|
||||
:label="$t('trials:pmMedicalReview:table:blindName')"
|
||||
width="160"
|
||||
sortable="custom"
|
||||
show-overflow-tooltip
|
||||
/> -->
|
||||
<!-- 任务类型 -->
|
||||
<el-table-column
|
||||
prop="ReadingCategory"
|
||||
:label="$t('trials:pmMedicalReview:table:taskType')"
|
||||
width="140"
|
||||
sortable="custom"
|
||||
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>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<!-- 阅片任务状态 -->
|
||||
<!-- <el-table-column
|
||||
prop="TaskState"
|
||||
:label="$t('trials:pmMedicalReview:table:taskState')"
|
||||
width="160"
|
||||
sortable="custom"
|
||||
show-overflow-tooltip
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<el-tag v-if="scope.row.TaskState === 0" type="primary">{{ $fd('TaskState', scope.row.TaskState) }}</el-tag>
|
||||
<el-tag v-if="scope.row.TaskState === 1" type="info">{{ $fd('TaskState', scope.row.TaskState) }}</el-tag>
|
||||
<el-tag v-if="scope.row.TaskState === 3" type="danger">{{ $fd('TaskState', scope.row.TaskState) }}</el-tag>
|
||||
<el-tag v-if="scope.row.TaskState === 4" type="warning">{{ $fd('TaskState', scope.row.TaskState) }}</el-tag>
|
||||
<el-tag v-if="scope.row.TaskState === 5" type="danger">{{ $fd('TaskState', scope.row.TaskState) }}</el-tag>
|
||||
</template>
|
||||
</el-table-column> -->
|
||||
<!-- 阅片人 -->
|
||||
<el-table-column
|
||||
prop="DoctorUser.UserName"
|
||||
:label="$t('trials:pmMedicalReview:table:reader')"
|
||||
width="120"
|
||||
sortable="custom"
|
||||
show-overflow-tooltip
|
||||
>
|
||||
<template slot-scope="scope" v-if="scope.row.DoctorUser.UserName">
|
||||
{{scope.row.DoctorUser.UserName}}({{scope.row.DoctorUser.FullName}})
|
||||
</template>
|
||||
</el-table-column>
|
||||
<!-- 角色 -->
|
||||
<el-table-column
|
||||
prop="ArmEnum"
|
||||
:label="$t('trials:pmMedicalReview:table:role')"
|
||||
width="100"
|
||||
sortable="custom"
|
||||
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>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<!-- 医学经理 -->
|
||||
<el-table-column
|
||||
prop="MedicalManagerUser.UserName"
|
||||
:label="$t('trials:pmMedicalReview:table:mim')"
|
||||
width="120"
|
||||
sortable="custom"
|
||||
show-overflow-tooltip
|
||||
>
|
||||
<template slot-scope="scope" v-if="scope.row.MedicalManagerUser">
|
||||
{{scope.row.MedicalManagerUser.UserName}}({{scope.row.MedicalManagerUser.FullName}})
|
||||
</template>
|
||||
</el-table-column>
|
||||
<!-- 审核状态 -->
|
||||
<el-table-column
|
||||
prop="AuditState"
|
||||
:label="$t('trials:pmMedicalReview:table:auditState')"
|
||||
width="100"
|
||||
sortable="custom"
|
||||
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>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<!-- 审核结论 -->
|
||||
<el-table-column
|
||||
prop="IsHaveQuestion"
|
||||
:label="$t('trials:pmMedicalReview:table:IsHaveQuestion')"
|
||||
width="120"
|
||||
sortable="custom"
|
||||
show-overflow-tooltip
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
{{$fd('IsPass', scope.row.IsHaveQuestion)}}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<!-- 审核建议 -->
|
||||
<el-table-column
|
||||
prop="AuditAdviceEnum"
|
||||
:label="$t('trials:pmMedicalReview:table:auditAdvice')"
|
||||
width="130"
|
||||
sortable="custom"
|
||||
show-overflow-tooltip
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
{{$fd('AuditAdvice', scope.row.AuditAdviceEnum)}}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<!-- 阅片人是否认同 -->
|
||||
<el-table-column
|
||||
prop="DoctorUserIdeaEnum"
|
||||
:label="$t('trials:pmMedicalReview:table:whetherAgree')"
|
||||
width="180"
|
||||
sortable="custom"
|
||||
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>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<!-- 审核分配时间 -->
|
||||
<el-table-column
|
||||
prop="AllocateTime"
|
||||
:label="$t('trials:pmMedicalReview:table:allocateTime')"
|
||||
width="180"
|
||||
sortable="custom"
|
||||
show-overflow-tooltip
|
||||
/>
|
||||
<!-- 审核签名时间 -->
|
||||
<el-table-column
|
||||
prop="AuditSignTime"
|
||||
:label="$t('trials:pmMedicalReview:table:auditSignTime')"
|
||||
width="140"
|
||||
sortable="custom"
|
||||
show-overflow-tooltip
|
||||
/>
|
||||
|
||||
<!-- 阅片标准 -->
|
||||
<el-table-column
|
||||
prop="TrialReadingCriterionName"
|
||||
:label="$t('trials:pmMedicalReview:table:criterionName')"
|
||||
width="180"
|
||||
sortable="custom"
|
||||
show-overflow-tooltip
|
||||
/>
|
||||
<!-- 阅片完成时间 -->
|
||||
<!-- <el-table-column
|
||||
prop="SignTime"
|
||||
:label="$t('trials:pmMedicalReview:table:signTime')"
|
||||
width="210"
|
||||
sortable="custom"
|
||||
show-overflow-tooltip
|
||||
/> -->
|
||||
<!-- 任务状态 -->
|
||||
<!-- <el-table-column
|
||||
prop="IsInvalid"
|
||||
width="120"
|
||||
:label="$t('trials:pmMedicalReview:table:isInvalid')"
|
||||
sortable="custom"
|
||||
show-overflow-tooltip
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<el-tag v-if="scope.row.IsInvalid" type="danger">
|
||||
{{$fd('IsTakeEffect', scope.row.IsInvalid)}}
|
||||
</el-tag>
|
||||
<el-tag v-else type="primary">
|
||||
{{$fd('IsTakeEffect', scope.row.IsInvalid)}}
|
||||
</el-tag>
|
||||
</template>
|
||||
</el-table-column> -->
|
||||
|
||||
|
||||
<el-table-column
|
||||
:label="$t('common:action:action')"
|
||||
width="90"
|
||||
fixed="right"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<!-- 查看 -->
|
||||
<el-button
|
||||
circle
|
||||
:title="$t('trials:pmMedicalReview:action:view')"
|
||||
:disabled="scope.row.IsInvalid "
|
||||
icon="el-icon-view"
|
||||
@click="handleReadMecialAudit(scope.row)"
|
||||
/>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
<!-- 分页组件 -->
|
||||
<pagination class="page" :total="total" :page.sync="searchData.PageIndex" :limit.sync="searchData.PageSize" @pagination="getList" />
|
||||
</template>
|
||||
</BaseContainer>
|
||||
</template>
|
||||
<script>
|
||||
import { getTrialCriterionList, getTrialSiteCodeSelect, getMedicalReviewTaskList, getDoctorUserSelectList, getMIMUserList } from '@/api/trials/reading'
|
||||
import BaseContainer from '@/components/BaseContainer'
|
||||
import Pagination from '@/components/Pagination'
|
||||
|
||||
const searchDataDefault = () => {
|
||||
return {
|
||||
PageIndex: 1,
|
||||
PageSize: 20,
|
||||
TrialSiteCode: null,
|
||||
Asc: true,
|
||||
SortField: '',
|
||||
TrialId: null,
|
||||
SiteId: null,
|
||||
SubjectId: null,
|
||||
SubjectCode: null,
|
||||
IsUrgent: null,
|
||||
TaskName: null,
|
||||
TaskState: null,
|
||||
DoctorUserId: null,
|
||||
ReadingCategory: null,
|
||||
TaskAllocationState: null,
|
||||
BeginAllocateDate: null,
|
||||
EndAllocateDate: null,
|
||||
AuditState: null,
|
||||
TrialReadingCriterionId: null,
|
||||
BeginSignTime: null,
|
||||
EndSignTime: null,
|
||||
AuditAdviceEnum: null,
|
||||
DoctorUserIdeaEnum: null,
|
||||
IsEffect: false
|
||||
}
|
||||
}
|
||||
export default {
|
||||
name: 'RecordList',
|
||||
components: { BaseContainer, Pagination },
|
||||
data() {
|
||||
return {
|
||||
searchData: searchDataDefault(),
|
||||
list: [],
|
||||
total: 0,
|
||||
loading: false,
|
||||
timeList: [],
|
||||
siteOptions: [],
|
||||
doctorUserList: [],
|
||||
trialCriterionList: [],
|
||||
mimOptions: [],
|
||||
trialId: this.$route.query.trialId
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.getList()
|
||||
this.getSite()
|
||||
this.getDoctorUserSelectList()
|
||||
this.getTrialCriterionList()
|
||||
this.getMIMUserList()
|
||||
},
|
||||
methods: {
|
||||
getList() {
|
||||
this.searchData.TrialId = this.$route.query.trialId
|
||||
this.loading = true
|
||||
getMedicalReviewTaskList(this.searchData).then(res => {
|
||||
this.loading = false
|
||||
this.list = res.Result.CurrentPageData
|
||||
this.total = res.Result.TotalCount
|
||||
}).catch(() => { this.loading = false })
|
||||
},
|
||||
getSite() {
|
||||
getTrialSiteCodeSelect(this.trialId).then(res => {
|
||||
this.siteOptions = res.Result
|
||||
})
|
||||
},
|
||||
getDoctorUserSelectList() {
|
||||
getDoctorUserSelectList(this.$route.query.trialId).then(res => {
|
||||
this.doctorUserList = res.Result
|
||||
})
|
||||
},
|
||||
getTrialCriterionList() {
|
||||
getTrialCriterionList(this.trialId).then(res => {
|
||||
this.trialCriterionList = res.Result
|
||||
}).catch(() => {})
|
||||
},
|
||||
getMIMUserList() {
|
||||
getMIMUserList(this.trialId).then(res => {
|
||||
this.mimOptions = res.Result
|
||||
})
|
||||
},
|
||||
changeTimeList() {
|
||||
if (this.timeList) {
|
||||
this.searchData.BeginAllocateDate = this.timeList[0]
|
||||
this.searchData.EndAllocateDate = this.timeList[1]
|
||||
} else {
|
||||
this.searchData.BeginAllocateDate = null
|
||||
this.searchData.EndAllocateDate = null
|
||||
}
|
||||
},
|
||||
changeTimeList2() {
|
||||
if (this.timeList2) {
|
||||
this.searchData.BeginSignTime = this.timeList2[0]
|
||||
this.searchData.EndSignTime = this.timeList2[1]
|
||||
} else {
|
||||
this.searchData.BeginSignTime = null
|
||||
this.searchData.EndSignTime = null
|
||||
}
|
||||
},
|
||||
handleSearch() {
|
||||
this.searchData.PageIndex = 1
|
||||
this.getList()
|
||||
},
|
||||
handleReset() {
|
||||
this.searchData = searchDataDefault()
|
||||
this.getList()
|
||||
},
|
||||
// 排序
|
||||
handleSortChange(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()
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
|
@ -88,11 +88,11 @@
|
|||
</el-form-item>
|
||||
|
||||
<!-- 阅片任务状态 -->
|
||||
<el-form-item style="margin-bottom:10px" :label="$t('trials:pmMedicalReview:table:taskState')">
|
||||
<!-- <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> -->
|
||||
|
||||
<!-- 阅片状态 -->
|
||||
<!-- <el-form-item style="margin-bottom:10px" label="阅片状态">
|
||||
|
@ -128,10 +128,11 @@
|
|||
<el-button type="primary" v-if="hasPermi(['trials:trials-panel:tab:pmMedicalFeedback:edit'])" @click="openFilter">
|
||||
{{$t('trials:pmMedicalReview:button:select')}}
|
||||
</el-button>
|
||||
<!-- 设置为失效 -->
|
||||
<el-button type="primary" v-if="hasPermi(['trials:trials-panel:tab:pmMedicalFeedback:edit'])" @click="setMedicalReviewInvalid()">
|
||||
{{$t('trials:pmMedicalReview:button:setInvalid')}}
|
||||
<!-- 失效记录 -->
|
||||
<el-button type="primary" icon="el-icon-info" @click="handleViewRecord">
|
||||
{{$t('common:button:failureRecord')}}
|
||||
</el-button>
|
||||
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</template>
|
||||
|
@ -466,6 +467,19 @@
|
|||
>
|
||||
<MedicalAudit :visit-task-id="currentRow.VisitTaskId" :task-medical-review-id="currentRow.Id" @getList="getList" @close="auditVisible=false" :rowData="currentRow"/>
|
||||
</el-dialog>
|
||||
<!-- 失效记录 -->
|
||||
<el-dialog
|
||||
v-if="recordVisible"
|
||||
:title="$t('trials:pmMedicalReview:title:failureRecord')"
|
||||
:visible.sync="recordVisible"
|
||||
width="1200px"
|
||||
:fullscreen="true"
|
||||
append-to-body
|
||||
:close-on-click-modal="false"
|
||||
custom-class="base-dialog-wrapper"
|
||||
>
|
||||
<RecordList />
|
||||
</el-dialog>
|
||||
</template>
|
||||
</BaseContainer>
|
||||
</template>
|
||||
|
@ -479,6 +493,7 @@ import AssignMedicalReviewTask from './components/AssignMedicalReviewTask'
|
|||
import ReAssignMedicalReviewTask from './components/ReAssignMedicalReviewTask'
|
||||
import GenerateMedicalReviewTaskList from './components/GenerateMedicalReviewTaskList'
|
||||
import MedicalAudit from '@/views/trials/trials-panel/reading/mim-medical-audit/components/MedicalAudit'
|
||||
import RecordList from './components/RecordList.vue'
|
||||
const searchDataDefault = () => {
|
||||
return {
|
||||
PageIndex: 1,
|
||||
|
@ -504,11 +519,12 @@ const searchDataDefault = () => {
|
|||
EndSignTime: null,
|
||||
AuditAdviceEnum: null,
|
||||
DoctorUserIdeaEnum: null,
|
||||
IsEffect: true
|
||||
}
|
||||
}
|
||||
export default {
|
||||
name: 'TrialsNotice',
|
||||
components: { BaseContainer, Pagination, AddOrEditFilter, AssignMedicalReviewTask, GenerateMedicalReviewTaskList, MedicalAudit, ReAssignMedicalReviewTask },
|
||||
components: { BaseContainer, Pagination, AddOrEditFilter, AssignMedicalReviewTask, GenerateMedicalReviewTaskList, MedicalAudit, ReAssignMedicalReviewTask, RecordList },
|
||||
data() {
|
||||
return {
|
||||
auditVisible: null,
|
||||
|
@ -536,7 +552,8 @@ export default {
|
|||
distributionInfo: {},
|
||||
currentRow: {},
|
||||
trialCriterionList:[],
|
||||
timeList:[]
|
||||
timeList:[],
|
||||
recordVisible: false
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
|
@ -650,6 +667,9 @@ export default {
|
|||
return true
|
||||
}
|
||||
},
|
||||
handleViewRecord() {
|
||||
this.recordVisible = true
|
||||
},
|
||||
generateMedicalReviewTask() {
|
||||
this.$confirm('确定要应用吗?').then(() => {
|
||||
this.loading = true
|
||||
|
|
|
@ -111,7 +111,7 @@
|
|||
{{ $t('common:button:export') }}
|
||||
</el-button>
|
||||
<el-button type="primary" icon="el-icon-info" @click="handleViewRecord">
|
||||
{{ $t('common:button:record') }}
|
||||
{{ $t('common:button:failureRecord') }}
|
||||
</el-button>
|
||||
<!-- <el-button type="primary" @click="openReadingRules">-->
|
||||
<!-- 阅片任务规则-->
|
||||
|
|
Loading…
Reference in New Issue