i.index === this.activeCanvasIndex)
if (i === -1) return
- if (obj.studyId === this.viewportInfos[i].studyId && this.viewportInfos[i].fileType === 'image/jpeg' && obj.fileInfo.FileType === 'image/jpeg') {
+ if (obj.studyId === this.viewportInfos[i].studyId && this.imageType.includes(this.viewportInfos[i].fileType) && this.imageType.includes(obj.fileInfo.FileType)) {
const fileIndex = this.viewportInfos[i].fileList.findIndex(i => i.Path === obj.fileInfo.Path)
this.sliceIndex(fileIndex)
} else {
@@ -525,8 +526,8 @@ export default {
this.viewportInfos[i].currentFileName = obj.fileInfo.FileName
this.viewportInfos[i].studyId = obj.studyId
this.viewportInfos[i].fileType = obj.fileInfo.FileType
- if (obj.fileInfo.FileType === 'image/jpeg') {
- const arr = obj.fileList.filter(i => i.FileType === obj.fileInfo.FileType)
+ if (this.imageType.includes(obj.fileInfo.FileType)) {
+ const arr = obj.fileList.filter(i => this.imageType.includes(i.FileType))
this.viewportInfos[i].fileList = arr
const fileIndex = this.viewportInfos[i].fileList.findIndex(i => i.Path === obj.fileInfo.Path)
this.viewportInfos[i].currentImageIdIndex = fileIndex
@@ -648,7 +649,7 @@ export default {
// 切换全屏
toggleFullScreen(e, index) {
const i = this.viewportInfos.findIndex(i => i.index === index)
- if (i === -1 && this.viewportInfos[i].fileType !== 'image/jpeg') return
+ if (i === -1 && this.imageType.includes(this.viewportInfos[i].fileType)) return
this.fullScreenIndex = this.fullScreenIndex === index ? null : index
this.activeCanvasIndex = index
},
@@ -847,12 +848,12 @@ export default {
},
sliderMouseup(e, index) {
const i = this.viewportInfos.findIndex(i => i.index === index)
- if (i === -1 && this.viewportInfos[i].fileType !== 'image/jpeg') return
+ if (i === -1 && this.imageType.includes(this.viewportInfos[i].fileType)) return
this.viewportInfos[i].isMove = false
},
sliderMousemove(e, index) {
const i = this.viewportInfos.findIndex(i => i.index === index)
- if (i === -1 && this.viewportInfos[i].fileType !== 'image/jpeg') return
+ if (i === -1 && this.imageType.includes(this.viewportInfos[i].fileType)) return
if (!this.viewportInfos[i].isMove) return
const delta = this.viewportInfos[i].oldB - (this.viewportInfos[i].oldM - e.clientY)
const boxHeight = this.$refs[`sliderBox-${index}`][0].clientHeight
diff --git a/vue.config.js b/vue.config.js
index c63cc912..bd6b6889 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -12,12 +12,12 @@ const defaultSettings = require('./src/settings.js')
const moment = require('moment')
var distDate = moment(new Date()).format('YYYY-MM-DD')
const name = process.env.NODE_ENV === 'usa' ? 'LILI' : defaultSettings.title || 'IRCIS' // page title
-const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
+// const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin
// eslint-disable-next-line no-undef
module.exports = defineConfig({
// lintOnSave: false,
transpileDependencies: false,
- publicPath: process.env.NODE_ENV === 'development' || process.env.VUE_APP_OSS_CONFIG_BUCKET === 'zyypacs-usa' ? process.env.VUE_APP_BASE_PATH : `${process.env.VUE_FILE_PATH}${process.env.VUE_APP_OSS_PATH}${distDate}/`,
+ publicPath: process.env.NODE_ENV === 'development' || process.env.NODE_ENV === 'production' || process.env.VUE_APP_OSS_CONFIG_BUCKET === 'zyypacs-usa' ? process.env.VUE_APP_BASE_PATH : `${process.env.VUE_FILE_PATH}${process.env.VUE_APP_OSS_PATH}${distDate}/`,
// publicPath: '/',
outputDir: 'dist',
assetsDir: 'static',
@@ -97,7 +97,7 @@ module.exports = defineConfig({
]
}),
// new BundleAnalyzerPlugin(),
- process.env.NODE_ENV === 'development' || process.env.VUE_APP_OSS_CONFIG_BUCKET === 'zyypacs-usa' ? function () { }
+ process.env.NODE_ENV === 'development' || process.env.VUE_APP_OSS_CONFIG_BUCKET === 'zyypacs-usa' ? function() { }
: new WebpackAliyunOss({
from: ['./dist/**'],
dist: process.env.VUE_APP_OSS_PATH + distDate,
@@ -184,7 +184,7 @@ module.exports = defineConfig({
// 生成文件的最大体积
maxAssetSize: 3000000000,
// 只给出js的性能提示
- assetFilter: function (assetFileName) {
+ assetFilter: function(assetFileName) {
return assetFileName.endsWith('.js')
}
}
From 9e1cd5a099561998463f316b8c378bdb1d76e3ed Mon Sep 17 00:00:00 2001
From: caiyiling <1321909229@qq.com>
Date: Wed, 12 Mar 2025 09:34:50 +0800
Subject: [PATCH 2/5] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?=
=?UTF-8?q?=E6=9B=B4=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
vue.config.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vue.config.js b/vue.config.js
index bd6b6889..54aca566 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -97,7 +97,7 @@ module.exports = defineConfig({
]
}),
// new BundleAnalyzerPlugin(),
- process.env.NODE_ENV === 'development' || process.env.VUE_APP_OSS_CONFIG_BUCKET === 'zyypacs-usa' ? function() { }
+ process.env.NODE_ENV === 'development' || process.env.NODE_ENV === 'production' || process.env.VUE_APP_OSS_CONFIG_BUCKET === 'zyypacs-usa' ? function() { }
: new WebpackAliyunOss({
from: ['./dist/**'],
dist: process.env.VUE_APP_OSS_PATH + distDate,
From 7f3da436c4b25682af14015e4e35c7ed41d7eff9 Mon Sep 17 00:00:00 2001
From: caiyiling <1321909229@qq.com>
Date: Wed, 12 Mar 2025 10:21:40 +0800
Subject: [PATCH 3/5] =?UTF-8?q?=E5=90=8E=E5=8F=B0=E7=AE=A1=E7=90=86?=
=?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../template/components/AddCriterion.vue | 2 +-
.../template/components/Anonymization.vue | 1 -
.../components/ClinicalDataConfig.vue | 15 ++++++++++---
.../components/CriterionQuestionForm.vue | 2 +-
.../template/components/CriterionsConfig.vue | 21 ++++++++++++-------
.../template/components/CriterionsTmp.vue | 9 +++++---
.../components/EvaluationOfGlobalConfig.vue | 6 +++---
.../components/EvaluationOfOncologyConfig.vue | 6 +++---
.../template/components/IncreaseFields.vue | 1 -
.../template/components/MedicalAudit.vue | 14 ++++++++++---
.../template/components/OrgansTbl.vue | 8 +++++--
.../template/components/QcQuestions.vue | 1 -
12 files changed, 56 insertions(+), 30 deletions(-)
diff --git a/src/views/dictionary/template/components/AddCriterion.vue b/src/views/dictionary/template/components/AddCriterion.vue
index a5813a0b..7ed216d1 100644
--- a/src/views/dictionary/template/components/AddCriterion.vue
+++ b/src/views/dictionary/template/components/AddCriterion.vue
@@ -3,7 +3,7 @@
ref="organForm"
v-loading="loading"
:model="form"
- label-width="130px"
+ label-width="170px"
size="small"
:rules="rules"
>
diff --git a/src/views/dictionary/template/components/Anonymization.vue b/src/views/dictionary/template/components/Anonymization.vue
index eeec9d9e..332c3054 100644
--- a/src/views/dictionary/template/components/Anonymization.vue
+++ b/src/views/dictionary/template/components/Anonymization.vue
@@ -42,7 +42,6 @@
v-adaptive="{bottomOffset:45}"
:data="list"
stripe
- size="small"
height="100"
>
diff --git a/src/views/dictionary/template/components/ClinicalDataConfig.vue b/src/views/dictionary/template/components/ClinicalDataConfig.vue
index af264fda..0b6cb58d 100644
--- a/src/views/dictionary/template/components/ClinicalDataConfig.vue
+++ b/src/views/dictionary/template/components/ClinicalDataConfig.vue
@@ -53,27 +53,29 @@
v-adaptive="{bottomOffset:45}"
:data="list"
stripe
- size="small"
height="100"
>
-
+
{{ $fd('ClinicalDataUploadRole',scope.row.UploadRole) }}
@@ -84,6 +86,7 @@
prop="ClinicalDataLevel"
:label="$t('trials:processCfg:title:dataLevel')"
show-overflow-tooltip
+ min-width="120"
>
{{ $fd('ClinicalLevel',scope.row.ClinicalDataLevel) }}
@@ -94,6 +97,7 @@
prop="ClinicalUploadType"
:label="$t('trials:processCfg:title:transferType')"
show-overflow-tooltip
+ min-width="120"
>
{{ $fd('ClinicalUploadType',scope.row.ClinicalUploadType) }}
@@ -104,6 +108,7 @@
prop="CriterionEnumList"
:label="$t('trials:processCfg:label:criterion')"
show-overflow-tooltip
+ min-width="200"
>
{{ scope.row.CriterionEnumList.map(v => $fd('CriterionType', v)).toString() }}
@@ -114,6 +119,7 @@
prop="FileName"
:label="$t('trials:processCfg:title:module')"
show-overflow-tooltip
+ min-width="120"
>
{{ scope.row.FileName }}
@@ -124,6 +130,7 @@
prop="EnFileName"
:label="$t('trials:processCfg:title:enModule')"
show-overflow-tooltip
+ min-width="140"
>
{{ scope.row.EnFileName }}
@@ -134,6 +141,7 @@
prop="IsEnable"
:label="$t('dictionary:clinicalData:label:status')"
show-overflow-tooltip
+ min-width="120"
>
diff --git a/src/views/dictionary/template/components/CriterionsConfig.vue b/src/views/dictionary/template/components/CriterionsConfig.vue
index fd741092..ad0f606d 100644
--- a/src/views/dictionary/template/components/CriterionsConfig.vue
+++ b/src/views/dictionary/template/components/CriterionsConfig.vue
@@ -62,32 +62,35 @@
prop="GroupName"
:label="$t('trials:readingUnit:qsList:title:groupName')"
show-overflow-tooltip
+ min-width="120"
/>
{{ $fd('Criterion_Question_Type',scope.row.Type) }}
@@ -98,6 +101,7 @@
prop="ShowQuestion"
:label="$t('trials:readingUnit:qsList:title:isShow')"
show-overflow-tooltip
+ min-width="100"
>
{{ $fd('ShowQuestion',scope.row.ShowQuestion) }}
@@ -108,6 +112,7 @@
prop="IsRequired"
:label="$t('trials:readingUnit:qsList:title:isRequired')"
show-overflow-tooltip
+ min-width="100"
>
{{ $fd('QuestionRequired',scope.row.IsRequired) }}
@@ -117,7 +122,7 @@
@@ -128,7 +133,7 @@
@@ -147,7 +152,7 @@
@@ -169,7 +174,7 @@
@@ -258,11 +263,11 @@
:visible.sync="addOrEdit.visible"
:close-on-click-modal="false"
:title="`${addOrEdit.title}`"
- width="650px"
+ width="800px"
append-to-body
custom-class="base-dialog-wrapper"
>
-
{{ $fd('CriterionType',scope.row.CriterionType) }}
@@ -114,6 +115,7 @@
:label="$t('dictionary:template:criterionConfig:table:criterionGroup')"
show-overflow-tooltip
sortable="custom"
+ width="160"
>
{{ $fd('CriterionGroup',scope.row.CriterionGroup) }}
@@ -124,6 +126,7 @@
prop="IsCompleteConfig"
:label="$t('dictionary:template:criterionConfig:table:isCompleteConfig')"
sortable="custom"
+ width="220"
>
@@ -219,9 +222,9 @@
:close-on-click-modal="false"
append-to-body
custom-class="base-dialog-wrapper"
- width="500px"
+ width="600px"
>
-
-
+
{{ $t('dictionary:template:globalConfig:readingRules') }}
@@ -18,7 +18,7 @@
{{ $t('dictionary:template:globalConfig:config') }}
-
+
{{ $t('dictionary:template:globalConfig:name') }}
@@ -44,7 +44,7 @@
{{scope.$index + 1}}
diff --git a/src/views/dictionary/template/components/EvaluationOfOncologyConfig.vue b/src/views/dictionary/template/components/EvaluationOfOncologyConfig.vue
index 25030240..bee89d4d 100644
--- a/src/views/dictionary/template/components/EvaluationOfOncologyConfig.vue
+++ b/src/views/dictionary/template/components/EvaluationOfOncologyConfig.vue
@@ -1,6 +1,6 @@
-
+
{{ $t('dictionary:template:globalConfig:readingRules') }}
@@ -18,7 +18,7 @@
{{ $t('dictionary:template:globalConfig:config') }}
-
+
{{ $t('dictionary:template:oncologyConfig:reviewQs') }}
@@ -45,7 +45,7 @@
{{scope.$index + 1}}
diff --git a/src/views/dictionary/template/components/IncreaseFields.vue b/src/views/dictionary/template/components/IncreaseFields.vue
index 3764c288..c0edbe2f 100644
--- a/src/views/dictionary/template/components/IncreaseFields.vue
+++ b/src/views/dictionary/template/components/IncreaseFields.vue
@@ -42,7 +42,6 @@
v-adaptive="{bottomOffset:45}"
:data="list"
stripe
- size="small"
height="100"
>
diff --git a/src/views/dictionary/template/components/MedicalAudit.vue b/src/views/dictionary/template/components/MedicalAudit.vue
index ea7adbee..fda10b5b 100644
--- a/src/views/dictionary/template/components/MedicalAudit.vue
+++ b/src/views/dictionary/template/components/MedicalAudit.vue
@@ -65,7 +65,6 @@
v-adaptive="{bottomOffset:50}"
:data="list"
stripe
- size="small"
height="100"
>
@@ -79,12 +78,14 @@
prop="QuestionName"
:label="$t('trials:MIMqcCfg:table:questionName')"
show-overflow-tooltip
+ min-width="140"
/>
{{ $fd('LanguageType', scope.row.LanguageType) }}
@@ -95,6 +96,7 @@
prop="Type"
:label="$t('trials:qcCfg:table:type')"
show-overflow-tooltip
+ min-width="140"
>
{{ $fd('QcType', scope.row.Type) }}
@@ -105,12 +107,14 @@
prop="TypeValue"
:label="$t('trials:qcCfg:table:typeValue')"
show-overflow-tooltip
+ min-width="140"
/>
@@ -130,7 +134,7 @@
@@ -142,7 +146,7 @@
@@ -156,17 +160,20 @@
prop="ParentShowOrder"
:label="$t('trials:qcCfg:table:parentQs')"
show-overflow-tooltip
+ min-width="140"
/>
{{ $fd('YesOrNo', scope.row.IsRequired) }}
@@ -176,6 +183,7 @@
{{ $fd('YesOrNo', scope.row.IsEnable) }}
diff --git a/src/views/dictionary/template/components/OrgansTbl.vue b/src/views/dictionary/template/components/OrgansTbl.vue
index 7f4ebe33..6077f250 100644
--- a/src/views/dictionary/template/components/OrgansTbl.vue
+++ b/src/views/dictionary/template/components/OrgansTbl.vue
@@ -96,7 +96,7 @@
@@ -110,11 +110,12 @@
:label="$t('trials:readingUnit:baseDataCfg:title:classification')"
show-overflow-tooltip
sortable="custom"
+ min-width="140"
/>
@@ -124,6 +125,7 @@
:label="$t('trials:readingUnit:baseDataCfg:title:bodyPart')"
show-overflow-tooltip
sortable="custom"
+ min-width="120"
/>
From 0d9a77f4a518c2210ed0639cdb175e11523f90f1 Mon Sep 17 00:00:00 2001
From: caiyiling <1321909229@qq.com>
Date: Wed, 12 Mar 2025 10:24:25 +0800
Subject: [PATCH 4/5] =?UTF-8?q?=E6=96=87=E4=BB=B6=E7=AE=A1=E7=90=86?=
=?UTF-8?q?=E6=A8=A1=E5=9D=97=E5=88=97=E5=AE=BD=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/dictionary/template/file/index.vue | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/views/dictionary/template/file/index.vue b/src/views/dictionary/template/file/index.vue
index de5301e0..6700a9ad 100644
--- a/src/views/dictionary/template/file/index.vue
+++ b/src/views/dictionary/template/file/index.vue
@@ -167,6 +167,7 @@
prop="IsConfirmRecord"
show-overflow-tooltip
sortable="custom"
+ width="200"
>
From bf57b75bedd785976af1f2d201b8fc2ab9a6b29f Mon Sep 17 00:00:00 2001
From: caiyiling <1321909229@qq.com>
Date: Wed, 12 Mar 2025 10:46:38 +0800
Subject: [PATCH 5/5] =?UTF-8?q?=E8=82=BF=E7=98=A4=E5=AD=A6=E9=98=85?=
=?UTF-8?q?=E7=89=87=E9=85=8D=E7=BD=AE=E6=9B=B4=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/router/index.js | 10 +++++-----
.../template/components/EvaluationOfOncologyConfig.vue | 2 +-
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/router/index.js b/src/router/index.js
index 14077eca..4a978c6d 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -50,11 +50,11 @@ export const constantRoutes = [
component: () => import('@/views/login/index'),
hidden: true
},
- {
- path: '/test',
- component: () => import('@/views/test/index'),
- hidden: true
- },
+ // {
+ // path: '/test',
+ // component: () => import('@/views/test/index'),
+ // hidden: true
+ // },
{
path: '/resetpassword',
component: () => import('@/views/forgetpassword/index'),
diff --git a/src/views/dictionary/template/components/EvaluationOfOncologyConfig.vue b/src/views/dictionary/template/components/EvaluationOfOncologyConfig.vue
index bee89d4d..d5967680 100644
--- a/src/views/dictionary/template/components/EvaluationOfOncologyConfig.vue
+++ b/src/views/dictionary/template/components/EvaluationOfOncologyConfig.vue
@@ -126,7 +126,7 @@ import { getSystemOncologyInfo, setSystemOncologyInfo, getCriterionDictionary }
export default {
props: {
data: {
- type: String,
+ type: Object,
default() { return {} }
},
criterionId: {