commit
This commit is contained in:
@@ -559,8 +559,16 @@ export default {
|
|||||||
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', {
|
this.$http.get('lawss/activiti/startProcessRollBack', {
|
||||||
type: '2'
|
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 => {
|
}, {}, res => {
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
var json = Object.assign(this.form, this.roleForm)
|
var json = Object.assign(this.form, this.roleForm)
|
||||||
|
|||||||
@@ -1185,8 +1185,18 @@ export default {
|
|||||||
this.$message.warning('请选择责任人')
|
this.$message.warning('请选择责任人')
|
||||||
} else {
|
} else {
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
this.$http.get('lawss/activiti/startProcess', {
|
this.$http.post('lawss/activiti/startProcessRollBack', {
|
||||||
type: '9'
|
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 => {
|
}, {}, res => {
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
var json = Object.assign(this.form, this.roleForm)
|
var json = Object.assign(this.form, this.roleForm)
|
||||||
|
|||||||
@@ -830,7 +830,15 @@ export default {
|
|||||||
if (valid) {
|
if (valid) {
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
this.$http.get('lawss/activiti/startProcess', {
|
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 => {
|
}, {}, res => {
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
var json = Object.assign(this.form, this.roleForm)
|
var json = Object.assign(this.form, this.roleForm)
|
||||||
|
|||||||
Reference in New Issue
Block a user