|
|
|
@ -107,9 +107,9 @@
|
|
|
|
|
<a-divider type="vertical" /> |
|
|
|
|
<a href="javascript:void(0);" @click="history(r)" style="color:blue;">审批历史</a> |
|
|
|
|
<a-divider type="vertical" /> |
|
|
|
|
<!-- <a-popconfirm title="确定删除吗?" @confirm="() => remove(r)">--> |
|
|
|
|
<!-- <a href="javascript:void(0);" style="color: red">删除</a>--> |
|
|
|
|
<!-- </a-popconfirm>--> |
|
|
|
|
<a-popconfirm title="确定删除吗?" @confirm="() => removes(r)"> |
|
|
|
|
<a href="javascript:void(0);" style="color: red">删除</a> |
|
|
|
|
</a-popconfirm> |
|
|
|
|
</template> |
|
|
|
|
<template v-else> |
|
|
|
|
<a href="javascript:void(0);" @click="detail(r)" style="color:#999;">表单数据</a> |
|
|
|
@ -199,7 +199,7 @@
|
|
|
|
|
import { activitiMixin } from '@/views/activiti/mixins/activitiMixin' |
|
|
|
|
import { filterObj } from '@/utils/util'; |
|
|
|
|
import JEllipsis from '@/components/jeecg/JEllipsis' |
|
|
|
|
import { deleteAction, getAction,downFile } from '@/api/manage' |
|
|
|
|
import { putAction, getAction,downFile } from '@/api/manage' |
|
|
|
|
import pick from "lodash.pick"; |
|
|
|
|
import JTreeSelect from '@/components/jeecg/JTreeSelect' |
|
|
|
|
import {initDictOptions, filterDictText} from '@/components/dict/JDictSelectUtil' |
|
|
|
@ -314,6 +314,7 @@
|
|
|
|
|
list: "/actBusiness/listData", |
|
|
|
|
getProcessDataList: "/activiti_process/listData", |
|
|
|
|
delByIds:'/actBusiness/delByIds', |
|
|
|
|
removes:'/actBusiness/removes', |
|
|
|
|
getFirstNode:'/actProcessIns/getFirstNode', |
|
|
|
|
applyBusiness:'/actBusiness/apply', |
|
|
|
|
cancelApply:'/actBusiness/cancel', |
|
|
|
@ -515,6 +516,17 @@
|
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
removes(r) { |
|
|
|
|
console.log(r) |
|
|
|
|
putAction(this.url.removes,r).then((res)=>{ |
|
|
|
|
if (res.success){ |
|
|
|
|
this.$message.success(res.message) |
|
|
|
|
this.loadData(); |
|
|
|
|
}else { |
|
|
|
|
this.$message.error(res.message) |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
cancel(v) { |
|
|
|
|
this.cancelForm.id = v.id; |
|
|
|
|
this.cancelForm.procInstId = v.procInstId; |
|
|
|
|