|
@@ -214,6 +214,7 @@
|
|
methods: {
|
|
methods: {
|
|
changeBusiness () {
|
|
changeBusiness () {
|
|
this.businessId = 'false'
|
|
this.businessId = 'false'
|
|
|
|
+ this.$refs.form.close()
|
|
},
|
|
},
|
|
init () {
|
|
init () {
|
|
this.taskSelectedTab = 'form-first'
|
|
this.taskSelectedTab = 'form-first'
|
|
@@ -291,6 +292,7 @@
|
|
}).then(({data}) => {
|
|
}).then(({data}) => {
|
|
this.$message.success('启动成功')
|
|
this.$message.success('启动成功')
|
|
this.changeBusiness()
|
|
this.changeBusiness()
|
|
|
|
+ this.$refs.form.close()
|
|
this.$store.dispatch('tagsView/delView', {fullPath: this.$route.fullPath})
|
|
this.$store.dispatch('tagsView/delView', {fullPath: this.$route.fullPath})
|
|
if (!this.commonJS.isEmpty(this.$route.query.routePath)) {
|
|
if (!this.commonJS.isEmpty(this.$route.query.routePath)) {
|
|
this.$router.push(this.$route.query.routePath)
|
|
this.$router.push(this.$route.query.routePath)
|
|
@@ -308,6 +310,7 @@
|
|
assignee: this.auditForm.assignee
|
|
assignee: this.auditForm.assignee
|
|
}, (data) => {
|
|
}, (data) => {
|
|
this.changeBusiness()
|
|
this.changeBusiness()
|
|
|
|
+ this.$refs.form.close()
|
|
this.$store.dispatch('tagsView/delView', {fullPath: this.$route.fullPath})
|
|
this.$store.dispatch('tagsView/delView', {fullPath: this.$route.fullPath})
|
|
this.$router.push('/flowable/task/TodoList')
|
|
this.$router.push('/flowable/task/TodoList')
|
|
this.cc(data)
|
|
this.cc(data)
|
|
@@ -383,6 +386,7 @@
|
|
}).then(({data}) => {
|
|
}).then(({data}) => {
|
|
this.$message.success('回退成功')
|
|
this.$message.success('回退成功')
|
|
this.changeBusiness()
|
|
this.changeBusiness()
|
|
|
|
+ this.$refs.form.close()
|
|
this.$store.dispatch('tagsView/delView', {fullPath: this.$route.fullPath})
|
|
this.$store.dispatch('tagsView/delView', {fullPath: this.$route.fullPath})
|
|
var num = this.$route.query.num
|
|
var num = this.$route.query.num
|
|
if (num === '2') {
|
|
if (num === '2') {
|
|
@@ -473,6 +477,7 @@
|
|
}).then(({data}) => {
|
|
}).then(({data}) => {
|
|
this.$message.success('提交成功')
|
|
this.$message.success('提交成功')
|
|
this.changeBusiness()
|
|
this.changeBusiness()
|
|
|
|
+ this.$refs.form.close()
|
|
this.$store.dispatch('tagsView/delView', {fullPath: this.$route.fullPath})
|
|
this.$store.dispatch('tagsView/delView', {fullPath: this.$route.fullPath})
|
|
// this.$router.push('/flowable/task/TodoList')
|
|
// this.$router.push('/flowable/task/TodoList')
|
|
// this.cc(data)
|
|
// this.cc(data)
|
|
@@ -491,6 +496,7 @@
|
|
} else { // 动态表单
|
|
} else { // 动态表单
|
|
this.$refs.form.submitTaskFormData(vars, this.procInsId, this.taskId, this.auditForm.assignee, this.auditForm, (data) => {
|
|
this.$refs.form.submitTaskFormData(vars, this.procInsId, this.taskId, this.auditForm.assignee, this.auditForm, (data) => {
|
|
this.changeBusiness()
|
|
this.changeBusiness()
|
|
|
|
+ this.$refs.form.close()
|
|
this.$store.dispatch('tagsView/delView', {fullPath: this.$route.fullPath})
|
|
this.$store.dispatch('tagsView/delView', {fullPath: this.$route.fullPath})
|
|
// this.$router.push('/flowable/task/TodoList')
|
|
// this.$router.push('/flowable/task/TodoList')
|
|
// this.cc(data)
|
|
// this.cc(data)
|