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
b883be92
Commit
b883be92
authored
Nov 10, 2020
by
cellee
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'final' of
http://120.77.240.215:9701/Maple/tostumi.git
into final
parents
988b4f10
82b79740
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
9 deletions
+7
-9
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
UsersDetail.tsx
src/pages/UserManagement/LIFEUserManagement/UsersDetail.tsx
+2
-2
No files found.
src/components/TableShow/TableShow.tsx
View file @
b883be92
...
...
@@ -84,7 +84,7 @@ const TableShow = (props: any) => {
<
Col
>
Address:
</
Col
>
<
Col
>
{
item
.
owner
.
buildingNumber
+
'#'
+
'
#'
+
item
.
owner
.
floorNumber
+
'-'
+
item
.
owner
.
roomNumber
+
...
...
@@ -170,8 +170,6 @@ export default TableShow;
// ower_phone: "微微"
// 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
</div> */
}
src/pages/UserManagement/LIFEUserManagement/Users.tsx
View file @
b883be92
...
...
@@ -69,7 +69,7 @@ const Users = (props: any) => {
{
title
:
unit
,
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 @
b883be92
import
React
,
{
useState
,
useEffect
,
useRef
}
from
'react'
;
import
styles
from
'./UsersAdd.less'
;
import
{
Input
,
Spin
,
Button
,
Form
,
message
}
from
'antd'
;
import
{
connect
}
from
'umi'
;
import
styles
from
'./UsersAdd.less'
;
import
Line
from
'../../../components/Line/Line'
;
import
TitleBack
from
'../../../components/TitleBack/TitleBack'
;
...
...
@@ -28,7 +28,7 @@ const UsersAdd = (props: any) => {
if
(
checkParam
(
values
))
{
values
.
owerPhone
=
null
;
values
.
owerEmail
=
null
;
values
.
buildingNumber
=
'BLK '
+
values
.
buildingNumber
+
' '
;
values
.
buildingNumber
=
'BLK '
+
values
.
buildingNumber
;
RA
(
14
,
values
,
module
,
dispatch
);
setLoading
(
true
);
}
else
{
...
...
src/pages/UserManagement/LIFEUserManagement/UsersDetail.tsx
View file @
b883be92
...
...
@@ -57,7 +57,7 @@ const UsersDetail = (props: any) => {
[
1
,
'Family Member'
],
[
2
,
'Tenant'
],
];
const
user_type_status
=
[
'Unregistered'
,
'
r
egistered'
,
'Deregistered'
];
const
user_type_status
=
[
'Unregistered'
,
'
R
egistered'
,
'Deregistered'
];
const
[
DataSaveLoading
,
setDataSaveLoading
]
=
useState
(
false
);
...
...
@@ -200,7 +200,7 @@ const UsersDetail = (props: any) => {
const
checkData
=
(
rule
:
any
,
value
:
any
,
callback
:
any
)
=>
{
if
(
value
)
{
if
(
/^
1
\d{7
}
|1
[
3|5|7|8
]\d{9}
$/g
.
test
(
value
))
{
if
(
/^
\d{8
}
|1
[
3|5|7|8
]\d{9}
$/g
.
test
(
value
))
{
callback
();
}
else
{
callback
(
new
Error
(
'Incorrect format of mobile phone number!'
));
...
...
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