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

85 lines
2.6 KiB

  1. <!-- 摇床开始 -->
  2. <template>
  3. <StepFormPackage :fieldItemLabel = "fieldItemLabel" ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'jcb_ycks'" @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: 'ycks',
  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. text6: {
  64. label: ",放置",
  65. type: "text",
  66. },
  67. time:{
  68. fillType: "preFill",
  69. type: "input",
  70. },
  71. jcb:{
  72. type:"dcjcb",
  73. buttonName:"开始"
  74. }
  75. }
  76. }]
  77. return config
  78. }
  79. },
  80. }
  81. </script>
  82. <style lang="scss" scoped></style>