修改配置应用到影像上传以及影像质控
continuous-integration/drone/push Build encountered an error
Details
continuous-integration/drone/push Build encountered an error
Details
parent
858a650986
commit
5bffb48b99
|
@ -11,6 +11,9 @@
|
||||||
<span>{{ study.CodeView }}</span>
|
<span>{{ study.CodeView }}</span>
|
||||||
<span style="margin: 0 5px">{{ study.Modality }}</span>
|
<span style="margin: 0 5px">{{ study.Modality }}</span>
|
||||||
<span>{{ getBodyPart(study.BodyPart) }}</span>
|
<span>{{ getBodyPart(study.BodyPart) }}</span>
|
||||||
|
<span v-if="OtherInfo.IsShowStudyName" style="margin-left: 5px">{{
|
||||||
|
study.StudyName
|
||||||
|
}}</span>
|
||||||
</div>
|
</div>
|
||||||
<!-- 文件层级 -->
|
<!-- 文件层级 -->
|
||||||
<div
|
<div
|
||||||
|
@ -45,7 +48,7 @@
|
||||||
</el-card>
|
</el-card>
|
||||||
<!-- 预览图像 -->
|
<!-- 预览图像 -->
|
||||||
<el-card class="box-card right">
|
<el-card class="box-card right">
|
||||||
<div style="width: 100%; height: 100%">
|
<div style="width: 100%; height: 100%" v-if="!showPDF">
|
||||||
<Preview
|
<Preview
|
||||||
v-if="previewImage.imgList.length > 0"
|
v-if="previewImage.imgList.length > 0"
|
||||||
ref="previewImage"
|
ref="previewImage"
|
||||||
|
@ -55,6 +58,9 @@
|
||||||
@selectedImg="selectedImg"
|
@selectedImg="selectedImg"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
<div style="width: 100%; height: 100%" v-else>
|
||||||
|
<PreviewFile :file-path="pdfFile.path" :file-type="pdfFile.type" />
|
||||||
|
</div>
|
||||||
</el-card>
|
</el-card>
|
||||||
|
|
||||||
<!-- <el-card class="box-card" style="width:300px;height:100%;padding: 10px;margin-left:10px;">
|
<!-- <el-card class="box-card" style="width:300px;height:100%;padding: 10px;margin-left:10px;">
|
||||||
|
@ -68,11 +74,13 @@ import { getNoneDicomStudyList } from '@/api/trials'
|
||||||
import store from '@/store'
|
import store from '@/store'
|
||||||
import { changeURLStatic } from '@/utils/history.js'
|
import { changeURLStatic } from '@/utils/history.js'
|
||||||
import Preview from './components/preview'
|
import Preview from './components/preview'
|
||||||
|
import PreviewFile from '@/components/PreviewFile'
|
||||||
// import CheckForm from './components/form'
|
// import CheckForm from './components/form'
|
||||||
export default {
|
export default {
|
||||||
name: 'Notice',
|
name: 'Notice',
|
||||||
components: {
|
components: {
|
||||||
Preview,
|
Preview,
|
||||||
|
PreviewFile,
|
||||||
// CheckForm
|
// CheckForm
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
|
@ -97,6 +105,12 @@ export default {
|
||||||
sudyId: '',
|
sudyId: '',
|
||||||
loading: false,
|
loading: false,
|
||||||
bp: [],
|
bp: [],
|
||||||
|
OtherInfo: {},
|
||||||
|
showPDF: false,
|
||||||
|
pdfFile: {
|
||||||
|
path: null,
|
||||||
|
type: null,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
async created() {
|
async created() {
|
||||||
|
@ -148,6 +162,7 @@ export default {
|
||||||
)
|
)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
this.studyList = res.Result
|
this.studyList = res.Result
|
||||||
|
this.OtherInfo = res.OtherInfo
|
||||||
this.loading = false
|
this.loading = false
|
||||||
const studyIndex = this.studyList.findIndex((item) => {
|
const studyIndex = this.studyList.findIndex((item) => {
|
||||||
return item.NoneDicomStudyFileList.length > 0
|
return item.NoneDicomStudyFileList.length > 0
|
||||||
|
@ -162,10 +177,19 @@ export default {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
selected(file, studyIndex, fileIndex, isChangeSub = false) {
|
selected(file, studyIndex, fileIndex, isChangeSub = false) {
|
||||||
|
if (!!~file.FileType.indexOf('pdf')) {
|
||||||
|
this.pdfFile.path = file.Path || file.FullFilePath
|
||||||
|
this.pdfFile.type = 'pdf'
|
||||||
|
this.showPDF = true
|
||||||
|
return true
|
||||||
|
} else {
|
||||||
|
this.showPDF = false
|
||||||
|
}
|
||||||
this.currentFileId = file.Id
|
this.currentFileId = file.Id
|
||||||
this.currentStudyIndex = studyIndex
|
this.currentStudyIndex = studyIndex
|
||||||
this.previewImage.imgList =
|
this.previewImage.imgList = this.studyList[
|
||||||
this.studyList[studyIndex].NoneDicomStudyFileList
|
studyIndex
|
||||||
|
].NoneDicomStudyFileList.filter((item) => !~item.FileType.indexOf('pdf'))
|
||||||
this.currentStudyFileIndex = fileIndex
|
this.currentStudyFileIndex = fileIndex
|
||||||
this.previewImage.index = fileIndex
|
this.previewImage.index = fileIndex
|
||||||
this.previewImage.studyCode = this.studyList[studyIndex].CodeView
|
this.previewImage.studyCode = this.studyList[studyIndex].CodeView
|
||||||
|
|
|
@ -87,6 +87,12 @@
|
||||||
{{ scope.row.StudyCode }}
|
{{ scope.row.StudyCode }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<!-- 检查名称 -->
|
||||||
|
<el-table-column
|
||||||
|
v-if="relationInfo.IsShowStudyName"
|
||||||
|
prop="StudyName"
|
||||||
|
:label="$t('trials:audit:table:StudyName')"
|
||||||
|
/>
|
||||||
<!-- 检查类型 -->
|
<!-- 检查类型 -->
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="ModalityForEdit"
|
prop="ModalityForEdit"
|
||||||
|
@ -694,6 +700,30 @@
|
||||||
<el-form-item :label="$t('trials:audit:table:studyId')">
|
<el-form-item :label="$t('trials:audit:table:studyId')">
|
||||||
<el-input v-model="studyForm.StudyCode" disabled />
|
<el-input v-model="studyForm.StudyCode" disabled />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<!-- 检查名称 -->
|
||||||
|
<el-form-item
|
||||||
|
v-if="relationInfo.IsShowStudyName"
|
||||||
|
:label="$t('trials:audit:table:StudyName')"
|
||||||
|
prop="StudyName"
|
||||||
|
:rules="[
|
||||||
|
{
|
||||||
|
required: true,
|
||||||
|
message: $t('common:ruleMessage:specify'),
|
||||||
|
trigger: 'blur',
|
||||||
|
},
|
||||||
|
]"
|
||||||
|
>
|
||||||
|
<el-radio-group v-model="studyForm.StudyName">
|
||||||
|
<template v-for="m in relationInfo.StudyNameList">
|
||||||
|
<el-radio
|
||||||
|
v-if="m.IsChoose"
|
||||||
|
:key="m.Name"
|
||||||
|
:label="isEN ? m.EnName : m.Name"
|
||||||
|
style="margin-bottom: 15px"
|
||||||
|
/>
|
||||||
|
</template>
|
||||||
|
</el-radio-group>
|
||||||
|
</el-form-item>
|
||||||
<!-- 检查类型 -->
|
<!-- 检查类型 -->
|
||||||
<el-form-item
|
<el-form-item
|
||||||
v-if="studyForm.IsDicomData"
|
v-if="studyForm.IsDicomData"
|
||||||
|
@ -899,6 +929,11 @@ export default {
|
||||||
isClose: false,
|
isClose: false,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
computed: {
|
||||||
|
isEN() {
|
||||||
|
return this.$i18n.locale !== 'zh'
|
||||||
|
},
|
||||||
|
},
|
||||||
watch: {
|
watch: {
|
||||||
btnLoading() {
|
btnLoading() {
|
||||||
store.dispatch('trials/setUnLock', this.btnLoading)
|
store.dispatch('trials/setUnLock', this.btnLoading)
|
||||||
|
@ -959,6 +994,7 @@ export default {
|
||||||
type: 1,
|
type: 1,
|
||||||
modality: this.studyForm.Modality,
|
modality: this.studyForm.Modality,
|
||||||
bodyPart: this.studyForm.BodyPart,
|
bodyPart: this.studyForm.BodyPart,
|
||||||
|
StudyName: this.studyForm.StudyName,
|
||||||
}
|
}
|
||||||
updateModality(this.trialId, params)
|
updateModality(this.trialId, params)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
|
|
|
@ -29,6 +29,12 @@
|
||||||
prop="CodeView"
|
prop="CodeView"
|
||||||
:label="$t('trials:uploadNonDicoms:table:studyId')"
|
:label="$t('trials:uploadNonDicoms:table:studyId')"
|
||||||
/>
|
/>
|
||||||
|
<!-- 检查名称 -->
|
||||||
|
<el-table-column
|
||||||
|
v-if="relationInfo.IsShowStudyName"
|
||||||
|
prop="StudyName"
|
||||||
|
:label="$t('trials:uploadNonDicoms:table:StudyName')"
|
||||||
|
/>
|
||||||
<!-- 检查类型 -->
|
<!-- 检查类型 -->
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="Modality"
|
prop="Modality"
|
||||||
|
@ -235,6 +241,30 @@
|
||||||
>
|
>
|
||||||
<el-input v-model="form.CodeView" disabled />
|
<el-input v-model="form.CodeView" disabled />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<!-- 检查名称 -->
|
||||||
|
<el-form-item
|
||||||
|
v-if="relationInfo.IsShowStudyName"
|
||||||
|
:label="$t('trials:uploadNonDicoms:table:StudyName')"
|
||||||
|
prop="StudyName"
|
||||||
|
:rules="[
|
||||||
|
{
|
||||||
|
required: true,
|
||||||
|
message: $t('common:ruleMessage:specify'),
|
||||||
|
trigger: 'blur',
|
||||||
|
},
|
||||||
|
]"
|
||||||
|
>
|
||||||
|
<el-radio-group v-model="form.StudyName">
|
||||||
|
<template v-for="m in relationInfo.StudyNameList">
|
||||||
|
<el-radio
|
||||||
|
v-if="m.IsChoose"
|
||||||
|
:key="m.Name"
|
||||||
|
:label="isEN ? m.EnName : m.Name"
|
||||||
|
style="line-height: 40px"
|
||||||
|
/>
|
||||||
|
</template>
|
||||||
|
</el-radio-group>
|
||||||
|
</el-form-item>
|
||||||
<!-- 检查类型 -->
|
<!-- 检查类型 -->
|
||||||
<el-form-item
|
<el-form-item
|
||||||
:label="$t('trials:uploadNonDicoms:table:modality')"
|
:label="$t('trials:uploadNonDicoms:table:modality')"
|
||||||
|
@ -343,7 +373,10 @@
|
||||||
<!-- 多文件上传 -->
|
<!-- 多文件上传 -->
|
||||||
<form id="inputForm" ref="uploadForm">
|
<form id="inputForm" ref="uploadForm">
|
||||||
<el-divider content-position="left">{{
|
<el-divider content-position="left">{{
|
||||||
$t('trials:uploadNonDicoms:label:fileType')
|
$t('trials:uploadNonDicoms:label:fileType').replace(
|
||||||
|
'xxx',
|
||||||
|
relationInfo.ImageFormatList.join('/')
|
||||||
|
)
|
||||||
}}</el-divider>
|
}}</el-divider>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<div class="upload" style="margin-right: 10px">
|
<div class="upload" style="margin-right: 10px">
|
||||||
|
@ -602,6 +635,7 @@ export default {
|
||||||
BodyParts: [],
|
BodyParts: [],
|
||||||
Modality: '',
|
Modality: '',
|
||||||
ImageDate: '',
|
ImageDate: '',
|
||||||
|
StudyName: '',
|
||||||
},
|
},
|
||||||
pickerOption: {
|
pickerOption: {
|
||||||
disabledDate: (time) => {
|
disabledDate: (time) => {
|
||||||
|
@ -627,6 +661,7 @@ export default {
|
||||||
moment,
|
moment,
|
||||||
BodyPart: {},
|
BodyPart: {},
|
||||||
studyMonitorId: null,
|
studyMonitorId: null,
|
||||||
|
relationInfo: {},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
async mounted() {
|
async mounted() {
|
||||||
|
@ -666,12 +701,22 @@ export default {
|
||||||
store.dispatch('trials/setUnLock', false)
|
store.dispatch('trials/setUnLock', false)
|
||||||
this.OSSclient.close()
|
this.OSSclient.close()
|
||||||
},
|
},
|
||||||
|
computed: {
|
||||||
|
isEN() {
|
||||||
|
return this.$i18n.locale !== 'zh'
|
||||||
|
},
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
// 初始化非Dicom列表数据
|
// 初始化非Dicom列表数据
|
||||||
getNoneDicomList() {
|
getNoneDicomList() {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
getNoneDicomStudyList(this.subjectVisitId)
|
getNoneDicomStudyList(this.subjectVisitId)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
|
this.relationInfo = res.OtherInfo
|
||||||
|
this.faccept = []
|
||||||
|
this.relationInfo.ImageFormatList.forEach((item) => {
|
||||||
|
this.faccept.push(`.${item}`)
|
||||||
|
})
|
||||||
this.nonDicomStudyList = res.Result.map((v) => {
|
this.nonDicomStudyList = res.Result.map((v) => {
|
||||||
if (v.VideoObjectName) {
|
if (v.VideoObjectName) {
|
||||||
v.FileCount += 1
|
v.FileCount += 1
|
||||||
|
@ -691,6 +736,7 @@ export default {
|
||||||
this.form.CodeView = ''
|
this.form.CodeView = ''
|
||||||
this.form.BodyPart = ''
|
this.form.BodyPart = ''
|
||||||
this.form.Modality = ''
|
this.form.Modality = ''
|
||||||
|
this.form.StudyName = ''
|
||||||
this.form.ImageDate = ''
|
this.form.ImageDate = ''
|
||||||
this.form.BodyParts = []
|
this.form.BodyParts = []
|
||||||
this.dialogVisible = true
|
this.dialogVisible = true
|
||||||
|
@ -698,11 +744,14 @@ export default {
|
||||||
// 打开比编辑弹框,并初始化数据
|
// 打开比编辑弹框,并初始化数据
|
||||||
handleEdit(row) {
|
handleEdit(row) {
|
||||||
this.title = this.$t('trials:uploadNonDicoms:dialogTitle:edit')
|
this.title = this.$t('trials:uploadNonDicoms:dialogTitle:edit')
|
||||||
const { CodeView, Id, BodyPart, Modality, ImageDate } = { ...row }
|
const { CodeView, Id, BodyPart, Modality, ImageDate, StudyName } = {
|
||||||
|
...row,
|
||||||
|
}
|
||||||
this.form.CodeView = CodeView
|
this.form.CodeView = CodeView
|
||||||
this.form.Id = Id
|
this.form.Id = Id
|
||||||
this.form.BodyPart = BodyPart
|
this.form.BodyPart = BodyPart
|
||||||
this.form.Modality = Modality
|
this.form.Modality = Modality
|
||||||
|
this.form.StudyName = StudyName
|
||||||
this.form.ImageDate = ImageDate
|
this.form.ImageDate = ImageDate
|
||||||
this.form.BodyParts = this.form.BodyPart.split(', ')
|
this.form.BodyParts = this.form.BodyPart.split(', ')
|
||||||
this.dialogVisible = true
|
this.dialogVisible = true
|
||||||
|
@ -909,6 +958,13 @@ export default {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
handlePreviewImg(row) {
|
handlePreviewImg(row) {
|
||||||
|
if (!!~row.FileType.indexOf('pdf')) {
|
||||||
|
return this.$preview({
|
||||||
|
path: row.Path || row.fullPath,
|
||||||
|
type: 'pdf',
|
||||||
|
title: row.FileName,
|
||||||
|
})
|
||||||
|
}
|
||||||
// this.imgUrl = row.FullFilePath
|
// this.imgUrl = row.FullFilePath
|
||||||
// this.previewImgVisible = true
|
// this.previewImgVisible = true
|
||||||
// this.imageLoading = true
|
// this.imageLoading = true
|
||||||
|
|
|
@ -105,6 +105,12 @@
|
||||||
prop="StudyCode"
|
prop="StudyCode"
|
||||||
:label="$t('trials:audit:table:studyId')"
|
:label="$t('trials:audit:table:studyId')"
|
||||||
/>
|
/>
|
||||||
|
<!-- 检查名称 -->
|
||||||
|
<el-table-column
|
||||||
|
prop="StudyName"
|
||||||
|
v-if="relationInfo.IsShowStudyName"
|
||||||
|
:label="$t('trials:audit:table:StudyName')"
|
||||||
|
/>
|
||||||
<!-- 检查类型 -->
|
<!-- 检查类型 -->
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="ModalityForEdit"
|
prop="ModalityForEdit"
|
||||||
|
@ -133,7 +139,9 @@
|
||||||
style="color: #f44336; font-size: 16px"
|
style="color: #f44336; font-size: 16px"
|
||||||
/>
|
/>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
<span v-else>{{ getBodyPart(scope.row.BodyPartForEdit) }}</span>
|
<span v-else>{{
|
||||||
|
getBodyPart(scope.row.BodyPartForEdit)
|
||||||
|
}}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<!-- 序列数量 -->
|
<!-- 序列数量 -->
|
||||||
|
@ -387,6 +395,12 @@
|
||||||
prop="CodeView"
|
prop="CodeView"
|
||||||
:label="$t('trials:audit:table:nonDicomsStudyId')"
|
:label="$t('trials:audit:table:nonDicomsStudyId')"
|
||||||
/>
|
/>
|
||||||
|
<!-- 检查名称 -->
|
||||||
|
<el-table-column
|
||||||
|
prop="StudyName"
|
||||||
|
v-if="relationInfo.IsShowStudyName"
|
||||||
|
:label="$t('trials:audit:table:StudyName')"
|
||||||
|
/>
|
||||||
<!-- 检查类型 -->
|
<!-- 检查类型 -->
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="Modality"
|
prop="Modality"
|
||||||
|
@ -886,6 +900,30 @@
|
||||||
<el-form-item :label="$t('trials:audit:table:studyId')">
|
<el-form-item :label="$t('trials:audit:table:studyId')">
|
||||||
<el-input v-model="studyForm.StudyCode" disabled />
|
<el-input v-model="studyForm.StudyCode" disabled />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<!-- 检查名称 -->
|
||||||
|
<el-form-item
|
||||||
|
v-if="relationInfo.IsShowStudyName"
|
||||||
|
:label="$t('trials:audit:table:StudyName')"
|
||||||
|
prop="StudyName"
|
||||||
|
:rules="[
|
||||||
|
{
|
||||||
|
required: true,
|
||||||
|
message: $t('common:ruleMessage:specify'),
|
||||||
|
trigger: 'blur',
|
||||||
|
},
|
||||||
|
]"
|
||||||
|
>
|
||||||
|
<el-radio-group v-model="studyForm.StudyName">
|
||||||
|
<template v-for="m in relationInfo.StudyNameList">
|
||||||
|
<el-radio
|
||||||
|
v-if="m.IsChoose"
|
||||||
|
:key="m.Name"
|
||||||
|
:label="isEN ? m.EnName : m.Name"
|
||||||
|
style="line-height: 40px"
|
||||||
|
/>
|
||||||
|
</template>
|
||||||
|
</el-radio-group>
|
||||||
|
</el-form-item>
|
||||||
<!-- 检查类型 -->
|
<!-- 检查类型 -->
|
||||||
<el-form-item
|
<el-form-item
|
||||||
v-if="studyForm.IsDicomData"
|
v-if="studyForm.IsDicomData"
|
||||||
|
@ -1034,6 +1072,30 @@
|
||||||
<el-form-item :label="$t('trials:audit:table:nonDicomsStudyId')">
|
<el-form-item :label="$t('trials:audit:table:nonDicomsStudyId')">
|
||||||
<el-input v-model="noneDicomForm.CodeView" disabled />
|
<el-input v-model="noneDicomForm.CodeView" disabled />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<!-- 检查名称 -->
|
||||||
|
<el-form-item
|
||||||
|
v-if="relationInfo.IsShowStudyName"
|
||||||
|
:label="$t('trials:audit:table:StudyName')"
|
||||||
|
prop="StudyName"
|
||||||
|
:rules="[
|
||||||
|
{
|
||||||
|
required: true,
|
||||||
|
message: $t('common:ruleMessage:specify'),
|
||||||
|
trigger: 'blur',
|
||||||
|
},
|
||||||
|
]"
|
||||||
|
>
|
||||||
|
<el-radio-group v-model="noneDicomForm.StudyName">
|
||||||
|
<template v-for="m in relationInfo.StudyNameList">
|
||||||
|
<el-radio
|
||||||
|
v-if="m.IsChoose"
|
||||||
|
:key="m.Name"
|
||||||
|
:label="isEN ? m.EnName : m.Name"
|
||||||
|
style="line-height: 40px"
|
||||||
|
/>
|
||||||
|
</template>
|
||||||
|
</el-radio-group>
|
||||||
|
</el-form-item>
|
||||||
<!-- 检查类型 -->
|
<!-- 检查类型 -->
|
||||||
<el-form-item
|
<el-form-item
|
||||||
:label="$t('trials:audit:table:nonDicomsModality')"
|
:label="$t('trials:audit:table:nonDicomsModality')"
|
||||||
|
@ -1343,6 +1405,11 @@ export default {
|
||||||
default: 1,
|
default: 1,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
computed: {
|
||||||
|
isEN() {
|
||||||
|
return this.$i18n.locale !== 'zh'
|
||||||
|
},
|
||||||
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
activeName: this.data.DicomStudyCount > 0 ? 'dicom' : 'none-dicom',
|
activeName: this.data.DicomStudyCount > 0 ? 'dicom' : 'none-dicom',
|
||||||
|
@ -1392,6 +1459,7 @@ export default {
|
||||||
BodyParts: [],
|
BodyParts: [],
|
||||||
Modality: '',
|
Modality: '',
|
||||||
ImageDate: '',
|
ImageDate: '',
|
||||||
|
StudyName: '',
|
||||||
},
|
},
|
||||||
subjectClinicalData: {},
|
subjectClinicalData: {},
|
||||||
moment,
|
moment,
|
||||||
|
@ -2297,6 +2365,7 @@ export default {
|
||||||
type: 1,
|
type: 1,
|
||||||
modality: this.studyForm.Modality,
|
modality: this.studyForm.Modality,
|
||||||
bodyPart: this.studyForm.BodyPart,
|
bodyPart: this.studyForm.BodyPart,
|
||||||
|
StudyName: this.studyForm.StudyName,
|
||||||
}
|
}
|
||||||
updateModality(this.data.TrialId, params)
|
updateModality(this.data.TrialId, params)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
|
@ -2328,7 +2397,10 @@ export default {
|
||||||
|
|
||||||
// 打开非Dicom信息编辑框
|
// 打开非Dicom信息编辑框
|
||||||
handleEditNoneDicomInfo(row) {
|
handleEditNoneDicomInfo(row) {
|
||||||
const { CodeView, Id, BodyPart, Modality, ImageDate } = { ...row }
|
const { CodeView, Id, BodyPart, Modality, ImageDate, StudyName } = {
|
||||||
|
...row,
|
||||||
|
}
|
||||||
|
this.noneDicomForm.StudyName = StudyName
|
||||||
this.noneDicomForm.CodeView = CodeView
|
this.noneDicomForm.CodeView = CodeView
|
||||||
this.noneDicomForm.Id = Id
|
this.noneDicomForm.Id = Id
|
||||||
this.noneDicomForm.BodyPart = BodyPart
|
this.noneDicomForm.BodyPart = BodyPart
|
||||||
|
@ -2375,6 +2447,13 @@ export default {
|
||||||
},
|
},
|
||||||
// 预览文件
|
// 预览文件
|
||||||
previewFile(row) {
|
previewFile(row) {
|
||||||
|
if (!!~row.FileType.indexOf('pdf')) {
|
||||||
|
return this.$preview({
|
||||||
|
path: row.Path || row.fullPath,
|
||||||
|
type: 'pdf',
|
||||||
|
title: row.FileName,
|
||||||
|
})
|
||||||
|
}
|
||||||
// window.open(row.FullFilePath, '_blank')
|
// window.open(row.FullFilePath, '_blank')
|
||||||
// this.imgObj.url = row.FullFilePath
|
// this.imgObj.url = row.FullFilePath
|
||||||
// this.imgObj.loading = true
|
// this.imgObj.loading = true
|
||||||
|
|
Loading…
Reference in New Issue