| @ -1,69 +1,75 @@ | |||
| <!-- 孵育箱开始 --> | |||
| <template> | |||
| <StepFormPackage ref = "stepFormPackageRef" :prefixKey="stepIndex+'_'+'jcb_fyxks'" @resetRecord = "resetRecord" :form-config="formConfig" :formData = "formData" /> | |||
| <StepFormPackage ref="stepFormPackageRef" :prefixKey="stepIndex + '_' + 'jcb_fyxks'" @resetRecord="resetRecord" | |||
| :form-config="formConfig" :formData="localFormData" /> | |||
| </template> | |||
| <script> | |||
| import StepFormPackage from '@/components/Template/StepFormPackage.vue'; | |||
| import stepMixins from '@/components/Template/mixins/stepMixins.js'; | |||
| import stepMixins from '@/components/Template/mixins/stepMixins.js'; | |||
| export default { | |||
| mixins: [stepMixins], | |||
| props: { | |||
| sn: { | |||
| type: String, | |||
| default: 'fyxks', | |||
| }, | |||
| export default { | |||
| mixins: [stepMixins], | |||
| props: { | |||
| sn: { | |||
| type: String, | |||
| default: 'fyxks', | |||
| }, | |||
| components: { | |||
| StepFormPackage | |||
| }, | |||
| computed: { | |||
| formConfig() { | |||
| let config = [{ | |||
| config:{ | |||
| text1:{ | |||
| label:"将检测板放置于孵育箱", | |||
| type:"text", | |||
| }, | |||
| yq:{ | |||
| type:"yq", | |||
| fillType:"actFill", | |||
| }, | |||
| text2:{ | |||
| label:"中,设置预计温度为", | |||
| type:"text", | |||
| }, | |||
| temp:{ | |||
| type:"inputNumber", | |||
| fillType:"preFill", | |||
| }, | |||
| text3:{ | |||
| label:"°C,实际设置温度为", | |||
| type:"text", | |||
| }, | |||
| actTemp:{ | |||
| type:"inputNumber", | |||
| fillType:"actFill", | |||
| compareTo:"temp", | |||
| copyFrom:"temp", | |||
| }, | |||
| text4:{ | |||
| label:"°C,放置", | |||
| type:"text", | |||
| }, | |||
| time:{ | |||
| fillType: "preFill", | |||
| type: "input", | |||
| }, | |||
| }, | |||
| components: { | |||
| StepFormPackage | |||
| }, | |||
| mounted() { | |||
| this.commonHandleJcbUpdate(); | |||
| }, | |||
| computed: { | |||
| formConfig() { | |||
| let config = [{ | |||
| config: { | |||
| text1: { | |||
| label: "将检测板放置于孵育箱", | |||
| type: "text", | |||
| }, | |||
| yq: { | |||
| type: "yq", | |||
| fillType: "actFill", | |||
| }, | |||
| text2: { | |||
| label: "中,设置预计温度为", | |||
| type: "text", | |||
| }, | |||
| temp: { | |||
| type: "inputNumber", | |||
| fillType: "preFill", | |||
| }, | |||
| text3: { | |||
| label: "°C,实际设置温度为", | |||
| type: "text", | |||
| }, | |||
| actTemp: { | |||
| type: "inputNumber", | |||
| fillType: "actFill", | |||
| compareTo: "temp", | |||
| copyFrom: "temp", | |||
| }, | |||
| text4: { | |||
| label: "°C,放置", | |||
| type: "text", | |||
| }, | |||
| time: { | |||
| fillType: "preFill", | |||
| type: "input", | |||
| }, | |||
| jcb: { | |||
| type: "dcjcb", | |||
| buttonName: "开始" | |||
| } | |||
| }] | |||
| return config | |||
| } | |||
| }, | |||
| } | |||
| } | |||
| }] | |||
| return config | |||
| } | |||
| }, | |||
| } | |||
| </script> | |||
| <style lang="scss" scoped> | |||
| </style> | |||
| <style lang="scss" scoped></style> | |||