From 6d5c3dee0d97798f70bf965e48c3a782b3df9e7d Mon Sep 17 00:00:00 2001 From: bklLiudl <673013083@qq.com> Date: 星期三, 10 七月 2024 10:48:25 +0800 Subject: [PATCH] Merge branch 'hwh' into Liudl --- HTML/views/BaseSetting/Customer.html | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/HTML/views/BaseSetting/Customer.html b/HTML/views/BaseSetting/Customer.html index 2adf509..aad7852 100644 --- a/HTML/views/BaseSetting/Customer.html +++ b/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, @@ -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绉掞級 -- Gitblit v1.8.0