WIP: user-zzy-dev #1
|
|
@ -8,7 +8,7 @@ import styles from './index.less';
|
||||||
import type { MenuInfo } from 'rc-menu/lib/interface';
|
import type { MenuInfo } from 'rc-menu/lib/interface';
|
||||||
import RoutePath from '@/routes/routePath';
|
import RoutePath from '@/routes/routePath';
|
||||||
import { CACHE_TOKEN } from '@/constants/cacheKey';
|
import { CACHE_TOKEN } from '@/constants/cacheKey';
|
||||||
import ModifyPasswordModal from '@/pages/Login/components/modifyPasswordModal';
|
import ModifyPasswordModal from '@/components/ModifyPassword/ModifyPasswordModal';
|
||||||
|
|
||||||
|
|
|||||||
export type GlobalHeaderRightProps = {
|
export type GlobalHeaderRightProps = {
|
||||||
menu?: boolean;
|
menu?: boolean;
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ import {
|
||||||
deleteAddress,
|
deleteAddress,
|
||||||
createAddress,
|
createAddress,
|
||||||
modifyAddress,
|
modifyAddress,
|
||||||
} from '@/services/Recharge/address';
|
} from '@/services/recharge/address';
|
||||||
|
gary
commented
就组件和页面首字母大写,理解不清楚的看看pancake代码 就组件和页面首字母大写,理解不清楚的看看pancake代码
|
|||||||
|
|
||||||
import { fetchTableData } from '@/utils/table';
|
import { fetchTableData } from '@/utils/table';
|
||||||
import DeleteButton from '@/components/Table/DeleteButton';
|
import DeleteButton from '@/components/Table/DeleteButton';
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
import React, { useRef } from 'react';
|
import React, { useRef } from 'react';
|
||||||
import { createForm, onFieldReact, FormPathPattern, Field } from '@formily/core';
|
import { createForm, onFieldReact, FormPathPattern, Field } from '@formily/core';
|
||||||
import { FormProvider, createSchemaField } from '@formily/react';
|
import { FormProvider, createSchemaField } from '@formily/react';
|
||||||
import { getCoinTypeList } from '@/services/Recharge/coinType';
|
import { getCoinTypeList } from '@/services/recharge/coinType';
|
||||||
import Modal, { ModalProps } from '@/components/Modal';
|
import Modal, { ModalProps } from '@/components/Modal';
|
||||||
import { Form, FormItem, Input, Select } from '@formily/antd';
|
import { Form, FormItem, Input, Select } from '@formily/antd';
|
||||||
import { action } from '@formily/reactive';
|
import { action } from '@formily/reactive';
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
// 修改弹窗
|
// 修改弹窗
|
||||||
import React, { useRef, useEffect } from 'react';
|
import React, { useRef, useEffect } from 'react';
|
||||||
import { createForm, onFieldReact, FormPathPattern, Field } from '@formily/core';
|
import { createForm, onFieldReact, FormPathPattern, Field } from '@formily/core';
|
||||||
import { getCoinTypeList } from '@/services/Recharge/coinType';
|
import { getCoinTypeList } from '@/services/recharge/coinType';
|
||||||
import { FormProvider, createSchemaField } from '@formily/react';
|
import { FormProvider, createSchemaField } from '@formily/react';
|
||||||
import Modal, { ModalProps } from '@/components/Modal';
|
import Modal, { ModalProps } from '@/components/Modal';
|
||||||
import { Form, FormItem, Input, Select } from '@formily/antd';
|
import { Form, FormItem, Input, Select } from '@formily/antd';
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import React, { useState, useRef } from 'react';
|
import React, { useState, useRef } from 'react';
|
||||||
import Table, { ProColumns, ActionType } from '@/components/Table';
|
import Table, { ProColumns, ActionType } from '@/components/Table';
|
||||||
import { addCoinType, getCoinTypeList, modifyCoinType } from '@/services/Recharge/coinType';
|
import { addCoinType, getCoinTypeList, modifyCoinType } from '@/services/recharge/coinType';
|
||||||
import { fetchTableData } from '@/utils/table';
|
import { fetchTableData } from '@/utils/table';
|
||||||
import AddCoinTypeModal from '../components/addCoinTypeModal';
|
import AddCoinTypeModal from '../components/addCoinTypeModal';
|
||||||
import EditCoinTypeModal from '../components/editCoinTypeModal';
|
import EditCoinTypeModal from '../components/editCoinTypeModal';
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import React, { useRef } from 'react';
|
import React, { useRef } from 'react';
|
||||||
import Table, { ProColumns, ActionType } from '@/components/Table';
|
import Table, { ProColumns, ActionType } from '@/components/Table';
|
||||||
import { getRecordList } from '@/services/Recharge/record';
|
import { getRecordList } from '@/services/recharge/record';
|
||||||
import { fetchTableData } from '@/utils/table';
|
import { fetchTableData } from '@/utils/table';
|
||||||
import { getBalanceAmount } from '@/utils/formatBalance';
|
import { getBalanceAmount } from '@/utils/formatBalance';
|
||||||
import BigNumber from 'bignumber.js';
|
import BigNumber from 'bignumber.js';
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import React, { useRef } from 'react';
|
import React, { useRef } from 'react';
|
||||||
import Table, { ProColumns, ActionType } from '@/components/Table';
|
import Table, { ProColumns, ActionType } from '@/components/Table';
|
||||||
import { getWithdrawList, solveWithdraw } from '@/services/Recharge/withdraw';
|
import { getWithdrawList, solveWithdraw } from '@/services/recharge/withdraw';
|
||||||
import { fetchTableData } from '@/utils/table';
|
import { fetchTableData } from '@/utils/table';
|
||||||
import { getBalanceAmount } from '@/utils/formatBalance';
|
import { getBalanceAmount } from '@/utils/formatBalance';
|
||||||
import BigNumber from 'bignumber.js';
|
import BigNumber from 'bignumber.js';
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ import {
|
||||||
deleteUser,
|
deleteUser,
|
||||||
updateUser,
|
updateUser,
|
||||||
changeUserStatus,
|
changeUserStatus,
|
||||||
} from '@/services/System/accountManage';
|
} from '@/services/system/accountManage';
|
||||||
import { fetchTableData } from '@/utils/table';
|
import { fetchTableData } from '@/utils/table';
|
||||||
import DeleteButton from '@/components/Table/DeleteButton';
|
import DeleteButton from '@/components/Table/DeleteButton';
|
||||||
import { Switch } from 'antd';
|
import { Switch } from 'antd';
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ import { createForm } from '@formily/core';
|
||||||
import { createSchemaField } from '@formily/react';
|
import { createSchemaField } from '@formily/react';
|
||||||
import Modal, { ModalProps } from '@/components/Modal';
|
import Modal, { ModalProps } from '@/components/Modal';
|
||||||
import { Form, FormItem, Input, Select } from '@formily/antd';
|
import { Form, FormItem, Input, Select } from '@formily/antd';
|
||||||
import { addUser } from '@/services/System/accountManage';
|
import { addUser } from '@/services/system/accountManage';
|
||||||
|
|
||||||
interface AddAccountModalPropsType extends ModalProps {
|
interface AddAccountModalPropsType extends ModalProps {
|
||||||
onCancel: () => void;
|
onCancel: () => void;
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ import { createForm } from '@formily/core';
|
||||||
import { createSchemaField } from '@formily/react';
|
import { createSchemaField } from '@formily/react';
|
||||||
import Modal, { ModalProps } from '@/components/Modal';
|
import Modal, { ModalProps } from '@/components/Modal';
|
||||||
import { Form, FormItem, Input, Select } from '@formily/antd';
|
import { Form, FormItem, Input, Select } from '@formily/antd';
|
||||||
import { addUser, updateUser } from '@/services/System/accountManage';
|
import { addUser, updateUser } from '@/services/system/accountManage';
|
||||||
|
|
||||||
interface AddUserModalPropsType extends ModalProps {
|
interface AddUserModalPropsType extends ModalProps {
|
||||||
editModalData: any;
|
editModalData: any;
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import React, { useState, useRef } from 'react';
|
import React, { useState, useRef } from 'react';
|
||||||
import Table, { ProColumns, ActionType } from '@/components/Table';
|
import Table, { ProColumns, ActionType } from '@/components/Table';
|
||||||
import { getNoticeList, createNotice, updateNotice, deleteNotice } from '@/services/System/notice';
|
import { getNoticeList, createNotice, updateNotice, deleteNotice } from '@/services/system/notice';
|
||||||
import { fetchTableData } from '@/utils/table';
|
import { fetchTableData } from '@/utils/table';
|
||||||
import AddNoticeModal from '../components/addNoticeModal';
|
import AddNoticeModal from '../components/addNoticeModal';
|
||||||
import DeleteButton from '@/components/Table/DeleteButton';
|
import DeleteButton from '@/components/Table/DeleteButton';
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import React, { useRef } from 'react';
|
import React, { useRef } from 'react';
|
||||||
import Table, { ProColumns, ActionType } from '@/components/Table';
|
import Table, { ProColumns, ActionType } from '@/components/Table';
|
||||||
import { getRoleList, deleteRole } from '@/services/System/role';
|
import { getRoleList, deleteRole } from '@/services/system/role';
|
||||||
import { fetchTableData } from '@/utils/table';
|
import { fetchTableData } from '@/utils/table';
|
||||||
import DeleteButton from '@/components/Table/DeleteButton';
|
import DeleteButton from '@/components/Table/DeleteButton';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
import React, { useState, useEffect } from 'react';
|
import React, { useState, useEffect } from 'react';
|
||||||
import { Button, Input } from 'antd';
|
import { Button, Input } from 'antd';
|
||||||
import styles from './index.less';
|
import styles from './index.less';
|
||||||
import { createSecretKey, getSecretKey } from '@/services/System/secretKey';
|
import { createSecretKey, getSecretKey } from '@/services/system/secretKey';
|
||||||
|
|
||||||
const { TextArea } = Input;
|
const { TextArea } = Input;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import React, { useState, useRef } from 'react';
|
import React, { useState, useRef } from 'react';
|
||||||
import Table, { ProColumns, ActionType } from '@/components/Table';
|
import Table, { ProColumns, ActionType } from '@/components/Table';
|
||||||
import { getUserList } from '@/services/User/user';
|
import { getUserList } from '@/services/user/user';
|
||||||
import { fetchTableData } from '@/utils/table';
|
import { fetchTableData } from '@/utils/table';
|
||||||
|
|
||||||
const UserManageList = () => {
|
const UserManageList = () => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
首字母大写,注意上下级,基础组建不要依赖业务组建