This commit is contained in:
zhutianqi
2021-12-24 14:05:45 +08:00
parent 8378cdc4c0
commit fe28e0b569
2 changed files with 24 additions and 42 deletions
@@ -774,10 +774,6 @@
this.$refs['Form'].validate((valid) => { this.$refs['Form'].validate((valid) => {
if (valid) { if (valid) {
this.isSubmit = true this.isSubmit = true
this.$http.get('lawss/activiti/startProcess', {
type: '18'
}, {}, res => {
if (res.ok) {
var json = Object.assign(this.rhform, this.roleForm) var json = Object.assign(this.rhform, this.roleForm)
json.commentText = this.commentText json.commentText = this.commentText
json.data1 = this.data1 json.data1 = this.data1
@@ -796,11 +792,6 @@
this.isSubmit = false this.isSubmit = false
} }
}) })
} else {
this.$message.warning('流程启动失败')
this.isSubmit = false
}
})
} else { } else {
return this.$message.warning('请完善人员信息') return this.$message.warning('请完善人员信息')
} }
@@ -752,10 +752,6 @@
this.$refs['Form'].validate((valid) => { this.$refs['Form'].validate((valid) => {
if (valid) { if (valid) {
this.isSubmit = true this.isSubmit = true
this.$http.get('lawss/activiti/startProcess', {
type: '17'
}, {}, res => {
if (res.ok) {
var json = Object.assign(this.rhform, this.roleForm) var json = Object.assign(this.rhform, this.roleForm)
json.commentText = this.commentText json.commentText = this.commentText
json.data1 = this.data1 json.data1 = this.data1
@@ -774,11 +770,6 @@
this.isSubmit = false this.isSubmit = false
} }
}) })
} else {
this.$message.warning('流程启动失败')
this.isSubmit = false
}
})
} else { } else {
return this.$message.warning('请完善人员信息') return this.$message.warning('请完善人员信息')
} }