You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.2 KiB
42 lines
1.2 KiB
'use strict';
|
|
|
|
import { ApiTable, basicAction } from '$utils'
|
|
|
|
//回款明细表
|
|
export function getReceivedDetail(query) {
|
|
return (dispatch) => basicAction({
|
|
type: "get",
|
|
dispatch: dispatch,
|
|
actionType: "GET_RECEIVED_DETAIL",
|
|
query: query,
|
|
url: `${ApiTable.getReceivedDetail}`,
|
|
msg: { option: "查询回款明细表" },
|
|
reducer: { name: "ReceivedDetail", params: { noClear: true } },
|
|
});
|
|
}
|
|
|
|
//业绩明细表
|
|
export function getAchievementDetail(query) {
|
|
return (dispatch) => basicAction({
|
|
type: "get",
|
|
dispatch: dispatch,
|
|
actionType: "GET_ACHIEVEMENT_DETAIL",
|
|
query: query,
|
|
url: `${ApiTable.getAchievementDetail}`,
|
|
msg: { option: "查询业绩明细表" },
|
|
reducer: { name: "AchievementDetail", params: { noClear: true } },
|
|
});
|
|
}
|
|
|
|
//查询合同明细表
|
|
export function getContractDetail(query) {
|
|
return (dispatch) => basicAction({
|
|
type: "get",
|
|
dispatch: dispatch,
|
|
actionType: "GET_CONTRACT_DETAIL",
|
|
query: query,
|
|
url: `${ApiTable.getContractDetail}`,
|
|
msg: { option: "查询合同明细表" },
|
|
reducer: { name: "ContractDetail", params: { noClear: true } },
|
|
});
|
|
}
|