|
@@ -129,6 +129,8 @@
|
|
|
</s-table>
|
|
|
</a-spin>
|
|
|
</a-card>
|
|
|
+ <!-- 导出提示框 -->
|
|
|
+ <reportModal :visible="showExport" @close="showExport=false"></reportModal>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -141,6 +143,7 @@ import { STable, VSelect } from '@/components'
|
|
|
import subarea from '@/views/common/subarea.js'
|
|
|
import AreaList from '@/views/common/areaList.js'
|
|
|
import dealerSubareaScopeList from '@/views/common/dealerSubareaScopeList.vue'
|
|
|
+import reportModal from '@/views/common/reportModal.vue'
|
|
|
import BizUser from '@/views/common/bizUser.js'
|
|
|
import customerService from '@/views/common/customerService.vue'
|
|
|
// 接口
|
|
@@ -148,12 +151,13 @@ import { reportDealerNewLogList, reportDealerNewLogCount, reportDealerNewLogTitl
|
|
|
export default {
|
|
|
name: 'CustomerCountList',
|
|
|
mixins: [commonMixin],
|
|
|
- components: { STable, VSelect, subarea, AreaList, dealerSubareaScopeList, BizUser, customerService },
|
|
|
+ components: { STable, VSelect, subarea, AreaList, dealerSubareaScopeList, BizUser, customerService, reportModal },
|
|
|
data () {
|
|
|
return {
|
|
|
spinning: false,
|
|
|
disabled: false, // 查询、重置按钮是否可操作
|
|
|
advanced: true, // 高级搜索 展开/关闭
|
|
|
+ showExport: false,
|
|
|
tableHeight: 0, // 表格高度
|
|
|
exportLoading: false, // 导出按钮加载状态
|
|
|
monthVal: [moment().format('YYYY-MM'), moment().format('YYYY-MM')], // 初始化月份值
|
|
@@ -346,6 +350,7 @@ export default {
|
|
|
_this.spinning = true
|
|
|
hdExportExcel(reportDealerNewLogExport, params, '新客户首笔销售统计', function () {
|
|
|
_this.exportLoading = false
|
|
|
+ _this.showExport = true
|
|
|
_this.spinning = false
|
|
|
})
|
|
|
},
|