From 312cd22230809437aae8462d71d3335e6540f78a Mon Sep 17 00:00:00 2001
From: 44323 <443237572@qq.com>
Date: 星期二, 12 十二月 2023 08:54:56 +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 |   39 +++++++++++++++++----------------------
 1 files changed, 17 insertions(+), 22 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..71ead7c 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]
                 }
@@ -171,14 +171,13 @@
         Feng.error("请输入法人身份证地址");
         return;
     }
-    if(type=="ENTERPRISE"){
+    if(bodyType=="ENTERPRISE"){
         if ("" == $("#bName").val() || null == $("#bName").val()){
             Feng.error("请输入受益人姓名");
             return;
-        }if ("" == $("#bPhone").val() || null == $("#bPhone").val()){
-            Feng.error("请输入受益人手机号");
-            return;
-        }if ("" == $("#bAddress").val() || null == $("#bAddress").val()){
+        }
+
+        if ("" == $("#bAddress").val() || null == $("#bAddress").val()){
             Feng.error("请输入受益人身份证地址");
             return;
         }
@@ -341,8 +340,6 @@
 
 TSite.search = function () {
     var queryData = {};
-    queryData['province']  = $("#pCode").val();
-    queryData['city'] =$("#cCode").val();
     queryData['userName'] =$("#name").val();
     queryData['phone'] =$("#phone").val();
     queryData['platform'] =$("#platform").val();
@@ -352,8 +349,6 @@
 };
 
 TSite.resetSearch = function () {
-    $("#pCode").val("");
-    $("#cCode").val("");
     $("#name").val("");
     $("#phone").val("");
     $("#platform").val("");

--
Gitblit v1.7.1