bklLiudl
2024-07-10 6d5c3dee0d97798f70bf965e48c3a782b3df9e7d
HTML/views/BaseSetting/Customer.html
@@ -133,6 +133,7 @@
               height: 'full-95',
               id: 'LAY-app-content-list',
               where: param,
               parseData: FnParseData,
               contentType: 'application/json',
               headers:{ToKen:$.cookie('token')},
               page: true,
@@ -150,7 +151,7 @@
                     $(".addClass").hide();
                  });
                  sendData(IP + "/Basis/GetRoleRightList", {}, 'get', function(res) {
                     if (res.code == 0) { //成功
                     if (res.code == 200) { //成功
                        for (var k = 0; k < res.data.length; k++) {
                           if (res.data[k].MenuName == "编辑客户") {
                              $(".editClass").show();
@@ -299,7 +300,7 @@
                     };
                     sendData(IP + "/Basis/DelsCustomer", param, 'post', function (res) {
                        console.log(res);
                        if (res.code == 0) { //成功
                        if (res.code == 200) { //成功
                           layer.msg(res.msg, {
                              icon: 1,
                              time: 2000 //2秒关闭(如果不配置,默认是3秒)
@@ -352,7 +353,7 @@
                           sendData(IP + "/Basis/AddCustomer", param, 'post',
                              function (res) {
                                 console.log(res);
                                 if (res.code == 0) { //成功
                                 if (res.code == 200) { //成功
                                    layer.msg(res.msg, {
                                       icon: 1,
                                       time: 2000 //2秒关闭(如果不配置,默认是3秒)
@@ -402,7 +403,7 @@
                     };
                     sendData(IP + "/Basis/DelCustomer", param, 'post', function (res) {
                        console.log(res);
                        if (res.code == 0) { //成功
                        if (res.code == 200) { //成功
                           layer.msg(res.msg, {
                              icon: 1,
                              time: 1000 //2秒关闭(如果不配置,默认是3秒)
@@ -456,7 +457,7 @@
                           sendData(IP + "/Basis/EditCustomer", param, 'post',
                              function (res) {
                                 console.log(res);
                                 if (res.code == 0) { //成功
                                 if (res.code == 200) { //成功
                                    layer.msg(res.msg, {
                                       icon: 1,
                                       time: 1000 //2秒关闭(如果不配置,默认是3秒)