From eaa20cb58afc80e3612fd6e93d6f27e181a027e7 Mon Sep 17 00:00:00 2001 From: puzhibing <393733352@qq.com> Date: 星期五, 07 四月 2023 17:38:29 +0800 Subject: [PATCH] 提交用户端开发版本 --- 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