commit
This commit is contained in:
@@ -559,8 +559,16 @@ export default {
|
||||
this.$refs['Form'].validate((valid) => {
|
||||
if (valid) {
|
||||
this.isSubmit = true
|
||||
this.$http.get('lawss/activiti/startProcess', {
|
||||
type: '2'
|
||||
this.$http.get('lawss/activiti/startProcessRollBack', {
|
||||
id: this.bpnId || '',
|
||||
createUser: this.$store.getters.userInfo.userId,
|
||||
createUserName: this.$store.getters.userInfo.userName,
|
||||
type: '2',
|
||||
json: JSON.stringify({
|
||||
form: this.form,
|
||||
roleForm: this.roleForm,
|
||||
commentText: this.commentText
|
||||
})
|
||||
}, {}, res => {
|
||||
if (res.ok) {
|
||||
var json = Object.assign(this.form, this.roleForm)
|
||||
|
||||
@@ -1185,8 +1185,18 @@ export default {
|
||||
this.$message.warning('请选择责任人')
|
||||
} else {
|
||||
this.isSubmit = true
|
||||
this.$http.get('lawss/activiti/startProcess', {
|
||||
type: '9'
|
||||
this.$http.post('lawss/activiti/startProcessRollBack', {
|
||||
id: this.bpnId || '',
|
||||
createUser: this.$store.getters.userInfo.userId,
|
||||
createUserName: this.$store.getters.userInfo.userName,
|
||||
type: '9',
|
||||
json: JSON.stringify({
|
||||
form: this.form,
|
||||
roleForm: this.roleForm,
|
||||
commentText: this.commentText,
|
||||
itemList: this.itemList,
|
||||
sarType: this.sarType
|
||||
})
|
||||
}, {}, res => {
|
||||
if (res.ok) {
|
||||
var json = Object.assign(this.form, this.roleForm)
|
||||
|
||||
@@ -830,7 +830,15 @@ export default {
|
||||
if (valid) {
|
||||
this.isSubmit = true
|
||||
this.$http.get('lawss/activiti/startProcess', {
|
||||
type: '3'
|
||||
id: this.bpnId || '',
|
||||
createUser: this.$store.getters.userInfo.userId,
|
||||
createUserName: this.$store.getters.userInfo.userName,
|
||||
type: '3',
|
||||
json: JSON.stringify({
|
||||
form: this.form,
|
||||
roleForm: this.roleForm,
|
||||
commentText: this.commentText
|
||||
})
|
||||
}, {}, res => {
|
||||
if (res.ok) {
|
||||
var json = Object.assign(this.form, this.roleForm)
|
||||
|
||||
Reference in New Issue
Block a user