|
@@ -3,7 +3,7 @@ import request from '@/utils/request'
|
|
|
// 创建流程
|
|
// 创建流程
|
|
|
export function create(data) {
|
|
export function create(data) {
|
|
|
return request({
|
|
return request({
|
|
|
- url: '/bpm/oa-renewal/commit',
|
|
|
|
|
|
|
+ url: '/bpm/oa-renew/commit',
|
|
|
method: 'post',
|
|
method: 'post',
|
|
|
data: data
|
|
data: data
|
|
|
})
|
|
})
|
|
@@ -11,7 +11,7 @@ export function create(data) {
|
|
|
//驳回或撤回后再次提交通用用事项审批流程信息
|
|
//驳回或撤回后再次提交通用用事项审批流程信息
|
|
|
export function reCommit(data) {
|
|
export function reCommit(data) {
|
|
|
return request({
|
|
return request({
|
|
|
- url: '/bpm/oa-renewal/reCommit',
|
|
|
|
|
|
|
+ url: '/bpm/oa-renew/reCommit',
|
|
|
method: 'post',
|
|
method: 'post',
|
|
|
data: data
|
|
data: data
|
|
|
})
|
|
})
|
|
@@ -19,7 +19,7 @@ export function reCommit(data) {
|
|
|
// 暂存数据保存
|
|
// 暂存数据保存
|
|
|
export function save(data) {
|
|
export function save(data) {
|
|
|
return request({
|
|
return request({
|
|
|
- url: '/bpm/oa-renewal/staging',
|
|
|
|
|
|
|
+ url: '/bpm/oa-renew/staging',
|
|
|
method: 'post',
|
|
method: 'post',
|
|
|
data: data
|
|
data: data
|
|
|
})
|
|
})
|
|
@@ -27,7 +27,7 @@ export function save(data) {
|
|
|
// 暂存数据删除
|
|
// 暂存数据删除
|
|
|
export function deleteById(id) {
|
|
export function deleteById(id) {
|
|
|
return request({
|
|
return request({
|
|
|
- url: 'bpm/oa-renewal/delete?id=' + id,
|
|
|
|
|
|
|
+ url: 'bpm/oa-renew/delete?id=' + id,
|
|
|
method: 'delete'
|
|
method: 'delete'
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
@@ -35,7 +35,7 @@ export function deleteById(id) {
|
|
|
// 关闭审批流程信息
|
|
// 关闭审批流程信息
|
|
|
export function closeById(id) {
|
|
export function closeById(id) {
|
|
|
return request({
|
|
return request({
|
|
|
- url: '/bpm/oa-renewal/close?id=' + id,
|
|
|
|
|
|
|
+ url: '/bpm/oa-renew/close?id=' + id,
|
|
|
method: 'delete'
|
|
method: 'delete'
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
@@ -43,7 +43,7 @@ export function closeById(id) {
|
|
|
// 获得详情
|
|
// 获得详情
|
|
|
export function getDetail(id) {
|
|
export function getDetail(id) {
|
|
|
return request({
|
|
return request({
|
|
|
- url: '/bpm/oa-renewal/get?id=' + id,
|
|
|
|
|
|
|
+ url: '/bpm/oa-renew/get?id=' + id,
|
|
|
method: 'get'
|
|
method: 'get'
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
@@ -51,7 +51,7 @@ export function getDetail(id) {
|
|
|
// 获得列表
|
|
// 获得列表
|
|
|
export function getListData(query) {
|
|
export function getListData(query) {
|
|
|
return request({
|
|
return request({
|
|
|
- url: '/bpm/oa-renewal/page',
|
|
|
|
|
|
|
+ url: '/bpm/oa-renew/page',
|
|
|
method: 'get',
|
|
method: 'get',
|
|
|
params: query
|
|
params: query
|
|
|
})
|
|
})
|
|
@@ -59,7 +59,7 @@ export function getListData(query) {
|
|
|
// 导出列表
|
|
// 导出列表
|
|
|
export function exportList(query) {
|
|
export function exportList(query) {
|
|
|
return request({
|
|
return request({
|
|
|
- url: '/bpm/oa-renewal/export-excel',
|
|
|
|
|
|
|
+ url: '/bpm/oa-renew/export-excel',
|
|
|
method: 'get',
|
|
method: 'get',
|
|
|
params: query,
|
|
params: query,
|
|
|
responseType: 'blob'
|
|
responseType: 'blob'
|
|
@@ -69,7 +69,7 @@ export function exportList(query) {
|
|
|
//审批同意通用事项审批流程信息
|
|
//审批同意通用事项审批流程信息
|
|
|
export function agree(data) {
|
|
export function agree(data) {
|
|
|
return request({
|
|
return request({
|
|
|
- url: '/bpm/oa-renewal/agree',
|
|
|
|
|
|
|
+ url: '/bpm/oa-renew/agree',
|
|
|
method: 'post',
|
|
method: 'post',
|
|
|
data: data
|
|
data: data
|
|
|
})
|
|
})
|
|
@@ -78,7 +78,7 @@ export function agree(data) {
|
|
|
//驳回通用事项审批流程信息
|
|
//驳回通用事项审批流程信息
|
|
|
export function disagree(data) {
|
|
export function disagree(data) {
|
|
|
return request({
|
|
return request({
|
|
|
- url: '/bpm/oa-renewal/disagree',
|
|
|
|
|
|
|
+ url: '/bpm/oa-renew/disagree',
|
|
|
method: 'post',
|
|
method: 'post',
|
|
|
data: data
|
|
data: data
|
|
|
})
|
|
})
|
|
@@ -87,7 +87,7 @@ export function disagree(data) {
|
|
|
//撤回通用事项审批流程信息
|
|
//撤回通用事项审批流程信息
|
|
|
export function revocation(data) {
|
|
export function revocation(data) {
|
|
|
return request({
|
|
return request({
|
|
|
- url: '/bpm/oa-renewal/revocation',
|
|
|
|
|
|
|
+ url: '/bpm/oa-renew/revocation',
|
|
|
method: 'post',
|
|
method: 'post',
|
|
|
data: data
|
|
data: data
|
|
|
})
|
|
})
|