瀏覽代碼

Merge branch '长阳分支中职' of http://123.57.209.16:3000/bjquanjiang/DigitalScholl into 长阳分支中职

长阳分支推送专用
ndbs 2 年之前
父節點
當前提交
8c11b93536
共有 1 個檔案被更改,包括 8 行新增5 行删除
  1. +8
    -5
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/nworkflow/myflow/sign.vue

+ 8
- 5
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/nworkflow/myflow/sign.vue 查看文件

@@ -108,16 +108,19 @@ export default {
this.TOAST('请选择审核人')
return
}
let postData = this.taskParam.formreq
const res = await this.HTTP_POST('learun/adms/newwf/instance', postData, `指派审核人时发生错误`)
// let formdata = new FormData()
// formdata.append("data",this.taskParam.formreq)
const res = await this.HTTP_POST('learun/adms/newwf/instance', this.taskParam.formreq, `指派审核人时发生错误`)
if(!res){
return
}
this.submitPostData.auditors = {}
this.submitPostData.auditors[this.reviewerListId] = this.reviewer
this.submitPostData.auditors = JSON.stringify({[this.reviewerListId]:this.reviewer.toString()})
delete this.submitPostData.formreq
// this.submitPostData.auditors[this.reviewerListId] = this.reviewer
console.log(this.submitPostData)
const success = await this.HTTP_POST(
this.type === 'sign' ? 'learun/adms/newwf/sign' : 'learun/adms/newwf/audit',
this.type === 'sign' ? 'learun/adms/newwf/sign' : 'learun/adms/newwf/auditors',
this.submitPostData,
`提交[${this.typeText}]时发生错误`
)


Loading…
取消
儲存