华西海圻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.
 
 
 
 

105 lines
3.1 KiB

<!-- 孵育 -->
<template>
<StepFormPackage ref="stepFormPackageRef" prefixKey="ry_fy" @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: 'fy',
},
},
components: {
StepFormPackage
},
computed: {
formConfig() {
let config = [{
config: {
text1: {
label: "使用",
type: "text",
},
yq: {
type: "yq",
fillType: "actFill",
},
text2: {
label: "仪器,设置预计条件为",
type: "text",
},
yjtj: {
type: "input",
fillType: "preFill",
},
text3: {
label: "实际设置条件为",
type: "text",
},
sjtj: {
type: "input",
fillType: "actFill",
compareTo:"yjtj",
copyFrom:"yjtj",
},
text4: {
label: ",进行孵育",
type: "text",
},
fysr: {
type: "input",
fillType: "preFill",
},
text6: {
label: ",孵育",
type: "text",
},
startDate: {
type: "input",
fillType: "actFill",
disabled: true,
},
button1: {
type: "button",
buttonName: "开始",
},
text8: {
type: "text",
label: ",孵育",
},
endDate: {
type: "input",
fillType: "actFill",
disabled: true,
},
button2: {
type: "button",
buttonName: "结束",
},
text9: {
type: "text",
label: "。",
},
}
}]
if(this.sn==='fy_b'){
config[0].config.remark = {
type: "input",
fillType: "actFill",
}
}
return config
}
},
}
</script>
<style lang="scss" scoped></style>