fix:审批流程添加审批图片(必填)
This commit is contained in:
parent
5ac6bd553b
commit
2a7502d023
|
@ -745,6 +745,7 @@ export default {
|
||||||
.req(that.ticketId)
|
.req(that.ticketId)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
that.operationBtn = res;
|
that.operationBtn = res;
|
||||||
|
console.log("operationBtn", that.operationBtn);
|
||||||
if(res.length>0){
|
if(res.length>0){
|
||||||
for (let i = 0; i < res.length; i++) {
|
for (let i = 0; i < res.length; i++) {
|
||||||
if(res[i].on_submit_func=="apps.opm.services.check_opl_audit_imgs"){
|
if(res[i].on_submit_func=="apps.opm.services.check_opl_audit_imgs"){
|
||||||
|
@ -867,7 +868,13 @@ export default {
|
||||||
params.ticket_data.close_dos = this.form.close_dos;
|
params.ticket_data.close_dos = this.form.close_dos;
|
||||||
}
|
}
|
||||||
if(this.audit_imgs_show){
|
if(this.audit_imgs_show){
|
||||||
params.ticket_data.audit_imgs = this.audit_imgs;
|
if(this.audit_imgs.length>0){
|
||||||
|
params.ticket_data.audit_imgs = this.audit_imgs;
|
||||||
|
}else{
|
||||||
|
this.$message.error("请上传审批照片");
|
||||||
|
this.submitLoading = false;
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
this.$API.wf.ticket.ticketHandle
|
this.$API.wf.ticket.ticketHandle
|
||||||
.req(this.ticketId, params)
|
.req(this.ticketId, params)
|
||||||
|
|
Loading…
Reference in New Issue