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

64 lines
1.9 KiB

  1. <!-- 过滤(自动) -->
  2. <template>
  3. <StepFormPackage ref = "stepFormPackageRef" :prefixKey="stepIndex+'_'+'ry_glzd'" @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: 'glzd',
  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. sjsr:{
  36. type:"input",
  37. fillType:"preFill",
  38. },
  39. sj:{
  40. type:"sj",
  41. fillType:"actFill",
  42. },
  43. text3:{
  44. label:"进行过滤。",
  45. type:"text",
  46. },
  47. }
  48. }]
  49. if(this.sn==='glzd_b'){
  50. config[0].config.remark = {
  51. type: "input",
  52. fillType: "actFill",
  53. }
  54. }
  55. return config
  56. }
  57. },
  58. }
  59. </script>
  60. <style lang="scss" scoped>
  61. </style>