修改bug

This commit is contained in:
zhangyichen
2022-04-24 11:06:26 +08:00
parent 990bb32bf8
commit 705d231958
@@ -617,15 +617,15 @@ export default {
}, },
//流程提交 //流程提交
handleSubmit() { handleSubmit() {
if(this.$route.query.prcNum === undefined){ if(this.$route.query.prcNum === undefined || this.$route.query.type == '2'){
this.$refs['qbfsForm'].validate((valid) => { this.$refs['qbfsForm'].validate((valid) => {
if (valid) { if (valid) {
this.$refs['roleForm'].validate((valid) => { this.$refs['roleForm'].validate((valid) => {
if (valid) { if (valid) {
if (this.$route.query.type === 2) { if (this.$route.query.type == '2') {
this.isSubmit = true this.isSubmit = true
this.standardSearch.commentText = this.commentText this.standardSearch.commentText = this.commentText
var json = Object.assign(this.standardSearch, this.roleForm) var json = Object.assign( this.roleForm,this.standardSearch)
this.$http.post('lawss/activiti/completeTaskNew', { this.$http.post('lawss/activiti/completeTaskNew', {
taskIds: this.$route.query.taskIds, taskIds: this.$route.query.taskIds,
userId : this.$store.getters.userInfo.userId, userId : this.$store.getters.userInfo.userId,