From 1a26d3885a053f92ccc70645e1846bb5deb0a8af Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Mon, 8 Jun 2026 15:42:58 +0800 Subject: [PATCH 1/2] 1 --- src/views/trials/trials-panel/reading/read-task/index.vue | 1 - 1 file changed, 1 deletion(-) diff --git a/src/views/trials/trials-panel/reading/read-task/index.vue b/src/views/trials/trials-panel/reading/read-task/index.vue index 326b6800..8c0bcec2 100644 --- a/src/views/trials/trials-panel/reading/read-task/index.vue +++ b/src/views/trials/trials-panel/reading/read-task/index.vue @@ -380,7 +380,6 @@ export default { }, computed: { isTumor() { - return true let criterion = this.trialCriterionList.find(item => item.TrialReadingCriterionId === this.TrialReadingCriterionId) if (criterion) { return [1, 18, 2, 3, 7, 10, 17].includes(Number(criterion.CriterionType)) From 7325760c234a9d2c0b703863e6d5b129077db584 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Tue, 9 Jun 2026 13:39:02 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=9C=A8=E8=B4=A6=E5=8F=B7=E9=95=BF?= =?UTF-8?q?=E6=97=B6=E9=97=B4=E6=9C=AA=E8=AE=BF=E9=97=AE=EF=BC=8C=E9=94=81?= =?UTF-8?q?=E5=AE=9A=E6=88=96=E8=80=85=E9=80=80=E5=87=BA=E6=97=B6=EF=BC=8C?= =?UTF-8?q?=E4=B8=8D=E8=83=BD=E5=B1=95=E7=A4=BA=E9=A1=B5=E9=9D=A2=E6=95=B0?= =?UTF-8?q?=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 8 ++++---- src/main.js | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/App.vue b/src/App.vue index 3d5733f0..730b503a 100644 --- a/src/App.vue +++ b/src/App.vue @@ -120,10 +120,10 @@ export default { mounted() { this.show = process.env.VUE_APP_OSS_PATH === '/test/dist' Vue.prototype.$openI18n = this.openI18n - // this.getIsLock() - // DicomEvent.$on("isLock", (isLock) => { - // this.isLock = isLock - // }) + this.getIsLock() + DicomEvent.$on("isLock", (isLock) => { + this.isLock = isLock + }) }, // watch: { // '$route.query': { diff --git a/src/main.js b/src/main.js index 9c67244c..83cb16e7 100644 --- a/src/main.js +++ b/src/main.js @@ -1,6 +1,6 @@ import Vue from 'vue' -// import DicomEvent from '@/views/trials/trials-panel/reading/dicoms/components/DicomEvent' +import DicomEvent from '@/views/trials/trials-panel/reading/dicoms/components/DicomEvent' import 'normalize.css/normalize.css' // A modern alternative to CSS resets // import { createVersionPolling } from "@/utils/version-polling.esm.js"; import ElementUI, { MessageBox } from 'element-ui' @@ -452,7 +452,7 @@ async function VueInit() { isOpen = false isLock = null zzSessionStorage.removeItem('isLock') - // DicomEvent.$emit('isLock', false) + DicomEvent.$emit('isLock', false) router.push("/login") }).then(() => { // _vm.$alert(lang === 'zh' ? '由于您长时间未操作,为保护您的数据安全已强制将您下线,如果需要继续操作请重新登陆!' : 'No operation for a long time non-operation, you have been forced logout to protect data security. If continue to operate, please login again!', { @@ -473,7 +473,7 @@ async function VueInit() { if (_vm.$route.path === '/login') { zzSessionStorage.removeItem('lastWorkbench') zzSessionStorage.removeItem('isLock') - // DicomEvent.$emit('isLock', false) + DicomEvent.$emit('isLock', false) isLock = null } return @@ -483,7 +483,7 @@ async function VueInit() { } isOpen = true zzSessionStorage.setItem('isLock', 'true') - // DicomEvent.$emit('isLock', true) + DicomEvent.$emit('isLock', true) _vm.$msgbox({ title: _vm.$t("env:lock:msgBox:title"), confirmButtonText: _vm.$t("env:lock:msgBox:confirmButtonText"), @@ -516,7 +516,7 @@ async function VueInit() { count = 0; isLock = null zzSessionStorage.removeItem('isLock') - // DicomEvent.$emit('isLock', false) + DicomEvent.$emit('isLock', false) localStorage.setItem('count', '0') document.querySelector('#my_username').value = null document.querySelector('#my_password').value = null