fix
This commit is contained in:
parent
9da9a7e283
commit
e62ab544c7
|
|
@ -42,7 +42,6 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import Doc from './doc.vue'
|
import Doc from './doc.vue'
|
||||||
import { isTaskCreater } from '@/api'
|
|
||||||
import ExternalUnitList from '../components/ExternalUnitList.vue'
|
import ExternalUnitList from '../components/ExternalUnitList.vue'
|
||||||
import {
|
import {
|
||||||
eOtIlldisdetailRemoveTaskList,
|
eOtIlldisdetailRemoveTaskList,
|
||||||
|
|
@ -460,17 +459,12 @@ export default {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
cancel(row) {
|
cancel(row) {
|
||||||
const bizSeqNo = row.bizseqid || row.outBizseq
|
|
||||||
const tasklistid = row.tasklistid
|
const tasklistid = row.tasklistid
|
||||||
const busname = row.busname || row.entname
|
const busname = row.busname || row.entname
|
||||||
if (!tasklistid) {
|
if (!tasklistid) {
|
||||||
this.$message.warning('该记录无法作废')
|
this.$message.warning('该记录无法作废')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
isTaskCreater({
|
|
||||||
bizSeqNo: bizSeqNo
|
|
||||||
}).then((data) => {
|
|
||||||
if (data) {
|
|
||||||
this.$confirm('是否确定删除该业务', '提示', {
|
this.$confirm('是否确定删除该业务', '提示', {
|
||||||
type: 'info',
|
type: 'info',
|
||||||
customClass: 'type-1',
|
customClass: 'type-1',
|
||||||
|
|
@ -488,10 +482,6 @@ export default {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else {
|
|
||||||
this.$message.warning(`当前用户不是该业务的发起人,无法删除该业务`)
|
|
||||||
}
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue