|
@@ -67,19 +67,19 @@ export default {
|
|
|
{ label: '微信头像', prop: 'avatar', type: 'img' },
|
|
|
{ label: '微信电话', prop: 'phone' },
|
|
|
{ label: '更新时间', prop: 'update_at' },
|
|
|
- // { label: '操作', width: 200, type: 'handle2', operations:
|
|
|
- // [
|
|
|
- // { label: '编辑', func: this.openPopup, btnType: 'primary' },
|
|
|
- // { label: '删除', func: this.delHandle, btnType: 'danger' },
|
|
|
- // ]
|
|
|
- // }
|
|
|
+ { label: '操作', width: 100, type: 'handle2', operations:
|
|
|
+ [
|
|
|
+ // { label: '编辑', func: this.openPopup, btnType: 'primary' },
|
|
|
+ { label: '删除', func: this.delHandle, btnType: 'danger' },
|
|
|
+ ]
|
|
|
+ }
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
delHandle(row) {
|
|
|
this.$msg(`您确定要删除该规则吗?`, 'confirm', () => {
|
|
|
- this.$api.user.admintegralruledel({
|
|
|
+ this.$api.user.admsaleuserdel({
|
|
|
id: row.id
|
|
|
}).then(data => {
|
|
|
this.$msgs(`已删除!`)
|