From 8a66f76e0b0af13ccdba14f1d38eed91139ca124 Mon Sep 17 00:00:00 2001 From: xuhy <3313886187@qq.com> Date: 星期四, 23 三月 2023 11:41:43 +0800 Subject: [PATCH] 处理TODO,导出部分修改 --- management/guns-admin/src/main/webapp/static/modular/system/tAppUser/tAppUser.js | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/management/guns-admin/src/main/webapp/static/modular/system/tAppUser/tAppUser.js b/management/guns-admin/src/main/webapp/static/modular/system/tAppUser/tAppUser.js index f3a2634..2c50279 100644 --- a/management/guns-admin/src/main/webapp/static/modular/system/tAppUser/tAppUser.js +++ b/management/guns-admin/src/main/webapp/static/modular/system/tAppUser/tAppUser.js @@ -28,7 +28,11 @@ } } }, - {title: '头像', field: 'avatar', visible: true, align: 'center', valign: 'middle'}, + {title: '头像', field: 'avatar', visible: true, align: 'center', valign: 'middle', + formatter: function (value, row) { + return '<img src="'+row.avatar+'" style="height: 60px;width: 60px"/>' + } + }, {title: '微信openid', field: 'openid', visible: true, align: 'center', valign: 'middle'}, {title: '微信unionid', field: 'unionid', visible: true, align: 'center', valign: 'middle'}, {title: '紧急联系人', field: 'emergencyContact', visible: true, align: 'center', valign: 'middle'}, @@ -41,6 +45,8 @@ return '<span>正常</span>' }else if (row.status === 2){ return '<span>冻结</span>' + }else if (row.status === 3){ + return '<span>已删除</span>' } } }, @@ -146,7 +152,6 @@ */ TAppUser.updateStatus = function () { var ajax = new $ax(Feng.ctxPath + "/tAppUser/update-status", function (data) { - console.log(111111) Feng.success("修改成功!"); TAppUserInfoDlg.close(); parent.TAppUser.table.refresh(); -- Gitblit v1.7.1