fix(approve) return flow

pull/1/MERGE
bob 2 years ago
parent 2ec363ba23
commit 966285d2f8

@ -388,7 +388,7 @@ export default {
this.finished = finished; this.finished = finished;
}, },
isRefuse(comment) { isRefuse(comment) {
return comment !== null &&comment !== undefined && comment.type !== null && comment.type !== undefined && comment.type === "3" return comment !== null &&comment !== undefined && comment.type !== null && comment.type !== undefined && (comment.type === "3" || comment.type === "2")
}, },
/** 查询部门下拉树结构 */ /** 查询部门下拉树结构 */
getTreeselect() { getTreeselect() {

@ -499,7 +499,7 @@ export default {
}) })
}, },
isRefuse(comment) { isRefuse(comment) {
return comment !== null &&comment !== undefined && comment.type !== null && comment.type !== undefined && comment.type === "3" return comment !== null &&comment !== undefined && comment.type !== null && comment.type !== undefined && (comment.type === "3" || comment.type === "2")
}, },
setIcon(finishTime,comment) { setIcon(finishTime,comment) {
console.log('setIcon::',comment) console.log('setIcon::',comment)

@ -60,7 +60,7 @@
<!-- <el-button icon="el-icon-edit-outline" type="primary" size="mini" @click="handleAssign"></el-button>--> <!-- <el-button icon="el-icon-edit-outline" type="primary" size="mini" @click="handleAssign"></el-button>-->
<!-- <el-button icon="el-icon-edit-outline" type="primary" size="mini" @click="handleDelegate"></el-button>--> <!-- <el-button icon="el-icon-edit-outline" type="primary" size="mini" @click="handleDelegate"></el-button>-->
<!-- <el-button icon="el-icon-refresh-left" type="warning" size="mini" @click="handleReturn">退</el-button>--> <!-- <el-button icon="el-icon-refresh-left" type="warning" size="mini" @click="handleReturn">退</el-button>-->
<el-button icon="el-icon-circle-close" type="danger" size="mini" @click="handleReject"></el-button> <el-button icon="el-icon-circle-close" type="danger" size="mini" @click="handleReturn"></el-button>
</div> </div>
</el-col> </el-col>
@ -446,7 +446,9 @@ export default {
}) })
}, },
isRefuse(comment) { isRefuse(comment) {
return comment !== null &&comment !== undefined && comment.type !== null && comment.type !== undefined && comment.type === "3" return comment !== null &&comment !== undefined && comment.type !== null
// type=3 type=2 退
&& comment.type !== undefined && (comment.type === "3" || comment.type === "2")
}, },
setIcon(finishTime,comment) { setIcon(finishTime,comment) {
console.log('setIcon::',comment) console.log('setIcon::',comment)
@ -689,7 +691,8 @@ export default {
this.returnOpen = true; this.returnOpen = true;
this.returnTitle = "退回流程"; this.returnTitle = "退回流程";
returnList(this.taskForm).then(res => { returnList(this.taskForm).then(res => {
this.returnTaskList = res.data; //
this.returnTaskList = res.data.slice(0,1)
this.taskForm.values = null; this.taskForm.values = null;
}) })
}, },

@ -268,7 +268,7 @@ export default {
}) })
}, },
isRefuse(comment) { isRefuse(comment) {
return comment !== null &&comment !== undefined && comment.type !== null && comment.type !== undefined && comment.type === "3" return comment !== null &&comment !== undefined && comment.type !== null && comment.type !== undefined && (comment.type === "3" || comment.type === "2")
}, },
setIcon(finishTime,comment) { setIcon(finishTime,comment) {
console.log('setIcon::',comment) console.log('setIcon::',comment)

Loading…
Cancel
Save