Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wms
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
wms
Commits
3231551d
Commit
3231551d
authored
Aug 30, 2023
by
krysent
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bgimg
parent
4c751087
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
141 deletions
+11
-141
home.jpg
public/home.jpg
+0
-0
Welcome.jsx
src/pages/Welcome.jsx
+11
-141
No files found.
public/home.jpg
0 → 100644
View file @
3231551d
This diff is collapsed.
Click to expand it.
src/pages/Welcome.jsx
View file @
3231551d
...
@@ -2,149 +2,19 @@ import React, { useState } from "react";
...
@@ -2,149 +2,19 @@ import React, { useState } from "react";
import
AutoTable
from
"@/components/AutoTable"
;
import
AutoTable
from
"@/components/AutoTable"
;
import
DrawInitForm
from
"@/components/DrawInitForm"
;
import
DrawInitForm
from
"@/components/DrawInitForm"
;
import
{
Button
}
from
"antd"
;
import
{
Button
}
from
"antd"
;
import
bg
from
"../../public/home.jpg"
;
function
Table
({
route
})
{
function
Table
({
route
})
{
const
[
vs
,
setvs
]
=
useState
();
const
style
=
{
return
(
width
:
"100%"
,
<
div
style=
{
{
height
:
"200vh"
}
}
>
height
:
"100%"
,
首页
backgroundImage
:
`url(
${
bg
}
)`
,
{
/* <AutoTable
backgroundPosition
:
"0 0"
,
pagetitle={route.name}
backgroundSize
:
"cover"
,
pageextra={() => <Button onClick={() => {
backgroundRepeat
:
"no-repeat"
,
setvs(true)
};
}}>add</Button>
return
<
div
style=
{
style
}
></
div
>;
}
columns={[
{
"title": "姓名",
"dataIndex": "userName",
"key": "userName"
},
{
"title": "用户名",
"dataIndex": "accountName",
"key": "accountName"
},
{
"title": "性别1:男;2:女",
"dataIndex": "gender",
"key": "gender",
"valueType": "select",
"request": [
{
"label": "男",
"value": "1"
},
{
"label": "女",
"value": "2"
}
],
"fftype": 0
},
{
"title": "电话",
"dataIndex": "telephone",
"key": "telephone"
},
{
"title": "邮箱",
"dataIndex": "mailNo",
"key": "mailNo",
"search": false
},
{
"title": "组织名称",
"dataIndex": "departmentName",
"key": "departmentName"
},
{
"title": "工厂名称",
"dataIndex": "factoryName",
"key": "factoryName"
},
{
"title": "车间名称",
"dataIndex": "shopNames",
"key": "shopNames"
},
{
"title": "工段",
"dataIndex": "sectionNames",
"key": "sectionNames"
},
{
"title": "产线",
"dataIndex": "productionLines",
"key": "productionLines"
},
{
"title": "分组",
"dataIndex": "groupNames",
"key": "groupNames"
},
{
"title": "角色",
"dataIndex": "roleName",
"key": "roleName"
},
{
"title": "直属领导",
"dataIndex": "parentName",
"key": "parentName"
},
{
"title": "学历",
"dataIndex": "academicCareer",
"key": "academicCareer",
"search": false
},
{
"title": "毕业院校",
"dataIndex": "university",
"key": "university",
"search": false
},
{
"title": "专业",
"dataIndex": "major",
"key": "major",
"search": false
},
{
"title": "备注",
"dataIndex": "remarks",
"key": "remarks",
"search": false
}
]}
path="/ngic-auth/sysUser/query/page"
>
</AutoTable>
<DrawInitForm
title="Basic Drawer"
onClose={() => {
setvs(false)
}}
visible={vs}
fields={{
"a": {
"value": null,
"type": "input",
"title": "b",
"name": [
"a"
],
"required": true
}
}}
>
</DrawInitForm> */
}
</
div
>
);
}
}
export
default
Table
;
export
default
Table
;
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