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

96 lines
3.2 KiB

  1. <!-- 水浴 -->
  2. <template>
  3. <StepFormPackage :fieldItemLabel = "fieldItemLabel" ref = "stepFormPackageRef" :prefixKey="stepIndex+'_'+'ry_sy'" @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: 'sy',
  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. temp:{
  36. type:"inputNumber",
  37. fillType:"preFill",
  38. },
  39. text3:{
  40. label:"°C,实际温度设置为",
  41. type:"text",
  42. },
  43. actTemp:{
  44. type:"inputNumber",
  45. fillType:"actFill",
  46. compareTo:"temp",
  47. copyFrom:"temp",
  48. },
  49. text4:{
  50. label:"°C,进行水浴,水浴",
  51. type:"text",
  52. },
  53. startDate: {
  54. type: "input",
  55. fillType: "actFill",
  56. disabled: true,
  57. },
  58. button1:{
  59. type:"button",
  60. buttonName:"开始"
  61. },
  62. text5:{
  63. label:"水浴",
  64. type:"text",
  65. },
  66. endDate: {
  67. type: "input",
  68. fillType: "actFill",
  69. disabled: true,
  70. },
  71. button2:{
  72. type:"button",
  73. buttonName:"结束"
  74. },
  75. text6: {
  76. type: "text",
  77. label: "。",
  78. },
  79. }
  80. }]
  81. if(this.sn==='sy_b'){
  82. config[0].config.remark = {
  83. type: "input",
  84. fillType: "actFill",
  85. }
  86. }
  87. return config
  88. }
  89. },
  90. }
  91. </script>
  92. <style lang="scss" scoped>
  93. </style>