@@ -6,6 +6,7 @@ export * from './department.data.ts' | |||||
export * from './tenant.data.ts' | export * from './tenant.data.ts' | ||||
export * from './template.data.ts' | export * from './template.data.ts' | ||||
export * from './platform-product.data.ts' | export * from './platform-product.data.ts' | ||||
export * from './system-dict.data.ts' | |||||
export interface ResponseDTO<T>{ | export interface ResponseDTO<T>{ | ||||
code: number; | code: number; | ||||
@@ -0,0 +1,46 @@ | |||||
export type DictTypeVO = { | |||||
id: number | |||||
name: string | |||||
type: string | |||||
status: number | |||||
remark: string | |||||
createTime: Date | |||||
} | |||||
export type DictTypePageReqVO = { | |||||
name: string | |||||
type: string | |||||
status: number | |||||
createTime: Date[] | |||||
} | |||||
export type DictTypeExportReqVO = { | |||||
name: string | |||||
type: string | |||||
status: number | |||||
createTime: Date[] | |||||
} | |||||
export type DictDataVO = { | |||||
id: number | |||||
sort: number | |||||
label: string | |||||
value: string | |||||
dictType: string | |||||
status: number | |||||
colorType: string | |||||
cssClass: string | |||||
remark: string | |||||
createTime: Date | |||||
} | |||||
export type DictDataPageReqVO = { | |||||
label: string | |||||
dictType: string | |||||
status: number | |||||
} | |||||
export type DictDataExportReqVO = { | |||||
label: string | |||||
dictType: string | |||||
status: number | |||||
} |
@@ -1,6 +1,6 @@ | |||||
import React, { useEffect, useState } from 'react' | import React, { useEffect, useState } from 'react' | ||||
import { Form, Input, InputNumber, Modal } from 'antd'; | import { Form, Input, InputNumber, Modal } from 'antd'; | ||||
import dictService from '@/request/service/dict'; | |||||
import dictService from '@/request/service/template-dict'; | |||||
import { useRequest } from '@/hooks/use-request'; | import { useRequest } from '@/hooks/use-request'; | ||||
import type { DataDictDetailVO } from '@/models' | import type { DataDictDetailVO } from '@/models' | ||||
import { antdUtils } from '@/utils/antd'; | import { antdUtils } from '@/utils/antd'; | ||||
@@ -1,6 +1,6 @@ | |||||
import React, { useEffect, useState } from 'react' | import React, { useEffect, useState } from 'react' | ||||
import { Form, Input, Modal } from 'antd'; | import { Form, Input, Modal } from 'antd'; | ||||
import dictService from '@/request/service/dict'; | |||||
import dictService from '@/request/service/template-dict'; | |||||
import { useRequest } from '@/hooks/use-request'; | import { useRequest } from '@/hooks/use-request'; | ||||
import type { DataDictVO } from '@/models' | import type { DataDictVO } from '@/models' | ||||
import { antdUtils } from '@/utils/antd'; | import { antdUtils } from '@/utils/antd'; | ||||