bklLiudl
2024-07-10 6d5c3dee0d97798f70bf965e48c3a782b3df9e7d
HTML/views/BaseSetting/Unit.html
@@ -109,6 +109,7 @@
            url: url,
            method: 'post',
            where: where,
            parseData: FnParseData,
            contentType: 'application/json',
            headers:{ToKen:$.cookie('token')},
            page: true,
@@ -245,7 +246,7 @@
                     doing = false;
                     synData(IP + "/Basis/DelsUnit", 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秒)
@@ -303,7 +304,7 @@
                           sendData(IP + "/Basis/AddUnit", 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秒)
@@ -404,7 +405,7 @@
                     doing = false;
                     sendData(IP + "/Basis/DelUnit", 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秒)
@@ -462,7 +463,7 @@
                           sendData(IP + "/Basis/EditUnit", param, 'post',
                              function (res) {
                                 console.log(res);
                                 if (res.code == 0) { //成功
                                 if (res.code == 200) { //成功
                                    layer.msg("修改成功", {
                                       icon: 1,
                                       time: 1000 //2秒关闭(如果不配置,默认是3秒)