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