Merge branch 'main' of https://gitea.frp.extimaging.com/XCKJ/irc_web into main
continuous-integration/drone/push Build is running
Details
continuous-integration/drone/push Build is running
Details
commit
bc3f475954
|
@ -596,3 +596,4 @@ VueInit()
|
||||||
// });
|
// });
|
||||||
|
|
||||||
|
|
||||||
|
export default _vm
|
|
@ -63,8 +63,8 @@ router.beforeEach(async (to, from, next) => {
|
||||||
if (hasToken) {
|
if (hasToken) {
|
||||||
if (to.path === '/login' || to.path === '/recompose' || to.path === '/email-recompose' || to.path === '/error' || to.path === '/ReviewersResearchForm' || to.path === '/ReviewersResearch') {
|
if (to.path === '/login' || to.path === '/recompose' || to.path === '/email-recompose' || to.path === '/error' || to.path === '/ReviewersResearchForm' || to.path === '/ReviewersResearch') {
|
||||||
if (to.path === '/ReviewersResearch') {
|
if (to.path === '/ReviewersResearch') {
|
||||||
await store.dispatch('user/logout')
|
|
||||||
await OSSclient()
|
await OSSclient()
|
||||||
|
await store.dispatch('user/logout')
|
||||||
}
|
}
|
||||||
if (to.path === '/ReviewersResearchForm') {
|
if (to.path === '/ReviewersResearchForm') {
|
||||||
await OSSclient()
|
await OSSclient()
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
import axios from 'axios'
|
import axios from 'axios'
|
||||||
|
import _vm from '@/main'
|
||||||
import { Message, MessageBox, Alert } from 'element-ui'
|
import { Message, MessageBox, Alert } from 'element-ui'
|
||||||
import store from '@/store'
|
import store from '@/store'
|
||||||
import router from '@/router'
|
import router from '@/router'
|
||||||
|
@ -90,6 +91,9 @@ service.interceptors.response.use(
|
||||||
const status = error.response.status
|
const status = error.response.status
|
||||||
if (error.response.data && (error.response.data.Code === -1 || error.response.data.Code === -2)) {
|
if (error.response.data && (error.response.data.Code === -1 || error.response.data.Code === -2)) {
|
||||||
store.dispatch('user/logout').then(() => {
|
store.dispatch('user/logout').then(() => {
|
||||||
|
if (_vm.$msgbox) {
|
||||||
|
_vm.$msgbox.close();
|
||||||
|
}
|
||||||
router.push(`/login`)
|
router.push(`/login`)
|
||||||
this.$i18n.locale = 'zh'
|
this.$i18n.locale = 'zh'
|
||||||
this.setLanguage('zh')
|
this.setLanguage('zh')
|
||||||
|
|
|
@ -362,12 +362,12 @@ export default {
|
||||||
BusinessLevelEnum: [
|
BusinessLevelEnum: [
|
||||||
{ required: true, message: 'Please select', trigger: ['blur'] },
|
{ required: true, message: 'Please select', trigger: ['blur'] },
|
||||||
],
|
],
|
||||||
ToUserTypeList: [
|
// ToUserTypeList: [
|
||||||
{ required: true, message: 'Please select', trigger: ['blur'] },
|
// { required: true, message: 'Please select', trigger: ['blur'] },
|
||||||
],
|
// ],
|
||||||
EmailCron: [
|
// EmailCron: [
|
||||||
{ required: true, message: 'Please select', trigger: ['blur'] },
|
// { required: true, message: 'Please select', trigger: ['blur'] },
|
||||||
],
|
// ],
|
||||||
EmailUrgentEnum: [
|
EmailUrgentEnum: [
|
||||||
{ required: true, message: 'Please select', trigger: ['blur'] },
|
{ required: true, message: 'Please select', trigger: ['blur'] },
|
||||||
],
|
],
|
||||||
|
|
|
@ -267,6 +267,8 @@ export default {
|
||||||
reviewerId() {
|
reviewerId() {
|
||||||
if (this.reviewerId) {
|
if (this.reviewerId) {
|
||||||
this.doctorId = this.reviewerId
|
this.doctorId = this.reviewerId
|
||||||
|
this.initForm()
|
||||||
|
this.getIsVacation()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -277,6 +279,7 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
// 获取是否休假
|
// 获取是否休假
|
||||||
async getIsVacation() {
|
async getIsVacation() {
|
||||||
|
if (!this.doctorId) return false
|
||||||
try {
|
try {
|
||||||
let data = {
|
let data = {
|
||||||
DoctorId: this.doctorId,
|
DoctorId: this.doctorId,
|
||||||
|
|
|
@ -157,12 +157,14 @@ export default {
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
.message {
|
.message {
|
||||||
|
width: 100%;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
min-height: 100px;
|
min-height: 100px;
|
||||||
background-color: #eee;
|
background-color: #eee;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
line-height: 30px;
|
line-height: 30px;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
|
word-wrap: break-word;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
|
@ -81,14 +81,14 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
class="message"
|
class="message break-word"
|
||||||
v-if="
|
v-if="
|
||||||
reviewerData.SummarizeInfo.SummarizeEn ||
|
reviewerData.SummarizeInfo.SummarizeEn ||
|
||||||
reviewerData.SummarizeInfo.Summarize
|
reviewerData.SummarizeInfo.Summarize
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
<div class="title">{{ $t('curriculumVitae:summarize:title') }}</div>
|
<div class="title">{{ $t('curriculumVitae:summarize:title') }}</div>
|
||||||
<span class="text">
|
<span class="">
|
||||||
{{
|
{{
|
||||||
isEN
|
isEN
|
||||||
? reviewerData.SummarizeInfo.SummarizeEn
|
? reviewerData.SummarizeInfo.SummarizeEn
|
||||||
|
@ -477,7 +477,7 @@
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
<div class="title">{{ $t('curriculumVitae:other:AH') }}</div>
|
<div class="title">{{ $t('curriculumVitae:other:AH') }}</div>
|
||||||
<div class="content">
|
<div class="message">
|
||||||
<span v-if="isEN">{{
|
<span v-if="isEN">{{
|
||||||
reviewerData.ResearchPublicationView.AwardsHonors
|
reviewerData.ResearchPublicationView.AwardsHonors
|
||||||
}}</span>
|
}}</span>
|
||||||
|
@ -963,6 +963,7 @@ export default {
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
border: none;
|
border: none;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
.message {
|
.message {
|
||||||
padding: 20px 0;
|
padding: 20px 0;
|
||||||
|
@ -1070,4 +1071,8 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
break-word {
|
||||||
|
width: 100%;
|
||||||
|
word-wrap: break-word;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
|
@ -203,7 +203,7 @@
|
||||||
<!-- width="160"-->
|
<!-- width="160"-->
|
||||||
<!-- />-->
|
<!-- />-->
|
||||||
<!-- 附件 -->
|
<!-- 附件 -->
|
||||||
<el-table-column
|
<!-- <el-table-column
|
||||||
v-if="$i18n.locale === 'zh' && isDistinguishCriteria"
|
v-if="$i18n.locale === 'zh' && isDistinguishCriteria"
|
||||||
prop="AttachNameCN"
|
prop="AttachNameCN"
|
||||||
:label="$t('trials:emailManageCfg:title:fileName')"
|
:label="$t('trials:emailManageCfg:title:fileName')"
|
||||||
|
@ -227,9 +227,6 @@
|
||||||
min-width="140"
|
min-width="140"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<!-- <el-button v-if="scope.row.AttachPath" type="text" @click="handlePreview(scope.row.AttachPath)">
|
|
||||||
{{ scope.row.AttachName }}
|
|
||||||
</el-button> -->
|
|
||||||
<span
|
<span
|
||||||
v-if="scope.row.AttachPath"
|
v-if="scope.row.AttachPath"
|
||||||
@click="handlePreview(scope.row.AttachPath)"
|
@click="handlePreview(scope.row.AttachPath)"
|
||||||
|
@ -237,7 +234,7 @@
|
||||||
>{{ scope.row.AttachName }}</span
|
>{{ scope.row.AttachName }}</span
|
||||||
>
|
>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column> -->
|
||||||
<!-- 是否需要回执 -->
|
<!-- 是否需要回执 -->
|
||||||
<!-- <el-table-column
|
<!-- <el-table-column
|
||||||
prop="IsReturnRequired"
|
prop="IsReturnRequired"
|
||||||
|
|
|
@ -22,13 +22,24 @@
|
||||||
!hasPermi(['trials:trials-panel:setting:reading-unit:edit'])
|
!hasPermi(['trials:trials-panel:setting:reading-unit:edit'])
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
<el-radio
|
<template v-if="isUSA">
|
||||||
v-for="item of $d.ImagePlatform"
|
<el-radio
|
||||||
:key="item.id"
|
v-for="item of $d.ImagePlatformUSA"
|
||||||
:label="item.value"
|
:key="item.id"
|
||||||
>
|
:label="item.value"
|
||||||
{{ item.label }}
|
>
|
||||||
</el-radio>
|
{{ item.label }}
|
||||||
|
</el-radio>
|
||||||
|
</template>
|
||||||
|
<template v-else>
|
||||||
|
<el-radio
|
||||||
|
v-for="item of $d.ImagePlatform"
|
||||||
|
:key="item.id"
|
||||||
|
:label="item.value"
|
||||||
|
>
|
||||||
|
{{ item.label }}
|
||||||
|
</el-radio>
|
||||||
|
</template>
|
||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 阅片工具 -->
|
<!-- 阅片工具 -->
|
||||||
|
@ -374,7 +385,11 @@
|
||||||
v-for="item of $d.ImageDownloadEnum"
|
v-for="item of $d.ImageDownloadEnum"
|
||||||
:key="item.id"
|
:key="item.id"
|
||||||
:label="item.value"
|
:label="item.value"
|
||||||
:disabled="(form.IsReadingTaskViewInOrder === 1 || form.IsReadingTaskViewInOrder === 0) && item.value === 1"
|
:disabled="
|
||||||
|
(form.IsReadingTaskViewInOrder === 1 ||
|
||||||
|
form.IsReadingTaskViewInOrder === 0) &&
|
||||||
|
item.value === 1
|
||||||
|
"
|
||||||
>
|
>
|
||||||
{{ item.label }}
|
{{ item.label }}
|
||||||
</el-radio>
|
</el-radio>
|
||||||
|
@ -396,7 +411,11 @@
|
||||||
v-for="item of $d.ImageUploadEnum"
|
v-for="item of $d.ImageUploadEnum"
|
||||||
:key="item.id"
|
:key="item.id"
|
||||||
:label="item.value"
|
:label="item.value"
|
||||||
:disabled="(form.IsReadingTaskViewInOrder === 1 || form.IsReadingTaskViewInOrder === 0) && item.value === 1"
|
:disabled="
|
||||||
|
(form.IsReadingTaskViewInOrder === 1 ||
|
||||||
|
form.IsReadingTaskViewInOrder === 0) &&
|
||||||
|
item.value === 1
|
||||||
|
"
|
||||||
>
|
>
|
||||||
{{ item.label }}
|
{{ item.label }}
|
||||||
</el-radio>
|
</el-radio>
|
||||||
|
@ -793,6 +812,11 @@ export default {
|
||||||
mounted() {
|
mounted() {
|
||||||
this.initPage()
|
this.initPage()
|
||||||
},
|
},
|
||||||
|
computed: {
|
||||||
|
isUSA() {
|
||||||
|
return process.env.NODE_ENV === 'usa'
|
||||||
|
},
|
||||||
|
},
|
||||||
watch: {
|
watch: {
|
||||||
CriterionModalitys: {
|
CriterionModalitys: {
|
||||||
handler() {
|
handler() {
|
||||||
|
|
|
@ -1307,6 +1307,18 @@ export default {
|
||||||
// OldVal: this.initialForm.ClinicalDataSetNames.join(', ')
|
// OldVal: this.initialForm.ClinicalDataSetNames.join(', ')
|
||||||
// }
|
// }
|
||||||
]
|
]
|
||||||
|
this.form.TrialObjectNameList.forEach((item) => {
|
||||||
|
let old =
|
||||||
|
this.initialForm.TrialObjectNameList.find(
|
||||||
|
(d) => d.Name === item.Name
|
||||||
|
) || {}
|
||||||
|
let obj = {
|
||||||
|
Name: item.Name,
|
||||||
|
NewVal: item.TrialName,
|
||||||
|
OldVal: old.TrialName,
|
||||||
|
}
|
||||||
|
this.confirmData.push(obj)
|
||||||
|
})
|
||||||
},
|
},
|
||||||
// 筛选号规则提醒
|
// 筛选号规则提醒
|
||||||
subjectCodeRuleChange(val) {
|
subjectCodeRuleChange(val) {
|
||||||
|
@ -1323,35 +1335,6 @@ export default {
|
||||||
this.form[k] = res[k]
|
this.form[k] = res[k]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (
|
|
||||||
!this.form.TrialObjectNameList ||
|
|
||||||
(Array.isArray(this.form.TrialObjectNameList) &&
|
|
||||||
this.form.TrialObjectNameList.length <= 0)
|
|
||||||
) {
|
|
||||||
this.form.TrialObjectNameList = this.$d.Terminology.map((item) => {
|
|
||||||
return {
|
|
||||||
Name: item.label,
|
|
||||||
TrialName: item.label,
|
|
||||||
IsDefault: true,
|
|
||||||
}
|
|
||||||
})
|
|
||||||
} else if (
|
|
||||||
Array.isArray(this.form.TrialObjectNameList) &&
|
|
||||||
this.form.TrialObjectNameList.length > 0
|
|
||||||
) {
|
|
||||||
this.$d.Terminology.forEach((item) => {
|
|
||||||
if (
|
|
||||||
!this.form.TrialObjectNameList.find((d) => d.Name === item.label)
|
|
||||||
) {
|
|
||||||
this.form.TrialObjectNameList.push({
|
|
||||||
Name: item.label,
|
|
||||||
TrialName: item.label,
|
|
||||||
IsDefault: true,
|
|
||||||
})
|
|
||||||
}
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
let Modalitys = this.form.ModalityList.map((item) => {
|
let Modalitys = this.form.ModalityList.map((item) => {
|
||||||
return this.$fd('Modality', item.trim())
|
return this.$fd('Modality', item.trim())
|
||||||
})
|
})
|
||||||
|
@ -1373,6 +1356,37 @@ export default {
|
||||||
.replaceAll(',', ' | ')
|
.replaceAll(',', ' | ')
|
||||||
// this.form.ClinicalDataSetNamesStr = this.form.ClinicalDataSetNames.join(', ')
|
// this.form.ClinicalDataSetNamesStr = this.form.ClinicalDataSetNames.join(', ')
|
||||||
this.initialForm = { ...this.form }
|
this.initialForm = { ...this.form }
|
||||||
|
this.initialForm.TrialObjectNameList = JSON.parse(
|
||||||
|
JSON.stringify(this.form.TrialObjectNameList)
|
||||||
|
)
|
||||||
|
if (
|
||||||
|
!this.form.TrialObjectNameList ||
|
||||||
|
(Array.isArray(this.form.TrialObjectNameList) &&
|
||||||
|
this.form.TrialObjectNameList.length <= 0)
|
||||||
|
) {
|
||||||
|
this.form.TrialObjectNameList = this.$d.Terminology.map((item) => {
|
||||||
|
return {
|
||||||
|
Name: item.label,
|
||||||
|
TrialName: item.label,
|
||||||
|
IsDefault: true,
|
||||||
|
}
|
||||||
|
})
|
||||||
|
} else if (
|
||||||
|
Array.isArray(this.form.TrialObjectNameList) &&
|
||||||
|
this.form.TrialObjectNameList.length > 0
|
||||||
|
) {
|
||||||
|
this.$d.Terminology.forEach((item) => {
|
||||||
|
if (
|
||||||
|
!this.form.TrialObjectNameList.find((d) => d.Name === item.label)
|
||||||
|
) {
|
||||||
|
this.form.TrialObjectNameList.push({
|
||||||
|
Name: item.label,
|
||||||
|
TrialName: item.label,
|
||||||
|
IsDefault: true,
|
||||||
|
})
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
this.loading = false
|
this.loading = false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -62,7 +62,7 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 查询 -->
|
<!-- 查询 -->
|
||||||
<el-button type="primary" icon="el-icon-search" @click="handleSearch">
|
<el-button type="primary" icon="el-icon-search" @click="handleSearch">
|
||||||
{{ $t("common:button:search") }}
|
{{ $t('common:button:search') }}
|
||||||
</el-button>
|
</el-button>
|
||||||
<!-- 重置 -->
|
<!-- 重置 -->
|
||||||
<el-button
|
<el-button
|
||||||
|
@ -70,7 +70,7 @@
|
||||||
icon="el-icon-refresh-left"
|
icon="el-icon-refresh-left"
|
||||||
@click="handleReset"
|
@click="handleReset"
|
||||||
>
|
>
|
||||||
{{ $t("common:button:reset") }}
|
{{ $t('common:button:reset') }}
|
||||||
</el-button>
|
</el-button>
|
||||||
<!--导出一致性核查表-->
|
<!--导出一致性核查表-->
|
||||||
<el-button
|
<el-button
|
||||||
|
@ -78,7 +78,7 @@
|
||||||
icon="el-icon-download"
|
icon="el-icon-download"
|
||||||
@click="handleExport(1)"
|
@click="handleExport(1)"
|
||||||
>
|
>
|
||||||
{{ $t("trials:consistencyCheck:button:export1") }}
|
{{ $t('trials:consistencyCheck:button:export1') }}
|
||||||
</el-button>
|
</el-button>
|
||||||
<!-- 导出一致性核查记录表 -->
|
<!-- 导出一致性核查记录表 -->
|
||||||
<el-button
|
<el-button
|
||||||
|
@ -86,7 +86,7 @@
|
||||||
icon="el-icon-download"
|
icon="el-icon-download"
|
||||||
@click="handleExport(2)"
|
@click="handleExport(2)"
|
||||||
>
|
>
|
||||||
{{ $t("trials:consistencyCheck:button:export2") }}
|
{{ $t('trials:consistencyCheck:button:export2') }}
|
||||||
</el-button>
|
</el-button>
|
||||||
<!-- 下载模板 -->
|
<!-- 下载模板 -->
|
||||||
<el-button
|
<el-button
|
||||||
|
@ -95,7 +95,7 @@
|
||||||
icon="el-icon-download"
|
icon="el-icon-download"
|
||||||
@click="handleDownload"
|
@click="handleDownload"
|
||||||
>
|
>
|
||||||
{{ $t("trials:consistencyCheck:button:download") }}
|
{{ $t('trials:consistencyCheck:button:download') }}
|
||||||
</el-button>
|
</el-button>
|
||||||
</el-form>
|
</el-form>
|
||||||
<!-- 上传 -->
|
<!-- 上传 -->
|
||||||
|
@ -106,7 +106,7 @@
|
||||||
icon="el-icon-upload2"
|
icon="el-icon-upload2"
|
||||||
@click="handleOpenUploadDialog"
|
@click="handleOpenUploadDialog"
|
||||||
>
|
>
|
||||||
{{ $t("trials:consistencyCheck:button:upload") }}
|
{{ $t('trials:consistencyCheck:button:upload') }}
|
||||||
</el-button>
|
</el-button>
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
|
@ -133,10 +133,10 @@
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-tag v-if="scope.row.IsUrgent" type="danger">{{
|
<el-tag v-if="scope.row.IsUrgent" type="danger">{{
|
||||||
$fd("YesOrNo", scope.row.IsUrgent)
|
$fd('YesOrNo', scope.row.IsUrgent)
|
||||||
}}</el-tag>
|
}}</el-tag>
|
||||||
<el-tag v-else type="primary">{{
|
<el-tag v-else type="primary">{{
|
||||||
$fd("YesOrNo", scope.row.IsUrgent)
|
$fd('YesOrNo', scope.row.IsUrgent)
|
||||||
}}</el-tag>
|
}}</el-tag>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
@ -156,8 +156,8 @@
|
||||||
>
|
>
|
||||||
{{
|
{{
|
||||||
userTypeEnumInt === 2
|
userTypeEnumInt === 2
|
||||||
? $fd("CheckChallengeState", 1)
|
? $fd('CheckChallengeState', 1)
|
||||||
: $fd("CheckChallengeState", 2)
|
: $fd('CheckChallengeState', 2)
|
||||||
}}
|
}}
|
||||||
</el-tag>
|
</el-tag>
|
||||||
<el-tag
|
<el-tag
|
||||||
|
@ -166,12 +166,12 @@
|
||||||
>
|
>
|
||||||
{{
|
{{
|
||||||
userTypeEnumInt === 2
|
userTypeEnumInt === 2
|
||||||
? $fd("CheckChallengeState", 2)
|
? $fd('CheckChallengeState', 2)
|
||||||
: $fd("CheckChallengeState", 1)
|
: $fd('CheckChallengeState', 1)
|
||||||
}}
|
}}
|
||||||
</el-tag>
|
</el-tag>
|
||||||
<el-tag v-else-if="scope.row.CheckChallengeState === 3">{{
|
<el-tag v-else-if="scope.row.CheckChallengeState === 3">{{
|
||||||
$fd("CheckChallengeState", scope.row.CheckChallengeState)
|
$fd('CheckChallengeState', scope.row.CheckChallengeState)
|
||||||
}}</el-tag>
|
}}</el-tag>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
@ -202,7 +202,7 @@
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.VisitName }}</span>
|
<span>{{ scope.row.VisitName }}</span>
|
||||||
<span v-if="scope.row.IsCheckBack" class="status-primary-circle">{{
|
<span v-if="scope.row.IsCheckBack" class="status-primary-circle">{{
|
||||||
$t("trials:consistencyCheck:table:back")
|
$t('trials:consistencyCheck:table:back')
|
||||||
}}</span>
|
}}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
@ -227,8 +227,32 @@
|
||||||
width="140"
|
width="140"
|
||||||
sortable="custom"
|
sortable="custom"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<!-- <template slot-scope="scope">
|
||||||
<span>{{ scope.row.LatestScanDate.split(" ")[0] }}</span>
|
<span>{{ scope.row.LatestScanDate.split(" ")[0] }}</span>
|
||||||
|
</template> -->
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<el-tooltip
|
||||||
|
class="item"
|
||||||
|
effect="dark"
|
||||||
|
:content="`${
|
||||||
|
scope.row.EarliestScanDate
|
||||||
|
? moment(scope.row.EarliestScanDate).format('YYYY-MM-DD')
|
||||||
|
: ''
|
||||||
|
} ~ ${
|
||||||
|
scope.row.LatestScanDate
|
||||||
|
? moment(scope.row.LatestScanDate).format('YYYY-MM-DD')
|
||||||
|
: ''
|
||||||
|
}`"
|
||||||
|
placement="top"
|
||||||
|
>
|
||||||
|
<span>
|
||||||
|
{{
|
||||||
|
scope.row.LatestScanDate
|
||||||
|
? moment(scope.row.LatestScanDate).format('YYYY-MM-DD')
|
||||||
|
: ''
|
||||||
|
}}
|
||||||
|
</span>
|
||||||
|
</el-tooltip>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
||||||
|
@ -270,13 +294,13 @@
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span v-if="scope.row.CheckState === 0"> -- </span>
|
<span v-if="scope.row.CheckState === 0"> -- </span>
|
||||||
<el-tag v-else-if="scope.row.CheckState === 9" type="danger">{{
|
<el-tag v-else-if="scope.row.CheckState === 9" type="danger">{{
|
||||||
$fd("CheckState", scope.row.CheckState)
|
$fd('CheckState', scope.row.CheckState)
|
||||||
}}</el-tag>
|
}}</el-tag>
|
||||||
<el-tag v-else-if="scope.row.CheckState === 10" type="danger">{{
|
<el-tag v-else-if="scope.row.CheckState === 10" type="danger">{{
|
||||||
$fd("CheckState", scope.row.CheckState)
|
$fd('CheckState', scope.row.CheckState)
|
||||||
}}</el-tag>
|
}}</el-tag>
|
||||||
<el-tag v-else-if="scope.row.CheckState === 11">{{
|
<el-tag v-else-if="scope.row.CheckState === 11">{{
|
||||||
$fd("CheckState", scope.row.CheckState)
|
$fd('CheckState', scope.row.CheckState)
|
||||||
}}</el-tag>
|
}}</el-tag>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
@ -312,23 +336,23 @@
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span v-if="scope.row.RequestBackState * 1 === 0">{{
|
<span v-if="scope.row.RequestBackState * 1 === 0">{{
|
||||||
$fd("RequestBackState", scope.row.RequestBackState * 1)
|
$fd('RequestBackState', scope.row.RequestBackState * 1)
|
||||||
}}</span>
|
}}</span>
|
||||||
<el-tag v-else-if="scope.row.RequestBackState * 1 === 1">{{
|
<el-tag v-else-if="scope.row.RequestBackState * 1 === 1">{{
|
||||||
$fd("RequestBackState", scope.row.RequestBackState * 1)
|
$fd('RequestBackState', scope.row.RequestBackState * 1)
|
||||||
}}</el-tag>
|
}}</el-tag>
|
||||||
<el-tag
|
<el-tag
|
||||||
v-else-if="scope.row.RequestBackState * 1 === 2"
|
v-else-if="scope.row.RequestBackState * 1 === 2"
|
||||||
type="warning"
|
type="warning"
|
||||||
>{{
|
>{{
|
||||||
$fd("RequestBackState", scope.row.RequestBackState * 1)
|
$fd('RequestBackState', scope.row.RequestBackState * 1)
|
||||||
}}</el-tag
|
}}</el-tag
|
||||||
>
|
>
|
||||||
<el-tag
|
<el-tag
|
||||||
v-else-if="scope.row.RequestBackState * 1 === 3"
|
v-else-if="scope.row.RequestBackState * 1 === 3"
|
||||||
type="danger"
|
type="danger"
|
||||||
>{{
|
>{{
|
||||||
$fd("RequestBackState", scope.row.RequestBackState * 1)
|
$fd('RequestBackState', scope.row.RequestBackState * 1)
|
||||||
}}</el-tag
|
}}</el-tag
|
||||||
>
|
>
|
||||||
</template>
|
</template>
|
||||||
|
@ -396,9 +420,9 @@
|
||||||
<div class="remark">
|
<div class="remark">
|
||||||
<span class="status-primary-circle">
|
<span class="status-primary-circle">
|
||||||
<!-- 回退 -->
|
<!-- 回退 -->
|
||||||
{{ $t("trials:consistencyCheck:table:back") }}
|
{{ $t('trials:consistencyCheck:table:back') }}
|
||||||
</span>
|
</span>
|
||||||
<span>: {{ $t("trials:consistencyCheck:title:back") }}</span>
|
<span>: {{ $t('trials:consistencyCheck:title:back') }}</span>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -435,9 +459,9 @@
|
||||||
width="600px"
|
width="600px"
|
||||||
>
|
>
|
||||||
<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">{{
|
<span style="font-size: 12px; margin-left: 5px">{{
|
||||||
`(${$t("common:label:sign")}${currentUser})`
|
`(${$t('common:label:sign')}${currentUser})`
|
||||||
}}</span>
|
}}</span>
|
||||||
</div>
|
</div>
|
||||||
<SignForm
|
<SignForm
|
||||||
|
@ -539,11 +563,11 @@
|
||||||
size="small"
|
size="small"
|
||||||
type="primary"
|
type="primary"
|
||||||
@click="
|
@click="
|
||||||
ReasonVisible = false;
|
ReasonVisible = false
|
||||||
QuestionForm = { Type: null, Reason: null };
|
QuestionForm = { Type: null, Reason: null }
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
{{ $t("common:button:cancel") }}
|
{{ $t('common:button:cancel') }}
|
||||||
</el-button>
|
</el-button>
|
||||||
<!-- 保存 -->
|
<!-- 保存 -->
|
||||||
<el-button
|
<el-button
|
||||||
|
@ -552,7 +576,7 @@
|
||||||
type="primary"
|
type="primary"
|
||||||
@click="passOrCloes"
|
@click="passOrCloes"
|
||||||
>
|
>
|
||||||
{{ $t("common:button:save") }}
|
{{ $t('common:button:save') }}
|
||||||
</el-button>
|
</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
@ -573,32 +597,33 @@ import {
|
||||||
closeCheckChallenge,
|
closeCheckChallenge,
|
||||||
setCheckPass,
|
setCheckPass,
|
||||||
getCheckChallengeDialogList,
|
getCheckChallengeDialogList,
|
||||||
} from "@/api/trials";
|
} from '@/api/trials'
|
||||||
import { DownloadCommonDoc } from "@/api/dictionary";
|
import { DownloadCommonDoc } from '@/api/dictionary'
|
||||||
import {
|
import {
|
||||||
getDicomAndNoneDicomStudyList_Export,
|
getDicomAndNoneDicomStudyList_Export,
|
||||||
getConsistencyVerificationList_Export,
|
getConsistencyVerificationList_Export,
|
||||||
} from "@/api/export";
|
} from '@/api/export'
|
||||||
import { checkBack } from "@/api/trials/visit";
|
import { checkBack } from '@/api/trials/visit'
|
||||||
import BaseContainer from "@/components/BaseContainer";
|
import BaseContainer from '@/components/BaseContainer'
|
||||||
import BaseModel from "@/components/BaseModel";
|
import BaseModel from '@/components/BaseModel'
|
||||||
import ConsistencyCheckForm from "./components/consistencyCheckForm";
|
import ConsistencyCheckForm from './components/consistencyCheckForm'
|
||||||
import UploadExcel from "./components/uploadExcel";
|
import UploadExcel from './components/uploadExcel'
|
||||||
import SignForm from "@/views/trials/components/newSignForm";
|
import SignForm from '@/views/trials/components/newSignForm'
|
||||||
import Pagination from "@/components/Pagination";
|
import Pagination from '@/components/Pagination'
|
||||||
import const_ from "@/const/sign-code";
|
import const_ from '@/const/sign-code'
|
||||||
|
import moment from 'moment'
|
||||||
const searchDataDefault = () => {
|
const searchDataDefault = () => {
|
||||||
return {
|
return {
|
||||||
TrialSiteId: "",
|
TrialSiteId: '',
|
||||||
SubjectInfo: "",
|
SubjectInfo: '',
|
||||||
VisitPlanArray: [],
|
VisitPlanArray: [],
|
||||||
CheckState: null,
|
CheckState: null,
|
||||||
PageIndex: 1,
|
PageIndex: 1,
|
||||||
PageSize: 20,
|
PageSize: 20,
|
||||||
};
|
}
|
||||||
};
|
}
|
||||||
export default {
|
export default {
|
||||||
name: "ConsistencyCheck",
|
name: 'ConsistencyCheck',
|
||||||
components: {
|
components: {
|
||||||
BaseContainer,
|
BaseContainer,
|
||||||
Pagination,
|
Pagination,
|
||||||
|
@ -614,6 +639,7 @@ export default {
|
||||||
Reason: null,
|
Reason: null,
|
||||||
Remake: null,
|
Remake: null,
|
||||||
},
|
},
|
||||||
|
moment,
|
||||||
searchData: searchDataDefault(),
|
searchData: searchDataDefault(),
|
||||||
ReasonVisible: false,
|
ReasonVisible: false,
|
||||||
total: 0,
|
total: 0,
|
||||||
|
@ -625,170 +651,170 @@ export default {
|
||||||
currentDialogList: [],
|
currentDialogList: [],
|
||||||
siteOptions: [],
|
siteOptions: [],
|
||||||
visitPlanOptions: [],
|
visitPlanOptions: [],
|
||||||
userTypeEnumInt: zzSessionStorage.getItem("userTypeEnumInt") * 1,
|
userTypeEnumInt: zzSessionStorage.getItem('userTypeEnumInt') * 1,
|
||||||
upload_cfg: {
|
upload_cfg: {
|
||||||
visible: false,
|
visible: false,
|
||||||
title: this.$t("trials:consistencyCheck:button:upload"),
|
title: this.$t('trials:consistencyCheck:button:upload'),
|
||||||
width: "500px",
|
width: '500px',
|
||||||
showClose: true,
|
showClose: true,
|
||||||
},
|
},
|
||||||
rules: {
|
rules: {
|
||||||
Type: [
|
Type: [
|
||||||
{
|
{
|
||||||
required: true,
|
required: true,
|
||||||
message: this.$t("common:ruleMessage:specify"),
|
message: this.$t('common:ruleMessage:specify'),
|
||||||
trigger: "blur",
|
trigger: 'blur',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
Remake: [
|
Remake: [
|
||||||
{
|
{
|
||||||
required: true,
|
required: true,
|
||||||
message: this.$t("common:ruleMessage:specify"),
|
message: this.$t('common:ruleMessage:specify'),
|
||||||
trigger: "blur",
|
trigger: 'blur',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
signVisible: false,
|
signVisible: false,
|
||||||
signType: 0, // 0代表申请,1代表回退,2通过
|
signType: 0, // 0代表申请,1代表回退,2通过
|
||||||
currentUser: zzSessionStorage.getItem("userName"),
|
currentUser: zzSessionStorage.getItem('userName'),
|
||||||
OtherInfo: {},
|
OtherInfo: {},
|
||||||
signCode: "",
|
signCode: '',
|
||||||
trialId: this.$route.query.trialId,
|
trialId: this.$route.query.trialId,
|
||||||
isReply: false,
|
isReply: false,
|
||||||
ReasonTitle: null,
|
ReasonTitle: null,
|
||||||
};
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.getList();
|
this.getList()
|
||||||
this.getSite();
|
this.getSite()
|
||||||
this.getVisitPlanOptions();
|
this.getVisitPlanOptions()
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
chatVisible() {
|
chatVisible() {
|
||||||
if (!this.chatVisible) {
|
if (!this.chatVisible) {
|
||||||
this.$store.state.trials.checkTaskId = null;
|
this.$store.state.trials.checkTaskId = null
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
beforeClose() {
|
beforeClose() {
|
||||||
this.chatVisible = false;
|
this.chatVisible = false
|
||||||
this.$store.state.trials.checkTaskId = null;
|
this.$store.state.trials.checkTaskId = null
|
||||||
},
|
},
|
||||||
handleExport(type) {
|
handleExport(type) {
|
||||||
if (type === 1) {
|
if (type === 1) {
|
||||||
getDicomAndNoneDicomStudyList_Export(this.searchData)
|
getDicomAndNoneDicomStudyList_Export(this.searchData)
|
||||||
.then((res) => {})
|
.then((res) => {})
|
||||||
.catch(() => {
|
.catch(() => {
|
||||||
this.loading = false;
|
this.loading = false
|
||||||
});
|
})
|
||||||
} else {
|
} else {
|
||||||
getConsistencyVerificationList_Export(this.searchData)
|
getConsistencyVerificationList_Export(this.searchData)
|
||||||
.then((res) => {})
|
.then((res) => {})
|
||||||
.catch(() => {
|
.catch(() => {
|
||||||
this.loading = false;
|
this.loading = false
|
||||||
});
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
typeChange(v) {
|
typeChange(v) {
|
||||||
if (v === (this.currentRow.type === "pass" ? 4 : 2)) {
|
if (v === (this.currentRow.type === 'pass' ? 4 : 2)) {
|
||||||
this.QuestionForm.Reason = null;
|
this.QuestionForm.Reason = null
|
||||||
this.QuestionForm.Remake = null;
|
this.QuestionForm.Remake = null
|
||||||
} else {
|
} else {
|
||||||
this.QuestionForm.Reason = this.$t(
|
this.QuestionForm.Reason = this.$t(
|
||||||
`trials:check:radio:${this.currentRow.type}reason${v}`
|
`trials:check:radio:${this.currentRow.type}reason${v}`
|
||||||
);
|
)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
passOrCloes() {
|
passOrCloes() {
|
||||||
if (this.currentRow.type === "pass") {
|
if (this.currentRow.type === 'pass') {
|
||||||
this.pass();
|
this.pass()
|
||||||
} else {
|
} else {
|
||||||
this.handleClose(this.currentRow);
|
this.handleClose(this.currentRow)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
handleOpenReason(row, type) {
|
handleOpenReason(row, type) {
|
||||||
if (type === "pass") {
|
if (type === 'pass') {
|
||||||
// 手动通过一次性核查原因
|
// 手动通过一次性核查原因
|
||||||
this.ReasonTitle = this.$t(
|
this.ReasonTitle = this.$t(
|
||||||
"trials:consistencyCheck:dialogTitle:xfpassManually"
|
'trials:consistencyCheck:dialogTitle:xfpassManually'
|
||||||
);
|
)
|
||||||
} else {
|
} else {
|
||||||
// 关闭一致性核查原因
|
// 关闭一致性核查原因
|
||||||
this.ReasonTitle = this.$t(
|
this.ReasonTitle = this.$t(
|
||||||
"trials:consistencyCheck:dialogTitle:xfclose"
|
'trials:consistencyCheck:dialogTitle:xfclose'
|
||||||
);
|
)
|
||||||
}
|
}
|
||||||
this.currentRow = { ...row, Reason: null };
|
this.currentRow = { ...row, Reason: null }
|
||||||
this.currentRow.type = type;
|
this.currentRow.type = type
|
||||||
this.QuestionForm = {
|
this.QuestionForm = {
|
||||||
Type: null,
|
Type: null,
|
||||||
Reason: null,
|
Reason: null,
|
||||||
Remake: null,
|
Remake: null,
|
||||||
};
|
}
|
||||||
this.ReasonVisible = true;
|
this.ReasonVisible = true
|
||||||
},
|
},
|
||||||
// 获取质疑列表
|
// 获取质疑列表
|
||||||
getList() {
|
getList() {
|
||||||
this.loading = true;
|
this.loading = true
|
||||||
this.searchData.TrialId = this.trialId;
|
this.searchData.TrialId = this.trialId
|
||||||
getConsistencyVerificationList(this.searchData)
|
getConsistencyVerificationList(this.searchData)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
this.loading = false;
|
this.loading = false
|
||||||
this.list = res.Result.CurrentPageData;
|
this.list = res.Result.CurrentPageData
|
||||||
this.total = res.Result.TotalCount;
|
this.total = res.Result.TotalCount
|
||||||
this.OtherInfo = res.OtherInfo;
|
this.OtherInfo = res.OtherInfo
|
||||||
})
|
})
|
||||||
.catch(() => {
|
.catch(() => {
|
||||||
this.loading = false;
|
this.loading = false
|
||||||
});
|
})
|
||||||
},
|
},
|
||||||
// 回复质疑
|
// 回复质疑
|
||||||
handleReply(row) {
|
handleReply(row) {
|
||||||
this.loading = true;
|
this.loading = true
|
||||||
getCheckChallengeDialogList(row.Id)
|
getCheckChallengeDialogList(row.Id)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
this.loading = false;
|
this.loading = false
|
||||||
if (res.IsSuccess) {
|
if (res.IsSuccess) {
|
||||||
Object.assign(row, res.Result.SubjectVisitCheck);
|
Object.assign(row, res.Result.SubjectVisitCheck)
|
||||||
this.currentRow = { ...row };
|
this.currentRow = { ...row }
|
||||||
this.$store.state.trials.checkTaskId = row.Id;
|
this.$store.state.trials.checkTaskId = row.Id
|
||||||
this.currentDialogList = res.Result.DialogList;
|
this.currentDialogList = res.Result.DialogList
|
||||||
this.isReply = true;
|
this.isReply = true
|
||||||
this.chatVisible = true;
|
this.chatVisible = true
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.catch(() => {
|
.catch(() => {
|
||||||
this.loading = false;
|
this.loading = false
|
||||||
});
|
})
|
||||||
},
|
},
|
||||||
getDialogList() {
|
getDialogList() {
|
||||||
this.loading = true;
|
this.loading = true
|
||||||
this.$refs["chatForm"].loading = true;
|
this.$refs['chatForm'].loading = true
|
||||||
getCheckChallengeDialogList(this.currentRow.Id)
|
getCheckChallengeDialogList(this.currentRow.Id)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
this.loading = false;
|
this.loading = false
|
||||||
if (res.IsSuccess) {
|
if (res.IsSuccess) {
|
||||||
var i = this.list.findIndex(
|
var i = this.list.findIndex(
|
||||||
(item) => item.Id === this.currentRow.Id
|
(item) => item.Id === this.currentRow.Id
|
||||||
);
|
)
|
||||||
if (i > -1) {
|
if (i > -1) {
|
||||||
this.currentRow = Object.assign(
|
this.currentRow = Object.assign(
|
||||||
this.list[i],
|
this.list[i],
|
||||||
res.Result.SubjectVisitCheck
|
res.Result.SubjectVisitCheck
|
||||||
);
|
)
|
||||||
this.currentDialogList = res.Result.DialogList;
|
this.currentDialogList = res.Result.DialogList
|
||||||
this.$refs["chatForm"].addMessage(
|
this.$refs['chatForm'].addMessage(
|
||||||
res.Result.DialogList[res.Result.DialogList.length - 1]
|
res.Result.DialogList[res.Result.DialogList.length - 1]
|
||||||
);
|
)
|
||||||
// this.$refs['chatForm'].getMessageList(res.Result.DialogList)
|
// this.$refs['chatForm'].getMessageList(res.Result.DialogList)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.catch(() => {
|
.catch(() => {
|
||||||
this.loading = false;
|
this.loading = false
|
||||||
this.$refs["chatForm"].loading = false;
|
this.$refs['chatForm'].loading = false
|
||||||
});
|
})
|
||||||
},
|
},
|
||||||
// 回退
|
// 回退
|
||||||
// handleBack(row) {
|
// handleBack(row) {
|
||||||
|
@ -799,127 +825,125 @@ export default {
|
||||||
// this.signVisible = true
|
// this.signVisible = true
|
||||||
// },
|
// },
|
||||||
handleBack() {
|
handleBack() {
|
||||||
this.signType = 1;
|
this.signType = 1
|
||||||
const { DataFallback } = const_.processSignature;
|
const { DataFallback } = const_.processSignature
|
||||||
this.signCode = DataFallback;
|
this.signCode = DataFallback
|
||||||
this.signVisible = true;
|
this.signVisible = true
|
||||||
},
|
},
|
||||||
pass() {
|
pass() {
|
||||||
this.$refs.reasonForm.validate((valid) => {
|
this.$refs.reasonForm.validate((valid) => {
|
||||||
if (!valid) return;
|
if (!valid) return
|
||||||
this.btnLoading = true;
|
this.btnLoading = true
|
||||||
if (this.QuestionForm.Type === 4) {
|
if (this.QuestionForm.Type === 4) {
|
||||||
// 问题无法解决强制关闭质疑,已提醒中心下次注意
|
// 问题无法解决强制关闭质疑,已提醒中心下次注意
|
||||||
this.QuestionForm.Reason = `${this.QuestionForm.Remake}`;
|
this.QuestionForm.Reason = `${this.QuestionForm.Remake}`
|
||||||
}
|
}
|
||||||
var params = {
|
var params = {
|
||||||
Id: this.currentRow.Id,
|
Id: this.currentRow.Id,
|
||||||
ManualPassReason: this.QuestionForm.Reason,
|
ManualPassReason: this.QuestionForm.Reason,
|
||||||
};
|
}
|
||||||
setCheckPass(this.trialId, params)
|
setCheckPass(this.trialId, params)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
this.btnLoading = false;
|
this.btnLoading = false
|
||||||
if (res.IsSuccess) {
|
if (res.IsSuccess) {
|
||||||
this.getList();
|
this.getList()
|
||||||
this.QuestionForm.Type = null;
|
this.QuestionForm.Type = null
|
||||||
this.ReasonVisible = false;
|
this.ReasonVisible = false
|
||||||
this.$message.success(
|
this.$message.success(this.$t('common:message:savedSuccessfully'))
|
||||||
this.$t("common:message:savedSuccessfully")
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.catch(() => {
|
.catch(() => {
|
||||||
this.btnLoading = false;
|
this.btnLoading = false
|
||||||
});
|
})
|
||||||
});
|
})
|
||||||
},
|
},
|
||||||
back(signInfo) {
|
back(signInfo) {
|
||||||
this.loading = true;
|
this.loading = true
|
||||||
var params = {
|
var params = {
|
||||||
data: { id: this.currentRow.Id },
|
data: { id: this.currentRow.Id },
|
||||||
signInfo: signInfo,
|
signInfo: signInfo,
|
||||||
};
|
}
|
||||||
checkBack(params)
|
checkBack(params)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
this.loading = false;
|
this.loading = false
|
||||||
if (signInfo) {
|
if (signInfo) {
|
||||||
this.$refs["signForm"].btnLoading = false;
|
this.$refs['signForm'].btnLoading = false
|
||||||
this.signVisible = false;
|
this.signVisible = false
|
||||||
}
|
}
|
||||||
if (res.IsSuccess) {
|
if (res.IsSuccess) {
|
||||||
this.getList();
|
this.getList()
|
||||||
// this.getDialogList()
|
// this.getDialogList()
|
||||||
this.chatVisible = false;
|
this.chatVisible = false
|
||||||
// 回退成功
|
// 回退成功
|
||||||
this.$message.success(
|
this.$message.success(
|
||||||
this.$t("trials:consistencyCheck:message:fallbackSuccessfully")
|
this.$t('trials:consistencyCheck:message:fallbackSuccessfully')
|
||||||
);
|
)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.catch(() => {
|
.catch(() => {
|
||||||
this.loading = false;
|
this.loading = false
|
||||||
if (signInfo) {
|
if (signInfo) {
|
||||||
this.$refs["signForm"].btnLoading = false;
|
this.$refs['signForm'].btnLoading = false
|
||||||
}
|
}
|
||||||
});
|
})
|
||||||
},
|
},
|
||||||
// 关闭质疑
|
// 关闭质疑
|
||||||
handleClose(row) {
|
handleClose(row) {
|
||||||
this.$refs.reasonForm.validate((valid) => {
|
this.$refs.reasonForm.validate((valid) => {
|
||||||
if (!valid) return;
|
if (!valid) return
|
||||||
var item = Object.assign({}, row);
|
var item = Object.assign({}, row)
|
||||||
item.CheckChallengeState = 3;
|
item.CheckChallengeState = 3
|
||||||
this.btnLoading = true;
|
this.btnLoading = true
|
||||||
if (this.QuestionForm.Type === 2) {
|
if (this.QuestionForm.Type === 2) {
|
||||||
// 问题无法解决强制关闭质疑,已提醒中心下次注意
|
// 问题无法解决强制关闭质疑,已提醒中心下次注意
|
||||||
this.QuestionForm.Reason = `${this.$t(
|
this.QuestionForm.Reason = `${this.$t(
|
||||||
"trials:qcQuality:message:problemNotSolved"
|
'trials:qcQuality:message:problemNotSolved'
|
||||||
)}<br/><br/>${this.$t("trials:consistencyCheck:title:note")}${
|
)}<br/><br/>${this.$t('trials:consistencyCheck:title:note')}${
|
||||||
this.QuestionForm.Remake
|
this.QuestionForm.Remake
|
||||||
}`;
|
}`
|
||||||
}
|
}
|
||||||
var params = {
|
var params = {
|
||||||
SubjectVisitId: row.Id,
|
SubjectVisitId: row.Id,
|
||||||
CloseCheckChallenge: this.QuestionForm.Reason,
|
CloseCheckChallenge: this.QuestionForm.Reason,
|
||||||
};
|
}
|
||||||
closeCheckChallenge(this.trialId, params)
|
closeCheckChallenge(this.trialId, params)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
this.btnLoading = false;
|
this.btnLoading = false
|
||||||
if (res.IsSuccess) {
|
if (res.IsSuccess) {
|
||||||
this.getList();
|
this.getList()
|
||||||
this.ReasonVisible = false;
|
this.ReasonVisible = false
|
||||||
this.QuestionForm.Type = null;
|
this.QuestionForm.Type = null
|
||||||
// 关闭成功
|
// 关闭成功
|
||||||
this.$message.success(
|
this.$message.success(
|
||||||
this.$t("trials:consistencyCheck:message:closedSuccessfully")
|
this.$t('trials:consistencyCheck:message:closedSuccessfully')
|
||||||
);
|
)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.catch(() => {
|
.catch(() => {
|
||||||
this.btnLoading = false;
|
this.btnLoading = false
|
||||||
});
|
})
|
||||||
});
|
})
|
||||||
},
|
},
|
||||||
handleDownload() {
|
handleDownload() {
|
||||||
this.loading = true;
|
this.loading = true
|
||||||
DownloadCommonDoc("VisitCheck_Template")
|
DownloadCommonDoc('VisitCheck_Template')
|
||||||
.then((data) => {
|
.then((data) => {
|
||||||
this.loading = false;
|
this.loading = false
|
||||||
})
|
})
|
||||||
.catch(() => {
|
.catch(() => {
|
||||||
this.loading = false;
|
this.loading = false
|
||||||
});
|
})
|
||||||
},
|
},
|
||||||
// 打开上传excel弹窗
|
// 打开上传excel弹窗
|
||||||
handleOpenUploadDialog() {
|
handleOpenUploadDialog() {
|
||||||
this.upload_cfg.visible = true;
|
this.upload_cfg.visible = true
|
||||||
this.upload_cfg.title = this.$t("common:button:upload");
|
this.upload_cfg.title = this.$t('common:button:upload')
|
||||||
},
|
},
|
||||||
// 查看
|
// 查看
|
||||||
handleView(row) {
|
handleView(row) {
|
||||||
this.currentRow = { ...row };
|
this.currentRow = { ...row }
|
||||||
this.isReply = false;
|
this.isReply = false
|
||||||
this.chatVisible = true;
|
this.chatVisible = true
|
||||||
},
|
},
|
||||||
// crc申请回退
|
// crc申请回退
|
||||||
// handleApplyBack(row) {
|
// handleApplyBack(row) {
|
||||||
|
@ -933,92 +957,92 @@ export default {
|
||||||
// }).catch(() => {})
|
// }).catch(() => {})
|
||||||
// },
|
// },
|
||||||
handleApplyBack() {
|
handleApplyBack() {
|
||||||
this.$confirm(this.$t("trials:consistencyCheck:message:apply"), {
|
this.$confirm(this.$t('trials:consistencyCheck:message:apply'), {
|
||||||
type: "warning",
|
type: 'warning',
|
||||||
distinguishCancelAndClose: true,
|
distinguishCancelAndClose: true,
|
||||||
})
|
})
|
||||||
.then(() => {
|
.then(() => {
|
||||||
this.apply();
|
this.apply()
|
||||||
})
|
})
|
||||||
.catch(() => {});
|
.catch(() => {})
|
||||||
},
|
},
|
||||||
apply() {
|
apply() {
|
||||||
this.loading = true;
|
this.loading = true
|
||||||
cRCRequstCheckBack(this.trialId, this.currentRow.Id)
|
cRCRequstCheckBack(this.trialId, this.currentRow.Id)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
this.loading = false;
|
this.loading = false
|
||||||
if (res.IsSuccess) {
|
if (res.IsSuccess) {
|
||||||
// this.getList()
|
// this.getList()
|
||||||
this.getDialogList();
|
this.getDialogList()
|
||||||
// 申请成功
|
// 申请成功
|
||||||
// this.$message.success(this.$t('trials:consistencyCheck:message:appledSuccessfully'))
|
// this.$message.success(this.$t('trials:consistencyCheck:message:appledSuccessfully'))
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.catch(() => {
|
.catch(() => {
|
||||||
this.loading = false;
|
this.loading = false
|
||||||
});
|
})
|
||||||
},
|
},
|
||||||
// 关闭签名弹窗
|
// 关闭签名弹窗
|
||||||
closeSignDialog(isRefresh, signInfo) {
|
closeSignDialog(isRefresh, signInfo) {
|
||||||
if (!isRefresh) {
|
if (!isRefresh) {
|
||||||
this.signVisible = false;
|
this.signVisible = false
|
||||||
} else {
|
} else {
|
||||||
// 1代表回退,2通过
|
// 1代表回退,2通过
|
||||||
if (this.signType === 1) {
|
if (this.signType === 1) {
|
||||||
this.back(signInfo);
|
this.back(signInfo)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 通过一致性核查
|
// 通过一致性核查
|
||||||
handlePassCheck(row) {
|
handlePassCheck(row) {
|
||||||
this.signType = 2;
|
this.signType = 2
|
||||||
this.currentRow = { ...row };
|
this.currentRow = { ...row }
|
||||||
const { ConsistencyCheckPassed } = const_.processSignature;
|
const { ConsistencyCheckPassed } = const_.processSignature
|
||||||
this.signCode = ConsistencyCheckPassed;
|
this.signCode = ConsistencyCheckPassed
|
||||||
this.signVisible = true;
|
this.signVisible = true
|
||||||
},
|
},
|
||||||
// 重置
|
// 重置
|
||||||
handleReset() {
|
handleReset() {
|
||||||
this.searchData = searchDataDefault();
|
this.searchData = searchDataDefault()
|
||||||
this.getList();
|
this.getList()
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$refs.consistencyTable.clearSort();
|
this.$refs.consistencyTable.clearSort()
|
||||||
});
|
})
|
||||||
},
|
},
|
||||||
// 查询
|
// 查询
|
||||||
handleSearch() {
|
handleSearch() {
|
||||||
this.searchData.PageIndex = 1;
|
this.searchData.PageIndex = 1
|
||||||
this.getList();
|
this.getList()
|
||||||
},
|
},
|
||||||
// 排序
|
// 排序
|
||||||
handleSortByColumn(column) {
|
handleSortByColumn(column) {
|
||||||
if (column.order === "ascending") {
|
if (column.order === 'ascending') {
|
||||||
this.searchData.Asc = true;
|
this.searchData.Asc = true
|
||||||
} else {
|
} else {
|
||||||
this.searchData.Asc = false;
|
this.searchData.Asc = false
|
||||||
}
|
}
|
||||||
this.searchData.SortField = column.prop;
|
this.searchData.SortField = column.prop
|
||||||
this.searchData.PageIndex = 1;
|
this.searchData.PageIndex = 1
|
||||||
this.getList();
|
this.getList()
|
||||||
},
|
},
|
||||||
refreshTable() {
|
refreshTable() {
|
||||||
this.upload_cfg.visible = false;
|
this.upload_cfg.visible = false
|
||||||
this.getList();
|
this.getList()
|
||||||
},
|
},
|
||||||
// 获取site下拉框数据
|
// 获取site下拉框数据
|
||||||
getSite() {
|
getSite() {
|
||||||
getTrialSiteSelect(this.trialId).then((res) => {
|
getTrialSiteSelect(this.trialId).then((res) => {
|
||||||
this.siteOptions = res.Result;
|
this.siteOptions = res.Result
|
||||||
});
|
})
|
||||||
},
|
},
|
||||||
// 获取访视下拉框数据
|
// 获取访视下拉框数据
|
||||||
getVisitPlanOptions() {
|
getVisitPlanOptions() {
|
||||||
getTrialVisitStageSelect(this.trialId).then((res) => {
|
getTrialVisitStageSelect(this.trialId).then((res) => {
|
||||||
this.visitPlanOptions = res.Result;
|
this.visitPlanOptions = res.Result
|
||||||
});
|
})
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
}
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.consistency-list {
|
.consistency-list {
|
||||||
|
|
|
@ -144,7 +144,7 @@
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<!-- 查询 -->
|
<!-- 查询 -->
|
||||||
<el-button type="primary" icon="el-icon-search" @click="handleSearch">
|
<el-button type="primary" icon="el-icon-search" @click="handleSearch">
|
||||||
{{ $t("common:button:search") }}
|
{{ $t('common:button:search') }}
|
||||||
</el-button>
|
</el-button>
|
||||||
<!-- 重置 -->
|
<!-- 重置 -->
|
||||||
<el-button
|
<el-button
|
||||||
|
@ -152,7 +152,7 @@
|
||||||
icon="el-icon-refresh-left"
|
icon="el-icon-refresh-left"
|
||||||
@click="handleReset"
|
@click="handleReset"
|
||||||
>
|
>
|
||||||
{{ $t("common:button:reset") }}
|
{{ $t('common:button:reset') }}
|
||||||
</el-button>
|
</el-button>
|
||||||
<!-- 导出 -->
|
<!-- 导出 -->
|
||||||
<el-button
|
<el-button
|
||||||
|
@ -161,7 +161,7 @@
|
||||||
:loading="exportLoading"
|
:loading="exportLoading"
|
||||||
@click="handleExport"
|
@click="handleExport"
|
||||||
>
|
>
|
||||||
{{ $t("common:button:export") }}
|
{{ $t('common:button:export') }}
|
||||||
</el-button>
|
</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
|
@ -229,7 +229,7 @@
|
||||||
:disabled="!(userTypeEnumInt === 1 || userTypeEnumInt === 3)"
|
:disabled="!(userTypeEnumInt === 1 || userTypeEnumInt === 3)"
|
||||||
@click="handleUrgentStatus(scope.row)"
|
@click="handleUrgentStatus(scope.row)"
|
||||||
>
|
>
|
||||||
{{ $fd("YesOrNo", scope.row.IsUrgent) }}
|
{{ $fd('YesOrNo', scope.row.IsUrgent) }}
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button
|
<el-button
|
||||||
v-else-if="
|
v-else-if="
|
||||||
|
@ -241,14 +241,14 @@
|
||||||
:disabled="!(userTypeEnumInt === 1 || userTypeEnumInt === 3)"
|
:disabled="!(userTypeEnumInt === 1 || userTypeEnumInt === 3)"
|
||||||
@click="handleUrgentStatus(scope.row)"
|
@click="handleUrgentStatus(scope.row)"
|
||||||
>
|
>
|
||||||
{{ $fd("YesOrNo", scope.row.IsUrgent) }}
|
{{ $fd('YesOrNo', scope.row.IsUrgent) }}
|
||||||
</el-button>
|
</el-button>
|
||||||
<span v-else>
|
<span v-else>
|
||||||
<el-tag v-if="scope.row.IsUrgent" type="danger">
|
<el-tag v-if="scope.row.IsUrgent" type="danger">
|
||||||
{{ $fd("YesOrNo", scope.row.IsUrgent) }}
|
{{ $fd('YesOrNo', scope.row.IsUrgent) }}
|
||||||
</el-tag>
|
</el-tag>
|
||||||
<el-tag v-else type="primary">
|
<el-tag v-else type="primary">
|
||||||
{{ $fd("YesOrNo", scope.row.IsUrgent) }}
|
{{ $fd('YesOrNo', scope.row.IsUrgent) }}
|
||||||
</el-tag>
|
</el-tag>
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
|
@ -290,22 +290,22 @@
|
||||||
</span>
|
</span>
|
||||||
<!-- PD -->
|
<!-- PD -->
|
||||||
<span v-if="scope.row.PDState" class="status-primary-circle">
|
<span v-if="scope.row.PDState" class="status-primary-circle">
|
||||||
{{ $t("trials:crcUpload:label:pd") }}
|
{{ $t('trials:crcUpload:label:pd') }}
|
||||||
</span>
|
</span>
|
||||||
<!-- 失 -->
|
<!-- 失 -->
|
||||||
<span v-if="scope.row.IsLostVisit" class="status-primary-circle">
|
<span v-if="scope.row.IsLostVisit" class="status-primary-circle">
|
||||||
{{ $t("trials:crcUpload:label:lostVisit") }}
|
{{ $t('trials:crcUpload:label:lostVisit') }}
|
||||||
</span>
|
</span>
|
||||||
<!-- 末 -->
|
<!-- 末 -->
|
||||||
<span v-if="scope.row.IsFinalVisit" class="status-primary-circle">
|
<span v-if="scope.row.IsFinalVisit" class="status-primary-circle">
|
||||||
{{ $t("trials:crcUpload:label:finalVisit") }}
|
{{ $t('trials:crcUpload:label:finalVisit') }}
|
||||||
</span>
|
</span>
|
||||||
<!-- 入 -->
|
<!-- 入 -->
|
||||||
<span
|
<span
|
||||||
v-if="scope.row.IsEnrollmentConfirm"
|
v-if="scope.row.IsEnrollmentConfirm"
|
||||||
class="status-primary-circle"
|
class="status-primary-circle"
|
||||||
>
|
>
|
||||||
{{ $t("trials:crcUpload:label:enrollmentConfirm") }}
|
{{ $t('trials:crcUpload:label:enrollmentConfirm') }}
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
@ -320,7 +320,7 @@
|
||||||
<el-tooltip placement="bottom">
|
<el-tooltip placement="bottom">
|
||||||
<div slot="content">
|
<div slot="content">
|
||||||
<span
|
<span
|
||||||
>{{ $t("trials:crcUpload:label:dicom") }}:
|
>{{ $t('trials:crcUpload:label:dicom') }}:
|
||||||
{{ scope.row.DicomStudyCount }},
|
{{ scope.row.DicomStudyCount }},
|
||||||
</span>
|
</span>
|
||||||
<span
|
<span
|
||||||
|
@ -330,16 +330,16 @@
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
>{{ $t("trials:crcUpload:label:noneDicom") }}:
|
>{{ $t('trials:crcUpload:label:noneDicom') }}:
|
||||||
{{ scope.row.NoneDicomStudyCount }},
|
{{ scope.row.NoneDicomStudyCount }},
|
||||||
</span>
|
</span>
|
||||||
<span
|
<span
|
||||||
>{{ $t("trials:crcUpload:label:clinicalData") }}:
|
>{{ $t('trials:crcUpload:label:clinicalData') }}:
|
||||||
{{ scope.row.IsHaveClinicalData ? "w/" : "w/o" }}</span
|
{{ scope.row.IsHaveClinicalData ? 'w/' : 'w/o' }}</span
|
||||||
>
|
>
|
||||||
</span>
|
</span>
|
||||||
<span v-else
|
<span v-else
|
||||||
>{{ $t("trials:crcUpload:label:noneDicom") }}:
|
>{{ $t('trials:crcUpload:label:noneDicom') }}:
|
||||||
{{ scope.row.NoneDicomStudyCount }}</span
|
{{ scope.row.NoneDicomStudyCount }}</span
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
|
@ -350,19 +350,19 @@
|
||||||
? [
|
? [
|
||||||
scope.row.DicomStudyCount,
|
scope.row.DicomStudyCount,
|
||||||
scope.row.NoneDicomStudyCount,
|
scope.row.NoneDicomStudyCount,
|
||||||
scope.row.IsHaveClinicalData ? "w/" : "w/o",
|
scope.row.IsHaveClinicalData ? 'w/' : 'w/o',
|
||||||
].join(", ")
|
].join(', ')
|
||||||
: [
|
: [
|
||||||
scope.row.DicomStudyCount,
|
scope.row.DicomStudyCount,
|
||||||
scope.row.NoneDicomStudyCount,
|
scope.row.NoneDicomStudyCount,
|
||||||
].join(", ")
|
].join(', ')
|
||||||
}}
|
}}
|
||||||
</span>
|
</span>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<!-- 最早拍片日期 -->
|
<!-- 最早拍片日期 -->
|
||||||
<el-table-column
|
<!-- <el-table-column
|
||||||
prop="EarliestScanDate"
|
prop="EarliestScanDate"
|
||||||
:label="$t('trials:qcCheck:table:eScanDate')"
|
:label="$t('trials:qcCheck:table:eScanDate')"
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
|
@ -376,7 +376,7 @@
|
||||||
: ""
|
: ""
|
||||||
}}
|
}}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column> -->
|
||||||
<!-- 最晚拍片日期 -->
|
<!-- 最晚拍片日期 -->
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="LatestScanDate"
|
prop="LatestScanDate"
|
||||||
|
@ -386,11 +386,28 @@
|
||||||
sortable="custom"
|
sortable="custom"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{
|
<el-tooltip
|
||||||
scope.row.LatestScanDate
|
class="item"
|
||||||
? moment(scope.row.LatestScanDate).format("YYYY-MM-DD")
|
effect="dark"
|
||||||
: ""
|
:content="`${
|
||||||
}}
|
scope.row.EarliestScanDate
|
||||||
|
? moment(scope.row.EarliestScanDate).format('YYYY-MM-DD')
|
||||||
|
: ''
|
||||||
|
} ~ ${
|
||||||
|
scope.row.LatestScanDate
|
||||||
|
? moment(scope.row.LatestScanDate).format('YYYY-MM-DD')
|
||||||
|
: ''
|
||||||
|
}`"
|
||||||
|
placement="top"
|
||||||
|
>
|
||||||
|
<span>
|
||||||
|
{{
|
||||||
|
scope.row.LatestScanDate
|
||||||
|
? moment(scope.row.LatestScanDate).format('YYYY-MM-DD')
|
||||||
|
: ''
|
||||||
|
}}
|
||||||
|
</span>
|
||||||
|
</el-tooltip>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<!-- 提交时间 -->
|
<!-- 提交时间 -->
|
||||||
|
@ -420,7 +437,7 @@
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span v-if="scope.row.AuditState * 1 === 0">--</span>
|
<span v-if="scope.row.AuditState * 1 === 0">--</span>
|
||||||
<el-tag v-else-if="scope.row.AuditState * 1 === 3" type="warning">{{
|
<el-tag v-else-if="scope.row.AuditState * 1 === 3" type="warning">{{
|
||||||
$fd("AuditStatePE", scope.row.AuditState * 1)
|
$fd('AuditStatePE', scope.row.AuditState * 1)
|
||||||
}}</el-tag>
|
}}</el-tag>
|
||||||
<el-tag
|
<el-tag
|
||||||
v-else-if="
|
v-else-if="
|
||||||
|
@ -428,7 +445,7 @@
|
||||||
"
|
"
|
||||||
type="warning"
|
type="warning"
|
||||||
>
|
>
|
||||||
{{ $fd("AuditStatePE", scope.row.AuditState * 1) }}
|
{{ $fd('AuditStatePE', scope.row.AuditState * 1) }}
|
||||||
</el-tag>
|
</el-tag>
|
||||||
<el-tag
|
<el-tag
|
||||||
v-else-if="
|
v-else-if="
|
||||||
|
@ -436,7 +453,7 @@
|
||||||
"
|
"
|
||||||
type="warning"
|
type="warning"
|
||||||
>
|
>
|
||||||
{{ $fd("AuditStateRC", scope.row.AuditState * 1) }}
|
{{ $fd('AuditStateRC', scope.row.AuditState * 1) }}
|
||||||
</el-tag>
|
</el-tag>
|
||||||
<el-tag
|
<el-tag
|
||||||
v-else-if="
|
v-else-if="
|
||||||
|
@ -444,7 +461,7 @@
|
||||||
"
|
"
|
||||||
type="warning"
|
type="warning"
|
||||||
>
|
>
|
||||||
{{ $fd("AuditStateRC", scope.row.AuditState * 1) }}
|
{{ $fd('AuditStateRC', scope.row.AuditState * 1) }}
|
||||||
</el-tag>
|
</el-tag>
|
||||||
<el-tag
|
<el-tag
|
||||||
v-else-if="
|
v-else-if="
|
||||||
|
@ -452,13 +469,13 @@
|
||||||
"
|
"
|
||||||
type="warning"
|
type="warning"
|
||||||
>
|
>
|
||||||
{{ $fd("AuditStateRC", scope.row.AuditState * 1) }}
|
{{ $fd('AuditStateRC', scope.row.AuditState * 1) }}
|
||||||
</el-tag>
|
</el-tag>
|
||||||
<el-tag v-else-if="scope.row.AuditState * 1 === 7" type="danger">
|
<el-tag v-else-if="scope.row.AuditState * 1 === 7" type="danger">
|
||||||
{{ $fd("AuditStateRC", scope.row.AuditState * 1) }}</el-tag
|
{{ $fd('AuditStateRC', scope.row.AuditState * 1) }}</el-tag
|
||||||
>
|
>
|
||||||
<el-tag v-else-if="scope.row.AuditState * 1 === 8" type="primary">
|
<el-tag v-else-if="scope.row.AuditState * 1 === 8" type="primary">
|
||||||
{{ $fd("AuditStateRC", scope.row.AuditState * 1) }}</el-tag
|
{{ $fd('AuditStateRC', scope.row.AuditState * 1) }}</el-tag
|
||||||
>
|
>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
@ -503,7 +520,7 @@
|
||||||
"
|
"
|
||||||
class="status-primary-circle"
|
class="status-primary-circle"
|
||||||
>
|
>
|
||||||
{{ $t("trials:qcCheck:label:preliminary") }}
|
{{ $t('trials:qcCheck:label:preliminary') }}
|
||||||
</span>
|
</span>
|
||||||
<span v-if="scope.row.ReviewAuditUserName"> , </span>
|
<span v-if="scope.row.ReviewAuditUserName"> , </span>
|
||||||
<!-- <span>{{ scope.row.ReviewAuditUserName }}</span> -->
|
<!-- <span>{{ scope.row.ReviewAuditUserName }}</span> -->
|
||||||
|
@ -520,7 +537,7 @@
|
||||||
"
|
"
|
||||||
class="status-primary-circle"
|
class="status-primary-circle"
|
||||||
>
|
>
|
||||||
{{ $t("trials:qcCheck:label:review") }}
|
{{ $t('trials:qcCheck:label:review') }}
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
@ -662,33 +679,33 @@
|
||||||
</template>
|
</template>
|
||||||
<div class="remark">
|
<div class="remark">
|
||||||
<span class="status-primary-circle">
|
<span class="status-primary-circle">
|
||||||
{{ $t("trials:crcUpload:label:finalVisit") }}
|
{{ $t('trials:crcUpload:label:finalVisit') }}
|
||||||
</span>
|
</span>
|
||||||
<span>: {{ $t("trials:crcUpload:label:finalVisitDetail") }}</span>
|
<span>: {{ $t('trials:crcUpload:label:finalVisitDetail') }}</span>
|
||||||
|
|
||||||
<span class="status-primary-circle" style="margin-left: 10px">
|
<span class="status-primary-circle" style="margin-left: 10px">
|
||||||
{{ $t("trials:crcUpload:label:lostVisit") }}
|
{{ $t('trials:crcUpload:label:lostVisit') }}
|
||||||
</span>
|
</span>
|
||||||
<span>: {{ $t("trials:crcUpload:label:lostVisitDetail") }}</span>
|
<span>: {{ $t('trials:crcUpload:label:lostVisitDetail') }}</span>
|
||||||
|
|
||||||
<span class="status-primary-circle" style="margin-left: 10px">
|
<span class="status-primary-circle" style="margin-left: 10px">
|
||||||
{{ $t("trials:crcUpload:label:pd") }}
|
{{ $t('trials:crcUpload:label:pd') }}
|
||||||
</span>
|
</span>
|
||||||
<span>: {{ $t("trials:crcUpload:label:pdDetail") }}</span>
|
<span>: {{ $t('trials:crcUpload:label:pdDetail') }}</span>
|
||||||
<span class="status-primary-circle" style="margin-left: 10px">
|
<span class="status-primary-circle" style="margin-left: 10px">
|
||||||
{{ $t("trials:crcUpload:label:enrollmentConfirm") }}
|
{{ $t('trials:crcUpload:label:enrollmentConfirm') }}
|
||||||
</span>
|
</span>
|
||||||
<span>: {{ $t("trials:crcUpload:label:enrollmentConfirmDetail") }}</span>
|
<span>: {{ $t('trials:crcUpload:label:enrollmentConfirmDetail') }}</span>
|
||||||
|
|
||||||
<span
|
<span
|
||||||
v-if="OtherInfo.QCProcessEnum === 2"
|
v-if="OtherInfo.QCProcessEnum === 2"
|
||||||
class="status-primary-circle"
|
class="status-primary-circle"
|
||||||
style="margin-left: 10px"
|
style="margin-left: 10px"
|
||||||
>
|
>
|
||||||
{{ $t("trials:qcCheck:label:preliminary") }}
|
{{ $t('trials:qcCheck:label:preliminary') }}
|
||||||
</span>
|
</span>
|
||||||
<span v-if="OtherInfo.QCProcessEnum === 2"
|
<span v-if="OtherInfo.QCProcessEnum === 2"
|
||||||
>: {{ $t("trials:qcCheck:label:preliminaryAudit") }}</span
|
>: {{ $t('trials:qcCheck:label:preliminaryAudit') }}</span
|
||||||
>
|
>
|
||||||
|
|
||||||
<span
|
<span
|
||||||
|
@ -696,10 +713,10 @@
|
||||||
class="status-primary-circle"
|
class="status-primary-circle"
|
||||||
style="margin-left: 10px"
|
style="margin-left: 10px"
|
||||||
>
|
>
|
||||||
{{ $t("trials:qcCheck:label:review") }}
|
{{ $t('trials:qcCheck:label:review') }}
|
||||||
</span>
|
</span>
|
||||||
<span v-if="OtherInfo.QCProcessEnum === 2"
|
<span v-if="OtherInfo.QCProcessEnum === 2"
|
||||||
>: {{ $t("trials:qcCheck:label:reviewAudit") }}</span
|
>: {{ $t('trials:qcCheck:label:reviewAudit') }}</span
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
<!-- 指控 -->
|
<!-- 指控 -->
|
||||||
|
@ -753,7 +770,7 @@
|
||||||
:fullscreen="isFullscreen"
|
:fullscreen="isFullscreen"
|
||||||
>
|
>
|
||||||
<span slot="title" class="dialog-footer">
|
<span slot="title" class="dialog-footer">
|
||||||
<span>{{ $t("trials:reading:button:handbooks") }}</span>
|
<span>{{ $t('trials:reading:button:handbooks') }}</span>
|
||||||
<span style="position: absolute; right: 20px">
|
<span style="position: absolute; right: 20px">
|
||||||
<svg-icon
|
<svg-icon
|
||||||
:icon-class="isFullscreen ? 'exit-fullscreen' : 'fullscreen'"
|
:icon-class="isFullscreen ? 'exit-fullscreen' : 'fullscreen'"
|
||||||
|
@ -843,7 +860,7 @@
|
||||||
</el-form>
|
</el-form>
|
||||||
<div>
|
<div>
|
||||||
<!-- DICOM影像 -->
|
<!-- DICOM影像 -->
|
||||||
<h4 class="box-title">{{ $t("trials:audit:tab:dicoms") }}</h4>
|
<h4 class="box-title">{{ $t('trials:audit:tab:dicoms') }}</h4>
|
||||||
<el-card class="box-card">
|
<el-card class="box-card">
|
||||||
<DicomFiles v-if="rowData.Id" :data="rowData" />
|
<DicomFiles v-if="rowData.Id" :data="rowData" />
|
||||||
</el-card>
|
</el-card>
|
||||||
|
@ -852,7 +869,7 @@
|
||||||
<div>
|
<div>
|
||||||
<!-- 非DICOM影像 -->
|
<!-- 非DICOM影像 -->
|
||||||
<h4 class="box-title" style="margin-top: 10px">
|
<h4 class="box-title" style="margin-top: 10px">
|
||||||
{{ $t("trials:audit:tab:nonDicoms") }}
|
{{ $t('trials:audit:tab:nonDicoms') }}
|
||||||
</h4>
|
</h4>
|
||||||
<el-card class="box-card">
|
<el-card class="box-card">
|
||||||
<UploadNonDicomFiles
|
<UploadNonDicomFiles
|
||||||
|
@ -869,7 +886,7 @@
|
||||||
<div>
|
<div>
|
||||||
<!-- 临床数据 -->
|
<!-- 临床数据 -->
|
||||||
<h4 class="box-title" style="margin-top: 10px">
|
<h4 class="box-title" style="margin-top: 10px">
|
||||||
{{ $t("trials:audit:tab:clinicalData") }}
|
{{ $t('trials:audit:tab:clinicalData') }}
|
||||||
</h4>
|
</h4>
|
||||||
<el-card class="box-card">
|
<el-card class="box-card">
|
||||||
<UploadClinicalData
|
<UploadClinicalData
|
||||||
|
@ -920,7 +937,7 @@
|
||||||
type="primary"
|
type="primary"
|
||||||
@click="urgentVisible = false"
|
@click="urgentVisible = false"
|
||||||
>
|
>
|
||||||
{{ $t("common:button:cancel") }}
|
{{ $t('common:button:cancel') }}
|
||||||
</el-button>
|
</el-button>
|
||||||
<!-- 保存 -->
|
<!-- 保存 -->
|
||||||
<el-button
|
<el-button
|
||||||
|
@ -929,7 +946,7 @@
|
||||||
:loading="loading"
|
:loading="loading"
|
||||||
@click="setUrgentStatus"
|
@click="setUrgentStatus"
|
||||||
>
|
>
|
||||||
{{ $t("common:button:save") }}
|
{{ $t('common:button:save') }}
|
||||||
</el-button>
|
</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</div>
|
</div>
|
||||||
|
@ -948,39 +965,39 @@ import {
|
||||||
setSubjectVisitUrgent,
|
setSubjectVisitUrgent,
|
||||||
isQCCanOpt,
|
isQCCanOpt,
|
||||||
getNextQCInfo,
|
getNextQCInfo,
|
||||||
} from "@/api/trials";
|
} from '@/api/trials'
|
||||||
import { qCVisitList_Export } from "@/api/export";
|
import { qCVisitList_Export } from '@/api/export'
|
||||||
import BaseContainer from "@/components/BaseContainer";
|
import BaseContainer from '@/components/BaseContainer'
|
||||||
import QualityAssurance from "./components/qualityAssurance";
|
import QualityAssurance from './components/qualityAssurance'
|
||||||
import Manuals from "./components/manuals";
|
import Manuals from './components/manuals'
|
||||||
import DicomFiles from "./components/dicomFiles";
|
import DicomFiles from './components/dicomFiles'
|
||||||
import UploadNonDicomFiles from "@/views/trials/trials-panel/visit/crc-upload/components/uploadNonDicomFiles";
|
import UploadNonDicomFiles from '@/views/trials/trials-panel/visit/crc-upload/components/uploadNonDicomFiles'
|
||||||
import UploadClinicalData from "@/views/trials/trials-panel/visit/crc-upload/components/uploadClinicalData";
|
import UploadClinicalData from '@/views/trials/trials-panel/visit/crc-upload/components/uploadClinicalData'
|
||||||
|
|
||||||
import Pagination from "@/components/Pagination";
|
import Pagination from '@/components/Pagination'
|
||||||
import moment from "moment";
|
import moment from 'moment'
|
||||||
import { changeURLStatic } from "@/utils/history.js";
|
import { changeURLStatic } from '@/utils/history.js'
|
||||||
import { getToken } from "@/utils/auth";
|
import { getToken } from '@/utils/auth'
|
||||||
|
|
||||||
const searchDataDefault = () => {
|
const searchDataDefault = () => {
|
||||||
return {
|
return {
|
||||||
TrialId: "",
|
TrialId: '',
|
||||||
TrialSiteId: "",
|
TrialSiteId: '',
|
||||||
SubjectInfo: "",
|
SubjectInfo: '',
|
||||||
VisitPlanArray: [],
|
VisitPlanArray: [],
|
||||||
IsUrgent: null,
|
IsUrgent: null,
|
||||||
AuditStateArray: [],
|
AuditStateArray: [],
|
||||||
HandleUserId: "",
|
HandleUserId: '',
|
||||||
BeginAuditTime: null,
|
BeginAuditTime: null,
|
||||||
EndAuditTime: null,
|
EndAuditTime: null,
|
||||||
PageIndex: 1,
|
PageIndex: 1,
|
||||||
PageSize: 20,
|
PageSize: 20,
|
||||||
// SortField: '',
|
// SortField: '',
|
||||||
// Asc: false
|
// Asc: false
|
||||||
};
|
}
|
||||||
};
|
}
|
||||||
export default {
|
export default {
|
||||||
name: "QcCheck",
|
name: 'QcCheck',
|
||||||
components: {
|
components: {
|
||||||
BaseContainer,
|
BaseContainer,
|
||||||
Pagination,
|
Pagination,
|
||||||
|
@ -998,13 +1015,13 @@ export default {
|
||||||
loading: false,
|
loading: false,
|
||||||
qcVisible: false,
|
qcVisible: false,
|
||||||
rowData: {
|
rowData: {
|
||||||
TrialSiteCode: "",
|
TrialSiteCode: '',
|
||||||
SubjectCode: "",
|
SubjectCode: '',
|
||||||
VisitName: "",
|
VisitName: '',
|
||||||
VisitNum: "",
|
VisitNum: '',
|
||||||
},
|
},
|
||||||
userTypeEnumInt: zzSessionStorage.getItem("userTypeEnumInt") * 1,
|
userTypeEnumInt: zzSessionStorage.getItem('userTypeEnumInt') * 1,
|
||||||
userId: zzSessionStorage.getItem("userId"),
|
userId: zzSessionStorage.getItem('userId'),
|
||||||
moment,
|
moment,
|
||||||
siteOptions: [],
|
siteOptions: [],
|
||||||
visitPlanOptions: [],
|
visitPlanOptions: [],
|
||||||
|
@ -1012,7 +1029,7 @@ export default {
|
||||||
participantOptions: [],
|
participantOptions: [],
|
||||||
studyVisible: false,
|
studyVisible: false,
|
||||||
urgentVisible: false,
|
urgentVisible: false,
|
||||||
urgentForm: { id: "", isUrgent: null },
|
urgentForm: { id: '', isUrgent: null },
|
||||||
trialId: this.$route.query.trialId,
|
trialId: this.$route.query.trialId,
|
||||||
trialCode: this.$route.query.trialCode,
|
trialCode: this.$route.query.trialCode,
|
||||||
query: null,
|
query: null,
|
||||||
|
@ -1020,225 +1037,225 @@ export default {
|
||||||
isFullscreen: false,
|
isFullscreen: false,
|
||||||
timeList: [],
|
timeList: [],
|
||||||
exportLoading: false,
|
exportLoading: false,
|
||||||
};
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
list(val) {
|
list(val) {
|
||||||
this.doLayout();
|
this.doLayout()
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.query = this.$route.query;
|
this.query = this.$route.query
|
||||||
if (this.$route.query.subjectCode) {
|
if (this.$route.query.subjectCode) {
|
||||||
this.searchData.SubjectInfo = this.$route.query.subjectCode;
|
this.searchData.SubjectInfo = this.$route.query.subjectCode
|
||||||
}
|
}
|
||||||
changeURLStatic("subjectCode", "");
|
changeURLStatic('subjectCode', '')
|
||||||
this.getList();
|
this.getList()
|
||||||
this.getSite();
|
this.getSite()
|
||||||
this.getParticipantList();
|
this.getParticipantList()
|
||||||
this.getVisitPlanOptions();
|
this.getVisitPlanOptions()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handleExport() {
|
handleExport() {
|
||||||
this.exportLoading = true;
|
this.exportLoading = true
|
||||||
qCVisitList_Export(this.searchData)
|
qCVisitList_Export(this.searchData)
|
||||||
.then(() => {
|
.then(() => {
|
||||||
this.exportLoading = false;
|
this.exportLoading = false
|
||||||
})
|
})
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
this.exportLoading = false;
|
this.exportLoading = false
|
||||||
});
|
})
|
||||||
},
|
},
|
||||||
// 获取qc审核列表
|
// 获取qc审核列表
|
||||||
getList() {
|
getList() {
|
||||||
this.loading = true;
|
this.loading = true
|
||||||
this.searchData.TrialId = this.trialId;
|
this.searchData.TrialId = this.trialId
|
||||||
getQCVisitList(this.searchData)
|
getQCVisitList(this.searchData)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
this.loading = false;
|
this.loading = false
|
||||||
this.list = res.Result.CurrentPageData;
|
this.list = res.Result.CurrentPageData
|
||||||
this.total = res.Result.TotalCount;
|
this.total = res.Result.TotalCount
|
||||||
this.OtherInfo = res.OtherInfo;
|
this.OtherInfo = res.OtherInfo
|
||||||
})
|
})
|
||||||
.catch(() => {
|
.catch(() => {
|
||||||
this.loading = false;
|
this.loading = false
|
||||||
});
|
})
|
||||||
},
|
},
|
||||||
doLayout() {
|
doLayout() {
|
||||||
const scope = this;
|
const scope = this
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
scope.$refs.qcCheckList.doLayout();
|
scope.$refs.qcCheckList.doLayout()
|
||||||
});
|
})
|
||||||
},
|
},
|
||||||
// 领取任务
|
// 领取任务
|
||||||
handleReciveTask(row, state) {
|
handleReciveTask(row, state) {
|
||||||
let message = "";
|
let message = ''
|
||||||
if (state) {
|
if (state) {
|
||||||
// 是否确认领取?
|
// 是否确认领取?
|
||||||
message = this.$t("trials:qcCheck:message:receive");
|
message = this.$t('trials:qcCheck:message:receive')
|
||||||
} else {
|
} else {
|
||||||
// 是否确认释放?
|
// 是否确认释放?
|
||||||
message = this.$t("trials:qcCheck:message:release");
|
message = this.$t('trials:qcCheck:message:release')
|
||||||
}
|
}
|
||||||
this.$confirm(message, {
|
this.$confirm(message, {
|
||||||
type: "warning",
|
type: 'warning',
|
||||||
distinguishCancelAndClose: true,
|
distinguishCancelAndClose: true,
|
||||||
})
|
})
|
||||||
.then(() => {
|
.then(() => {
|
||||||
this.loading = true;
|
this.loading = true
|
||||||
takeOrReleaseQCTask(row.TrialId, row.Id, state)
|
takeOrReleaseQCTask(row.TrialId, row.Id, state)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
this.loading = false;
|
this.loading = false
|
||||||
if (res.IsSuccess) {
|
if (res.IsSuccess) {
|
||||||
this.getList();
|
this.getList()
|
||||||
if (state) {
|
if (state) {
|
||||||
// 领取成功
|
// 领取成功
|
||||||
this.$message.success(
|
this.$message.success(
|
||||||
this.$t("trials:qcCheck:message:receivedSuccessfully")
|
this.$t('trials:qcCheck:message:receivedSuccessfully')
|
||||||
);
|
)
|
||||||
} else {
|
} else {
|
||||||
// 释放成功
|
// 释放成功
|
||||||
this.$message.success(
|
this.$message.success(
|
||||||
this.$t("trials:qcCheck:message:releasedSuccessfully")
|
this.$t('trials:qcCheck:message:releasedSuccessfully')
|
||||||
);
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.catch((res) => {
|
.catch((res) => {
|
||||||
this.loading = false;
|
this.loading = false
|
||||||
if (res.Code === 5 && res.ErrorMessage) {
|
if (res.Code === 5 && res.ErrorMessage) {
|
||||||
this.$confirm(res.ErrorMessage, {
|
this.$confirm(res.ErrorMessage, {
|
||||||
type: "warning",
|
type: 'warning',
|
||||||
showCancelButton: false,
|
showCancelButton: false,
|
||||||
callback: (action) => {},
|
callback: (action) => {},
|
||||||
});
|
})
|
||||||
this.getList();
|
this.getList()
|
||||||
}
|
}
|
||||||
});
|
})
|
||||||
})
|
})
|
||||||
.catch(() => {});
|
.catch(() => {})
|
||||||
},
|
},
|
||||||
// 初审
|
// 初审
|
||||||
handlePrimaryQC(row) {
|
handlePrimaryQC(row) {
|
||||||
this.loading = true;
|
this.loading = true
|
||||||
isQCCanOpt(row.Id)
|
isQCCanOpt(row.Id)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
this.loading = false;
|
this.loading = false
|
||||||
if (res.IsSuccess) {
|
if (res.IsSuccess) {
|
||||||
this.rowData = { ...row };
|
this.rowData = { ...row }
|
||||||
this.qcVisible = true;
|
this.qcVisible = true
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.catch((res) => {
|
.catch((res) => {
|
||||||
this.loading = false;
|
this.loading = false
|
||||||
if (res.Code === 2) {
|
if (res.Code === 2) {
|
||||||
this.getList();
|
this.getList()
|
||||||
}
|
}
|
||||||
});
|
})
|
||||||
},
|
},
|
||||||
// 复审
|
// 复审
|
||||||
handleSecondaryQC(row) {
|
handleSecondaryQC(row) {
|
||||||
this.loading = true;
|
this.loading = true
|
||||||
isQCCanOpt(row.Id)
|
isQCCanOpt(row.Id)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
this.loading = false;
|
this.loading = false
|
||||||
if (res.IsSuccess) {
|
if (res.IsSuccess) {
|
||||||
this.rowData = { ...row };
|
this.rowData = { ...row }
|
||||||
this.qcVisible = true;
|
this.qcVisible = true
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.catch((res) => {
|
.catch((res) => {
|
||||||
this.loading = false;
|
this.loading = false
|
||||||
if (res.Code === 2) {
|
if (res.Code === 2) {
|
||||||
this.getList();
|
this.getList()
|
||||||
}
|
}
|
||||||
});
|
})
|
||||||
},
|
},
|
||||||
handleViewPrimaryQC(row) {
|
handleViewPrimaryQC(row) {
|
||||||
this.rowData = { ...row };
|
this.rowData = { ...row }
|
||||||
this.rowData.disabled = true;
|
this.rowData.disabled = true
|
||||||
this.rowData.qcType = 1;
|
this.rowData.qcType = 1
|
||||||
this.qcVisible = true;
|
this.qcVisible = true
|
||||||
},
|
},
|
||||||
handleViewReviewQC(row) {
|
handleViewReviewQC(row) {
|
||||||
this.rowData = { ...row };
|
this.rowData = { ...row }
|
||||||
this.rowData.disabled = true;
|
this.rowData.disabled = true
|
||||||
this.rowData.qcType = 2;
|
this.rowData.qcType = 2
|
||||||
this.qcVisible = true;
|
this.qcVisible = true
|
||||||
},
|
},
|
||||||
// 预览影像
|
// 预览影像
|
||||||
handleViewImages() {
|
handleViewImages() {
|
||||||
var tokenKey = getToken();
|
var tokenKey = getToken()
|
||||||
const routeData = this.$router.resolve({
|
const routeData = this.$router.resolve({
|
||||||
path: `/showvisitdicoms?trialId=${this.rowData.TrialId}&visitInfo=${this.rowData.VisitName}(${this.rowData.VisitNum})&subjectVisitId=${this.rowData.Id}&TokenKey=${tokenKey}`,
|
path: `/showvisitdicoms?trialId=${this.rowData.TrialId}&visitInfo=${this.rowData.VisitName}(${this.rowData.VisitNum})&subjectVisitId=${this.rowData.Id}&TokenKey=${tokenKey}`,
|
||||||
});
|
})
|
||||||
window.open(routeData.href, "_blank");
|
window.open(routeData.href, '_blank')
|
||||||
},
|
},
|
||||||
// 查看检查信息
|
// 查看检查信息
|
||||||
handleViewStudyInfo(row) {
|
handleViewStudyInfo(row) {
|
||||||
this.studyVisible = true;
|
this.studyVisible = true
|
||||||
this.rowData = { ...row };
|
this.rowData = { ...row }
|
||||||
},
|
},
|
||||||
// 重置
|
// 重置
|
||||||
handleReset() {
|
handleReset() {
|
||||||
this.searchData = searchDataDefault();
|
this.searchData = searchDataDefault()
|
||||||
this.timeList = [];
|
this.timeList = []
|
||||||
this.getList();
|
this.getList()
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$refs.qcCheckList.clearSort();
|
this.$refs.qcCheckList.clearSort()
|
||||||
});
|
})
|
||||||
},
|
},
|
||||||
// 查询
|
// 查询
|
||||||
handleSearch() {
|
handleSearch() {
|
||||||
this.searchData.PageIndex = 1;
|
this.searchData.PageIndex = 1
|
||||||
this.getList();
|
this.getList()
|
||||||
},
|
},
|
||||||
// 排序
|
// 排序
|
||||||
handleSortByColumn(column) {
|
handleSortByColumn(column) {
|
||||||
if (column.order === "ascending") {
|
if (column.order === 'ascending') {
|
||||||
this.searchData.Asc = true;
|
this.searchData.Asc = true
|
||||||
} else {
|
} else {
|
||||||
this.searchData.Asc = false;
|
this.searchData.Asc = false
|
||||||
}
|
}
|
||||||
this.searchData.SortField = column.prop;
|
this.searchData.SortField = column.prop
|
||||||
this.searchData.PageIndex = 1;
|
this.searchData.PageIndex = 1
|
||||||
this.getList();
|
this.getList()
|
||||||
},
|
},
|
||||||
// 获取site下拉框数据
|
// 获取site下拉框数据
|
||||||
getSite() {
|
getSite() {
|
||||||
getTrialSiteSelect(this.trialId).then((res) => {
|
getTrialSiteSelect(this.trialId).then((res) => {
|
||||||
this.siteOptions = res.Result;
|
this.siteOptions = res.Result
|
||||||
});
|
})
|
||||||
},
|
},
|
||||||
// 获取访视下拉框数据
|
// 获取访视下拉框数据
|
||||||
getVisitPlanOptions() {
|
getVisitPlanOptions() {
|
||||||
getTrialVisitStageSelect(this.trialId).then((res) => {
|
getTrialVisitStageSelect(this.trialId).then((res) => {
|
||||||
this.visitPlanOptions = res.Result;
|
this.visitPlanOptions = res.Result
|
||||||
});
|
})
|
||||||
},
|
},
|
||||||
// 获取质询参与者下拉框数据
|
// 获取质询参与者下拉框数据
|
||||||
getParticipantList() {
|
getParticipantList() {
|
||||||
getQCParticipantList(this.trialId).then((res) => {
|
getQCParticipantList(this.trialId).then((res) => {
|
||||||
this.participantOptions = res.Result;
|
this.participantOptions = res.Result
|
||||||
});
|
})
|
||||||
},
|
},
|
||||||
// 打开设置紧急状态弹窗
|
// 打开设置紧急状态弹窗
|
||||||
handleUrgentStatus(row) {
|
handleUrgentStatus(row) {
|
||||||
this.urgentForm = Object.assign({}, { ...row });
|
this.urgentForm = Object.assign({}, { ...row })
|
||||||
this.urgentVisible = true;
|
this.urgentVisible = true
|
||||||
},
|
},
|
||||||
// 设置访视加急/不加急
|
// 设置访视加急/不加急
|
||||||
setUrgentStatus() {
|
setUrgentStatus() {
|
||||||
// 是否确认将当前访视设置为加急?
|
// 是否确认将当前访视设置为加急?
|
||||||
// 是否确认将当前访视设置为不加急?
|
// 是否确认将当前访视设置为不加急?
|
||||||
var message = this.urgentForm.IsUrgent
|
var message = this.urgentForm.IsUrgent
|
||||||
? this.$t("trials:qcCheck:message:isUrgent")
|
? this.$t('trials:qcCheck:message:isUrgent')
|
||||||
: this.$t("trials:qcCheck:message:isNotUrgent");
|
: this.$t('trials:qcCheck:message:isNotUrgent')
|
||||||
this.$confirm(message, {
|
this.$confirm(message, {
|
||||||
type: "warning",
|
type: 'warning',
|
||||||
distinguishCancelAndClose: true,
|
distinguishCancelAndClose: true,
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
this.loading = true;
|
this.loading = true
|
||||||
|
|
||||||
setSubjectVisitUrgent(
|
setSubjectVisitUrgent(
|
||||||
this.urgentForm.TrialId,
|
this.urgentForm.TrialId,
|
||||||
|
@ -1246,102 +1263,100 @@ export default {
|
||||||
this.urgentForm.IsUrgent
|
this.urgentForm.IsUrgent
|
||||||
)
|
)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
this.loading = false;
|
this.loading = false
|
||||||
if (res.IsSuccess) {
|
if (res.IsSuccess) {
|
||||||
this.urgentVisible = false;
|
this.urgentVisible = false
|
||||||
this.getList();
|
this.getList()
|
||||||
this.$message.success(
|
this.$message.success(this.$t('common:message:savedSuccessfully'))
|
||||||
this.$t("common:message:savedSuccessfully")
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.catch(() => {
|
.catch(() => {
|
||||||
this.loading = false;
|
this.loading = false
|
||||||
});
|
})
|
||||||
});
|
})
|
||||||
},
|
},
|
||||||
handleChallengeState(subjectCode, state) {
|
handleChallengeState(subjectCode, state) {
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: `/trials/trials-panel/visit/qc-question?trialId=${this.trialId}&trialCode=${this.query.trialCode}&researchProgramNo=${this.query.researchProgramNo}&subjectCode=${subjectCode}&challengeState=${state}`,
|
path: `/trials/trials-panel/visit/qc-question?trialId=${this.trialId}&trialCode=${this.query.trialCode}&researchProgramNo=${this.query.researchProgramNo}&subjectCode=${subjectCode}&challengeState=${state}`,
|
||||||
});
|
})
|
||||||
},
|
},
|
||||||
// 替换
|
// 替换
|
||||||
handleReplaceTask(row) {
|
handleReplaceTask(row) {
|
||||||
var message = this.$t("trials:crcQuestion:message:replaceTask");
|
var message = this.$t('trials:crcQuestion:message:replaceTask')
|
||||||
message = message.replace("xxx", row.CurrentActionUserName);
|
message = message.replace('xxx', row.CurrentActionUserName)
|
||||||
this.$confirm(message, {
|
this.$confirm(message, {
|
||||||
type: "warning",
|
type: 'warning',
|
||||||
distinguishCancelAndClose: true,
|
distinguishCancelAndClose: true,
|
||||||
})
|
})
|
||||||
.then(() => {
|
.then(() => {
|
||||||
// 替换并刷新列表
|
// 替换并刷新列表
|
||||||
this.loading = true;
|
this.loading = true
|
||||||
replaceQCTaskActionUser(row.TrialId, row.Id)
|
replaceQCTaskActionUser(row.TrialId, row.Id)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
this.loading = false;
|
this.loading = false
|
||||||
if (res.IsSuccess) {
|
if (res.IsSuccess) {
|
||||||
// 替换成功
|
// 替换成功
|
||||||
this.$message.success(
|
this.$message.success(
|
||||||
this.$t("trials:crcQuestion:message:replaceTaskSuccessfully")
|
this.$t('trials:crcQuestion:message:replaceTaskSuccessfully')
|
||||||
);
|
)
|
||||||
this.getList();
|
this.getList()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.catch((res) => {
|
.catch((res) => {
|
||||||
this.loading = false;
|
this.loading = false
|
||||||
this.getList();
|
this.getList()
|
||||||
if (res.ErrorMessage) {
|
if (res.ErrorMessage) {
|
||||||
this.$confirm(res.ErrorMessage, {
|
this.$confirm(res.ErrorMessage, {
|
||||||
type: "warning",
|
type: 'warning',
|
||||||
showCancelButton: false,
|
showCancelButton: false,
|
||||||
callback: (action) => {},
|
callback: (action) => {},
|
||||||
});
|
})
|
||||||
}
|
}
|
||||||
});
|
})
|
||||||
})
|
})
|
||||||
.catch(() => {});
|
.catch(() => {})
|
||||||
},
|
},
|
||||||
nextTask(visitId = null) {
|
nextTask(visitId = null) {
|
||||||
this.loading = true;
|
this.loading = true
|
||||||
let obj = {
|
let obj = {
|
||||||
trialId: this.trialId,
|
trialId: this.trialId,
|
||||||
};
|
}
|
||||||
if (visitId) {
|
if (visitId) {
|
||||||
obj.visitId = visitId;
|
obj.visitId = visitId
|
||||||
}
|
}
|
||||||
getNextQCInfo(obj)
|
getNextQCInfo(obj)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
this.loading = false;
|
this.loading = false
|
||||||
this.qcVisible = false;
|
this.qcVisible = false
|
||||||
if (res.Result) {
|
if (res.Result) {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.rowData = { ...res.Result };
|
this.rowData = { ...res.Result }
|
||||||
this.qcVisible = true;
|
this.qcVisible = true
|
||||||
});
|
})
|
||||||
} else {
|
} else {
|
||||||
this.$message.success(this.$t("trials:qcQuality:title:title3")); // '当前领取的质控任务已全部完成!'
|
this.$message.success(this.$t('trials:qcQuality:title:title3')) // '当前领取的质控任务已全部完成!'
|
||||||
this.qcVisible = false;
|
this.qcVisible = false
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.catch(() => {
|
.catch(() => {
|
||||||
this.loading = false;
|
this.loading = false
|
||||||
this.qcVisible = false;
|
this.qcVisible = false
|
||||||
});
|
})
|
||||||
},
|
},
|
||||||
changeTimeList() {
|
changeTimeList() {
|
||||||
if (this.timeList) {
|
if (this.timeList) {
|
||||||
this.searchData.BeginAuditTime = this.timeList[0];
|
this.searchData.BeginAuditTime = this.timeList[0]
|
||||||
this.searchData.EndAuditTime = this.timeList[1];
|
this.searchData.EndAuditTime = this.timeList[1]
|
||||||
} else {
|
} else {
|
||||||
this.searchData.BeginAuditTime = null;
|
this.searchData.BeginAuditTime = null
|
||||||
this.searchData.EndAuditTime = null;
|
this.searchData.EndAuditTime = null
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
openManuals() {
|
openManuals() {
|
||||||
this.manualsDialog.visible = true;
|
this.manualsDialog.visible = true
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
}
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.qc-check-wrapper {
|
.qc-check-wrapper {
|
||||||
|
|
Loading…
Reference in New Issue