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

35 lines
1.0 KiB

  1. export default {
  2. dicts:[
  3. "business_tjdw","business_czhj","business_rqcz","business_zldw",
  4. "business_yqscdw","business_zsdw","business_wddw","business_ccwz","business_ggdw",
  5. "business_hjxx","business_zzzc","business_step_pcr","business_fycx","business_step_pcrfxyp"
  6. ],
  7. props: {
  8. formData: {
  9. type: Object,
  10. default: () => ({})
  11. },
  12. stepIndex: {
  13. type: String,
  14. default: ''
  15. }
  16. },
  17. methods: {
  18. async getFormData() {
  19. return await this.$refs.stepFormPackageRef.getFormData();
  20. },
  21. getFilledFormData() {
  22. return this.$refs.stepFormPackageRef?.getFilledFormData();
  23. },
  24. getSjResource() {
  25. return this.$refs.stepFormPackageRef?.getSjResource();
  26. },
  27. //试验配制条件options
  28. getDictOptions(dictType) {
  29. return this.dict.type[dictType] || []
  30. },
  31. resetRecord() {
  32. this.$refs.stepFormPackageRef.resetRecord();
  33. },
  34. },
  35. }