优化一下
This commit is contained in:
parent
ebddabdc5a
commit
d5859111ed
@ -226,7 +226,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 跳过
|
// 跳过
|
||||||
handleJump () {
|
handleJump () {
|
||||||
if (!this.info) return
|
if (!this.info && !this.$attrs.flowRecordId) return
|
||||||
console.log('item: ', this.info)
|
console.log('item: ', this.info)
|
||||||
this.$confirm('确认跳过该人员?', '提示', {
|
this.$confirm('确认跳过该人员?', '提示', {
|
||||||
confirmButtonText: '确定',
|
confirmButtonText: '确定',
|
||||||
@ -235,6 +235,7 @@ export default {
|
|||||||
}).then(async () => {
|
}).then(async () => {
|
||||||
const obj = {status: 4, menuName: '跳过了'}
|
const obj = {status: 4, menuName: '跳过了'}
|
||||||
if (this.info) obj.flowRecordId = this.info.flowRecordId
|
if (this.info) obj.flowRecordId = this.info.flowRecordId
|
||||||
|
if (this.$attrs.flowRecordId) obj.flowRecordId = this.$attrs.flowRecordId
|
||||||
const params = Object.assign({}, this.form, {resultRecordId: this.$route.query.id || ''}, obj)
|
const params = Object.assign({}, this.form, {resultRecordId: this.$route.query.id || ''}, obj)
|
||||||
this.$loadingStart()
|
this.$loadingStart()
|
||||||
let res = await apiSaveapproval(params)
|
let res = await apiSaveapproval(params)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user