|
@@ -13,10 +13,11 @@
|
|
|
:total-records="totalRecords"
|
|
|
@currentChange="pageHandle"
|
|
|
@sizeChange="sizeChange"
|
|
|
- :isAdd="true"
|
|
|
- @add="openPopup"
|
|
|
+
|
|
|
:operationsDefaultLength="6"
|
|
|
/>
|
|
|
+ <!-- :isAdd="true"
|
|
|
+ @add="openPopup" -->
|
|
|
<popup-edit
|
|
|
:isShow="isDtlShow"
|
|
|
:curObj="curObj"
|
|
@@ -50,7 +51,7 @@ export default {
|
|
|
mixins: [baseTable],
|
|
|
data() {
|
|
|
return {
|
|
|
- apiStr: 'user.admcustomerlist',
|
|
|
+ apiStr: 'cust.admreportlist',
|
|
|
searchForm: null,
|
|
|
isDtlShow: false,
|
|
|
curObj: {},
|
|
@@ -71,23 +72,23 @@ export default {
|
|
|
mounted() {
|
|
|
this.listConfig = {
|
|
|
rows: [
|
|
|
+ { label: '报备时间', prop: 'create_at' },
|
|
|
+ { label: '保护期止', prop: 'lock_at' },
|
|
|
+ { label: '报备楼盘', prop: 'estate_name'},
|
|
|
{ label: '电话', prop: 'phone' },
|
|
|
{ label: '姓名', prop: 'name' },
|
|
|
- { label: '最新跟进记录', prop: 'newRecord', fullShow: true, minWidth: 150, align: 'left' },
|
|
|
- { label: '意向等级', prop: 'purpose_level', type: 'flag', flags: arrToObj(this.$dictData.purpose_level ) },
|
|
|
- { label: '客户信息', prop: 'user_info', fullShow: true, minWidth: 150, align: 'left' },
|
|
|
- { label: '购房需求', prop: 'demand', fullShow: true, minWidth: 150, align: 'left' },
|
|
|
- { label: '意向楼盘', prop: 'estate_name', fullShow: true},
|
|
|
- { label: '后续备注', prop: 'purchased', fullShow: true },
|
|
|
- { label: '创建时间', prop: 'create_at' },
|
|
|
+ { label: '性别', prop: 'sex', type: 'tag', tags: arrToObj(this.$dictData.sex), tagTypeObj: {'male': 'primary', 'female': 'danger'} },
|
|
|
+ { label: '客户状态', prop: 'report_state', type: 'tag', tags: arrToObj(this.$dictData.report_state ), tagTypeObj: {'1': 'success', '2': 'warning', '3': 'danger'}},
|
|
|
+ { label: '报备进度', prop: 'report_step', type: 'flag', flags: arrToObj(this.$dictData.report_step ) },
|
|
|
+ { label: '备注', prop: 'remark', fullShow: true },
|
|
|
{ label: '创建人', prop: 'create_by' },
|
|
|
- { label: '操作', width: 190, type: 'handle2', operations:
|
|
|
- [
|
|
|
- { label: '跟进记录', func: this.openQPopup, btnType: 'success' },
|
|
|
- { label: '编辑', func: this.openPopup, btnType: 'primary' },
|
|
|
- { label: '删除', func: this.delHandle, btnType: 'danger' },
|
|
|
- ]
|
|
|
- }
|
|
|
+ // { label: '操作', width: 190, type: 'handle2', operations:
|
|
|
+ // [
|
|
|
+ // { label: '跟进记录', func: this.openQPopup, btnType: 'success' },
|
|
|
+ // { label: '编辑', func: this.openPopup, btnType: 'primary' },
|
|
|
+ // { label: '删除', func: this.delHandle, btnType: 'danger' },
|
|
|
+ // ]
|
|
|
+ // }
|
|
|
]
|
|
|
}
|
|
|
},
|