|
@@ -49,7 +49,8 @@ import {
|
|
|
workerTeamAdd,
|
|
|
workerTeamUpdate,
|
|
|
workerTeamImport,
|
|
|
- workerTeamQueryWebsitWorker
|
|
|
+ workerTeamQueryWebsitWorker,
|
|
|
+ workerTeamDel
|
|
|
} from '@/api/masterGroup.js'
|
|
|
import { commonTemplateDownload } from '@/api/common.js'
|
|
|
import { getWebsit } from '@/api/customerManagement.js'
|
|
@@ -283,6 +284,18 @@ export default {
|
|
|
click: ({ row, index, column }) => {
|
|
|
this.openDetailForm(row)
|
|
|
}
|
|
|
+ },
|
|
|
+ del: {
|
|
|
+ prompt: '是否确定删除?',
|
|
|
+ click: ({ row, index, column }) => {
|
|
|
+ workerTeamDel([row.id]).then(res => {
|
|
|
+ this.$refs.pageRef.refreshList()
|
|
|
+ this.$message({
|
|
|
+ type: 'success',
|
|
|
+ message: '删除成功'
|
|
|
+ })
|
|
|
+ })
|
|
|
+ }
|
|
|
}
|
|
|
})
|
|
|
},
|