|
|
- <!-- 氮吹 -->
- <template>
- <StepFormPackage ref = "stepFormPackageRef" prefixKey="ry_dc" @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: 'dc',
- },
- },
- 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",
- }
- }
- }]
- if(this.sn==='dc_b'){
- config[0].config.remark = {
- type: "input",
- fillType: "actFill",
- }
- }
- return config
- }
- },
- }
- </script>
-
- <style lang="scss" scoped>
-
- </style>
|