|
|
@ -6,21 +6,21 @@ |
|
|
$t('template.common.pageTitle') }}<img src="@/assets/images/detail-title.png" /></div> |
|
|
$t('template.common.pageTitle') }}<img src="@/assets/images/detail-title.png" /></div> |
|
|
<div class="detail-content"> |
|
|
<div class="detail-content"> |
|
|
<div class="content"> |
|
|
<div class="content"> |
|
|
<BaseInfoFormPcakge :fieldItemLabel="$t('template.common.baseInfo')" :label="$t('template.common.baseInfo')" ref="baseInfoRef" |
|
|
|
|
|
|
|
|
<BaseInfoFormPcakge fieldItemLabel="template.common.baseInfo" label="template.common.baseInfo" ref="baseInfoRef" |
|
|
:formConfig="baseInfoFormConfig" :formData="formData" /> |
|
|
:formConfig="baseInfoFormConfig" :formData="formData" /> |
|
|
<TableList :label="$t('template.common.reagentInfo')" :columns="sysjColumns" |
|
|
|
|
|
|
|
|
<TableList label="template.common.reagentInfo" :columns="sysjColumns" |
|
|
:dataSource="resource" /> |
|
|
:dataSource="resource" /> |
|
|
<TableList :label="$t('template.common.instrumentInfo')" :columns="yqsColumns" |
|
|
|
|
|
|
|
|
<TableList label="template.common.instrumentInfo" :columns="yqsColumns" |
|
|
:dataSource="resource" /> |
|
|
:dataSource="resource" /> |
|
|
<BaseInfoFormPcakge :fieldItemLabel="$t('template.common.storageCondition')" :label="$t('template.common.storageCondition')" ref="storageConditionRef" |
|
|
|
|
|
|
|
|
<BaseInfoFormPcakge fieldItemLabel="template.common.storageCondition" label="template.common.storageCondition" ref="storageConditionRef" |
|
|
:formConfig="storageFormConfig" :formData="formData" /> |
|
|
:formConfig="storageFormConfig" :formData="formData" /> |
|
|
<LineLabel :label="$t('template.common.operationSteps')" /> |
|
|
|
|
|
|
|
|
<LineLabel label="template.common.operationSteps" /> |
|
|
<div class="template-form-item"> |
|
|
<div class="template-form-item"> |
|
|
<BaseInfoFormPcakge :fieldItemLabel="$t('template.common.operationSteps')" ref="stepFormPackageRef" :formConfig="stepFormConfig" @blur="onHandleBlur" |
|
|
|
|
|
|
|
|
<BaseInfoFormPcakge fieldItemLabel="template.common.operationSteps" ref="stepFormPackageRef" :formConfig="stepFormConfig" @blur="onHandleBlur" |
|
|
:formData="formData" /> |
|
|
:formData="formData" /> |
|
|
</div> |
|
|
</div> |
|
|
<Step ref="stepRef" :formData="formData.stepData"></Step> |
|
|
<Step ref="stepRef" :formData="formData.stepData"></Step> |
|
|
<BaseInfoFormPcakge :fieldItemLabel="$t('template.common.remark')" :label="$t('template.common.remark')" ref="remarkRef" :formConfig="remarkConig" |
|
|
|
|
|
|
|
|
<BaseInfoFormPcakge fieldItemLabel="template.common.remark" label="template.common.remark" ref="remarkRef" :formConfig="remarkConig" |
|
|
:formData="formData" /> |
|
|
:formData="formData" /> |
|
|
|
|
|
|
|
|
</div> |
|
|
</div> |
|
|
@ -56,7 +56,7 @@ export default { |
|
|
type: "conditionItem", |
|
|
type: "conditionItem", |
|
|
config: { |
|
|
config: { |
|
|
storageCondition: { |
|
|
storageCondition: { |
|
|
label: this.$t('template.common.storageConditionLabel'), |
|
|
|
|
|
|
|
|
label: 'template.common.storageConditionLabel', |
|
|
type: "select", |
|
|
type: "select", |
|
|
fillType: "preFill", |
|
|
fillType: "preFill", |
|
|
options: this.getDictOptions("business_cctj"), |
|
|
options: this.getDictOptions("business_cctj"), |
|
|
@ -77,7 +77,7 @@ export default { |
|
|
type: "textarea", |
|
|
type: "textarea", |
|
|
fillType: "actFill", |
|
|
fillType: "actFill", |
|
|
span: 1, |
|
|
span: 1, |
|
|
placeholder: this.$t('template.common.remarkPlaceholder'), |
|
|
|
|
|
|
|
|
placeholder: 'template.common.remarkPlaceholder', |
|
|
maxlength: 1000, |
|
|
maxlength: 1000, |
|
|
rows: 5 |
|
|
rows: 5 |
|
|
} |
|
|
} |
|
|
@ -92,23 +92,23 @@ export default { |
|
|
type: "cardItem", |
|
|
type: "cardItem", |
|
|
config: { |
|
|
config: { |
|
|
studyMc: { |
|
|
studyMc: { |
|
|
label: this.$t('template.common.testName'), |
|
|
|
|
|
|
|
|
label: 'template.common.testName', |
|
|
type: "input", |
|
|
type: "input", |
|
|
disabled: true, |
|
|
disabled: true, |
|
|
}, |
|
|
}, |
|
|
studySn: { |
|
|
studySn: { |
|
|
label: this.$t('template.common.testNumber'), |
|
|
|
|
|
|
|
|
label: 'template.common.testNumber', |
|
|
type: "input", |
|
|
type: "input", |
|
|
disabled: true, |
|
|
disabled: true, |
|
|
}, |
|
|
}, |
|
|
methodCode: { |
|
|
methodCode: { |
|
|
label: this.$t('template.common.methodCode'), |
|
|
|
|
|
|
|
|
label: 'template.common.methodCode', |
|
|
type: "input", |
|
|
type: "input", |
|
|
fillType: "preFill", |
|
|
fillType: "preFill", |
|
|
maxlength: 50 |
|
|
maxlength: 50 |
|
|
}, |
|
|
}, |
|
|
versionNum: { |
|
|
versionNum: { |
|
|
label: this.$t('template.common.versionNumber'), |
|
|
|
|
|
|
|
|
label: 'template.common.versionNumber', |
|
|
type: "input", |
|
|
type: "input", |
|
|
fillType: "actFill", |
|
|
fillType: "actFill", |
|
|
maxlength: 50 |
|
|
maxlength: 50 |
|
|
@ -118,10 +118,10 @@ export default { |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
type: "conditionItem", |
|
|
type: "conditionItem", |
|
|
label: this.$t('template.common.testConfigurationConditions'), |
|
|
|
|
|
|
|
|
label: 'template.common.testConfigurationConditions', |
|
|
config: { |
|
|
config: { |
|
|
pre: { |
|
|
pre: { |
|
|
label: this.$t('template.common.preFill'), |
|
|
|
|
|
|
|
|
label: 'template.common.preFill', |
|
|
type: "select", |
|
|
type: "select", |
|
|
multiple: true, |
|
|
multiple: true, |
|
|
fillType: "preFill", |
|
|
fillType: "preFill", |
|
|
@ -129,7 +129,7 @@ export default { |
|
|
otherCode: "preOther", |
|
|
otherCode: "preOther", |
|
|
}, |
|
|
}, |
|
|
act: { |
|
|
act: { |
|
|
label: this.$t('template.common.actualFill'), |
|
|
|
|
|
|
|
|
label: 'template.common.actualFill', |
|
|
type: "select", |
|
|
type: "select", |
|
|
fillType: "actFill", |
|
|
fillType: "actFill", |
|
|
otherCode: "actOther", |
|
|
otherCode: "actOther", |
|
|
@ -140,14 +140,14 @@ export default { |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
type: "cellItem", |
|
|
type: "cellItem", |
|
|
label: this.$t('template.common.configurationTime'), |
|
|
|
|
|
|
|
|
label: 'template.common.configurationTime', |
|
|
config: { |
|
|
config: { |
|
|
startDate: { |
|
|
startDate: { |
|
|
label: this.$t('template.common.startTime'), |
|
|
|
|
|
|
|
|
label: 'template.common.startTime', |
|
|
type: "input", |
|
|
type: "input", |
|
|
}, |
|
|
}, |
|
|
endDate: { |
|
|
endDate: { |
|
|
label: this.$t('template.common.endTime'), |
|
|
|
|
|
|
|
|
label: 'template.common.endTime', |
|
|
type: "input", |
|
|
type: "input", |
|
|
}, |
|
|
}, |
|
|
} |
|
|
} |
|
|
@ -160,13 +160,13 @@ export default { |
|
|
type: "step", |
|
|
type: "step", |
|
|
config: { |
|
|
config: { |
|
|
targetName: { |
|
|
targetName: { |
|
|
label: this.$t('template.common.targetSolutionName'), |
|
|
|
|
|
|
|
|
label: 'template.common.targetSolutionName', |
|
|
type: "input", |
|
|
type: "input", |
|
|
fillType: "preFill", |
|
|
fillType: "preFill", |
|
|
maxlength: 50 |
|
|
maxlength: 50 |
|
|
}, |
|
|
}, |
|
|
targetCode: { |
|
|
targetCode: { |
|
|
label: this.$t('template.common.targetSolutionCode'), |
|
|
|
|
|
|
|
|
label: 'template.common.targetSolutionCode', |
|
|
type: "input", |
|
|
type: "input", |
|
|
subType: "span", |
|
|
subType: "span", |
|
|
fillType: "preFill", |
|
|
fillType: "preFill", |
|
|
@ -174,7 +174,7 @@ export default { |
|
|
maxlength: 20 |
|
|
maxlength: 20 |
|
|
}, |
|
|
}, |
|
|
targetPreConcentration: { |
|
|
targetPreConcentration: { |
|
|
label: this.$t('template.common.targetPreConcentration'), |
|
|
|
|
|
|
|
|
label: 'template.common.targetPreConcentration', |
|
|
type: "inputNumber", |
|
|
type: "inputNumber", |
|
|
subType: "select", |
|
|
subType: "select", |
|
|
subKey: "targetPreConcentrationUnit", |
|
|
subKey: "targetPreConcentrationUnit", |
|
|
@ -183,7 +183,7 @@ export default { |
|
|
maxlength: 10 |
|
|
maxlength: 10 |
|
|
}, |
|
|
}, |
|
|
targetActConcentration: { |
|
|
targetActConcentration: { |
|
|
label: this.$t('template.common.targetActConcentration'), |
|
|
|
|
|
|
|
|
label: 'template.common.targetActConcentration', |
|
|
type: "inputNumber", |
|
|
type: "inputNumber", |
|
|
subType: "select", |
|
|
subType: "select", |
|
|
subKey: "targetActConcentrationUnit", |
|
|
subKey: "targetActConcentrationUnit", |
|
|
@ -195,7 +195,7 @@ export default { |
|
|
maxlength: 10 |
|
|
maxlength: 10 |
|
|
}, |
|
|
}, |
|
|
targetPreVolume: { |
|
|
targetPreVolume: { |
|
|
label: this.$t('template.common.targetPreVolume'), |
|
|
|
|
|
|
|
|
label: 'template.common.targetPreVolume', |
|
|
type: "inputNumber", |
|
|
type: "inputNumber", |
|
|
subType: "select", |
|
|
subType: "select", |
|
|
subKey: "targetPreVolumeUnit", |
|
|
subKey: "targetPreVolumeUnit", |
|
|
@ -204,7 +204,7 @@ export default { |
|
|
maxlength: 10 |
|
|
maxlength: 10 |
|
|
}, |
|
|
}, |
|
|
targetActVolume: { |
|
|
targetActVolume: { |
|
|
label: this.$t('template.common.targetActVolume'), |
|
|
|
|
|
|
|
|
label: 'template.common.targetActVolume', |
|
|
type: "inputNumber", |
|
|
type: "inputNumber", |
|
|
subType: "select", |
|
|
subType: "select", |
|
|
subKey: "targetActVolumeUnit", |
|
|
subKey: "targetActVolumeUnit", |
|
|
@ -216,7 +216,7 @@ export default { |
|
|
maxlength: 10 |
|
|
maxlength: 10 |
|
|
}, |
|
|
}, |
|
|
effectivePeriod: { |
|
|
effectivePeriod: { |
|
|
label: this.$t('template.common.effectivePeriod'), |
|
|
|
|
|
|
|
|
label: 'template.common.effectivePeriod', |
|
|
type: "inputNumber", |
|
|
type: "inputNumber", |
|
|
subType: "select", |
|
|
subType: "select", |
|
|
subKey: "effectivePeriodUnit", |
|
|
subKey: "effectivePeriodUnit", |
|
|
@ -225,7 +225,7 @@ export default { |
|
|
maxlength: 10 |
|
|
maxlength: 10 |
|
|
}, |
|
|
}, |
|
|
expireDate: { |
|
|
expireDate: { |
|
|
label: this.$t('template.common.expireDate'), |
|
|
|
|
|
|
|
|
label: 'template.common.expireDate', |
|
|
type: "input", |
|
|
type: "input", |
|
|
}, |
|
|
}, |
|
|
} |
|
|
} |
|
|
@ -238,18 +238,18 @@ export default { |
|
|
resource: [], |
|
|
resource: [], |
|
|
resourceData1: [], |
|
|
resourceData1: [], |
|
|
sysjColumns: [ |
|
|
sysjColumns: [ |
|
|
{ label: this.$t('template.common.reagentName'), prop: "mc" },//名称 |
|
|
|
|
|
{ label: this.$t('template.common.reagentCode'), prop: "bh" },//编号 |
|
|
|
|
|
{ label: this.$t('template.common.reagentNo'), prop: "ph" },//批号 试剂,供试品才有 |
|
|
|
|
|
{ label: this.$t('template.common.concentration'), prop: "nd" },//浓度 |
|
|
|
|
|
{ label: this.$t('template.common.source'), prop: "source" },//来源 |
|
|
|
|
|
{ label: this.$t('template.common.reagentExpireDate'), prop: "sxrq" },//失效日期 |
|
|
|
|
|
|
|
|
{ label: 'template.common.reagentName', prop: "mc" },//名称 |
|
|
|
|
|
{ label: 'template.common.reagentCode', prop: "bh" },//编号 |
|
|
|
|
|
{ label: 'template.common.reagentNo', prop: "ph" },//批号 试剂,供试品才有 |
|
|
|
|
|
{ label: 'template.common.concentration', prop: "nd" },//浓度 |
|
|
|
|
|
{ label: 'template.common.source', prop: "source" },//来源 |
|
|
|
|
|
{ label: 'template.common.reagentExpireDate', prop: "sxrq" },//失效日期 |
|
|
], |
|
|
], |
|
|
yqsColumns: [ |
|
|
yqsColumns: [ |
|
|
{ label: this.$t('template.common.instrumentName'), prop: "instrumentName" }, |
|
|
|
|
|
{ label: this.$t('template.common.instrumentModel'), prop: "instrumentModel" }, |
|
|
|
|
|
{ label: this.$t('template.common.instrumentCode'), prop: "instrumentCode" }, |
|
|
|
|
|
{ label: this.$t('template.common.nextTestDate'), prop: "nextTestDate" }, |
|
|
|
|
|
|
|
|
{ label: 'template.common.instrumentName', prop: "instrumentName" }, |
|
|
|
|
|
{ label: 'template.common.instrumentModel', prop: "instrumentModel" }, |
|
|
|
|
|
{ label: 'template.common.instrumentCode', prop: "instrumentCode" }, |
|
|
|
|
|
{ label: 'template.common.nextTestDate', prop: "nextTestDate" }, |
|
|
], |
|
|
], |
|
|
formData: {} |
|
|
formData: {} |
|
|
}; |
|
|
}; |
|
|
|