Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xinrenli-admin
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
郑云飞
xinrenli-admin
Commits
abc12ee2
Commit
abc12ee2
authored
Apr 06, 2023
by
zhangmengjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
23.4.6驳回列表导出对接
parent
f3990ff4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
35 additions
and
7 deletions
+35
-7
src/api/orderform/index.js
+11
-3
src/views/orderform/components/modify.vue
+3
-0
src/views/orderform/index.vue
+21
-4
No files found.
src/api/orderform/index.js
View file @
abc12ee2
...
...
@@ -8,10 +8,18 @@ export function listGET(query) {
params
:
query
})
}
// 订单列表
导出
export
function
export
POST
(
data
)
{
// 订单列表
驳回
export
function
createPay
POST
(
data
)
{
return
request
({
url
:
'/xinrenli/order/export'
,
url
:
'/xinrenli/order/createPay'
,
method
:
'post'
,
data
:
data
})
}
// 订单列表详情
export
function
particularsPOST
(
data
)
{
return
request
({
url
:
'/xinrenli/order/particulars'
,
method
:
'post'
,
data
:
data
})
...
...
src/views/orderform/components/modify.vue
View file @
abc12ee2
...
...
@@ -73,6 +73,9 @@ export default {
},
title
:
{
type
:
String
},
ids
:{
type
:
String
}
},
data
()
{
...
...
src/views/orderform/index.vue
View file @
abc12ee2
...
...
@@ -80,9 +80,9 @@
</el-table-column>
</el-table>
<!-- 其他 -->
<comindex
:dialogVisibl=
"dialogVisible"
@
visivie=
'visivie'
:control=
"control"
></comindex>
<comindex
:dialogVisibl=
"dialogVisible"
@
visivie=
'visivie'
:control=
"control"
ref=
"refIndex"
></comindex>
<!-- 修改 详情 -->
<commodify
:title=
"title"
:dialogVisibl=
"dialogVi"
@
diaisibl=
"diaisibl"
@
onSubmit=
"onSubmit"
></commodify>
<commodify
:title=
"title"
:dialogVisibl=
"dialogVi"
@
diaisibl=
"diaisibl"
@
onSubmit=
"onSubmit"
ids=
"ids"
></commodify>
<pagination
v-show=
"total > 0"
:total=
"total"
:page
.
sync=
"queryParams.pageNum"
:limit
.
sync=
"queryParams.pageSize"
@
pagination=
"getList"
/>
</div>
...
...
@@ -91,7 +91,7 @@
<
script
>
import
comindex
from
'./components/index'
import
commodify
from
'./components/modify'
import
{
listGET
}
from
'@/api/orderform/index'
import
{
listGET
,
createPayPOST
}
from
'@/api/orderform/index'
export
default
{
name
:
"orderform"
,
filters
:
{
...
...
@@ -159,6 +159,8 @@ export default {
linkman
:
''
,
phone
:
''
},
id
:
''
,
ids
:
''
,
// 预览参数
preview
:
{
open
:
false
,
...
...
@@ -232,6 +234,7 @@ export default {
this
.
control
=
val
break
;
case
'5'
:
this
.
id
=
sta
.
id
this
.
control
=
val
break
;
}
...
...
@@ -240,6 +243,7 @@ export default {
// 修改详情
modify
(
sta
,
val
)
{
if
(
val
==
'1'
)
{
this
.
ids
=
sta
.
id
this
.
title
=
'修改订单'
}
else
{
this
.
title
=
'订单详情'
...
...
@@ -249,7 +253,20 @@ export default {
},
// 其他 弹窗关闭
visivie
()
{
this
.
dialogVisible
=
false
if
(
this
.
control
==
'5'
){
let
params
=
{
reasonsForRejection
:
this
.
$refs
[
'refIndex'
].
form
.
name
,
status
:
1
,
id
:
this
.
id
}
createPayPOST
(
params
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
){
this
.
$refs
[
'refIndex'
].
form
.
name
=
''
this
.
dialogVisible
=
false
this
.
listth
()
}
})
}
},
// 详情 修改 弹窗关闭
diaisibl
()
{
...
...
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