Преглед на файлове

add:system-dict,update:template-dict

dev
powersir преди 1 година
родител
ревизия
cef3f2ba29
променени са 5 файла, в които са добавени 49 реда и са изтрити 2 реда
  1. +1
    -0
      src/models/index.ts
  2. +46
    -0
      src/models/system-dict.data.ts
  3. +1
    -1
      src/pages/custom/template/dict/dict-detail-editor.tsx
  4. +1
    -1
      src/pages/custom/template/dict/dict-editor.tsx
  5. +0
    -0
      src/request/service/template-dict.ts

+ 1
- 0
src/models/index.ts Целия файл

@@ -6,6 +6,7 @@ export * from './department.data.ts'
export * from './tenant.data.ts'
export * from './template.data.ts'
export * from './platform-product.data.ts'
export * from './system-dict.data.ts'

export interface ResponseDTO<T>{
code: number;


+ 46
- 0
src/models/system-dict.data.ts Целия файл

@@ -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
- 1
src/pages/custom/template/dict/dict-detail-editor.tsx Целия файл

@@ -1,6 +1,6 @@
import React, { useEffect, useState } from 'react'
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 type { DataDictDetailVO } from '@/models'
import { antdUtils } from '@/utils/antd';


+ 1
- 1
src/pages/custom/template/dict/dict-editor.tsx Целия файл

@@ -1,6 +1,6 @@
import React, { useEffect, useState } from 'react'
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 type { DataDictVO } from '@/models'
import { antdUtils } from '@/utils/antd';


src/request/service/dict.ts → src/request/service/template-dict.ts Целия файл


Loading…
Отказ
Запис