|
@@ -1,13 +1,11 @@
|
|
|
<template>
|
|
|
- <header-collapse>
|
|
|
- <base-form slot="content" ref="ruleForm" :data="searchData">
|
|
|
- <div slot="footer">
|
|
|
- <el-button :loading="listLoading" icon="el-icon-search" class="xl-form-btn bgc1" @click="searchHandle">查询</el-button>
|
|
|
- <el-button :loading="listLoading" icon="el-icon-document" class="xl-form-btn bgc2" @click="toExportExcel">导出</el-button>
|
|
|
- <!-- <el-button :loading="listLoading" icon="el-icon-plus" class="xl-form-btn bgc2" @click="addHandle">添加客户</el-button> -->
|
|
|
- </div>
|
|
|
- </base-form>
|
|
|
- </header-collapse>
|
|
|
+ <base-form slot="content" ref="ruleForm" :data="searchData">
|
|
|
+ <div slot="footer">
|
|
|
+ <el-button :loading="listLoading" icon="el-icon-search" class="xl-form-btn bgc1" @click="searchHandle">查询</el-button>
|
|
|
+ <el-button :loading="listLoading" icon="el-icon-document" class="xl-form-btn bgc2" @click="toExportExcel">导出</el-button>
|
|
|
+ <!-- <el-button :loading="listLoading" icon="el-icon-plus" class="xl-form-btn bgc2" @click="addHandle">添加客户</el-button> -->
|
|
|
+ </div>
|
|
|
+ </base-form>
|
|
|
</template>
|
|
|
<script>
|
|
|
export default {
|
|
@@ -24,6 +22,7 @@ export default {
|
|
|
{ label: '成交店员', key: 'deal_clerk' },
|
|
|
{ label: '成交楼盘', key: 'deal_item' },
|
|
|
{ label: '成交类型', key: 'deal_type', type: 'select', options: this.$dictData.trade_deal_type},
|
|
|
+ { label: '审核状态', key: 'check_state', type: 'select', options: this.$dictData.check_state},
|
|
|
{ label: '时间', label2: '开始成交日期', label3: '结束成交日期', key: 'startEndTime', type: 'datePicker'},
|
|
|
{ label: '客户姓名', key: 'customer_name' },
|
|
|
{ label: '客户电话', key: 'customer_phone' },
|
|
@@ -58,7 +57,7 @@ export default {
|
|
|
return
|
|
|
}
|
|
|
const token = window.sessionStorage.getItem('fp_token')
|
|
|
- window.open(`https://api.fangpiaovip.com/adm/trade/export?token=${encodeURIComponent(token)}&start_at=${newForm.start_at}&end_at=${newForm.end_at}`)
|
|
|
+ window.open(`https://api.fangpiaovip.com/adm/trade/export?token=${encodeURIComponent(token)}&start_at=${newForm.start_at}&end_at=${newForm.end_at}&house_type=${newForm.house_type}&deal_clerk=${newForm.deal_clerk}&deal_item=${newForm.deal_item}&deal_type=${newForm.deal_type}`)
|
|
|
}
|
|
|
}
|
|
|
}
|