<!-- 全血静置 -->
|
|
<template>
|
|
<StepFormPackage :fieldItemLabel = "fieldItemLabel" ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'qxwdx_qxjz'" @resetRecord="resetRecord" :form-config="formConfig"
|
|
:formData="formData" />
|
|
</template>
|
|
|
|
<script>
|
|
import StepFormPackage from '@/components/Template/StepFormPackage.vue';
|
|
import stepMixins from '@/components/Template/mixins/stepMixins.js';
|
|
|
|
export default {
|
|
mixins: [stepMixins],
|
|
props: {
|
|
sn: {
|
|
type: String,
|
|
default: 'qxjz',
|
|
},
|
|
},
|
|
components: {
|
|
StepFormPackage
|
|
},
|
|
computed: {
|
|
formConfig() {
|
|
let config = [{
|
|
config: {
|
|
text1: {
|
|
label: this.sn==='qxqy'?"将离心完成后的第":"将样品分装后的第",
|
|
type: "text",
|
|
},
|
|
sort: {
|
|
type: "inputNumber",
|
|
fillType: "preFill",
|
|
},
|
|
text2: {
|
|
label: this.sn==='qxqy'?"份,取上层血浆放置于":"份,立即放置于",
|
|
type: "text",
|
|
},
|
|
yjwd: {
|
|
type: "select",
|
|
options: this.getDictOptions("business_wddw"),
|
|
fillType: "preFill",
|
|
otherCode: "yjwdOther",
|
|
},
|
|
yjhj: {
|
|
type: "select",
|
|
options: this.getDictOptions("business_hjxx"),
|
|
fillType: "preFill",
|
|
otherCode: "yjhjOther",
|
|
},
|
|
text5: {
|
|
label: ",实际放置于",
|
|
type: "text",
|
|
},
|
|
sjwd: {
|
|
type: "select",
|
|
options: this.getDictOptions("business_wddw"),
|
|
fillType: "actFill",
|
|
otherCode: "sjwdOther",
|
|
compareTo: "yjwd",
|
|
},
|
|
sjhj: {
|
|
type: "select",
|
|
options: this.getDictOptions("business_hjxx"),
|
|
fillType: "actFill",
|
|
otherCode: "sjhjOther",
|
|
compareTo: "yjhj",
|
|
},
|
|
text6: {
|
|
label: this.sn==='qxqy'?"条件下暂存,作为":"条件下静置,即稳定性",
|
|
type: "text",
|
|
},
|
|
}
|
|
}]
|
|
if(this.sn==='qxjz'){
|
|
config[0].config.startDate = {
|
|
type: "input",
|
|
fillType: "actFill",
|
|
disabled: true,
|
|
}
|
|
config[0].config.button1 = {
|
|
type:"button",
|
|
buttonName:"开始",
|
|
}
|
|
config[0].config.text9 = {
|
|
type: "text",
|
|
label: "。",
|
|
}
|
|
}
|
|
if(this.sn==='qxqy'){
|
|
config[0].config.ccwz = {
|
|
type: "select",
|
|
options: this.getDictOptions("business_ccwz"),
|
|
fillType: "actFill",
|
|
otherCode: "ccwzOther",
|
|
}
|
|
config[0].config.text9 = {
|
|
type: "text",
|
|
label: "样品。",
|
|
}
|
|
}
|
|
return config
|
|
}
|
|
},
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped></style>
|