Commit e6900c23 authored by “lixuyan”'s avatar “lixuyan”

修改指令标识批量签审通过接口

parent 450df9c6
......@@ -370,10 +370,10 @@ export default {
return
}
this.aoLoading = true
const ids = this.selctionDatas.map(item => item.processTaskId)
const ids = this.selctionDatas.map(item => item.processTaskId) || []
post(
'DxWorkflowTask/apply/pass?taskIds=' + ids.join(','),
{}
'DxWorkflowTask/apply/pass',
ids
)
.then((res) => {
if (res.message.includes('成功')) {
......@@ -407,10 +407,10 @@ export default {
return
}
this.aoLoading = true
const ids = this.selctionDatas.map(item => item.processTaskId)
const ids = this.selctionDatas.map(item => item.processTaskId) || []
post(
'DxWorkflowTask/apply/reject?taskIds=' + ids.join(','),
{}
'DxWorkflowTask/apply/reject',
ids
)
.then((res) => {
if (res.message.includes('成功')) {
......@@ -443,10 +443,10 @@ export default {
return
}
this.aoLoading = true
const ids = this.selctionDatas.map(item => item.processTaskId)
const ids = this.selctionDatas.map(item => item.processTaskId) || []
post(
'DxWorkflowTask/apply/cancellation?taskIds=' + ids.join(','),
{}
'DxWorkflowTask/apply/cancellation',
ids
)
.then((res) => {
if (res.message.includes('成功')) {
......
......@@ -419,10 +419,10 @@ export default {
return
}
this.aoLoading = true
const ids = this.selctionDatas.map(item => item.processTaskId)
const ids = this.selctionDatas.map(item => item.processTaskId) || []
post(
'DxWorkflowTask/apply/pass?taskIds=' + ids.join(','),
{}
'DxWorkflowTask/apply/pass',
ids
)
.then((res) => {
if (res.message.includes('成功')) {
......@@ -456,10 +456,10 @@ export default {
return
}
this.aoLoading = true
const ids = this.selctionDatas.map(item => item.processTaskId)
const ids = this.selctionDatas.map(item => item.processTaskId) || []
post(
'DxWorkflowTask/apply/reject?taskIds=' + ids.join(','),
{}
'DxWorkflowTask/apply/reject',
ids
)
.then((res) => {
if (res.message.includes('成功')) {
......@@ -492,10 +492,10 @@ export default {
return
}
this.aoLoading = true
const ids = this.selctionDatas.map(item => item.processTaskId)
const ids = this.selctionDatas.map(item => item.processTaskId) || []
post(
'DxWorkflowTask/apply/cancellation?taskIds=' + ids.join(','),
{}
'DxWorkflowTask/apply/cancellation',
ids
)
.then((res) => {
if (res.message.includes('成功')) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment