华西海圻ELN前端工程
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

143 lines
4.7 KiB

<!-- 离心 -->
<template>
<StepFormPackage ref="stepFormPackageRef" prefixKey="ry_lx" @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: 'lx',
},
},
components: {
StepFormPackage
},
computed: {
formConfig() {
let config = [{
config: {
text1: {
label: this.sn==='ysfy'?"使用恒温混匀仪":"使用离心机",
type: "text",
},
yq: {
type: "yq",
fillType: "actFill",
},
text2: {
label: "仪器,设置预计温度为",
type: "text",
},
rm: {
type: "inputNumber",
fillType: "preFill",
},
text3: {
label: "°C,实际温度为",
type: "text",
},
rxry: {
type: "inputNumber",
fillType: "actFill",
compareTo:"rm",
copyFrom:"rm"
},
text4: {
label: "°C,设置预计转速为",
type: "text",
},
sjjrl: {
type: "inputNumber",
fillType: "preFill",
},
sjjrldw: {
type: "select",
options: this.getDictOptions("business_zsdw"),
selectTo: "sjzsdw",
fillType: "preFill",
},
text5: {
label: "°C,实际转速为",
type: "text",
},
jxry: {
type: "inputNumber",
fillType: "actFill",
compareTo:"sjjrl",
copyFrom:"sjjrl"
},
sjzsdw: {
type: "select",
options: this.getDictOptions("business_zsdw"),
fillType: "preFill",
},
text6: {
label: ",设置预计时长为",
type: "text",
},
sjjrl1: {
type: "inputNumber",
fillType: "preFill",
},
yqsc: {
type: "select",
options: this.getDictOptions("business_yqscdw"),
selectTo: "sjscdw",
fillType: "preFill",
},
text7: {
label: ",实际时长为",
type: "text",
},
sjsc: {
type: "inputNumber",
fillType: "actFill",
compareTo:"sjjrl1",
copyFrom:"sjjrl1"
},
sjscdw: {
type: "select",
options: this.getDictOptions("business_yqscdw"),
fillType: "preFill",
},
text8: {
label: this.sn==='ysfy'?",进行衍生反应,反应":",进行离心。离心",
type: "text",
},
startDate: {
type: "input",
fillType: "actFill",
disabled: true,
},
button1: {
type: "button",
buttonName: "开始",
},
}
}]
if(this.sn==='lx_b'){
config[0].config.remark = {
type: "input",
fillType: "actFill",
}
}
config[0].config.text9 = {
type: "text",
label: "。",
}
return config
}
},
}
</script>
<style lang="scss" scoped></style>