|
@ -109,7 +109,7 @@ |
|
|
this.addAgainOption = getAddAgainOption(); |
|
|
this.addAgainOption = getAddAgainOption(); |
|
|
this.detailAndApproveOptions = getDetailAndApproveOption() |
|
|
this.detailAndApproveOptions = getDetailAndApproveOption() |
|
|
this.detailAndApprovePassAndApproveNoOption = getDetailAndApprovePassAndApproveNoOption(), |
|
|
this.detailAndApprovePassAndApproveNoOption = getDetailAndApprovePassAndApproveNoOption(), |
|
|
this.detailAndHandleOption = getDetailAndHandleOption() |
|
|
this.detailAndHandleOption = getDetailAndHandleOption() |
|
|
this.detailAndAddAndCloseOption = getDetailAndAddAndCloseOption() |
|
|
this.detailAndAddAndCloseOption = getDetailAndAddAndCloseOption() |
|
|
this.updateTitle(); |
|
|
this.updateTitle(); |
|
|
this.getList('refresh'); |
|
|
this.getList('refresh'); |
|
@ -241,25 +241,25 @@ |
|
|
|
|
|
|
|
|
swipeClick(e, dataContent) { |
|
|
swipeClick(e, dataContent) { |
|
|
var text = clearTirmAndWrap(e.content.text) |
|
|
var text = clearTirmAndWrap(e.content.text) |
|
|
if (e.content.text == "详情") { |
|
|
if (text == "详情") { |
|
|
this.openRequestInfoPopup(dataContent); |
|
|
this.openRequestInfoPopup(dataContent); |
|
|
} else if (e.content.text == "处理") { |
|
|
} else if (text == "处理") { |
|
|
this.showQuestionMessage("确定要处理当前申请吗?", res => { |
|
|
this.showQuestionMessage("确定要处理当前申请吗?", res => { |
|
|
this.productionReturnRequestHandle(dataContent.id) |
|
|
this.productionReturnRequestHandle(dataContent.id) |
|
|
}) |
|
|
}) |
|
|
} else if (e.content.text == "审批") { |
|
|
} else if (text == "提交审批") { |
|
|
this.showQuestionMessage("确定要审批当前申请吗?", res => { |
|
|
this.showQuestionMessage("确定要审批当前申请吗?", res => { |
|
|
this.productionReturnRequestSubmitApprove(dataContent.id) |
|
|
this.productionReturnRequestSubmitApprove(dataContent.id) |
|
|
}) |
|
|
}) |
|
|
} else if (e.content.text == "审批通过") { |
|
|
} else if (text == "审批通过") { |
|
|
this.showQuestionMessage("确定要审批通过当前申请吗?", res => { |
|
|
this.showQuestionMessage("确定要审批通过当前申请吗?", res => { |
|
|
this.productionReturnRequestSubmitApproveAgree(dataContent.id) |
|
|
this.productionReturnRequestSubmitApproveAgree(dataContent.id) |
|
|
}) |
|
|
}) |
|
|
} else if (e.content.text == "审批驳回") { |
|
|
} else if (text == "审批驳回") { |
|
|
this.showQuestionMessage("确定要审批驳回当前申请吗?", res => { |
|
|
this.showQuestionMessage("确定要审批驳回当前申请吗?", res => { |
|
|
this.productionReturnRequestSubmitApproveRefused(dataContent.id) |
|
|
this.productionReturnRequestSubmitApproveRefused(dataContent.id) |
|
|
}) |
|
|
}) |
|
|
} else if (e.content.text == "关闭") { |
|
|
} else if (text == "关闭") { |
|
|
this.showQuestionMessage("确定要关闭当前申请吗?", res => { |
|
|
this.showQuestionMessage("确定要关闭当前申请吗?", res => { |
|
|
this.productionReturnRequestClose(dataContent.id) |
|
|
this.productionReturnRequestClose(dataContent.id) |
|
|
}) |
|
|
}) |
|
|