@@ -55,18 +55,20 @@ export default {
position: absolute;
top: 40%;
left: 50%;
+ width: 100%;
}
.wscn-http404 {
position: relative;
- width: 1200px;
+ width: 100%;
padding: 0 50px;
overflow: hidden;
.pic-404 {
position: relative;
float: left;
- width: 500px;
+ width: 100%;
+ max-width: 500px;
height: 300px;
overflow: hidden;
margin-right: 10px;
@@ -211,6 +213,7 @@ export default {
animation-name: slideUp;
animation-duration: 0.5s;
animation-fill-mode: forwards;
+ text-align: center;
}
&__headline {
diff --git a/src/views/research-mobile/components/BasicInfo.vue b/src/views/research-mobile/components/BasicInfo.vue
index 635115bd..7df3b964 100644
--- a/src/views/research-mobile/components/BasicInfo.vue
+++ b/src/views/research-mobile/components/BasicInfo.vue
@@ -25,19 +25,10 @@
+
+
+
+ {{
+ item.label }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{
+ $t('trials:researchForm:form:IsAuthorizeRadiologistsParticipate') }}
+ {{
+ $t('trials:researchForm:form:AssignFixedTechnologists') }}
+
+
-
-
- {{ item.label }}
+
+
+ {{ item.label }}
-
+ :label="$t('trials:researchForm:form:notQualifiedReason')" prop="NotConfirmReson">
+
-
-
- {{ item.label }}
+
+
+ {{ item.label }}
-
+
-
- {{ item.label }}
+
+ {{
+ item.label }}
+
+ {{ $t('trials:researchForm:button:viewManual') }}
+
-
+
-
+
+
+
+
+
+
+ {{
+ item.label }}
+
+
+
+
+
+
diff --git a/src/views/research-mobile/components/EquipmentForm.vue b/src/views/research-mobile/components/EquipmentForm.vue
index 80c83c8e..3b2c3d01 100644
--- a/src/views/research-mobile/components/EquipmentForm.vue
+++ b/src/views/research-mobile/components/EquipmentForm.vue
@@ -1,59 +1,107 @@
-
-
+
+
-
-
-
-
+
+
+
+
+
+
+
+
-
+
-
-
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
{{ $t("common:button:cancel") }}
-
+
{{ $t("common:button:save") }}
@@ -76,29 +124,96 @@ export default {
type: String,
default: ''
},
- isShowParameters: {
- type: Boolean,
- default: false
+ EquipmentControlFieldList: {
+ type: Array,
+ default: () => {
+ return []
+ }
}
},
data() {
return {
form: {
Id: '',
- EquipmentTypeId: '',
- Parameters: '',
- ManufacturerName: '',
- ScannerType: '',
- Note: '',
+ EquipmentTypeEnum: null,
+ OtherEquipmentType: null,
+ Parameters: null,
+ Note: null,
+ ManufacturerType: null,
+ ManufacturerName: null,
+ ScannerType: null,
+ MagneticFieldStrengthType: null,
+ BodyCoilChannelCount: null,
+ HasDedicatedPdfFatQuantificationSequence: null,
+ PdfFatQuantificationSequenceType: null,
+ OtherSequenceSpecification: null,
+ HasT2R2Correction: null,
+ CanFullyExportPdfParameterMapsAndRawDicom: null,
TrialSiteSurveyId: ''
},
rules: {
- EquipmentTypeId: [
+ EquipmentTypeEnum: [
+ { required: true, message: this.$t('trials:researchForm:formRule:select'), trigger: ['blur', 'change'] },
+ {
+ validator: (rule, value, callback) => {
+ if (this.form.EquipmentTypeEnum === -1 && !this.form.OtherEquipmentType) {
+ callback(this.$t('common:ruleMessage:specify'));
+ } else {
+ callback()
+ }
+ }, message: this.$t('common:ruleMessage:specify'), trigger: ['blur', 'change']
+ },
+ ],
+ Parameters: [
+ { required: true, message: this.$t('common:ruleMessage:specify'), trigger: ['blur', 'change'] }
+ ],
+ // Note: [
+ // { required: true, message: this.$t('common:ruleMessage:specify'), trigger: ['blur', 'change'] }
+ // ],
+ ManufacturerType: [
+ { required: true, message: this.$t('trials:researchForm:formRule:select'), trigger: ['blur', 'change'] },
+ {
+ validator: (rule, value, callback) => {
+ if (this.form.ManufacturerType === -1 && !this.form.ManufacturerName) {
+ callback(this.$t('common:ruleMessage:specify'));
+ } else {
+ callback()
+ }
+ }, message: this.$t('common:ruleMessage:specify'), trigger: ['blur', 'change']
+ },
+ ],
+ ScannerType: [
+ { required: true, message: this.$t('common:ruleMessage:specify'), trigger: ['blur', 'change'] }
+ ],
+ MagneticFieldStrengthType: [
{ required: true, message: this.$t('trials:researchForm:formRule:select'), trigger: ['blur', 'change'] }
- ]
+ ],
+ BodyCoilChannelCount: [
+ { required: true, message: this.$t('trials:researchForm:formRule:select'), trigger: ['blur', 'change'] }
+ ],
+ HasDedicatedPdfFatQuantificationSequence: [
+ { required: true, message: this.$t('trials:researchForm:formRule:select'), trigger: ['blur', 'change'] }
+ ],
+ PdfFatQuantificationSequenceType: [
+ { required: true, message: this.$t('trials:researchForm:formRule:select'), trigger: ['blur', 'change'] },
+ {
+ validator: (rule, value, callback) => {
+ if (this.form.PdfFatQuantificationSequenceType === -1 && !this.form.OtherSequenceSpecification) {
+ callback(this.$t('common:ruleMessage:specify'));
+ } else {
+ callback()
+ }
+ }, message: this.$t('common:ruleMessage:specify'), trigger: ['blur', 'change']
+ },
+ ],
+ HasT2R2Correction: [
+ { required: true, message: this.$t('trials:researchForm:formRule:select'), trigger: ['blur', 'change'] }
+ ],
+ CanFullyExportPdfParameterMapsAndRawDicom: [
+ { required: true, message: this.$t('trials:researchForm:formRule:select'), trigger: ['blur', 'change'] }
+ ],
},
loading: false,
- dictionaryList: {}
}
},
mounted() {
@@ -154,13 +269,15 @@ export default {
}
diff --git a/src/views/research-mobile/detail.vue b/src/views/research-mobile/detail.vue
index 0426970a..0a0d6893 100644
--- a/src/views/research-mobile/detail.vue
+++ b/src/views/research-mobile/detail.vue
@@ -4,30 +4,22 @@