|
@@ -1,4 +1,4 @@
|
|
|
-import { api_DownloadCompanyProfit, api_FangCangMoneyReportdownload, api_UserBalance, api_UserMoneyDetail, api_XiKeMoneyReportdownload, api_YingChiMoneyReportdownload } from '@/api/usermoneysum/apiUserMoneySum';
|
|
|
+import { api_DownloadCompanyProfit, api_FangCangMoneyReportdownload, api_jianAiMoneyReportdownload, api_UserBalance, api_UserMoneyDetail, api_XiKeMoneyReportdownload, api_YingChiMoneyReportdownload } from '@/api/usermoneysum/apiUserMoneySum';
|
|
|
import { UserMoneyDetailParam } from '@/api/usermoneysum/apiUserMoneySumModel';
|
|
|
import { ActionOptions } from '@/components/DropDownButtons/type';
|
|
|
import { BasicTableProps } from '@/components/VxeTable';
|
|
@@ -159,6 +159,12 @@ function userMoneySumDetailList(usermoneyGridOptions: BasicTableProps) {
|
|
|
const { templateLoading: FangCangLoading, hanleOpenDownload: downloadFangCang } = useApiDownTemplate(api_FangCangMoneyReportdownload)
|
|
|
// 分公司利润报表
|
|
|
const { templateLoading: BranchProfitLoading, hanleOpenDownload: downloadBranchProfit } = useApiDownTemplate(api_DownloadCompanyProfit)
|
|
|
+
|
|
|
+ // 简爱
|
|
|
+ const { templateLoading: JianAiLoading, hanleOpenDownload: downloadJianAi } = useApiDownTemplate(api_jianAiMoneyReportdownload)
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
const downLonading = computed(() => {
|
|
|
return XiKeLoading.value || YingChiLoading.value || FangCangLoading.value || BranchProfitLoading.value
|
|
|
})
|
|
@@ -295,7 +301,13 @@ function userMoneySumDetailList(usermoneyGridOptions: BasicTableProps) {
|
|
|
} else if (dealData.reportType >= 5 && dealData.reportType <= 6) {
|
|
|
// 方仓相同模版
|
|
|
downloadFangCang(params)
|
|
|
- } else {
|
|
|
+ } else if(dealData.reportType == 9)
|
|
|
+ {
|
|
|
+ // 简爱模板
|
|
|
+ downloadJianAi(params);
|
|
|
+ }
|
|
|
+
|
|
|
+ else {
|
|
|
// 英驰相同模版
|
|
|
downloadYingChi(params)
|
|
|
}
|