按钮loading-企标废止流程
This commit is contained in:
@@ -646,13 +646,14 @@ export default {
|
|||||||
}, res => {
|
}, res => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
this.isSubmit = false
|
|
||||||
this.saveLoading = false
|
|
||||||
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||||
}
|
}
|
||||||
|
this.isSubmit = false
|
||||||
|
this.saveLoading = false
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
|
this.saveLoading = true
|
||||||
this.standardSearch.commentText = this.commentText
|
this.standardSearch.commentText = this.commentText
|
||||||
var json = Object.assign(this.roleForm, this.standardSearch)
|
var json = Object.assign(this.roleForm, this.standardSearch)
|
||||||
this.$http.post('lawss/activiti/startProcessRollBack', {
|
this.$http.post('lawss/activiti/startProcessRollBack', {
|
||||||
@@ -685,9 +686,10 @@ export default {
|
|||||||
return res
|
return res
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
this.isSubmit = false
|
|
||||||
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||||
}
|
}
|
||||||
|
this.isSubmit = false
|
||||||
|
this.saveLoading = false
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -192,7 +192,6 @@
|
|||||||
<ProcessFooter
|
<ProcessFooter
|
||||||
show-transfer
|
show-transfer
|
||||||
show-submit
|
show-submit
|
||||||
:transfer-loading="isTransfer"
|
|
||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
:saveLoading="saveLoading"
|
:saveLoading="saveLoading"
|
||||||
:approval="true"
|
:approval="true"
|
||||||
@@ -323,6 +322,7 @@ export default {
|
|||||||
this.$refs['qbfsForm'].validate((valid) => {
|
this.$refs['qbfsForm'].validate((valid) => {
|
||||||
if(valid){
|
if(valid){
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
|
this.saveLoading = true
|
||||||
this.qbfsForm.commentText = this.commentText
|
this.qbfsForm.commentText = this.commentText
|
||||||
this.qbfsForm.presentPeople = this.$store.getters.userInfo.userName
|
this.qbfsForm.presentPeople = this.$store.getters.userInfo.userName
|
||||||
this.qbfsForm.presentPeopleId = this.$store.getters.userInfo.userId
|
this.qbfsForm.presentPeopleId = this.$store.getters.userInfo.userId
|
||||||
@@ -339,6 +339,7 @@ export default {
|
|||||||
this.$router.push('/processCenter')
|
this.$router.push('/processCenter')
|
||||||
}
|
}
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
|
this.saveLoading = false
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
}else{
|
}else{
|
||||||
@@ -354,8 +355,8 @@ export default {
|
|||||||
},
|
},
|
||||||
//确认转办
|
//确认转办
|
||||||
checkedRoles (data) {
|
checkedRoles (data) {
|
||||||
this.isTransfer = true;
|
|
||||||
this.isSubmit = true;
|
this.isSubmit = true;
|
||||||
|
this.saveLoading = true;
|
||||||
this.assigneeNewLoading = true
|
this.assigneeNewLoading = true
|
||||||
changeAssigneeNew({
|
changeAssigneeNew({
|
||||||
taskId: this.$route.query.taskIds, // 任务id
|
taskId: this.$route.query.taskIds, // 任务id
|
||||||
@@ -363,8 +364,6 @@ export default {
|
|||||||
userId: this.$store.getters.userInfo.userId, // 委托人
|
userId: this.$store.getters.userInfo.userId, // 委托人
|
||||||
pId: this.$route.query.prcId // 流程实例
|
pId: this.$route.query.prcId // 流程实例
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
this.isTransfer = false;
|
|
||||||
this.isSubmit = false;
|
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
@@ -373,6 +372,9 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
}
|
}
|
||||||
|
}).finally(() => {
|
||||||
|
this.saveLoading = false;
|
||||||
|
this.isSubmit = false;
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 请求转换流程图
|
// 请求转换流程图
|
||||||
|
|||||||
@@ -232,7 +232,6 @@
|
|||||||
<ProcessFooter
|
<ProcessFooter
|
||||||
show-transfer
|
show-transfer
|
||||||
show-submit
|
show-submit
|
||||||
:transfer-loading="isTransfer"
|
|
||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
:saveLoading="saveLoading"
|
:saveLoading="saveLoading"
|
||||||
:approval="true"
|
:approval="true"
|
||||||
@@ -366,6 +365,7 @@ export default {
|
|||||||
this.$refs['qbfsForm'].validate((valid) => {
|
this.$refs['qbfsForm'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.isSubmit = true;
|
this.isSubmit = true;
|
||||||
|
this.saveLoading = true;
|
||||||
this.qbfsForm.commentText = this.commentText;
|
this.qbfsForm.commentText = this.commentText;
|
||||||
this.qbfsForm.dataList = this.dataList;
|
this.qbfsForm.dataList = this.dataList;
|
||||||
let json = JSON.stringify(this.qbfsForm);
|
let json = JSON.stringify(this.qbfsForm);
|
||||||
@@ -381,6 +381,7 @@ export default {
|
|||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
this.isSubmit = false;
|
this.isSubmit = false;
|
||||||
|
this.saveLoading = false;
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
}else{
|
}else{
|
||||||
@@ -403,7 +404,7 @@ export default {
|
|||||||
},
|
},
|
||||||
//确认转办
|
//确认转办
|
||||||
checkedRole(data) {
|
checkedRole(data) {
|
||||||
this.isTransfer = true;
|
this.saveLoading = true;
|
||||||
this.isSubmit = true;
|
this.isSubmit = true;
|
||||||
this.assigneeNewLoading = true;
|
this.assigneeNewLoading = true;
|
||||||
changeAssigneeNew({
|
changeAssigneeNew({
|
||||||
@@ -412,8 +413,6 @@ export default {
|
|||||||
userId: this.$store.getters.userInfo.userId, // 委托人
|
userId: this.$store.getters.userInfo.userId, // 委托人
|
||||||
pId: this.$route.query.prcId // 流程实例
|
pId: this.$route.query.prcId // 流程实例
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
this.isTransfer = false;
|
|
||||||
this.isSubmit = false;
|
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.drawerModal = false;
|
this.drawerModal = false;
|
||||||
this.$message.success("调整成功");
|
this.$message.success("调整成功");
|
||||||
@@ -422,7 +421,10 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message);
|
this.$message.warning(res.message);
|
||||||
}
|
}
|
||||||
});
|
}).finally(() => {
|
||||||
|
this.saveLoading = false;
|
||||||
|
this.isSubmit = false;
|
||||||
|
})
|
||||||
},
|
},
|
||||||
// 请求转换流程图
|
// 请求转换流程图
|
||||||
processNum(row) {
|
processNum(row) {
|
||||||
|
|||||||
@@ -234,7 +234,6 @@
|
|||||||
show-transfer
|
show-transfer
|
||||||
show-submit
|
show-submit
|
||||||
show-back
|
show-back
|
||||||
:transfer-loading="isTransfer"
|
|
||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
:saveLoading="saveLoading"
|
:saveLoading="saveLoading"
|
||||||
:isSubmitBack="isSubmit"
|
:isSubmitBack="isSubmit"
|
||||||
@@ -368,6 +367,7 @@ export default {
|
|||||||
this.$message.warning('请填写审批意见')
|
this.$message.warning('请填写审批意见')
|
||||||
}else{
|
}else{
|
||||||
this.isSubmit = true;
|
this.isSubmit = true;
|
||||||
|
this.saveLoading = true;
|
||||||
this.qbfsForm.commentText = this.commentText;
|
this.qbfsForm.commentText = this.commentText;
|
||||||
this.qbfsForm.bzFlag = '1'
|
this.qbfsForm.bzFlag = '1'
|
||||||
this.qbfsForm.dataList = this.dataList;
|
this.qbfsForm.dataList = this.dataList;
|
||||||
@@ -384,6 +384,7 @@ export default {
|
|||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
this.isSubmit = false;
|
this.isSubmit = false;
|
||||||
|
this.saveLoading = false
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -393,7 +394,7 @@ export default {
|
|||||||
this.$refs['qbfsForm'].validate((valid) => {
|
this.$refs['qbfsForm'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.isSubmit = true;
|
this.isSubmit = true;
|
||||||
this.isTransfer = true;
|
this.saveLoading = true;
|
||||||
this.qbfsForm.commentText = this.commentText;
|
this.qbfsForm.commentText = this.commentText;
|
||||||
this.qbfsForm.bzFlag = '0'
|
this.qbfsForm.bzFlag = '0'
|
||||||
this.qbfsForm.dataList = this.dataList;
|
this.qbfsForm.dataList = this.dataList;
|
||||||
@@ -410,7 +411,7 @@ export default {
|
|||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
this.isSubmit = false;
|
this.isSubmit = false;
|
||||||
this.isTransfer = false;
|
this.saveLoading = false;
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
}else{
|
}else{
|
||||||
@@ -433,7 +434,7 @@ export default {
|
|||||||
},
|
},
|
||||||
//确认转办
|
//确认转办
|
||||||
checkedRole(data) {
|
checkedRole(data) {
|
||||||
this.isTransfer = true;
|
this.saveLoading = true;
|
||||||
this.isSubmit = true;
|
this.isSubmit = true;
|
||||||
this.assigneeNewLoading = true;
|
this.assigneeNewLoading = true;
|
||||||
changeAssigneeNew({
|
changeAssigneeNew({
|
||||||
@@ -442,8 +443,6 @@ export default {
|
|||||||
userId: this.$store.getters.userInfo.userId, // 委托人
|
userId: this.$store.getters.userInfo.userId, // 委托人
|
||||||
pId: this.$route.query.prcId // 流程实例
|
pId: this.$route.query.prcId // 流程实例
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
this.isTransfer = false;
|
|
||||||
this.isSubmit = false;
|
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.drawerModal = false;
|
this.drawerModal = false;
|
||||||
this.$message.success("调整成功");
|
this.$message.success("调整成功");
|
||||||
@@ -452,7 +451,10 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message);
|
this.$message.warning(res.message);
|
||||||
}
|
}
|
||||||
});
|
}).finally(() => {
|
||||||
|
this.saveLoading = false;
|
||||||
|
this.isSubmit = false;
|
||||||
|
})
|
||||||
},
|
},
|
||||||
// 请求转换流程图
|
// 请求转换流程图
|
||||||
processNum(row) {
|
processNum(row) {
|
||||||
|
|||||||
@@ -234,7 +234,6 @@
|
|||||||
show-transfer
|
show-transfer
|
||||||
show-submit
|
show-submit
|
||||||
show-back
|
show-back
|
||||||
:transfer-loading="isTransfer"
|
|
||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
:saveLoading="saveLoading"
|
:saveLoading="saveLoading"
|
||||||
:isSubmitBack="isSubmit"
|
:isSubmitBack="isSubmit"
|
||||||
@@ -368,6 +367,7 @@ export default {
|
|||||||
this.$message.warning('请填写审批意见')
|
this.$message.warning('请填写审批意见')
|
||||||
}else{
|
}else{
|
||||||
this.isSubmit = true;
|
this.isSubmit = true;
|
||||||
|
this.saveLoading = true;
|
||||||
this.qbfsForm.commentText = this.commentText;
|
this.qbfsForm.commentText = this.commentText;
|
||||||
this.qbfsForm.sdFlag = '1'
|
this.qbfsForm.sdFlag = '1'
|
||||||
this.qbfsForm.dataList = this.dataList;
|
this.qbfsForm.dataList = this.dataList;
|
||||||
@@ -384,6 +384,7 @@ export default {
|
|||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
this.isSubmit = false;
|
this.isSubmit = false;
|
||||||
|
this.saveLoading = false;
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -393,6 +394,7 @@ export default {
|
|||||||
this.$refs['qbfsForm'].validate((valid) => {
|
this.$refs['qbfsForm'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.isSubmit = true;
|
this.isSubmit = true;
|
||||||
|
this.saveLoading = true;
|
||||||
this.qbfsForm.commentText = this.commentText;
|
this.qbfsForm.commentText = this.commentText;
|
||||||
this.qbfsForm.sdFlag = '0'
|
this.qbfsForm.sdFlag = '0'
|
||||||
this.qbfsForm.dataList = this.dataList;
|
this.qbfsForm.dataList = this.dataList;
|
||||||
@@ -409,6 +411,7 @@ export default {
|
|||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
this.isSubmit = false;
|
this.isSubmit = false;
|
||||||
|
this.saveLoading = false;
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
}else{
|
}else{
|
||||||
@@ -433,6 +436,7 @@ export default {
|
|||||||
checkedRole(data) {
|
checkedRole(data) {
|
||||||
this.isTransfer = true;
|
this.isTransfer = true;
|
||||||
this.isSubmit = true;
|
this.isSubmit = true;
|
||||||
|
this.saveLoading = true;
|
||||||
this.assigneeNewLoading = true;
|
this.assigneeNewLoading = true;
|
||||||
changeAssigneeNew({
|
changeAssigneeNew({
|
||||||
taskId: this.$route.query.taskIds, // 任务id
|
taskId: this.$route.query.taskIds, // 任务id
|
||||||
@@ -450,6 +454,9 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message);
|
this.$message.warning(res.message);
|
||||||
}
|
}
|
||||||
|
}).finally(() => {
|
||||||
|
this.saveLoading = false;
|
||||||
|
this.isSubmit = false;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 请求转换流程图
|
// 请求转换流程图
|
||||||
|
|||||||
@@ -234,7 +234,6 @@
|
|||||||
show-transfer
|
show-transfer
|
||||||
show-submit
|
show-submit
|
||||||
show-back
|
show-back
|
||||||
:transfer-loading="isTransfer"
|
|
||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
:saveLoading="saveLoading"
|
:saveLoading="saveLoading"
|
||||||
:isSubmitBack="isSubmit"
|
:isSubmitBack="isSubmit"
|
||||||
@@ -368,6 +367,7 @@ export default {
|
|||||||
this.$message.warning('请填写审批意见')
|
this.$message.warning('请填写审批意见')
|
||||||
}else{
|
}else{
|
||||||
this.isSubmit = true;
|
this.isSubmit = true;
|
||||||
|
this.saveLoading = true;
|
||||||
this.qbfsForm.commentText = this.commentText;
|
this.qbfsForm.commentText = this.commentText;
|
||||||
this.qbfsForm.bafzFlag = '1'
|
this.qbfsForm.bafzFlag = '1'
|
||||||
this.qbfsForm.dataList = this.dataList;
|
this.qbfsForm.dataList = this.dataList;
|
||||||
@@ -384,6 +384,7 @@ export default {
|
|||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
this.isSubmit = false;
|
this.isSubmit = false;
|
||||||
|
this.saveLoading = false;
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -393,6 +394,7 @@ export default {
|
|||||||
this.$refs['qbfsForm'].validate((valid) => {
|
this.$refs['qbfsForm'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.isSubmit = true;
|
this.isSubmit = true;
|
||||||
|
this.saveLoading = true;
|
||||||
this.qbfsForm.commentText = this.commentText;
|
this.qbfsForm.commentText = this.commentText;
|
||||||
this.qbfsForm.bafzFlag = '0'
|
this.qbfsForm.bafzFlag = '0'
|
||||||
this.qbfsForm.dataList = this.dataList;
|
this.qbfsForm.dataList = this.dataList;
|
||||||
@@ -404,9 +406,14 @@ export default {
|
|||||||
this.$http._getData('lawss/sarBussionessStand/repeal',params,{}).then(res => {
|
this.$http._getData('lawss/sarBussionessStand/repeal',params,{}).then(res => {
|
||||||
if(res && res.ok){
|
if(res && res.ok){
|
||||||
this.completeTask(json)
|
this.completeTask(json)
|
||||||
|
} else {
|
||||||
|
this.isSubmit = false;
|
||||||
|
this.saveLoading = false;
|
||||||
}
|
}
|
||||||
}).catch(e=>{
|
}).catch(e=>{
|
||||||
console.log(e)
|
console.log(e)
|
||||||
|
this.isSubmit = false;
|
||||||
|
this.saveLoading = false;
|
||||||
})
|
})
|
||||||
}else{
|
}else{
|
||||||
this.$message.warning('请完善基础信息')
|
this.$message.warning('请完善基础信息')
|
||||||
@@ -426,6 +433,7 @@ export default {
|
|||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
this.isSubmit = false;
|
this.isSubmit = false;
|
||||||
|
this.saveLoading = false;
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
@@ -445,6 +453,7 @@ export default {
|
|||||||
checkedRole(data) {
|
checkedRole(data) {
|
||||||
this.isTransfer = true;
|
this.isTransfer = true;
|
||||||
this.isSubmit = true;
|
this.isSubmit = true;
|
||||||
|
this.saveLoading = true;
|
||||||
this.assigneeNewLoading = true;
|
this.assigneeNewLoading = true;
|
||||||
changeAssigneeNew({
|
changeAssigneeNew({
|
||||||
taskId: this.$route.query.taskIds, // 任务id
|
taskId: this.$route.query.taskIds, // 任务id
|
||||||
@@ -462,7 +471,10 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message);
|
this.$message.warning(res.message);
|
||||||
}
|
}
|
||||||
});
|
}).finally(()=>{
|
||||||
|
this.saveLoading = false;
|
||||||
|
this.isSubmit = false;
|
||||||
|
})
|
||||||
},
|
},
|
||||||
// 请求转换流程图
|
// 请求转换流程图
|
||||||
processNum(row) {
|
processNum(row) {
|
||||||
|
|||||||
Reference in New Issue
Block a user