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

110 lines
3.4 KiB

  1. <!-- 摇床混匀 -->
  2. <template>
  3. <StepFormPackage :fieldItemLabel = "fieldItemLabel" ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'jcb_ychy'" @resetRecord = "resetRecord" :form-config="formConfig" :formData="formData" />
  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: 'ychy',
  14. },
  15. },
  16. components: {
  17. StepFormPackage
  18. },
  19. computed: {
  20. formConfig() {
  21. let config = [{
  22. config: {
  23. text1: {
  24. label: "使用摇床",
  25. type: "text",
  26. },
  27. yq: {
  28. type: "yq",
  29. fillType: "actFill",
  30. },
  31. text2: {
  32. label: "仪器,设置预计转速为",
  33. type: "text",
  34. },
  35. sjjrl: {
  36. type: "inputNumber",
  37. fillType: "preFill",
  38. },
  39. sjjrldw: {
  40. type: "select",
  41. options: this.getDictOptions("business_zsdw"),
  42. selectTo: "sjzsdw",
  43. fillType: "preFill",
  44. },
  45. text3: {
  46. label: ",实际设置转速为",
  47. type: "text",
  48. },
  49. jxry: {
  50. type: "inputNumber",
  51. fillType: "actFill",
  52. compareTo:"sjjrl",
  53. copyFrom:"sjjrl"
  54. },
  55. sjzsdw: {
  56. type: "select",
  57. options: this.getDictOptions("business_zsdw"),
  58. fillType: "preFill",
  59. },
  60. text4: {
  61. label: ",振荡",
  62. type: "text",
  63. },
  64. zdtime: {
  65. type: "input",
  66. fillType: "preFill",
  67. },
  68. text5: {
  69. label: ",振荡",
  70. type: "text",
  71. },
  72. startDate: {
  73. type: "input",
  74. fillType: "actFill",
  75. disabled: true,
  76. },
  77. button1:{
  78. type:"button",
  79. buttonName:"开始",
  80. },
  81. text6:{
  82. type:"text",
  83. label:",振荡",
  84. },
  85. endDate: {
  86. type: "input",
  87. fillType: "actFill",
  88. disabled: true,
  89. },
  90. button2:{
  91. type:"button",
  92. buttonName:"结束",
  93. },
  94. text7: {
  95. type: "text",
  96. label: "。",
  97. },
  98. }
  99. }]
  100. return config
  101. }
  102. },
  103. }
  104. </script>
  105. <style lang="scss" scoped></style>