重点流程 第一步 限制必须调取标准/政策
This commit is contained in:
@@ -708,50 +708,55 @@ export default {
|
|||||||
},
|
},
|
||||||
//提交事件
|
//提交事件
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
this.$refs['zdrzbzORzchgxxmscForm'].validate((valid) => {
|
if (this.infoTableDatas.length>0){
|
||||||
if (valid) {
|
this.$refs['zdrzbzORzchgxxmscForm'].validate((valid) => {
|
||||||
this.$refs['Form'].validate((valid) => {
|
if (valid) {
|
||||||
if (valid) {
|
this.$refs['Form'].validate((valid) => {
|
||||||
this.isSubmit = true
|
if (valid) {
|
||||||
let infoTableDatas = []
|
this.isSubmit = true
|
||||||
infoTableDatas = JSON.stringify(this.infoTableDatas)
|
let infoTableDatas = []
|
||||||
localStorage.setItem('infoTableDatas', JSON.stringify(this.infoTableDatas))
|
infoTableDatas = JSON.stringify(this.infoTableDatas)
|
||||||
this.$http.get('lawss/activiti/startProcess', {
|
localStorage.setItem('infoTableDatas', JSON.stringify(this.infoTableDatas))
|
||||||
type: 'laws3',
|
this.$http.get('lawss/activiti/startProcess', {
|
||||||
}, {_this: this}, res => {
|
type: 'laws3',
|
||||||
if (res.ok) {
|
}, {_this: this}, res => {
|
||||||
var json = Object.assign(this.form, this.roleForm)
|
if (res.ok) {
|
||||||
json.commentText = this.commentText
|
var json = Object.assign(this.form, this.roleForm)
|
||||||
// json.filesId = this.addFjList
|
json.commentText = this.commentText
|
||||||
// json.filesName = this.form.fjListName
|
// json.filesId = this.addFjList
|
||||||
json.infoTableDatas = infoTableDatas
|
// json.filesName = this.form.fjListName
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
json.infoTableDatas = infoTableDatas
|
||||||
json: JSON.stringify(json),
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
taskId: res.data,
|
json: JSON.stringify(json),
|
||||||
userId: this.$store.getters.userInfo.userId
|
taskId: res.data,
|
||||||
}, {_this: this}, res => {
|
userId: this.$store.getters.userInfo.userId
|
||||||
if (res.success) {
|
}, {_this: this}, res => {
|
||||||
this.$message.success('流程发起成功')
|
if (res.success) {
|
||||||
this.$router.push('/processCenter')
|
this.$message.success('流程发起成功')
|
||||||
this.isSubmit = false
|
this.$router.push('/processCenter')
|
||||||
} else {
|
this.isSubmit = false
|
||||||
this.$message.warning('流程启动失败')
|
} else {
|
||||||
this.isSubmit = false
|
this.$message.warning('流程启动失败')
|
||||||
}
|
this.isSubmit = false
|
||||||
})
|
}
|
||||||
} else {
|
})
|
||||||
this.$message.warning('流程启动失败')
|
} else {
|
||||||
this.isSubmit = false
|
this.$message.warning('流程启动失败')
|
||||||
}
|
this.isSubmit = false
|
||||||
})
|
}
|
||||||
} else {
|
})
|
||||||
return this.$message.warning('请完善人员信息')
|
} else {
|
||||||
}
|
return this.$message.warning('请完善人员信息')
|
||||||
})
|
}
|
||||||
} else {
|
})
|
||||||
return this.$message.warning('请完善基础信息')
|
} else {
|
||||||
}
|
return this.$message.warning('请完善基础信息')
|
||||||
})
|
}
|
||||||
|
})
|
||||||
|
}else {
|
||||||
|
this.$message.warning('请完善基础信息')
|
||||||
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user