Merge branch 'main' of https://gitea.frp.extimaging.com/XCKJ/irc_web into main
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
commit
698dca94d4
|
|
@ -471,7 +471,7 @@ export default {
|
||||||
this.loading = false
|
this.loading = false
|
||||||
if (res.IsSuccess) {
|
if (res.IsSuccess) {
|
||||||
this.TrialModality = res.OtherInfo.TrialModality.split('|')
|
this.TrialModality = res.OtherInfo.TrialModality.split('|')
|
||||||
this.IsReadingTaskViewInOrder = res.OtherInfo.IsReadingTaskViewInOrder || 2
|
this.IsReadingTaskViewInOrder = res.OtherInfo.IsReadingTaskViewInOrder || res.OtherInfo.IsReadingTaskViewInOrder === 0 ? res.OtherInfo.IsReadingTaskViewInOrder : 2
|
||||||
this.StudyInstanceUidList = []
|
this.StudyInstanceUidList = []
|
||||||
this.SopInstanceUidList = []
|
this.SopInstanceUidList = []
|
||||||
this.UploadStudyList = []
|
this.UploadStudyList = []
|
||||||
|
|
|
||||||
|
|
@ -157,7 +157,7 @@
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
<el-tab-pane v-show="!visitTaskId" v-if="IsReadingTaskViewInOrder >= 2"
|
<el-tab-pane v-show="!visitTaskId" v-if="IsReadingTaskViewInOrder >= 2"
|
||||||
:label="$t('trials:dicom-show:relatedVisit')" name="relation-study" class="pane-relation-wrapper">
|
:label="$t('trials:dicom-show:relatedVisit')" name="relation-study" class="pane-relation-wrapper">
|
||||||
<div class="viewerSidethumbinner">
|
<div class="viewerSidethumbinner">
|
||||||
|
|
||||||
<el-collapse v-model="relationActiveName" @change="handelRelationActiveChange">
|
<el-collapse v-model="relationActiveName" @change="handelRelationActiveChange">
|
||||||
<div v-for="item in relationStudyListByVisitName" :key="`${item.VisitName}`">
|
<div v-for="item in relationStudyListByVisitName" :key="`${item.VisitName}`">
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,8 @@
|
||||||
<div v-show="imageType.includes(v.fileType)" :ref="`canvas-${index}`" class="content">
|
<div v-show="imageType.includes(v.fileType)" :ref="`canvas-${index}`" class="content">
|
||||||
<div class="left-top-text">
|
<div class="left-top-text">
|
||||||
<div v-if="v.currentFileName">{{ v.currentFileName }}</div>
|
<div v-if="v.currentFileName">{{ v.currentFileName }}</div>
|
||||||
<div v-if="v.imageIds.length > 0">{{ `${ v.currentImageIdIndex + 1 } / ${ v.imageIds.length }` }}</div>
|
<div v-if="v.imageIds.length > 0">{{ `${v.currentImageIdIndex + 1} / ${v.imageIds.length}` }}</div>
|
||||||
|
<div v-if="isComparison" style="font-size: 30px;color: #428bca;margin-top: 10px;">{{ tip[index] }}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="left-bottom-text">
|
<div class="left-bottom-text">
|
||||||
<div v-if="v.zoomText">{{ `Zoom: ${v.zoomText}` }}</div>
|
<div v-if="v.zoomText">{{ `Zoom: ${v.zoomText}` }}</div>
|
||||||
|
|
@ -226,7 +227,11 @@ export default {
|
||||||
tools: [],
|
tools: [],
|
||||||
viewportInfos: [],
|
viewportInfos: [],
|
||||||
activeCanvasIndex: 0,
|
activeCanvasIndex: 0,
|
||||||
serie: {}
|
serie: {},
|
||||||
|
tip: [
|
||||||
|
this.$t('DicomViewer:anonymous:after'),
|
||||||
|
this.$t('DicomViewer:anonymous:before')
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|
@ -252,8 +257,8 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
let type = this.$router.currentRoute.query.type ? this.$router.currentRoute.query.type : ''
|
// let type = this.$router.currentRoute.query.isQcCheck ? this.$router.currentRoute.query.type : ''
|
||||||
this.hasAnonymous = type === 'Study'
|
this.hasAnonymous = this.$router.currentRoute.query.isQcCheck
|
||||||
this.tools = config.customizeStandardsNoneDicom
|
this.tools = config.customizeStandardsNoneDicom
|
||||||
this.trialId = this.$route.query.trialId
|
this.trialId = this.$route.query.trialId
|
||||||
this.viewportInfos = Array.from({ length: this.cellsMax }, (_, index) => ({
|
this.viewportInfos = Array.from({ length: this.cellsMax }, (_, index) => ({
|
||||||
|
|
|
||||||
|
|
@ -10,8 +10,8 @@
|
||||||
<!-- 图像 -->
|
<!-- 图像 -->
|
||||||
<div class="middle-panel">
|
<div class="middle-panel">
|
||||||
|
|
||||||
<file-viewer ref="fileViewer" :isComparison="isComparison" @toggleImage="toggleImage" @selectFile="selectFile"
|
<file-viewer ref="fileViewer" :isComparison.sync="isComparison" @toggleImage="toggleImage"
|
||||||
@replaceImage="replaceImage" />
|
@selectFile="selectFile" @replaceImage="replaceImage" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
|
|
@ -413,7 +413,10 @@ export default {
|
||||||
handleSave(isAutoCommit, isCheck = false) {
|
handleSave(isAutoCommit, isCheck = false) {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
if (this.IsOnlyUploadFile && !isCheck) {
|
if (this.IsOnlyUploadFile && !isCheck) {
|
||||||
if (!this.form.CommonUploadRecordId) return this.$message.warning(this.$t("trials:researchForm:message:notCommonUploadRecordId"))
|
if (!this.form.CommonUploadRecordId) {
|
||||||
|
this.$message.warning(this.$t("trials:researchForm:message:notCommonUploadRecordId"))
|
||||||
|
return resolve(false)
|
||||||
|
}
|
||||||
this.btnLoading = true
|
this.btnLoading = true
|
||||||
const param = {
|
const param = {
|
||||||
id: this.form.Id,
|
id: this.form.Id,
|
||||||
|
|
@ -448,7 +451,7 @@ export default {
|
||||||
this.btnLoading = false
|
this.btnLoading = false
|
||||||
reject(false)
|
reject(false)
|
||||||
})
|
})
|
||||||
return false
|
return resolve(true)
|
||||||
}
|
}
|
||||||
this.$refs['researchBSForm'].validate(valid => {
|
this.$refs['researchBSForm'].validate(valid => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
|
|
|
||||||
|
|
@ -357,8 +357,18 @@ export default {
|
||||||
}
|
}
|
||||||
verifySendCode(param).then(async res => {
|
verifySendCode(param).then(async res => {
|
||||||
zzSessionStorage.clear()
|
zzSessionStorage.clear()
|
||||||
this.$i18n.locale = this.$route.query.lang
|
// this.$i18n.locale = this.$route.query.lang
|
||||||
this.setLanguage(this.$route.query.lang)
|
// this.setLanguage(this.$route.query.lang)
|
||||||
|
let lang = this.$route.query.lang
|
||||||
|
if (!lang) {
|
||||||
|
const language = navigator.language
|
||||||
|
lang = 'en'
|
||||||
|
if (language.includes("zh")) {
|
||||||
|
lang = 'zh'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
this.$i18n.locale = lang
|
||||||
|
this.setLanguage(lang)
|
||||||
store.dispatch('user/setToken', res.Result.Token)
|
store.dispatch('user/setToken', res.Result.Token)
|
||||||
zzSessionStorage.setItem('TokenKey', res.Result.Token)
|
zzSessionStorage.setItem('TokenKey', res.Result.Token)
|
||||||
zzSessionStorage.setItem('userId', res.Result.UserRoleId);
|
zzSessionStorage.setItem('userId', res.Result.UserRoleId);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue