From f88cfa02e36752e4acad7adc4b045155e8e50f21 Mon Sep 17 00:00:00 2001 From: puzhibing <393733352@qq.com> Date: 星期五, 08 十二月 2023 09:16:29 +0800 Subject: [PATCH] Merge branch 'master' of http://120.76.84.145:10101/gitblit/r/java/PlayPai --- cloud-server-management/src/main/webapp/static/modular/system/operatorUser/operatorUser.js | 26 +++++++++++++------------- 1 files changed, 13 insertions(+), 13 deletions(-) diff --git a/cloud-server-management/src/main/webapp/static/modular/system/operatorUser/operatorUser.js b/cloud-server-management/src/main/webapp/static/modular/system/operatorUser/operatorUser.js index 16b5c64..dfc6764 100644 --- a/cloud-server-management/src/main/webapp/static/modular/system/operatorUser/operatorUser.js +++ b/cloud-server-management/src/main/webapp/static/modular/system/operatorUser/operatorUser.js @@ -27,32 +27,32 @@ {title: '认证平台', field: 'platform', visible: true, align: 'center', valign: 'middle'}, {title: '认证类型', field: 'type', visible: true, align: 'center', valign: 'middle', formatter:function (data) { - if (data==1){ - return "个人" - }else if (data==2){ - return "企业" - }else{ - return "未认证" - } + if (data==1){ + return "个人" + }else if (data==2){ + return "企业" + }else{ + return "未认证" + } } }, {title: '分账比例', field: 'proportion', visible: true, align: 'center', valign: 'middle'}, {title: '审核状态', field: 'audit', visible: true, align: 'center', valign: 'middle', formatter:function (data) { - return {1:"待审核",2:"审核中",3:"已通过",4:"已拒绝"}[data] + return {0:"未认证",1:"审核中",2:"待联系人确认",3:"待法人确认",5:"审核失败",6:"已冻结",7:"已撤回",8:"联系人处理中"}[data] } }, {title: '操作', field: 'audit', visible: true, align: 'center', valign: 'middle', formatter: function (data,row) { var btn = ""; - if(data==1) { + if(data==0) { var str = '<button class="btn btn-outline btn-primary" onclick="TSite.auth('+row.operatorId+')" >去认证</button>' btn = ['<p class="toolTip" style="overflow:hidden;white-space:nowrap;text-overflow:ellipsis;" title="" onfocus="TUser.tooltip()">' + str + '</p>'] - }else if (data==2){ - var str = '<button class="btn btn-outline btn-primary" onclick="TSite.auth('+row.operatorId+')" >详情</button>' - btn = ['<p class="toolTip" style="overflow:hidden;white-space:nowrap;text-overflow:ellipsis;" title="" onfocus="TUser.tooltip()">' + str + '</p>'] - }else if(data==4){ + }else if(data !=4){ + var str = '<button class="btn btn-outline btn-primary" onclick="TSite.auth('+row.operatorId+')" >详情</button>' + btn = ['<p class="toolTip" style="overflow:hidden;white-space:nowrap;text-overflow:ellipsis;" title="" onfocus="TUser.tooltip()">' + str + '</p>'] + } else if(data==4){ var str = '<h3>已绑定</h3>' btn = [str] } -- Gitblit v1.7.1