瀏覽代碼

fix:融创参数,数据导出处理

zhangsiya 1 年之前
父節點
當前提交
7f71adb554
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      apps/bigmember_pc/src/views/search/bidding/model/modules/data-export-actions.js

+ 4 - 0
apps/bigmember_pc/src/views/search/bidding/model/modules/data-export-actions.js

@@ -33,6 +33,8 @@ export function dataExportActionsModel () {
     if (!listState.total) return
 
     filterFormatParams.value = FilterHistoryViewModel2AjaxModel.formatAll(filter)
+    const _expand = filter._expand || {}
+    Object.assign(filterFormatParams.value, _expand)
     exportLoading.value = true
     // 查询是否需要弹窗
     const { error_code: code, isPrompt } = await ajaxGetDontPromptAgain()
@@ -98,6 +100,8 @@ export function dataExportActionsModel () {
   function toPayDataExport (config) {
    const { listState, selectCheckboxCount, selectIds, filter } = config
    filterFormatParams.value = FilterHistoryViewModel2AjaxModel.formatAll(filter)
+    const _expand = filter._expand || {}
+    filterFormatParams.value = Object.assign(filterFormatParams.value, _expand)
     // 未登录跳转登录
     if (!isLogin.value) {
       $bus.$emit('bidding:goLogin')