diff --git a/ghy-admin/src/main/resources/templates/customer/customer.html b/ghy-admin/src/main/resources/templates/customer/customer.html index e68a61bb..4cfb43c6 100644 --- a/ghy-admin/src/main/resources/templates/customer/customer.html +++ b/ghy-admin/src/main/resources/templates/customer/customer.html @@ -125,7 +125,12 @@ }, { field: 'customerLogoUrl', - title: '头像' + title: '头像', + formatter: function(value, row, index) { + var actions = []; + actions.push('消费者头像'); + return actions.join(''); + } }, { visible: editFlag == 'hidden' ? false : true, @@ -146,7 +151,6 @@ formatter: function(value, row, index) { if (row.customerId != 1) { var actions = []; - actions.push("重置密码 "); actions.push('删除 '); return actions.join(''); } else { @@ -169,9 +173,9 @@ /* 用户状态显示 */ function statusTools(row) { if (row.status == 0) { - return ' '; - } else { return ' '; + } else { + return ' '; } } diff --git a/ghy-admin/src/main/resources/templates/worker/worker.html b/ghy-admin/src/main/resources/templates/worker/worker.html index bb63c507..8117e335 100644 --- a/ghy-admin/src/main/resources/templates/worker/worker.html +++ b/ghy-admin/src/main/resources/templates/worker/worker.html @@ -152,7 +152,6 @@ formatter: function(value, row, index) { if (row.workerId != 1) { var actions = []; - actions.push("重置密码 "); actions.push('删除 '); return actions.join(''); } else { @@ -175,9 +174,9 @@ /* 用户状态显示 */ function statusTools(row) { if (row.status == 0) { - return ' '; - } else { return ' '; + } else { + return ' '; } }