form-input-props.js 858 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. export const formInputProps = {
  2. fieldKey: {},
  3. modelValue: {},
  4. otherValue: {},
  5. model: {},
  6. dependOnValues: Object,
  7. outDependOnValues: Object,
  8. disabled: Boolean,
  9. showTemplate: {
  10. type: Boolean,
  11. default: false
  12. },
  13. onStatusChange: {},
  14. config: {
  15. type: Object,
  16. default: () => ({})
  17. },
  18. usingRules: Boolean,
  19. rules: Array,
  20. // 防止attr隐式贯穿导致的继承问题
  21. error: {},
  22. tableData: {}, // table子组件特有属性
  23. onSearch: {} // 供CipSearchForm使用
  24. }
  25. export const formInputViewProps = {
  26. modelValue: {},
  27. otherValue: {},
  28. model: {},
  29. config: {
  30. type: Object,
  31. default: () => ({})
  32. },
  33. fieldKey: {},
  34. dependOnValues: Object,
  35. outDependOnValues: Object,
  36. error: {}, // 防止attr隐式贯穿导致的继承问题
  37. usingRules: Boolean,
  38. rules: Array,
  39. tableData: {},
  40. showTemplate: {}
  41. }