<!-- 水浴 -->
|
|
<template>
|
|
<StepFormPackage :fieldItemLabel = "fieldItemLabel" ref = "stepFormPackageRef" :prefixKey="stepIndex+'_'+'ry_sy'" @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: 'sy',
|
|
},
|
|
},
|
|
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",
|
|
},
|
|
startDate: {
|
|
type: "input",
|
|
fillType: "actFill",
|
|
disabled: true,
|
|
},
|
|
button1:{
|
|
type:"button",
|
|
buttonName:"开始"
|
|
},
|
|
text5:{
|
|
label:"水浴",
|
|
type:"text",
|
|
},
|
|
endDate: {
|
|
type: "input",
|
|
fillType: "actFill",
|
|
disabled: true,
|
|
},
|
|
button2:{
|
|
type:"button",
|
|
buttonName:"结束"
|
|
},
|
|
text6: {
|
|
type: "text",
|
|
label: "。",
|
|
},
|
|
}
|
|
}]
|
|
if(this.sn==='sy_b'){
|
|
config[0].config.remark = {
|
|
type: "input",
|
|
fillType: "actFill",
|
|
}
|
|
}
|
|
return config
|
|
}
|
|
},
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
</style>
|