From e9880d27955ffc17915c9125b11c9d8b12027c2d Mon Sep 17 00:00:00 2001
From: hwh <332078369@qq.com>
Date: 星期三, 10 七月 2024 10:54:26 +0800
Subject: [PATCH] 打印
---
HTML/views/SystemSettings/Interface.html | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/HTML/views/SystemSettings/Interface.html b/HTML/views/SystemSettings/Interface.html
index 216ca22..d9365a3 100644
--- a/HTML/views/SystemSettings/Interface.html
+++ b/HTML/views/SystemSettings/Interface.html
@@ -165,6 +165,7 @@
height: h1,
id: 'LAY-app-content-list',
where: param,
+ parseData: FnParseData,
contentType: 'application/json',
headers:{ToKen:$.cookie('token')},
page: true,
@@ -295,6 +296,7 @@
height: h2,
id: 'LAY-app-content-list2',
where: param,
+ parseData: FnParseData,
contentType: 'application/json',
toolbar:'',
defaultToolbar: '', //'print', 'exports'
@@ -460,7 +462,7 @@
InterfaceNo:data.InterfaceNo,
};
sendData(IP + "/Basis/DelInterface", param, 'post', function (res) {
- if (res.code == 0) { //鎴愬姛
+ if (res.code == 200) { //鎴愬姛
layer.msg(res.msg, {
icon: 1,
time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
@@ -494,7 +496,7 @@
InterfaceNo:data.InterfaceNo
};
sendData(IP + "/Basis/DelInterfaceDetail", param, 'post', function (res) {
- if (res.code == 0) { //鎴愬姛
+ if (res.code == 200) { //鎴愬姛
layer.msg(res.msg, {
icon: 1,
time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
@@ -525,7 +527,7 @@
$(".delClass").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 == "娣诲姞鎺ュ彛") {
$(function() {
--
Gitblit v1.8.0