|
|
|
@ -139,6 +139,7 @@ |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<script> |
|
|
|
<script> |
|
|
|
import { getRoleUserList } from '@/api/processManagement/taskDispatch'; |
|
|
|
import { getRoleUserList } from '@/api/processManagement/taskDispatch'; |
|
|
|
|
|
|
|
import { projectExecute, projectCheck, projectApprove } from '@/api/flowManagement/index'; |
|
|
|
|
|
|
|
|
|
|
|
export default { |
|
|
|
export default { |
|
|
|
props: { |
|
|
|
props: { |
|
|
|
@ -152,8 +153,8 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
rowItem: { |
|
|
|
rowItem: { |
|
|
|
type: Object, |
|
|
|
type: Object, |
|
|
|
default: () => ({}) |
|
|
|
default: () => ({}), |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
data() { |
|
|
|
data() { |
|
|
|
return { |
|
|
|
return { |
|
|
|
@ -166,7 +167,6 @@ export default { |
|
|
|
evolve: [{ required: true, message: '请填写里程碑进展', trigger: 'blur' }], |
|
|
|
evolve: [{ required: true, message: '请填写里程碑进展', trigger: 'blur' }], |
|
|
|
lastPlan: [{ required: true, message: '请填写下一步计划', trigger: 'blur' }], |
|
|
|
lastPlan: [{ required: true, message: '请填写下一步计划', trigger: 'blur' }], |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
}; |
|
|
|
}; |
|
|
|
}, |
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
mounted() { |
|
|
|
@ -188,7 +188,25 @@ export default { |
|
|
|
submit() { |
|
|
|
submit() { |
|
|
|
this.$refs.executeForm.validate(valid => { |
|
|
|
this.$refs.executeForm.validate(valid => { |
|
|
|
if (valid) { |
|
|
|
if (valid) { |
|
|
|
this.executeDialog = false; |
|
|
|
// this.executeDialog = false; |
|
|
|
|
|
|
|
if (this.title == '执行') { |
|
|
|
|
|
|
|
projectExecute(this.executeForm).then(res => { |
|
|
|
|
|
|
|
this.$message.success('执行成功'); |
|
|
|
|
|
|
|
this.closeDialog(); |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if (this.title == '核查') { |
|
|
|
|
|
|
|
projectCheck(this.executeForm).then(res => { |
|
|
|
|
|
|
|
this.$message.success('执行成功'); |
|
|
|
|
|
|
|
this.closeDialog(); |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if (this.title == '核准') { |
|
|
|
|
|
|
|
projectApprove(this.executeForm).then(res => { |
|
|
|
|
|
|
|
this.$message.success('执行成功'); |
|
|
|
|
|
|
|
this.closeDialog(); |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|