提交 26a8d77b 编写于 作者: Skyeye云's avatar Skyeye云

将loginPCIp从入参中删除

上级 2791cf32
......@@ -162,7 +162,7 @@ layui.config({
// 个人考勤情况导出
$("body").on("click", "#download", function(){
postDownLoadFile({
url : flowableBasePath + 'checkwork017?loginPCIp=' + returnCitySN["cip"],
url : flowableBasePath + 'checkwork017',
params: getTableParams(),
method : 'post'
});
......
......@@ -274,7 +274,7 @@ layui.config({
//导出
$("body").on("click", "#download", function(){
postDownLoadFile({
url : flowableBasePath + 'checkwork020?loginPCIp=' + returnCitySN["cip"],
url : flowableBasePath + 'checkwork020',
params: getTableParams(),
method : 'post'
});
......
......@@ -142,7 +142,6 @@ function loadUploadMethod(){
label: '选择文件'
},
formData: {
loginPCIp: returnCitySN["cip"],
folderId: folderId
},
dnd: '#uploader .queueList',
......@@ -209,7 +208,6 @@ function loadUploadMethod(){
uploader.on('uploadBeforeSend', function(block, data, headers) {
headers['X-Requested-With']= 'XMLHttpRequest';
$.extend(headers, getRequestHeaders());
data.loginPCIp = returnCitySN["cip"];
data.folderId = folderId;
data.md5 = md5;
data.chunk = block.chunk;
......
......@@ -25,7 +25,7 @@ layui.config({
var ztree = null;
fsTree.render({
id: "treeDemo",
url: reqBasePath + "sysenclosure001?loginPCIp=" + returnCitySN["cip"],
url: reqBasePath + "sysenclosure001",
checkEnable: false,
loadEnable: true,//异步加载
showLine: false,
......
......@@ -57,7 +57,7 @@ layui.config({
var ztree = null;
fsTree.render({
id: "treeDemo",
url: reqBasePath + "fileconsole001?loginPCIp=" + returnCitySN["cip"],
url: reqBasePath + "fileconsole001",
checkEnable: false,
loadEnable: true,//异步加载
showLine: false,
......@@ -1792,7 +1792,6 @@ layui.config({
// 实例化
uploader = WebUploader.create({
formData: {
loginPCIp: returnCitySN["cip"],
folderId: folderId
},
dnd: '#file-content',
......@@ -1858,7 +1857,6 @@ layui.config({
uploader.on('uploadBeforeSend', function(block, data, headers) {
headers['X-Requested-With']= 'XMLHttpRequest';
$.extend(headers, getRequestHeaders());
data.loginPCIp = returnCitySN["cip"];
data.folderId = folderId;
data.md5 = md5;
data.chunk = block.chunk;
......
......@@ -133,7 +133,6 @@ function loadUploadMethod(){
label: '选择文件'
},
formData: {
loginPCIp: returnCitySN["cip"],
folderId: parent.folderId
},
dnd: '#uploader .queueList',
......@@ -200,7 +199,6 @@ function loadUploadMethod(){
uploader.on('uploadBeforeSend', function(block, data, headers) {
headers['X-Requested-With']= 'XMLHttpRequest';
$.extend(headers, getRequestHeaders());
data.loginPCIp = returnCitySN["cip"];
data.folderId = parent.folderId;
data.md5 = md5;
data.chunk = block.chunk;
......
......@@ -134,7 +134,6 @@ function loadUploadMethod(){
webkitdirectory: true
},
formData: {
loginPCIp: returnCitySN["cip"],
folderId: parent.folderId
},
dnd: '#uploader .queueList',
......@@ -201,7 +200,6 @@ function loadUploadMethod(){
uploader.on('uploadBeforeSend', function(block, data, headers) {
headers['X-Requested-With']= 'XMLHttpRequest';
$.extend(headers, getRequestHeaders());
data.loginPCIp = returnCitySN["cip"];
data.folderId = parent.folderId;
data.md5 = md5;
data.chunk = block.chunk;
......
......@@ -16,7 +16,7 @@ layui.config({
var ztree = null;
fsTree.render({
id: "treeDemo",
url: reqBasePath + "fileconsole001?loginPCIp=" + returnCitySN["cip"],
url: reqBasePath + "fileconsole001",
checkEnable: true,
loadEnable: true,//异步加载
showLine: false,
......
......@@ -19,7 +19,7 @@ layui.config({
var ztree = null;
fsTree.render({
id: "treeDemo",
url: flowableBasePath + "dsFormObjectRelation007?loginPCIp=" + returnCitySN["cip"] + "&firstTypeCode=" + firstTypeCode + "&language=" + languageType,
url: flowableBasePath + "dsFormObjectRelation007?firstTypeCode=" + firstTypeCode + "&language=" + languageType,
clickCallback: onClickTree,
onDblClick: onClickTree
}, function(id){
......
......@@ -81,10 +81,9 @@ layui.config({
//初始化商品类型
function initFirstType(){
loadFirstType = true;
var el5;
el5 = eleTree.render({
var el5 = eleTree.render({
elem: '.ele5',
url: flowableBasePath + "materialcategory009?loginPCIp=",
url: flowableBasePath + "materialcategory009",
defaultExpandAll: true,
expandOnClickNode: false,
highlightCurrent: true
......
......@@ -153,7 +153,7 @@ layui.config({
// 导出excel
$("body").on("click", "#downloadExcel", function () {
postDownLoadFile({
url : flowableBasePath + 'allocation005?loginPCIp=' + returnCitySN["cip"],
url : flowableBasePath + 'allocation005',
params: getTableParams(),
method : 'post'
});
......
......@@ -153,7 +153,7 @@ layui.config({
// 导出excel
$("body").on("click", "#downloadExcel", function () {
postDownLoadFile({
url : flowableBasePath + 'assemblysheet005?loginPCIp=' + returnCitySN["cip"],
url : flowableBasePath + 'assemblysheet005',
params: getTableParams(),
method : 'post'
});
......
......@@ -38,7 +38,7 @@ layui.config({
var materialCategoryType;
fsTree.render({
id: "materialCategoryType",
url: flowableBasePath + "materialcategory008?loginPCIp=",
url: flowableBasePath + "materialcategory008",
checkEnable: false,
loadEnable: false,//异步加载
showLine: false,
......
......@@ -27,7 +27,7 @@ layui.config({
var materialCategoryType;
fsTree.render({
id: "materialCategoryType",
url: flowableBasePath + "materialcategory008?loginPCIp=",
url: flowableBasePath + "materialcategory008",
checkEnable: false,
loadEnable: false,//异步加载
showLine: false,
......
......@@ -84,7 +84,7 @@ layui.config({
var el5;
el5 = eleTree.render({
elem: '.ele5',
url: flowableBasePath + "materialcategory009?loginPCIp=",
url: flowableBasePath + "materialcategory009",
defaultExpandAll: true,
expandOnClickNode: false,
highlightCurrent: true
......
......@@ -91,7 +91,7 @@ layui.config({
var el5;
el5 = eleTree.render({
elem: '.ele5',
url: flowableBasePath + "materialcategory009?loginPCIp=",
url: flowableBasePath + "materialcategory009",
defaultExpandAll: true,
expandOnClickNode: false,
highlightCurrent: true
......
......@@ -52,7 +52,7 @@ layui.config({
var materialCategoryType;
fsTree.render({
id: "materialCategoryType",
url: flowableBasePath + "materialcategory008?loginPCIp=",
url: flowableBasePath + "materialcategory008",
checkEnable: true,
loadEnable: false,//异步加载
chkStyle: "radio",
......
......@@ -96,7 +96,7 @@ layui.config({
fsTree.render({
id: "materialCategoryType",
url: flowableBasePath + "materialcategory008?loginPCIp=",
url: flowableBasePath + "materialcategory008",
checkEnable: true,
loadEnable: false,//异步加载
chkStyle: "radio",
......
......@@ -74,7 +74,7 @@ layui.config({
var el5;
el5 = eleTree.render({
elem: '.ele5',
url: flowableBasePath + "materialcategory009?loginPCIp=",
url: flowableBasePath + "materialcategory009",
defaultExpandAll: true,
expandOnClickNode: false,
highlightCurrent: true
......
......@@ -24,7 +24,7 @@ layui.config({
//加载树信息
fsTree.render({
id: "materialCategoryType",
url: flowableBasePath + "materialcategory008?loginPCIp=",
url: flowableBasePath + "materialcategory008",
checkEnable: true,
loadEnable: false,//异步加载
chkStyle: "radio",
......
......@@ -160,7 +160,7 @@ layui.config({
// 导出excel
$("body").on("click", "#downloadExcel", function () {
postDownLoadFile({
url : flowableBasePath + 'otheroutlets005?loginPCIp=' + returnCitySN["cip"],
url : flowableBasePath + 'otheroutlets005',
params: getTableParams(),
method : 'post'
});
......
......@@ -160,7 +160,7 @@ layui.config({
// 导出excel
$("body").on("click", "#downloadExcel", function () {
postDownLoadFile({
url : flowableBasePath + 'otherwarehous005?loginPCIp=' + returnCitySN["cip"],
url : flowableBasePath + 'otherwarehous005',
params: getTableParams(),
method : 'post'
});
......
......@@ -204,7 +204,7 @@ layui.config({
// 导出excel
$("body").on("click", "#downloadExcel", function () {
postDownLoadFile({
url : flowableBasePath + 'purchaseorder010?loginPCIp=' + returnCitySN["cip"],
url : flowableBasePath + 'purchaseorder010',
params: getTableParams(),
method : 'post'
});
......
......@@ -180,7 +180,7 @@ layui.config({
// 导出excel
$("body").on("click", "#downloadExcel", function () {
postDownLoadFile({
url : flowableBasePath + 'purchaseput005?loginPCIp=' + returnCitySN["cip"],
url : flowableBasePath + 'purchaseput005',
params: getTableParams(),
method : 'post'
});
......
......@@ -169,7 +169,7 @@ layui.config({
// 导出excel
$("body").on("click", "#downloadExcel", function () {
postDownLoadFile({
url : flowableBasePath + 'purchasereturns005?loginPCIp=' + returnCitySN["cip"],
url : flowableBasePath + 'purchasereturns005',
params: getTableParams(),
method : 'post'
});
......
......@@ -161,7 +161,7 @@ layui.config({
// 导出excel
$("body").on("click", "#downloadExcel", function () {
postDownLoadFile({
url : flowableBasePath + 'retailoutlet005?loginPCIp=' + returnCitySN["cip"],
url : flowableBasePath + 'retailoutlet005',
params: getTableParams(),
method : 'post'
});
......
......@@ -161,7 +161,7 @@ layui.config({
//导出excel
$("body").on("click", "#downloadExcel", function () {
postDownLoadFile({
url : flowableBasePath + 'retailreturns005?loginPCIp=' + returnCitySN["cip"],
url : flowableBasePath + 'retailreturns005',
params: getTableParams(),
method : 'post'
});
......
......@@ -17,7 +17,7 @@ layui.config({
var materialCategoryType;
fsTree.render({
id: "materialCategoryType",
url: flowableBasePath + "salesorder011?loginPCIp=",
url: flowableBasePath + "salesorder011",
checkEnable: false,
loadEnable: false,//异步加载
showLine: false,
......
......@@ -186,7 +186,7 @@ layui.config({
// 导出excel
$("body").on("click", "#downloadExcel", function () {
postDownLoadFile({
url : flowableBasePath + 'salesorder010?loginPCIp=' + returnCitySN["cip"],
url : flowableBasePath + 'salesorder010',
params: getTableParams(),
method : 'post'
});
......
......@@ -172,7 +172,7 @@ layui.config({
//导出excel
$("body").on("click", "#downloadExcel", function () {
postDownLoadFile({
url : flowableBasePath + 'salesoutlet005?loginPCIp=' + returnCitySN["cip"],
url : flowableBasePath + 'salesoutlet005',
params: getTableParams(),
method : 'post'
});
......
......@@ -172,7 +172,7 @@ layui.config({
// 导出excel
$("body").on("click", "#downloadExcel", function () {
postDownLoadFile({
url : flowableBasePath + 'salesreturns005?loginPCIp=' + returnCitySN["cip"],
url : flowableBasePath + 'salesreturns005',
params: getTableParams(),
method : 'post'
});
......
......@@ -153,7 +153,7 @@ layui.config({
// 导出excel
$("body").on("click", "#downloadExcel", function () {
postDownLoadFile({
url : flowableBasePath + 'splitlist005?loginPCIp=' + returnCitySN["cip"],
url : flowableBasePath + 'splitlist005',
params: getTableParams(),
method : 'post'
});
......
......@@ -134,10 +134,9 @@ layui.config({
//初始化商品类型
function initFirstType(){
loadFirstType = true;
var el5;
el5 = eleTree.render({
var el5 = eleTree.render({
elem: '.ele5',
url: flowableBasePath + "materialcategory009?loginPCIp=",
url: flowableBasePath + "materialcategory009",
defaultExpandAll: true,
expandOnClickNode: false,
highlightCurrent: true
......
......@@ -90,7 +90,7 @@ layui.config({
var ztree = null;
fsTree.render({
id: "treeDemo",
url: flowableBasePath + "dsFormObjectRelation007?loginPCIp=" + returnCitySN["cip"] + "&firstTypeCode=IFS" + "&language=" + languageType,
url: flowableBasePath + "dsFormObjectRelation007?firstTypeCode=IFS" + "&language=" + languageType,
clickCallback: onClickTree,
onDblClick: onClickTree
}, function(id){
......@@ -243,7 +243,7 @@ layui.config({
// 导出excel
$("body").on("click", "#downloadExcel", function () {
postDownLoadFile({
url : flowableBasePath + 'income007?loginPCIp=' + returnCitySN["cip"],
url : flowableBasePath + 'income007',
params: getTableParams(),
method : 'post'
});
......
......@@ -63,7 +63,7 @@ layui.config({
var el5;
el5 = eleTree.render({
elem: '.ele5',
url: "knowledgetype008?loginPCIp=",
url: "knowledgetype008",
defaultExpandAll: true,
expandOnClickNode: false,
highlightCurrent: true
......
......@@ -122,7 +122,7 @@ layui.config({
var el5;
el5 = eleTree.render({
elem: '.ele5',
url: "knowledgetype008?loginPCIp=",
url: "knowledgetype008",
defaultExpandAll: true,
expandOnClickNode: false,
highlightCurrent: true
......@@ -267,7 +267,7 @@ layui.config({
var el2;
el2 = eleTree.render({
elem: '.ele2',
url: "knowledgetype008?loginPCIp=",
url: "knowledgetype008",
defaultExpandAll: true,
expandOnClickNode: false,
highlightCurrent: true
......
......@@ -133,7 +133,6 @@ function loadUploadMethod(){
label: '选择文件',
},
formData: {
loginPCIp: returnCitySN["cip"],
},
dnd: '#uploader .queueList',
paste: document.body,
......@@ -204,7 +203,6 @@ function loadUploadMethod(){
uploader.on('uploadBeforeSend', function(block, data, headers) {
headers['X-Requested-With']= 'XMLHttpRequest';
$.extend(headers, getRequestHeaders());
data.loginPCIp = returnCitySN["cip"];
data.md5 = md5;
data.chunk = block.chunk;
data.chunkSize = block.end - block.start;
......
......@@ -21,7 +21,7 @@ layui.config({
var el5;
el5 = eleTree.render({
elem: '.ele5',
url: reqBasePath + "knowledgetype008?loginPCIp=",
url: reqBasePath + "knowledgetype008",
defaultExpandAll: true,
expandOnClickNode: false,
highlightCurrent: true
......
......@@ -16,7 +16,7 @@ layui.config({
var el5;
el5 = eleTree.render({
elem: '.ele5',
url: reqBasePath + "knowledgetype008?loginPCIp=",
url: reqBasePath + "knowledgetype008",
defaultExpandAll: true,
expandOnClickNode: false,
highlightCurrent: true
......
......@@ -71,7 +71,7 @@ layui.config({
var el5;
el5 = eleTree.render({
elem: '.ele5',
url: "knowledgetype008?loginPCIp=",
url: "knowledgetype008",
defaultExpandAll: true,
expandOnClickNode: false,
highlightCurrent: true
......
......@@ -15,7 +15,7 @@ layui.config({
var parentType;
fsTree.render({
id: "parentType",
url: reqBasePath + "knowledgetype001?loginPCIp=",
url: reqBasePath + "knowledgetype001",
checkEnable: true,
loadEnable: false,//异步加载
chkStyle: "radio",
......
......@@ -36,7 +36,7 @@ layui.config({
var ztree = null;
fsTree.render({
id: "treeDemo",
url: reqBasePath + "mynote001?loginPCIp=" + returnCitySN["cip"],
url: reqBasePath + "mynote001",
checkEnable: false,
dragEnable: true,
loadEnable: true,//异步加载
......
......@@ -20,7 +20,7 @@ layui.config({
var ztree = null;
fsTree.render({
id: "treeDemo",
url: reqBasePath + "mynote012?loginPCIp=" + returnCitySN["cip"]+ "&moveId=" + clickId,
url: reqBasePath + "mynote012?moveId=" + clickId,
checkEnable: true,
chkStyle: "radio",
loadEnable: true,//异步加载
......
......@@ -40,7 +40,7 @@ layui.config({
function initTree(){
fsTree.render({
id: "treeDemo",
url: reqBasePath + 'planprojectflow001?projectId=' + parent.rowId + "&loginPCIp=" + returnCitySN["cip"],
url: reqBasePath + 'planprojectflow001?projectId=' + parent.rowId,
loadEnable: false,
clickCallback: onClickTree,
onDblClick: onClickTree,
......
......@@ -55,7 +55,7 @@ layui.config({
formData.append("file", $("#upfile")[0].files[0]);
formData.append("name", name);
$.ajax({
url : reportBasePath + 'reportimporthistory002?loginPCIp=' + returnCitySN["cip"],
url : reportBasePath + 'reportimporthistory002',
type : 'POST',
async : false,
data : formData,
......
......@@ -157,7 +157,7 @@ layui.config({
// 下载模板
$("body").on("click", "#download", function(){
postDownLoadFile({
url : reqBasePath + 'syseveschedule009?loginPCIp=' + returnCitySN["cip"],
url : reqBasePath + 'syseveschedule009',
method : 'post'
});
});
......@@ -173,7 +173,7 @@ layui.config({
formData.append("file", $("#upfile")[0].files[0]);
formData.append("name", name);
$.ajax({
url : reqBasePath + 'syseveschedule010?loginPCIp=' + returnCitySN["cip"],
url : reqBasePath + 'syseveschedule010',
type : 'POST',
async : false,
data : formData,
......
......@@ -169,7 +169,7 @@ layui.config({
// 下载模板
$("body").on("click", "#exportStudentModel", function(){
postDownLoadFile({
url : schoolBasePath + 'studentmation009?loginPCIp=' + returnCitySN["cip"],
url : schoolBasePath + 'studentmation009',
params: getTableParams(),
method : 'post'
});
......
......@@ -157,7 +157,7 @@ layui.config({
var tree = fsTree.render({
id: treeId,
funcNo: funcNo,
url: reqBasePath + url + "?loginPCIp=" + returnCitySN["cip"],
url: reqBasePath + url,
clickCallback: onClickTree,
onDblClick: onClickTree,
getTree: getTree
......
......@@ -60,7 +60,7 @@ layui.config({
var tree = fsTree.render({
id: treeId,
funcNo: funcNo,
url: reqBasePath + url + "?loginPCIp=" + returnCitySN["cip"],
url: reqBasePath + url,
getTree: getTree,
checkEnable: true,
loadEnable: false,
......
......@@ -80,7 +80,7 @@ layui.config({
var tree = fsTree.render({
id: treeId,
funcNo: funcNo,
url: reqBasePath + url + "?loginPCIp=" + returnCitySN["cip"],
url: reqBasePath + url,
getTree: getTree,
checkEnable: true,
loadEnable: false,
......
......@@ -179,7 +179,6 @@ function ajaxPost(url, params, callback) {
if (params && typeof params == "object") {
params = deleteEmptyProp(params);
}
params.loginPCIp = "";
jQuery.ajax({
type: 'post',
......
......@@ -80,8 +80,6 @@ function getRequestHeaders() {
function setRequestHeaders(xmlhttp) {
var headers = getRequestHeaders();
$.each(headers, function (key, value) {
console.log(key)
console.log(value)
xmlhttp.setRequestHeader(key, value);
});
}
......
......@@ -56,7 +56,6 @@ var AjaxPostUtil = {
var paramValue = params[pro];
paramsArray.push(pro + "=" + paramValue);
}
paramsArray.push("loginPCIp=" + returnCitySN["cip"]);
return paramsArray.join("&");
},
......
......@@ -401,7 +401,6 @@ dataGrid.prototype = {
var result;
if(!isNull(url)){
//用ajax的同步方式
parms.loginPCIp = returnCitySN["cip"];
layui.$.ajax({
url: url,
async: false, // 改为同步方式
......
......@@ -141,7 +141,6 @@ layui.define(['jquery','layer','element','form'], function(exports) {
request : function(config) {
var data = config.data ? config.data : {};
var async = (typeof (config.async) === "boolean") ? config.async : true;
data.loginPCIp = returnCitySN["cip"];
$.extend(config.headers, getRequestHeaders());
$.ajax({
type : config.type ? config.type : "POST",
......
......@@ -708,7 +708,6 @@ layui.define(['laytpl', 'laypage', 'layer', 'form', 'util'], function(exports){
}
that.loading();
data.loginPCIp = returnCitySN["cip"];
$.ajax({
type: options.method || 'get'
......
......@@ -1486,7 +1486,6 @@ layui.config({}).extend({}).define(['laytpl', 'laypage', 'layer', 'form'], funct
params[request.limitName] = options.limit;
that.filterRulesSet(params); //行内过滤条件
that.sortSet(params); //排序条件
options.where.loginPCIp = returnCitySN["cip"];
$.ajax({
type: options.method || 'get',
url: options.url,
......
......@@ -38,7 +38,7 @@ layui.config({
function loadMyEnclosureList(){
fsTree.render({
id: "treeDemo",
url: reqBasePath + "sysenclosure010?loginPCIp=" + returnCitySN["cip"],
url: reqBasePath + "sysenclosure010",
checkEnable: true,
loadEnable: false,//异步加载
showLine: false,
......@@ -261,7 +261,6 @@ function loadUploadMethod(){
label: '选择文件'
},
formData: {
loginPCIp: returnCitySN["cip"],
folderId: folderId
},
dnd: '#uploader .queueList',
......@@ -328,7 +327,6 @@ function loadUploadMethod(){
uploader.on('uploadBeforeSend', function(block, data, headers) {
headers['X-Requested-With']= 'XMLHttpRequest';
$.extend(headers, getRequestHeaders());
data.loginPCIp = returnCitySN["cip"];
data.folderId = folderId;
data.md5 = md5;
data.chunk = block.chunk;
......
......@@ -98,7 +98,7 @@ layui.config({
}
//加载树时的参数传递
urlParams = "?loginPCIp=" + returnCitySN["cip"] + "&chooseOrNotMy=" + chooseOrNotMy + "&chooseOrNotEmail=" + chooseOrNotEmail;
urlParams = "?chooseOrNotMy=" + chooseOrNotMy + "&chooseOrNotEmail=" + chooseOrNotEmail;
//各模块的初始化加载情况 false为没加载,true为加载
var allPeopleFirstLoad = false,//所有人员模块是否初始化加载
......
......@@ -546,11 +546,9 @@ layui.config({
title: '天眼',
init: {
url: reqBasePath + "companychat001",
data: {loginPCIp: returnCitySN["cip"]}
},//好友接口
members: {
url: reqBasePath + 'companytalkgroup007',
data: {loginPCIp: returnCitySN["cip"]}
},//群员借口
uploadImage: {
url: reqBasePath + "common003?type=9", //(返回的数据格式见下文)
......@@ -695,7 +693,6 @@ layui.config({
options: {
url: reqBasePath + 'login004',
method: 'get',
data: {loginPCIp: returnCitySN["cip"]}
}, //可以为{}
done: function (desktopApp) {
desktopApp.onclick(function (id, elem) {
......@@ -714,7 +711,6 @@ layui.config({
options: {
url: reqBasePath + 'login005',
method: 'get',
data: {loginPCIp: returnCitySN["cip"]}
},
done: function (menuItem) {
//监听开始菜单点击
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册