Merge branch 'main' of https://gitea.frp.extimaging.com/XCKJ/irc_web
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
commit
d50cc049ec
|
@ -264,7 +264,8 @@ export default {
|
|||
return
|
||||
}else if (res.BasicInfo.LoginState === 2) {
|
||||
// 本次登录的IP或设备与上次不一致,请确认'
|
||||
this.$alert(this.$t('login:message:login4'), this.$t('common:title:warning'))
|
||||
// this.$alert(this.$t('login:message:login4'), this.$t('common:title:warning'))
|
||||
this.$message.warning(this.$t('login:message:login4'))
|
||||
}
|
||||
this.$store.dispatch('permission/generateRoutes').then(res => {
|
||||
this.loading = false
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
</div>
|
||||
<!-- 切换访视 -->
|
||||
<div
|
||||
v-if="stack.imageRendered && isReadingTaskViewInOrder"
|
||||
v-if="stack.imageRendered && isReadingTaskViewInOrder === 1"
|
||||
class="info-visit"
|
||||
@dblclick.stop="preventDefault($event)"
|
||||
>
|
||||
|
@ -181,7 +181,7 @@ export default {
|
|||
required: true
|
||||
},
|
||||
isReadingTaskViewInOrder: {
|
||||
type: Boolean,
|
||||
type: Number,
|
||||
required: true
|
||||
},
|
||||
customWwcTpl: {
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
A
|
||||
</div>
|
||||
</li>
|
||||
<li v-if="isReadingTaskViewInOrder" class="flex_row" @click.stop="changeLayout('A|B')">
|
||||
<li v-if="isReadingTaskViewInOrder === 1" class="flex_row" @click.stop="changeLayout('A|B')">
|
||||
<div class="layout_box_1_1">
|
||||
A
|
||||
</div>
|
||||
|
@ -669,7 +669,7 @@ export default {
|
|||
required: true
|
||||
},
|
||||
isReadingTaskViewInOrder: {
|
||||
type: Boolean,
|
||||
type: Number,
|
||||
required: true
|
||||
},
|
||||
isExistsManual: {
|
||||
|
@ -1364,7 +1364,7 @@ export default {
|
|||
|
||||
var firstAddSeries = null
|
||||
var currentAddSeries = null
|
||||
if (this.isReadingTaskViewInOrder) {
|
||||
if (this.isReadingTaskViewInOrder === 1) {
|
||||
// 有序
|
||||
// 获取病灶第一次出现的访视序列
|
||||
var firstAddVisitTaskId = null
|
||||
|
|
|
@ -112,7 +112,7 @@ export default {
|
|||
required: true
|
||||
},
|
||||
isReadingTaskViewInOrder: {
|
||||
type: Boolean,
|
||||
type: Number,
|
||||
required: true
|
||||
},
|
||||
isExistsManual: {
|
||||
|
|
|
@ -368,10 +368,10 @@ export default {
|
|||
|
||||
async getInitSeries() {
|
||||
var seriesList = []
|
||||
var isReadingTaskViewInOrder = JSON.parse(this.$router.currentRoute.query.isReadingTaskViewInOrder)
|
||||
var isReadingTaskViewInOrder = parseInt(this.$router.currentRoute.query.isReadingTaskViewInOrder)
|
||||
var idx = this.visitTaskList.findIndex(i => i.VisitTaskId === this.visitTaskId)
|
||||
this.studyList = this.visitTaskList[idx].StudyList
|
||||
if (this.visitTaskList[idx].IsBaseLineTask || !isReadingTaskViewInOrder) {
|
||||
if (this.visitTaskList[idx].IsBaseLineTask || isReadingTaskViewInOrder !== 1) {
|
||||
// 基线
|
||||
const obj = this.getFirstMarkedSeries(this.visitTaskList[idx].MeasureData, [...this.visitTaskList[idx].StudyList])
|
||||
if (Object.keys(obj).length !== 0) {
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
</div>
|
||||
<!-- 切换访视 -->
|
||||
<div
|
||||
v-if="stack.imageRendered && isReadingTaskViewInOrder"
|
||||
v-if="stack.imageRendered && isReadingTaskViewInOrder === 1"
|
||||
class="info-visit"
|
||||
@dblclick.stop="preventDefault($event)"
|
||||
>
|
||||
|
@ -180,7 +180,7 @@ export default {
|
|||
required: true
|
||||
},
|
||||
isReadingTaskViewInOrder: {
|
||||
type: Boolean,
|
||||
type: Number,
|
||||
required: true
|
||||
},
|
||||
customWwcTpl: {
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
A
|
||||
</div>
|
||||
</li>
|
||||
<li v-if="isReadingTaskViewInOrder" class="flex_row" @click.stop="changeLayout('A|B')">
|
||||
<li v-if="isReadingTaskViewInOrder === 1" class="flex_row" @click.stop="changeLayout('A|B')">
|
||||
<div class="layout_box_1_1">
|
||||
A
|
||||
</div>
|
||||
|
@ -466,7 +466,7 @@ export default {
|
|||
required: true
|
||||
},
|
||||
isReadingTaskViewInOrder: {
|
||||
type: Boolean,
|
||||
type: Number,
|
||||
required: true
|
||||
},
|
||||
IseCRFShowInDicomReading: {
|
||||
|
@ -995,7 +995,7 @@ export default {
|
|||
|
||||
var firstAddSeries = null
|
||||
var currentAddSeries = null
|
||||
if (this.isReadingTaskViewInOrder) {
|
||||
if (this.isReadingTaskViewInOrder === 1) {
|
||||
// 有序
|
||||
// 获取病灶第一次出现的访视序列
|
||||
var firstAddVisitTaskId = null
|
||||
|
|
|
@ -118,7 +118,7 @@ export default {
|
|||
required: true
|
||||
},
|
||||
isReadingTaskViewInOrder: {
|
||||
type: Boolean,
|
||||
type: Number,
|
||||
required: true
|
||||
},
|
||||
|
||||
|
|
|
@ -362,7 +362,7 @@ export default {
|
|||
var isReadingTaskViewInOrder = JSON.parse(this.$router.currentRoute.query.isReadingTaskViewInOrder)
|
||||
var idx = this.visitTaskList.findIndex(i => i.VisitTaskId === this.visitTaskId)
|
||||
this.studyList = this.visitTaskList[idx].StudyList
|
||||
if (this.visitTaskList[idx].IsBaseLineTask || !isReadingTaskViewInOrder) {
|
||||
if (this.visitTaskList[idx].IsBaseLineTask || isReadingTaskViewInOrder !== 1) {
|
||||
// 基线
|
||||
const obj = this.getFirstMarkedSeries(this.visitTaskList[idx].MeasureData, [...this.visitTaskList[idx].StudyList])
|
||||
if (Object.keys(obj).length !== 0) {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<div ref="container" style="width:100%;height:100%" class="dicom-container">
|
||||
<!-- 访视阅片 -->
|
||||
<div v-if="(isReadingTaskViewInOrder || (!isReadingTaskViewInOrder && isShow)) && readingCategory=== 1 && CriterionType !== 0" class="reading-wrapper">
|
||||
<div v-if="(isReadingTaskViewInOrder === 1 || ((isReadingTaskViewInOrder !== 1) && isShow)) && readingCategory=== 1 && CriterionType !== 0" class="reading-wrapper">
|
||||
<el-tabs v-model="activeName" v-loading="loading" :before-leave="beforeLeave">
|
||||
<!-- 阅片 -->
|
||||
<el-tab-pane :label="$t('trials:reading:tabTitle:review')" name="read">
|
||||
|
@ -28,7 +28,7 @@
|
|||
</el-tab-pane>
|
||||
</el-tabs>
|
||||
</div>
|
||||
<div v-if="(isReadingTaskViewInOrder || (!isReadingTaskViewInOrder && isShow)) && readingCategory=== 1 && CriterionType === 0" class="reading-wrapper">
|
||||
<div v-if="(isReadingTaskViewInOrder === 1 || ((isReadingTaskViewInOrder !== 1) && isShow)) && readingCategory=== 1 && CriterionType === 0" class="reading-wrapper">
|
||||
<el-tabs v-model="activeName" v-loading="loading" :before-leave="beforeLeaveCustomize">
|
||||
<!-- 阅片 -->
|
||||
<el-tab-pane :label="$t('trials:reading:tabTitle:review')" name="read">
|
||||
|
@ -177,7 +177,7 @@ import OncologyReview from '@/views/trials/trials-panel/reading/oncology-review'
|
|||
import ClinicalData from '@/views/trials/trials-panel/reading/clinical-data'
|
||||
import DicomEvent from './components/DicomEvent'
|
||||
import store from '@/store'
|
||||
import { getToken } from '@/utils/auth'
|
||||
// import { getToken } from '@/utils/auth'
|
||||
import { changeURLStatic } from '@/utils/history.js'
|
||||
import requestPoolManager from '@/utils/request-pool'
|
||||
export default {
|
||||
|
@ -210,7 +210,7 @@ export default {
|
|||
isNeedReadClinicalData: false,
|
||||
isReadClinicalData: false,
|
||||
digitPlaces: 2,
|
||||
isReadingTaskViewInOrder: false,
|
||||
isReadingTaskViewInOrder: null,
|
||||
firstTaskReadingCategory: null,
|
||||
criterionType: null,
|
||||
readingTool: null,
|
||||
|
@ -242,7 +242,7 @@ export default {
|
|||
store.dispatch('reading/setLastCanvasTaskId', '')
|
||||
this.isQualityIssueSaved = false
|
||||
this.firstTaskReadingCategory = this.readingCategory
|
||||
if (!this.isReadingTaskViewInOrder) {
|
||||
if (this.isReadingTaskViewInOrder !== 1) {
|
||||
// 清除缓存visitTaskList
|
||||
store.dispatch('reading/resetVisitTasks')
|
||||
}
|
||||
|
@ -260,12 +260,12 @@ export default {
|
|||
this.subjectCode = this.$router.currentRoute.query.subjectCode
|
||||
this.subjectId = this.$router.currentRoute.query.subjectId
|
||||
this.visitTaskId = this.$router.currentRoute.query.visitTaskId
|
||||
this.isReadingTaskViewInOrder = JSON.parse(this.$router.currentRoute.query.isReadingTaskViewInOrder)
|
||||
this.isReadingTaskViewInOrder = parseInt(this.$router.currentRoute.query.isReadingTaskViewInOrder)
|
||||
this.criterionType = this.$router.currentRoute.query.criterionType
|
||||
this.readingTool = this.$router.currentRoute.query.readingTool
|
||||
this.TrialReadingCriterionId = this.$router.currentRoute.query.TrialReadingCriterionId
|
||||
this.isNewSubject = this.$router.currentRoute.query.isNewSubject
|
||||
if (this.isNewSubject && this.isReadingTaskViewInOrder) {
|
||||
if (this.isNewSubject && this.isReadingTaskViewInOrder !== 0) {
|
||||
// 已开始受试者${this.subjectCode}阅片任务
|
||||
var msg = this.$t('trials:reading:warnning:msg1')
|
||||
msg = msg.replace('xxx', this.subjectCode)
|
||||
|
@ -341,7 +341,7 @@ export default {
|
|||
this.activeName = 'read'
|
||||
this.tabs = [this.activeName]
|
||||
}
|
||||
if (this.firstTaskReadingCategory === 1 && res.Result.ReadingCategory === 1 && this.isReadingTaskViewInOrder && flag) {
|
||||
if (this.firstTaskReadingCategory === 1 && res.Result.ReadingCategory === 1 && this.isReadingTaskViewInOrder !== 0 && flag) {
|
||||
this.activeName = 'read'
|
||||
this.tabs = [this.activeName]
|
||||
this.$nextTick(() => {
|
||||
|
|
|
@ -1,25 +1,8 @@
|
|||
<template>
|
||||
<BaseContainer
|
||||
v-loading="loading"
|
||||
style="height: 100%; background-color: #fff"
|
||||
>
|
||||
<el-tabs
|
||||
v-if="TrialReadingCriterionId"
|
||||
v-model="TrialReadingCriterionId"
|
||||
type="border-card"
|
||||
>
|
||||
<el-tab-pane
|
||||
v-for="item of trialCriterionList"
|
||||
:key="item.TrialReadingCriterionId"
|
||||
:label="item.TrialReadingCriterionName"
|
||||
:name="item.TrialReadingCriterionId"
|
||||
>
|
||||
<div
|
||||
v-if="
|
||||
isReadingTaskViewInOrder &&
|
||||
TrialReadingCriterionId === item.TrialReadingCriterionId
|
||||
"
|
||||
>
|
||||
<BaseContainer v-loading="loading" style="height:100%;background-color: #fff;">
|
||||
<el-tabs v-if="TrialReadingCriterionId" v-model="TrialReadingCriterionId" type="border-card">
|
||||
<el-tab-pane v-for="item of trialCriterionList" :key="item.TrialReadingCriterionId" :label="item.TrialReadingCriterionName" :name="item.TrialReadingCriterionId">
|
||||
<div v-if="(isReadingTaskViewInOrder === 1 || isReadingTaskViewInOrder === 2) && TrialReadingCriterionId === item.TrialReadingCriterionId">
|
||||
<div slot="search-container">
|
||||
<el-form :inline="true">
|
||||
<!-- 受试者编号 -->
|
||||
|
@ -199,13 +182,8 @@
|
|||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
v-else-if="
|
||||
isReadingTaskViewInOrder === false &&
|
||||
TrialReadingCriterionId === item.TrialReadingCriterionId
|
||||
"
|
||||
>
|
||||
<el-descriptions :column="2" border style="width: 800px">
|
||||
<div v-else-if="isReadingTaskViewInOrder === 0 && TrialReadingCriterionId === item.TrialReadingCriterionId">
|
||||
<el-descriptions :column="2" border style="width:800px">
|
||||
<!-- 剩余任务量 -->
|
||||
<el-descriptions-item
|
||||
:label="
|
||||
|
|
Loading…
Reference in New Issue