fix: 删除流程错误处理

approve-sys
tony 3 years ago
parent 2dfc2c4010
commit ce04c12a16

@ -65,7 +65,7 @@ export function updateDeployment(data) {
// 删除流程定义 // 删除流程定义
export function delDeployment(id) { export function delDeployment(id) {
return request({ return request({
url: '/system/deployment/' + id, url: '/flowable/instance/delete/?instanceId=' + id,
method: 'delete' method: 'delete'
}) })
} }

@ -371,7 +371,8 @@ export default {
}, },
/** 删除按钮操作 */ /** 删除按钮操作 */
handleDelete(row) { handleDelete(row) {
const ids = row.id || this.ids; // const ids = row.procInsId || this.ids;//
const ids = row.procInsId;
this.$confirm('是否确认删除流程定义编号为"' + ids + '"的数据项?', "警告", { this.$confirm('是否确认删除流程定义编号为"' + ids + '"的数据项?', "警告", {
confirmButtonText: "确定", confirmButtonText: "确定",
cancelButtonText: "取消", cancelButtonText: "取消",

Loading…
Cancel
Save