| | |
| | | } |
| | | } |
| | | }, |
| | | {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'}, |
| | |
| | | return '<span>正常</span>' |
| | | }else if (row.status === 2){ |
| | | return '<span>冻结</span>' |
| | | }else if (row.status === 3){ |
| | | return '<span>已删除</span>' |
| | | } |
| | | } |
| | | }, |
| | |
| | | */ |
| | | 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(); |