|
@@ -15,7 +15,7 @@ import TemplatePage from '@/components/template/template-page-1.vue'
|
|
|
import import_mixin from '@/components/template/import_mixin.js'
|
|
|
import add_callback_mixin from '@/components/template/add_callback_mixin.js'
|
|
|
import Popu from '@/components/template/popu.vue'
|
|
|
-import { getDealerListV2, exportDealerListV2, importCustomerV2 } from '@/api/basic_data/dealer'
|
|
|
+import { getListDaCangV2, exportListDaCangV2 } from '@/api/barcode'
|
|
|
export default {
|
|
|
components: { TemplatePage, Popu },
|
|
|
mixins: [import_mixin, add_callback_mixin],
|
|
@@ -24,14 +24,14 @@ export default {
|
|
|
visible: false,
|
|
|
// 事件组合
|
|
|
optionsEvensGroup: [
|
|
|
- [
|
|
|
- [
|
|
|
- {
|
|
|
- name: '导入',
|
|
|
- render: this.importButton(importCustomerV2)
|
|
|
- }
|
|
|
- ]
|
|
|
- ]
|
|
|
+ // [
|
|
|
+ // [
|
|
|
+ // {
|
|
|
+ // name: '导入',
|
|
|
+ // render: this.importButton(importCustomerV2)
|
|
|
+ // }
|
|
|
+ // ]
|
|
|
+ // ]
|
|
|
],
|
|
|
// 表格属性
|
|
|
tableAttributes: {
|
|
@@ -50,10 +50,10 @@ export default {
|
|
|
// 列表请求函数
|
|
|
getList(...p) {
|
|
|
this.recordSelected = []
|
|
|
- return getDealerListV2(...p)
|
|
|
+ return getListDaCangV2(...p)
|
|
|
},
|
|
|
// 列表导出函数
|
|
|
- exportList: exportDealerListV2,
|
|
|
+ exportList: exportListDaCangV2,
|
|
|
// 表格列解析渲染数据更改
|
|
|
columnParsing(item, defaultData) {
|
|
|
return defaultData
|