diff --git a/jobdiary/src/main/resources/template/js/jobdiaryMyReceive/jobdiaryMyReceiveDayDetails.js b/jobdiary/src/main/resources/template/js/jobdiaryMyReceive/jobdiaryMyReceiveDayDetails.js index f381a41b2a7eef832915fd1620fb78aced6338d0..fa41c279868c461259871ca51fe2f0fc86f31157 100644 --- a/jobdiary/src/main/resources/template/js/jobdiaryMyReceive/jobdiaryMyReceiveDayDetails.js +++ b/jobdiary/src/main/resources/template/js/jobdiaryMyReceive/jobdiaryMyReceiveDayDetails.js @@ -12,8 +12,8 @@ layui.config({ showGrid({ id: "showForm", - url: reqBasePath + "diary004", - params: {rowId:parent.rowId}, + url: sysMainMation.jobdiaayBasePath + "diary004", + params: {rowId: parent.rowId}, pagination: false, template: getFileContent('tpl/jobdiaryMyReceive/jobdiaryMyReceiveDayDetailsTemplate.tpl'), ajaxSendAfter:function (json) { diff --git a/jobdiary/src/main/resources/template/js/jobdiaryMyReceive/jobdiaryMyReceiveList.js b/jobdiary/src/main/resources/template/js/jobdiaryMyReceive/jobdiaryMyReceiveList.js index d94540d151d00b073757718af42b89b06af32086..a48677f5ea3330d0638683880197653e91217b33 100644 --- a/jobdiary/src/main/resources/template/js/jobdiaryMyReceive/jobdiaryMyReceiveList.js +++ b/jobdiary/src/main/resources/template/js/jobdiaryMyReceive/jobdiaryMyReceiveList.js @@ -21,8 +21,8 @@ layui.config({ searchKey: 'userName', //搜索输入框的name值 默认keyword searchPlaceholder: '发件人搜索', //搜索输入框的提示文字 默认关键词搜索 table: { //定义表格参数,与LAYUI的TABLE模块一致,只是无需再定义表格elem - url: reqBasePath + 'diary003', - where: {userName:$("#userName").val()}, + url: sysMainMation.jobdiaayBasePath + 'diary003', + where: {userName: $("#userName").val()}, method: 'post', page: true, limits: getLimits(), @@ -66,7 +66,7 @@ layui.config({ id: 'messageTable', elem: '#messageTable', method: 'post', - url: reqBasePath + 'diary001', + url: sysMainMation.jobdiaayBasePath + 'diary001', where: getTableParams(), even: true, page: true, @@ -152,7 +152,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 + "diary008", params: {rowId: data.id}, type: 'json', callback: function (json) { + AjaxPostUtil.request({url: sysMainMation.jobdiaayBasePath + "diary008", params: {rowId: data.id}, type: 'json', callback: function (json) { winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000}); loadTable(); }}); @@ -177,7 +177,7 @@ layui.config({ // 我收到的日志全部设置为已读 function alreadyRead(){ - AjaxPostUtil.request({url: reqBasePath + "diary024", type: 'json', callback: function (json) { + AjaxPostUtil.request({url: sysMainMation.jobdiaayBasePath + "diary024", type: 'json', callback: function (json) { winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000}); loadTable(); }}); diff --git a/jobdiary/src/main/resources/template/js/jobdiaryMyReceive/jobdiaryMyReceiveMonthDetails.js b/jobdiary/src/main/resources/template/js/jobdiaryMyReceive/jobdiaryMyReceiveMonthDetails.js index e44c05b5e8dba7d86dca8ada0884333b3b3459c4..efd8c3e4dd0ef936780bad6424202638aafeb3e4 100644 --- a/jobdiary/src/main/resources/template/js/jobdiaryMyReceive/jobdiaryMyReceiveMonthDetails.js +++ b/jobdiary/src/main/resources/template/js/jobdiaryMyReceive/jobdiaryMyReceiveMonthDetails.js @@ -12,8 +12,8 @@ layui.config({ showGrid({ id: "showForm", - url: reqBasePath + "diary014", - params: {rowId:parent.rowId}, + url: sysMainMation.jobdiaayBasePath + "diary014", + params: {rowId: parent.rowId}, pagination: false, template: getFileContent('tpl/jobdiaryMyReceive/jobdiaryMyReceiveMonthDetailsTemplate.tpl'), ajaxSendAfter:function (json) { diff --git a/jobdiary/src/main/resources/template/js/jobdiaryMyReceive/jobdiaryMyReceiveTimeLine.js b/jobdiary/src/main/resources/template/js/jobdiaryMyReceive/jobdiaryMyReceiveTimeLine.js index 44c929dfe0c0bdd1a6ae119bf365b1f1350fc9cd..ea047066c4d5e96279260b37dcb070c09a9f61b6 100644 --- a/jobdiary/src/main/resources/template/js/jobdiaryMyReceive/jobdiaryMyReceiveTimeLine.js +++ b/jobdiary/src/main/resources/template/js/jobdiaryMyReceive/jobdiaryMyReceiveTimeLine.js @@ -43,7 +43,7 @@ layui.config({ params.lastTime = $("#createTime").val().split('~')[1].trim(); } //以jQuery的Ajax请求为例,请求下一页数据(注意:page是从2开始返回) - AjaxPostUtil.request({url: reqBasePath + "diary023", params: params, type: 'json', callback: function (json) { + AjaxPostUtil.request({url: sysMainMation.jobdiaayBasePath + "diary023", params: params, type: 'json', callback: function (json) { var jsonStr = "";//实体json对象 $.each(json.rows, function(index, bean) { if(index == 0 && page == 1){ diff --git a/jobdiary/src/main/resources/template/js/jobdiaryMyReceive/jobdiaryMyReceiveWeekDetails.js b/jobdiary/src/main/resources/template/js/jobdiaryMyReceive/jobdiaryMyReceiveWeekDetails.js index a7f9da8e60fa8533cd829f238d47663270087aab..3132584b8b986945ef4f03a53a8cbe6954ba6c36 100644 --- a/jobdiary/src/main/resources/template/js/jobdiaryMyReceive/jobdiaryMyReceiveWeekDetails.js +++ b/jobdiary/src/main/resources/template/js/jobdiaryMyReceive/jobdiaryMyReceiveWeekDetails.js @@ -12,8 +12,8 @@ layui.config({ showGrid({ id: "showForm", - url: reqBasePath + "diary011", - params: {rowId:parent.rowId}, + url: sysMainMation.jobdiaayBasePath + "diary011", + params: {rowId: parent.rowId}, pagination: false, template: getFileContent('tpl/jobdiaryMyReceive/jobdiaryMyReceiveWeekDetailsTemplate.tpl'), ajaxSendAfter:function (json) { diff --git a/jobdiary/src/main/resources/template/js/jobdiaryMySend/jobdiaryMySendDayDetails.js b/jobdiary/src/main/resources/template/js/jobdiaryMySend/jobdiaryMySendDayDetails.js index c066c8c9093f6696a1b93f6322d2c9be278dd18b..0bc16f6372343412a04dc4467a5bbffba7a8310a 100644 --- a/jobdiary/src/main/resources/template/js/jobdiaryMySend/jobdiaryMySendDayDetails.js +++ b/jobdiary/src/main/resources/template/js/jobdiaryMySend/jobdiaryMySendDayDetails.js @@ -11,8 +11,8 @@ layui.config({ var $ = layui.$; showGrid({ id: "showForm", - url: reqBasePath + "diary007", - params: {rowId:parent.rowId}, + url: sysMainMation.jobdiaayBasePath + "diary007", + params: {rowId: parent.rowId}, pagination: false, template: getFileContent('tpl/jobdiaryMySend/jobdiaryMySendDayDetailsTemplate.tpl'), ajaxSendLoadBefore: function(hdb){ diff --git a/jobdiary/src/main/resources/template/js/jobdiaryMySend/jobdiaryMySendDayEdit.js b/jobdiary/src/main/resources/template/js/jobdiaryMySend/jobdiaryMySendDayEdit.js index 5565a24aebf384b7bc202fa4c9b6fafd689b02bf..09a69c74fc44ee13353b112ad5292af11e9bde3a 100644 --- a/jobdiary/src/main/resources/template/js/jobdiaryMySend/jobdiaryMySendDayEdit.js +++ b/jobdiary/src/main/resources/template/js/jobdiaryMySend/jobdiaryMySendDayEdit.js @@ -74,8 +74,8 @@ layui.config({ showGrid({ id: "showForm", - url: reqBasePath + "diary016", - params: {rowId:parent.rowId}, + url: sysMainMation.jobdiaayBasePath + "diary016", + params: {rowId: parent.rowId}, pagination: false, template: getFileContent('tpl/jobdiaryMySend/jobdiaryMySendDayEditTemplate.tpl'), ajaxSendLoadBefore: function(hdb){ @@ -196,7 +196,7 @@ layui.config({ params.coordinaJob = encodeURIComponent($("#coordinatext").val().replace(/\n|\r\n/g, "
")); } - AjaxPostUtil.request({url: reqBasePath + "diary017", params: params, type: 'json', callback: function (json) { + AjaxPostUtil.request({url: sysMainMation.jobdiaayBasePath + "diary017", params: params, type: 'json', callback: function (json) { parent.layer.close(index); parent.refreshCode = '0'; }}); diff --git a/jobdiary/src/main/resources/template/js/jobdiaryMySend/jobdiaryMySendList.js b/jobdiary/src/main/resources/template/js/jobdiaryMySend/jobdiaryMySendList.js index 1576a10f0b482dbee1a17f4ffb2d9e9e4f5cbe38..52653e8e012bca36959037c100aaf29175570376 100644 --- a/jobdiary/src/main/resources/template/js/jobdiaryMySend/jobdiaryMySendList.js +++ b/jobdiary/src/main/resources/template/js/jobdiaryMySend/jobdiaryMySendList.js @@ -31,7 +31,7 @@ layui.config({ id: 'mysendTable', elem: '#mysendTable', method: 'post', - url: reqBasePath + 'diary005', + url: sysMainMation.jobdiaayBasePath + 'diary005', where: getTableParams(), even: true, page: true, @@ -95,7 +95,7 @@ layui.config({ function repeal(data){ layer.confirm('确认撤回选中数据吗?', { icon: 3, title: '撤回操作' }, function (index) { layer.close(index); - AjaxPostUtil.request({url: reqBasePath + "diary006", params: {rowId: data.id}, type: 'json', callback: function (json) { + AjaxPostUtil.request({url: sysMainMation.jobdiaayBasePath + "diary006", params: {rowId: data.id}, type: 'json', callback: function (json) { winui.window.msg("撤回成功", {icon: 1, time: 2000}); loadMySendTable(); }}); @@ -106,7 +106,7 @@ layui.config({ function mydel(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 + "diary015", params: {rowId: data.id}, type: 'json', callback: function (json) { + AjaxPostUtil.request({url: sysMainMation.jobdiaayBasePath + "diary015", params: {rowId: data.id}, type: 'json', callback: function (json) { winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000}); loadMySendTable(); }}); diff --git a/jobdiary/src/main/resources/template/js/jobdiaryMySend/jobdiaryMySendMonthDetails.js b/jobdiary/src/main/resources/template/js/jobdiaryMySend/jobdiaryMySendMonthDetails.js index 33d5ad2f1f71a346cd7fe8df7e91a416c2797a8e..661bf0e6aa841797d51e91e2228f2a27b7f63cf2 100644 --- a/jobdiary/src/main/resources/template/js/jobdiaryMySend/jobdiaryMySendMonthDetails.js +++ b/jobdiary/src/main/resources/template/js/jobdiaryMySend/jobdiaryMySendMonthDetails.js @@ -11,8 +11,8 @@ layui.config({ var $ = layui.$; showGrid({ id: "showForm", - url: reqBasePath + "diary013", - params: {rowId:parent.rowId}, + url: sysMainMation.jobdiaayBasePath + "diary013", + params: {rowId: parent.rowId}, pagination: false, template: getFileContent('tpl/jobdiaryMySend/jobdiaryMySendMonthDetailsTemplate.tpl'), ajaxSendAfter:function (json) { diff --git a/jobdiary/src/main/resources/template/js/jobdiaryMySend/jobdiaryMySendMonthEdit.js b/jobdiary/src/main/resources/template/js/jobdiaryMySend/jobdiaryMySendMonthEdit.js index d83c4143aefbbcb88e9b1415f6f4d9f03576652d..1977fd9037317ff57c25a3a2eafdad913917ad32 100644 --- a/jobdiary/src/main/resources/template/js/jobdiaryMySend/jobdiaryMySendMonthEdit.js +++ b/jobdiary/src/main/resources/template/js/jobdiaryMySend/jobdiaryMySendMonthEdit.js @@ -74,8 +74,8 @@ layui.config({ showGrid({ id: "showForm", - url: reqBasePath + "diary020", - params: {rowId:parent.rowId}, + url: sysMainMation.jobdiaayBasePath + "diary020", + params: {rowId: parent.rowId}, pagination: false, template: getFileContent('tpl/jobdiaryMySend/jobdiaryMySendMonthEditTemplate.tpl'), ajaxSendLoadBefore: function(hdb){ @@ -215,7 +215,7 @@ layui.config({ params.thisWorkSummary = encodeURIComponent($("#monthWorkSummaryText").val().replace(/\n|\r\n/g, "
")); } - AjaxPostUtil.request({url: reqBasePath + "diary021", params: params, type: 'json', callback: function (json) { + AjaxPostUtil.request({url: sysMainMation.jobdiaayBasePath + "diary021", params: params, type: 'json', callback: function (json) { parent.layer.close(index); parent.refreshCode = '0'; }}); diff --git a/jobdiary/src/main/resources/template/js/jobdiaryMySend/jobdiaryMySendPublish.js b/jobdiary/src/main/resources/template/js/jobdiaryMySend/jobdiaryMySendPublish.js index dd33432422c790c28119088b2208519eed39d2b8..280c623464ee25f5932fe0667d3088bec45e7936 100644 --- a/jobdiary/src/main/resources/template/js/jobdiaryMySend/jobdiaryMySendPublish.js +++ b/jobdiary/src/main/resources/template/js/jobdiaryMySend/jobdiaryMySendPublish.js @@ -192,7 +192,7 @@ layui.config({ params.coordinaJob = encodeURIComponent($("#coordinatext").val()); } - AjaxPostUtil.request({url: reqBasePath + "diary002", params: params, type: 'json', callback: function (json) { + AjaxPostUtil.request({url: sysMainMation.jobdiaayBasePath + "diary002", params: params, type: 'json', callback: function (json) { parent.layer.close(index); parent.refreshCode = '0'; }}); @@ -301,7 +301,7 @@ layui.config({ params.thisWorkSummary = encodeURIComponent($("#weekWorkSummaryText").val()); } - AjaxPostUtil.request({url: reqBasePath + "diary009", params: params, type: 'json', callback: function (json) { + AjaxPostUtil.request({url: sysMainMation.jobdiaayBasePath + "diary009", params: params, type: 'json', callback: function (json) { parent.layer.close(index); parent.refreshCode = '0'; }}); @@ -409,7 +409,7 @@ layui.config({ params.thisWorkSummary = encodeURIComponent($("#monthWorkSummaryText").val()); } - AjaxPostUtil.request({url: reqBasePath + "diary012", params: params, type: 'json', callback: function (json) { + AjaxPostUtil.request({url: sysMainMation.jobdiaayBasePath + "diary012", params: params, type: 'json', callback: function (json) { parent.layer.close(index); parent.refreshCode = '0'; }}); diff --git a/jobdiary/src/main/resources/template/js/jobdiaryMySend/jobdiaryMySendWeekDetails.js b/jobdiary/src/main/resources/template/js/jobdiaryMySend/jobdiaryMySendWeekDetails.js index 1573146337c37705e6c2c4f47ea56eb5f9aca8f6..cce0e5a2ae7ae53a6d4754210f30af78d0f089a3 100644 --- a/jobdiary/src/main/resources/template/js/jobdiaryMySend/jobdiaryMySendWeekDetails.js +++ b/jobdiary/src/main/resources/template/js/jobdiaryMySend/jobdiaryMySendWeekDetails.js @@ -11,8 +11,8 @@ layui.config({ var $ = layui.$; showGrid({ id: "showForm", - url: reqBasePath + "diary010", - params: {rowId:parent.rowId}, + url: sysMainMation.jobdiaayBasePath + "diary010", + params: {rowId: parent.rowId}, pagination: false, template: getFileContent('tpl/jobdiaryMySend/jobdiaryMySendWeekDetailsTemplate.tpl'), ajaxSendAfter:function (json) { diff --git a/jobdiary/src/main/resources/template/js/jobdiaryMySend/jobdiaryMySendWeekEdit.js b/jobdiary/src/main/resources/template/js/jobdiaryMySend/jobdiaryMySendWeekEdit.js index e8267021b876e0871093203cc8b1a522a5c04b7f..a85c11079ba0345ea613d526f404eae8572a554d 100644 --- a/jobdiary/src/main/resources/template/js/jobdiaryMySend/jobdiaryMySendWeekEdit.js +++ b/jobdiary/src/main/resources/template/js/jobdiaryMySend/jobdiaryMySendWeekEdit.js @@ -74,8 +74,8 @@ layui.config({ showGrid({ id: "showForm", - url: reqBasePath + "diary018", - params: {rowId:parent.rowId}, + url: sysMainMation.jobdiaayBasePath + "diary018", + params: {rowId: parent.rowId}, pagination: false, template: getFileContent('tpl/jobdiaryMySend/jobdiaryMySendWeekEditTemplate.tpl'), ajaxSendLoadBefore: function(hdb){ @@ -215,7 +215,7 @@ layui.config({ params.thisWorkSummary = encodeURIComponent($("#weekWorkSummaryText").val().replace(/\n|\r\n/g, "
")); } - AjaxPostUtil.request({url: reqBasePath + "diary019", params: params, type: 'json', callback: function (json) { + AjaxPostUtil.request({url: sysMainMation.jobdiaayBasePath + "diary019", params: params, type: 'json', callback: function (json) { parent.layer.close(index); parent.refreshCode = '0'; }}); diff --git a/jobdiary/src/main/resources/template/js/jobdiarySendStatistics/jobdiarySendStatistics.js b/jobdiary/src/main/resources/template/js/jobdiarySendStatistics/jobdiarySendStatistics.js index b96df8b609caff5f91deb7976dc4bf7c3d26a5cb..7c60ed1ece38aa5eda71be2731b3996a9bfd7dcd 100644 --- a/jobdiary/src/main/resources/template/js/jobdiarySendStatistics/jobdiarySendStatistics.js +++ b/jobdiary/src/main/resources/template/js/jobdiarySendStatistics/jobdiarySendStatistics.js @@ -95,7 +95,7 @@ layui.config({ firstTime: thefirstTime, lastTime: thesecondTime }; - AjaxPostUtil.request({url: reqBasePath + "diary022", params: params, type: 'json', callback: function (json) { + AjaxPostUtil.request({url: sysMainMation.jobdiaayBasePath + "diary022", params: params, type: 'json', callback: function (json) { ydata = json.rows; echartsPie.setOption({ series: {