Commit f4b7ee19 authored by TZW's avatar TZW

12011951

parent 7120c0d2
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: Li Hanlin * @Author: Li Hanlin
* @Date: 2022-11-25 09:18:03 * @Date: 2022-11-25 09:18:03
* @Last Modified by: Li Hanlin * @Last Modified by: Li Hanlin
* @Last Modified time: 2022-11-28 10:50:21 * @Last Modified time: 2022-12-01 19:49:37
*/ */
import * as React from 'react'; import * as React from 'react';
...@@ -150,7 +150,7 @@ function Failure(props) { ...@@ -150,7 +150,7 @@ function Failure(props) {
return ( return (
<div style={{ position: 'relative' }}> <div style={{ position: 'relative' }}>
<AutoTable <AutoTable
pagetitle={<h3 className="page-title">故障报修</h3>} pagetitle={<h3 className="page-title">设备供应商</h3>}
columns={columns} columns={columns}
actionRef={actionRef} actionRef={actionRef}
pageextra={'add'} pageextra={'add'}
...@@ -202,6 +202,8 @@ function Failure(props) { ...@@ -202,6 +202,8 @@ function Failure(props) {
}, },
}, },
}} }}
activeTabKey={activeTabKey}
onTabChange={onTabChange}
/> />
<DrawerPro <DrawerPro
......
import * as React from 'react'; import * as React from 'react';
import { useState, useMemo, useRef } from 'react'; import { useState, useMemo, useRef } from 'react';
import DrawerPro from '@/components/DrawerPro'; import DrawerPro from '@/components/DrawerPro';
import AutoTable from '@/components/AutoTable'; import AutoTable from '@/components/AutoTable';
import PremButton from '@/components/PremButton'; import PremButton from '@/components/PremButton';
import getcolumns from './columns'; import getcolumns from './columns';
import { useRequest } from 'ahooks'; import { useRequest } from 'ahooks';
import { doFetch } from '@/utils/doFetch'; import { doFetch } from '@/utils/doFetch';
function Platform(props) { function Platform(props) {
const actionRef = useRef(), const actionRef = useRef(),
formRef = useRef(); formRef = useRef();
const [drawer, setdrawer] = useState({ const [drawer, setdrawer] = useState({
...@@ -116,7 +116,7 @@ import * as React from 'react'; ...@@ -116,7 +116,7 @@ import * as React from 'react';
return ( return (
<div style={{ position: 'relative' }}> <div style={{ position: 'relative' }}>
<AutoTable <AutoTable
pagetitle="接单平台" pagetitle={<h3 className="page-title">接单平台</h3>}
columns={columns} columns={columns}
path={pathconfig?.list || '/ngic-auth/sysUser/query/page'} path={pathconfig?.list || '/ngic-auth/sysUser/query/page'}
actionRef={actionRef} actionRef={actionRef}
...@@ -168,7 +168,6 @@ import * as React from 'react'; ...@@ -168,7 +168,6 @@ import * as React from 'react';
/> />
</div> </div>
); );
} }
export default Platform;
export default Platform;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment