Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
TOSTUMI
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
Maple
TOSTUMI
Commits
ec721887
Commit
ec721887
authored
Nov 10, 2020
by
Sixiang_Zzb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
用户管理模块 楼层显示排版问题处理
parent
47d17e5f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
7 deletions
+5
-7
TableShow.tsx
src/components/TableShow/TableShow.tsx
+2
-4
Users.tsx
src/pages/UserManagement/LIFEUserManagement/Users.tsx
+1
-1
UsersAdd.tsx
src/pages/UserManagement/LIFEUserManagement/UsersAdd.tsx
+2
-2
No files found.
src/components/TableShow/TableShow.tsx
View file @
ec721887
...
@@ -84,7 +84,7 @@ const TableShow = (props: any) => {
...
@@ -84,7 +84,7 @@ const TableShow = (props: any) => {
<
Col
>
Address:
</
Col
>
<
Col
>
Address:
</
Col
>
<
Col
>
<
Col
>
{
item
.
owner
.
buildingNumber
+
{
item
.
owner
.
buildingNumber
+
'#'
+
'
#'
+
item
.
owner
.
floorNumber
+
item
.
owner
.
floorNumber
+
'-'
+
'-'
+
item
.
owner
.
roomNumber
+
item
.
owner
.
roomNumber
+
...
@@ -170,8 +170,6 @@ export default TableShow;
...
@@ -170,8 +170,6 @@ export default TableShow;
// ower_phone: "微微"
// ower_phone: "微微"
// room_number: "399"
// room_number: "399"
{
/* <div style={{ width: 80, height: 80, border: "1px solid #cccccc",padding:8,lineHeight:1,textAlign:"center",fontSize:12}}>
/* <div style={{ width: 80, height: 80, border: "1px solid #cccccc",padding:8,lineHeight:1,textAlign:"center",fontSize:12}}>
Activation Code Has Been Used/Is Inactive
Activation Code Has Been Used/Is Inactive
</div> */
</div> */
}
src/pages/UserManagement/LIFEUserManagement/Users.tsx
View file @
ec721887
...
@@ -69,7 +69,7 @@ const Users = (props: any) => {
...
@@ -69,7 +69,7 @@ const Users = (props: any) => {
{
{
title
:
unit
,
title
:
unit
,
render
:
(
text
:
any
,
record
:
any
)
=>
(
render
:
(
text
:
any
,
record
:
any
)
=>
(
<
div
>
{
record
.
buildingNumber
+
'#'
+
record
.
floorNumber
+
'—'
+
record
.
roomNumber
}
</
div
>
<
div
>
{
record
.
buildingNumber
+
'
#'
+
record
.
floorNumber
+
'—'
+
record
.
roomNumber
}
</
div
>
),
),
},
},
{
{
...
...
src/pages/UserManagement/LIFEUserManagement/UsersAdd.tsx
View file @
ec721887
import
React
,
{
useState
,
useEffect
,
useRef
}
from
'react'
;
import
React
,
{
useState
,
useEffect
,
useRef
}
from
'react'
;
import
styles
from
'./UsersAdd.less'
;
import
{
Input
,
Spin
,
Button
,
Form
,
message
}
from
'antd'
;
import
{
Input
,
Spin
,
Button
,
Form
,
message
}
from
'antd'
;
import
{
connect
}
from
'umi'
;
import
{
connect
}
from
'umi'
;
import
styles
from
'./UsersAdd.less'
;
import
Line
from
'../../../components/Line/Line'
;
import
Line
from
'../../../components/Line/Line'
;
import
TitleBack
from
'../../../components/TitleBack/TitleBack'
;
import
TitleBack
from
'../../../components/TitleBack/TitleBack'
;
...
@@ -28,7 +28,7 @@ const UsersAdd = (props: any) => {
...
@@ -28,7 +28,7 @@ const UsersAdd = (props: any) => {
if
(
checkParam
(
values
))
{
if
(
checkParam
(
values
))
{
values
.
owerPhone
=
null
;
values
.
owerPhone
=
null
;
values
.
owerEmail
=
null
;
values
.
owerEmail
=
null
;
values
.
buildingNumber
=
'BLK '
+
values
.
buildingNumber
+
' '
;
values
.
buildingNumber
=
'BLK '
+
values
.
buildingNumber
;
RA
(
14
,
values
,
module
,
dispatch
);
RA
(
14
,
values
,
module
,
dispatch
);
setLoading
(
true
);
setLoading
(
true
);
}
else
{
}
else
{
...
...
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