|
@@ -1373,20 +1373,13 @@ export default {
|
|
|
},
|
|
|
//下一步
|
|
|
next() {
|
|
|
- this.$refs.form.validate((valid) => {
|
|
|
- if (valid) {
|
|
|
- var boId = this.form.id;
|
|
|
- this.$modal.confirm('确定要变更为下一阶段吗?').then(function() {
|
|
|
- return changeNextStage(boId);
|
|
|
- }).then(() => {
|
|
|
- this.$modal.msgSuccess("流程扭转成功");
|
|
|
- this.$emit('reload');
|
|
|
- }).catch(function() {
|
|
|
- });
|
|
|
- } else {
|
|
|
- this.$message.error('请完善表单相关信息!');
|
|
|
- return false;
|
|
|
- }
|
|
|
+ var boId = this.form.id;
|
|
|
+ this.$modal.confirm('确定要变更为下一阶段吗?').then(function() {
|
|
|
+ return changeNextStage(boId);
|
|
|
+ }).then(() => {
|
|
|
+ this.$modal.msgSuccess("流程扭转成功");
|
|
|
+ this.$emit('reload');
|
|
|
+ }).catch(function() {
|
|
|
});
|
|
|
},
|
|
|
//修改按钮
|