|
@@ -111,11 +111,11 @@ export default {
|
|
|
{ label: '到访时间', prop: 'visit_at' },
|
|
|
{ label: '创建时间', prop: 'create_at' },
|
|
|
{ label: '备注', prop: 'remark', fullShow: true },
|
|
|
- { label: '操作', width: 90, type: 'handle2', operations:
|
|
|
+ { label: '操作', width: 150, type: 'handle2', operations:
|
|
|
[
|
|
|
{ label: '报备详情', func: this.openQPopup, btnType: 'primary' },
|
|
|
// { label: '修改状态', func: this.openPopup, btnType: 'warning' },
|
|
|
- // { label: '删除', func: this.delHandle, btnType: 'danger' },
|
|
|
+ { label: '删除', func: this.delHandle, btnType: 'danger' },
|
|
|
]
|
|
|
}
|
|
|
]
|
|
@@ -137,8 +137,8 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
delHandle(row) {
|
|
|
- this.$msg(`您确定要删除该客户吗?`, 'confirm', () => {
|
|
|
- this.$api.user.admcustomerdel({
|
|
|
+ this.$msg(`您确定要删除该报备吗?`, 'confirm', () => {
|
|
|
+ this.$api.cust.admreportdel({
|
|
|
id: row.id
|
|
|
}).then(data => {
|
|
|
this.$msgs(`已删除!`)
|