diff --git a/knowlg/src/main/resources/template/js/knowledgetype/knowledgetypelist.js b/knowlg/src/main/resources/template/js/knowledgetype/knowledgetypelist.js
index 87c3175b5c87bdb0d6c627fdeb44cd66c1878a07..75f9fccc0c11900c0eda75e37cf51332c7c3d063 100644
--- a/knowlg/src/main/resources/template/js/knowledgetype/knowledgetypelist.js
+++ b/knowlg/src/main/resources/template/js/knowledgetype/knowledgetypelist.js
@@ -20,7 +20,7 @@ layui.config({
url: sysMainMation.knowlgBasePath + 'knowledgetype001',
where: getTableParams(),
cols: [[
- { title: systemLanguage["com.skyeye.serialNumber"][languageType], type: 'numbers'},
+ { title: systemLanguage["com.skyeye.serialNumber"][languageType], type: 'numbers' },
{ field: 'name', title: '名称', width: 360 },
{ field: 'state', title: '状态', width: 80, align: 'center', templet: function (d) {
if(d.state == '3'){
@@ -37,7 +37,6 @@ layui.config({
{ field: 'lastUpdateTime', title: '最后修改时间', align: 'center', width: 150 },
{ title: systemLanguage["com.skyeye.operation"][languageType], fixed: 'right', align: 'center', width: 150, toolbar: '#tableBar'}
]],
- isPage:false,
done: function(){
matchingLanguage();
}
diff --git a/knowlg/src/main/resources/template/tpl/knowledgetype/knowledgetypelist.html b/knowlg/src/main/resources/template/tpl/knowledgetype/knowledgetypelist.html
index 9b583c5ccd47d8f0818b3bc8964136f983e01836..6e10c1d9a240d8e2a831f3c32bcf7eea1af939dc 100644
--- a/knowlg/src/main/resources/template/tpl/knowledgetype/knowledgetypelist.html
+++ b/knowlg/src/main/resources/template/tpl/knowledgetype/knowledgetypelist.html
@@ -5,11 +5,6 @@
-
diff --git a/message/src/main/resources/template/js/mymessage/myNoticeList.js b/message/src/main/resources/template/js/mymessage/myNoticeList.js
index ee0af727cdfe68ba67ef5fac8e865fff50a639d8..2d00fd1f02f7a041134de61e2eb2a5262ddce679 100644
--- a/message/src/main/resources/template/js/mymessage/myNoticeList.js
+++ b/message/src/main/resources/template/js/mymessage/myNoticeList.js
@@ -16,7 +16,7 @@ layui.config({
id: 'messageTable',
elem: '#messageTable',
method: 'post',
- url: reqBasePath + 'syseveusernotice001',
+ url: sysMainMation.noticeBasePath + 'syseveusernotice001',
where: {},
even: true,
page: true,
@@ -59,7 +59,7 @@ layui.config({
function sel(data){
rowId = data.id;
parentRowId = data.id;
- AjaxPostUtil.request({url: reqBasePath + "syseveusernotice003", params:{rowId: data.id}, type: 'json', callback: function (json) {
+ AjaxPostUtil.request({url: sysMainMation.noticeBasePath + "syseveusernotice003", params: {rowId: data.id}, type: 'json', callback: function (json) {
_openNewWindows({
url: "../../tpl/index/noticeDetail.html",
title: systemLanguage["com.skyeye.detailsPageTitle"][languageType],
@@ -80,7 +80,7 @@ layui.config({
$("#layui-layer-shade" + times).css({'z-index': zIndex});
}}, function (index) {
layer.close(index);
- AjaxPostUtil.request({url: reqBasePath + "syseveusernotice004", params:{rowId: data.id}, type: 'json', callback: function (json) {
+ AjaxPostUtil.request({url: sysMainMation.noticeBasePath + "syseveusernotice004", params: {rowId: data.id}, type: 'json', callback: function (json) {
winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable();
}});
@@ -98,7 +98,7 @@ layui.config({
}
});
if(!isNull(idsStr)){
- AjaxPostUtil.request({url: reqBasePath + "syseveusernotice005", params:{rowIds: idsStr}, type: 'json', callback: function (json) {
+ AjaxPostUtil.request({url: sysMainMation.noticeBasePath + "syseveusernotice005", params: {rowIds: idsStr}, type: 'json', callback: function (json) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadTable();
}});
@@ -122,7 +122,7 @@ layui.config({
$("#layui-layer-shade" + times).css({'z-index': zIndex});
}}, function (index) {
layer.close(index);
- AjaxPostUtil.request({url: reqBasePath + "syseveusernotice006", params:{rowIds: idsStr}, type: 'json', callback: function (json) {
+ AjaxPostUtil.request({url: sysMainMation.noticeBasePath + "syseveusernotice006", params: {rowIds: idsStr}, type: 'json', callback: function (json) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadTable();
}});
diff --git a/message/src/main/resources/template/js/sysnotice/sysnoticeadd.js b/message/src/main/resources/template/js/sysnotice/sysnoticeadd.js
index 92772f147eb66957c763aa914d611dbdf1dd64c3..c03811dd22476b39e5b23eabaf0cd27fff44bbc7 100644
--- a/message/src/main/resources/template/js/sysnotice/sysnoticeadd.js
+++ b/message/src/main/resources/template/js/sysnotice/sysnoticeadd.js
@@ -23,7 +23,7 @@ layui.config({
function initNoticeTypeId(){
showGrid({
id: "noticeTypeId",
- url: reqBasePath + "noticetype011",
+ url: sysMainMation.noticeBasePath + "noticetype011",
params: {},
pagination: false,
template: getFileContent('tpl/template/select-option.tpl'),
@@ -37,7 +37,7 @@ layui.config({
function initSecondTypeId(){
showGrid({
id: "secondTypeId",
- url: reqBasePath + "noticetype013",
+ url: sysMainMation.noticeBasePath + "noticetype013",
params: {parentId: $("#noticeTypeId").val()},
pagination: false,
template: getFileContent('tpl/template/select-option.tpl'),
@@ -138,7 +138,7 @@ layui.config({
winui.window.msg('请填写公告内容', {icon: 2, time: 2000});
return false;
}
- AjaxPostUtil.request({url: reqBasePath + "notice002", params: params, type: 'json', callback: function (json) {
+ AjaxPostUtil.request({url: sysMainMation.noticeBasePath + "notice002", params: params, type: 'json', callback: function (json) {
parent.layer.close(index);
parent.refreshCode = '0';
}});
diff --git a/message/src/main/resources/template/js/sysnotice/sysnoticedetails.js b/message/src/main/resources/template/js/sysnotice/sysnoticedetails.js
index c373ddaff777961563d549ac92c7c6bc8601009d..8d0f21f54f8282f53837008934359cb58117df56 100644
--- a/message/src/main/resources/template/js/sysnotice/sysnoticedetails.js
+++ b/message/src/main/resources/template/js/sysnotice/sysnoticedetails.js
@@ -12,8 +12,8 @@ layui.config({
showGrid({
id: "showForm",
- url: reqBasePath + "notice012",
- params: {rowId:parent.rowId},
+ url: sysMainMation.noticeBasePath + "notice012",
+ params: {rowId: parent.rowId},
pagination: false,
template: getFileContent('tpl/sysnotice/sysnoticedetailsTemplate.tpl'),
ajaxSendAfter:function (json) {
diff --git a/message/src/main/resources/template/js/sysnotice/sysnoticeedit.js b/message/src/main/resources/template/js/sysnotice/sysnoticeedit.js
index 49bd5c5ac559650236ec3095a84e7d6b085f7040..d5ff88ce61c26e8b3b6eba9b28a9a929a68db19d 100644
--- a/message/src/main/resources/template/js/sysnotice/sysnoticeedit.js
+++ b/message/src/main/resources/template/js/sysnotice/sysnoticeedit.js
@@ -19,7 +19,7 @@ layui.config({
function initNoticeType(id){
showGrid({
id: "noticeTypeId",
- url: reqBasePath + "noticetype011",
+ url: sysMainMation.noticeBasePath + "noticetype011",
params: {},
pagination: false,
template: getFileContent('tpl/template/select-option.tpl'),
@@ -34,7 +34,7 @@ layui.config({
function initSecondNoticeType(id){
showGrid({
id: "secondTypeId",
- url: reqBasePath + "noticetype013",
+ url: sysMainMation.noticeBasePath + "noticetype013",
params: {parentId: $("#noticeTypeId").val()},
pagination: false,
template: getFileContent('tpl/template/select-option.tpl'),
@@ -48,8 +48,8 @@ layui.config({
showGrid({
id: "showForm",
- url: reqBasePath + "notice006",
- params: {rowId:parent.rowId},
+ url: sysMainMation.noticeBasePath + "notice006",
+ params: {rowId: parent.rowId},
pagination: false,
template: getFileContent('tpl/sysnotice/sysnoticeeditTemplate.tpl'),
ajaxSendAfter:function (json) {
@@ -192,7 +192,7 @@ layui.config({
winui.window.msg('请填写公告内容', {icon: 2, time: 2000});
return false;
}
- AjaxPostUtil.request({url: reqBasePath + "notice007", params: params, type: 'json', callback: function (json) {
+ AjaxPostUtil.request({url: sysMainMation.noticeBasePath + "notice007", params: params, type: 'json', callback: function (json) {
parent.layer.close(index);
parent.refreshCode = '0';
}});
diff --git a/message/src/main/resources/template/js/sysnotice/sysnoticelist.js b/message/src/main/resources/template/js/sysnotice/sysnoticelist.js
index a00f7269e4919b883c748c4200c1344e74961019..eaf3c70b6da71b1d71ab12122b539cbafa19c716 100644
--- a/message/src/main/resources/template/js/sysnotice/sysnoticelist.js
+++ b/message/src/main/resources/template/js/sysnotice/sysnoticelist.js
@@ -26,7 +26,7 @@ layui.config({
id: 'messageTable',
elem: '#messageTable',
method: 'post',
- url: reqBasePath + 'notice001',
+ url: sysMainMation.noticeBasePath + 'notice001',
where: getTableParams(),
even: true,
page: true,
@@ -154,7 +154,7 @@ layui.config({
function delet(data){
layer.confirm(systemLanguage["com.skyeye.deleteOperationMsg"][languageType], { icon: 3, title: systemLanguage["com.skyeye.deleteOperation"][languageType] }, function (index) {
layer.close(index);
- AjaxPostUtil.request({url: reqBasePath + "notice003", params:{rowId: data.id}, type: 'json', callback: function (json) {
+ AjaxPostUtil.request({url: sysMainMation.noticeBasePath + "notice003", params: {rowId: data.id}, type: 'json', callback: function (json) {
winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable();
}});
@@ -166,7 +166,7 @@ layui.config({
var msg = '确认上线选中数据吗?';
layer.confirm(msg, { icon: 3, title: '上线公告' }, function (index) {
layer.close(index);
- AjaxPostUtil.request({url: reqBasePath + "notice004", params:{rowId: data.id}, type: 'json', callback: function (json) {
+ AjaxPostUtil.request({url: sysMainMation.noticeBasePath + "notice004", params: {rowId: data.id}, type: 'json', callback: function (json) {
winui.window.msg("上线成功", {icon: 1, time: 2000});
loadTable();
}});
@@ -178,7 +178,7 @@ layui.config({
var msg = '确认下线选中数据吗?';
layer.confirm(msg, { icon: 3, title: '下线公告' }, function (index) {
layer.close(index);
- AjaxPostUtil.request({url: reqBasePath + "notice005", params:{rowId: data.id}, type: 'json', callback: function (json) {
+ AjaxPostUtil.request({url: sysMainMation.noticeBasePath + "notice005", params: {rowId: data.id}, type: 'json', callback: function (json) {
winui.window.msg("下线成功", {icon: 1, time: 2000});
loadTable();
}});
@@ -202,7 +202,7 @@ layui.config({
//上移
function upMove(data){
- AjaxPostUtil.request({url: reqBasePath + "notice008", params:{rowId: data.id}, type: 'json', callback: function (json) {
+ AjaxPostUtil.request({url: sysMainMation.noticeBasePath + "notice008", params: {rowId: data.id}, type: 'json', callback: function (json) {
winui.window.msg(systemLanguage["com.skyeye.moveUpOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable();
}});
@@ -210,7 +210,7 @@ layui.config({
//下移
function downMove(data){
- AjaxPostUtil.request({url: reqBasePath + "notice009", params:{rowId: data.id}, type: 'json', callback: function (json) {
+ AjaxPostUtil.request({url: sysMainMation.noticeBasePath + "notice009", params: {rowId: data.id}, type: 'json', callback: function (json) {
winui.window.msg(systemLanguage["com.skyeye.moveDownOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable();
}});
diff --git a/message/src/main/resources/template/js/sysnotice/sysnoticetimeup.js b/message/src/main/resources/template/js/sysnotice/sysnoticetimeup.js
index fb49637f7b19ca6a59f18133908628d0f431708b..b94ef5150a0ce6c887f9a69f032b54b11defe88a 100644
--- a/message/src/main/resources/template/js/sysnotice/sysnoticetimeup.js
+++ b/message/src/main/resources/template/js/sysnotice/sysnoticetimeup.js
@@ -34,7 +34,7 @@ layui.config({
winui.window.msg('请选择定时通知时间', {icon: 2, time: 2000});
return false;
}
- AjaxPostUtil.request({url: reqBasePath + "notice011", params: params, type: 'json', callback: function (json) {
+ AjaxPostUtil.request({url: sysMainMation.noticeBasePath + "notice011", params: params, type: 'json', callback: function (json) {
parent.layer.close(index);
parent.refreshCode = '0';
}});
diff --git a/message/src/main/resources/template/js/sysnoticefront/sysnoticefrontdetails.js b/message/src/main/resources/template/js/sysnoticefront/sysnoticefrontdetails.js
index 7d7b3941bcdbd170a648f045d4a8a323538b0769..0e907fe7b57f4e261baffa88ef303ae4a91e3dda 100644
--- a/message/src/main/resources/template/js/sysnoticefront/sysnoticefrontdetails.js
+++ b/message/src/main/resources/template/js/sysnoticefront/sysnoticefrontdetails.js
@@ -12,7 +12,7 @@ layui.config({
showGrid({
id: "showForm",
- url: reqBasePath + "notice014",
+ url: sysMainMation.noticeBasePath + "notice014",
params: {rowId:parent.rowId},
pagination: false,
template: getFileContent('tpl/sysnoticefront/sysnoticefrontdetailsTemplate.tpl'),
diff --git a/message/src/main/resources/template/js/sysnoticefront/sysnoticefrontlist.js b/message/src/main/resources/template/js/sysnoticefront/sysnoticefrontlist.js
index fa77f85d47e9922a4805c6f8c51eb6bf48cb2293..01603253e4021c4eb8f85d7874d5f78b5229e26c 100644
--- a/message/src/main/resources/template/js/sysnoticefront/sysnoticefrontlist.js
+++ b/message/src/main/resources/template/js/sysnoticefront/sysnoticefrontlist.js
@@ -25,7 +25,7 @@ layui.config({
id: 'messageTable',
elem: '#messageTable',
method: 'post',
- url: reqBasePath + 'notice013',
+ url: sysMainMation.noticeBasePath + 'notice013',
where: {typeId: typeId, firstTime: startTime, lastTime: endTime, title:$("#titleName").val()},
even: true,
page: true,
@@ -70,7 +70,7 @@ layui.config({
//初始化左侧菜单数据
showGrid({
id: "setting",
- url: reqBasePath + "noticetype011",
+ url: sysMainMation.noticeBasePath + "noticetype011",
params: {},
pagination: false,
template: getFileContent('tpl/sysnoticefront/sysnoticefrontTemplate.tpl'),
diff --git a/message/src/main/resources/template/js/sysnoticetype/sysnoticetypeadd.js b/message/src/main/resources/template/js/sysnoticetype/sysnoticetypeadd.js
index be273783d76ad2eeb9ed4205ef9ebb35a0287165..1679a16381f6fe1bb4fc88e0deac2fe287f642fa 100644
--- a/message/src/main/resources/template/js/sysnoticetype/sysnoticetypeadd.js
+++ b/message/src/main/resources/template/js/sysnoticetype/sysnoticetypeadd.js
@@ -28,7 +28,7 @@ layui.config({
function initNoticeTypeId(){
showGrid({
id: "lockParentSel",
- url: reqBasePath + "noticetype011",
+ url: sysMainMation.noticeBasePath + "noticetype011",
params: {},
pagination: false,
template: getFileContent('tpl/template/select-option.tpl'),
@@ -61,7 +61,7 @@ layui.config({
}else if($("input[name='level']:checked").val() === '1'){
params.parentId = '0';
}
- AjaxPostUtil.request({url: reqBasePath + "noticetype002", params: params, type: 'json', callback: function (json) {
+ AjaxPostUtil.request({url: sysMainMation.noticeBasePath + "noticetype002", params: params, type: 'json', callback: function (json) {
parent.layer.close(index);
parent.refreshCode = '0';
}});
diff --git a/message/src/main/resources/template/js/sysnoticetype/sysnoticetypeedit.js b/message/src/main/resources/template/js/sysnoticetype/sysnoticetypeedit.js
index 66daf36702dfb252eb0c9d2e5f08fd31cb228427..f8036646fea3437aa882053cc9239692eca0876f 100644
--- a/message/src/main/resources/template/js/sysnoticetype/sysnoticetypeedit.js
+++ b/message/src/main/resources/template/js/sysnoticetype/sysnoticetypeedit.js
@@ -12,8 +12,8 @@ layui.config({
showGrid({
id: "showForm",
- url: reqBasePath + "noticetype006",
- params: {rowId:parent.rowId},
+ url: sysMainMation.noticeBasePath + "noticetype006",
+ params: {rowId: parent.rowId},
pagination: false,
template: getFileContent('tpl/sysnoticetype/sysnoticetypeeditTemplate.tpl'),
ajaxSendAfter:function (json) {
@@ -29,7 +29,7 @@ layui.config({
rowId: parent.rowId,
typeName: $("#typeName").val(),
};
- AjaxPostUtil.request({url: reqBasePath + "noticetype007", params: params, type: 'json', callback: function (json) {
+ AjaxPostUtil.request({url: sysMainMation.noticeBasePath + "noticetype007", params: params, type: 'json', callback: function (json) {
parent.layer.close(index);
parent.refreshCode = '0';
}});
diff --git a/message/src/main/resources/template/js/sysnoticetype/sysnoticetypelist.js b/message/src/main/resources/template/js/sysnoticetype/sysnoticetypelist.js
index 4486a84d7fe1f292dfcf397c1780ebb516650eb2..fb2daf031cf4a26d8213d415b11c362cba3cdbe9 100644
--- a/message/src/main/resources/template/js/sysnoticetype/sysnoticetypelist.js
+++ b/message/src/main/resources/template/js/sysnoticetype/sysnoticetypelist.js
@@ -17,11 +17,11 @@ layui.config({
id: 'messageTable',
elem: '#messageTable',
method: 'post',
- url: reqBasePath + 'noticetype001',
- where: {name:$("#name").val(),parentId:$("#firstType").val()},
+ url: sysMainMation.noticeBasePath + 'noticetype001',
+ where: {name: $("#name").val(), parentId: $("#firstType").val()},
cols: [[
{ title: systemLanguage["com.skyeye.serialNumber"][languageType], type: 'numbers'},
- { field: 'name', title: '类型名称', align: 'center', width: 120 },
+ { field: 'name', title: '类型名称', width: 120 },
{ field: 'allNum', title: '总公告数量', align: 'center', width: 120 },
{ field: 'upStateNum', title: '上线公告数量', align: 'center', width: 120 },
{ field: 'state', title: '当前状态', width: 120, align: 'center', templet: function (d) {
@@ -56,7 +56,7 @@ layui.config({
title: 'name',
});
- tableTree.on('tool(messageTable)', function (obj) {
+ tableTree.getTable().on('tool(messageTable)', function (obj) {
var data = obj.data;
var layEvent = obj.event;
if (layEvent === 'edit') { //编辑
@@ -80,7 +80,7 @@ layui.config({
loadFirstType = true;
showGrid({
id: "firstType",
- url: reqBasePath + "noticetype012",
+ url: sysMainMation.noticeBasePath + "noticetype012",
params: {},
pagination: false,
template: getFileContent('tpl/template/select-option.tpl'),
@@ -119,7 +119,7 @@ layui.config({
var msg = '确认删除选中数据吗?';
layer.confirm(msg, { icon: 3, title: '删除公告类型' }, function (index) {
layer.close(index);
- AjaxPostUtil.request({url: reqBasePath + "noticetype003", params:{rowId: data.id}, type: 'json', callback: function (json) {
+ AjaxPostUtil.request({url: sysMainMation.noticeBasePath + "noticetype003", params: {rowId: data.id}, type: 'json', callback: function (json) {
winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable();
}});
@@ -131,7 +131,7 @@ layui.config({
var msg = '确认上线选中数据吗?';
layer.confirm(msg, { icon: 3, title: '上线公告类型' }, function (index) {
layer.close(index);
- AjaxPostUtil.request({url: reqBasePath + "noticetype004", params:{rowId: data.id}, type: 'json', callback: function (json) {
+ AjaxPostUtil.request({url: sysMainMation.noticeBasePath + "noticetype004", params: {rowId: data.id}, type: 'json', callback: function (json) {
winui.window.msg("上线成功", {icon: 1, time: 2000});
loadTable();
}});
@@ -143,7 +143,7 @@ layui.config({
var msg = '确认下线选中数据吗?';
layer.confirm(msg, { icon: 3, title: '下线公告类型' }, function (index) {
layer.close(index);
- AjaxPostUtil.request({url: reqBasePath + "noticetype005", params:{rowId: data.id}, type: 'json', callback: function (json) {
+ AjaxPostUtil.request({url: sysMainMation.noticeBasePath + "noticetype005", params: {rowId: data.id}, type: 'json', callback: function (json) {
winui.window.msg("下线成功", {icon: 1, time: 2000});
loadTable();
}});
@@ -167,7 +167,7 @@ layui.config({
//上移
function upMove(data){
- AjaxPostUtil.request({url: reqBasePath + "noticetype008", params:{rowId: data.id}, type: 'json', callback: function (json) {
+ AjaxPostUtil.request({url: sysMainMation.noticeBasePath + "noticetype008", params: {rowId: data.id}, type: 'json', callback: function (json) {
winui.window.msg(systemLanguage["com.skyeye.moveUpOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable();
}});
@@ -175,7 +175,7 @@ layui.config({
//下移
function downMove(data){
- AjaxPostUtil.request({url: reqBasePath + "noticetype009", params:{rowId: data.id}, type: 'json', callback: function (json) {
+ AjaxPostUtil.request({url: sysMainMation.noticeBasePath + "noticetype009", params: {rowId: data.id}, type: 'json', callback: function (json) {
winui.window.msg(systemLanguage["com.skyeye.moveDownOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable();
}});
diff --git a/planpro/src/main/resources/template/js/flowChart/makeFlowChart.js b/planpro/src/main/resources/template/js/flowChart/makeFlowChart.js
index 65d92b84aa1a802ade8b34332cc5bf962e7b5bb9..44e49cf41f687bb7511706066d53faed17beb346 100644
--- a/planpro/src/main/resources/template/js/flowChart/makeFlowChart.js
+++ b/planpro/src/main/resources/template/js/flowChart/makeFlowChart.js
@@ -40,7 +40,7 @@ layui.config({
function initTree(){
fsTree.render({
id: "treeDemo",
- url: reqBasePath + 'planprojectflow001?projectId=' + parent.rowId,
+ url: sysMainMation.businessFlowBasePath + 'planprojectflow001?projectId=' + parent.rowId,
loadEnable: false,
clickCallback: onClickTree,
onDblClick: onClickTree,
@@ -56,7 +56,7 @@ layui.config({
if(!isNull(treeNode) && treeNode.type == 2) {
designId = treeNode.id;
$("#flowName").html(treeNode.title);
- AjaxPostUtil.request({url: reqBasePath + "planprojectflow006", params: {rowId: treeNode.id}, type: 'json', method: "GET", callback: function (json) {
+ AjaxPostUtil.request({url: sysMainMation.businessFlowBasePath + "planprojectflow006", params: {rowId: treeNode.id}, type: 'json', method: "GET", callback: function (json) {
$("#zzc").removeClass("zzc");
net.changeData();
if(isNull(json.bean.jsonContent)){
@@ -151,7 +151,7 @@ layui.config({
function del(data){
layer.confirm(systemLanguage["com.skyeye.deleteOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.deleteOperation"][languageType]}, function(index){
layer.close(index);
- AjaxPostUtil.request({url: reqBasePath + "planprojectflow003", params: {rowId: data.id}, type: 'json', method: "DELETE", callback: function (json) {
+ AjaxPostUtil.request({url: sysMainMation.businessFlowBasePath + "planprojectflow003", params: {rowId: data.id}, type: 'json', method: "DELETE", callback: function (json) {
winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
if(data.id === designId){
$("#flowName").html("流程图");
@@ -387,7 +387,7 @@ layui.config({
$("body").on("click", "#consoleJSON", function (e) {//保存
const saveData = net.save();
const json = JSON.stringify(saveData, null, 2);
- AjaxPostUtil.request({url: reqBasePath + "planprojectflow007", params: {rowId: designId, jsonContent: json}, type: 'json', method: "POST", callback: function (json) {
+ AjaxPostUtil.request({url: sysMainMation.businessFlowBasePath + "planprojectflow007", params: {rowId: designId, jsonContent: json}, type: 'json', method: "POST", callback: function (json) {
winui.window.msg("保存成功", {icon: 1, time: 2000});
}});
});
diff --git a/planpro/src/main/resources/template/js/planProject/planProjectAdd.js b/planpro/src/main/resources/template/js/planProject/planProjectAdd.js
index 1dab9683c2fb9ede7f6123e53ba2100652e4c3b9..9e18d2a3df68dd49654e826415b42672ed57ba09 100644
--- a/planpro/src/main/resources/template/js/planProject/planProjectAdd.js
+++ b/planpro/src/main/resources/template/js/planProject/planProjectAdd.js
@@ -34,7 +34,7 @@ layui.config({
params.isShare = '1';
}
- AjaxPostUtil.request({url: reqBasePath + "planproject002", params: params, type: 'json', method: "POST", callback: function (json) {
+ AjaxPostUtil.request({url: sysMainMation.businessFlowBasePath + "planproject002", params: params, type: 'json', method: "POST", callback: function (json) {
parent.layer.close(index);
parent.refreshCode = '0';
}});
diff --git a/planpro/src/main/resources/template/js/planProject/planProjectEdit.js b/planpro/src/main/resources/template/js/planProject/planProjectEdit.js
index 428087bcb0bf7bc4946d24f4744a0790e50d3c93..05191f96d93e559aa1218f3b41f7a5a345af028a 100644
--- a/planpro/src/main/resources/template/js/planProject/planProjectEdit.js
+++ b/planpro/src/main/resources/template/js/planProject/planProjectEdit.js
@@ -12,7 +12,7 @@ layui.config({
showGrid({
id: "showForm",
- url: reqBasePath + "planproject004",
+ url: sysMainMation.businessFlowBasePath + "planproject004",
params: {rowId: parent.rowId},
pagination: false,
method: "GET",
@@ -65,7 +65,7 @@ layui.config({
params.isShare = '1';
}
- AjaxPostUtil.request({url: reqBasePath + "planproject005", params: params, type: 'json', method: "PUT", callback: function (json) {
+ AjaxPostUtil.request({url: sysMainMation.businessFlowBasePath + "planproject005", params: params, type: 'json', method: "PUT", callback: function (json) {
parent.layer.close(index);
parent.refreshCode = '0';
}});
diff --git a/planpro/src/main/resources/template/js/planProject/planProjectList.js b/planpro/src/main/resources/template/js/planProject/planProjectList.js
index dda42fa693ff4a5642a352d3cd8d47af9782c391..fad29cfb58c818a43f5813ad9e9d1fad445609f7 100644
--- a/planpro/src/main/resources/template/js/planProject/planProjectList.js
+++ b/planpro/src/main/resources/template/js/planProject/planProjectList.js
@@ -19,7 +19,7 @@ layui.config({
id: 'messageTable',
elem: '#messageTable',
method: 'post',
- url: reqBasePath + 'planproject001',
+ url: sysMainMation.businessFlowBasePath + 'planproject001',
where: getTableParams(),
even: true,
page: true,
@@ -76,7 +76,7 @@ layui.config({
function del(data, obj) {
layer.confirm(systemLanguage["com.skyeye.deleteOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.deleteOperation"][languageType]}, function(index){
layer.close(index);
- AjaxPostUtil.request({url: reqBasePath + "planproject003", params: {rowId: data.id}, type: 'json', method: "DELETE", callback: function(json) {
+ AjaxPostUtil.request({url: sysMainMation.businessFlowBasePath + "planproject003", params: {rowId: data.id}, type: 'json', method: "DELETE", callback: function(json) {
winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable();
}});
diff --git a/planpro/src/main/resources/template/js/planProjectFlow/planProjectFlowAdd.js b/planpro/src/main/resources/template/js/planProjectFlow/planProjectFlowAdd.js
index b70c09a36bed87717a21f4df99cbf53f1f4a2725..a89433663ddfcea1162de2a1705239334a981767 100644
--- a/planpro/src/main/resources/template/js/planProjectFlow/planProjectFlowAdd.js
+++ b/planpro/src/main/resources/template/js/planProjectFlow/planProjectFlowAdd.js
@@ -37,7 +37,7 @@ layui.config({
params.isShare = '1';
}
- AjaxPostUtil.request({url: reqBasePath + "planprojectflow002", params: params, type: 'json', method: "POST", callback: function (json) {
+ AjaxPostUtil.request({url: sysMainMation.businessFlowBasePath + "planprojectflow002", params: params, type: 'json', method: "POST", callback: function (json) {
parent.layer.close(index);
parent.refreshCode = '0';
}});
diff --git a/planpro/src/main/resources/template/js/planProjectFlow/planProjectFlowEdit.js b/planpro/src/main/resources/template/js/planProjectFlow/planProjectFlowEdit.js
index 5b47141a5dbdb77882d80912e63a7a9e1d004228..08df8bec47d50c1c18d1db2ee2f640d55d9b91e9 100644
--- a/planpro/src/main/resources/template/js/planProjectFlow/planProjectFlowEdit.js
+++ b/planpro/src/main/resources/template/js/planProjectFlow/planProjectFlowEdit.js
@@ -12,7 +12,7 @@ layui.config({
showGrid({
id: "showForm",
- url: reqBasePath + "planprojectflow004",
+ url: sysMainMation.businessFlowBasePath + "planprojectflow004",
params: {rowId: parent.rowId},
pagination: false,
method: "GET",
@@ -63,7 +63,7 @@ layui.config({
params.isShare = '1';
}
- AjaxPostUtil.request({url: reqBasePath + "planprojectflow005", params: params, type: 'json', method: "PUT", callback: function (json) {
+ AjaxPostUtil.request({url: sysMainMation.businessFlowBasePath + "planprojectflow005", params: params, type: 'json', method: "PUT", callback: function (json) {
parent.layer.close(index);
parent.refreshCode = '0';
}});
diff --git a/schedule/src/main/resources/template/js/index/addSchedule.js b/schedule/src/main/resources/template/js/index/addSchedule.js
index 9b7791ff08cc8474d38faa43798f2cc2daa5a984..3e96ccf7ac4af8587b1f75bbb7ca8148b6ffabdc 100644
--- a/schedule/src/main/resources/template/js/index/addSchedule.js
+++ b/schedule/src/main/resources/template/js/index/addSchedule.js
@@ -182,7 +182,7 @@ layui.config({
}
params.typeName = $("#scheduleTypeName").val();
}
- AjaxPostUtil.request({url: reqBasePath + "syseveschedule001", params: params, type: 'json', callback: function (json) {
+ AjaxPostUtil.request({url: sysMainMation.scheduleBasePath + "syseveschedule001", params: params, type: 'json', callback: function (json) {
parent.childParams = json.bean;
parent.layer.close(index);
parent.refreshCode = '0';
diff --git a/schedule/src/main/resources/template/js/index/mySchedule.js b/schedule/src/main/resources/template/js/index/mySchedule.js
index 2b34bfce3b3e70f619278b5a7b570d5a5c17d6d6..e8f188cf10b5e5dda12f542b80b56f3cffdc6191 100644
--- a/schedule/src/main/resources/template/js/index/mySchedule.js
+++ b/schedule/src/main/resources/template/js/index/mySchedule.js
@@ -148,7 +148,7 @@ layui.config({
scheduleEndTime: event.end._d.format("yyyy-MM-dd hh:mm:ss"),
id: event.id
};
- AjaxPostUtil.request({url: reqBasePath + "syseveschedule005", params: params, type: 'json', callback: function (json) {
+ AjaxPostUtil.request({url: sysMainMation.scheduleBasePath + "syseveschedule005", params: params, type: 'json', callback: function (json) {
joinTodaySchedule(params);
}, errorCallback: function () {
revertFunc();
@@ -163,7 +163,7 @@ layui.config({
eventMouseover: function(event, jsEvent, view){//鼠标移入事件
},
events: function(start, end, timezone, callback){
- AjaxPostUtil.request({url: reqBasePath + "syseveschedule002", params:{yearMonth: start._d.format("yyyy-MM"), checkWorkId: $("#checkTime").val()}, type: 'json', callback: function (json) {
+ AjaxPostUtil.request({url: sysMainMation.scheduleBasePath + "syseveschedule002", params: {yearMonth: start._d.format("yyyy-MM"), checkWorkId: $("#checkTime").val()}, type: 'json', callback: function (json) {
callback(json.rows);
}});
}
@@ -172,7 +172,7 @@ layui.config({
//获取今日日程
showGrid({
id: "schedule-list",
- url: reqBasePath + "syseveschedule003",
+ url: sysMainMation.scheduleBasePath + "syseveschedule003",
params: {},
pagination: false,
method: "GET",
@@ -218,7 +218,7 @@ layui.config({
// 加载日程详情
function loadScheduleDetails(id){
- AjaxPostUtil.request({url: reqBasePath + "syseveschedule006", params:{rowId: id}, type: 'json', callback: function (json) {
+ AjaxPostUtil.request({url: sysMainMation.scheduleBasePath + "syseveschedule006", params: {rowId: id}, type: 'json', callback: function (json) {
json.bean.scheduleRemarks = stringManipulation.textAreaShow(json.bean.scheduleRemarks);
showDataUseHandlebars("schedule-detail", getFileContent('tpl/index/scheduleDetail.tpl'), json);
}});
@@ -233,7 +233,7 @@ layui.config({
$("#layui-layer-shade" + times).css({'z-index': zIndex});
}}, function (index) {
layer.close(index);
- AjaxPostUtil.request({url: reqBasePath + "syseveschedule007", params:{rowId: id}, type: 'json', callback: function (json) {
+ AjaxPostUtil.request({url: sysMainMation.scheduleBasePath + "syseveschedule007", params: {rowId: id}, type: 'json', callback: function (json) {
$('div[rowid="' + id + '"]').parent().remove();
calendar.fullCalendar('removeEvents', [id]);
}});
diff --git a/schedule/src/main/resources/template/js/myagency/myagency.js b/schedule/src/main/resources/template/js/myagency/myagency.js
index 3c31755018238dcd15d388f98f18fd144f502881..f89bb10af2ae3606f407c3270a0457a76554aae5 100644
--- a/schedule/src/main/resources/template/js/myagency/myagency.js
+++ b/schedule/src/main/resources/template/js/myagency/myagency.js
@@ -27,8 +27,8 @@ layui.config({
id: 'messageTable',
elem: '#messageTable',
method: 'post',
- url: reqBasePath + 'myagency001',
- where:{myagencyType: $("#myagencyType").val(), myagencyName: $("#myagencyName").val()},
+ url: sysMainMation.scheduleBasePath + 'myagency001',
+ where: {myagencyType: $("#myagencyType").val(), myagencyName: $("#myagencyName").val()},
even: true,
page: true,
limits: getLimits(),
@@ -67,7 +67,7 @@ layui.config({
var msg = obj ? '确认取消【' + obj.data.title + '】的提醒吗?' : '确认取消提醒吗?';
layer.confirm(msg, { icon: 3, title: '取消代办' }, function (index) {
layer.close(index);
- AjaxPostUtil.request({url: reqBasePath + "myagency002", params:{rowId: data.id}, type: 'json', callback: function (json) {
+ AjaxPostUtil.request({url: sysMainMation.scheduleBasePath + "myagency002", params: {rowId: data.id}, type: 'json', callback: function (json) {
winui.window.msg("取消成功", {icon: 1, time: 2000});
loadTable();
}});
diff --git a/schedule/src/main/resources/template/js/schedule/editschedule.js b/schedule/src/main/resources/template/js/schedule/editschedule.js
index c5d4e2b0bb43146a2139d2ae55b5bd4071089fa0..06ae34f0eab04fa77fc76e6b4c4c584cb34f157c 100644
--- a/schedule/src/main/resources/template/js/schedule/editschedule.js
+++ b/schedule/src/main/resources/template/js/schedule/editschedule.js
@@ -15,7 +15,7 @@ layui.config({
showGrid({
id: "showForm",
- url: reqBasePath + "syseveschedule015",
+ url: sysMainMation.scheduleBasePath + "syseveschedule015",
params: {rowId:parent.rowId},
pagination: false,
template: getFileContent('tpl/schedule/editscheduleTemplate.tpl'),
@@ -38,7 +38,7 @@ layui.config({
startTime: theStartTime,
endTime: theEndTime
};
- AjaxPostUtil.request({url: reqBasePath + "syseveschedule016", params: params, type: 'json', callback: function (json) {
+ AjaxPostUtil.request({url: sysMainMation.scheduleBasePath + "syseveschedule016", params: params, type: 'json', callback: function (json) {
parent.layer.close(index);
parent.refreshCode = '0';
}});
diff --git a/schedule/src/main/resources/template/js/schedule/holidayschedule.js b/schedule/src/main/resources/template/js/schedule/holidayschedule.js
index 958400d8c27c3a4832c4b960d408016bf93d892f..eb1ca911a92d44523d929cbbb87a96d9c93b1773 100644
--- a/schedule/src/main/resources/template/js/schedule/holidayschedule.js
+++ b/schedule/src/main/resources/template/js/schedule/holidayschedule.js
@@ -20,9 +20,9 @@ layui.config({
id: 'messageTable',
elem: '#messageTable',
method: 'post',
- url: reqBasePath + 'syseveschedule008',
+ url: sysMainMation.scheduleBasePath + 'syseveschedule008',
where: getTableParams(),
- even:true,
+ even: true,
page: true,
limits: getLimits(),
limit: getLimit(),
@@ -59,7 +59,7 @@ layui.config({
function del(data, obj){
layer.confirm(systemLanguage["com.skyeye.deleteOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.deleteOperation"][languageType]}, function(index){
layer.close(index);
- AjaxPostUtil.request({url: reqBasePath + "syseveschedule011", params:{rowId: data.id}, type: 'json', callback: function (json) {
+ AjaxPostUtil.request({url: sysMainMation.scheduleBasePath + "syseveschedule011", params: {rowId: data.id}, type: 'json', callback: function (json) {
winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable();
}});
@@ -71,7 +71,7 @@ layui.config({
var msg = '确认取消该节假日的提醒吗?';
layer.confirm(msg, { icon: 3, title: '取消日程提醒' }, function (index) {
layer.close(index);
- AjaxPostUtil.request({url: reqBasePath + "syseveschedule014", params:{rowId: data.id}, type: 'json', callback: function (json) {
+ AjaxPostUtil.request({url: sysMainMation.scheduleBasePath + "syseveschedule014", params: {rowId: data.id}, type: 'json', callback: function (json) {
winui.window.msg("取消成功", {icon: 1, time: 2000});
loadTable();
}});
@@ -123,7 +123,7 @@ layui.config({
$("body").on("click", "#deleteThisYear", function() {
layer.confirm('确认清空本年度节假日日程吗?', { icon: 3, title: '删除节假日' }, function (index) {
layer.close(index);
- AjaxPostUtil.request({url: reqBasePath + "syseveschedule012", params:{}, type: 'json', callback: function (json) {
+ AjaxPostUtil.request({url: sysMainMation.scheduleBasePath + "syseveschedule012", params: {}, type: 'json', callback: function (json) {
winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable();
}});
@@ -133,7 +133,7 @@ layui.config({
// 下载模板
$("body").on("click", "#download", function() {
postDownLoadFile({
- url : reqBasePath + 'syseveschedule009',
+ url : sysMainMation.scheduleBasePath + 'syseveschedule009',
method : 'post'
});
});
@@ -149,7 +149,7 @@ layui.config({
formData.append("file", $("#upfile")[0].files[0]);
formData.append("name", name);
$.ajax({
- url : reqBasePath + 'syseveschedule010',
+ url : sysMainMation.scheduleBasePath + 'syseveschedule010',
type : 'POST',
async : false,
data : formData,
diff --git a/schedule/src/main/resources/template/js/schedule/myScheduleTableList.js b/schedule/src/main/resources/template/js/schedule/myScheduleTableList.js
index 09fca94b87a9c3e95630871b1268dc4f2c9dcea6..0f8e8e07746413314eed381deffb7f6c4ee1c432 100644
--- a/schedule/src/main/resources/template/js/schedule/myScheduleTableList.js
+++ b/schedule/src/main/resources/template/js/schedule/myScheduleTableList.js
@@ -16,7 +16,7 @@ layui.config({
id: 'messageTable',
elem: '#messageTable',
method: 'post',
- url: reqBasePath + 'syseveschedule019',
+ url: sysMainMation.scheduleBasePath + 'syseveschedule019',
where: getTableParams(),
even: true,
page: true,
diff --git a/schedule/src/main/resources/template/js/schedule/scheduleadd.js b/schedule/src/main/resources/template/js/schedule/scheduleadd.js
index e1e0d96ee34f950fc9e112586983b66d12d6c89d..dcab073163b56cc4933d48b8b75ee10a614e74fb 100644
--- a/schedule/src/main/resources/template/js/schedule/scheduleadd.js
+++ b/schedule/src/main/resources/template/js/schedule/scheduleadd.js
@@ -30,7 +30,7 @@ layui.config({
startTime: theStartTime,
endTime: theEndTime
};
- AjaxPostUtil.request({url: reqBasePath + "syseveschedule017", params: params, type: 'json', callback: function (json) {
+ AjaxPostUtil.request({url: sysMainMation.scheduleBasePath + "syseveschedule017", params: params, type: 'json', callback: function (json) {
parent.layer.close(index);
parent.refreshCode = '0';
}});
diff --git a/schedule/src/main/resources/template/js/schedule/setreminder.js b/schedule/src/main/resources/template/js/schedule/setreminder.js
index 9a6478496acb8c54d4cb3a728fc8636ec022979e..93d5ff4e8e2317f688109ccc930bc4b12e3abe8e 100644
--- a/schedule/src/main/resources/template/js/schedule/setreminder.js
+++ b/schedule/src/main/resources/template/js/schedule/setreminder.js
@@ -24,7 +24,7 @@ layui.config({
rowId: parent.rowId,
remindType: $("#remindType").val()
};
- AjaxPostUtil.request({url: reqBasePath + "syseveschedule013", params: params, type: 'json', callback: function (json) {
+ AjaxPostUtil.request({url: sysMainMation.scheduleBasePath + "syseveschedule013", params: params, type: 'json', callback: function (json) {
parent.childParams = json.bean;
parent.layer.close(index);
parent.refreshCode = '0';
diff --git a/web/src/main/resources/template/js/index/index.js b/web/src/main/resources/template/js/index/index.js
index 26c01a9bc14003733b39247d04307f631fd3d7da..e8e65763758b78e88bbed214f6930e75962ace2e 100644
--- a/web/src/main/resources/template/js/index/index.js
+++ b/web/src/main/resources/template/js/index/index.js
@@ -812,7 +812,7 @@ layui.config({
function initNoticeList(){
showGrid({
id: "notice-list",
- url: reqBasePath + "syseveusernotice002",
+ url: sysMainMation.noticeBasePath + "syseveusernotice002",
params: {},
pagination: false,
template: getFileContent('tpl/index/noReadNotice.tpl'),
@@ -836,7 +836,7 @@ layui.config({
$("#showMyNoticeNum").hide();
$("#showMyNoticeNum").html("0");
if(!isNull(idsStr)){
- AjaxPostUtil.request({url: reqBasePath + "syseveusernotice006", params:{rowIds: idsStr}, type: 'json', callback: function (json) {
+ AjaxPostUtil.request({url: sysMainMation.noticeBasePath + "syseveusernotice006", params: {rowIds: idsStr}, type: 'json', callback: function (json) {
$.each(noticeList, function(index, item){
setTimeout(function (e) {
$(item).animate({'margin-left': '390px'}, 500, function() {
@@ -852,7 +852,7 @@ layui.config({
$(".winui-message-item").on("click", function (e) {
var _this = $(this);
parentRowId = _this.attr("rowid");
- AjaxPostUtil.request({url: reqBasePath + "syseveusernotice003", params:{rowId: parentRowId}, type: 'json', callback: function (json) {
+ AjaxPostUtil.request({url: sysMainMation.noticeBasePath + "syseveusernotice003", params: {rowId: parentRowId}, type: 'json', callback: function (json) {
_openNewWindows({
url: "../../tpl/index/noticeDetail.html",
title: "消息详情",
@@ -878,7 +878,7 @@ layui.config({
$(".notice-item-remove").on("click", function (e) {
var _this = $(this).parent().parent();
parentRowId = _this.attr("rowid");
- AjaxPostUtil.request({url: reqBasePath + "syseveusernotice004", params:{rowId: parentRowId}, type: 'json', callback: function (json) {
+ AjaxPostUtil.request({url: sysMainMation.noticeBasePath + "syseveusernotice004", params: {rowId: parentRowId}, type: 'json', callback: function (json) {
_this.animate({'margin-left': '390px'}, 500, function() {
_this.remove();
var noticeShowListLength = $("#notice-list").find(".winui-message-item").length;
diff --git a/web/src/main/resources/template/js/index/noticeDetail.js b/web/src/main/resources/template/js/index/noticeDetail.js
index 95c928077afca65e8b1cc415330faf27460af4d5..85946e68ad8cd10d777a48fa620ee518fd2dab0c 100644
--- a/web/src/main/resources/template/js/index/noticeDetail.js
+++ b/web/src/main/resources/template/js/index/noticeDetail.js
@@ -12,7 +12,7 @@ layui.config({
form = layui.form;
showGrid({
id: "notice-content",
- url: reqBasePath + "syseveusernotice007",
+ url: sysMainMation.noticeBasePath + "syseveusernotice007",
params: {rowId: parent.parentRowId},
pagination: false,
template: getFileContent('tpl/index/noticeDetailTemplate.tpl'),