From a6475baee92c84b229f2390f5ea2c374d53f55f2 Mon Sep 17 00:00:00 2001
From: wangxiaoshuang <825034831@qq.com>
Date: Wed, 12 Jun 2024 14:28:48 +0800
Subject: [PATCH] =?UTF-8?q?=E9=98=85=E7=89=87=E8=A7=84=E5=88=99=E7=BA=A6?=
=?UTF-8?q?=E6=9D=9F=E5=85=B3=E7=B3=BB?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../reading-unit/components/ReadingRules.vue | 158 ++++++++++++------
1 file changed, 103 insertions(+), 55 deletions(-)
diff --git a/src/views/trials/trials-panel/setting/reading-unit/components/ReadingRules.vue b/src/views/trials/trials-panel/setting/reading-unit/components/ReadingRules.vue
index 601ad301..132fcd2e 100644
--- a/src/views/trials/trials-panel/setting/reading-unit/components/ReadingRules.vue
+++ b/src/views/trials/trials-panel/setting/reading-unit/components/ReadingRules.vue
@@ -53,47 +53,25 @@
-
+
- {{ item.label }}
-
-
-
-
-
-
-
- {{ item.label }}
+ >{{ item.label }}
@@ -102,6 +80,7 @@
:label="$t('trials:readingUnit:readingRules:title:CriterionModalitys')"
prop="CriterionModalitys"
style="position: relative"
+ v-if="form.IsImageFilter"
>
@@ -190,6 +169,7 @@
+
+
+
+
+
+ {{ item.label }}
+
+
+
-
-
-
- {{ item.label }}
-
-
-
{
+ form.ImageDownloadEnum = 0;
+ form.ImageUploadEnum = 0;
if (v) {
form.IsReadingShowSubjectInfo = true;
form.IsReadingShowPreviousResults = true;
@@ -354,8 +337,8 @@
v-model="form.ReadingTaskViewEnum"
:disabled="
isConfirm ||
- !isReadingTaskViewInOrder ||
- isReadingTaskViewInOrder ||
+ !!!isReadingTaskViewInOrder ||
+ !!isReadingTaskViewInOrder ||
!hasPermi(['trials:trials-panel:setting:reading-unit:edit'])
"
>
@@ -368,6 +351,54 @@
+
+
+
+
+ {{ item.label }}
+
+
+
+
+
+
+
+ {{ item.label }}
+
+
+
{
@@ -587,6 +618,7 @@ export default {
CriterionModalitys: null,
ImageDownloadEnum: null,
ImageUploadEnum: null,
+ IsImageFilter: false,
},
rules: {
IsAutoCreate: [
@@ -631,6 +663,13 @@ export default {
trigger: ["blur", "change"],
},
],
+ IsImageFilter: [
+ {
+ required: true,
+ message: this.$t("common:ruleMessage:select"),
+ trigger: ["blur", "change"],
+ },
+ ],
ReadingTaskViewEnum: [
{
required: true,
@@ -745,6 +784,7 @@ export default {
modalityList: [],
CriterionModalitys: [],
+ modalityIsCheck: false, // 是否允许影像筛选
};
},
mounted() {
@@ -759,6 +799,14 @@ export default {
},
},
methods: {
+ // 检查类型筛选值变更
+ IsImageFilterChange(data) {
+ if (data) {
+ this.CriterionModalitys = this.modalityList;
+ } else {
+ this.CriterionModalitys = [];
+ }
+ },
// 影像模态全选
handleCheckAllChange() {
this.CriterionModalitys =