mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-08-10 20:39:48 +08:00
Fixed error with document action request for documents (#481)
This commit is contained in:
parent
0079502942
commit
8d4f2a361f
@ -53,25 +53,3 @@ export function requestLisDashboards({ roleUuid, pageToken, pageSize }) {
|
||||
pageSize
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* Request Document Status List
|
||||
* @param {string} tableName
|
||||
* @param {number} recordId
|
||||
* @param {string} recordUuid
|
||||
* @param {string} documentStatus
|
||||
* @param {string} documentAction
|
||||
* @param {number} pageSize
|
||||
* @param {string} pageToken
|
||||
*/
|
||||
export function requestListDocumentStatuses({ tableName, recordId, recordUuid, documentStatus, documentAction, pageSize, pageToken }) {
|
||||
return Instance.call(this).requestListDocumentStatuses({
|
||||
tableName,
|
||||
recordId,
|
||||
recordUuid,
|
||||
documentStatus,
|
||||
documentAction,
|
||||
pageSize,
|
||||
pageToken
|
||||
})
|
||||
}
|
||||
|
@ -97,3 +97,38 @@ export function requestCreateChatEntry({ tableName, recordId, comment }) {
|
||||
comment
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* Request Document Status List
|
||||
* @param {string} tableName
|
||||
* @param {number} recordId
|
||||
* @param {string} recordUuid
|
||||
* @param {string} documentStatus
|
||||
* @param {string} documentAction
|
||||
* @param {number} pageSize
|
||||
* @param {string} pageToken
|
||||
*/
|
||||
export function requestListDocumentStatuses({ tableName, recordId, recordUuid, documentStatus, documentAction, pageSize, pageToken }) {
|
||||
return Instance.call(this).requestListDocumentStatuses({
|
||||
tableName,
|
||||
recordId,
|
||||
recordUuid,
|
||||
documentStatus,
|
||||
documentAction,
|
||||
pageSize,
|
||||
pageToken
|
||||
})
|
||||
}
|
||||
|
||||
// Request a document action list from current status of document
|
||||
export function requestListDocumentActions({ tableName, recordId, recordUuid, documentStatus, documentAction, pageSize, pageToken }) {
|
||||
return Instance.call(this).requestListDocumentActions({
|
||||
tableName,
|
||||
recordId,
|
||||
recordUuid,
|
||||
documentStatus,
|
||||
documentAction,
|
||||
pageSize,
|
||||
pageToken
|
||||
})
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { recursiveTreeSearch } from '@/utils/ADempiere/valueUtils.js'
|
||||
import { requestListDocumentActions, requestListDocumentStatuses } from '@/api/ADempiere/dashboard/dashboard'
|
||||
import { requestListDocumentActions, requestListDocumentStatuses } from '@/api/ADempiere/window'
|
||||
|
||||
// Store used for set all related to context menu
|
||||
// for Window, Process, Smart Browser andother customized component
|
||||
|
Loading…
x
Reference in New Issue
Block a user