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
70457ec7
Commit
70457ec7
authored
Dec 01, 2020
by
cellee
Browse files
Options
Browse Files
Download
Plain Diff
Signed-off-by: cellee <893264950@qq.com>
parents
232ce6f0
47af12c0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
30 deletions
+27
-30
User.ts
src/models/CommunityManagement/User.ts
+25
-26
Users.tsx
src/pages/UserManagement/LIFEUserManagement/Users.tsx
+0
-1
Detail.tsx
...pages/UserManagement/ServiceProviderManagement/Detail.tsx
+2
-3
No files found.
src/models/CommunityManagement/User.ts
View file @
70457ec7
...
...
@@ -28,49 +28,49 @@ export default {
},
reducers
:
{
returnPage
(
state
,
{
Data
,
DataPage
,
DataSave
}
)
{
returnPage
(
state
:
any
,
{
Data
,
DataPage
,
DataSave
}:
any
)
{
return
{
...
state
,
Data
,
DataPage
,
DataSave
};
},
returnData3Error
(
state
,
{
Data3Error
}
)
{
returnData3Error
(
state
:
any
,
{
Data3Error
}:
any
)
{
return
{
...
state
,
Data3Error
};
},
returnDataSave
(
state
,
{
DataSave
}
)
{
returnDataSave
(
state
:
any
,
{
DataSave
}:
any
)
{
return
{
...
state
,
DataSave
};
},
DataSaveDetail
(
state
,
{
DataSaveDetail
,
returnValue
}
)
{
DataSaveDetail
(
state
:
any
,
{
DataSaveDetail
,
returnValue
}:
any
)
{
return
{
...
state
,
DataSaveDetail
,
returnValue
};
},
returnSource
(
state
,
{
sourceData
}
)
{
returnSource
(
state
:
any
,
{
sourceData
}:
any
)
{
return
{
...
state
,
sourceData
};
},
returnCurString
(
state
,
{
curString
}
)
{
returnCurString
(
state
:
any
,
{
curString
}:
any
)
{
return
{
...
state
,
curString
};
},
returnResult
(
state
,
{
Result
}
)
{
returnResult
(
state
:
any
,
{
Result
}:
any
)
{
return
{
...
state
,
Result
};
},
returnCommunityInfo
(
state
,
{
communityInfo
}
)
{
returnCommunityInfo
(
state
:
any
,
{
communityInfo
}:
any
)
{
return
{
...
state
,
communityInfo
};
},
PageDate
(
state
,
{
pageDate
}
)
{
PageDate
(
state
:
any
,
{
pageDate
}:
any
)
{
return
{
...
state
,
pageDate
};
},
ReturnValue
(
state
,
{
returnValue
}
)
{
ReturnValue
(
state
:
any
,
{
returnValue
}:
any
)
{
return
{
...
state
,
returnValue
};
},
returnMemberResult
(
state
,
{
memberResult
}
)
{
returnMemberResult
(
state
:
any
,
{
memberResult
}:
any
)
{
return
{
...
state
,
memberResult
};
},
returnDataServices
(
state
,
{
DataServices
}
)
{
returnDataServices
(
state
:
any
,
{
DataServices
}:
any
)
{
return
{
...
state
,
DataServices
};
},
returnData4Error
(
state
,
{
Data4Error
}
)
{
returnData4Error
(
state
:
any
,
{
Data4Error
}:
any
)
{
return
{
...
state
,
Data4Error
};
},
},
effects
:
{
*
RA
({
playload
}
,
{
call
,
put
}
)
{
*
RA
({
playload
}
:
{
playload
:
{
index
:
number
}
},
{
call
,
put
}:
any
)
{
switch
(
playload
.
index
)
{
case
12
:
{
...
...
@@ -116,7 +116,6 @@ export default {
break
;
case
13
:
{
//
history
.
push
(
'/UserManagement/LIFEUserManagement'
);
}
break
;
...
...
@@ -196,56 +195,56 @@ export default {
}
},
*
IA
({
playload
},
{
call
,
put
}
)
{
*
IA
({
},
{
put
}:
any
)
{
var
Data3
=
null
;
yield
put
({
type
:
'returnPage3'
,
Data3
});
},
*
IA2
({
playload
},
{
call
,
put
}
)
{
*
IA2
({
},
{
put
}:
any
)
{
var
Data3Error
=
null
;
yield
put
({
type
:
'returnData3Error'
,
Data3Error
});
},
*
SA
({
playload
}
,
{
call
,
put
}
)
{
*
SA
({
playload
}
:
any
,
{
put
}:
any
)
{
var
DataSave
=
playload
;
yield
put
({
type
:
'returnDataSave'
,
DataSave
});
},
*
CA
({
playload
}
,
{
call
,
put
}
)
{
*
CA
({
playload
}
:
any
,
{
put
}:
any
)
{
var
sourceData
=
playload
;
yield
put
({
type
:
'returnSource'
,
sourceData
});
},
*
QA
({
playload
}
,
{
call
,
put
}
)
{
*
QA
({
playload
}
:
any
,
{
put
}:
any
)
{
var
curString
=
playload
;
yield
put
({
type
:
'returnCurString'
,
curString
});
},
*
ResultClear
({},
{
put
})
{
*
ResultClear
({},
{
put
}
:
any
)
{
var
tmp
=
null
;
yield
put
({
type
:
'returnResult'
,
tmp
});
},
*
PAGE
({
playload
}
,
{
put
}
)
{
*
PAGE
({
playload
}
:
any
,
{
put
}:
any
)
{
var
pageDate
=
playload
;
yield
put
({
type
:
'PageDate'
,
pageDate
});
},
*
DataClear
({},
{
put
})
{
*
DataClear
({},
{
put
}
:
any
)
{
var
pageDate
=
null
;
yield
put
({
type
:
'returnPage'
,
pageDate
});
},
*
MemberResultClear
({},
{
put
})
{
*
MemberResultClear
({},
{
put
}
:
any
)
{
let
memberResult
=
null
;
yield
put
({
type
:
'returnMemberResult'
,
memberResult
});
},
*
Data4ErrorClear
({},
{
put
})
{
*
Data4ErrorClear
({},
{
put
}
:
any
)
{
let
Data4Error
=
null
;
yield
put
({
type
:
'returnData4Error'
,
Data4Error
});
},
*
ClearResult
({},
{
put
})
{
*
ClearResult
({},
{
put
}
:
any
)
{
let
Result
=
null
;
yield
put
({
type
:
'returnResult'
,
Result
});
},
...
...
src/pages/UserManagement/LIFEUserManagement/Users.tsx
View file @
70457ec7
...
...
@@ -10,7 +10,6 @@ import TitleSearch from '../../../components/TitleSearch/TitleSearch';
import
{
timestampToTime
}
from
'../../../utils/time'
;
import
{
RA
,
getCookie
,
URL
,
filterObjbyTg
,
urlEncode
,
filterObj
}
from
'@/utils/method'
;
import
{
remove
}
from
'lodash'
;
const
module
=
'User'
;
const
module2
=
'History'
;
...
...
src/pages/UserManagement/ServiceProviderManagement/Detail.tsx
View file @
70457ec7
...
...
@@ -103,9 +103,8 @@ const Detail = (props: any) => {
setLoding
(
false
);
if
(
Result
)
{
dispatch
({
type
:
'ServiceProvider/ResultClear'
});
message
.
success
(
'Logout successful!'
,
2
,
()
=>
{
history
.
goBack
();
});
message
.
success
(
'Logout successful!'
,
2
);
history
.
goBack
();
}
else
{
message
.
error
(
'Logout failed. Please try again!'
,
3
);
dispatch
({
type
:
'ServiceProvider/ResultClear'
,
playload
:
''
});
...
...
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