Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
merchant-manage-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
ui
merchant-manage-ui
Commits
07cfd022
Commit
07cfd022
authored
Jun 17, 2021
by
王苓芝
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'afterSale' of git.quantgroup.cn:ui/merchant-manage-ui into afterSale
parents
0c5989c6
00128855
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
33 additions
and
19 deletions
+33
-19
config.js
config/config.js
+6
-0
menu.js
src/models/menu.js
+1
-13
index.jsx
src/pages/AfterSaleManage/PassAudit/index.jsx
+2
-3
index.jsx
src/pages/AfterSaleManage/Pending/index.jsx
+2
-3
index.jsx
src/pages/AfterSaleManage/index.jsx
+22
-0
No files found.
config/config.js
View file @
07cfd022
...
@@ -122,6 +122,12 @@ export default {
...
@@ -122,6 +122,12 @@ export default {
name
:
'
settleManage
'
,
name
:
'
settleManage
'
,
component
:
'
./settleManage
'
,
component
:
'
./settleManage
'
,
},
},
{
path
:
'
/afterSaleManage
'
,
name
:
'
afterSaleManage
'
,
icon
:
'
smile
'
,
component
:
'
./AfterSaleManage/index
'
,
},
{
{
path
:
'
/auditPending
'
,
path
:
'
/auditPending
'
,
name
:
'
auditPending
'
,
name
:
'
auditPending
'
,
...
...
src/models/menu.js
View file @
07cfd022
...
@@ -46,19 +46,7 @@ const MenuModel = {
...
@@ -46,19 +46,7 @@ const MenuModel = {
});
});
return
value
;
return
value
;
};
};
let
menuData
=
initializationData
(
payload
);
const
menuData
=
initializationData
(
payload
);
menuData
=
menuData
.
concat
([
{
path
:
'
auditPending
'
,
icon
:
'
smile
'
,
name
:
'
售后未审核
'
,
},
{
path
:
'
passAudit
'
,
icon
:
'
smile
'
,
name
:
'
售后已审核
'
,
},
]);
return
{
...
state
,
menuData
};
return
{
...
state
,
menuData
};
},
},
},
},
...
...
src/pages/AfterSaleManage/PassAudit/index.jsx
View file @
07cfd022
import
React
,
{
useState
,
useRef
}
from
'
react
'
;
import
React
,
{
useState
,
useRef
}
from
'
react
'
;
import
{
Button
,
notification
,
Popconfirm
}
from
'
antd
'
;
import
{
Button
,
notification
,
Popconfirm
}
from
'
antd
'
;
import
ProTable
from
'
@ant-design/pro-table
'
;
import
ProTable
from
'
@ant-design/pro-table
'
;
import
{
PageHeaderWrapper
}
from
'
@ant-design/pro-layout
'
;
import
{
searchList
,
shopCheck
,
orderDetail
,
trackInfo
}
from
'
../services
'
;
import
{
searchList
,
shopCheck
,
orderDetail
,
trackInfo
}
from
'
../services
'
;
import
{
getDetail
}
from
'
../../afterSale/appeal/services
'
;
import
{
getDetail
}
from
'
../../afterSale/appeal/services
'
;
import
{
columnPassAudit
}
from
'
../data
'
;
import
{
columnPassAudit
}
from
'
../data
'
;
...
@@ -152,7 +151,7 @@ export default () => {
...
@@ -152,7 +151,7 @@ export default () => {
},
},
];
];
return
(
return
(
<
PageHeaderWrapper
>
<
div
>
<
ProTable
<
ProTable
columns=
{
columns
}
columns=
{
columns
}
request=
{
params
=>
searchList
(
params
,
2
)
}
request=
{
params
=>
searchList
(
params
,
2
)
}
...
@@ -182,6 +181,6 @@ export default () => {
...
@@ -182,6 +181,6 @@ export default () => {
modalVisible=
{
appealDetailModal
}
modalVisible=
{
appealDetailModal
}
onCancel=
{
closeModal
}
onCancel=
{
closeModal
}
></
AppealDetail
>
></
AppealDetail
>
</
PageHeaderWrapper
>
</
div
>
);
);
};
};
src/pages/AfterSaleManage/Pending/index.jsx
View file @
07cfd022
import
React
,
{
useState
,
useRef
}
from
'
react
'
;
import
React
,
{
useState
,
useRef
}
from
'
react
'
;
import
{
notification
,
Button
}
from
'
antd
'
;
import
{
notification
,
Button
}
from
'
antd
'
;
import
ProTable
from
'
@ant-design/pro-table
'
;
import
ProTable
from
'
@ant-design/pro-table
'
;
import
{
PageHeaderWrapper
}
from
'
@ant-design/pro-layout
'
;
import
{
searchList
,
auditInfoApi
,
orderDetail
}
from
'
../services
'
;
import
{
searchList
,
auditInfoApi
,
orderDetail
}
from
'
../services
'
;
import
{
columnSticData
,
appealType
}
from
'
../data
'
;
import
{
columnSticData
,
appealType
}
from
'
../data
'
;
import
AuditModal
from
'
../components/auditModal
'
;
import
AuditModal
from
'
../components/auditModal
'
;
...
@@ -93,7 +92,7 @@ export default () => {
...
@@ -93,7 +92,7 @@ export default () => {
},
},
];
];
return
(
return
(
<
PageHeaderWrapper
>
<
div
>
<
ProTable
<
ProTable
columns=
{
columns
}
columns=
{
columns
}
request=
{
params
=>
searchList
(
params
,
1
)
}
request=
{
params
=>
searchList
(
params
,
1
)
}
...
@@ -116,6 +115,6 @@ export default () => {
...
@@ -116,6 +115,6 @@ export default () => {
modalVisible=
{
appealDetailModal
}
modalVisible=
{
appealDetailModal
}
onCancel=
{
closeModal
}
onCancel=
{
closeModal
}
></
AppealDetail
>
></
AppealDetail
>
</
PageHeaderWrapper
>
</
div
>
);
);
};
};
src/pages/AfterSaleManage/index.jsx
0 → 100644
View file @
07cfd022
import
{
Tabs
}
from
'
antd
'
;
import
React
from
'
react
'
;
import
{
PageHeaderWrapper
}
from
'
@ant-design/pro-layout
'
;
import
Pending
from
'
./Pending
'
;
import
PassAudit
from
'
./PassAudit
'
;
const
{
TabPane
}
=
Tabs
;
export
default
function
AfterSale
()
{
return
(
<
PageHeaderWrapper
>
<
Tabs
defaultActiveKey=
"1"
>
<
TabPane
tab=
"未审核"
key=
"1"
>
<
Pending
/>
</
TabPane
>
<
TabPane
tab=
"已审核"
key=
"2"
>
<
PassAudit
/>
</
TabPane
>
</
Tabs
>
</
PageHeaderWrapper
>
);
}
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