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