From 0a01ec4bae8992ed70652b38e7f3e2276591e38a Mon Sep 17 00:00:00 2001
From: weizhiqiang <598748873@qq.com>
Date: Thu, 4 Aug 2022 22:11:38 +0800
Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=B8=9A=E5=8A=A1=E6=B5=81=E7=A8=8B?=
=?UTF-8?q?=E8=A7=84=E5=88=92=EF=BC=8C=E5=86=85=E9=83=A8=E9=80=9A=E5=91=8A?=
=?UTF-8?q?=EF=BC=8C=E6=97=A5=E7=A8=8B=E3=80=91=E6=8B=86=E5=88=86=E5=BE=AE?=
=?UTF-8?q?=E6=9C=8D=E5=8A=A1=E5=AE=8C=E6=88=90?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../js/knowledgetype/knowledgetypelist.js | 3 +--
.../tpl/knowledgetype/knowledgetypelist.html | 5 -----
.../template/js/mymessage/myNoticeList.js | 10 +++++-----
.../template/js/sysnotice/sysnoticeadd.js | 6 +++---
.../template/js/sysnotice/sysnoticedetails.js | 4 ++--
.../template/js/sysnotice/sysnoticeedit.js | 10 +++++-----
.../template/js/sysnotice/sysnoticelist.js | 12 +++++------
.../template/js/sysnotice/sysnoticetimeup.js | 2 +-
.../sysnoticefront/sysnoticefrontdetails.js | 2 +-
.../js/sysnoticefront/sysnoticefrontlist.js | 4 ++--
.../js/sysnoticetype/sysnoticetypeadd.js | 4 ++--
.../js/sysnoticetype/sysnoticetypeedit.js | 6 +++---
.../js/sysnoticetype/sysnoticetypelist.js | 20 +++++++++----------
.../template/js/flowChart/makeFlowChart.js | 8 ++++----
.../template/js/planProject/planProjectAdd.js | 2 +-
.../js/planProject/planProjectEdit.js | 4 ++--
.../js/planProject/planProjectList.js | 4 ++--
.../js/planProjectFlow/planProjectFlowAdd.js | 2 +-
.../js/planProjectFlow/planProjectFlowEdit.js | 4 ++--
.../template/js/index/addSchedule.js | 2 +-
.../resources/template/js/index/mySchedule.js | 10 +++++-----
.../template/js/myagency/myagency.js | 6 +++---
.../template/js/schedule/editschedule.js | 4 ++--
.../template/js/schedule/holidayschedule.js | 14 ++++++-------
.../js/schedule/myScheduleTableList.js | 2 +-
.../template/js/schedule/scheduleadd.js | 2 +-
.../template/js/schedule/setreminder.js | 2 +-
.../main/resources/template/js/index/index.js | 8 ++++----
.../template/js/index/noticeDetail.js | 2 +-
29 files changed, 79 insertions(+), 85 deletions(-)
diff --git a/knowlg/src/main/resources/template/js/knowledgetype/knowledgetypelist.js b/knowlg/src/main/resources/template/js/knowledgetype/knowledgetypelist.js
index 87c3175b5..75f9fccc0 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 9b583c5cc..6e10c1d9a 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 ee0af727c..2d00fd1f0 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 92772f147..c03811dd2 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 c373ddaff..8d0f21f54 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 49bd5c5ac..d5ff88ce6 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 a00f7269e..eaf3c70b6 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 fb49637f7..b94ef5150 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 7d7b3941b..0e907fe7b 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 fa77f85d4..01603253e 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 be273783d..1679a1638 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 66daf3670..f8036646f 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 4486a84d7..fb2daf031 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 65d92b84a..44e49cf41 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 1dab9683c..9e18d2a3d 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 428087bcb..05191f96d 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 dda42fa69..fad29cfb5 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 b70c09a36..a89433663 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 5b47141a5..08df8bec4 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 9b7791ff0..3e96ccf7a 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 2b34bfce3..e8f188cf1 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 3c3175501..f89bb10af 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 c5d4e2b0b..06ae34f0e 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 958400d8c..eb1ca911a 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 09fca94b8..0f8e8e077 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 e1e0d96ee..dcab07316 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 9a6478496..93d5ff4e8 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 26c01a9bc..e8e657637 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 95c928077..85946e68a 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'),
--
GitLab