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
6af05207
Commit
6af05207
authored
Dec 25, 2020
by
Sixiang_Zzb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
服务范围提示修改
parent
cfc00c98
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
7 deletions
+9
-7
User.ts
src/models/CommunityManagement/User.ts
+3
-1
Detail.tsx
...pages/UserManagement/ServiceProviderManagement/Detail.tsx
+6
-6
No files found.
src/models/CommunityManagement/User.ts
View file @
6af05207
...
@@ -102,7 +102,9 @@ export default {
...
@@ -102,7 +102,9 @@ export default {
}
}
if
(
resp
.
error_code
!=
'0000'
)
{
if
(
resp
.
error_code
!=
'0000'
)
{
message
.
error
(
`
${
resp
.
error_code
}
:
${
resp
.
error_msg
}
`
);
if
(
playload
.
index
!==
53
)
{
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/ServiceProviderManagement/Detail.tsx
View file @
6af05207
...
@@ -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'
];
...
@@ -130,8 +130,8 @@ const Detail = (props: any) => {
...
@@ -130,8 +130,8 @@ const Detail = (props: any) => {
</
Button
>
</
Button
>
</
div
>
</
div
>
)
:
(
)
:
(
<
div
/>
<
div
/>
)
}
)
}
<
div
className=
{
styles
.
bigbox
}
>
<
div
className=
{
styles
.
bigbox
}
>
<
div
className=
{
styles
.
box0
}
>
<
div
className=
{
styles
.
box0
}
>
{
/* <div className={styles.box0item1}></div> */
}
{
/* <div className={styles.box0item1}></div> */
}
...
@@ -171,8 +171,8 @@ const Detail = (props: any) => {
...
@@ -171,8 +171,8 @@ const Detail = (props: any) => {
{
SaveChooseData
.
serviceCommunityList
!=
null
?
(
{
SaveChooseData
.
serviceCommunityList
!=
null
?
(
<
ShowOptions
list=
{
SaveChooseData
.
serviceCommunityList
}
defaultValue=
{
'Close'
}
/>
<
ShowOptions
list=
{
SaveChooseData
.
serviceCommunityList
}
defaultValue=
{
'Close'
}
/>
)
:
(
)
:
(
<></>
<></>
)
}
)
}
</
div
>
</
div
>
<
div
className=
{
styles
.
box7
}
>
<
div
className=
{
styles
.
box7
}
>
...
...
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