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

70 lines
2.2 KiB

  1. <!-- 氮吹 -->
  2. <template>
  3. <StepFormPackage ref = "stepFormPackageRef" prefixKey="ry_dc" @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: 'dc',
  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. }
  54. }]
  55. if(this.sn==='dc_b'){
  56. config[0].config.remark = {
  57. type: "input",
  58. fillType: "actFill",
  59. }
  60. }
  61. return config
  62. }
  63. },
  64. }
  65. </script>
  66. <style lang="scss" scoped>
  67. </style>