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

104 lines
3.3 KiB

  1. <!-- 摇床孵育开始 -->
  2. <template>
  3. <StepFormPackage :fieldItemLabel = "fieldItemLabel" ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'jcb_ycfyks'" @resetRecord = "resetRecord" :form-config="formConfig" :formData="localFormData" />
  4. </template>
  5. <script>
  6. import StepFormPackage from '@/components/Template/StepFormPackage.vue';
  7. import stepMixins from '@/components/Template/mixins/stepMixins.js';
  8. export default {
  9. mixins: [stepMixins],
  10. props: {
  11. sn: {
  12. type: String,
  13. default: 'ycfyks',
  14. },
  15. },
  16. components: {
  17. StepFormPackage
  18. },
  19. mounted() {
  20. this.commonHandleJcbUpdate();
  21. },
  22. computed: {
  23. formConfig() {
  24. let config = [{
  25. config: {
  26. text1: {
  27. label: "将检测板放置于摇床",
  28. type: "text",
  29. },
  30. yq: {
  31. type: "yq",
  32. fillType: "actFill",
  33. },
  34. text2: {
  35. label: "上,设置预计转速为",
  36. type: "text",
  37. },
  38. sjjrl: {
  39. type: "inputNumber",
  40. fillType: "preFill",
  41. },
  42. sjjrldw: {
  43. type: "select",
  44. options: this.getDictOptions("business_zsdw"),
  45. selectTo: "sjzsdw",
  46. fillType: "preFill",
  47. },
  48. text3: {
  49. label: ",实际设置转速为",
  50. type: "text",
  51. },
  52. jxry: {
  53. type: "inputNumber",
  54. fillType: "actFill",
  55. compareTo:"sjjrl",
  56. copyFrom:"sjjrl"
  57. },
  58. sjzsdw: {
  59. type: "select",
  60. options: this.getDictOptions("business_zsdw"),
  61. fillType: "preFill",
  62. },
  63. text4: {
  64. label: "设置预计温度为",
  65. type: "text",
  66. },
  67. rm: {
  68. type: "inputNumber",
  69. fillType: "preFill",
  70. },
  71. text5: {
  72. label: "°C,实际设置温度为",
  73. type: "text",
  74. },
  75. rxry: {
  76. type: "inputNumber",
  77. fillType: "actFill",
  78. compareTo:"rm",
  79. copyFrom:"rm"
  80. },
  81. text6: {
  82. label: "°C,放置",
  83. type: "text",
  84. },
  85. time:{
  86. fillType: "preFill",
  87. type: "input",
  88. },
  89. jcb:{
  90. type:"dcjcb",
  91. buttonName:"开始"
  92. }
  93. }
  94. }]
  95. return config
  96. }
  97. },
  98. }
  99. </script>
  100. <style lang="scss" scoped></style>