From 75e19f1d649e971e3422d3a3171592be4bfbe14e Mon Sep 17 00:00:00 2001
From: hwh <332078369@qq.com>
Date: 星期四, 15 八月 2024 16:21:33 +0800
Subject: [PATCH] ·
---
HTML/views/BaseSetting/Department.html | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/HTML/views/BaseSetting/Department.html b/HTML/views/BaseSetting/Department.html
index 8b257af..4c506bc 100644
--- a/HTML/views/BaseSetting/Department.html
+++ b/HTML/views/BaseSetting/Department.html
@@ -95,7 +95,7 @@
sendData(IP + "/Basis/GetDepartmentList?DepartmentName=" + DepartmentName + "&&DepartmentNo=" + DepartmentNo, {}, "get", function (res) {
console.log(res.data);
- if (res.code == 200)
+ if (res.code == 0)
{
//鎴愬姛
var list = res.data;
@@ -133,7 +133,7 @@
$(function() {
$(".approvalBtnupt").hide();
});
- if (res.code == 200) //鎴愬姛
+ if (res.code == 0) //鎴愬姛
{
for (var k = 0; k < res.data.length; k++)
{
@@ -253,7 +253,7 @@
Demo: field.Demo,
};
sendData( IP + "/Basis/AddDepartment", param, "post", function (res) {
- if (res.code == 200) //鎴愬姛
+ if (res.code == 0) //鎴愬姛
{
layer.msg(
res.msg,
@@ -343,7 +343,7 @@
msg: cusid,
};
sendData( IP + "/Basis/DelDepartment?Id="+cusid+"",{},"get",function (res) {
- if (res.code == 200) //鎴愬姛
+ if (res.code == 0) //鎴愬姛
{
layer.msg(
res.msg,
@@ -410,7 +410,7 @@
Demo: field.Demo,
};
sendData( IP + "/Basis/ExitDepartment", param, "post", function (res) {
- if (res.code == 200) //鎴愬姛
+ if (res.code == 0) //鎴愬姛
{
layer.msg("淇敼鎴愬姛",
{
--
Gitblit v1.8.0