Merge branch 'main' of https://gitea.frp.extimaging.com/XCKJ/irc_web into main
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
commit
164437ea70
|
@ -45,10 +45,19 @@ export function changeFrontAuditSort(param) {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
export function getModuleTypeDescriptionList(param) {
|
export function getModuleTypeDescriptionList(params) {
|
||||||
return request({
|
return request({
|
||||||
url: `${param === '' ? '/FrontAuditConfig/getModuleTypeDescriptionList' : '/FrontAuditConfig/getModuleTypeDescriptionList?moduleTypeId=' + param}`,
|
url: `/FrontAuditConfig/getModuleTypeDescriptionList`,
|
||||||
method: 'get'
|
method: 'get',
|
||||||
|
params
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
export function getModuleTypeList(data) {
|
||||||
|
return request({
|
||||||
|
url: `/FrontAuditConfig/getModuleTypeList`,
|
||||||
|
method: 'post',
|
||||||
|
data
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -6,12 +6,8 @@
|
||||||
<!-- 中心编号 -->
|
<!-- 中心编号 -->
|
||||||
<el-form-item :label="$t('trials:reviewAssign:readingTask:table:siteCode')">
|
<el-form-item :label="$t('trials:reviewAssign:readingTask:table:siteCode')">
|
||||||
<el-select v-model="searchData.TrialSiteId" clearable filterable style="width:120px;">
|
<el-select v-model="searchData.TrialSiteId" clearable filterable style="width:120px;">
|
||||||
<el-option
|
<el-option v-for="(item, index) of siteOptions" :key="index" :label="item.TrialSiteCode"
|
||||||
v-for="(item,index) of siteOptions"
|
:value="item.TrialSiteId" />
|
||||||
:key="index"
|
|
||||||
:label="item.TrialSiteCode"
|
|
||||||
:value="item.TrialSiteId"
|
|
||||||
/>
|
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 受试者编号 -->
|
<!-- 受试者编号 -->
|
||||||
|
@ -20,51 +16,47 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 访视/阅片期名称 -->
|
<!-- 访视/阅片期名称 -->
|
||||||
<el-form-item style="margin-bottom:10px" :label="$t('trials:reviewAssign:readingTask:table:visitName')">
|
<el-form-item style="margin-bottom:10px" :label="$t('trials:reviewAssign:readingTask:table:visitName')">
|
||||||
<el-input
|
<el-input v-model="searchData.TaskName" style="width:100px;" clearable />
|
||||||
v-model="searchData.TaskName"
|
|
||||||
style="width:100px;"
|
|
||||||
clearable
|
|
||||||
/>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 阅片人 -->
|
<!-- 阅片人 -->
|
||||||
<el-form-item style="margin-bottom:10px" :label="$t('trials:reviewAssign:readingTask:table:reader')">
|
<el-form-item style="margin-bottom:10px" :label="$t('trials:reviewAssign:readingTask:table:reader')">
|
||||||
<el-select v-model="searchData.DoctorUserId" clearable style="width:120px;">
|
<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" />
|
<el-option v-for="item of DoctorUserList" :key="'DoctorUserId' + item.DoctorUserId"
|
||||||
|
:value="item.DoctorUserId" :label="item.UserName" />
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 是否加急 -->
|
<!-- 是否加急 -->
|
||||||
<el-form-item style="margin-bottom:10px" :label="$t('trials:reviewAssign:readingTask:table:isUrgent')">
|
<el-form-item style="margin-bottom:10px" :label="$t('trials:reviewAssign:readingTask:table:isUrgent')">
|
||||||
<el-select v-model="searchData.IsUrgent" clearable style="width:120px;">
|
<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-option v-for="item of $d.YesOrNo" :key="'IsUrgent' + item.label" :value="item.value"
|
||||||
|
:label="item.label" />
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 任务状态 -->
|
<!-- 任务状态 -->
|
||||||
<el-form-item style="margin-bottom:10px" :label="$t('trials:reviewAssign:readingTask:table:taskStatus')">
|
<el-form-item style="margin-bottom:10px" :label="$t('trials:reviewAssign:readingTask:table:taskStatus')">
|
||||||
<el-select v-model="searchData.TaskState" clearable style="width:120px;">
|
<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-option v-for="item of $d.TaskState" :key="'TaskState' + item.label" :value="item.value"
|
||||||
|
:label="item.label" />
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 任务类型 -->
|
<!-- 任务类型 -->
|
||||||
<el-form-item style="margin-bottom:10px" :label="$t('trials:reviewAssign:readingTask:table:taskType')">
|
<el-form-item style="margin-bottom:10px" :label="$t('trials:reviewAssign:readingTask:table:taskType')">
|
||||||
<el-select v-model="searchData.ReadingCategory" clearable style="width:120px;">
|
<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-option v-for="item of $d.ReadingCategory" :key="'ReadingCategory' + item.label" :value="item.value"
|
||||||
|
:label="item.label" />
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 分配状态 -->
|
<!-- 分配状态 -->
|
||||||
<el-form-item style="margin-bottom:10px" :label="$t('trials:reviewAssign:readingTask:table:assignStatus')">
|
<el-form-item style="margin-bottom:10px" :label="$t('trials:reviewAssign:readingTask:table:assignStatus')">
|
||||||
<el-select v-model="searchData.TaskAllocationState" clearable style="width:120px;">
|
<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-option v-for="item of $d.TaskAllocationState" :key="'TaskAllocationState' + item.label"
|
||||||
|
:value="item.value" :label="item.label" />
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 分配时间 -->
|
<!-- 分配时间 -->
|
||||||
<el-form-item style="margin-bottom:10px" :label="$t('trials:reviewAssign:readingTask:table:assignTime')">
|
<el-form-item style="margin-bottom:10px" :label="$t('trials:reviewAssign:readingTask:table:assignTime')">
|
||||||
<el-date-picker
|
<el-date-picker v-model="timeList" value-format="yyyy-MM-dd HH:mm:ss" type="datetimerange"
|
||||||
v-model="timeList"
|
:default-time="['00:00:00', '23:59:59']" @change="changeTimeList" />
|
||||||
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>
|
||||||
<el-form-item style="margin-bottom:10px">
|
<el-form-item style="margin-bottom:10px">
|
||||||
<el-button type="primary" icon="el-icon-search" @click="handleSearch">
|
<el-button type="primary" icon="el-icon-search" @click="handleSearch">
|
||||||
|
@ -77,180 +69,117 @@
|
||||||
</el-form>
|
</el-form>
|
||||||
</template>
|
</template>
|
||||||
<template slot="main-container">
|
<template slot="main-container">
|
||||||
<el-table
|
<el-table v-adaptive="{ bottomOffset: 60 }" v-loading="loading" :data="list" stripe height="100"
|
||||||
v-adaptive="{bottomOffset:60}"
|
@sort-change="handleSortChange">
|
||||||
v-loading="loading"
|
<el-table-column prop="OriginalReReadingTask.IsUrgent" :label="$t('trials:consistencyCheck:table:isUrgent')"
|
||||||
:data="list"
|
show-overflow-tooltip min-width="100" sortable="custom">
|
||||||
stripe
|
|
||||||
height="100"
|
|
||||||
@sort-change="handleSortChange"
|
|
||||||
>
|
|
||||||
<el-table-column
|
|
||||||
prop="OriginalReReadingTask.IsUrgent"
|
|
||||||
:label="$t('trials:consistencyCheck:table:isUrgent')"
|
|
||||||
show-overflow-tooltip
|
|
||||||
min-width="100"
|
|
||||||
sortable="custom"
|
|
||||||
>
|
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-tag v-if="scope.row.OriginalReReadingTask.IsUrgent" type="danger">{{ $fd('YesOrNo', scope.row.OriginalReReadingTask.IsUrgent) }}</el-tag>
|
<el-tag v-if="scope.row.OriginalReReadingTask.IsUrgent" type="danger">{{ $fd('YesOrNo',
|
||||||
|
scope.row.OriginalReReadingTask.IsUrgent) }}</el-tag>
|
||||||
<el-tag v-else type="primary">{{ $fd('YesOrNo', scope.row.OriginalReReadingTask.IsUrgent) }}</el-tag>
|
<el-tag v-else type="primary">{{ $fd('YesOrNo', scope.row.OriginalReReadingTask.IsUrgent) }}</el-tag>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<!-- 任务编号 -->
|
<!-- 任务编号 -->
|
||||||
<el-table-column
|
<el-table-column prop="OriginalReReadingTask.TaskCode" :label="$t('trials:readTask:table:taskCode')"
|
||||||
prop="OriginalReReadingTask.TaskCode"
|
min-width="100" sortable="custom" show-overflow-tooltip />
|
||||||
:label="$t('trials:readTask:table:taskCode')"
|
|
||||||
min-width="100"
|
|
||||||
sortable="custom"
|
|
||||||
show-overflow-tooltip
|
|
||||||
/>
|
|
||||||
<!-- 中心编号 -->
|
<!-- 中心编号 -->
|
||||||
<el-table-column
|
<el-table-column prop="OriginalReReadingTask.TrialSiteCode" :label="$t('trials:readTask:table:siteCode')"
|
||||||
prop="OriginalReReadingTask.TrialSiteCode"
|
min-width="100" sortable="custom" show-overflow-tooltip />
|
||||||
:label="$t('trials:readTask:table:siteCode')"
|
|
||||||
min-width="100"
|
|
||||||
sortable="custom"
|
|
||||||
show-overflow-tooltip
|
|
||||||
/>
|
|
||||||
<!-- 受试者编号 -->
|
<!-- 受试者编号 -->
|
||||||
<el-table-column
|
<el-table-column prop="OriginalReReadingTask.SubjectCode" :label="$t('trials:readTask:table:subjectCode')"
|
||||||
prop="OriginalReReadingTask.SubjectCode"
|
min-width="120" sortable="custom" show-overflow-tooltip />
|
||||||
:label="$t('trials:readTask:table:subjectCode')"
|
|
||||||
min-width="120"
|
|
||||||
sortable="custom"
|
|
||||||
show-overflow-tooltip
|
|
||||||
/>
|
|
||||||
<!-- 访视/阅片期名称 -->
|
<!-- 访视/阅片期名称 -->
|
||||||
<el-table-column
|
<el-table-column prop="OriginalReReadingTask.TaskName"
|
||||||
prop="OriginalReReadingTask.TaskName"
|
:label="$t('trials:reviewAssign:readingTask:table:visitName')" min-width="160" sortable="custom"
|
||||||
:label="$t('trials:reviewAssign:readingTask:table:visitName')"
|
show-overflow-tooltip />
|
||||||
min-width="160"
|
|
||||||
sortable="custom"
|
|
||||||
show-overflow-tooltip
|
|
||||||
/>
|
|
||||||
<!-- 盲态任务标识 -->
|
<!-- 盲态任务标识 -->
|
||||||
<el-table-column
|
<el-table-column prop="OriginalReReadingTask.TaskBlindName"
|
||||||
prop="OriginalReReadingTask.TaskBlindName"
|
:label="$t('trials:reviewAssign:readingTask:table:blindName')" min-width="140" sortable="custom"
|
||||||
:label="$t('trials:reviewAssign:readingTask:table:blindName')"
|
show-overflow-tooltip />
|
||||||
min-width="140"
|
|
||||||
sortable="custom"
|
|
||||||
show-overflow-tooltip
|
|
||||||
/>
|
|
||||||
<!-- 任务创建时间 -->
|
<!-- 任务创建时间 -->
|
||||||
<el-table-column
|
<el-table-column prop="OriginalReReadingTask.CreateTime"
|
||||||
prop="OriginalReReadingTask.CreateTime"
|
:label="$t('trials:reviewAssign:readingTask:table:createTime')" min-width="140" sortable="custom"
|
||||||
:label="$t('trials:reviewAssign:readingTask:table:createTime')"
|
show-overflow-tooltip />
|
||||||
min-width="140"
|
|
||||||
sortable="custom"
|
|
||||||
show-overflow-tooltip
|
|
||||||
/>
|
|
||||||
<!-- 任务状态 -->
|
<!-- 任务状态 -->
|
||||||
<el-table-column
|
<el-table-column prop="OriginalReReadingTask.TaskState"
|
||||||
prop="OriginalReReadingTask.TaskState"
|
:label="$t('trials:reviewAssign:readingTask:table:taskStatus')" min-width="100" sortable="custom"
|
||||||
:label="$t('trials:reviewAssign:readingTask:table:taskStatus')"
|
show-overflow-tooltip>
|
||||||
min-width="100"
|
|
||||||
sortable="custom"
|
|
||||||
show-overflow-tooltip
|
|
||||||
>
|
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-tag v-if="scope.row.OriginalReReadingTask.TaskState === 0" type="primary">{{ $fd('TaskState', scope.row.OriginalReReadingTask.TaskState) }}</el-tag>
|
<el-tag v-if="scope.row.OriginalReReadingTask.TaskState === 0" type="primary">{{ $fd('TaskState',
|
||||||
<el-tag v-if="scope.row.OriginalReReadingTask.TaskState === 1" type="info">{{ $fd('TaskState', scope.row.OriginalReReadingTask.TaskState) }}</el-tag>
|
scope.row.OriginalReReadingTask.TaskState) }}</el-tag>
|
||||||
<el-tag v-if="scope.row.OriginalReReadingTask.TaskState === 3" type="danger">{{ $fd('TaskState', scope.row.OriginalReReadingTask.TaskState) }}</el-tag>
|
<el-tag v-if="scope.row.OriginalReReadingTask.TaskState === 1" type="info">{{ $fd('TaskState',
|
||||||
<el-tag v-if="scope.row.OriginalReReadingTask.TaskState === 4" type="warning">{{ $fd('TaskState', scope.row.OriginalReReadingTask.TaskState) }}</el-tag>
|
scope.row.OriginalReReadingTask.TaskState) }}</el-tag>
|
||||||
<el-tag v-if="scope.row.OriginalReReadingTask.TaskState === 5" type="danger">{{ $fd('TaskState', scope.row.OriginalReReadingTask.TaskState) }}</el-tag>
|
<el-tag v-if="scope.row.OriginalReReadingTask.TaskState === 3" type="danger">{{ $fd('TaskState',
|
||||||
|
scope.row.OriginalReReadingTask.TaskState) }}</el-tag>
|
||||||
|
<el-tag v-if="scope.row.OriginalReReadingTask.TaskState === 4" type="warning">{{ $fd('TaskState',
|
||||||
|
scope.row.OriginalReReadingTask.TaskState) }}</el-tag>
|
||||||
|
<el-tag v-if="scope.row.OriginalReReadingTask.TaskState === 5" type="danger">{{ $fd('TaskState',
|
||||||
|
scope.row.OriginalReReadingTask.TaskState) }}</el-tag>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<!-- 任务类型 -->
|
<!-- 任务类型 -->
|
||||||
<el-table-column
|
<el-table-column prop="OriginalReReadingTask.ReadingCategory"
|
||||||
prop="OriginalReReadingTask.ReadingCategory"
|
:label="$t('trials:reviewAssign:readingTask:table:taskType')" min-width="100" sortable="custom"
|
||||||
:label="$t('trials:reviewAssign:readingTask:table:taskType')"
|
show-overflow-tooltip>
|
||||||
min-width="100"
|
|
||||||
sortable="custom"
|
|
||||||
show-overflow-tooltip
|
|
||||||
>
|
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-tag v-if="scope.row.OriginalReReadingTask.ReadingCategory === 1" type="primary">{{ $fd('ReadingCategory', scope.row.OriginalReReadingTask.ReadingCategory) }}</el-tag>
|
<el-tag v-if="scope.row.OriginalReReadingTask.ReadingCategory === 1" type="primary">{{
|
||||||
<el-tag v-if="scope.row.OriginalReReadingTask.ReadingCategory === 2" type="info">{{ $fd('ReadingCategory', scope.row.OriginalReReadingTask.ReadingCategory) }}</el-tag>
|
$fd('ReadingCategory', scope.row.OriginalReReadingTask.ReadingCategory) }}</el-tag>
|
||||||
<el-tag v-if="scope.row.OriginalReReadingTask.ReadingCategory === 4" type="danger">{{ $fd('ReadingCategory', scope.row.OriginalReReadingTask.ReadingCategory) }}</el-tag>
|
<el-tag v-if="scope.row.OriginalReReadingTask.ReadingCategory === 2" type="info">{{ $fd('ReadingCategory',
|
||||||
<el-tag v-if="scope.row.OriginalReReadingTask.ReadingCategory === 5" type="warning">{{ $fd('ReadingCategory', scope.row.OriginalReReadingTask.ReadingCategory) }}</el-tag>
|
scope.row.OriginalReReadingTask.ReadingCategory) }}</el-tag>
|
||||||
|
<el-tag v-if="scope.row.OriginalReReadingTask.ReadingCategory === 4" type="danger">{{ $fd('ReadingCategory',
|
||||||
|
scope.row.OriginalReReadingTask.ReadingCategory) }}</el-tag>
|
||||||
|
<el-tag v-if="scope.row.OriginalReReadingTask.ReadingCategory === 5" type="warning">{{
|
||||||
|
$fd('ReadingCategory', scope.row.OriginalReReadingTask.ReadingCategory) }}</el-tag>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<!-- 角色 -->
|
<!-- 角色 -->
|
||||||
<el-table-column
|
<el-table-column prop="OriginalReReadingTask.ArmEnum" :label="$t('trials:reviewAssign:readingTask:table:role')"
|
||||||
prop="OriginalReReadingTask.ArmEnum"
|
min-width="80" sortable="custom" show-overflow-tooltip>
|
||||||
:label="$t('trials:reviewAssign:readingTask:table:role')"
|
|
||||||
min-width="80"
|
|
||||||
sortable="custom"
|
|
||||||
show-overflow-tooltip
|
|
||||||
>
|
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-tag v-if="scope.row.OriginalReReadingTask.ArmEnum === 1" type="primary">{{ $fd('ArmEnum', scope.row.OriginalReReadingTask.ArmEnum) }}</el-tag>
|
<el-tag v-if="scope.row.OriginalReReadingTask.ArmEnum === 1" type="primary">{{ $fd('ArmEnum',
|
||||||
<el-tag v-if="scope.row.OriginalReReadingTask.ArmEnum === 2" type="success">{{ $fd('ArmEnum', scope.row.OriginalReReadingTask.ArmEnum) }}</el-tag>
|
scope.row.OriginalReReadingTask.ArmEnum) }}</el-tag>
|
||||||
<el-tag v-if="scope.row.OriginalReReadingTask.ArmEnum === 3" type="info">{{ $fd('ArmEnum', scope.row.OriginalReReadingTask.ArmEnum) }}</el-tag>
|
<el-tag v-if="scope.row.OriginalReReadingTask.ArmEnum === 2" type="success">{{ $fd('ArmEnum',
|
||||||
<el-tag v-if="scope.row.OriginalReReadingTask.ArmEnum === 4" type="danger">{{ $fd('ArmEnum', scope.row.OriginalReReadingTask.ArmEnum) }}</el-tag>
|
scope.row.OriginalReReadingTask.ArmEnum) }}</el-tag>
|
||||||
<el-tag v-if="scope.row.OriginalReReadingTask.ArmEnum === 5" type="warning">{{ $fd('ArmEnum', scope.row.OriginalReReadingTask.ArmEnum) }}</el-tag>
|
<el-tag v-if="scope.row.OriginalReReadingTask.ArmEnum === 3" type="info">{{ $fd('ArmEnum',
|
||||||
|
scope.row.OriginalReReadingTask.ArmEnum) }}</el-tag>
|
||||||
|
<el-tag v-if="scope.row.OriginalReReadingTask.ArmEnum === 4" type="danger">{{ $fd('ArmEnum',
|
||||||
|
scope.row.OriginalReReadingTask.ArmEnum) }}</el-tag>
|
||||||
|
<el-tag v-if="scope.row.OriginalReReadingTask.ArmEnum === 5" type="warning">{{ $fd('ArmEnum',
|
||||||
|
scope.row.OriginalReReadingTask.ArmEnum) }}</el-tag>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<!-- 阅片人 -->
|
<!-- 阅片人 -->
|
||||||
<el-table-column
|
<el-table-column prop="OriginalReReadingTask.UserName"
|
||||||
prop="OriginalReReadingTask.UserName"
|
:label="$t('trials:reviewAssign:readingTask:table:reader')" min-width="100" sortable="custom"
|
||||||
:label="$t('trials:reviewAssign:readingTask:table:reader')"
|
show-overflow-tooltip>
|
||||||
min-width="100"
|
|
||||||
sortable="custom"
|
|
||||||
show-overflow-tooltip
|
|
||||||
>
|
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.OriginalReReadingTask.UserName }}({{ scope.row.OriginalReReadingTask.FullName }})
|
{{ scope.row.OriginalReReadingTask.UserName }}({{ scope.row.OriginalReReadingTask.FullName }})
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<!-- 阅片完成时间 -->
|
<!-- 阅片完成时间 -->
|
||||||
<el-table-column
|
<el-table-column prop="OriginalReReadingTask.SignTime" :label="$t('trials:reviewTrack:table:signTime')"
|
||||||
prop="OriginalReReadingTask.SignTime"
|
min-width="180" sortable="custom" show-overflow-tooltip />
|
||||||
:label="$t('trials:reviewTrack:table:signTime')"
|
|
||||||
min-width="180"
|
|
||||||
sortable="custom"
|
|
||||||
show-overflow-tooltip
|
|
||||||
/>
|
|
||||||
<!-- 重阅申请类型 -->
|
<!-- 重阅申请类型 -->
|
||||||
<el-table-column
|
<el-table-column prop="OriginalReReadingTask.RequestReReadingType"
|
||||||
prop="OriginalReReadingTask.RequestReReadingType"
|
:label="$t('trials:rereadTask:table:requestReReadingType')" min-width="140" sortable="custom"
|
||||||
:label="$t('trials:rereadTask:table:requestReReadingType')"
|
show-overflow-tooltip>
|
||||||
min-width="140"
|
|
||||||
sortable="custom"
|
|
||||||
show-overflow-tooltip
|
|
||||||
>
|
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div v-if="scope.row.RequestReReadingType">
|
<div v-if="scope.row.RequestReReadingType">
|
||||||
<el-tag v-if="scope.row.RequestReReadingType === 2" type="danger">{{ $fd('RequestReReadingType', scope.row.RequestReReadingType) }}</el-tag>
|
<el-tag v-if="scope.row.RequestReReadingType === 2" type="danger">{{ $fd('RequestReReadingType',
|
||||||
|
scope.row.RequestReReadingType) }}</el-tag>
|
||||||
<el-tag v-else type="primary">{{ $fd('RequestReReadingType', scope.row.RequestReReadingType) }}</el-tag>
|
<el-tag v-else type="primary">{{ $fd('RequestReReadingType', scope.row.RequestReReadingType) }}</el-tag>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<!-- 申请时间 -->
|
<!-- 申请时间 -->
|
||||||
<el-table-column
|
<el-table-column prop="RequestReReadingTime" :label="$t('trials:rereadTask:table:requestReReadingTime')"
|
||||||
prop="RequestReReadingTime"
|
min-width="100" sortable="custom" show-overflow-tooltip />
|
||||||
:label="$t('trials:rereadTask:table:requestReReadingTime')"
|
|
||||||
min-width="100"
|
|
||||||
sortable="custom"
|
|
||||||
show-overflow-tooltip
|
|
||||||
/>
|
|
||||||
<!-- 申请原因 -->
|
<!-- 申请原因 -->
|
||||||
<el-table-column
|
<el-table-column prop="RequestReReadingReason" :label="$t('trials:rereadTask:table:requestReReadingReason')"
|
||||||
prop="RequestReReadingReason"
|
min-width="100" sortable="custom" show-overflow-tooltip />
|
||||||
:label="$t('trials:rereadTask:table:requestReReadingReason')"
|
|
||||||
min-width="100"
|
|
||||||
sortable="custom"
|
|
||||||
show-overflow-tooltip
|
|
||||||
/>
|
|
||||||
<!-- 审批结果 -->
|
<!-- 审批结果 -->
|
||||||
<el-table-column
|
<el-table-column prop="AllocateTime" :label="$t('trials:rereadTask:table:requestReReadingResultEnum')"
|
||||||
prop="AllocateTime"
|
min-width="100" sortable="custom" show-overflow-tooltip>
|
||||||
:label="$t('trials:rereadTask:table:requestReReadingResultEnum')"
|
|
||||||
min-width="100"
|
|
||||||
sortable="custom"
|
|
||||||
show-overflow-tooltip
|
|
||||||
>
|
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div v-if="scope.row.RequestReReadingResultEnum || scope.row.RequestReReadingResultEnum === 0">
|
<div v-if="scope.row.RequestReReadingResultEnum || scope.row.RequestReReadingResultEnum === 0">
|
||||||
<el-tooltip v-if="scope.row.RequestReReadingResultEnum === 2" class="item" effect="dark" placement="top">
|
<el-tooltip v-if="scope.row.RequestReReadingResultEnum === 2" class="item" effect="dark" placement="top">
|
||||||
|
@ -259,90 +188,217 @@
|
||||||
</div>
|
</div>
|
||||||
<el-tag type="danger">{{ $fd('RequestReReadingResult', scope.row.RequestReReadingResultEnum) }}</el-tag>
|
<el-tag type="danger">{{ $fd('RequestReReadingResult', scope.row.RequestReReadingResultEnum) }}</el-tag>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
<el-tag v-if="scope.row.RequestReReadingResultEnum === 1" type="primary">{{ $fd('RequestReReadingResult', scope.row.RequestReReadingResultEnum) }}</el-tag>
|
<el-tag v-if="scope.row.RequestReReadingResultEnum === 1" type="primary">{{ $fd('RequestReReadingResult',
|
||||||
<el-tag v-if="scope.row.RequestReReadingResultEnum === 0" type="warning">{{ $fd('RequestReReadingResult', scope.row.RequestReReadingResultEnum) }}</el-tag>
|
scope.row.RequestReReadingResultEnum) }}</el-tag>
|
||||||
|
<el-tag v-if="scope.row.RequestReReadingResultEnum === 0" type="warning">{{ $fd('RequestReReadingResult',
|
||||||
|
scope.row.RequestReReadingResultEnum) }}</el-tag>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<!-- 新任务编号 -->
|
<!-- 新任务编号 -->
|
||||||
<el-table-column
|
<el-table-column prop="ReReadingNewTaskCode" :label="$t('trials:rereadTask:table:reReadingNewTaskCode')"
|
||||||
prop="ReReadingNewTaskCode"
|
min-width="120" sortable="custom" show-overflow-tooltip />
|
||||||
:label="$t('trials:rereadTask:table:reReadingNewTaskCode')"
|
<el-table-column v-if="hasPermi(['role:spm'])" fixed="right" :label="$t('common:action:action')" width="210">
|
||||||
min-width="120"
|
|
||||||
sortable="custom"
|
|
||||||
show-overflow-tooltip
|
|
||||||
/>
|
|
||||||
<el-table-column
|
|
||||||
v-if="hasPermi(['role:spm'])"
|
|
||||||
fixed="right"
|
|
||||||
:label="$t('common:action:action')"
|
|
||||||
width="210"
|
|
||||||
>
|
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<!-- 同意 -->
|
<!-- 同意 -->
|
||||||
<el-button
|
<!-- <el-button :disabled="!!scope.row.RequestReReadingResultEnum || scope.row.RequestReReadingType === 1"
|
||||||
:disabled="!!scope.row.RequestReReadingResultEnum || scope.row.RequestReReadingType === 1"
|
icon="el-icon-check" circle :title="$t('trials:spmAudit:button:agree')"
|
||||||
icon="el-icon-check"
|
@click="openReReadingOrBackList(scope.row, 1)" /> -->
|
||||||
circle
|
|
||||||
:title="$t('trials:spmAudit:button:agree')"
|
|
||||||
@click="openReReadingOrBackList(scope.row,1)"
|
|
||||||
/>
|
|
||||||
<!-- 拒绝 -->
|
<!-- 拒绝 -->
|
||||||
<el-button
|
<!-- <el-button :disabled="!!scope.row.RequestReReadingResultEnum || scope.row.RequestReReadingType === 1"
|
||||||
:disabled="!!scope.row.RequestReReadingResultEnum || scope.row.RequestReReadingType === 1"
|
icon="el-icon-close" circle :title="$t('trials:spmAudit:button:reject')"
|
||||||
icon="el-icon-close"
|
@click="confirmReReading(scope.row, 2, true)" /> -->
|
||||||
circle
|
<el-button :disabled="!!scope.row.RequestReReadingResultEnum ||
|
||||||
:title="$t('trials:spmAudit:button:reject')"
|
scope.row.RequestReReadingType === 1
|
||||||
@click="confirmReReading(scope.row,2, true)"
|
" icon="el-icon-edit-outline" circle :title="$t('trials:spmAudit:table:Approval')"
|
||||||
/>
|
@click="audit(scope.row)" />
|
||||||
<!-- 已影响任务列表 -->
|
<!-- 已影响任务列表 -->
|
||||||
<el-button
|
<el-button :disabled="scope.row.RequestReReadingResultEnum !== 1" icon="el-icon-document-copy" circle
|
||||||
:disabled="scope.row.RequestReReadingResultEnum !== 1"
|
:title="$t('trials:spmAudit:button:influenceList')" @click="getInfluencedTaskList(scope.row)" />
|
||||||
icon="el-icon-document-copy"
|
|
||||||
circle
|
|
||||||
:title="$t('trials:spmAudit:button:influenceList')"
|
|
||||||
@click="getInfluencedTaskList(scope.row)"
|
|
||||||
/>
|
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
<!-- 分页组件 -->
|
<!-- 分页组件 -->
|
||||||
<pagination class="page" :total="total" :page.sync="searchData.PageIndex" :limit.sync="searchData.PageSize" @pagination="getList" />
|
<pagination class="page" :total="total" :page.sync="searchData.PageIndex" :limit.sync="searchData.PageSize"
|
||||||
|
@pagination="getList" />
|
||||||
|
<base-model v-if="config.visible" :config="config">
|
||||||
|
<template slot="dialog-body">
|
||||||
|
<el-form ref="imageBackform" :model="form" class="demo-form-inline" :rules="rules"
|
||||||
|
:label-width="isEN ? '200px' : '150px'">
|
||||||
|
<el-form-item :label="$t('trials:spmAudit:table:Matters')" prop="Matters">
|
||||||
|
<span>{{ rowData.title }}</span>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item :label="$t('trials:spmAudit:form:ApplyReason')" prop="ApplyReason">
|
||||||
|
<span>{{ rowData.RequestReReadingReason }}</span>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item :label="$t('trials:spmAudit:form:IsAgree')" prop="RequestReReadingResultEnum">
|
||||||
|
<el-radio-group v-model="form.RequestReReadingResultEnum">
|
||||||
|
<el-radio :label="1">{{ $t('trials:spmAudit:button:auditYes') }}</el-radio>
|
||||||
|
<el-radio :label="2">{{ $t('trials:spmAudit:button:auditNo') }}</el-radio>
|
||||||
|
</el-radio-group>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item :label="$t('trials:spmAudit:form:ResultRemark')" v-if="form.RequestReReadingResultEnum !== 2"
|
||||||
|
key="1">
|
||||||
|
<el-input type="textarea" :autosize="{ minRows: 2, maxRows: 4 }" placeholder=""
|
||||||
|
v-model="form.RequestReReadingRejectReason">
|
||||||
|
</el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item :label="$t('trials:spmAudit:form:ResultRemark')" prop="RequestReReadingRejectReason" v-else
|
||||||
|
key="2">
|
||||||
|
<el-input type="textarea" :autosize="{ minRows: 2, maxRows: 4 }" placeholder=""
|
||||||
|
v-model="form.RequestReReadingRejectReason">
|
||||||
|
</el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item :label="$t('trials:reviewTrack:dialog:backImpactList')" />
|
||||||
|
<el-table v-loading="loading" :data="InfluenceTaskList" stripe height="100" style="min-height: 400px">
|
||||||
|
<!-- 任务编号 -->
|
||||||
|
<el-table-column prop="TaskCode" :label="$t('trials:reviewTrack:table:taskCode')" min-width="100"
|
||||||
|
show-overflow-tooltip />
|
||||||
|
<!-- 中心编号 -->
|
||||||
|
<el-table-column prop="TrialSiteCode" :label="$t('trials:reviewTrack:table:siteCode')" min-width="100"
|
||||||
|
show-overflow-tooltip />
|
||||||
|
<!-- 受试者编号 -->
|
||||||
|
<el-table-column prop="SubjectCode" :label="$t('trials:reviewTrack:table:subjectCode')" min-width="120"
|
||||||
|
show-overflow-tooltip>
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<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>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<!-- 任务名称 -->
|
||||||
|
<el-table-column prop="VisitTaskNum" :label="$t('trials:reviewTrack:table:taskName')" min-width="120"
|
||||||
|
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:reviewTrack:table:blindName')"
|
||||||
|
min-width="120"
|
||||||
|
show-overflow-tooltip
|
||||||
|
/> -->
|
||||||
|
<!-- 阅片标准 -->
|
||||||
|
<el-table-column prop="TrialReadingCriterionName" :label="$t('trials:reviewTrack:table:criterionName')"
|
||||||
|
min-width="100" show-overflow-tooltip />
|
||||||
|
<!-- 任务状态 -->
|
||||||
|
<el-table-column prop="TaskState" :label="$t('trials:reviewTrack:table:taskStatus')" min-width="100"
|
||||||
|
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="ReadingCategory" min-width="100" :label="$t('trials:reviewTrack:table:taskType')"
|
||||||
|
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="ReadingTaskState" :label="$t('trials:reviewTrack:table:readingStatus')"
|
||||||
|
min-width="100" show-overflow-tooltip>
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<el-tag v-if="scope.row.ReadingTaskState === 2" type="primary">{{
|
||||||
|
$fd('ReadingTaskState', scope.row.ReadingTaskState)
|
||||||
|
}}</el-tag>
|
||||||
|
<el-tag v-else type="danger">{{
|
||||||
|
$fd('ReadingTaskState', scope.row.ReadingTaskState)
|
||||||
|
}}</el-tag>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<!-- 生效后影响 -->
|
||||||
|
<el-table-column prop="OptType" :label="$t('trials:reviewTrack:applyReread:title:postEffectiveImpacts')
|
||||||
|
" min-width="100" show-overflow-tooltip>
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<el-tag v-if="scope.row.OptType === 0" type="primary">{{
|
||||||
|
$fd('ReReadingOrBackOptType', scope.row.OptType)
|
||||||
|
}}</el-tag>
|
||||||
|
<el-tag v-if="scope.row.OptType === 1" type="danger">{{
|
||||||
|
$fd('ReReadingOrBackOptType', scope.row.OptType)
|
||||||
|
}}</el-tag>
|
||||||
|
<el-tag v-if="scope.row.OptType === 2" type="warning">{{
|
||||||
|
$fd('ReReadingOrBackOptType', scope.row.OptType)
|
||||||
|
}}</el-tag>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<!-- 阅片人 -->
|
||||||
|
<el-table-column prop="UserName" :label="$t('trials:reviewTrack:table:reader')" min-width="160"
|
||||||
|
show-overflow-tooltip>
|
||||||
|
<template v-if="scope.row.DoctorUser" slot-scope="scope">
|
||||||
|
{{ scope.row.DoctorUser.UserName }}({{
|
||||||
|
scope.row.DoctorUser.FullName
|
||||||
|
}})
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
</el-table>
|
||||||
|
</el-form>
|
||||||
|
</template>
|
||||||
|
<template slot="dialog-footer">
|
||||||
|
<el-button type="primary" @click="auditImageBack" :loading="loading">
|
||||||
|
{{ $t('common:button:confirm') }}
|
||||||
|
</el-button>
|
||||||
|
<el-button @click="config.visible = false" :loading="loading">
|
||||||
|
{{ $t('common:button:cancel') }}
|
||||||
|
</el-button>
|
||||||
|
</template>
|
||||||
|
</base-model>
|
||||||
<!-- 驳回 +++-->
|
<!-- 驳回 +++-->
|
||||||
<el-dialog
|
<el-dialog v-if="ConfirmReReadingVisible" :title="$t('trials:spmAudit:title:rejected')"
|
||||||
v-if="ConfirmReReadingVisible"
|
:visible.sync="ConfirmReReadingVisible" width="600px" append-to-body :close-on-click-modal="false"
|
||||||
:title="$t('trials:spmAudit:title:rejected')"
|
custom-class="base-dialog-wrapper">
|
||||||
:visible.sync="ConfirmReReadingVisible"
|
|
||||||
width="600px"
|
|
||||||
append-to-body
|
|
||||||
:close-on-click-modal="false"
|
|
||||||
custom-class="base-dialog-wrapper"
|
|
||||||
>
|
|
||||||
<div style="padding:10px;border: 1px solid #e0e0e0;max-height:650px;overflow-y: auto;">
|
<div style="padding:10px;border: 1px solid #e0e0e0;max-height:650px;overflow-y: auto;">
|
||||||
<el-form
|
<el-form ref="reasonForm" :rules="rules" :model="ConfirmReReadingForm" class="demo-ruleForm" size="small"
|
||||||
ref="reasonForm"
|
label-width="120px">
|
||||||
:rules="rules"
|
|
||||||
:model="ConfirmReReadingForm"
|
|
||||||
class="demo-ruleForm"
|
|
||||||
size="small"
|
|
||||||
label-width="120px"
|
|
||||||
>
|
|
||||||
<!-- 驳回原因 -->
|
<!-- 驳回原因 -->
|
||||||
<el-form-item :label="$t('trials:spmAudit:title:rejectedReason')" prop="RequestReReadingRejectReason">
|
<el-form-item :label="$t('trials:spmAudit:title:rejectedReason')" prop="RequestReReadingRejectReason">
|
||||||
<el-input
|
<el-input v-model="ConfirmReReadingForm.RequestReReadingRejectReason" type="textarea"
|
||||||
v-model="ConfirmReReadingForm.RequestReReadingRejectReason"
|
:autosize="{ minRows: 2, maxRows: 4 }" :placeholder="$t('common:ruleMessage:specify')" maxlength="500"
|
||||||
type="textarea"
|
show-word-limit />
|
||||||
:autosize="{ minRows: 2, maxRows: 4}"
|
|
||||||
:placeholder="$t('common:ruleMessage:specify')"
|
|
||||||
maxlength="500"
|
|
||||||
show-word-limit
|
|
||||||
/>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<!-- 取消 -->
|
<!-- 取消 -->
|
||||||
<el-button :disabled="btnLoading" size="small" type="primary" @click="ConfirmReReadingVisible = false;ConfirmReReadingForm = { RequestReReadingRejectReason: null }">
|
<el-button :disabled="btnLoading" size="small" type="primary"
|
||||||
|
@click="ConfirmReReadingVisible = false; ConfirmReReadingForm = { RequestReReadingRejectReason: null }">
|
||||||
{{ $t('common:button:cancel') }}
|
{{ $t('common:button:cancel') }}
|
||||||
</el-button>
|
</el-button>
|
||||||
<!-- 保存 -->
|
<!-- 保存 -->
|
||||||
|
@ -352,130 +408,88 @@
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
<!-- '重阅影响任务列表' : '已影响任务列表'" +++-->
|
<!-- '重阅影响任务列表' : '已影响任务列表'" +++-->
|
||||||
<el-dialog
|
<el-dialog v-if="ReReadingOrBackVisible"
|
||||||
v-if="ReReadingOrBackVisible"
|
|
||||||
:title="opentype === 'read' ? this.$t('trials:spmAudit:title:title1') : this.$t('trials:spmAudit:title:title2')"
|
:title="opentype === 'read' ? this.$t('trials:spmAudit:title:title1') : this.$t('trials:spmAudit:title:title2')"
|
||||||
:visible.sync="ReReadingOrBackVisible"
|
:visible.sync="ReReadingOrBackVisible" width="1460px" append-to-body :close-on-click-modal="false"
|
||||||
width="1460px"
|
custom-class="base-dialog-wrapper">
|
||||||
append-to-body
|
|
||||||
:close-on-click-modal="false"
|
|
||||||
custom-class="base-dialog-wrapper"
|
|
||||||
>
|
|
||||||
<div class="base-dialog-body">
|
<div class="base-dialog-body">
|
||||||
<el-table
|
<el-table v-loading="loading" :data="InfluenceTaskList" stripe height="100" style="min-height: 400px;">
|
||||||
v-loading="loading"
|
|
||||||
:data="InfluenceTaskList"
|
|
||||||
stripe
|
|
||||||
height="100"
|
|
||||||
style="min-height: 400px;"
|
|
||||||
>
|
|
||||||
<!-- 任务编号 -->
|
<!-- 任务编号 -->
|
||||||
<el-table-column
|
<el-table-column prop="TaskCode" :label="$t('trials:readTask:table:taskCode')" min-width="100"
|
||||||
prop="TaskCode"
|
show-overflow-tooltip />
|
||||||
:label="$t('trials:readTask:table:taskCode')"
|
|
||||||
min-width="100"
|
|
||||||
show-overflow-tooltip
|
|
||||||
/>
|
|
||||||
<!-- 中心编号 -->
|
<!-- 中心编号 -->
|
||||||
<el-table-column
|
<el-table-column prop="TrialSiteCode" :label="$t('trials:readTask:table:siteCode')" min-width="100"
|
||||||
prop="TrialSiteCode"
|
show-overflow-tooltip />
|
||||||
:label="$t('trials:readTask:table:siteCode')"
|
|
||||||
min-width="100"
|
|
||||||
show-overflow-tooltip
|
|
||||||
/>
|
|
||||||
<!-- 受试者编号 -->
|
<!-- 受试者编号 -->
|
||||||
<el-table-column
|
<el-table-column prop="SubjectCode" :label="$t('trials:readTask:table:subjectCode')" min-width="120"
|
||||||
prop="SubjectCode"
|
show-overflow-tooltip />
|
||||||
:label="$t('trials:readTask:table:subjectCode')"
|
|
||||||
min-width="120"
|
|
||||||
show-overflow-tooltip
|
|
||||||
/>
|
|
||||||
<!-- 访视/阅片期名称 -->
|
<!-- 访视/阅片期名称 -->
|
||||||
<el-table-column
|
<el-table-column prop="VisitTaskNum" :label="$t('trials:consistencyCheck:table:visitName')" min-width="140"
|
||||||
prop="VisitTaskNum"
|
show-overflow-tooltip>
|
||||||
:label="$t('trials:consistencyCheck:table:visitName')"
|
|
||||||
min-width="140"
|
|
||||||
show-overflow-tooltip
|
|
||||||
>
|
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.TaskName }}
|
{{ scope.row.TaskName }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<!-- 盲态任务标识 -->
|
<!-- 盲态任务标识 -->
|
||||||
<el-table-column
|
<el-table-column prop="TaskBlindName" :label="$t('trials:readTask:table:blindName')" min-width="120"
|
||||||
prop="TaskBlindName"
|
show-overflow-tooltip />
|
||||||
:label="$t('trials:readTask:table:blindName')"
|
|
||||||
min-width="120"
|
|
||||||
show-overflow-tooltip
|
|
||||||
/>
|
|
||||||
<!-- 阅片标准 -->
|
<!-- 阅片标准 -->
|
||||||
<el-table-column
|
<el-table-column prop="TrialReadingCriterionName" :label="$t('trials:readTask:table:criterionName')"
|
||||||
prop="TrialReadingCriterionName"
|
min-width="100" show-overflow-tooltip />
|
||||||
:label="$t('trials:readTask:table:criterionName')"
|
|
||||||
min-width="100"
|
|
||||||
show-overflow-tooltip
|
|
||||||
/>
|
|
||||||
<!-- 任务状态 -->
|
<!-- 任务状态 -->
|
||||||
<el-table-column
|
<el-table-column prop="TaskState" :label="$t('trials:readTask:table:taskState')" min-width="100"
|
||||||
prop="TaskState"
|
show-overflow-tooltip>
|
||||||
:label="$t('trials:readTask:table:taskState')"
|
|
||||||
min-width="100"
|
|
||||||
show-overflow-tooltip
|
|
||||||
>
|
|
||||||
<template slot-scope="scope">
|
<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 === 0" type="primary">{{ $fd('TaskState', scope.row.TaskState)
|
||||||
<el-tag v-if="scope.row.TaskState === 1" type="info">{{ $fd('TaskState', scope.row.TaskState) }}</el-tag>
|
}}</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 === 1" type="info">{{ $fd('TaskState', scope.row.TaskState)
|
||||||
<el-tag v-if="scope.row.TaskState === 4" type="warning">{{ $fd('TaskState', scope.row.TaskState) }}</el-tag>
|
}}</el-tag>
|
||||||
<el-tag v-if="scope.row.TaskState === 5" type="danger">{{ $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>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<!-- 任务类型 -->
|
<!-- 任务类型 -->
|
||||||
<el-table-column
|
<el-table-column prop="ReadingCategory" min-width="100" :label="$t('trials:readTask:table:readingCategory')"
|
||||||
prop="ReadingCategory"
|
show-overflow-tooltip>
|
||||||
min-width="100"
|
|
||||||
:label="$t('trials:readTask:table:readingCategory')"
|
|
||||||
show-overflow-tooltip
|
|
||||||
>
|
|
||||||
<template slot-scope="scope">
|
<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 === 1" type="primary">{{ $fd('ReadingCategory',
|
||||||
<el-tag v-if="scope.row.ReadingCategory === 2" type="info">{{ $fd('ReadingCategory', scope.row.ReadingCategory) }}</el-tag>
|
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 === 2" type="info">{{ $fd('ReadingCategory',
|
||||||
<el-tag v-if="scope.row.ReadingCategory === 5" type="warning">{{ $fd('ReadingCategory', scope.row.ReadingCategory) }}</el-tag>
|
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>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<!-- 阅片状态 -->
|
<!-- 阅片状态 -->
|
||||||
<el-table-column
|
<el-table-column prop="ReadingTaskState" :label="$t('trials:readTask:table:readingTaskState')"
|
||||||
prop="ReadingTaskState"
|
min-width="100" show-overflow-tooltip>
|
||||||
:label="$t('trials:readTask:table:readingTaskState')"
|
|
||||||
min-width="100"
|
|
||||||
show-overflow-tooltip
|
|
||||||
>
|
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-tag v-if="scope.row.ReadingTaskState === 2" type="primary">{{ $fd('ReadingTaskState', scope.row.ReadingTaskState) }}</el-tag>
|
<el-tag v-if="scope.row.ReadingTaskState === 2" type="primary">{{ $fd('ReadingTaskState',
|
||||||
|
scope.row.ReadingTaskState) }}</el-tag>
|
||||||
<el-tag v-else type="danger">{{ $fd('ReadingTaskState', scope.row.ReadingTaskState) }}</el-tag>
|
<el-tag v-else type="danger">{{ $fd('ReadingTaskState', scope.row.ReadingTaskState) }}</el-tag>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<!-- 生效后影响 -->
|
<!-- 生效后影响 -->
|
||||||
<el-table-column
|
<el-table-column prop="OptType" :label="$t('trials:readTask:table:optType')" min-width="100"
|
||||||
prop="OptType"
|
show-overflow-tooltip>
|
||||||
:label="$t('trials:readTask:table:optType')"
|
|
||||||
min-width="100"
|
|
||||||
show-overflow-tooltip
|
|
||||||
>
|
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-tag v-if="scope.row.OptType === 0" type="primary">{{ $fd('ReReadingOrBackOptType', scope.row.OptType) }}</el-tag>
|
<el-tag v-if="scope.row.OptType === 0" type="primary">{{ $fd('ReReadingOrBackOptType',
|
||||||
<el-tag v-if="scope.row.OptType === 1" type="danger">{{ $fd('ReReadingOrBackOptType', scope.row.OptType) }}</el-tag>
|
scope.row.OptType) }}</el-tag>
|
||||||
<el-tag v-if="scope.row.OptType === 2" type="warning">{{ $fd('ReReadingOrBackOptType', scope.row.OptType) }}</el-tag>
|
<el-tag v-if="scope.row.OptType === 1" type="danger">{{ $fd('ReReadingOrBackOptType', scope.row.OptType)
|
||||||
|
}}</el-tag>
|
||||||
|
<el-tag v-if="scope.row.OptType === 2" type="warning">{{ $fd('ReReadingOrBackOptType',
|
||||||
|
scope.row.OptType) }}</el-tag>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<!-- 阅片人 -->
|
<!-- 阅片人 -->
|
||||||
<el-table-column
|
<el-table-column prop="UserName" :label="$t('trials:readTask:table:reader')" min-width="160"
|
||||||
prop="UserName"
|
show-overflow-tooltip>
|
||||||
:label="$t('trials:readTask:table:reader')"
|
|
||||||
min-width="160"
|
|
||||||
show-overflow-tooltip
|
|
||||||
>
|
|
||||||
<template v-if="scope.row.DoctorUser" slot-scope="scope">
|
<template v-if="scope.row.DoctorUser" slot-scope="scope">
|
||||||
{{ scope.row.DoctorUser.UserName }}({{ scope.row.DoctorUser.FullName }})
|
{{ scope.row.DoctorUser.UserName }}({{ scope.row.DoctorUser.FullName }})
|
||||||
</template>
|
</template>
|
||||||
|
@ -493,13 +507,8 @@
|
||||||
</el-button>
|
</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
<el-dialog
|
<el-dialog :destroy-on-close="true" :visible.sync="signVisible" :close-on-click-modal="false" width="600px"
|
||||||
:destroy-on-close="true"
|
custom-class="base-dialog-wrapper">
|
||||||
:visible.sync="signVisible"
|
|
||||||
:close-on-click-modal="false"
|
|
||||||
width="600px"
|
|
||||||
custom-class="base-dialog-wrapper"
|
|
||||||
>
|
|
||||||
<div slot="title">
|
<div slot="title">
|
||||||
<span style="font-size:18px;">{{ $t('common:dialogTitle:sign') }}</span>
|
<span style="font-size:18px;">{{ $t('common:dialogTitle:sign') }}</span>
|
||||||
<span style="font-size:12px;margin-left:5px">{{ `(${$t('common:label:sign')}${currentUser})` }}</span>
|
<span style="font-size:12px;margin-left:5px">{{ `(${$t('common:label:sign')}${currentUser})` }}</span>
|
||||||
|
@ -518,7 +527,7 @@ import { getToken } from '@/utils/auth'
|
||||||
import { changeURLStatic } from '@/utils/history.js'
|
import { changeURLStatic } from '@/utils/history.js'
|
||||||
import const_ from '@/const/sign-code'
|
import const_ from '@/const/sign-code'
|
||||||
import SignForm from '@/views/trials/components/newSignForm'
|
import SignForm from '@/views/trials/components/newSignForm'
|
||||||
|
import baseModel from '@/components/BaseModel'
|
||||||
const searchDataDefault = () => {
|
const searchDataDefault = () => {
|
||||||
return {
|
return {
|
||||||
PageIndex: 1,
|
PageIndex: 1,
|
||||||
|
@ -542,7 +551,7 @@ const searchDataDefault = () => {
|
||||||
}
|
}
|
||||||
export default {
|
export default {
|
||||||
name: 'TrialsNotice',
|
name: 'TrialsNotice',
|
||||||
components: { BaseContainer, Pagination, SignForm },
|
components: { BaseContainer, Pagination, SignForm, baseModel },
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
searchData: searchDataDefault(),
|
searchData: searchDataDefault(),
|
||||||
|
@ -593,8 +602,39 @@ export default {
|
||||||
readVisible: false,
|
readVisible: false,
|
||||||
TaskOptType: null,
|
TaskOptType: null,
|
||||||
OtherInfo: null,
|
OtherInfo: null,
|
||||||
ReadingType: null
|
ReadingType: null,
|
||||||
|
config: {
|
||||||
|
visible: false,
|
||||||
|
title: this.$t("trials:spmAudit:confirmMessage:imageBack"),
|
||||||
|
width: '1000px',
|
||||||
|
appendToBody: true,
|
||||||
|
},
|
||||||
|
form: {
|
||||||
|
RequestReReadingResultEnum: null,
|
||||||
|
RequestReReadingRejectReason: null
|
||||||
|
},
|
||||||
|
rules: {
|
||||||
|
RequestReReadingResultEnum: [
|
||||||
|
{
|
||||||
|
required: true,
|
||||||
|
message: this.$t('common:ruleMessage:select'),
|
||||||
|
trigger: ['blur', 'change'],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
RequestReReadingRejectReason: [
|
||||||
|
{
|
||||||
|
required: true,
|
||||||
|
message: this.$t('common:ruleMessage:specify'),
|
||||||
|
trigger: ['blur', 'change'],
|
||||||
|
},
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
computed: {
|
||||||
|
isEN() {
|
||||||
|
return this.$i18n.locale !== 'zh'
|
||||||
|
},
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
if (this.$route.query.SiteId) {
|
if (this.$route.query.SiteId) {
|
||||||
|
@ -612,6 +652,39 @@ export default {
|
||||||
this.getDoctorUserSelectList()
|
this.getDoctorUserSelectList()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
async auditImageBack() {
|
||||||
|
try {
|
||||||
|
console.log(this.form)
|
||||||
|
let validate = await this.$refs.imageBackform.validate()
|
||||||
|
if (!validate) return false
|
||||||
|
this.confirmSign(this.form.RequestReReadingResultEnum)
|
||||||
|
} catch (err) {
|
||||||
|
console.log(err)
|
||||||
|
}
|
||||||
|
},
|
||||||
|
async audit(row) {
|
||||||
|
try {
|
||||||
|
this.rowData = Object.assign({}, row)
|
||||||
|
this.rowData.title = `${row.ApplicantName} (${this.$fd('RequestReReadingType', row.RequestReReadingType)}) ${this.$t('trials:spmAudit:title:imageBack').replace('xxx', row.OriginalReReadingTask.SubjectCode).replace('yyy', row.OriginalReReadingTask.TaskName)}`
|
||||||
|
Object.keys(this.form).forEach(key => {
|
||||||
|
this.form[key] = null
|
||||||
|
})
|
||||||
|
this.loading = true
|
||||||
|
let res = await getReReadingOrBackInfluenceTaskList(
|
||||||
|
row.OriginalReReadingTaskId,
|
||||||
|
true,
|
||||||
|
row.Id
|
||||||
|
)
|
||||||
|
if (res.IsSuccess) {
|
||||||
|
this.InfluenceTaskList = res.Result
|
||||||
|
this.config.visible = true
|
||||||
|
this.loading = false
|
||||||
|
}
|
||||||
|
} catch (err) {
|
||||||
|
this.loading = false
|
||||||
|
console.log(err)
|
||||||
|
}
|
||||||
|
},
|
||||||
getInfluencedTaskList(row) {
|
getInfluencedTaskList(row) {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
this.opentype = 'look'
|
this.opentype = 'look'
|
||||||
|
@ -663,7 +736,7 @@ export default {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (type === 2) {
|
if (type === 2) {
|
||||||
this.$refs.reasonForm.validate((valid) => {
|
this.$refs.imageBackform.validate((valid) => {
|
||||||
if (!valid) return
|
if (!valid) return
|
||||||
var params = {
|
var params = {
|
||||||
data: {
|
data: {
|
||||||
|
@ -675,7 +748,7 @@ export default {
|
||||||
NewReReadingTaskId: row.NewReReadingTaskId
|
NewReReadingTaskId: row.NewReReadingTaskId
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
RequestReReadingRejectReason: this.ConfirmReReadingForm.RequestReReadingRejectReason,
|
RequestReReadingRejectReason: this.form.RequestReReadingRejectReason,
|
||||||
TrialId: this.$route.query.trialId,
|
TrialId: this.$route.query.trialId,
|
||||||
RequestReReadingResultEnum: type
|
RequestReReadingResultEnum: type
|
||||||
},
|
},
|
||||||
|
@ -688,7 +761,7 @@ export default {
|
||||||
this.btnLoading = false
|
this.btnLoading = false
|
||||||
this.$message.success(`${type === 1 ? this.$t('trials:spmAudit:title:title4') : this.$t('trials:spmAudit:title:title5')}`)
|
this.$message.success(`${type === 1 ? this.$t('trials:spmAudit:title:title4') : this.$t('trials:spmAudit:title:title5')}`)
|
||||||
this.getList()
|
this.getList()
|
||||||
this.ConfirmReReadingVisible = false
|
this.config.visible = false
|
||||||
this.$refs['signForm'].btnLoading = false
|
this.$refs['signForm'].btnLoading = false
|
||||||
this.signVisible = false
|
this.signVisible = false
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
|
@ -720,7 +793,7 @@ export default {
|
||||||
this.loading = false
|
this.loading = false
|
||||||
this.btnLoading = false
|
this.btnLoading = false
|
||||||
this.$message.success(`${type === 1 ? this.$t('trials:spmAudit:title:title4') : this.$t('trials:spmAudit:title:title5')}`)
|
this.$message.success(`${type === 1 ? this.$t('trials:spmAudit:title:title4') : this.$t('trials:spmAudit:title:title5')}`)
|
||||||
this.ReReadingOrBackVisible = false
|
this.config.visible = false
|
||||||
this.$refs['signForm'].btnLoading = false
|
this.$refs['signForm'].btnLoading = false
|
||||||
this.signVisible = false
|
this.signVisible = false
|
||||||
this.getList()
|
this.getList()
|
||||||
|
@ -790,6 +863,7 @@ export default {
|
||||||
::v-deep .hidden-row {
|
::v-deep .hidden-row {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
::v-deep .el-dialog__body {
|
::v-deep .el-dialog__body {
|
||||||
padding: 15px 20px;
|
padding: 15px 20px;
|
||||||
}
|
}
|
||||||
|
@ -799,9 +873,11 @@ export default {
|
||||||
border-color: none !important;
|
border-color: none !important;
|
||||||
// color: #fff!important;
|
// color: #fff!important;
|
||||||
}
|
}
|
||||||
|
|
||||||
::v-deep #TaskAllocationRuleList thead .el-checkbox__inner {
|
::v-deep #TaskAllocationRuleList thead .el-checkbox__inner {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
::v-deep .el-descriptions-item__label.has-colon:after {
|
::v-deep .el-descriptions-item__label.has-colon:after {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -11,12 +11,8 @@
|
||||||
<!-- 中心 -->
|
<!-- 中心 -->
|
||||||
<el-form-item :label="$t('trials:auditRecord:table:siteNo')">
|
<el-form-item :label="$t('trials:auditRecord:table:siteNo')">
|
||||||
<el-select v-model="searchData.TrialSiteId" clearable filterable>
|
<el-select v-model="searchData.TrialSiteId" clearable filterable>
|
||||||
<el-option
|
<el-option v-for="(item, index) of siteOptions" :key="index" :label="item.TrialSiteCode"
|
||||||
v-for="(item,index) of siteOptions"
|
:value="item.TrialSiteId" />
|
||||||
:key="index"
|
|
||||||
:label="item.TrialSiteCode"
|
|
||||||
:value="item.TrialSiteId"
|
|
||||||
/>
|
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 受试者 -->
|
<!-- 受试者 -->
|
||||||
|
@ -25,22 +21,10 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 访视 -->
|
<!-- 访视 -->
|
||||||
<el-form-item :label="$t('trials:auditRecord:table:visit')">
|
<el-form-item :label="$t('trials:auditRecord:table:visit')">
|
||||||
<el-select
|
<el-select v-model="searchData.VisitPlanInfo" clearable filterable>
|
||||||
v-model="searchData.VisitPlanInfo"
|
<el-option v-for="(item, index) of visitPlanOptions" :key="index" :label="item.VisitName"
|
||||||
clearable
|
:value="item.VisitNum" />
|
||||||
filterable
|
<el-option key="Other" label="Out of Plan" value="1.11" />
|
||||||
>
|
|
||||||
<el-option
|
|
||||||
v-for="(item, index) of visitPlanOptions"
|
|
||||||
:key="index"
|
|
||||||
:label="item.VisitName"
|
|
||||||
:value="item.VisitNum"
|
|
||||||
/>
|
|
||||||
<el-option
|
|
||||||
key="Other"
|
|
||||||
label="Out of Plan"
|
|
||||||
value="1.11"
|
|
||||||
/>
|
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 任务名称 -->
|
<!-- 任务名称 -->
|
||||||
|
@ -50,20 +34,18 @@
|
||||||
<!-- 阅片标准 -->
|
<!-- 阅片标准 -->
|
||||||
<el-form-item :label="$t('trials:auditRecord:table:criterion')">
|
<el-form-item :label="$t('trials:auditRecord:table:criterion')">
|
||||||
<el-select v-model="searchData.TrialReadingCriterionId" clearable filterable>
|
<el-select v-model="searchData.TrialReadingCriterionId" clearable filterable>
|
||||||
<el-option
|
<el-option v-for="(item, index) of trialCriterionList" :key="index"
|
||||||
v-for="(item,index) of trialCriterionList"
|
:label="item.TrialReadingCriterionName" :value="item.TrialReadingCriterionId" />
|
||||||
:key="index"
|
|
||||||
:label="item.TrialReadingCriterionName"
|
|
||||||
:value="item.TrialReadingCriterionId"
|
|
||||||
/>
|
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<!-- 功能模块 -->
|
<!-- 功能模块 -->
|
||||||
<el-form-item :label="$t('trials:auditRecord:table:funcModule')">
|
<el-form-item :label="$t('trials:auditRecord:table:funcModule')">
|
||||||
<el-select v-model="searchData.ModuleType" style="width:120px" filterable clearable @change="getModuleTypeDescriptionList">
|
<el-select v-model="searchData.ModuleType" style="width:120px" filterable clearable
|
||||||
<el-option v-for="item of $d.ModuleType" :value="item.id" :label="item.label" :key="`ModuleType${item.value}`"/>
|
@change="getModuleTypeDescriptionList">
|
||||||
|
<el-option v-for="item of moduleTypeList" :value="item.DictionaryId" :label="item.DictionaryValue"
|
||||||
|
:key="`ModuleType${item.DictionaryValue}`" />
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 操作名 -->
|
<!-- 操作名 -->
|
||||||
|
@ -75,7 +57,8 @@
|
||||||
<!-- 是否签名 -->
|
<!-- 是否签名 -->
|
||||||
<el-form-item :label="$t('trials:auditRecord:table:isSign')">
|
<el-form-item :label="$t('trials:auditRecord:table:isSign')">
|
||||||
<el-select v-model="searchData.IsSign" style="width:120px" clearable>
|
<el-select v-model="searchData.IsSign" style="width:120px" clearable>
|
||||||
<el-option v-for="item of $d.YesOrNo" v-show="item.raw.ValueCN !== '无'" :label="item.label" :value="item.value" :key="`IsSign${item.value}`"/>
|
<el-option v-for="item of $d.YesOrNo" v-show="item.raw.ValueCN !== '无'" :label="item.label"
|
||||||
|
:value="item.value" :key="`IsSign${item.value}`" />
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 操作人 -->
|
<!-- 操作人 -->
|
||||||
|
@ -85,19 +68,16 @@
|
||||||
<!-- 角色 -->
|
<!-- 角色 -->
|
||||||
<el-form-item :label="$t('trials:auditRecord:table:role')">
|
<el-form-item :label="$t('trials:auditRecord:table:role')">
|
||||||
<el-select v-model="searchData.RoleName" style="width:120px" clearable>
|
<el-select v-model="searchData.RoleName" style="width:120px" clearable>
|
||||||
<el-option v-for="item of $d.UserType" :label="item.label" :value="item.label" :key="`RoleName${item.value}`"/>
|
<el-option v-for="item of $d.UserType" :label="item.label" :value="item.label"
|
||||||
|
:key="`RoleName${item.value}`" />
|
||||||
</el-select>
|
</el-select>
|
||||||
<!-- <el-input v-model="searchData.RoleName" clearable/>-->
|
<!-- <el-input v-model="searchData.RoleName" clearable/>-->
|
||||||
<!-- RoleName-->
|
<!-- RoleName-->
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 操作时间 -->
|
<!-- 操作时间 -->
|
||||||
<el-form-item :label="$t('trials:auditRecord:table:operateTime')">
|
<el-form-item :label="$t('trials:auditRecord:table:operateTime')">
|
||||||
<el-date-picker
|
<el-date-picker v-model="timeList" @change="changeTimeList" value-format="yyyy-MM-dd HH:mm:ss"
|
||||||
v-model="timeList"
|
:default-time="['00:00:00', '23:59:59']" type="datetimerange">
|
||||||
@change="changeTimeList"
|
|
||||||
value-format="yyyy-MM-dd HH:mm:ss"
|
|
||||||
:default-time="['00:00:00', '23:59:59']"
|
|
||||||
type="datetimerange">
|
|
||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!--<el-form-item label="阅片人: ">-->
|
<!--<el-form-item label="阅片人: ">-->
|
||||||
|
@ -108,69 +88,34 @@
|
||||||
|
|
||||||
|
|
||||||
<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-search" @click="handleSearch"> {{ $t('common:button:search')
|
||||||
<el-button type="primary" icon="el-icon-refresh-left" @click="handleReset"> {{ $t('common:button:reset') }}</el-button>
|
}}</el-button>
|
||||||
|
<el-button type="primary" icon="el-icon-refresh-left" @click="handleReset"> {{ $t('common:button:reset')
|
||||||
|
}}</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</el-form>
|
</el-form>
|
||||||
</template>
|
</template>
|
||||||
<template slot="main-container">
|
<template slot="main-container">
|
||||||
<el-table
|
<el-table v-adaptive="{ bottomOffset: 60 }" v-loading="loading" :data="list" @sort-change="handleSortChange"
|
||||||
v-adaptive="{bottomOffset:60}"
|
stripe height="100" :default-sort="{ prop: 'CreateTime', order: 'descending' }">
|
||||||
v-loading="loading"
|
|
||||||
:data="list"
|
|
||||||
@sort-change="handleSortChange"
|
|
||||||
stripe
|
|
||||||
height="100"
|
|
||||||
:default-sort ="{prop: 'CreateTime', order: 'descending'}"
|
|
||||||
>
|
|
||||||
<el-table-column type="index" width="40" fixed="left" align="left" />
|
<el-table-column type="index" width="40" fixed="left" align="left" />
|
||||||
<!-- 研究方案号 -->
|
<!-- 研究方案号 -->
|
||||||
<el-table-column
|
<el-table-column prop="ResearchProgramNo" width="120" :label="$t('trials:auditRecord:table:researchNo')"
|
||||||
prop="ResearchProgramNo"
|
fixed="left" show-overflow-tooltip sortable="custom" />
|
||||||
width="120"
|
|
||||||
:label="$t('trials:auditRecord:table:researchNo')"
|
|
||||||
fixed="left"
|
|
||||||
show-overflow-tooltip
|
|
||||||
sortable="custom"
|
|
||||||
/>
|
|
||||||
<!-- 中心编号 -->
|
<!-- 中心编号 -->
|
||||||
<el-table-column
|
<el-table-column prop="SiteCode" min-width="100" :label="$t('trials:auditRecord:table:siteNo')" fixed="left"
|
||||||
prop="SiteCode"
|
show-overflow-tooltip sortable="custom" />
|
||||||
min-width="100"
|
|
||||||
:label="$t('trials:auditRecord:table:siteNo')"
|
|
||||||
fixed="left"
|
|
||||||
show-overflow-tooltip
|
|
||||||
sortable="custom"
|
|
||||||
/>
|
|
||||||
<!-- 受试者 -->
|
<!-- 受试者 -->
|
||||||
<el-table-column
|
<el-table-column prop="SubjectCode" min-width="100" :label="$t('trials:auditRecord:table:subject')" fixed="left"
|
||||||
prop="SubjectCode"
|
show-overflow-tooltip sortable="custom" />
|
||||||
min-width="100"
|
|
||||||
:label="$t('trials:auditRecord:table:subject')"
|
|
||||||
fixed="left"
|
|
||||||
show-overflow-tooltip
|
|
||||||
sortable="custom"
|
|
||||||
/>
|
|
||||||
<!-- 访视 -->
|
<!-- 访视 -->
|
||||||
<el-table-column
|
<el-table-column prop="VisitName" min-width="120" :label="$t('trials:auditRecord:table:visit')" fixed="left"
|
||||||
prop="VisitName"
|
show-overflow-tooltip sortable="custom" />
|
||||||
min-width="120"
|
|
||||||
:label="$t('trials:auditRecord:table:visit')"
|
|
||||||
fixed="left"
|
|
||||||
show-overflow-tooltip
|
|
||||||
sortable="custom"
|
|
||||||
/>
|
|
||||||
<!-- 任务名称 -->
|
<!-- 任务名称 -->
|
||||||
<el-table-column
|
<el-table-column prop="TaskName" min-width="130" :label="$t('trials:auditRecord:table:taskName')" fixed="left"
|
||||||
prop="TaskName"
|
show-overflow-tooltip sortable="custom">
|
||||||
min-width="130"
|
|
||||||
:label="$t('trials:auditRecord:table:taskName')"
|
|
||||||
fixed="left"
|
|
||||||
show-overflow-tooltip
|
|
||||||
sortable="custom"
|
|
||||||
>
|
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span v-if="scope.row.BlindName && scope.row.TaskName !== scope.row.BlindName">
|
<span v-if="scope.row.BlindName && scope.row.TaskName !== scope.row.BlindName">
|
||||||
{{ `${scope.row.TaskName}/${scope.row.BlindName}` }}
|
{{ `${scope.row.TaskName}/${scope.row.BlindName}` }}
|
||||||
|
@ -188,53 +133,28 @@
|
||||||
sortable="custom"
|
sortable="custom"
|
||||||
/> -->
|
/> -->
|
||||||
<!-- 阅片标准 -->
|
<!-- 阅片标准 -->
|
||||||
<el-table-column
|
<el-table-column prop="TrialReadingCriterionName" min-width="100"
|
||||||
prop="TrialReadingCriterionName"
|
:label="$t('trials:auditRecord:table:criterion')" show-overflow-tooltip />
|
||||||
min-width="100"
|
|
||||||
:label="$t('trials:auditRecord:table:criterion')"
|
|
||||||
show-overflow-tooltip
|
|
||||||
/>
|
|
||||||
<!-- 功能模块 -->
|
<!-- 功能模块 -->
|
||||||
<el-table-column
|
<el-table-column prop="ModuleTypeName" width="160" :label="$t('trials:auditRecord:table:funcModule')"
|
||||||
prop="ModuleTypeName"
|
show-overflow-tooltip sortable="custom">
|
||||||
width="160"
|
|
||||||
:label="$t('trials:auditRecord:table:funcModule')"
|
|
||||||
show-overflow-tooltip
|
|
||||||
sortable="custom"
|
|
||||||
>
|
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ $fd('ModuleType', scope.row.ModuleTypeId, 'id') }}
|
{{ $fd('ModuleType', scope.row.ModuleTypeId, 'id') }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<!-- 操作名 -->
|
<!-- 操作名 -->
|
||||||
<el-table-column
|
<el-table-column prop="Description" width="160" :label="$t('trials:auditRecord:table:operationName')"
|
||||||
prop="Description"
|
show-overflow-tooltip sortable="custom">
|
||||||
width="160"
|
|
||||||
:label="$t('trials:auditRecord:table:operationName')"
|
|
||||||
show-overflow-tooltip
|
|
||||||
sortable="custom"
|
|
||||||
>
|
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ $i18n.locale === 'zh' ? scope.row.DescriptionCN : scope.row.Description }}
|
{{ $i18n.locale === 'zh' ? scope.row.DescriptionCN : scope.row.Description }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<!-- 修改原因 -->
|
<!-- 修改原因 -->
|
||||||
<el-table-column
|
<el-table-column prop="Reason" min-width="100" :label="$t('trials:auditRecord:table:modifyReason')"
|
||||||
prop="Reason"
|
show-overflow-tooltip sortable="custom" />
|
||||||
min-width="100"
|
|
||||||
:label="$t('trials:auditRecord:table:modifyReason')"
|
|
||||||
show-overflow-tooltip
|
|
||||||
sortable="custom"
|
|
||||||
/>
|
|
||||||
<!-- 是否电签 -->
|
<!-- 是否电签 -->
|
||||||
<el-table-column
|
<el-table-column prop="IsSign" min-width="120" align="center" :label="$t('trials:auditRecord:table:isSign')"
|
||||||
prop="IsSign"
|
show-overflow-tooltip sortable="custom">
|
||||||
min-width="120"
|
|
||||||
align="center"
|
|
||||||
:label="$t('trials:auditRecord:table:isSign')"
|
|
||||||
show-overflow-tooltip
|
|
||||||
sortable="custom"
|
|
||||||
>
|
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div>
|
<div>
|
||||||
<el-tooltip v-if="scope.row.IsSign" class="item" effect="dark" placement="top">
|
<el-tooltip v-if="scope.row.IsSign" class="item" effect="dark" placement="top">
|
||||||
|
@ -248,13 +168,8 @@
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<!-- 操作人 -->
|
<!-- 操作人 -->
|
||||||
<el-table-column
|
<el-table-column prop="CreateUserRealName" min-width="120" :label="$t('trials:auditRecord:table:operator')"
|
||||||
prop="CreateUserRealName"
|
show-overflow-tooltip sortable="custom">
|
||||||
min-width="120"
|
|
||||||
:label="$t('trials:auditRecord:table:operator')"
|
|
||||||
show-overflow-tooltip
|
|
||||||
sortable="custom"
|
|
||||||
>
|
|
||||||
<!-- <template slot-scope="scope">
|
<!-- <template slot-scope="scope">
|
||||||
<div>
|
<div>
|
||||||
{{ scope.row.UserLastName }}/{{ scope.row.UserFirstName }}
|
{{ scope.row.UserLastName }}/{{ scope.row.UserFirstName }}
|
||||||
|
@ -262,43 +177,17 @@
|
||||||
</template> -->
|
</template> -->
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<!-- 用户名 -->
|
<!-- 用户名 -->
|
||||||
<el-table-column
|
<el-table-column prop="CreateUserName" min-width="120" :label="$t('trials:auditRecord:table:userName')"
|
||||||
prop="CreateUserName"
|
show-overflow-tooltip sortable="custom" />
|
||||||
min-width="120"
|
|
||||||
:label="$t('trials:auditRecord:table:userName')"
|
|
||||||
show-overflow-tooltip
|
|
||||||
sortable="custom"
|
|
||||||
/>
|
|
||||||
<!-- 角色 -->
|
<!-- 角色 -->
|
||||||
<el-table-column
|
<el-table-column prop="RoleName" min-width="100" :label="$t('trials:auditRecord:table:role')"
|
||||||
prop="RoleName"
|
show-overflow-tooltip sortable="custom" />
|
||||||
min-width="100"
|
|
||||||
:label="$t('trials:auditRecord:table:role')"
|
|
||||||
show-overflow-tooltip
|
|
||||||
sortable="custom"
|
|
||||||
/>
|
|
||||||
<!-- 操作时间 -->
|
<!-- 操作时间 -->
|
||||||
<el-table-column
|
<el-table-column prop="CreateTime" min-width="160" :label="$t('trials:auditRecord:table:operateTime')"
|
||||||
prop="CreateTime"
|
show-overflow-tooltip sortable="custom" />
|
||||||
min-width="160"
|
<el-table-column prop="IP" min-width="100" label="IP" show-overflow-tooltip sortable="custom" />
|
||||||
:label="$t('trials:auditRecord:table:operateTime')"
|
<el-table-column prop="" min-width="150" fixed="right" :label="$t('common:action:action')"
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip>
|
||||||
sortable="custom"
|
|
||||||
/>
|
|
||||||
<el-table-column
|
|
||||||
prop="IP"
|
|
||||||
min-width="100"
|
|
||||||
label="IP"
|
|
||||||
show-overflow-tooltip
|
|
||||||
sortable="custom"
|
|
||||||
/>
|
|
||||||
<el-table-column
|
|
||||||
prop=""
|
|
||||||
min-width="150"
|
|
||||||
fixed="right"
|
|
||||||
:label="$t('common:action:action')"
|
|
||||||
show-overflow-tooltip
|
|
||||||
>
|
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<!-- 详情 -->
|
<!-- 详情 -->
|
||||||
<el-button type="text" @click="lookDetails(scope.row)">
|
<el-button type="text" @click="lookDetails(scope.row)">
|
||||||
|
@ -308,52 +197,51 @@
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
<!-- 分页组件 -->
|
<!-- 分页组件 -->
|
||||||
<pagination class="page" :total="total" :page.sync="searchData.PageIndex" :limit.sync="searchData.PageSize" @pagination="getList" />
|
<pagination class="page" :total="total" :page.sync="searchData.PageIndex" :limit.sync="searchData.PageSize"
|
||||||
|
@pagination="getList" />
|
||||||
<base-model :config="model_cfg">
|
<base-model :config="model_cfg">
|
||||||
<template slot="dialog-body">
|
<template slot="dialog-body">
|
||||||
<div style="display: flex;align-items: center;justify-content: flex-start;">
|
<div style="display: flex;align-items: center;justify-content: flex-start;">
|
||||||
<!-- 同一对象历史操作 -->
|
<!-- 同一对象历史操作 -->
|
||||||
<el-button size="small" style="position: relative;top: -15px;" type="primary" @click="lookAssociated(1)">{{$t('trials:auditRecord:title:historicalOperations')}}</el-button>
|
<el-button size="small" style="position: relative;top: -15px;" type="primary" @click="lookAssociated(1)">{{
|
||||||
|
$t('trials:auditRecord:title:historicalOperations') }}</el-button>
|
||||||
<!-- 同一对象关联操作 -->
|
<!-- 同一对象关联操作 -->
|
||||||
<el-button size="small" style="position: relative;top: -15px;" type="primary" @click="lookAssociated(0)">{{$t('trials:auditRecord:title:relationOperations')}}</el-button>
|
<el-button size="small" style="position: relative;top: -15px;" type="primary" @click="lookAssociated(0)">{{
|
||||||
|
$t('trials:auditRecord:title:relationOperations') }}</el-button>
|
||||||
</div>
|
</div>
|
||||||
<el-table
|
<el-table v-if="auditData.length > 0" :data="auditData" border style="width: 100%" size="small"
|
||||||
v-if="auditData.length > 0"
|
max-height="400">
|
||||||
:data="auditData"
|
|
||||||
border
|
|
||||||
style="width: 100%"
|
|
||||||
size="small"
|
|
||||||
max-height="400"
|
|
||||||
>
|
|
||||||
<!-- 字段名 -->
|
<!-- 字段名 -->
|
||||||
<el-table-column
|
<el-table-column prop="Enum" :label="$t('trials:auditRecord:title:fieldName')" show-overflow-tooltip />
|
||||||
prop="Enum"
|
|
||||||
:label="$t('trials:auditRecord:title:fieldName')"
|
|
||||||
show-overflow-tooltip
|
|
||||||
/>
|
|
||||||
<!-- OptType === 'Add' ? '值' : OptType === 'Delete' ? '删除前' : '修改前' -->
|
<!-- OptType === 'Add' ? '值' : OptType === 'Delete' ? '删除前' : '修改前' -->
|
||||||
<el-table-column
|
<el-table-column v-if="OptType !== 'Add' && OptType !== 'Upload' && OptType !== 'Init'" prop="oldValue"
|
||||||
v-if="OptType !== 'Add' && OptType !== 'Upload' && OptType !== 'Init'"
|
|
||||||
prop="oldValue"
|
|
||||||
:label="OptType === 'Add' ? $t('trials:auditRecord:title:fieldValue') : OptType === 'Delete' ? $t('trials:auditRecord:title:beforeDeletion') : $t('trials:auditRecord:title:beforeModification')"
|
:label="OptType === 'Add' ? $t('trials:auditRecord:title:fieldValue') : OptType === 'Delete' ? $t('trials:auditRecord:title:beforeDeletion') : $t('trials:auditRecord:title:beforeModification')"
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip>
|
||||||
>
|
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>
|
<span>
|
||||||
<!-- 查看详情 -->
|
<!-- 查看详情 -->
|
||||||
<a v-if="scope.row.DataType === 'OSS' && scope.row.oldValue && scope.row.oldValue !== '--'" target="_blank" :href="OSSclientConfig.basePath + scope.row.oldValue" style="color:#409eff;">
|
<a v-if="scope.row.DataType === 'OSS' && scope.row.oldValue && scope.row.oldValue !== '--'"
|
||||||
|
target="_blank" :href="OSSclientConfig.basePath + scope.row.oldValue" style="color:#409eff;">
|
||||||
{{ $t('common:button:download') }}
|
{{ $t('common:button:download') }}
|
||||||
</a>
|
</a>
|
||||||
<a v-else-if="(scope.row.DataType === 'Link' || scope.row.DataType === 'Router') && scope.row.oldValue && scope.row.oldValue !== '--'" target="_blank" :href="scope.row.oldValue" style="color:#409eff;">
|
<a v-else-if="(scope.row.DataType === 'Link' || scope.row.DataType === 'Router') && scope.row.oldValue && scope.row.oldValue !== '--'"
|
||||||
|
target="_blank" :href="scope.row.oldValue" style="color:#409eff;">
|
||||||
{{ $t('trials:auditRecord:title:viewDetail') }}
|
{{ $t('trials:auditRecord:title:viewDetail') }}
|
||||||
</a>
|
</a>
|
||||||
<viewer v-else-if="(scope.row.DataType === 'Image' || scope.row.DataType === 'ImageList') && scope.row.oldValue && scope.row.oldValue !== '--'" :ref="`${scope.row.oldValue instanceof Array ? scope.row.oldValue[0] : scope.row.oldValue}_modelCfg`" :images="imagesList">
|
<viewer
|
||||||
|
v-else-if="(scope.row.DataType === 'Image' || scope.row.DataType === 'ImageList') && scope.row.oldValue && scope.row.oldValue !== '--'"
|
||||||
|
:ref="`${scope.row.oldValue instanceof Array ? scope.row.oldValue[0] : scope.row.oldValue}_modelCfg`"
|
||||||
|
:images="imagesList">
|
||||||
<!-- 查看图片 -->
|
<!-- 查看图片 -->
|
||||||
<span style="color:#409eff;cursor: pointer" @click="openImage(scope.row.oldValue, 'modelCfg')">{{$t('trials:auditRecord:title:viewImage')}}{{scope.row.oldValue instanceof Array ? `(${scope.row.oldValue.length})` : ''}}</span>
|
<span style="color:#409eff;cursor: pointer" @click="openImage(scope.row.oldValue, 'modelCfg')">{{
|
||||||
|
$t('trials:auditRecord:title:viewImage') }}{{ scope.row.oldValue
|
||||||
|
instanceof Array ? `(${scope.row.oldValue.length})` : '' }}</span>
|
||||||
<template v-for="item of scope.row.oldValue">
|
<template v-for="item of scope.row.oldValue">
|
||||||
<img v-if="scope.row.DataType === 'ImageList'" :key="item" :src="OSSclientConfig.basePath + item" v-show="false" crossorigin="anonymous" alt="">
|
<img v-if="scope.row.DataType === 'ImageList'" :key="item" :src="OSSclientConfig.basePath + item"
|
||||||
|
v-show="false" crossorigin="anonymous" alt="">
|
||||||
</template>
|
</template>
|
||||||
<img v-if="scope.row.DataType === 'Image'" :src="OSSclientConfig.basePath + scope.row.oldValue" v-show="false" crossorigin="anonymous" alt="">
|
<img v-if="scope.row.DataType === 'Image'" :src="OSSclientConfig.basePath + scope.row.oldValue"
|
||||||
|
v-show="false" crossorigin="anonymous" alt="">
|
||||||
</viewer>
|
</viewer>
|
||||||
<div v-else-if="scope.row.DataType === 'Dialog'" v-html="scope.row.oldValue"></div>
|
<div v-else-if="scope.row.DataType === 'Dialog'" v-html="scope.row.oldValue"></div>
|
||||||
<span v-else>
|
<span v-else>
|
||||||
|
@ -364,27 +252,34 @@
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<!-- OptType === 'Add' || OptType === 'Init' ? '值' : OptType === 'Delete' ? '删除后' : '修改后' -->
|
<!-- OptType === 'Add' || OptType === 'Init' ? '值' : OptType === 'Delete' ? '删除后' : '修改后' -->
|
||||||
<el-table-column
|
<el-table-column prop="newValue"
|
||||||
prop="newValue"
|
|
||||||
:label="OptType === 'Add' || OptType === 'Init' ? $t('trials:auditRecord:title:fieldValue') : OptType === 'Delete' ? $t('trials:auditRecord:title:afterDeletion') : $t('trials:auditRecord:title:afterModification')"
|
:label="OptType === 'Add' || OptType === 'Init' ? $t('trials:auditRecord:title:fieldValue') : OptType === 'Delete' ? $t('trials:auditRecord:title:afterDeletion') : $t('trials:auditRecord:title:afterModification')"
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip>
|
||||||
>
|
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span :style="{ color: scope.row.newValue !== scope.row.oldValue ? '#f66' : null }">
|
<span :style="{ color: scope.row.newValue !== scope.row.oldValue ? '#f66' : null }">
|
||||||
<!-- 查看详情 -->
|
<!-- 查看详情 -->
|
||||||
<a v-if="scope.row.DataType === 'OSS' && scope.row.newValue && scope.row.newValue !== '--'" target="_blank" :href="OSSclientConfig.basePath + scope.row.newValue" style="color:#409eff;">
|
<a v-if="scope.row.DataType === 'OSS' && scope.row.newValue && scope.row.newValue !== '--'"
|
||||||
|
target="_blank" :href="OSSclientConfig.basePath + scope.row.newValue" style="color:#409eff;">
|
||||||
{{ $t('common:button:download') }}
|
{{ $t('common:button:download') }}
|
||||||
</a>
|
</a>
|
||||||
<a v-else-if="(scope.row.DataType === 'Link' || scope.row.DataType === 'Router') && scope.row.newValue && scope.row.newValue !== '--'" target="_blank" :href="scope.row.newValue" style="color:#409eff;">
|
<a v-else-if="(scope.row.DataType === 'Link' || scope.row.DataType === 'Router') && scope.row.newValue && scope.row.newValue !== '--'"
|
||||||
|
target="_blank" :href="scope.row.newValue" style="color:#409eff;">
|
||||||
{{ $t('trials:auditRecord:title:viewDetail') }}
|
{{ $t('trials:auditRecord:title:viewDetail') }}
|
||||||
</a>
|
</a>
|
||||||
<viewer v-else-if="(scope.row.DataType === 'Image' || scope.row.DataType === 'ImageList') && scope.row.newValue && scope.row.newValue !== '--'" :ref="`${scope.row.newValue instanceof Array ? scope.row.newValue[0] : scope.row.newValue}_modelcfg`" :images="imagesList">
|
<viewer
|
||||||
|
v-else-if="(scope.row.DataType === 'Image' || scope.row.DataType === 'ImageList') && scope.row.newValue && scope.row.newValue !== '--'"
|
||||||
|
:ref="`${scope.row.newValue instanceof Array ? scope.row.newValue[0] : scope.row.newValue}_modelcfg`"
|
||||||
|
:images="imagesList">
|
||||||
<!-- 查看图片 -->
|
<!-- 查看图片 -->
|
||||||
<span style="color:#409eff;cursor: pointer" @click="openImage(scope.row.newValue, 'modelcfg')">{{$t('trials:auditRecord:title:viewImage')}}{{scope.row.newValue instanceof Array ? `(${scope.row.newValue.length})` : ''}}</span>
|
<span style="color:#409eff;cursor: pointer" @click="openImage(scope.row.newValue, 'modelcfg')">{{
|
||||||
|
$t('trials:auditRecord:title:viewImage') }}{{ scope.row.newValue
|
||||||
|
instanceof Array ? `(${scope.row.newValue.length})` : '' }}</span>
|
||||||
<template v-for="item of scope.row.newValue">
|
<template v-for="item of scope.row.newValue">
|
||||||
<img v-if="scope.row.DataType === 'ImageList'" :key="item" :src="OSSclientConfig.basePath + item" v-show="false" crossorigin="anonymous" alt="">
|
<img v-if="scope.row.DataType === 'ImageList'" :key="item" :src="OSSclientConfig.basePath + item"
|
||||||
|
v-show="false" crossorigin="anonymous" alt="">
|
||||||
</template>
|
</template>
|
||||||
<img v-if="scope.row.DataType === 'Image'" :src="OSSclientConfig.basePath + scope.row.newValue" v-show="false" crossorigin="anonymous" alt="">
|
<img v-if="scope.row.DataType === 'Image'" :src="OSSclientConfig.basePath + scope.row.newValue"
|
||||||
|
v-show="false" crossorigin="anonymous" alt="">
|
||||||
<!-- <img :src="scope.row.newValue" v-show="false" crossorigin="anonymous" alt="">-->
|
<!-- <img :src="scope.row.newValue" v-show="false" crossorigin="anonymous" alt="">-->
|
||||||
</viewer>
|
</viewer>
|
||||||
<div v-else-if="scope.row.DataType === 'Dialog'" v-html="scope.row.newValue"></div>
|
<div v-else-if="scope.row.DataType === 'Dialog'" v-html="scope.row.newValue"></div>
|
||||||
|
@ -393,47 +288,39 @@
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
<el-table
|
<el-table :data="tableListData" v-if="tableListData.length > 0" border style="width: 100%" size="small">
|
||||||
:data="tableListData"
|
<el-table-column v-for="(item, index) of tableList" :prop="item.ColumnValue"
|
||||||
v-if="tableListData.length > 0"
|
:label="item.IsMerge ? item.MergeColumnName : item.headName" align="center" show-overflow-tooltip
|
||||||
border
|
:key="'tableList' + index">
|
||||||
style="width: 100%"
|
|
||||||
size="small"
|
|
||||||
>
|
|
||||||
<el-table-column
|
|
||||||
v-for="(item,index) of tableList"
|
|
||||||
:prop="item.ColumnValue"
|
|
||||||
:label="item.IsMerge ? item.MergeColumnName : item.headName"
|
|
||||||
align="center"
|
|
||||||
show-overflow-tooltip
|
|
||||||
:key="'tableList' + index"
|
|
||||||
>
|
|
||||||
<template v-if="!item.IsMerge" slot-scope="scope">
|
<template v-if="!item.IsMerge" slot-scope="scope">
|
||||||
<viewer v-if="item.IsPicture" :images="imagesList" :ref="`${scope.row[item.ColumnValue]}_modelcfg`">
|
<viewer v-if="item.IsPicture" :images="imagesList" :ref="`${scope.row[item.ColumnValue]}_modelcfg`">
|
||||||
<!-- 查看图片 -->
|
<!-- 查看图片 -->
|
||||||
<span style="color:#409eff;cursor: pointer" @click="openImage(scope.row[item.ColumnValue],'modelcfg')">{{$t('trials:auditRecord:title:viewImage')}}</span>
|
<span style="color:#409eff;cursor: pointer"
|
||||||
<img :src="OSSclientConfig.basePath + scope.row[item.ColumnValue]" v-show="false" crossorigin="anonymous" alt="">
|
@click="openImage(scope.row[item.ColumnValue], 'modelcfg')">{{
|
||||||
|
$t('trials:auditRecord:title:viewImage') }}</span>
|
||||||
|
<img :src="OSSclientConfig.basePath + scope.row[item.ColumnValue]" v-show="false"
|
||||||
|
crossorigin="anonymous" alt="">
|
||||||
</viewer>
|
</viewer>
|
||||||
<span v-else>{{ scope.row[item.ColumnValue] }}</span>
|
<span v-else>{{ scope.row[item.ColumnValue] }}</span>
|
||||||
</template>
|
</template>
|
||||||
<template v-for="(ite, index) of item.ChildrenList">
|
<template v-for="(ite, index) of item.ChildrenList">
|
||||||
<el-table-column
|
<el-table-column v-if="item.IsMerge"
|
||||||
v-if="item.IsMerge"
|
:prop="ite.ListName ? ite.ListName + ite.ColumnValue + index : ite.ColumnValue" :label="ite.headName"
|
||||||
:prop="ite.ListName ? ite.ListName + ite.ColumnValue + index : ite.ColumnValue"
|
align="center" show-overflow-tooltip :key="'ChildrenList' + index">
|
||||||
:label="ite.headName"
|
|
||||||
align="center"
|
|
||||||
show-overflow-tooltip
|
|
||||||
:key="'ChildrenList' + index"
|
|
||||||
>
|
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<viewer v-if="item.IsPicture" :images="imagesList" :ref="`${scope.row[ite.ListName ? ite.ListName + ite.ColumnValue + index : ite.ColumnValue]}_modelcfg`">
|
<viewer v-if="item.IsPicture" :images="imagesList"
|
||||||
|
:ref="`${scope.row[ite.ListName ? ite.ListName + ite.ColumnValue + index : ite.ColumnValue]}_modelcfg`">
|
||||||
<!-- 查看图片 -->
|
<!-- 查看图片 -->
|
||||||
<span style="color:#409eff;cursor: pointer" @click="openImage(scope.row[ite.ListName ? ite.ListName + ite.ColumnValue + index : ite.ColumnValue], 'modelcfg')">
|
<span style="color:#409eff;cursor: pointer"
|
||||||
|
@click="openImage(scope.row[ite.ListName ? ite.ListName + ite.ColumnValue + index : ite.ColumnValue], 'modelcfg')">
|
||||||
{{ $t('trials:auditRecord:title:viewImage') }}
|
{{ $t('trials:auditRecord:title:viewImage') }}
|
||||||
</span>
|
</span>
|
||||||
<img :src="OSSclientConfig.basePath + scope.row[ite.ListName ? ite.ListName + ite.ColumnValue + index : ite.ColumnValue]" v-show="false" crossorigin="anonymous" alt="">
|
<img
|
||||||
|
:src="OSSclientConfig.basePath + scope.row[ite.ListName ? ite.ListName + ite.ColumnValue + index : ite.ColumnValue]"
|
||||||
|
v-show="false" crossorigin="anonymous" alt="">
|
||||||
</viewer>
|
</viewer>
|
||||||
<span v-else>{{scope.row[ite.ListName ? ite.ListName + ite.ColumnValue + index : ite.ColumnValue]}}</span>
|
<span v-else>{{ scope.row[ite.ListName ? ite.ListName + ite.ColumnValue + index :
|
||||||
|
ite.ColumnValue] }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</template>
|
</template>
|
||||||
|
@ -455,58 +342,25 @@
|
||||||
</template>
|
</template>
|
||||||
</base-model>
|
</base-model>
|
||||||
<!-- 新增/编辑项目 -->
|
<!-- 新增/编辑项目 -->
|
||||||
<el-dialog
|
<el-dialog v-if="model_cfg2.visible" :visible.sync="model_cfg2.visible" :title="model_cfg2.title"
|
||||||
v-if="model_cfg2.visible"
|
:fullscreen="true" append-to-body custom-class="base-dialog-wrapper">
|
||||||
:visible.sync="model_cfg2.visible"
|
<el-table v-adaptive="{ bottomOffset: 20 }" v-loading="loading" :data="list2" stripe height="100">
|
||||||
:title="model_cfg2.title"
|
|
||||||
:fullscreen="true"
|
|
||||||
append-to-body
|
|
||||||
custom-class="base-dialog-wrapper"
|
|
||||||
>
|
|
||||||
<el-table
|
|
||||||
v-adaptive="{bottomOffset:20}"
|
|
||||||
v-loading="loading"
|
|
||||||
:data="list2"
|
|
||||||
stripe
|
|
||||||
height="100"
|
|
||||||
>
|
|
||||||
<el-table-column type="index" width="40" align="left" />
|
<el-table-column type="index" width="40" align="left" />
|
||||||
<!-- 研究方案号 -->
|
<!-- 研究方案号 -->
|
||||||
<el-table-column
|
<el-table-column prop="ResearchProgramNo" min-width="90" :label="$t('trials:auditRecord:table:researchNo')"
|
||||||
prop="ResearchProgramNo"
|
show-overflow-tooltip />
|
||||||
min-width="90"
|
|
||||||
:label="$t('trials:auditRecord:table:researchNo')"
|
|
||||||
show-overflow-tooltip
|
|
||||||
/>
|
|
||||||
<!-- 中心编号 -->
|
<!-- 中心编号 -->
|
||||||
<el-table-column
|
<el-table-column prop="SiteCode" min-width="100" :label="$t('trials:auditRecord:table:siteNo')"
|
||||||
prop="SiteCode"
|
show-overflow-tooltip />
|
||||||
min-width="100"
|
|
||||||
:label="$t('trials:auditRecord:table:siteNo')"
|
|
||||||
show-overflow-tooltip
|
|
||||||
/>
|
|
||||||
<!-- 受试者 -->
|
<!-- 受试者 -->
|
||||||
<el-table-column
|
<el-table-column prop="SubjectCode" min-width="100" :label="$t('trials:auditRecord:table:subject')"
|
||||||
prop="SubjectCode"
|
show-overflow-tooltip />
|
||||||
min-width="100"
|
|
||||||
:label="$t('trials:auditRecord:table:subject')"
|
|
||||||
show-overflow-tooltip
|
|
||||||
/>
|
|
||||||
<!-- 访视 -->
|
<!-- 访视 -->
|
||||||
<el-table-column
|
<el-table-column prop="VisitName" min-width="100" :label="$t('trials:auditRecord:table:visit')"
|
||||||
prop="VisitName"
|
show-overflow-tooltip />
|
||||||
min-width="100"
|
|
||||||
:label="$t('trials:auditRecord:table:visit')"
|
|
||||||
show-overflow-tooltip
|
|
||||||
/>
|
|
||||||
<!-- 任务名称 -->
|
<!-- 任务名称 -->
|
||||||
<el-table-column
|
<el-table-column prop="TaskName" min-width="100" :label="$t('trials:auditRecord:table:taskName')"
|
||||||
prop="TaskName"
|
show-overflow-tooltip sortable="custom">
|
||||||
min-width="100"
|
|
||||||
:label="$t('trials:auditRecord:table:taskName')"
|
|
||||||
show-overflow-tooltip
|
|
||||||
sortable="custom"
|
|
||||||
>
|
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span v-if="scope.row.BlindName && scope.row.TaskName !== scope.row.BlindName">
|
<span v-if="scope.row.BlindName && scope.row.TaskName !== scope.row.BlindName">
|
||||||
{{ `${scope.row.TaskName}/${scope.row.BlindName}` }}
|
{{ `${scope.row.TaskName}/${scope.row.BlindName}` }}
|
||||||
|
@ -523,49 +377,28 @@
|
||||||
sortable="custom"
|
sortable="custom"
|
||||||
/> -->
|
/> -->
|
||||||
<!-- 阅片标准 -->
|
<!-- 阅片标准 -->
|
||||||
<el-table-column
|
<el-table-column prop="TrialReadingCriterionName" min-width="100"
|
||||||
prop="TrialReadingCriterionName"
|
:label="$t('trials:auditRecord:table:criterion')" show-overflow-tooltip />
|
||||||
min-width="100"
|
|
||||||
:label="$t('trials:auditRecord:table:criterion')"
|
|
||||||
show-overflow-tooltip
|
|
||||||
/>
|
|
||||||
<!-- 功能模块 -->
|
<!-- 功能模块 -->
|
||||||
<el-table-column
|
<el-table-column prop="ModuleTypeName" min-width="100" :label="$t('trials:auditRecord:table:funcModule')"
|
||||||
prop="ModuleTypeName"
|
show-overflow-tooltip>
|
||||||
min-width="100"
|
|
||||||
:label="$t('trials:auditRecord:table:funcModule')"
|
|
||||||
show-overflow-tooltip
|
|
||||||
>
|
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ $i18n.locale === 'zh' ? scope.row.ModuleTypeNameCN : scope.row.ModuleTypeName }}
|
{{ $i18n.locale === 'zh' ? scope.row.ModuleTypeNameCN : scope.row.ModuleTypeName }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<!-- 操作名 -->
|
<!-- 操作名 -->
|
||||||
<el-table-column
|
<el-table-column prop="Description" min-width="140" :label="$t('trials:auditRecord:table:operationName')"
|
||||||
prop="Description"
|
show-overflow-tooltip>
|
||||||
min-width="140"
|
|
||||||
:label="$t('trials:auditRecord:table:operationName')"
|
|
||||||
show-overflow-tooltip
|
|
||||||
>
|
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ $i18n.locale === 'zh' ? scope.row.DescriptionCN : scope.row.Description }}
|
{{ $i18n.locale === 'zh' ? scope.row.DescriptionCN : scope.row.Description }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<!-- 修改原因 -->
|
<!-- 修改原因 -->
|
||||||
<el-table-column
|
<el-table-column prop="Reason" min-width="100" :label="$t('trials:auditRecord:table:modifyReason')"
|
||||||
prop="Reason"
|
show-overflow-tooltip />
|
||||||
min-width="100"
|
|
||||||
:label="$t('trials:auditRecord:table:modifyReason')"
|
|
||||||
show-overflow-tooltip
|
|
||||||
/>
|
|
||||||
<!-- 是否电签 -->
|
<!-- 是否电签 -->
|
||||||
<el-table-column
|
<el-table-column prop="IsSign" min-width="90" align="center" :label="$t('trials:auditRecord:table:isSign')"
|
||||||
prop="IsSign"
|
show-overflow-tooltip>
|
||||||
min-width="90"
|
|
||||||
align="center"
|
|
||||||
:label="$t('trials:auditRecord:table:isSign')"
|
|
||||||
show-overflow-tooltip
|
|
||||||
>
|
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div>
|
<div>
|
||||||
<el-tooltip v-if="scope.row.IsSign" class="item" effect="dark" placement="top">
|
<el-tooltip v-if="scope.row.IsSign" class="item" effect="dark" placement="top">
|
||||||
|
@ -579,12 +412,8 @@
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<!-- 操作人 -->
|
<!-- 操作人 -->
|
||||||
<el-table-column
|
<el-table-column prop="CreateUserRealName" min-width="80" :label="$t('trials:auditRecord:table:operator')"
|
||||||
prop="CreateUserRealName"
|
show-overflow-tooltip>
|
||||||
min-width="80"
|
|
||||||
:label="$t('trials:auditRecord:table:operator')"
|
|
||||||
show-overflow-tooltip
|
|
||||||
>
|
|
||||||
<!-- <template slot-scope="scope">
|
<!-- <template slot-scope="scope">
|
||||||
<div>
|
<div>
|
||||||
{{ scope.row.UserLastName }}/{{ scope.row.UserFirstName }}
|
{{ scope.row.UserLastName }}/{{ scope.row.UserFirstName }}
|
||||||
|
@ -592,39 +421,17 @@
|
||||||
</template> -->
|
</template> -->
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<!-- 用户名 -->
|
<!-- 用户名 -->
|
||||||
<el-table-column
|
<el-table-column prop="CreateUserName" min-width="80" :label="$t('trials:auditRecord:table:userName')"
|
||||||
prop="CreateUserName"
|
show-overflow-tooltip />
|
||||||
min-width="80"
|
|
||||||
:label="$t('trials:auditRecord:table:userName')"
|
|
||||||
show-overflow-tooltip
|
|
||||||
/>
|
|
||||||
<!-- 角色 -->
|
<!-- 角色 -->
|
||||||
<el-table-column
|
<el-table-column prop="RoleName" min-width="70" :label="$t('trials:auditRecord:table:role')"
|
||||||
prop="RoleName"
|
show-overflow-tooltip />
|
||||||
min-width="70"
|
|
||||||
:label="$t('trials:auditRecord:table:role')"
|
|
||||||
show-overflow-tooltip
|
|
||||||
/>
|
|
||||||
<!-- 操作时间 -->
|
<!-- 操作时间 -->
|
||||||
<el-table-column
|
<el-table-column prop="CreateTime" min-width="140" :label="$t('trials:auditRecord:table:operateTime')"
|
||||||
prop="CreateTime"
|
show-overflow-tooltip />
|
||||||
min-width="140"
|
<el-table-column prop="IP" min-width="100" label="IP" show-overflow-tooltip />
|
||||||
:label="$t('trials:auditRecord:table:operateTime')"
|
<el-table-column prop="" min-width="150" :label="$t('common:action:action')" show-overflow-tooltip
|
||||||
show-overflow-tooltip
|
sortable="custom">
|
||||||
/>
|
|
||||||
<el-table-column
|
|
||||||
prop="IP"
|
|
||||||
min-width="100"
|
|
||||||
label="IP"
|
|
||||||
show-overflow-tooltip
|
|
||||||
/>
|
|
||||||
<el-table-column
|
|
||||||
prop=""
|
|
||||||
min-width="150"
|
|
||||||
:label="$t('common:action:action')"
|
|
||||||
show-overflow-tooltip
|
|
||||||
sortable="custom"
|
|
||||||
>
|
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<!-- 详情 -->
|
<!-- 详情 -->
|
||||||
<el-button type="text" @click="lookDetails2(scope.row)">
|
<el-button type="text" @click="lookDetails2(scope.row)">
|
||||||
|
@ -636,27 +443,14 @@
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
<base-model :config="model_cfg3">
|
<base-model :config="model_cfg3">
|
||||||
<template slot="dialog-body">
|
<template slot="dialog-body">
|
||||||
<el-table
|
<el-table v-if="auditData2.length > 0" :data="auditData2" border style="width: 100%" size="small"
|
||||||
v-if="auditData2.length > 0"
|
max-height="400">
|
||||||
:data="auditData2"
|
|
||||||
border
|
|
||||||
style="width: 100%"
|
|
||||||
size="small"
|
|
||||||
max-height="400"
|
|
||||||
>
|
|
||||||
<!-- 字段名 -->
|
<!-- 字段名 -->
|
||||||
<el-table-column
|
<el-table-column prop="Enum" :label="$t('trials:auditRecord:title:fieldName')" show-overflow-tooltip />
|
||||||
prop="Enum"
|
|
||||||
:label="$t('trials:auditRecord:title:fieldName')"
|
|
||||||
show-overflow-tooltip
|
|
||||||
/>
|
|
||||||
<!-- OptType === 'Add' ? '值' : OptType === 'Delete' ? '删除前' : '修改前' -->
|
<!-- OptType === 'Add' ? '值' : OptType === 'Delete' ? '删除前' : '修改前' -->
|
||||||
<el-table-column
|
<el-table-column v-if="OptType2 !== 'Add' && OptType2 !== 'Upload' && OptType2 !== 'Init'" prop="oldValue"
|
||||||
v-if="OptType2 !== 'Add' && OptType2 !== 'Upload' && OptType2 !== 'Init'"
|
|
||||||
prop="oldValue"
|
|
||||||
:label="OptType2 === 'Add' ? $t('trials:auditRecord:title:fieldValue') : OptType2 === 'Delete' ? $t('trials:auditRecord:title:beforeDeletion') : $t('trials:auditRecord:title:beforeModification')"
|
:label="OptType2 === 'Add' ? $t('trials:auditRecord:title:fieldValue') : OptType2 === 'Delete' ? $t('trials:auditRecord:title:beforeDeletion') : $t('trials:auditRecord:title:beforeModification')"
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip>
|
||||||
>
|
|
||||||
<!-- <template slot-scope="scope">
|
<!-- <template slot-scope="scope">
|
||||||
<span>
|
<span>
|
||||||
<a v-if="scope.row.DataType === 'Link' || scope.row.DataType === 'Router'" target="_blank" :href="scope.row.oldValue">{{scope.row.oldValue}}</a>
|
<a v-if="scope.row.DataType === 'Link' || scope.row.DataType === 'Router'" target="_blank" :href="scope.row.oldValue">{{scope.row.oldValue}}</a>
|
||||||
|
@ -668,19 +462,28 @@
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>
|
<span>
|
||||||
<!-- 查看详情 -->
|
<!-- 查看详情 -->
|
||||||
<a v-if="scope.row.DataType === 'OSS' && scope.row.oldValue && scope.row.oldValue !== '--'" target="_blank" :href="OSSclientConfig.basePath + scope.row.oldValue" style="color:#409eff;">
|
<a v-if="scope.row.DataType === 'OSS' && scope.row.oldValue && scope.row.oldValue !== '--'"
|
||||||
|
target="_blank" :href="OSSclientConfig.basePath + scope.row.oldValue" style="color:#409eff;">
|
||||||
{{ $t('common:button:download') }}
|
{{ $t('common:button:download') }}
|
||||||
</a>
|
</a>
|
||||||
<a v-else-if="(scope.row.DataType === 'Link' || scope.row.DataType === 'Router') && scope.row.oldValue && scope.row.oldValue !== '--'" target="_blank" :href="scope.row.oldValue" style="color:#409eff;">
|
<a v-else-if="(scope.row.DataType === 'Link' || scope.row.DataType === 'Router') && scope.row.oldValue && scope.row.oldValue !== '--'"
|
||||||
|
target="_blank" :href="scope.row.oldValue" style="color:#409eff;">
|
||||||
{{ $t('trials:auditRecord:title:viewDetail') }}
|
{{ $t('trials:auditRecord:title:viewDetail') }}
|
||||||
</a>
|
</a>
|
||||||
<viewer v-else-if="(scope.row.DataType === 'Image' || scope.row.DataType === 'ImageList') && scope.row.oldValue && scope.row.oldValue !== '--'" :ref="scope.row.oldValue instanceof Array ? scope.row.oldValue[0] : scope.row.oldValue" :images="imagesList">
|
<viewer
|
||||||
|
v-else-if="(scope.row.DataType === 'Image' || scope.row.DataType === 'ImageList') && scope.row.oldValue && scope.row.oldValue !== '--'"
|
||||||
|
:ref="scope.row.oldValue instanceof Array ? scope.row.oldValue[0] : scope.row.oldValue"
|
||||||
|
:images="imagesList">
|
||||||
<!-- 查看图片 -->
|
<!-- 查看图片 -->
|
||||||
<span style="color:#409eff;cursor: pointer" @click="openImage(scope.row.oldValue)">{{$t('trials:auditRecord:title:viewImage')}}{{scope.row.oldValue instanceof Array ? `(${scope.row.oldValue.length})` : ''}}</span>
|
<span style="color:#409eff;cursor: pointer" @click="openImage(scope.row.oldValue)">{{
|
||||||
|
$t('trials:auditRecord:title:viewImage') }}{{ scope.row.oldValue
|
||||||
|
instanceof Array ? `(${scope.row.oldValue.length})` : '' }}</span>
|
||||||
<template v-for="item of scope.row.oldValue">
|
<template v-for="item of scope.row.oldValue">
|
||||||
<img v-if="scope.row.DataType === 'ImageList'" :key="item" :src="OSSclientConfig.basePath + item" v-show="false" crossorigin="anonymous" alt="">
|
<img v-if="scope.row.DataType === 'ImageList'" :key="item" :src="OSSclientConfig.basePath + item"
|
||||||
|
v-show="false" crossorigin="anonymous" alt="">
|
||||||
</template>
|
</template>
|
||||||
<img v-if="scope.row.DataType === 'Image'" :src="OSSclientConfig.basePath + scope.row.oldValue" v-show="false" crossorigin="anonymous" alt="">
|
<img v-if="scope.row.DataType === 'Image'" :src="OSSclientConfig.basePath + scope.row.oldValue"
|
||||||
|
v-show="false" crossorigin="anonymous" alt="">
|
||||||
</viewer>
|
</viewer>
|
||||||
<div v-else-if="scope.row.DataType === 'Dialog'" v-html="scope.row.oldValue"></div>
|
<div v-else-if="scope.row.DataType === 'Dialog'" v-html="scope.row.oldValue"></div>
|
||||||
<span v-else>
|
<span v-else>
|
||||||
|
@ -690,11 +493,9 @@
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<!-- OptType === 'Add' || OptType === 'Init' ? '值' : OptType === 'Delete' ? '删除后' : '修改后' -->
|
<!-- OptType === 'Add' || OptType === 'Init' ? '值' : OptType === 'Delete' ? '删除后' : '修改后' -->
|
||||||
<el-table-column
|
<el-table-column prop="newValue"
|
||||||
prop="newValue"
|
|
||||||
:label="OptType2 === 'Add' || OptType2 === 'Init' ? $t('trials:auditRecord:title:fieldValue') : OptType2 === 'Delete' ? $t('trials:auditRecord:title:afterDeletion') : $t('trials:auditRecord:title:afterModification')"
|
:label="OptType2 === 'Add' || OptType2 === 'Init' ? $t('trials:auditRecord:title:fieldValue') : OptType2 === 'Delete' ? $t('trials:auditRecord:title:afterDeletion') : $t('trials:auditRecord:title:afterModification')"
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip>
|
||||||
>
|
|
||||||
<!-- <template slot-scope="scope">
|
<!-- <template slot-scope="scope">
|
||||||
<span :style="{ color: scope.row.newValue !== scope.row.oldValue ? '#f66' : null }">
|
<span :style="{ color: scope.row.newValue !== scope.row.oldValue ? '#f66' : null }">
|
||||||
<a v-if="scope.row.DataType === 'Link' || scope.row.DataType === 'Router'" target="_blank" :href="scope.row.newValue">{{scope.row.newValue}}</a>
|
<a v-if="scope.row.DataType === 'Link' || scope.row.DataType === 'Router'" target="_blank" :href="scope.row.newValue">{{scope.row.newValue}}</a>
|
||||||
|
@ -704,19 +505,28 @@
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span :style="{ color: scope.row.newValue !== scope.row.oldValue ? '#f66' : null }">
|
<span :style="{ color: scope.row.newValue !== scope.row.oldValue ? '#f66' : null }">
|
||||||
<!-- 查看详情 -->
|
<!-- 查看详情 -->
|
||||||
<a v-if="scope.row.DataType === 'OSS' && scope.row.newValue && scope.row.newValue !== '--'" target="_blank" :href="OSSclientConfig.basePath + scope.row.newValue" style="color:#409eff;">
|
<a v-if="scope.row.DataType === 'OSS' && scope.row.newValue && scope.row.newValue !== '--'"
|
||||||
|
target="_blank" :href="OSSclientConfig.basePath + scope.row.newValue" style="color:#409eff;">
|
||||||
{{ $t('common:button:download') }}
|
{{ $t('common:button:download') }}
|
||||||
</a>
|
</a>
|
||||||
<a v-else-if="(scope.row.DataType === 'Link' || scope.row.DataType === 'Router') && scope.row.newValue && scope.row.newValue !== '--'" target="_blank" :href="scope.row.newValue" style="color:#409eff;">
|
<a v-else-if="(scope.row.DataType === 'Link' || scope.row.DataType === 'Router') && scope.row.newValue && scope.row.newValue !== '--'"
|
||||||
|
target="_blank" :href="scope.row.newValue" style="color:#409eff;">
|
||||||
{{ $t('trials:auditRecord:title:viewDetail') }}
|
{{ $t('trials:auditRecord:title:viewDetail') }}
|
||||||
</a>
|
</a>
|
||||||
<viewer v-else-if="(scope.row.DataType === 'Image' || scope.row.DataType === 'ImageList') && scope.row.newValue && scope.row.newValue !== '--'" :ref="scope.row.newValue instanceof Array ? scope.row.newValue[0] : scope.row.newValue" :images="imagesList">
|
<viewer
|
||||||
|
v-else-if="(scope.row.DataType === 'Image' || scope.row.DataType === 'ImageList') && scope.row.newValue && scope.row.newValue !== '--'"
|
||||||
|
:ref="scope.row.newValue instanceof Array ? scope.row.newValue[0] : scope.row.newValue"
|
||||||
|
:images="imagesList">
|
||||||
<!-- 查看图片 -->
|
<!-- 查看图片 -->
|
||||||
<span style="color:#409eff;cursor: pointer" @click="openImage(scope.row.newValue)">{{$t('trials:auditRecord:title:viewImage')}}{{scope.row.newValue instanceof Array ? `(${scope.row.newValue.length})` : ''}}</span>
|
<span style="color:#409eff;cursor: pointer" @click="openImage(scope.row.newValue)">{{
|
||||||
|
$t('trials:auditRecord:title:viewImage') }}{{ scope.row.newValue
|
||||||
|
instanceof Array ? `(${scope.row.newValue.length})` : '' }}</span>
|
||||||
<template v-for="item of scope.row.newValue">
|
<template v-for="item of scope.row.newValue">
|
||||||
<img v-if="scope.row.DataType === 'ImageList'" :key="item" :src="OSSclientConfig.basePath + item" v-show="false" crossorigin="anonymous" alt="">
|
<img v-if="scope.row.DataType === 'ImageList'" :key="item" :src="OSSclientConfig.basePath + item"
|
||||||
|
v-show="false" crossorigin="anonymous" alt="">
|
||||||
</template>
|
</template>
|
||||||
<img v-if="scope.row.DataType === 'Image'" :src="OSSclientConfig.basePath + scope.row.newValue" v-show="false" crossorigin="anonymous" alt="">
|
<img v-if="scope.row.DataType === 'Image'" :src="OSSclientConfig.basePath + scope.row.newValue"
|
||||||
|
v-show="false" crossorigin="anonymous" alt="">
|
||||||
<!-- <img :src="scope.row.newValue" v-show="false" crossorigin="anonymous" alt="">-->
|
<!-- <img :src="scope.row.newValue" v-show="false" crossorigin="anonymous" alt="">-->
|
||||||
</viewer>
|
</viewer>
|
||||||
<div v-else-if="scope.row.DataType === 'Dialog'" v-html="scope.row.newValue"></div>
|
<div v-else-if="scope.row.DataType === 'Dialog'" v-html="scope.row.newValue"></div>
|
||||||
|
@ -725,41 +535,32 @@
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
<el-table
|
<el-table v-if="tableListData.length > 0" :data="tableListData" border style="width: 100%" size="small">
|
||||||
v-if="tableListData.length > 0"
|
<el-table-column v-for="(item, index) of tableList" :prop="item.ColumnValue"
|
||||||
:data="tableListData"
|
:label="item.IsMerge ? item.MergeColumnName : item.headName" align="center" show-overflow-tooltip
|
||||||
border
|
:key="'tableList' + index">
|
||||||
style="width: 100%"
|
|
||||||
size="small"
|
|
||||||
>
|
|
||||||
<el-table-column
|
|
||||||
v-for="(item,index) of tableList"
|
|
||||||
:prop="item.ColumnValue"
|
|
||||||
:label="item.IsMerge ? item.MergeColumnName : item.headName"
|
|
||||||
align="center"
|
|
||||||
show-overflow-tooltip
|
|
||||||
:key="'tableList' + index"
|
|
||||||
>
|
|
||||||
<template v-for="(ite, index) of item.ChildrenList">
|
<template v-for="(ite, index) of item.ChildrenList">
|
||||||
<el-table-column
|
<el-table-column v-if="item.IsMerge"
|
||||||
v-if="item.IsMerge"
|
:prop="ite.ListName ? ite.ListName + ite.ColumnValue + index : ite.ColumnValue" :label="ite.headName"
|
||||||
:prop="ite.ListName ? ite.ListName + ite.ColumnValue + index : ite.ColumnValue"
|
align="center" show-overflow-tooltip :key="'ChildrenList' + index">
|
||||||
:label="ite.headName"
|
|
||||||
align="center"
|
|
||||||
show-overflow-tooltip
|
|
||||||
:key="'ChildrenList' + index"
|
|
||||||
>
|
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<!-- 查看图片 -->
|
<!-- 查看图片 -->
|
||||||
<!-- <span v-if="ite.IsPicture" @click="openImage(scope.row[ite.ListName ? ite.ListName + ite.ColumnValue + index : ite.ColumnValue])">
|
<!-- <span v-if="ite.IsPicture" @click="openImage(scope.row[ite.ListName ? ite.ListName + ite.ColumnValue + index : ite.ColumnValue])">
|
||||||
{{$t('trials:auditRecord:title:viewImage')}}
|
{{$t('trials:auditRecord:title:viewImage')}}
|
||||||
</span> -->
|
</span> -->
|
||||||
<viewer v-if="ite.IsPicture && ite.IsPicture !== '--'" :ref="scope.row[ite.ListName ? ite.ListName + ite.ColumnValue + index : ite.ColumnValue]" :images="imagesList">
|
<viewer v-if="ite.IsPicture && ite.IsPicture !== '--'"
|
||||||
|
:ref="scope.row[ite.ListName ? ite.ListName + ite.ColumnValue + index : ite.ColumnValue]"
|
||||||
|
:images="imagesList">
|
||||||
<!-- 查看图片 -->
|
<!-- 查看图片 -->
|
||||||
<span style="color:#409eff;cursor: pointer" @click="openImage(scope.row[ite.ListName ? ite.ListName + ite.ColumnValue + index : ite.ColumnValue])">{{$t('trials:auditRecord:title:viewImage')}}</span>
|
<span style="color:#409eff;cursor: pointer"
|
||||||
<img :src="OSSclientConfig.basePath + scope.row[ite.ListName ? ite.ListName + ite.ColumnValue + index : ite.ColumnValue]" v-show="false" crossorigin="anonymous" alt="">
|
@click="openImage(scope.row[ite.ListName ? ite.ListName + ite.ColumnValue + index : ite.ColumnValue])">{{
|
||||||
|
$t('trials:auditRecord:title:viewImage') }}</span>
|
||||||
|
<img
|
||||||
|
:src="OSSclientConfig.basePath + scope.row[ite.ListName ? ite.ListName + ite.ColumnValue + index : ite.ColumnValue]"
|
||||||
|
v-show="false" crossorigin="anonymous" alt="">
|
||||||
</viewer>
|
</viewer>
|
||||||
<span v-else>{{scope.row[ite.ListName ? ite.ListName + ite.ColumnValue + index : ite.ColumnValue]}}</span>
|
<span v-else>{{ scope.row[ite.ListName ? ite.ListName + ite.ColumnValue + index :
|
||||||
|
ite.ColumnValue] }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<template v-else slot-scope="scope">
|
<template v-else slot-scope="scope">
|
||||||
|
@ -767,10 +568,13 @@
|
||||||
<!-- <span v-if="item.IsPicture" @click="openImage(scope.row[item.ColumnValue])" :key="'ChildrenList' + index">
|
<!-- <span v-if="item.IsPicture" @click="openImage(scope.row[item.ColumnValue])" :key="'ChildrenList' + index">
|
||||||
{{$t('trials:auditRecord:title:viewImage')}}
|
{{$t('trials:auditRecord:title:viewImage')}}
|
||||||
</span> -->
|
</span> -->
|
||||||
<viewer v-if="item.IsPicture && item.IsPicture !== '--'" :ref="scope.row[item.ColumnValue]" :images="imagesList" :key="'ChildrenList' + index">
|
<viewer v-if="item.IsPicture && item.IsPicture !== '--'" :ref="scope.row[item.ColumnValue]"
|
||||||
|
:images="imagesList" :key="'ChildrenList' + index">
|
||||||
<!-- 查看图片 -->
|
<!-- 查看图片 -->
|
||||||
<span style="color:#409eff;cursor: pointer" @click="openImage(scope.row[item.ColumnValue])">{{$t('trials:auditRecord:title:viewImage')}}</span>
|
<span style="color:#409eff;cursor: pointer" @click="openImage(scope.row[item.ColumnValue])">{{
|
||||||
<img :src="OSSclientConfig.basePath + scope.row[item.ColumnValue]" v-show="false" crossorigin="anonymous" alt="">
|
$t('trials:auditRecord:title:viewImage') }}</span>
|
||||||
|
<img :src="OSSclientConfig.basePath + scope.row[item.ColumnValue]" v-show="false"
|
||||||
|
crossorigin="anonymous" alt="">
|
||||||
</viewer>
|
</viewer>
|
||||||
<span v-else :key="'ChildrenList' + index">{{ scope.row[item.ColumnValue] }}</span>
|
<span v-else :key="'ChildrenList' + index">{{ scope.row[item.ColumnValue] }}</span>
|
||||||
</template>
|
</template>
|
||||||
|
@ -816,7 +620,7 @@ import {
|
||||||
getTrialCriterionList
|
getTrialCriterionList
|
||||||
} from '@/api/trials'
|
} from '@/api/trials'
|
||||||
import { getInspectionList, getInspectionJsonDataList } from '@/api/trials/inspection'
|
import { getInspectionList, getInspectionJsonDataList } from '@/api/trials/inspection'
|
||||||
import { getFrontAuditConfigList, getAuditConfigChildList, getModuleTypeDescriptionList, setInspectionEnumValue } from '@/api/dictionary/checkConfig'
|
import { getFrontAuditConfigList, getAuditConfigChildList, getModuleTypeDescriptionList, setInspectionEnumValue, getModuleTypeList } from '@/api/dictionary/checkConfig'
|
||||||
import Pagination from '@/components/Pagination'
|
import Pagination from '@/components/Pagination'
|
||||||
import BaseContainer from '@/components/BaseContainer'
|
import BaseContainer from '@/components/BaseContainer'
|
||||||
import BaseModel from '@/components/BaseModel'
|
import BaseModel from '@/components/BaseModel'
|
||||||
|
@ -886,7 +690,8 @@ export default {
|
||||||
trialCriterionList: [],
|
trialCriterionList: [],
|
||||||
openImageUrl: null,
|
openImageUrl: null,
|
||||||
$viewer: null,
|
$viewer: null,
|
||||||
imagesList: []
|
imagesList: [],
|
||||||
|
moduleTypeList: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
@ -895,6 +700,7 @@ export default {
|
||||||
this.getVisitPlanOptions()
|
this.getVisitPlanOptions()
|
||||||
this.getTrialCriterionList()
|
this.getTrialCriterionList()
|
||||||
this.getList()
|
this.getList()
|
||||||
|
this.getModuleTypeList()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
openImage(url, type) {
|
openImage(url, type) {
|
||||||
|
@ -941,9 +747,26 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
|
async getModuleTypeList() {
|
||||||
|
try {
|
||||||
|
let data = {
|
||||||
|
trialId: this.$route.query.trialId
|
||||||
|
}
|
||||||
|
let res = await getModuleTypeList(data)
|
||||||
|
if (res.IsSuccess) {
|
||||||
|
this.moduleTypeList = res.Result
|
||||||
|
}
|
||||||
|
} catch (err) {
|
||||||
|
console.log(err)
|
||||||
|
}
|
||||||
|
},
|
||||||
getModuleTypeDescriptionList(v) {
|
getModuleTypeDescriptionList(v) {
|
||||||
this.searchData.Description = null
|
this.searchData.Description = null
|
||||||
getModuleTypeDescriptionList( v ).then(res => {
|
let params = {
|
||||||
|
moduleTypeId: v,
|
||||||
|
trialId: this.$route.query.trialId
|
||||||
|
}
|
||||||
|
getModuleTypeDescriptionList(params).then(res => {
|
||||||
this.DescriptionOptions = res.Result
|
this.DescriptionOptions = res.Result
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
@ -1330,4 +1153,3 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue