From 3a6db064cb915e833dca6ee820b679e4bea3ed0b Mon Sep 17 00:00:00 2001 From: haozq <1611483981@qq.com> Date: Tue, 2 Dec 2025 17:19:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- smz-web/js/my/permission.js | 2 +- smz-web/js/publicJs.js | 4 ++-- smz-web/js/work/ownPerson/paySlip.js | 2 +- smz-web/js/work/ownPerson/workerDepart.js | 2 +- smz-web/js/work/ownPerson/workerOn.js | 4 ++-- .../js/work/person/reportStatistics/salaryApprovalFormList.js | 2 +- smz-web/js/work/person/safeguardingAppealList.js | 3 ++- smz-web/pages/menu/menuList.html | 2 +- 8 files changed, 11 insertions(+), 10 deletions(-) diff --git a/smz-web/js/my/permission.js b/smz-web/js/my/permission.js index fcaff83..a5da323 100644 --- a/smz-web/js/my/permission.js +++ b/smz-web/js/my/permission.js @@ -3,7 +3,7 @@ function checkPermission() { $.ajax({ type : 'get', url : ctxPath + '/permissions/owns', - contentType : "application/json; charset=utf-8", + //contentType : "application/json; charset=utf-8", async : false, success : function(data) { pers = data; diff --git a/smz-web/js/publicJs.js b/smz-web/js/publicJs.js index 2dc4dea..ad40170 100644 --- a/smz-web/js/publicJs.js +++ b/smz-web/js/publicJs.js @@ -1,10 +1,10 @@ -var ctxPath = "http://192.168.0.38:42880/realname" +var ctxPath = "http://127.0.0.1:42880/realname" //湖南 let contentPath="/hn_cloud_web/smz-web" console.log("publicJs.js="+ctxPath); // var dataPath ="http://140.210.209.102:1918/hnBmw"; //部署上线地址 -var dataPath ="http://192.168.0.38:42880/realname"; //公司测试地址 +var dataPath ="http://127.0.0.1:42880/realname"; //公司测试地址 // var dataPath ="http://116.63.172.211:1918/hnBmw"; //线上正式环境--外网 // var dataPath ="http://172.16.0.235:1918/hnBmw"; //线上正式环境--内网 // var dataPath ="http://101.201.61.123:19118/hnBmw"; //外围公司测试地址 diff --git a/smz-web/js/work/ownPerson/paySlip.js b/smz-web/js/work/ownPerson/paySlip.js index 24083b9..b70b48a 100644 --- a/smz-web/js/work/ownPerson/paySlip.js +++ b/smz-web/js/work/ownPerson/paySlip.js @@ -176,7 +176,7 @@ function init() { }, "ajax": { "url": ctxPath + "/paySlip", - "type": "get", + "type": "POST", "data": function (d) { d.orgName = $("#orgName").val(); d.idNumber = $("#idNumber").val(); diff --git a/smz-web/js/work/ownPerson/workerDepart.js b/smz-web/js/work/ownPerson/workerDepart.js index 0cbbf91..c5eeb7d 100644 --- a/smz-web/js/work/ownPerson/workerDepart.js +++ b/smz-web/js/work/ownPerson/workerDepart.js @@ -126,7 +126,7 @@ function init(){ }, "ajax": { "url" : ctxPath + "/workerDepart", - "type":"get", + "type":"post", "data":function(d){ d.ssdw = $("#ssdw").val(); d.orgId = $("#orgId").val(); diff --git a/smz-web/js/work/ownPerson/workerOn.js b/smz-web/js/work/ownPerson/workerOn.js index db308c2..8561f73 100644 --- a/smz-web/js/work/ownPerson/workerOn.js +++ b/smz-web/js/work/ownPerson/workerOn.js @@ -142,8 +142,8 @@ function init() { "url": contentPath + "/js/plugin/datatables/Chinese.lang" }, "ajax": { - "url": ctxPath + "/workerOn", - "type": "get", + "url": ctxPath + "/workerOn/list", + "type": "POST", "data": function (d) { d.ssdw = $("#ssdw").val(); d.orgId = $("#orgId").val(); diff --git a/smz-web/js/work/person/reportStatistics/salaryApprovalFormList.js b/smz-web/js/work/person/reportStatistics/salaryApprovalFormList.js index 2e6e294..25c911d 100644 --- a/smz-web/js/work/person/reportStatistics/salaryApprovalFormList.js +++ b/smz-web/js/work/person/reportStatistics/salaryApprovalFormList.js @@ -7,7 +7,7 @@ layui.use(['layer','laydate','form'], function () { form = layui.form; getProject(form); //查询工程 pers = checkPermission(); - + init() laydate = layui.laydate; var month = new Date().getMonth() + 1; month = (month < 10 ? "0" + month : month); diff --git a/smz-web/js/work/person/safeguardingAppealList.js b/smz-web/js/work/person/safeguardingAppealList.js index 3777000..d246d15 100644 --- a/smz-web/js/work/person/safeguardingAppealList.js +++ b/smz-web/js/work/person/safeguardingAppealList.js @@ -19,13 +19,14 @@ function init() { "searching": false, "processing": true, //加载数据时显示进度状态 "serverSide": true, + 'bSort': false, "pagingType": "full_numbers", //首页|尾页 "language": { "url": contentPath + "/js/plugin/datatables/Chinese.lang" }, "ajax": { "url": ctxPath + "/salaryAppeal", - "type": "get", + "type": "post", "data": function (d) { d.keyWord = $("#keyword").val(); }, diff --git a/smz-web/pages/menu/menuList.html b/smz-web/pages/menu/menuList.html index 20145a8..a551804 100644 --- a/smz-web/pages/menu/menuList.html +++ b/smz-web/pages/menu/menuList.html @@ -62,7 +62,7 @@ function initMenuList(){ $.ajax({ type : 'get', url : ctxPath + '/permissions', - contentType: "application/json; charset=utf-8", + //contentType: "application/json; charset=utf-8", async:false, success : function(data) { var length = data.length;