|
|
- <!-- 恒温混匀 -->
- <template>
- <StepFormPackage :fieldItemLabel = "fieldItemLabel" ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'ry_hwhy'" @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: 'hwhy',
- },
- },
- components: {
- StepFormPackage
- },
- computed: {
- formConfig() {
- let config = [{
- config: {
- text1: {
- label: "使用恒温混匀仪",
- type: "text",
- },
- yq1: {
- type: "yq",
- fillType: "actFill",
- },
- text2: {
- label: "仪器,设置预计温度为",
- type: "text",
- },
- yjzs: {
- type: "input",
- fillType: "preFill",
- },
- text3: {
- label: "°C,设置实际温度为",
- type: "text",
- },
- sjwd: {
- type: "input",
- fillType: "actFill",
- compareTo: "yjzs",
- copyFrom: "yjzs"
- },
- text4: {
- label: "°C,设置预计转速为",
- type: "text",
- },
- yjzs2: {
- type: "inputNumber",
- fillType: "preFill",
- },
- yjzsdw: {
- type: "select",
- options: this.getDictOptions("business_zsdw"),
- selectTo: "sjzsdw",
- fillType: "preFill",
- },
- text8: {
- label: "实际设置转速为",
- type: "text",
- },
- sjzs: {
- type: "inputNumber",
- fillType: "actFill",
- compareTo: "yjzs2",
- copyFrom: "yjzs2"
- },
- sjzsdw: {
- type: "select",
- options: this.getDictOptions("business_zsdw"),
- fillType: "preFill",
- },
- text7: {
- label: ",设置预计时长为",
- type: "text",
- },
- yjsc: {
- type: "inputNumber",
- fillType: "preFill",
- },
- yjscdw: {
- type: "select",
- options: this.getDictOptions("business_yqscdw"),
- selectTo: "sjscdw",
- fillType: "preFill",
- },
- text5: {
- label: ",实际设置时长为",
- type: "text",
- },
- sjsc: {
- type: "inputNumber",
- fillType: "actFill",
- compareTo: "yjsc",
- copyFrom: "yjsc"
- },
- sjscdw: {
- type: "select",
- options: this.getDictOptions("business_yqscdw"),
- fillType: "preFill",
- },
- text6: {
- label: this.sn==='hwph'?",进行恒温平衡,平衡": ",进行恒温混匀,混匀",
- type: "text",
- },
- startDate: {
- type: "input",
- fillType: "actFill",
- disabled: true,
- },
- button1: {
- type: "button",
- buttonName: "开始"
- },
- text9: {
- type: "text",
- label: "。",
- },
- }
- }]
- if(this.sn==='hwhy_b'){
- config[0].config.remark = {
- type: "input",
- fillType: "actFill",
- }
- }
- return config
- }
- },
- }
- </script>
-
- <style lang="scss" scoped></style>
|