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
40f6f5e8
Commit
40f6f5e8
authored
Dec 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
31ac0822
1eedb243
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
29 additions
and
16 deletions
+29
-16
menu.ts
src/locales/en-US/menu.ts
+1
-1
User.ts
src/models/CommunityManagement/User.ts
+12
-7
Users.tsx
src/pages/UserManagement/LIFEUserManagement/Users.tsx
+2
-1
UsersDetail.tsx
src/pages/UserManagement/LIFEUserManagement/UsersDetail.tsx
+14
-7
No files found.
src/locales/en-US/menu.ts
View file @
40f6f5e8
...
@@ -57,7 +57,7 @@ export default {
...
@@ -57,7 +57,7 @@ export default {
'menu.propertymanagement'
:
'Property Fee Management'
,
'menu.propertymanagement'
:
'Property Fee Management'
,
'menu.commercialservice'
:
'Commercial Service'
,
'menu.commercialservice'
:
'Commercial Service'
,
'menu.commercialservice.communitymaintenance'
:
'Community maintenance'
,
'menu.commercialservice.communitymaintenance'
:
'Community maintenance'
,
'menu.commercialservice.ownercomplaints'
:
'
Owner
Complaints'
,
'menu.commercialservice.ownercomplaints'
:
'Complaints'
,
'menu.commercialservice.problemfeedback'
:
'Problem Feedback'
,
'menu.commercialservice.problemfeedback'
:
'Problem Feedback'
,
'menu.commercialservice.renovationapplication'
:
'Renovation Application'
,
'menu.commercialservice.renovationapplication'
:
'Renovation Application'
,
'menu.commercialservice.accessCardapplication'
:
'AccessCard Application'
,
'menu.commercialservice.accessCardapplication'
:
'AccessCard Application'
,
...
...
src/models/CommunityManagement/User.ts
View file @
40f6f5e8
...
@@ -196,11 +196,11 @@ export default {
...
@@ -196,11 +196,11 @@ export default {
}
}
},
},
*
IA
({},
{
put
}:
any
)
{
*
IA
({
},
{
put
}:
any
)
{
var
Data3
=
null
;
var
Data3
=
null
;
yield
put
({
type
:
'returnPage3'
,
Data3
});
yield
put
({
type
:
'returnPage3'
,
Data3
});
},
},
*
IA2
({},
{
put
}:
any
)
{
*
IA2
({
},
{
put
}:
any
)
{
var
Data3Error
=
null
;
var
Data3Error
=
null
;
yield
put
({
type
:
'returnData3Error'
,
Data3Error
});
yield
put
({
type
:
'returnData3Error'
,
Data3Error
});
},
},
...
@@ -220,7 +220,7 @@ export default {
...
@@ -220,7 +220,7 @@ export default {
yield
put
({
type
:
'returnCurString'
,
curString
});
yield
put
({
type
:
'returnCurString'
,
curString
});
},
},
*
ResultClear
({},
{
put
}:
any
)
{
*
ResultClear
({
},
{
put
}:
any
)
{
var
tmp
=
null
;
var
tmp
=
null
;
yield
put
({
type
:
'returnResult'
,
tmp
});
yield
put
({
type
:
'returnResult'
,
tmp
});
},
},
...
@@ -230,24 +230,29 @@ export default {
...
@@ -230,24 +230,29 @@ export default {
yield
put
({
type
:
'PageDate'
,
pageDate
});
yield
put
({
type
:
'PageDate'
,
pageDate
});
},
},
*
DataClear
({},
{
put
}:
any
)
{
*
DataClear
({
},
{
put
}:
any
)
{
var
pageDate
=
null
;
var
pageDate
=
null
;
yield
put
({
type
:
'returnPage'
,
pageDate
});
yield
put
({
type
:
'returnPage'
,
pageDate
});
},
},
*
MemberResultClear
({},
{
put
}:
any
)
{
*
MemberResultClear
({
},
{
put
}:
any
)
{
let
memberResult
=
null
;
let
memberResult
=
null
;
yield
put
({
type
:
'returnMemberResult'
,
memberResult
});
yield
put
({
type
:
'returnMemberResult'
,
memberResult
});
},
},
*
Data4ErrorClear
({},
{
put
}:
any
)
{
*
Data4ErrorClear
({
},
{
put
}:
any
)
{
let
Data4Error
=
null
;
let
Data4Error
=
null
;
yield
put
({
type
:
'returnData4Error'
,
Data4Error
});
yield
put
({
type
:
'returnData4Error'
,
Data4Error
});
},
},
*
ClearResult
({},
{
put
}:
any
)
{
*
ClearResult
({
},
{
put
}:
any
)
{
let
Result
=
null
;
let
Result
=
null
;
yield
put
({
type
:
'returnResult'
,
Result
});
yield
put
({
type
:
'returnResult'
,
Result
});
},
},
*
ClearReturnValue
({
},
{
put
}:
any
)
{
let
returnValue
=
null
;
yield
put
({
type
:
"ReturnValue"
,
returnValue
})
}
},
},
};
};
src/pages/UserManagement/LIFEUserManagement/Users.tsx
View file @
40f6f5e8
...
@@ -92,7 +92,8 @@ const Users = (props: any) => {
...
@@ -92,7 +92,8 @@ const Users = (props: any) => {
const
propsUpload
=
{
const
propsUpload
=
{
name
:
'file'
,
name
:
'file'
,
action
:
()
=>
{
action
:
()
=>
{
return
'http://47.74.233.180:8651/tos/excel/upload?userId='
+
getCookie
(
'id'
);
// return 'http://47.74.233.180:8651/tos/excel/upload?userId=' + getCookie('id');
return
'http://192.168.1.28:8651/tos/excel/upload?userId='
+
getCookie
(
'id'
);
},
},
beforeUpload
:
(
file
:
any
)
=>
{
beforeUpload
:
(
file
:
any
)
=>
{
if
(
file
.
type
!==
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
)
{
if
(
file
.
type
!==
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
)
{
...
...
src/pages/UserManagement/LIFEUserManagement/UsersDetail.tsx
View file @
40f6f5e8
...
@@ -91,14 +91,21 @@ const UsersDetail = (props: any) => {
...
@@ -91,14 +91,21 @@ const UsersDetail = (props: any) => {
if
(
returnValue
!=
null
)
{
if
(
returnValue
!=
null
)
{
if
(
returnValue
.
error_code
!==
'0001'
)
{
if
(
returnValue
.
error_code
!==
'0001'
)
{
message
.
success
(
'Delete Successfully!'
,
3
);
message
.
success
(
'Delete Successfully!'
,
3
);
RA
(
13
,
{
// RA(13, {
id
:
DataSave
.
id
,
// id: DataSave.id,
owerName
:
DataSave
.
owerName
,
// owerName: DataSave.owerName,
enable
:
DataSave
.
enable
,
// enable: DataSave.enable,
buildingNumber
:
DataSave
.
buildingNumber
,
// buildingNumber: DataSave.buildingNumber,
floorNumber
:
DataSave
.
floorNumber
,
// floorNumber: DataSave.floorNumber,
roomNumber
:
DataSave
.
roomNumber
,
// roomNumber: DataSave.roomNumber,
// });
dispatch
({
type
:
'User/ClearReturnValue'
,
playload
:
{},
});
});
history
.
back
();
}
else
{
}
else
{
message
.
error
(
returnValue
.
error_msg
,
3
);
message
.
error
(
returnValue
.
error_msg
,
3
);
}
}
...
...
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