Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ems3.3
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wuhao
ems3.3
Commits
f4b7ee19
Commit
f4b7ee19
authored
Dec 01, 2022
by
TZW
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
12011951
parent
7120c0d2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
161 additions
and
160 deletions
+161
-160
index.jsx
src/pages/repair/failure/index.jsx
+4
-2
index.jsx
src/pages/repair/platform/index.jsx
+157
-158
No files found.
src/pages/repair/failure/index.jsx
View file @
f4b7ee19
...
@@ -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-1
1-28 10:50:21
* @Last Modified time: 2022-1
2-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
...
...
src/pages/repair/platform/index.jsx
View file @
f4b7ee19
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
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment