custom/金华交投
This commit is contained in:
parent
53d68431df
commit
709d9dd974
|
|
@ -218,8 +218,8 @@ export const exportComparisonResult = (salaryAcctRecordId) => {
|
|||
};
|
||||
|
||||
// 核算进度条
|
||||
export const getCalculateProgress = (id) => {
|
||||
return WeaTools.callApi("/api/bs/hrmsalary/progress/getRate?cacheKey=ACCT_PROGRESS_" + id, "get", {});
|
||||
export const getCalculateProgress = (id = "", paymentOrganization = "") => {
|
||||
return WeaTools.callApi(`/api/bs/hrmsalary/progress/getRate?cacheKey=ACCT_PROGRESS_${id}_${paymentOrganization}`, "get", {});
|
||||
};
|
||||
|
||||
// 核算进度条
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ class StandingBook extends Component {
|
|||
progressVisible: true
|
||||
}, () => {
|
||||
this.timer = setInterval(() => {
|
||||
getCalculateProgress(moment(billMonth).format("YYYY-MM")).then(({ status, data }) => {
|
||||
getCalculateProgress(moment(billMonth).format("YYYY-MM"), payload.paymentOrganization).then(({ status, data }) => {
|
||||
if (status) {
|
||||
if (!data.status) {
|
||||
clearInterval(this.timer);
|
||||
|
|
|
|||
|
|
@ -359,7 +359,7 @@ export default class NormalIndex extends Component {
|
|||
progressVisible: true
|
||||
}, () => {
|
||||
this.timer = setInterval(() => {
|
||||
getCalculateProgress(billMonth).then(({ status, data }) => {
|
||||
getCalculateProgress(billMonth, paymentOrganization).then(({ status, data }) => {
|
||||
if (status) {
|
||||
if (!data.status) {
|
||||
clearInterval(this.timer);
|
||||
|
|
|
|||
Loading…
Reference in New Issue