身份证信息展示bug

This commit is contained in:
caoqianming 2020-12-04 09:32:54 +08:00
parent 304ab8fe26
commit aa28846866
1 changed files with 1 additions and 1 deletions

View File

@ -2786,7 +2786,7 @@ def getuser(req):
total = a.count()
startnum, endnum = fenye(req)
a = a.order_by('userid')[startnum:endnum].values(
'userid', 'empid', 'name', 'ubelongpart__partname', 'ubelongpart__partid', 'username', 'openid')
'userid', 'empid', 'name', 'ubelongpart__partname', 'ubelongpart__partid', 'username', 'openid', 'userprofile__cardnum', 'userprofile__gender')
return HttpResponse(transjson(total, a), content_type="application/json")