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
de1f7a8b
Commit
de1f7a8b
authored
Dec 25, 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
37e38614
a3a35044
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
9 deletions
+12
-9
User.ts
src/models/CommunityManagement/User.ts
+3
-1
Users.tsx
src/pages/UserManagement/LIFEUserManagement/Users.tsx
+3
-2
Detail.tsx
...pages/UserManagement/ServiceProviderManagement/Detail.tsx
+6
-6
No files found.
src/models/CommunityManagement/User.ts
View file @
de1f7a8b
...
@@ -102,7 +102,9 @@ export default {
...
@@ -102,7 +102,9 @@ export default {
}
}
if
(
resp
.
error_code
!=
'0000'
)
{
if
(
resp
.
error_code
!=
'0000'
)
{
if
(
playload
.
index
!==
53
)
{
message
.
error
(
`
${
resp
.
error_code
}
:
${
resp
.
error_msg
}
`
);
message
.
error
(
`
${
resp
.
error_code
}
:
${
resp
.
error_msg
}
`
);
}
var
Data3Error
=
null
;
var
Data3Error
=
null
;
var
Result
=
null
;
var
Result
=
null
;
let
Data4Error
=
null
;
let
Data4Error
=
null
;
...
...
src/pages/UserManagement/LIFEUserManagement/Users.tsx
View file @
de1f7a8b
import
React
,
{
useState
,
useEffect
}
from
'react'
;
import
React
,
{
useState
,
useEffect
}
from
'react'
;
import
styles
from
'./index.less'
;
import
styles
from
'./index.less'
;
import
{
Spin
,
message
,
Upload
,
Button
,
Table
,
Space
}
from
'antd'
;
import
{
message
,
Upload
,
Button
,
Table
,
Space
}
from
'antd'
;
import
{
UploadOutlined
,
LoadingOutlined
}
from
'@ant-design/icons'
;
import
{
UploadOutlined
,
LoadingOutlined
}
from
'@ant-design/icons'
;
import
{
useIntl
,
connect
,
history
}
from
'umi'
;
import
{
useIntl
,
connect
,
history
}
from
'umi'
;
...
@@ -9,7 +9,7 @@ import { useIntl, connect, history } from 'umi';
...
@@ -9,7 +9,7 @@ import { useIntl, connect, history } from 'umi';
import
TitleSearch
from
'../../../components/TitleSearch/TitleSearch'
;
import
TitleSearch
from
'../../../components/TitleSearch/TitleSearch'
;
import
{
timestampToTime
}
from
'../../../utils/time'
;
import
{
timestampToTime
}
from
'../../../utils/time'
;
import
{
RA
,
getCookie
,
URL
,
filterObjbyTg
,
urlEncode
,
filterObj
}
from
'@/utils/method'
;
import
{
RA
,
URL
,
filterObjbyTg
,
urlEncode
,
filterObj
}
from
'@/utils/method'
;
const
module
=
'User'
;
const
module
=
'User'
;
const
module2
=
'History'
;
const
module2
=
'History'
;
...
@@ -129,6 +129,7 @@ const Users = (props: any) => {
...
@@ -129,6 +129,7 @@ const Users = (props: any) => {
}
}
},
},
showUploadList
:
false
,
showUploadList
:
false
,
disabled
:
permissionArr
.
indexOf
(
'4'
)
<
0
?
true
:
false
,
};
};
// 监听路由变化更新数据
// 监听路由变化更新数据
...
...
src/pages/UserManagement/ServiceProviderManagement/Detail.tsx
View file @
de1f7a8b
...
@@ -2,7 +2,7 @@ import React, { useState, useEffect } from 'react';
...
@@ -2,7 +2,7 @@ import React, { useState, useEffect } from 'react';
import
styles
from
'./Detail.less'
;
import
styles
from
'./Detail.less'
;
import
{
Button
,
Table
,
Space
,
message
,
Modal
,
Spin
}
from
'antd'
;
import
{
Button
,
Table
,
Space
,
message
,
Modal
,
Spin
}
from
'antd'
;
import
{
Link
,
useIntl
,
connect
,
Dispatch
,
history
}
from
'umi'
;
import
{
connect
,
history
}
from
'umi'
;
import
ShowOptions
from
'../../../components/ShowOptions/index'
;
import
ShowOptions
from
'../../../components/ShowOptions/index'
;
import
TitleBack
from
'../../../components/TitleBack/TitleBack'
;
import
TitleBack
from
'../../../components/TitleBack/TitleBack'
;
...
@@ -11,7 +11,7 @@ import { PoweroffOutlined, ExclamationCircleOutlined } from '@ant-design/icons';
...
@@ -11,7 +11,7 @@ import { PoweroffOutlined, ExclamationCircleOutlined } from '@ant-design/icons';
const
{
confirm
}
=
Modal
;
const
{
confirm
}
=
Modal
;
const
Detail
=
(
props
:
any
)
=>
{
const
Detail
=
(
props
:
any
)
=>
{
const
{
dispatch
,
Data
,
CurDataFollow
,
location
,
SaveChooseData
,
Result
}
=
props
;
const
{
dispatch
,
CurDataFollow
,
location
,
SaveChooseData
,
Result
}
=
props
;
const
status
=
[
'Normal'
,
'Cancelled'
];
const
status
=
[
'Normal'
,
'Cancelled'
];
...
...
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