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

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

parent 450df9c6
...@@ -370,10 +370,10 @@ export default { ...@@ -370,10 +370,10 @@ export default {
return return
} }
this.aoLoading = true this.aoLoading = true
const ids = this.selctionDatas.map(item => item.processTaskId) const ids = this.selctionDatas.map(item => item.processTaskId) || []
post( post(
'DxWorkflowTask/apply/pass?taskIds=' + ids.join(','), 'DxWorkflowTask/apply/pass',
{} ids
) )
.then((res) => { .then((res) => {
if (res.message.includes('成功')) { if (res.message.includes('成功')) {
...@@ -407,10 +407,10 @@ export default { ...@@ -407,10 +407,10 @@ export default {
return return
} }
this.aoLoading = true this.aoLoading = true
const ids = this.selctionDatas.map(item => item.processTaskId) const ids = this.selctionDatas.map(item => item.processTaskId) || []
post( post(
'DxWorkflowTask/apply/reject?taskIds=' + ids.join(','), 'DxWorkflowTask/apply/reject',
{} ids
) )
.then((res) => { .then((res) => {
if (res.message.includes('成功')) { if (res.message.includes('成功')) {
...@@ -443,10 +443,10 @@ export default { ...@@ -443,10 +443,10 @@ export default {
return return
} }
this.aoLoading = true this.aoLoading = true
const ids = this.selctionDatas.map(item => item.processTaskId) const ids = this.selctionDatas.map(item => item.processTaskId) || []
post( post(
'DxWorkflowTask/apply/cancellation?taskIds=' + ids.join(','), 'DxWorkflowTask/apply/cancellation',
{} ids
) )
.then((res) => { .then((res) => {
if (res.message.includes('成功')) { if (res.message.includes('成功')) {
......
...@@ -419,10 +419,10 @@ export default { ...@@ -419,10 +419,10 @@ export default {
return return
} }
this.aoLoading = true this.aoLoading = true
const ids = this.selctionDatas.map(item => item.processTaskId) const ids = this.selctionDatas.map(item => item.processTaskId) || []
post( post(
'DxWorkflowTask/apply/pass?taskIds=' + ids.join(','), 'DxWorkflowTask/apply/pass',
{} ids
) )
.then((res) => { .then((res) => {
if (res.message.includes('成功')) { if (res.message.includes('成功')) {
...@@ -456,10 +456,10 @@ export default { ...@@ -456,10 +456,10 @@ export default {
return return
} }
this.aoLoading = true this.aoLoading = true
const ids = this.selctionDatas.map(item => item.processTaskId) const ids = this.selctionDatas.map(item => item.processTaskId) || []
post( post(
'DxWorkflowTask/apply/reject?taskIds=' + ids.join(','), 'DxWorkflowTask/apply/reject',
{} ids
) )
.then((res) => { .then((res) => {
if (res.message.includes('成功')) { if (res.message.includes('成功')) {
...@@ -492,10 +492,10 @@ export default { ...@@ -492,10 +492,10 @@ export default {
return return
} }
this.aoLoading = true this.aoLoading = true
const ids = this.selctionDatas.map(item => item.processTaskId) const ids = this.selctionDatas.map(item => item.processTaskId) || []
post( post(
'DxWorkflowTask/apply/cancellation?taskIds=' + ids.join(','), 'DxWorkflowTask/apply/cancellation',
{} ids
) )
.then((res) => { .then((res) => {
if (res.message.includes('成功')) { 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