From 638b471ad73bce1c701d9f9c8d02effe6a38c7ca Mon Sep 17 00:00:00 2001
From: chengsc <Demo@DESKTOP-CPA90BF>
Date: 星期一, 22 七月 2024 16:57:20 +0800
Subject: [PATCH] 修改托盘绑定方法
---
HTML/views/SystemSettings/InterfaceDetail.html | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/HTML/views/SystemSettings/InterfaceDetail.html b/HTML/views/SystemSettings/InterfaceDetail.html
index 7ad6f30..90a6e5c 100644
--- a/HTML/views/SystemSettings/InterfaceDetail.html
+++ b/HTML/views/SystemSettings/InterfaceDetail.html
@@ -331,7 +331,7 @@
InterfaceNo: id
};
sendData(IP + "/Basis/GetInterfaceList", param, 'post', function (res) {
- if (res.code == 200) {
+ if (res.code == 0) {
var data = res.data.Items[0];
$("input[name='InterfaceNo']").val(data.InterfaceNo);
$("input[name='InterfaceName']").val(data.InterfaceName);
@@ -347,7 +347,7 @@
InterfaceNo: id
};
sendData(IP + "/Basis/GetInterfaceDetailList", paramDetail, 'post', function (res) {
- if (res.code == 200) { //鎴愬姛
+ if (res.code == 0) { //鎴愬姛
var data = res.data.Items;
//椤甸潰璧嬪��
$.extend(infoOptions, {
@@ -533,7 +533,7 @@
if (id == null) {
// 娣诲姞
sendData(IP + "/Basis/AddInterface", item2, 'post', function (res) {
- if (res.code == 200) { //鎴愬姛
+ if (res.code == 0) { //鎴愬姛
layer.msg(res.msg, {
icon: 1,
time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
@@ -553,7 +553,7 @@
else {
// 缂栬緫
sendData(IP + "/Basis/EditInterface", item2, 'post', function (res) {
- if (res.code == 200) { //鎴愬姛
+ if (res.code == 0) { //鎴愬姛
layer.msg(res.msg, {
icon: 1,
time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
--
Gitblit v1.8.0