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
b1594a32
Commit
b1594a32
authored
Nov 30, 2020
by
cellee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
打开提示
Signed-off-by:
cellee
<
893264950@qq.com
>
parent
840e1386
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
15 additions
and
8 deletions
+15
-8
index.tsx
src/components/NoticeIcon/index.tsx
+5
-1
BasicLayout.tsx
src/layouts/BasicLayout.tsx
+1
-1
global.ts
src/models/global.ts
+1
-0
Adds.tsx
src/pages/CommunityManagement/CellList/Adds.tsx
+1
-1
ContractContent.tsx
src/pages/ContractManagement/ContractContent.tsx
+2
-0
tip.ts
src/utils/tip.ts
+5
-5
No files found.
src/components/NoticeIcon/index.tsx
View file @
b1594a32
...
@@ -54,6 +54,9 @@ const NoticeIcon: React.FC<NoticeIconProps> & {
...
@@ -54,6 +54,9 @@ const NoticeIcon: React.FC<NoticeIconProps> & {
clearText
,
clearText
,
viewMoreText
,
viewMoreText
,
}
=
props
;
}
=
props
;
console
.
log
(
loading
);
if
(
!
children
)
{
if
(
!
children
)
{
return
null
;
return
null
;
}
}
...
@@ -84,7 +87,8 @@ const NoticeIcon: React.FC<NoticeIconProps> & {
...
@@ -84,7 +87,8 @@ const NoticeIcon: React.FC<NoticeIconProps> & {
);
);
});
});
return
(
return
(
<
Spin
spinning=
{
loading
}
delay=
{
300
}
>
// <Spin spinning={loading} delay={300}>
<
Spin
delay=
{
300
}
>
<
Tabs
className=
{
styles
.
tabs
}
onChange=
{
onTabChange
}
>
<
Tabs
className=
{
styles
.
tabs
}
onChange=
{
onTabChange
}
>
{
panes
}
{
panes
}
</
Tabs
>
</
Tabs
>
...
...
src/layouts/BasicLayout.tsx
View file @
b1594a32
...
@@ -78,7 +78,7 @@ const BasicLayout: React.FC<BasicLayoutProps> = (props) => {
...
@@ -78,7 +78,7 @@ const BasicLayout: React.FC<BasicLayoutProps> = (props) => {
useEffect
(()
=>
{
useEffect
(()
=>
{
console
.
log
(
login
);
console
.
log
(
login
);
if
(
dispatch
)
{
if
(
dispatch
)
{
console
.
log
(
'Maple'
);
//
console.log('Maple');
dispatch
({
dispatch
({
type
:
'user/fetchCurrent'
,
type
:
'user/fetchCurrent'
,
playload
:
{
playload
:
{
...
...
src/models/global.ts
View file @
b1594a32
...
@@ -42,6 +42,7 @@ const GlobalModel: GlobalModelType = {
...
@@ -42,6 +42,7 @@ const GlobalModel: GlobalModelType = {
effects
:
{
effects
:
{
*
fetchNotices
(
_
,
{
call
,
put
,
select
})
{
*
fetchNotices
(
_
,
{
call
,
put
,
select
})
{
const
data
=
yield
call
(
queryNotices
);
const
data
=
yield
call
(
queryNotices
);
console
.
log
(
data
);
yield
put
({
yield
put
({
type
:
'saveNotices'
,
type
:
'saveNotices'
,
payload
:
data
,
payload
:
data
,
...
...
src/pages/CommunityManagement/CellList/Adds.tsx
View file @
b1594a32
...
@@ -472,7 +472,7 @@ const Adds = (props: any) => {
...
@@ -472,7 +472,7 @@ const Adds = (props: any) => {
name=
"residentialManagerUserName"
name=
"residentialManagerUserName"
rules=
{
village
[
6
]
as
any
}
rules=
{
village
[
6
]
as
any
}
>
>
<
Input
style=
{
{
width
:
'160px'
}
}
placeholder=
"
Contacts
"
maxLength=
{
30
}
/>
<
Input
style=
{
{
width
:
'160px'
}
}
placeholder=
"
Name
"
maxLength=
{
30
}
/>
</
Form
.
Item
>
</
Form
.
Item
>
<
Form
.
Item
label=
"Property Fee"
name=
"propertyFee"
style=
{
{
marginBottom
:
'0'
}
}
>
<
Form
.
Item
label=
"Property Fee"
name=
"propertyFee"
style=
{
{
marginBottom
:
'0'
}
}
>
...
...
src/pages/ContractManagement/ContractContent.tsx
View file @
b1594a32
...
@@ -169,6 +169,8 @@ const ContractContent = (props: any) => {
...
@@ -169,6 +169,8 @@ const ContractContent = (props: any) => {
data
:
{
imageType
:
'tosContract'
,
extends
:
comtyName
},
data
:
{
imageType
:
'tosContract'
,
extends
:
comtyName
},
fileList
:
fileList
,
fileList
:
fileList
,
onChange
:
({
file
}:
{
file
:
any
})
=>
{
onChange
:
({
file
}:
{
file
:
any
})
=>
{
console
.
log
(
file
);
if
(
file
.
status
===
'uploading'
)
{
if
(
file
.
status
===
'uploading'
)
{
setimgLoad
(
true
);
setimgLoad
(
true
);
}
}
...
...
src/utils/tip.ts
View file @
b1594a32
/*
/*
* @Author: your name
* @Author: your name
* @Date: 2020-11-19 16:54:53
* @Date: 2020-11-19 16:54:53
* @LastEditTime: 2020-11-
27 17:32
:30
* @LastEditTime: 2020-11-
30 15:00
:30
* @LastEditors:
your name
* @LastEditors:
Please set LastEditors
* @Description: In User Settings Edit
* @Description: In User Settings Edit
* @FilePath: \tostumi\src\utils\tip.ts
* @FilePath: \tostumi\src\utils\tip.ts
*/
*/
...
@@ -69,9 +69,9 @@ export const BookingsTip = [
...
@@ -69,9 +69,9 @@ export const BookingsTip = [
// 账号新增编辑
// 账号新增编辑
export
const
AccountTip
=
[
export
const
AccountTip
=
[
[{
required
:
fals
e
,
type
:
'email'
,
message
:
'Please enter email address !'
}],
[{
required
:
tru
e
,
type
:
'email'
,
message
:
'Please enter email address !'
}],
[{
required
:
fals
e
,
message
:
'Required'
}],
[{
required
:
tru
e
,
message
:
'Required'
}],
[{
required
:
fals
e
,
message
:
'Please enter the correct contact information !'
}],
[{
required
:
tru
e
,
message
:
'Please enter the correct contact information !'
}],
[{
required
:
true
,
message
:
'Required'
}],
[{
required
:
true
,
message
:
'Required'
}],
[{
required
:
true
,
message
:
'Required'
}],
[{
required
:
true
,
message
:
'Required'
}],
[{
required
:
true
,
message
:
'Required'
}],
[{
required
:
true
,
message
:
'Required'
}],
...
...
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