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
c5f0d091
Commit
c5f0d091
authored
Jan 27, 2021
by
Sixiang_Zzb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
服务商模块提示修改
parent
596208ca
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
ServiceProvider.ts
src/models/ServiceProvider.ts
+4
-4
Users.tsx
src/pages/UserManagement/LIFEUserManagement/Users.tsx
+2
-0
Edit.tsx
src/pages/UserManagement/ServiceProviderManagement/Edit.tsx
+0
-2
No files found.
src/models/ServiceProvider.ts
View file @
c5f0d091
...
...
@@ -65,7 +65,7 @@ export default {
// message.error("Service scope selection error!!!")
Modal
.
error
({
title
:
'Service selection error'
,
content
:
'No multiple selection are allowed once Accounting or Security
server
is being selected!'
,
content
:
'No multiple selection are allowed once Accounting or Security
Service
is being selected!'
,
});
return
;
}
...
...
@@ -91,9 +91,9 @@ export default {
// 创建成功
if
(
resp
.
error_code
===
"0000"
)
{
message
.
success
(
'Operator Success!'
,
1.5
,
()
=>
{
window
.
location
.
href
=
'/UserManagement/ServiceProviderManagement'
;
})
;
//
message.success('Operator Success!', 1.5, () => {
// })
;
window
.
location
.
href
=
'/UserManagement/ServiceProviderManagement'
;
let
CurData
:
Boolean
=
true
;
yield
put
({
type
:
'returnCurData'
,
CurData
});
return
;
...
...
src/pages/UserManagement/LIFEUserManagement/Users.tsx
View file @
c5f0d091
...
...
@@ -97,6 +97,8 @@ const Users = (props: any) => {
name
:
'file'
,
action
:
'/tos/excel/upload?userId='
+
id
,
beforeUpload
:
(
file
:
any
)
=>
{
console
.
log
(
file
);
if
(
permissionArr
.
indexOf
(
'4'
)
<
0
)
{
message
.
error
(
'No permissions'
);
return
false
;
...
...
src/pages/UserManagement/ServiceProviderManagement/Edit.tsx
View file @
c5f0d091
...
...
@@ -38,7 +38,6 @@ const Edit = (props: any) => {
// 处理服务范围数据
useEffect
(()
=>
{
if
(
DataServices
!=
null
)
{
console
.
log
(
DataServices
);
options
=
DataServices
.
data
.
rows
.
map
((
v
:
any
)
=>
{
return
{
label
:
v
.
serviceName
,
...
...
@@ -103,7 +102,6 @@ const Edit = (props: any) => {
if
(
SaveChooseData
)
{
val
.
id
=
SaveChooseData
.
id
;
}
console
.
log
(
val
);
setload
(
true
);
TosTosServiceProviderSave
(
val
);
...
...
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