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
bfb14c56
Commit
bfb14c56
authored
Dec 11, 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
71ee201d
de3496eb
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
38 additions
and
28 deletions
+38
-28
PictureOptionsRow.tsx
src/components/PictureOptions/PictureOptionsRow.tsx
+1
-1
TableShow.tsx
src/components/TableShow/TableShow.tsx
+1
-1
Detail.tsx
src/pages/CommercialService/Detail.tsx
+7
-7
PropertyServices.tsx
src/pages/CommercialService/PropertyServices.tsx
+8
-8
ChargeManager.tsx
src/pages/PropertyManagement/ChargeManager.tsx
+2
-1
ResultPageFailed.tsx
...es/UserManagement/LIFEUserManagement/ResultPageFailed.tsx
+18
-9
UsersDetail.tsx
src/pages/UserManagement/LIFEUserManagement/UsersDetail.tsx
+1
-1
No files found.
src/components/PictureOptions/PictureOptionsRow.tsx
View file @
bfb14c56
...
@@ -115,7 +115,7 @@ const PictureOptionsRow = (props: any) => {
...
@@ -115,7 +115,7 @@ const PictureOptionsRow = (props: any) => {
}
}
return
isJpgOrPng
&&
isLt2M
;
return
isJpgOrPng
&&
isLt2M
;
}
}
console
.
log
(
props
);
return
(
return
(
<
div
>
<
div
>
<
Upload
<
Upload
...
...
src/components/TableShow/TableShow.tsx
View file @
bfb14c56
...
@@ -38,7 +38,7 @@ const TableShow = (props: any) => {
...
@@ -38,7 +38,7 @@ const TableShow = (props: any) => {
const
key
=
objectColumns
([
const
key
=
objectColumns
([
[
'User Name'
,
'owner_family_name'
],
[
'User Name'
,
'owner_family_name'
],
[
'Contact
Details
'
,
'owner_family_phone'
,
(
text
:
string
,
record
:
any
)
=>
text
||
'--'
],
[
'Contact
Number
'
,
'owner_family_phone'
,
(
text
:
string
,
record
:
any
)
=>
text
||
'--'
],
[
'Email'
,
'owner_family_email'
,
(
text
:
string
,
record
:
any
)
=>
text
||
'--'
],
[
'Email'
,
'owner_family_email'
,
(
text
:
string
,
record
:
any
)
=>
text
||
'--'
],
[
[
'User Type'
,
'User Type'
,
...
...
src/pages/CommercialService/Detail.tsx
View file @
bfb14c56
...
@@ -112,8 +112,10 @@ const Detail = (props: any) => {
...
@@ -112,8 +112,10 @@ const Detail = (props: any) => {
<
Descriptions
.
Item
label=
"Address"
span=
{
3
}
>
<
Descriptions
.
Item
label=
"Address"
span=
{
3
}
>
{
CurDataDetail
.
address
}{
' '
}
{
CurDataDetail
.
address
}{
' '
}
</
Descriptions
.
Item
>
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"User Name"
span=
{
3
}
>
{
CurDataDetail
.
name
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"User Name"
span=
{
3
}
>
<
Descriptions
.
Item
label=
"Contact Details"
>
{
CurDataDetail
.
phone
}
</
Descriptions
.
Item
>
{
CurDataDetail
.
name
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"Contact Details"
>
{
CurDataDetail
.
phone
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
>
{
CurDataDetail
.
email
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
>
{
CurDataDetail
.
email
}
</
Descriptions
.
Item
>
</
Descriptions
>
</
Descriptions
>
<
Row
gutter=
{
16
}
>
<
Row
gutter=
{
16
}
>
...
@@ -131,19 +133,17 @@ const Detail = (props: any) => {
...
@@ -131,19 +133,17 @@ const Detail = (props: any) => {
<
Col
span=
{
3
}
>
Picture:
</
Col
>
<
Col
span=
{
3
}
>
Picture:
</
Col
>
<
Col
>
<
Col
>
{
CurDataDetail
!=
null
?
(
{
CurDataDetail
!=
null
?
(
<
PictureOptionsRow
<
PictureOptionsRow
action=
"/tos/communtiy/service/reply/img"
action=
"/tos/communtiy/service/reply/img"
disabled=
{
true
}
disabled=
{
true
}
// defaultValue=
{
v
.
url
}
value=
{
CurDataDetail
.
pictrues
}
value=
{
CurDataDetail
.
pictrues
}
data=
{
{
data=
{
{
userToken
:
'token'
,
userToken
:
'token'
,
imageType
:
'tosCommunityImageReply'
,
imageType
:
'tosCommunityImageReply'
,
extends
:
''
,
extends
:
''
,
}
}
}
}
over=
{
true
}
/>
/>
)
:
null
}
)
:
null
}
</
Col
>
</
Col
>
</
Row
>
</
Row
>
...
...
src/pages/CommercialService/PropertyServices.tsx
View file @
bfb14c56
...
@@ -53,7 +53,7 @@ const PropertyServices = (props: any) => {
...
@@ -53,7 +53,7 @@ const PropertyServices = (props: any) => {
{
title
:
'Requestor'
,
dataIndex
:
'owner_name'
},
{
title
:
'Requestor'
,
dataIndex
:
'owner_name'
},
{
{
title
:
parseInt
(
serviceTypeGobal
)
-
1
===
0
?
'Attended By'
:
'
Content
'
,
title
:
parseInt
(
serviceTypeGobal
)
-
1
===
0
?
'Attended By'
:
'
Description
'
,
dataIndex
:
parseInt
(
serviceTypeGobal
)
-
1
===
0
?
'handle_name'
:
'service_content'
,
dataIndex
:
parseInt
(
serviceTypeGobal
)
-
1
===
0
?
'handle_name'
:
'service_content'
,
ellipsis
:
true
,
ellipsis
:
true
,
// width: 400,
// width: 400,
...
...
src/pages/PropertyManagement/ChargeManager.tsx
View file @
bfb14c56
...
@@ -157,7 +157,7 @@ const ChargeManager = (props: any) => {
...
@@ -157,7 +157,7 @@ const ChargeManager = (props: any) => {
),
),
);
);
};
};
console
.
log
(
Data
);
return
(
return
(
<
div
className=
{
styles
.
base
}
>
<
div
className=
{
styles
.
base
}
>
<
TitleSearch
<
TitleSearch
...
@@ -170,6 +170,7 @@ const ChargeManager = (props: any) => {
...
@@ -170,6 +170,7 @@ const ChargeManager = (props: any) => {
{
Data
!==
null
?
(
{
Data
!==
null
?
(
<
ProTable
<
GithubIssueItem
>
<
ProTable
<
GithubIssueItem
>
columnEmptyText=
{
false
}
columns=
{
columns
}
columns=
{
columns
}
dataSource=
{
Data
.
list
}
dataSource=
{
Data
.
list
}
rowKey=
{
'id'
}
rowKey=
{
'id'
}
...
...
src/pages/UserManagement/LIFEUserManagement/ResultPageFailed.tsx
View file @
bfb14c56
...
@@ -6,25 +6,34 @@ import { connect, history } from 'umi';
...
@@ -6,25 +6,34 @@ import { connect, history } from 'umi';
import
{
getCookie
}
from
'@/utils/method'
;
import
{
getCookie
}
from
'@/utils/method'
;
import
{
RA
}
from
'@/utils/method'
;
import
{
RA
}
from
'@/utils/method'
;
const
module
=
"User"
const
module
=
'User'
;
const
ResultPageFailed
=
(
props
:
any
)
=>
{
const
ResultPageFailed
=
(
props
:
any
)
=>
{
const
{
dispatch
,
Data
}
=
props
;
const
{
dispatch
,
Data
}
=
props
;
const
formRef
=
useRef
(
null
)
const
formRef
=
useRef
(
null
)
;
const
[
resultTime
,
setResultTime
]
=
useState
(
3
);
const
[
resultTime
,
setResultTime
]
=
useState
(
3
);
const
backPage
=
()
=>
{
const
backPage
=
()
=>
{
history
.
go
(
-
1
)
history
.
go
(
-
1
)
;
}
}
;
return
(
return
(
<
div
style=
{
{
width
:
"100%"
,
minWidth
:
1020
,
padding
:
34
,
backgroundColor
:
"#ffffff"
}
}
>
<
div
style=
{
{
width
:
'100%'
,
minWidth
:
1020
,
padding
:
34
,
backgroundColor
:
'#ffffff'
}
}
>
<
Result
<
Result
status=
"error"
status=
"error"
title=
"Error submit the file!"
title=
"Error submit the file!"
subTitle=
{
<
p
>
server has been handled it ,please try again or back.
</
p
>
}
subTitle=
{
<
p
>
server has been handled it ,please try again or back.
</
p
>
}
extra=
{
[
extra=
{
[
<
Button
type=
"primary"
key=
"ok"
><
a
href=
{
"http://47.74.233.180:8651/tos/excel/down?operator_id="
+
getCookie
(
"id"
)
}
>
Download
</
a
></
Button
>,
<
Button
key=
"back"
onClick=
{
backPage
}
>
Back
</
Button
>
<
Button
type=
"primary"
key=
"ok"
>
{
/* <a href={'http://47.74.233.180:8651/tos/excel/down?operator_id=' + getCookie('id')}>
Download
</a> */
}
<
a
href=
{
'http://192.168.1.28:8651/tos/excel/down?operator_id='
+
getCookie
(
'id'
)
}
>
Download
</
a
>
</
Button
>,
<
Button
key=
"back"
onClick=
{
backPage
}
>
Back
</
Button
>,
]
}
]
}
/>
/>
</
div
>
</
div
>
...
@@ -32,7 +41,7 @@ const ResultPageFailed = (props: any) => {
...
@@ -32,7 +41,7 @@ const ResultPageFailed = (props: any) => {
};
};
function
map
(
state
:
any
)
{
function
map
(
state
:
any
)
{
const
{
Data
}
=
state
[
module
]
const
{
Data
}
=
state
[
module
]
;
return
{
Data
}
return
{
Data
}
;
}
}
export
default
connect
(
map
)(
ResultPageFailed
);
export
default
connect
(
map
)(
ResultPageFailed
);
src/pages/UserManagement/LIFEUserManagement/UsersDetail.tsx
View file @
bfb14c56
...
@@ -370,7 +370,7 @@ const UsersDetail = (props: any) => {
...
@@ -370,7 +370,7 @@ const UsersDetail = (props: any) => {
<
Col
span=
{
4
}
>
{
memberData
.
owner_family_name
}
</
Col
>
<
Col
span=
{
4
}
>
{
memberData
.
owner_family_name
}
</
Col
>
</
Row
>
</
Row
>
<
Row
gutter=
{
16
}
>
<
Row
gutter=
{
16
}
>
<
Col
span=
{
4
}
>
Contact
Detail
:
</
Col
>
<
Col
span=
{
4
}
>
Contact
Number
:
</
Col
>
<
Col
span=
{
4
}
>
{
memberData
.
owner_family_phone
}
</
Col
>
<
Col
span=
{
4
}
>
{
memberData
.
owner_family_phone
}
</
Col
>
<
Col
span=
{
4
}
>
{
memberData
.
owner_family_email
}
</
Col
>
<
Col
span=
{
4
}
>
{
memberData
.
owner_family_email
}
</
Col
>
</
Row
>
</
Row
>
...
...
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