diff --git a/ruoyi-admin/src/main/resources/templates/erp/ctc/ctc.html b/ruoyi-admin/src/main/resources/templates/erp/ctc/ctc.html index 9b3d8236..568c4cd7 100644 --- a/ruoyi-admin/src/main/resources/templates/erp/ctc/ctc.html +++ b/ruoyi-admin/src/main/resources/templates/erp/ctc/ctc.html @@ -54,7 +54,7 @@ 删除 --> - + 导出 @@ -182,14 +182,10 @@ align: 'center', formatter: function(value, row, index) { var actions = []; - actions.push('编辑 '); - actions.push('删除 '); - if(row.delFlag == '0'){ - actions.push('作废 '); - }else{ - actions.push('恢复 '); - } - return actions.join(''); + actions.push('编辑 '); + actions.push('删除 '); + var actionLinks = actions.join(''); + return $.table.dropdownToggle(actionLinks); } }] }; diff --git a/ruoyi-admin/src/main/resources/templates/erp/utb/utb.html b/ruoyi-admin/src/main/resources/templates/erp/utb/utb.html index 63f5bcf2..bd3577ce 100644 --- a/ruoyi-admin/src/main/resources/templates/erp/utb/utb.html +++ b/ruoyi-admin/src/main/resources/templates/erp/utb/utb.html @@ -142,14 +142,10 @@ align: 'center', formatter: function(value, row, index) { var actions = []; - actions.push('编辑 '); - actions.push('删除 '); - if(row.delFlag == '0'){ - actions.push('作废 '); - }else{ - actions.push('恢复 '); - } - return actions.join(''); + actions.push('编辑 '); + actions.push('删除 '); + var actionLinks = actions.join(''); + return $.table.dropdownToggle(actionLinks); } }] }; diff --git a/ruoyi-admin/src/main/resources/templates/system/technicalMerits/technicalMerits.html b/ruoyi-admin/src/main/resources/templates/system/technicalMerits/technicalMerits.html index d793d22c..1f91d54e 100644 --- a/ruoyi-admin/src/main/resources/templates/system/technicalMerits/technicalMerits.html +++ b/ruoyi-admin/src/main/resources/templates/system/technicalMerits/technicalMerits.html @@ -40,10 +40,10 @@ 添加 - + 导入已发放绩效 - + 导出 @@ -151,9 +151,10 @@ {title: '操作',align: 'center', formatter: function(value, row, index) { var actions = []; - actions.push('发放绩效 '); - actions.push('详情 '); - return actions.join(''); + actions.push('发放绩效 '); + actions.push('详情 '); + var actionLinks = actions.join(''); + return $.table.dropdownToggle(actionLinks); } }] }; diff --git a/ruoyi-admin/src/main/resources/templates/system/technicalTeam/technicalTeam.html b/ruoyi-admin/src/main/resources/templates/system/technicalTeam/technicalTeam.html index 09be6cbd..18223939 100644 --- a/ruoyi-admin/src/main/resources/templates/system/technicalTeam/technicalTeam.html +++ b/ruoyi-admin/src/main/resources/templates/system/technicalTeam/technicalTeam.html @@ -115,9 +115,10 @@ align: 'center', formatter: function(value, row, index) { var actions = []; - actions.push('编辑 '); - actions.push('详情 '); - return actions.join(''); + actions.push('编辑 '); + actions.push('详情 '); + var actionLinks = actions.join(''); + return $.table.dropdownToggle(actionLinks); } } ]