Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
薪
薪瑞通-前端
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
许珑标
薪瑞通-前端
Commits
0588dc79
Commit
0588dc79
authored
Jun 30, 2025
by
谢子梦
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stage:发布任务接口调用
parent
780b17d6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
5 deletions
+20
-5
src/api/business/payOrder.js
src/api/business/payOrder.js
+7
-0
src/views/business/onlineTaskInfo/payBatchSettlement.vue
src/views/business/onlineTaskInfo/payBatchSettlement.vue
+13
-5
No files found.
src/api/business/payOrder.js
View file @
0588dc79
...
@@ -155,3 +155,10 @@ export function previewSettleAPI(id) {
...
@@ -155,3 +155,10 @@ export function previewSettleAPI(id) {
method
:
'
get
'
method
:
'
get
'
})
})
}
}
// 确认计算
export
function
confirmSettleAPI
(
id
)
{
return
request
({
url
:
`/business/taskBatch/settlement/confirm/
${
id
}
`
,
method
:
'
get
'
})
}
src/views/business/onlineTaskInfo/payBatchSettlement.vue
View file @
0588dc79
...
@@ -176,15 +176,14 @@
...
@@ -176,15 +176,14 @@
</el-descriptions>
</el-descriptions>
<span
slot=
"footer"
class=
"dialog-footer"
>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"settlementPreviewDialog = false"
>
取 消
</el-button>
<el-button
@
click=
"settlementPreviewDialog = false"
>
取 消
</el-button>
<el-button
type=
"primary"
icon=
"el-icon-s-promotion"
<el-button
type=
"primary"
icon=
"el-icon-s-promotion"
@
click=
"settlementPreviewSubmit"
>
确认结算
</el-button>
@
click=
"settlementPreviewDialog = false"
>
确认预览
</el-button>
</span>
</span>
</el-dialog>
</el-dialog>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
{
getBatchInfoAPI
,
listBatchInfoAPI
,
addBatchInfoAPI
,
updateBatchInfoAPI
,
delBatchInfoAPI
,
previewSettleAPI
}
from
'
@/api/business/payOrder
'
import
{
getBatchInfoAPI
,
listBatchInfoAPI
,
addBatchInfoAPI
,
updateBatchInfoAPI
,
delBatchInfoAPI
,
previewSettleAPI
,
confirmSettleAPI
}
from
'
@/api/business/payOrder
'
import
{
getOnlineTaskInfo
}
from
"
@/api/business/onlineTaskInfo
"
;
import
{
getOnlineTaskInfo
}
from
"
@/api/business/onlineTaskInfo
"
;
import
{
signAccList
}
from
"
@/api/business/accInfo
"
;
import
{
signAccList
}
from
"
@/api/business/accInfo
"
;
import
{
getToken
}
from
'
@/utils/auth
'
import
{
getToken
}
from
'
@/utils/auth
'
...
@@ -214,7 +213,7 @@ export default {
...
@@ -214,7 +213,7 @@ export default {
width
:
'
380px
'
width
:
'
380px
'
},
},
params
:
{
params
:
{
onlineBatchId
:
''
,
online
Task
BatchId
:
''
,
pageSize
:
10
,
pageSize
:
10
,
pageNum
:
1
,
pageNum
:
1
,
staffName
:
''
staffName
:
''
...
@@ -286,6 +285,15 @@ export default {
...
@@ -286,6 +285,15 @@ export default {
},
},
methods
:
{
methods
:
{
// 点击确认结算
settlementPreviewSubmit
()
{
confirmSettleAPI
(
this
.
batchInfo
.
id
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
this
.
settlementPreviewDialog
=
false
this
.
$modal
.
msgSuccess
(
'
结算成功
'
)
}
})
},
// 点击结算按钮
// 点击结算按钮
confirmPay
()
{
confirmPay
()
{
previewSettleAPI
(
this
.
batchInfo
.
id
).
then
(
res
=>
{
previewSettleAPI
(
this
.
batchInfo
.
id
).
then
(
res
=>
{
...
@@ -492,7 +500,7 @@ export default {
...
@@ -492,7 +500,7 @@ export default {
if
(
res
.
code
==
200
)
{
if
(
res
.
code
==
200
)
{
this
.
batchInfo
=
res
.
data
this
.
batchInfo
=
res
.
data
this
.
pageInit
(
this
.
batchInfo
.
onlineTaskId
)
this
.
pageInit
(
this
.
batchInfo
.
onlineTaskId
)
this
.
params
.
online
BatchId
=
this
.
batchInfo
.
onlineTaskI
d
this
.
params
.
online
TaskBatchId
=
this
.
batchInfo
.
i
d
this
.
getList
()
this
.
getList
()
}
}
})
})
...
...
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