|
|
@ -15,14 +15,7 @@ |
|
|
|
* limitations under the License. |
|
|
|
* limitations under the License. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
import { Ref } from 'vue' |
|
|
|
import { Ref } from 'vue' |
|
|
|
import type { |
|
|
|
import type { GridProps, FormProps, FormItemRule, FormRules } from 'naive-ui' |
|
|
|
GridProps, |
|
|
|
|
|
|
|
FormProps, |
|
|
|
|
|
|
|
FormItemRule, |
|
|
|
|
|
|
|
FormRules, |
|
|
|
|
|
|
|
SelectOption, |
|
|
|
|
|
|
|
TreeSelectOption |
|
|
|
|
|
|
|
} from 'naive-ui' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
type IType = |
|
|
|
type IType = |
|
|
|
| 'input' |
|
|
|
| 'input' |
|
|
@ -38,7 +31,9 @@ type IType = |
|
|
|
| 'custom' |
|
|
|
| 'custom' |
|
|
|
| 'multi-condition' |
|
|
|
| 'multi-condition' |
|
|
|
|
|
|
|
|
|
|
|
type IOption = SelectOption | TreeSelectOption |
|
|
|
interface IOption { |
|
|
|
|
|
|
|
[key: string]: any |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
interface IFormItem { |
|
|
|
interface IFormItem { |
|
|
|
showLabel?: boolean |
|
|
|
showLabel?: boolean |
|
|
|