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

144 lines
4.9 KiB

  1. <!-- 全血离心 -->
  2. <template>
  3. <StepFormPackage ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'qxwdx_qxlx'" @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: 'qxlx',
  14. },
  15. },
  16. components: {
  17. StepFormPackage
  18. },
  19. computed: {
  20. formConfig() {
  21. let config = [{
  22. config: {
  23. text0: {
  24. label: "将样品分装后的第",
  25. type: "text",
  26. },
  27. count: {
  28. type: "inputNumber",
  29. fillType: "preFill",
  30. },
  31. text1: {
  32. label: this.sn==='qxlx'?"份,立即使用离心机":"份放置结束后立即使用离心机",
  33. type: "text",
  34. },
  35. yq: {
  36. type: "yq",
  37. fillType: "actFill",
  38. },
  39. text2: {
  40. label: "仪器,设置预计温度为",
  41. type: "text",
  42. },
  43. rm: {
  44. type: "inputNumber",
  45. fillType: "preFill",
  46. },
  47. text3: {
  48. label: "°C,实际设置温度为",
  49. type: "text",
  50. },
  51. rxry: {
  52. type: "inputNumber",
  53. fillType: "actFill",
  54. compareTo:"rm",
  55. copyFrom:"rm"
  56. },
  57. text4: {
  58. label: "°C,设置预计转速为",
  59. type: "text",
  60. },
  61. sjjrl: {
  62. type: "inputNumber",
  63. fillType: "preFill",
  64. },
  65. sjjrldw: {
  66. type: "select",
  67. options: this.getDictOptions("business_zsdw"),
  68. selectTo: "sjzsdw",
  69. fillType: "preFill",
  70. },
  71. text5: {
  72. label: "°C,实际设置转速为",
  73. type: "text",
  74. },
  75. jxry: {
  76. type: "inputNumber",
  77. fillType: "actFill",
  78. compareTo:"sjjrl",
  79. copyFrom:"sjjrl"
  80. },
  81. sjzsdw: {
  82. type: "select",
  83. options: this.getDictOptions("business_zsdw"),
  84. fillType: "preFill",
  85. },
  86. text6: {
  87. label: ",设置预计时长为",
  88. type: "text",
  89. },
  90. sjjrl1: {
  91. type: "inputNumber",
  92. fillType: "preFill",
  93. },
  94. yqsc: {
  95. type: "select",
  96. options: this.getDictOptions("business_yqscdw"),
  97. selectTo: "sjscdw",
  98. fillType: "preFill",
  99. },
  100. text7: {
  101. label: ",实际设置时长为",
  102. type: "text",
  103. },
  104. sjsc: {
  105. type: "inputNumber",
  106. fillType: "actFill",
  107. compareTo:"sjjrl1",
  108. copyFrom:"sjjrl1"
  109. },
  110. sjscdw: {
  111. type: "select",
  112. options: this.getDictOptions("business_yqscdw"),
  113. fillType: "preFill",
  114. },
  115. text8: {
  116. label: this.sn==='qxlx'?",进行离心。离心":",进行离心。离心(即稳定性结束时间)",
  117. type: "text",
  118. },
  119. startDate: {
  120. type: "input",
  121. fillType: "actFill",
  122. disabled: true,
  123. },
  124. button1: {
  125. type: "button",
  126. buttonName: "开始",
  127. },
  128. text9: {
  129. label: "。",
  130. type: "text",
  131. },
  132. }
  133. }]
  134. return config
  135. }
  136. },
  137. }
  138. </script>
  139. <style lang="scss" scoped></style>