修改问题

This commit is contained in:
haozq 2025-12-02 17:19:35 +08:00
parent 86f2bdbd91
commit 3a6db064cb
8 changed files with 11 additions and 10 deletions

View File

@ -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;

View File

@ -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"; //外围公司测试地址

View File

@ -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();

View File

@ -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();

View File

@ -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();

View File

@ -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);

View File

@ -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();
},

View File

@ -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;