|
|
|
@ -126,7 +126,74 @@ export default { |
|
|
|
}, |
|
|
|
// 试验基本信息表单配制 |
|
|
|
baseInfoFormConfig() { |
|
|
|
return [ |
|
|
|
return this.sn==='GG006'?[ |
|
|
|
{ |
|
|
|
type: 'cardItem', |
|
|
|
config: { |
|
|
|
studyMc: { |
|
|
|
label: 'template.common.testName', |
|
|
|
type: 'input', |
|
|
|
disabled: true |
|
|
|
}, |
|
|
|
studySn: { |
|
|
|
label: 'template.common.testNumber', |
|
|
|
type: 'input', |
|
|
|
disabled: true |
|
|
|
}, |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
type: 'conditionItem', |
|
|
|
label: 'template.common.testConfigurationConditions', |
|
|
|
config: { |
|
|
|
pre: { |
|
|
|
label: 'template.common.preFill', |
|
|
|
type: 'select', |
|
|
|
multiple: true, |
|
|
|
fillType: 'preFill', |
|
|
|
options: this.getDictOptions('business_pztj'), |
|
|
|
otherCode: 'preOther' |
|
|
|
}, |
|
|
|
act: { |
|
|
|
label: 'template.common.actualFill', |
|
|
|
type: 'select', |
|
|
|
fillType: 'actFill', |
|
|
|
otherCode: 'actOther', |
|
|
|
multiple: true, |
|
|
|
options: this.getDictOptions('business_pztj'), |
|
|
|
compareTo: 'pre' |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
type: 'conditionItem', |
|
|
|
label: 'template.sp.sp00456.rqcz', |
|
|
|
config: { |
|
|
|
containerMaterial: { |
|
|
|
label: 'template.sp.sp00456.rqcz', |
|
|
|
type: 'select', |
|
|
|
options: this.getDictOptions('business_rqcz'), |
|
|
|
fillType: 'actFill', |
|
|
|
multiple: true, |
|
|
|
otherCode: 'containerMaterialOther' |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
type: 'cellItem', |
|
|
|
label: 'template.common.configurationTime', |
|
|
|
config: { |
|
|
|
startDate: { |
|
|
|
label: 'template.common.startTime', |
|
|
|
type: 'input' |
|
|
|
}, |
|
|
|
endDate: { |
|
|
|
label: 'template.common.endTime', |
|
|
|
type: 'input' |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
]:[ |
|
|
|
{ |
|
|
|
type: 'cardItem', |
|
|
|
config: { |
|
|
|
@ -206,7 +273,7 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
]; |
|
|
|
] |
|
|
|
}, |
|
|
|
paralleStepFormConfig() { |
|
|
|
return [ |
|
|
|
|