diff --git a/src/views/internaltool/cleanAdvisory/cleanadvisory.data.ts b/src/views/internaltool/cleanAdvisory/cleanadvisory.data.ts index a23b99b..346916b 100644 --- a/src/views/internaltool/cleanAdvisory/cleanadvisory.data.ts +++ b/src/views/internaltool/cleanAdvisory/cleanadvisory.data.ts @@ -38,6 +38,8 @@ export const columns: BasicColumn[] = [ return "员工"; }else if(text == '3'){ return "公司"; + }else if(text == '4'){ + return "供应商"; }else{ return "其他"; } diff --git a/src/views/internaltool/cleanAdvisory/index.vue b/src/views/internaltool/cleanAdvisory/index.vue index 107454a..497fe46 100644 --- a/src/views/internaltool/cleanAdvisory/index.vue +++ b/src/views/internaltool/cleanAdvisory/index.vue @@ -81,29 +81,37 @@ async function handleDelete(record, type) { function getTableAction(record) { return [ { - label: '清除长者入驻', + label: '清除长者', popConfirm: { - title: '是否确认清除入驻', + title: '是否确认清除长者', confirm: handleClean.bind(null, record, '1'), placement: 'topLeft', }, }, { - label: '清除员工入驻', + label: '清除员工', popConfirm: { - title: '是否确认清除入驻', + title: '是否确认清除员工', confirm: handleClean.bind(null, record, '2'), placement: 'topLeft', }, }, { - label: '清除机构入驻', + label: '清除机构', popConfirm: { - title: '是否确认清除入驻', + title: '是否确认清除机构', confirm: handleClean.bind(null, record, '3'), placement: 'topLeft', }, }, + { + label: '清除供应商', + popConfirm: { + title: '是否确认清除供应商', + confirm: handleClean.bind(null, record, '4'), + placement: 'topLeft', + }, + }, { label: '清除所有', popConfirm: {