From 96329d46eb3dfaa34830174aae87082f83b46b3b Mon Sep 17 00:00:00 2001 From: weizhiqiang <598748873@qq.com> Date: Fri, 5 Aug 2022 23:18:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E6=8A=A5=E6=A8=A1=E5=9D=97=E6=8B=86?= =?UTF-8?q?=E5=88=86=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../jobdiaryMyReceive/jobdiaryMyReceiveDayDetails.js | 4 ++-- .../js/jobdiaryMyReceive/jobdiaryMyReceiveList.js | 10 +++++----- .../jobdiaryMyReceive/jobdiaryMyReceiveMonthDetails.js | 4 ++-- .../js/jobdiaryMyReceive/jobdiaryMyReceiveTimeLine.js | 2 +- .../jobdiaryMyReceive/jobdiaryMyReceiveWeekDetails.js | 4 ++-- .../js/jobdiaryMySend/jobdiaryMySendDayDetails.js | 4 ++-- .../js/jobdiaryMySend/jobdiaryMySendDayEdit.js | 6 +++--- .../template/js/jobdiaryMySend/jobdiaryMySendList.js | 6 +++--- .../js/jobdiaryMySend/jobdiaryMySendMonthDetails.js | 4 ++-- .../js/jobdiaryMySend/jobdiaryMySendMonthEdit.js | 6 +++--- .../js/jobdiaryMySend/jobdiaryMySendPublish.js | 6 +++--- .../js/jobdiaryMySend/jobdiaryMySendWeekDetails.js | 4 ++-- .../js/jobdiaryMySend/jobdiaryMySendWeekEdit.js | 6 +++--- .../jobdiarySendStatistics/jobdiarySendStatistics.js | 2 +- 14 files changed, 34 insertions(+), 34 deletions(-) diff --git a/jobdiary/src/main/resources/template/js/jobdiaryMyReceive/jobdiaryMyReceiveDayDetails.js b/jobdiary/src/main/resources/template/js/jobdiaryMyReceive/jobdiaryMyReceiveDayDetails.js index f381a41b2..fa41c2798 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 d94540d15..a48677f5e 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 e44c05b5e..efd8c3e4d 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 44c929dfe..ea047066c 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 a7f9da8e6..3132584b8 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 c066c8c90..0bc16f637 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 5565a24ae..09a69c74f 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 1576a10f0..52653e8e0 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 33d5ad2f1..661bf0e6a 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 d83c4143a..1977fd903 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 dd3343242..280c62346 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 157314633..cce0e5a2a 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 e8267021b..a85c11079 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 b96df8b60..7c60ed1ec 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: { -- GitLab