独立阅片人上传限制
continuous-integration/drone/push Build is running
Details
continuous-integration/drone/push Build is running
Details
parent
9310337f16
commit
1ef8eed500
|
@ -15,7 +15,7 @@
|
||||||
<el-table
|
<el-table
|
||||||
ref="myTable"
|
ref="myTable"
|
||||||
v-loading="listLoading"
|
v-loading="listLoading"
|
||||||
v-adaptive="{bottomOffset:55}"
|
v-adaptive="{ bottomOffset: 55 }"
|
||||||
:data="list"
|
:data="list"
|
||||||
stripe
|
stripe
|
||||||
height="100"
|
height="100"
|
||||||
|
@ -32,7 +32,15 @@
|
||||||
v-if="!hasPermi(['role:ea'])"
|
v-if="!hasPermi(['role:ea'])"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button type="text" @click="go(`/trialsResume?doctorId=${scope.row.DoctorId}&token=${token}`)">{{ scope.row.LastName }} / {{ scope.row.FirstName }}</el-button>
|
<el-button
|
||||||
|
type="text"
|
||||||
|
@click="
|
||||||
|
go(
|
||||||
|
`/trialsResume?doctorId=${scope.row.DoctorId}&token=${token}`
|
||||||
|
)
|
||||||
|
"
|
||||||
|
>{{ scope.row.LastName }} / {{ scope.row.FirstName }}</el-button
|
||||||
|
>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<!-- Name CN -->
|
<!-- Name CN -->
|
||||||
|
@ -48,7 +56,7 @@
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="UserName"
|
prop="UserName"
|
||||||
:label="$t('trials:enrolledReviews:table:userName')"
|
:label="$t('trials:enrolledReviews:table:userName')"
|
||||||
:width="hasPermi(['role:ea'])?300:150"
|
:width="hasPermi(['role:ea']) ? 300 : 150"
|
||||||
sortable="custom"
|
sortable="custom"
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
/>
|
/>
|
||||||
|
@ -56,12 +64,16 @@
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="EnrollTimeStr"
|
prop="EnrollTimeStr"
|
||||||
:label="$t('trials:enrolledReviews:table:enrollmentTime')"
|
:label="$t('trials:enrolledReviews:table:enrollmentTime')"
|
||||||
:width="hasPermi(['role:ea'])?320:130"
|
:width="hasPermi(['role:ea']) ? 320 : 130"
|
||||||
sortable="custom"
|
sortable="custom"
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.EnrollTime?moment(scope.row.EnrollTime).format('YYYY-MM-DD'):'' }}
|
{{
|
||||||
|
scope.row.EnrollTime
|
||||||
|
? moment(scope.row.EnrollTime).format('YYYY-MM-DD')
|
||||||
|
: ''
|
||||||
|
}}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
|
@ -78,8 +90,16 @@
|
||||||
:inactive-value="false"
|
:inactive-value="false"
|
||||||
:active-text="$fd('IsEnable', true)"
|
:active-text="$fd('IsEnable', true)"
|
||||||
:inactive-text="$fd('IsEnable', false)"
|
:inactive-text="$fd('IsEnable', false)"
|
||||||
@change="(v) => {return isEnableChange(scope.row, v)}"
|
@change="
|
||||||
:disabled="!hasPermi(['trials:trials-panel:enrolled-reviewers:list:edit'])"
|
(v) => {
|
||||||
|
return isEnableChange(scope.row, v)
|
||||||
|
}
|
||||||
|
"
|
||||||
|
:disabled="
|
||||||
|
!hasPermi([
|
||||||
|
'trials:trials-panel:enrolled-reviewers:list:edit',
|
||||||
|
])
|
||||||
|
"
|
||||||
/>
|
/>
|
||||||
<!-- <span :style="{color:scope.row.IsEnable?'#409eff':'#dcdfe6'}"> {{$fd('IsEnable', scope.row.IsEnable)}}</span> -->
|
<!-- <span :style="{color:scope.row.IsEnable?'#409eff':'#dcdfe6'}"> {{$fd('IsEnable', scope.row.IsEnable)}}</span> -->
|
||||||
</div>
|
</div>
|
||||||
|
@ -98,16 +118,46 @@
|
||||||
width="300"
|
width="300"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span v-for="item of scope.row.CriterionCategoryList.find(v => {return v.TrialReadingCriterionId === ite.TrialReadingCriterionId}) ? scope.row.CriterionCategoryList.find(v => {return v.TrialReadingCriterionId === ite.TrialReadingCriterionId}).ReadingCategorys : []" :key="item.TrialReadingCriterionId" style="margin:5px 5px 5px 0;">
|
<span
|
||||||
<el-tag v-if="item === 1" type="primary">{{ $fd('ReadingCategory', item) + ' & ' + $fd('ReadingCategory', 2) }}</el-tag>
|
v-for="item of scope.row.CriterionCategoryList.find((v) => {
|
||||||
<!-- <el-tag v-if="item === 2" type="info">{{ $fd('ReadingCategory', item) }}</el-tag>-->
|
return (
|
||||||
<el-tag v-if="item === 4" type="danger">{{ $fd('ReadingCategory', item) }}</el-tag>
|
v.TrialReadingCriterionId === ite.TrialReadingCriterionId
|
||||||
<el-tag v-if="item === 5" type="warning">{{ $fd('ReadingCategory', item) }}</el-tag>
|
)
|
||||||
</span>
|
})
|
||||||
<el-button
|
? scope.row.CriterionCategoryList.find((v) => {
|
||||||
v-hasPermi="['trials:trials-panel:enrolled-reviewers:list:edit']"
|
return (
|
||||||
|
v.TrialReadingCriterionId ===
|
||||||
|
ite.TrialReadingCriterionId
|
||||||
|
)
|
||||||
|
}).ReadingCategorys
|
||||||
|
: []"
|
||||||
|
:key="item.TrialReadingCriterionId"
|
||||||
|
style="margin: 5px 5px 5px 0"
|
||||||
|
>
|
||||||
|
<el-tag v-if="item === 1" type="primary">{{
|
||||||
|
$fd('ReadingCategory', item) +
|
||||||
|
' & ' +
|
||||||
|
$fd('ReadingCategory', 2)
|
||||||
|
}}</el-tag>
|
||||||
|
<!-- <el-tag v-if="item === 2" type="info">{{ $fd('ReadingCategory', item) }}</el-tag>-->
|
||||||
|
<el-tag v-if="item === 4" type="danger">{{
|
||||||
|
$fd('ReadingCategory', item)
|
||||||
|
}}</el-tag>
|
||||||
|
<el-tag v-if="item === 5" type="warning">{{
|
||||||
|
$fd('ReadingCategory', item)
|
||||||
|
}}</el-tag>
|
||||||
|
</span>
|
||||||
|
<el-button
|
||||||
|
v-hasPermi="[
|
||||||
|
'trials:trials-panel:enrolled-reviewers:list:edit',
|
||||||
|
]"
|
||||||
type="text"
|
type="text"
|
||||||
@click="openSetEnrollReadingCategory(scope.row, ite.TrialReadingCriterionId)"
|
@click="
|
||||||
|
openSetEnrollReadingCategory(
|
||||||
|
scope.row,
|
||||||
|
ite.TrialReadingCriterionId
|
||||||
|
)
|
||||||
|
"
|
||||||
>
|
>
|
||||||
{{ $t('trials:enrolledReviews:button:config') }}
|
{{ $t('trials:enrolledReviews:button:config') }}
|
||||||
</el-button>
|
</el-button>
|
||||||
|
@ -120,13 +170,27 @@
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-switch
|
<el-switch
|
||||||
v-model="scope.row.CriterionCategoryList.find(v => {return v.TrialReadingCriterionId === ite.TrialReadingCriterionId}).IsJoinAnalysis"
|
v-model="
|
||||||
|
scope.row.CriterionCategoryList.find((v) => {
|
||||||
|
return (
|
||||||
|
v.TrialReadingCriterionId === ite.TrialReadingCriterionId
|
||||||
|
)
|
||||||
|
}).IsJoinAnalysis
|
||||||
|
"
|
||||||
:active-value="true"
|
:active-value="true"
|
||||||
:inactive-value="false"
|
:inactive-value="false"
|
||||||
:active-text="$fd('YesOrNo', true)"
|
:active-text="$fd('YesOrNo', true)"
|
||||||
:inactive-text="$fd('YesOrNo', false)"
|
:inactive-text="$fd('YesOrNo', false)"
|
||||||
@change="(v) => {return isConsistencyChange(scope.row, ite, v, true)}"
|
@change="
|
||||||
:disabled="!hasPermi(['trials:trials-panel:enrolled-reviewers:list:edit'])"
|
(v) => {
|
||||||
|
return isConsistencyChange(scope.row, ite, v, true)
|
||||||
|
}
|
||||||
|
"
|
||||||
|
:disabled="
|
||||||
|
!hasPermi([
|
||||||
|
'trials:trials-panel:enrolled-reviewers:list:edit',
|
||||||
|
])
|
||||||
|
"
|
||||||
/>
|
/>
|
||||||
<!-- <span v-if="scope.row.CriterionCategoryList.find(v => {return v.TrialReadingCriterionId === ite.TrialReadingCriterionId}).IsJoinAnalysis"> {{$fd('YesOrNo', scope.row.CriterionCategoryList.find(v => {return v.TrialReadingCriterionId === ite.TrialReadingCriterionId}).IsJoinAnalysis)}}</span>
|
<!-- <span v-if="scope.row.CriterionCategoryList.find(v => {return v.TrialReadingCriterionId === ite.TrialReadingCriterionId}).IsJoinAnalysis"> {{$fd('YesOrNo', scope.row.CriterionCategoryList.find(v => {return v.TrialReadingCriterionId === ite.TrialReadingCriterionId}).IsJoinAnalysis)}}</span>
|
||||||
<span v-else> {{$fd('YesOrNo',false)}}</span> -->
|
<span v-else> {{$fd('YesOrNo',false)}}</span> -->
|
||||||
|
@ -138,8 +202,20 @@
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div v-if="scope.row.CriterionCategoryList.find(v => {return v.TrialReadingCriterionId === ite.TrialReadingCriterionId}).StatementCriterionFileList.length > 0">
|
<div
|
||||||
<el-button type="text" @click="preview(scope.row,ite.TrialReadingCriterionId)">View</el-button>
|
v-if="
|
||||||
|
scope.row.CriterionCategoryList.find((v) => {
|
||||||
|
return (
|
||||||
|
v.TrialReadingCriterionId === ite.TrialReadingCriterionId
|
||||||
|
)
|
||||||
|
}).StatementCriterionFileList.length > 0
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<el-button
|
||||||
|
type="text"
|
||||||
|
@click="preview(scope.row, ite.TrialReadingCriterionId)"
|
||||||
|
>View</el-button
|
||||||
|
>
|
||||||
<!-- <el-button type="text" @click="windowOpen(scope.row.CriterionCategoryList.find(v => {return v.TrialReadingCriterionId === ite.TrialReadingCriterionId}).StatementCriterionFileList[0].FilePath)">View</el-button> -->
|
<!-- <el-button type="text" @click="windowOpen(scope.row.CriterionCategoryList.find(v => {return v.TrialReadingCriterionId === ite.TrialReadingCriterionId}).StatementCriterionFileList[0].FilePath)">View</el-button> -->
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
|
@ -147,10 +223,19 @@
|
||||||
<!-- 上传 -->
|
<!-- 上传 -->
|
||||||
<el-button
|
<el-button
|
||||||
v-if="ite.CriterionType === 0"
|
v-if="ite.CriterionType === 0"
|
||||||
v-hasPermi="['trials:trials-panel:enrolled-reviewers:list:edit']"
|
v-hasPermi="[
|
||||||
|
'trials:trials-panel:enrolled-reviewers:list:edit',
|
||||||
|
]"
|
||||||
type="text"
|
type="text"
|
||||||
style="margin-left: 10px"
|
style="margin-left: 10px"
|
||||||
@click="addCol(0, scope.row, ite, $t('trials:enrolledReviews:message:SOW'))"
|
@click="
|
||||||
|
addCol(
|
||||||
|
0,
|
||||||
|
scope.row,
|
||||||
|
ite,
|
||||||
|
$t('trials:enrolledReviews:message:SOW')
|
||||||
|
)
|
||||||
|
"
|
||||||
>
|
>
|
||||||
{{ $t('trials:enrolledReviews:button:upload') }}
|
{{ $t('trials:enrolledReviews:button:upload') }}
|
||||||
</el-button>
|
</el-button>
|
||||||
|
@ -163,18 +248,48 @@
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div v-if="scope.row.CriterionCategoryList.find(v => {return v.TrialReadingCriterionId === ite.TrialReadingCriterionId}).AcknowledgementCriterionFileList.length > 0">
|
<div
|
||||||
<el-button type="text" @click="windowOpen(scope.row.CriterionCategoryList.find(v => {return v.TrialReadingCriterionId === ite.TrialReadingCriterionId}).AcknowledgementCriterionFileList[0].FilePath)">View</el-button>
|
v-if="
|
||||||
|
scope.row.CriterionCategoryList.find((v) => {
|
||||||
|
return (
|
||||||
|
v.TrialReadingCriterionId === ite.TrialReadingCriterionId
|
||||||
|
)
|
||||||
|
}).AcknowledgementCriterionFileList.length > 0
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<el-button
|
||||||
|
type="text"
|
||||||
|
@click="
|
||||||
|
windowOpen(
|
||||||
|
scope.row.CriterionCategoryList.find((v) => {
|
||||||
|
return (
|
||||||
|
v.TrialReadingCriterionId ===
|
||||||
|
ite.TrialReadingCriterionId
|
||||||
|
)
|
||||||
|
}).AcknowledgementCriterionFileList[0].FilePath
|
||||||
|
)
|
||||||
|
"
|
||||||
|
>View</el-button
|
||||||
|
>
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
<span>{{ $t('trials:enrolledReviews:label:notUpload') }}</span>
|
<span>{{ $t('trials:enrolledReviews:label:notUpload') }}</span>
|
||||||
<!-- 上传 -->
|
<!-- 上传 -->
|
||||||
<el-button
|
<el-button
|
||||||
v-if="ite.CriterionType === 0"
|
v-if="ite.CriterionType === 0"
|
||||||
v-hasPermi="['trials:trials-panel:enrolled-reviewers:list:edit']"
|
v-hasPermi="[
|
||||||
|
'trials:trials-panel:enrolled-reviewers:list:edit',
|
||||||
|
]"
|
||||||
type="text"
|
type="text"
|
||||||
style="margin-left: 10px"
|
style="margin-left: 10px"
|
||||||
@click="addCol(1, scope.row, ite, $t('trials:enrolledReviews:message:SOW'))"
|
@click="
|
||||||
|
addCol(
|
||||||
|
1,
|
||||||
|
scope.row,
|
||||||
|
ite,
|
||||||
|
$t('trials:enrolledReviews:message:SOW')
|
||||||
|
)
|
||||||
|
"
|
||||||
>
|
>
|
||||||
{{ $t('trials:enrolledReviews:button:upload') }}
|
{{ $t('trials:enrolledReviews:button:upload') }}
|
||||||
</el-button>
|
</el-button>
|
||||||
|
@ -188,30 +303,47 @@
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div>
|
<div>
|
||||||
{{ scope.row.CriterionCategoryList.find(v => {return v.TrialReadingCriterionId === ite.TrialReadingCriterionId}).PendingCount }}
|
{{
|
||||||
|
scope.row.CriterionCategoryList.find((v) => {
|
||||||
|
return (
|
||||||
|
v.TrialReadingCriterionId === ite.TrialReadingCriterionId
|
||||||
|
)
|
||||||
|
}).PendingCount
|
||||||
|
}}
|
||||||
/
|
/
|
||||||
{{ scope.row.CriterionCategoryList.find(v => {return v.TrialReadingCriterionId === ite.TrialReadingCriterionId}).ComplectedCount }}
|
{{
|
||||||
|
scope.row.CriterionCategoryList.find((v) => {
|
||||||
|
return (
|
||||||
|
v.TrialReadingCriterionId === ite.TrialReadingCriterionId
|
||||||
|
)
|
||||||
|
}).ComplectedCount
|
||||||
|
}}
|
||||||
/
|
/
|
||||||
{{ scope.row.CriterionCategoryList.find(v => {return v.TrialReadingCriterionId === ite.TrialReadingCriterionId}).TotalCount }}
|
{{
|
||||||
|
scope.row.CriterionCategoryList.find((v) => {
|
||||||
|
return (
|
||||||
|
v.TrialReadingCriterionId === ite.TrialReadingCriterionId
|
||||||
|
)
|
||||||
|
}).TotalCount
|
||||||
|
}}
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
||||||
</el-table>
|
</el-table>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<!-- 上传SOW -->
|
<!-- 上传SOW -->
|
||||||
<!-- <base-model :config="sow_model">-->
|
<!-- <base-model :config="sow_model">-->
|
||||||
<!-- <template slot="dialog-body">-->
|
<!-- <template slot="dialog-body">-->
|
||||||
<!-- <upload-acksow-->
|
<!-- <upload-acksow-->
|
||||||
<!-- ref="uploadAckSow"-->
|
<!-- ref="uploadAckSow"-->
|
||||||
<!-- :trial-id="listQuery.TrialId"-->
|
<!-- :trial-id="listQuery.TrialId"-->
|
||||||
<!-- :doctor-id="doctorId"-->
|
<!-- :doctor-id="doctorId"-->
|
||||||
<!-- @getFileList="getFileList"-->
|
<!-- @getFileList="getFileList"-->
|
||||||
<!-- />-->
|
<!-- />-->
|
||||||
<!-- </template>-->
|
<!-- </template>-->
|
||||||
<!-- </base-model>-->
|
<!-- </base-model>-->
|
||||||
|
|
||||||
<!-- 修改 Reading Type -->
|
<!-- 修改 Reading Type -->
|
||||||
<base-model :config="readingType_model">
|
<base-model :config="readingType_model">
|
||||||
|
@ -258,25 +390,42 @@
|
||||||
allow-create
|
allow-create
|
||||||
multiple
|
multiple
|
||||||
default-first-option
|
default-first-option
|
||||||
style="width: 50%;"
|
style="width: 50%"
|
||||||
>
|
>
|
||||||
<template v-for="item of $d.ReadingCategory">
|
<template v-for="item of $d.ReadingCategory">
|
||||||
<el-option v-if="item.value === 1" :key="item.id" :value="1" :label="$fd('ReadingCategory', 1) + ' & ' + $fd('ReadingCategory', 2)" />
|
<el-option
|
||||||
|
v-if="item.value === 1"
|
||||||
|
:key="item.id"
|
||||||
|
:value="1"
|
||||||
|
:label="
|
||||||
|
$fd('ReadingCategory', 1) + ' & ' + $fd('ReadingCategory', 2)
|
||||||
|
"
|
||||||
|
/>
|
||||||
</template>
|
</template>
|
||||||
<template v-for="item of $d.ReadingCategory">
|
<template v-for="item of $d.ReadingCategory">
|
||||||
<el-option v-if="item.value === 4 && IsArbitrationReading" :key="item.id" :value="item.value" :label="$fd('ReadingCategory', 4)" />
|
<el-option
|
||||||
|
v-if="item.value === 4 && IsArbitrationReading"
|
||||||
|
:key="item.id"
|
||||||
|
:value="item.value"
|
||||||
|
:label="$fd('ReadingCategory', 4)"
|
||||||
|
/>
|
||||||
</template>
|
</template>
|
||||||
<template v-for="item of $d.ReadingCategory">
|
<template v-for="item of $d.ReadingCategory">
|
||||||
<el-option v-if="item.value === 5 && IsOncologyReading" :key="item.id" :value="item.value" :label="$fd('ReadingCategory', 5)" />
|
<el-option
|
||||||
|
v-if="item.value === 5 && IsOncologyReading"
|
||||||
|
:key="item.id"
|
||||||
|
:value="item.value"
|
||||||
|
:label="$fd('ReadingCategory', 5)"
|
||||||
|
/>
|
||||||
</template>
|
</template>
|
||||||
</el-select>
|
</el-select>
|
||||||
</template>
|
</template>
|
||||||
<template slot="dialog-footer">
|
<template slot="dialog-footer">
|
||||||
<div style="margin-top:30px;">
|
<div style="margin-top: 30px">
|
||||||
<el-button
|
<el-button
|
||||||
:disabled="readingCategory_model.btnLoading"
|
:disabled="readingCategory_model.btnLoading"
|
||||||
type="primary"
|
type="primary"
|
||||||
@click="readingCategory_model.visible = false"
|
@click="readingCategory_model.visible = false"
|
||||||
>
|
>
|
||||||
{{ $t('common:button:cancel') }}
|
{{ $t('common:button:cancel') }}
|
||||||
</el-button>
|
</el-button>
|
||||||
|
@ -298,17 +447,23 @@
|
||||||
:model="updateStatusForm"
|
:model="updateStatusForm"
|
||||||
:rules="updateStatusFormrules"
|
:rules="updateStatusFormrules"
|
||||||
>
|
>
|
||||||
<el-form-item :label="$t('trials:enrolledReviews:label:enrollmentStatus')" prop="Status">
|
<el-form-item
|
||||||
<el-select
|
:label="$t('trials:enrolledReviews:label:enrollmentStatus')"
|
||||||
v-model="updateStatusForm.Status"
|
prop="Status"
|
||||||
style="width:60%;"
|
>
|
||||||
>
|
<el-select v-model="updateStatusForm.Status" style="width: 60%">
|
||||||
<!-- 0:回退;1:出组; -->
|
<!-- 0:回退;1:出组; -->
|
||||||
<el-option v-for="item of $d.OutOrInEnrollment" :key="`OutOrInEnrollment${item.value}`" :value="item.value" :label="item.label" :disabled="item.value === 0 && currentWorkload>0" />
|
<el-option
|
||||||
|
v-for="item of $d.OutOrInEnrollment"
|
||||||
|
:key="`OutOrInEnrollment${item.value}`"
|
||||||
|
:value="item.value"
|
||||||
|
:label="item.label"
|
||||||
|
:disabled="item.value === 0 && currentWorkload > 0"
|
||||||
|
/>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item
|
<el-form-item
|
||||||
v-if="updateStatusForm.Status== 1"
|
v-if="updateStatusForm.Status == 1"
|
||||||
:label="$t('trials:enrolledReviews:label:outOfEnrollmentTime')"
|
:label="$t('trials:enrolledReviews:label:outOfEnrollmentTime')"
|
||||||
prop="OutEnrollmentTime"
|
prop="OutEnrollmentTime"
|
||||||
>
|
>
|
||||||
|
@ -346,10 +501,16 @@
|
||||||
label-width="120px"
|
label-width="120px"
|
||||||
size="small"
|
size="small"
|
||||||
>
|
>
|
||||||
<el-form-item :label="$t('trials:enrolledReviews:table:criterionName')" prop="CriterionType">
|
<el-form-item
|
||||||
|
:label="$t('trials:enrolledReviews:table:criterionName')"
|
||||||
|
prop="CriterionType"
|
||||||
|
>
|
||||||
<el-input v-model="form.CriterionName" disabled />
|
<el-input v-model="form.CriterionName" disabled />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item :label="$t('trials:enrolledReviews:table:file')" prop="FilePath">
|
<el-form-item
|
||||||
|
:label="$t('trials:enrolledReviews:table:file')"
|
||||||
|
prop="FilePath"
|
||||||
|
>
|
||||||
<el-upload
|
<el-upload
|
||||||
class="upload-demo"
|
class="upload-demo"
|
||||||
action
|
action
|
||||||
|
@ -358,19 +519,35 @@
|
||||||
:on-preview="handlePreview2"
|
:on-preview="handlePreview2"
|
||||||
:on-remove="handleRemoveFile2"
|
:on-remove="handleRemoveFile2"
|
||||||
:show-file-list="true"
|
:show-file-list="true"
|
||||||
|
accept=".pdf"
|
||||||
:limit="1"
|
:limit="1"
|
||||||
:file-list="fileList"
|
:file-list="fileList"
|
||||||
>
|
>
|
||||||
<el-button size="small" type="primary" :disabled="fileList.length > 0">{{$t('common:button:upload')}}</el-button>
|
<el-button
|
||||||
|
size="small"
|
||||||
|
type="primary"
|
||||||
|
:disabled="fileList.length > 0"
|
||||||
|
>{{ $t('common:button:upload') }}</el-button
|
||||||
|
>
|
||||||
</el-upload>
|
</el-upload>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
</template>
|
</template>
|
||||||
<template slot="dialog-footer">
|
<template slot="dialog-footer">
|
||||||
<el-button :disabled="btnLoading" size="small" type="primary" @click="handleCancle">
|
<el-button
|
||||||
|
:disabled="btnLoading"
|
||||||
|
size="small"
|
||||||
|
type="primary"
|
||||||
|
@click="handleCancle"
|
||||||
|
>
|
||||||
{{ $t('common:button:cancel') }}
|
{{ $t('common:button:cancel') }}
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button size="small" type="primary" :loading="btnLoading" @click="handleSave">
|
<el-button
|
||||||
|
size="small"
|
||||||
|
type="primary"
|
||||||
|
:loading="btnLoading"
|
||||||
|
@click="handleSave"
|
||||||
|
>
|
||||||
{{ $t('common:button:save') }}
|
{{ $t('common:button:save') }}
|
||||||
</el-button>
|
</el-button>
|
||||||
</template>
|
</template>
|
||||||
|
@ -384,7 +561,7 @@ import {
|
||||||
updateReviewerReadingType,
|
updateReviewerReadingType,
|
||||||
enrollBackOrOut,
|
enrollBackOrOut,
|
||||||
setEnrollReadingCategory,
|
setEnrollReadingCategory,
|
||||||
batchSetCriterionJoinJoinAnalysis
|
batchSetCriterionJoinJoinAnalysis,
|
||||||
} from '@/api/trials'
|
} from '@/api/trials'
|
||||||
import { addDoctorCriterionFile } from '@/api/reviewers'
|
import { addDoctorCriterionFile } from '@/api/reviewers'
|
||||||
import { uploadFile } from '@/api/attachment'
|
import { uploadFile } from '@/api/attachment'
|
||||||
|
@ -405,7 +582,7 @@ export default {
|
||||||
PageIndex: 1,
|
PageIndex: 1,
|
||||||
PageSize: 100,
|
PageSize: 100,
|
||||||
Asc: false,
|
Asc: false,
|
||||||
SortField: ''
|
SortField: '',
|
||||||
},
|
},
|
||||||
doctorId: '',
|
doctorId: '',
|
||||||
currentRow: {},
|
currentRow: {},
|
||||||
|
@ -415,41 +592,59 @@ export default {
|
||||||
currentClickRowData: '',
|
currentClickRowData: '',
|
||||||
btnLoading: false,
|
btnLoading: false,
|
||||||
readingType: '',
|
readingType: '',
|
||||||
model_cfg: { visible: false, showClose: true, width: '600px', title: '', appendToBody: true },
|
model_cfg: {
|
||||||
|
visible: false,
|
||||||
|
showClose: true,
|
||||||
|
width: '600px',
|
||||||
|
title: '',
|
||||||
|
appendToBody: true,
|
||||||
|
},
|
||||||
sow_model: {
|
sow_model: {
|
||||||
visible: false,
|
visible: false,
|
||||||
title: this.$t('trials:enrolledReviews:dialogTitle:signedAckOfSow'),
|
title: this.$t('trials:enrolledReviews:dialogTitle:signedAckOfSow'),
|
||||||
showClose: true,
|
showClose: true,
|
||||||
width: '500px'
|
width: '500px',
|
||||||
},
|
},
|
||||||
readingType_model: {
|
readingType_model: {
|
||||||
visible: false,
|
visible: false,
|
||||||
title: this.$t('trials:enrolledReviews:dialogTitle:changeReadingType'),
|
title: this.$t('trials:enrolledReviews:dialogTitle:changeReadingType'),
|
||||||
showClose: true,
|
showClose: true,
|
||||||
width: '500px',
|
width: '500px',
|
||||||
btnLoading: false
|
btnLoading: false,
|
||||||
},
|
},
|
||||||
readingCategory_model: {
|
readingCategory_model: {
|
||||||
visible: false,
|
visible: false,
|
||||||
title: this.$t('trials:enrolledReviews:dialogTitle:changeReadingType'),
|
title: this.$t('trials:enrolledReviews:dialogTitle:changeReadingType'),
|
||||||
showClose: true,
|
showClose: true,
|
||||||
width: '600px',
|
width: '600px',
|
||||||
btnLoading: false
|
btnLoading: false,
|
||||||
},
|
},
|
||||||
reviewerStatus_model: {
|
reviewerStatus_model: {
|
||||||
visible: false,
|
visible: false,
|
||||||
title: this.$t('trials:enrolledReviews:dialogTitle:changeStatus'),
|
title: this.$t('trials:enrolledReviews:dialogTitle:changeStatus'),
|
||||||
showClose: true,
|
showClose: true,
|
||||||
width: '500px',
|
width: '500px',
|
||||||
btnLoading: false
|
btnLoading: false,
|
||||||
},
|
},
|
||||||
updateStatusForm: {
|
updateStatusForm: {
|
||||||
Status: '',
|
Status: '',
|
||||||
OutEnrollmentTime: ''
|
OutEnrollmentTime: '',
|
||||||
},
|
},
|
||||||
updateStatusFormrules: {
|
updateStatusFormrules: {
|
||||||
Status: [{ required: true, message: this.$t('common:ruleMessage:select'), trigger: ['blur', 'change'] }],
|
Status: [
|
||||||
OutEnrollmentTime: [{ required: true, message: this.$t('common:ruleMessage:select'), trigger: ['blur', 'change'] }]
|
{
|
||||||
|
required: true,
|
||||||
|
message: this.$t('common:ruleMessage:select'),
|
||||||
|
trigger: ['blur', 'change'],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
OutEnrollmentTime: [
|
||||||
|
{
|
||||||
|
required: true,
|
||||||
|
message: this.$t('common:ruleMessage:select'),
|
||||||
|
trigger: ['blur', 'change'],
|
||||||
|
},
|
||||||
|
],
|
||||||
},
|
},
|
||||||
token: store.getters.token,
|
token: store.getters.token,
|
||||||
ReadingCategorys: [],
|
ReadingCategorys: [],
|
||||||
|
@ -460,15 +655,25 @@ export default {
|
||||||
fileList: [],
|
fileList: [],
|
||||||
form: {},
|
form: {},
|
||||||
rowData: {},
|
rowData: {},
|
||||||
moment
|
moment,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
currentWorkload() {
|
currentWorkload() {
|
||||||
if (Object.keys(this.currentRow).length === 0) return 0
|
if (Object.keys(this.currentRow).length === 0) return 0
|
||||||
var total = this.currentRow.Adjudication + this.currentRow.AdjudicationIn24H + this.currentRow.AdjudicationIn48H + this.currentRow.Timepoint + this.currentRow.TimepointIn24H + this.currentRow.TimepointIn48H + this.currentRow.TrainingTimes + this.currentRow.RefresherTraining + this.currentRow.Global + this.currentRow.Downtime
|
var total =
|
||||||
|
this.currentRow.Adjudication +
|
||||||
|
this.currentRow.AdjudicationIn24H +
|
||||||
|
this.currentRow.AdjudicationIn48H +
|
||||||
|
this.currentRow.Timepoint +
|
||||||
|
this.currentRow.TimepointIn24H +
|
||||||
|
this.currentRow.TimepointIn48H +
|
||||||
|
this.currentRow.TrainingTimes +
|
||||||
|
this.currentRow.RefresherTraining +
|
||||||
|
this.currentRow.Global +
|
||||||
|
this.currentRow.Downtime
|
||||||
return total
|
return total
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.trialId = this.$route.query.trialCode
|
this.trialId = this.$route.query.trialCode
|
||||||
|
@ -477,14 +682,16 @@ export default {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
// 预览
|
// 预览
|
||||||
preview(row,TrialReadingCriterionId){
|
preview(row, TrialReadingCriterionId) {
|
||||||
let file = row.CriterionCategoryList.find(v => {return v.TrialReadingCriterionId === TrialReadingCriterionId}).StatementCriterionFileList[0];
|
let file = row.CriterionCategoryList.find((v) => {
|
||||||
let arr = file.FilePath.split(".");
|
return v.TrialReadingCriterionId === TrialReadingCriterionId
|
||||||
|
}).StatementCriterionFileList[0]
|
||||||
|
let arr = file.FilePath.split('.')
|
||||||
|
|
||||||
this.$preview({
|
this.$preview({
|
||||||
path:file.FilePath,
|
path: file.FilePath,
|
||||||
type:arr[arr.length - 1],
|
type: arr[arr.length - 1],
|
||||||
title:file.FileName
|
title: file.FileName,
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
isConsistencyChange(row, ite, value, showMessage) {
|
isConsistencyChange(row, ite, value, showMessage) {
|
||||||
|
@ -492,39 +699,50 @@ export default {
|
||||||
},
|
},
|
||||||
batchSetCriterionJoinJoinAnalysis(row, ite, value, showMessage) {
|
batchSetCriterionJoinJoinAnalysis(row, ite, value, showMessage) {
|
||||||
let params
|
let params
|
||||||
if (row.DoctorCriterionStatusList && row.DoctorCriterionStatusList.length > 0) {
|
if (
|
||||||
|
row.DoctorCriterionStatusList &&
|
||||||
|
row.DoctorCriterionStatusList.length > 0
|
||||||
|
) {
|
||||||
if (ite) {
|
if (ite) {
|
||||||
let item = row.CriterionCategoryList.find(v => v.TrialReadingCriterionId === ite.TrialReadingCriterionId)
|
let item = row.CriterionCategoryList.find(
|
||||||
|
(v) => v.TrialReadingCriterionId === ite.TrialReadingCriterionId
|
||||||
|
)
|
||||||
if (item) {
|
if (item) {
|
||||||
params = [{
|
params = [
|
||||||
Id: item.Id,
|
{
|
||||||
EnrollId: item.EnrollId,
|
Id: item.Id,
|
||||||
TrialReadingCriterionId: item.TrialReadingCriterionId,
|
EnrollId: item.EnrollId,
|
||||||
IsJoinAnalysis: value
|
TrialReadingCriterionId: item.TrialReadingCriterionId,
|
||||||
}]
|
IsJoinAnalysis: value,
|
||||||
|
},
|
||||||
|
]
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
params = row.DoctorCriterionStatusList.map(v => {
|
params = row.DoctorCriterionStatusList.map((v) => {
|
||||||
return {
|
return {
|
||||||
Id: v.Id,
|
Id: v.Id,
|
||||||
EnrollId: v.EnrollId,
|
EnrollId: v.EnrollId,
|
||||||
TrialReadingCriterionId: v.TrialReadingCriterionId,
|
TrialReadingCriterionId: v.TrialReadingCriterionId,
|
||||||
IsJoinAnalysis: v.IsJoinAnalysis
|
IsJoinAnalysis: v.IsJoinAnalysis,
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
params = row.CriterionCategoryList.map(v => {
|
params = row.CriterionCategoryList.map((v) => {
|
||||||
return {
|
return {
|
||||||
EnrollId: v.EnrollId,
|
EnrollId: v.EnrollId,
|
||||||
TrialReadingCriterionId: v.TrialReadingCriterionId,
|
TrialReadingCriterionId: v.TrialReadingCriterionId,
|
||||||
IsJoinAnalysis: value
|
IsJoinAnalysis: value,
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
batchSetCriterionJoinJoinAnalysis(params).then(res => {
|
batchSetCriterionJoinJoinAnalysis(params).then((res) => {
|
||||||
if (showMessage) {
|
if (showMessage) {
|
||||||
this.$message.success(this.$t('trials:enrolledReviews:message:batchSetCriterionJoinJoinAnalysis1'))
|
this.$message.success(
|
||||||
|
this.$t(
|
||||||
|
'trials:enrolledReviews:message:batchSetCriterionJoinJoinAnalysis1'
|
||||||
|
)
|
||||||
|
)
|
||||||
}
|
}
|
||||||
this.initPage()
|
this.initPage()
|
||||||
})
|
})
|
||||||
|
@ -532,17 +750,26 @@ export default {
|
||||||
go(path) {
|
go(path) {
|
||||||
window.open(path)
|
window.open(path)
|
||||||
},
|
},
|
||||||
beforeUpload() {
|
beforeUpload(file) {
|
||||||
if (this.fileList.length > 0) {
|
if (this.fileList.length > 0) {
|
||||||
// 只允许上传1个文件
|
// 只允许上传1个文件
|
||||||
this.$alert(this.$t('trials:enrolledReviews:message:uploadSowWaring1'))
|
this.$alert(this.$t('trials:enrolledReviews:message:uploadSowWaring1'))
|
||||||
return
|
return false
|
||||||
|
}
|
||||||
|
console.log(file)
|
||||||
|
const fileName = file.name
|
||||||
|
var extendName = fileName
|
||||||
|
.substring(fileName.lastIndexOf('.'))
|
||||||
|
.toLocaleLowerCase()
|
||||||
|
if (extendName !== '.pdf') {
|
||||||
|
this.$alert(this.$t('trials:enrolledReviews:message:uploadSowWaring2'))
|
||||||
|
return false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
handleSave() {
|
handleSave() {
|
||||||
this.$refs['DictionaryTypeConfigForm'].validate(valid => {
|
this.$refs['DictionaryTypeConfigForm'].validate((valid) => {
|
||||||
if (!valid) return
|
if (!valid) return
|
||||||
addDoctorCriterionFile(this.form).then(res => {
|
addDoctorCriterionFile(this.form).then((res) => {
|
||||||
// 保存成功
|
// 保存成功
|
||||||
this.$message.success(this.$t('common:message:savedSuccessfully'))
|
this.$message.success(this.$t('common:message:savedSuccessfully'))
|
||||||
this.initPage()
|
this.initPage()
|
||||||
|
@ -560,11 +787,19 @@ export default {
|
||||||
this.btnLoading = true
|
this.btnLoading = true
|
||||||
var fileName = param.file.name
|
var fileName = param.file.name
|
||||||
let file = await this.fileToBlob(param.file)
|
let file = await this.fileToBlob(param.file)
|
||||||
let res = await this.OSSclient.put(`/SystemData/reviewer/${this.form.FileType === 0 ? '既往阅片情况声明' : '入项资格确认书'}/${this.rowData.DoctorId}/${fileName}`, file)
|
let res = await this.OSSclient.put(
|
||||||
|
`/SystemData/reviewer/${
|
||||||
|
this.form.FileType === 0 ? '既往阅片情况声明' : '入项资格确认书'
|
||||||
|
}/${this.rowData.DoctorId}/${fileName}`,
|
||||||
|
file
|
||||||
|
)
|
||||||
this.form.FileName = param.file.name
|
this.form.FileName = param.file.name
|
||||||
this.form.FilePath = this.$getObjectName(res.url)
|
this.form.FilePath = this.$getObjectName(res.url)
|
||||||
param.file.url = this.$getObjectName(res.url)
|
param.file.url = this.$getObjectName(res.url)
|
||||||
this.$set(this.fileList, 0, { name: this.form.FileName, url: this.$getObjectName(res.url) })
|
this.$set(this.fileList, 0, {
|
||||||
|
name: this.form.FileName,
|
||||||
|
url: this.$getObjectName(res.url),
|
||||||
|
})
|
||||||
this.btnLoading = false
|
this.btnLoading = false
|
||||||
|
|
||||||
// this.btnLoading = true
|
// this.btnLoading = true
|
||||||
|
@ -587,7 +822,7 @@ export default {
|
||||||
this.fileList = []
|
this.fileList = []
|
||||||
},
|
},
|
||||||
addCol(fileType, row, item) {
|
addCol(fileType, row, item) {
|
||||||
this.rowData = {...row}
|
this.rowData = { ...row }
|
||||||
this.model_cfg.visible = true
|
this.model_cfg.visible = true
|
||||||
this.form = {
|
this.form = {
|
||||||
Remark: null,
|
Remark: null,
|
||||||
|
@ -599,10 +834,13 @@ export default {
|
||||||
DoctorId: row.DoctorId,
|
DoctorId: row.DoctorId,
|
||||||
CriterionType: item.CriterionType,
|
CriterionType: item.CriterionType,
|
||||||
CriterionName: item.TrialReadingCriterionName,
|
CriterionName: item.TrialReadingCriterionName,
|
||||||
TrialReadingCriterionId: item.TrialReadingCriterionId
|
TrialReadingCriterionId: item.TrialReadingCriterionId,
|
||||||
}
|
}
|
||||||
this.handleRemoveFile2()
|
this.handleRemoveFile2()
|
||||||
this.model_cfg.title = fileType === 0 ? this.$t('trials:enrolledReviews:message:SOW') : this.$t('trials:enrolledReviews:message:EQC')// '既往阅片情况说明' : '入项资格确认书'
|
this.model_cfg.title =
|
||||||
|
fileType === 0
|
||||||
|
? this.$t('trials:enrolledReviews:message:SOW')
|
||||||
|
: this.$t('trials:enrolledReviews:message:EQC') // '既往阅片情况说明' : '入项资格确认书'
|
||||||
},
|
},
|
||||||
windowOpen(url) {
|
windowOpen(url) {
|
||||||
console.log(url)
|
console.log(url)
|
||||||
|
@ -614,14 +852,16 @@ export default {
|
||||||
updateTrialReviewerState({
|
updateTrialReviewerState({
|
||||||
TrialId: this.listQuery.TrialId,
|
TrialId: this.listQuery.TrialId,
|
||||||
IsEnable: v,
|
IsEnable: v,
|
||||||
EnrollId: row.EnrollId
|
EnrollId: row.EnrollId,
|
||||||
}).then(res => {
|
|
||||||
// '保存成功'
|
|
||||||
this.$message.success(this.$t('common:message:savedSuccessfully'))
|
|
||||||
this.listLoading = false
|
|
||||||
}).catch(() => {
|
|
||||||
this.listLoading = false
|
|
||||||
})
|
})
|
||||||
|
.then((res) => {
|
||||||
|
// '保存成功'
|
||||||
|
this.$message.success(this.$t('common:message:savedSuccessfully'))
|
||||||
|
this.listLoading = false
|
||||||
|
})
|
||||||
|
.catch(() => {
|
||||||
|
this.listLoading = false
|
||||||
|
})
|
||||||
},
|
},
|
||||||
handleUpdateReadingCategory() {
|
handleUpdateReadingCategory() {
|
||||||
this.readingCategory_model.btnLoading = true
|
this.readingCategory_model.btnLoading = true
|
||||||
|
@ -630,19 +870,20 @@ export default {
|
||||||
TrialId: this.$route.query.trialId,
|
TrialId: this.$route.query.trialId,
|
||||||
EnrollId: this.currentRow.EnrollId,
|
EnrollId: this.currentRow.EnrollId,
|
||||||
ReadingCategorys: Object.assign([], this.ReadingCategorys),
|
ReadingCategorys: Object.assign([], this.ReadingCategorys),
|
||||||
TrialReadingCriterionId: this.TrialReadingCriterionId
|
TrialReadingCriterionId: this.TrialReadingCriterionId,
|
||||||
}
|
}
|
||||||
if (~this.ReadingCategorys.indexOf(1)) {
|
if (~this.ReadingCategorys.indexOf(1)) {
|
||||||
params.ReadingCategorys.push(2)
|
params.ReadingCategorys.push(2)
|
||||||
}
|
}
|
||||||
setEnrollReadingCategory(params)
|
setEnrollReadingCategory(params)
|
||||||
.then(res => {
|
.then((res) => {
|
||||||
this.readingCategory_model.visible = false
|
this.readingCategory_model.visible = false
|
||||||
this.readingCategory_model.btnLoading = false
|
this.readingCategory_model.btnLoading = false
|
||||||
this.readingCategory_model.showClose = true
|
this.readingCategory_model.showClose = true
|
||||||
this.initPage()
|
this.initPage()
|
||||||
this.$message.success(this.$t('common:message:savedSuccessfully'))
|
this.$message.success(this.$t('common:message:savedSuccessfully'))
|
||||||
}).catch(_ => {
|
})
|
||||||
|
.catch((_) => {
|
||||||
this.readingCategory_model.btnLoading = false
|
this.readingCategory_model.btnLoading = false
|
||||||
this.readingCategory_model.showClose = true
|
this.readingCategory_model.showClose = true
|
||||||
})
|
})
|
||||||
|
@ -653,16 +894,20 @@ export default {
|
||||||
this.currentRow = row
|
this.currentRow = row
|
||||||
this.TrialReadingCriterionId = TrialReadingCriterionId
|
this.TrialReadingCriterionId = TrialReadingCriterionId
|
||||||
this.readingCategory_model.visible = true
|
this.readingCategory_model.visible = true
|
||||||
var o = row.CriterionCategoryList.find(v => {
|
var o = row.CriterionCategoryList.find((v) => {
|
||||||
return v.TrialReadingCriterionId === TrialReadingCriterionId
|
return v.TrialReadingCriterionId === TrialReadingCriterionId
|
||||||
}) ? row.CriterionCategoryList.find(v => {
|
})
|
||||||
return v.TrialReadingCriterionId === TrialReadingCriterionId
|
? row.CriterionCategoryList.find((v) => {
|
||||||
}) : null
|
return v.TrialReadingCriterionId === TrialReadingCriterionId
|
||||||
var i = row.TrialReadingCriterionList.find(v => {
|
})
|
||||||
|
: null
|
||||||
|
var i = row.TrialReadingCriterionList.find((v) => {
|
||||||
return v.TrialReadingCriterionId === TrialReadingCriterionId
|
return v.TrialReadingCriterionId === TrialReadingCriterionId
|
||||||
}) ? row.TrialReadingCriterionList.find(v => {
|
})
|
||||||
return v.TrialReadingCriterionId === TrialReadingCriterionId
|
? row.TrialReadingCriterionList.find((v) => {
|
||||||
}) : null
|
return v.TrialReadingCriterionId === TrialReadingCriterionId
|
||||||
|
})
|
||||||
|
: null
|
||||||
if (i) {
|
if (i) {
|
||||||
this.IsArbitrationReading = i.IsArbitrationReading
|
this.IsArbitrationReading = i.IsArbitrationReading
|
||||||
this.IsOncologyReading = i.IsOncologyReading
|
this.IsOncologyReading = i.IsOncologyReading
|
||||||
|
@ -678,48 +923,56 @@ export default {
|
||||||
// 获取入组医生列表数据
|
// 获取入组医生列表数据
|
||||||
initPage() {
|
initPage() {
|
||||||
this.listLoading = true
|
this.listLoading = true
|
||||||
getTrialEnrollmentWorkloadStats(this.listQuery).then((res) => {
|
getTrialEnrollmentWorkloadStats(this.listQuery)
|
||||||
this.listLoading = false
|
.then((res) => {
|
||||||
let resArray = res.Result.CurrentPageData
|
this.listLoading = false
|
||||||
try {
|
let resArray = res.Result.CurrentPageData
|
||||||
resArray.forEach(v => {
|
try {
|
||||||
if (v.DoctorCriterionStatusList && v.DoctorCriterionStatusList.length === 0) {
|
resArray.forEach((v) => {
|
||||||
this.isConsistencyChange(v, null,true, false)
|
if (
|
||||||
}
|
v.DoctorCriterionStatusList &&
|
||||||
v.CriterionCategoryList.forEach(v1 => {
|
v.DoctorCriterionStatusList.length === 0
|
||||||
let o = v.DoctorCriterionStatusList.find(v2 => {
|
) {
|
||||||
return v2.TrialReadingCriterionId === v1.TrialReadingCriterionId
|
this.isConsistencyChange(v, null, true, false)
|
||||||
})
|
|
||||||
if (o) {
|
|
||||||
this.$set(v1, 'Id', o.Id)
|
|
||||||
this.$set(v1, 'IsJoinAnalysis', o.IsJoinAnalysis)
|
|
||||||
}
|
}
|
||||||
|
v.CriterionCategoryList.forEach((v1) => {
|
||||||
|
let o = v.DoctorCriterionStatusList.find((v2) => {
|
||||||
|
return (
|
||||||
|
v2.TrialReadingCriterionId === v1.TrialReadingCriterionId
|
||||||
|
)
|
||||||
|
})
|
||||||
|
if (o) {
|
||||||
|
this.$set(v1, 'Id', o.Id)
|
||||||
|
this.$set(v1, 'IsJoinAnalysis', o.IsJoinAnalysis)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
v.DoctorCriterionStatusList.push({})
|
||||||
})
|
})
|
||||||
v.DoctorCriterionStatusList.push({})
|
} catch (e) {
|
||||||
})
|
console.log(e)
|
||||||
} catch (e) {
|
|
||||||
console.log(e)
|
|
||||||
}
|
|
||||||
this.list = resArray
|
|
||||||
if (this.list.length > 0) {
|
|
||||||
this.TrialReadingCriterionList = this.list[0].TrialReadingCriterionList
|
|
||||||
}
|
|
||||||
this.total = res.Result.TotalCount
|
|
||||||
this.$nextTick(() => {
|
|
||||||
// myTable是表格的ref属性值
|
|
||||||
if (this.$refs.myTable && this.$refs.myTable.doLayout) {
|
|
||||||
this.$refs.myTable.doLayout()
|
|
||||||
}
|
}
|
||||||
|
this.list = resArray
|
||||||
|
if (this.list.length > 0) {
|
||||||
|
this.TrialReadingCriterionList =
|
||||||
|
this.list[0].TrialReadingCriterionList
|
||||||
|
}
|
||||||
|
this.total = res.Result.TotalCount
|
||||||
|
this.$nextTick(() => {
|
||||||
|
// myTable是表格的ref属性值
|
||||||
|
if (this.$refs.myTable && this.$refs.myTable.doLayout) {
|
||||||
|
this.$refs.myTable.doLayout()
|
||||||
|
}
|
||||||
|
})
|
||||||
|
})
|
||||||
|
.catch(() => {
|
||||||
|
this.listLoading = false
|
||||||
})
|
})
|
||||||
}).catch(() => {
|
|
||||||
this.listLoading = false
|
|
||||||
})
|
|
||||||
},
|
},
|
||||||
|
|
||||||
// Enroll按钮回调
|
// Enroll按钮回调
|
||||||
handleEnroll() {
|
handleEnroll() {
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: `/trials/trials-panel/enrolled-reviewers/enroll?trialId=${this.listQuery.TrialId}&trialCode=${this.trialId}`
|
path: `/trials/trials-panel/enrolled-reviewers/enroll?trialId=${this.listQuery.TrialId}&trialCode=${this.trialId}`,
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -731,12 +984,16 @@ export default {
|
||||||
|
|
||||||
// 更新医生状态信息
|
// 更新医生状态信息
|
||||||
handleUpdateReviewerStatus() {
|
handleUpdateReviewerStatus() {
|
||||||
this.$refs.updateStatusForm.validate(valid => {
|
this.$refs.updateStatusForm.validate((valid) => {
|
||||||
if (!valid) return
|
if (!valid) return
|
||||||
this.reviewerStatus_model.btnLoading = true
|
this.reviewerStatus_model.btnLoading = true
|
||||||
this.reviewerStatus_model.showClose = false
|
this.reviewerStatus_model.showClose = false
|
||||||
enrollBackOrOut(this.listQuery.TrialId, this.currentRow.DoctorId, this.updateStatusForm.Status)
|
enrollBackOrOut(
|
||||||
.then(res => {
|
this.listQuery.TrialId,
|
||||||
|
this.currentRow.DoctorId,
|
||||||
|
this.updateStatusForm.Status
|
||||||
|
)
|
||||||
|
.then((res) => {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$refs['updateStatusForm'].resetFields()
|
this.$refs['updateStatusForm'].resetFields()
|
||||||
})
|
})
|
||||||
|
@ -765,14 +1022,19 @@ export default {
|
||||||
handleUpdateReadingType() {
|
handleUpdateReadingType() {
|
||||||
this.readingType_model.btnLoading = true
|
this.readingType_model.btnLoading = true
|
||||||
this.readingType_model.showClose = false
|
this.readingType_model.showClose = false
|
||||||
updateReviewerReadingType(this.listQuery.TrialId, this.currentRow.DoctorId, this.readingType)
|
updateReviewerReadingType(
|
||||||
.then(res => {
|
this.listQuery.TrialId,
|
||||||
|
this.currentRow.DoctorId,
|
||||||
|
this.readingType
|
||||||
|
)
|
||||||
|
.then((res) => {
|
||||||
this.readingType_model.visible = false
|
this.readingType_model.visible = false
|
||||||
this.readingType_model.btnLoading = false
|
this.readingType_model.btnLoading = false
|
||||||
this.readingType_model.showClose = true
|
this.readingType_model.showClose = true
|
||||||
this.initPage()
|
this.initPage()
|
||||||
this.$message.success(this.$t('common:message:savedSuccessfully'))
|
this.$message.success(this.$t('common:message:savedSuccessfully'))
|
||||||
}).catch(_ => {
|
})
|
||||||
|
.catch((_) => {
|
||||||
this.readingType_model.btnLoading = false
|
this.readingType_model.btnLoading = false
|
||||||
this.readingType_model.showClose = true
|
this.readingType_model.showClose = true
|
||||||
})
|
})
|
||||||
|
@ -791,17 +1053,15 @@ export default {
|
||||||
this.initPage()
|
this.initPage()
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
handleTipCloseOK() {
|
handleTipCloseOK() {
|
||||||
zzSessionStorage.setItem(
|
zzSessionStorage.setItem(
|
||||||
'ReviewerName',
|
'ReviewerName',
|
||||||
this.currentClickRowData.FirstName +
|
this.currentClickRowData.FirstName +
|
||||||
' ' +
|
' ' +
|
||||||
this.currentClickRowData.LastName
|
this.currentClickRowData.LastName
|
||||||
)
|
)
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: `/trials/trials-panel/enrolled-reviewers/stats?doctorId=${this.currentClickRowData.DoctorId}&trialId=${this.listQuery.TrialId}&trialCode=${this.trialId}&doctorName=${this.currentClickRowData.LastName}/${this.currentClickRowData.FirstName}`
|
path: `/trials/trials-panel/enrolled-reviewers/stats?doctorId=${this.currentClickRowData.DoctorId}&trialId=${this.listQuery.TrialId}&trialCode=${this.trialId}&doctorName=${this.currentClickRowData.LastName}/${this.currentClickRowData.FirstName}`,
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -827,18 +1087,18 @@ export default {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
return sums
|
return sums
|
||||||
}
|
},
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.enroll-list {
|
.enroll-list {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
.readingCategory_model{
|
.readingCategory_model {
|
||||||
.base-modal-body{
|
.base-modal-body {
|
||||||
min-height: 150px;
|
min-height: 150px;
|
||||||
padding-bottom: 30px !important;
|
padding-bottom: 30px !important;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -56,6 +56,7 @@
|
||||||
<el-form-item
|
<el-form-item
|
||||||
:label-width="'280px'"
|
:label-width="'280px'"
|
||||||
:label="$t('trials:adRules:title:judgeTypeEnum')"
|
:label="$t('trials:adRules:title:judgeTypeEnum')"
|
||||||
|
style="width: 95%"
|
||||||
>
|
>
|
||||||
<el-radio-group
|
<el-radio-group
|
||||||
v-model="QuestionList[index].JudgeType"
|
v-model="QuestionList[index].JudgeType"
|
||||||
|
@ -63,6 +64,7 @@
|
||||||
>
|
>
|
||||||
<template v-for="item of $d.JudgeTypeEnum">
|
<template v-for="item of $d.JudgeTypeEnum">
|
||||||
<el-radio
|
<el-radio
|
||||||
|
style="margin-bottom: 5px"
|
||||||
:key="item.id"
|
:key="item.id"
|
||||||
:disabled="
|
:disabled="
|
||||||
OtherInfo.IsSign ||
|
OtherInfo.IsSign ||
|
||||||
|
|
Loading…
Reference in New Issue