|
|
@@ -13,11 +13,13 @@
|
|
|
:options="options"
|
|
|
:detailPath="{path:'/clueDetail_private'}"
|
|
|
:specialKey="[{key:'leader',value:'name'}]"
|
|
|
+ :isExport="false"
|
|
|
@listCreate="list"
|
|
|
@listData="listdata"
|
|
|
@checkboxCallBack="checkboxCallBack"
|
|
|
>
|
|
|
- <div slot="titleRight" >
|
|
|
+ <div slot="titleRight">
|
|
|
+ <export_file class="inline-16" :param="param" fileName="线索管理" :columns="tablecols"></export_file>
|
|
|
<distributionSaler type="线索管理" v-if="tool.checkAuth($route.name,'distributionSaler')" @onSuccess="$refs.basicLayout.listData($refs.basicLayout.param.content.pageNumber = 1)" class="inline-16"></distributionSaler>
|
|
|
<changeSite v-if="tool.checkAuth($route.name,'changeSite')" class="inline-16" :selectList="selectList" @onSuccess="$refs.basicLayout.listData($refs.basicLayout.param.content.pageNumber = 1)"></changeSite>
|
|
|
</div>
|
|
|
@@ -110,12 +112,13 @@
|
|
|
import distribution from '@/HManagement/clueManage/clue_public/modules/distribution'
|
|
|
import distributionSaler from '@/HManagement/clueManage/clue_public/modules/distribution_saler.vue'
|
|
|
import changeSite from '@/HManagement/clueManage/clue_private/modules/changeSite.vue'
|
|
|
-import export_excel from '@/components/export_excel/index'
|
|
|
+import export_file from '@/components/export_file/index'
|
|
|
export default {
|
|
|
components:{
|
|
|
distribution,
|
|
|
distributionSaler,
|
|
|
- changeSite
|
|
|
+ changeSite,
|
|
|
+ export_file
|
|
|
},
|
|
|
data () {
|
|
|
return {
|
|
|
@@ -133,7 +136,14 @@ export default {
|
|
|
tradefields:[],
|
|
|
selectList:[],
|
|
|
tagData:[],
|
|
|
- tag:''
|
|
|
+ tag:'',
|
|
|
+ tablecols:[],
|
|
|
+ param:{
|
|
|
+ id:'20221101094302',
|
|
|
+ content:{
|
|
|
+ isExport:0,
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
provide() {
|
|
|
@@ -146,6 +156,9 @@ export default {
|
|
|
this.statusList = res2.data
|
|
|
const res3 = await this.$store.dispatch('optiontypeselect','tradefield')
|
|
|
this.tradefields = res3.data
|
|
|
+ console.log(this.tool.tabelCol(this.$route.name).cluePrivateSalerTable.tablecols)
|
|
|
+ this.tablecols = this.tool.tabelCol(this.$route.name).cluePrivateSalerTable.tablecols
|
|
|
+ console.log(this.tablecols)
|
|
|
this.query_arealist()
|
|
|
this.tagList()
|
|
|
},
|