From 77cc5eb16fd2165b11a1e8396911799091a74574 Mon Sep 17 00:00:00 2001 From: weizhiqiang <> Date: Wed, 17 Aug 2022 19:02:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=B6=E9=97=B4=E6=8F=92=E4=BB=B6=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../vehicleManageAccidentAdd.js | 14 ++----------- .../bossInterviewerList.js | 5 +---- .../bossInterviewQuitList.js | 5 +---- .../bossInterviewRegularWorkerList.js | 5 +---- .../arrangeInterviewerIsMyList.js | 5 +---- .../bossPersonRequireAllList.js | 5 +---- .../bossPersonRequireList.js | 5 +---- .../checkWorkBusinessTripDetails.js | 2 +- .../checkWorkBusinessTripList.js | 21 +++---------------- .../checkWorkMyAttendanceStatistics.js | 5 +---- .../checkWorkOvertimeList.js | 5 +---- .../storeHouseApproval/storeHouseOtherList.js | 5 +---- .../ifsSetOfBooks/ifsSetOfBooksListChoose.js | 10 ++------- .../resources/template/js/income/incomeAdd.js | 9 ++------ .../template/js/income/incomeList.js | 5 +---- .../jobdiaryMyReceiveList.js | 5 +---- .../jobdiaryMyReceiveTimeLine.js | 5 +---- .../js/jobdiaryMySend/jobdiaryMySendList.js | 5 +---- .../resources/template/js/mail/mailAdd.js | 8 ++----- .../resources/template/js/mail/mailEdit.js | 6 +----- .../template/js/sysnotice/sysnoticeadd.js | 7 ++----- .../template/js/sysnotice/sysnoticeedit.js | 7 ++----- .../template/js/sysnotice/sysnoticelist.js | 7 ++----- .../js/sysnoticefront/sysnoticefrontlist.js | 7 ++----- .../js/proproject/properfectinformation.js | 10 ++------- .../template/js/schedule/editschedule.js | 8 ++----- .../template/js/schedule/scheduleadd.js | 7 ++----- .../inComeStoreIntercourse.js | 5 +---- .../outComeStoreIntercourse.js | 5 +---- .../js/dwsurveydesign/designSurveyOp.js | 9 +------- .../sysEveUserStaffCapitalWaitPayMonthList.js | 5 +---- .../syseveuserstaff/syseveuserstaffleave.js | 7 ++----- .../template/js/sysworklog/sysworkloglist.js | 1 - .../wagesMyPaymentHistoryList.js | 5 +---- .../wagesSocialSecurityFundAdd.js | 6 +----- .../wagesSocialSecurityFundEdit.js | 6 +----- .../js/mySysWorkPlan/allSysWorkPlanList.js | 5 +---- .../mySysWorkPlan/myBranchSysWorkPlanList.js | 5 +---- .../mySysWorkPlan/myCreateSysWorkPlanList.js | 5 +---- .../js/mySysWorkPlan/mySysWorkPlanList.js | 5 +---- .../template/js/sysworkplan/sysworkplanadd.js | 13 ++---------- .../js/sysworkplan/sysworkplancomadd.js | 13 ++---------- .../js/sysworkplan/sysworkplancomedit.js | 8 +------ .../js/sysworkplan/sysworkplandepadd.js | 13 ++---------- .../js/sysworkplan/sysworkplandepedit.js | 8 +------ .../js/sysworkplan/sysworkplanedit.js | 8 +------ .../js/sysworkplan/sysworkplantiming.js | 8 +------ 47 files changed, 63 insertions(+), 265 deletions(-) diff --git a/admin-assistant/src/main/resources/template/js/vehicleManageAccident/vehicleManageAccidentAdd.js b/admin-assistant/src/main/resources/template/js/vehicleManageAccident/vehicleManageAccidentAdd.js index b967c57db..3536ca900 100644 --- a/admin-assistant/src/main/resources/template/js/vehicleManageAccident/vehicleManageAccidentAdd.js +++ b/admin-assistant/src/main/resources/template/js/vehicleManageAccident/vehicleManageAccidentAdd.js @@ -25,20 +25,10 @@ layui.config({ }); // 事故时间 - laydate.render({ - elem: '#accidentTime', - type: 'date', - max: getYMDFormatDate(),// 设置最大可选的日期 - trigger: 'click' - }); + laydate.render({elem: '#accidentTime', type: 'date', max: getYMDFormatDate(), trigger: 'click'}); // 送修时间段选择 - laydate.render({ - elem: '#repairTime', - type: 'date', - range: true, - trigger: 'click' - }); + laydate.render({elem: '#repairTime', type: 'date', range: true, trigger: 'click'}); skyeyeEnclosure.init('enclosureUpload'); matchingLanguage(); diff --git a/boss/src/main/resources/template/js/bossInterviewArrangement/bossInterviewerList.js b/boss/src/main/resources/template/js/bossInterviewArrangement/bossInterviewerList.js index 51ae2d090..c2d542e6d 100644 --- a/boss/src/main/resources/template/js/bossInterviewArrangement/bossInterviewerList.js +++ b/boss/src/main/resources/template/js/bossInterviewArrangement/bossInterviewerList.js @@ -13,10 +13,7 @@ layui.config({ laydate = layui.laydate, table = layui.table; - laydate.render({ - elem: '#createTime', - range: '~' - }); + laydate.render({elem: '#createTime', range: '~'}); table.render({ id: 'messageTable', diff --git a/boss/src/main/resources/template/js/bossInterviewQuit/bossInterviewQuitList.js b/boss/src/main/resources/template/js/bossInterviewQuit/bossInterviewQuitList.js index 058d607bd..0eb7d39af 100644 --- a/boss/src/main/resources/template/js/bossInterviewQuit/bossInterviewQuitList.js +++ b/boss/src/main/resources/template/js/bossInterviewQuit/bossInterviewQuitList.js @@ -16,10 +16,7 @@ layui.config({ // 新增 authBtn('1650894715778'); - laydate.render({ - elem: '#createTime', - range: '~' - }); + laydate.render({elem: '#createTime', range: '~'}); table.render({ id: 'messageTable', diff --git a/boss/src/main/resources/template/js/bossInterviewRegularWorker/bossInterviewRegularWorkerList.js b/boss/src/main/resources/template/js/bossInterviewRegularWorker/bossInterviewRegularWorkerList.js index 6ef7ac7f0..fcd60f369 100644 --- a/boss/src/main/resources/template/js/bossInterviewRegularWorker/bossInterviewRegularWorkerList.js +++ b/boss/src/main/resources/template/js/bossInterviewRegularWorker/bossInterviewRegularWorkerList.js @@ -16,10 +16,7 @@ layui.config({ // 新增 authBtn('1650787545029'); - laydate.render({ - elem: '#createTime', - range: '~' - }); + laydate.render({elem: '#createTime', range: '~'}); table.render({ id: 'messageTable', diff --git a/boss/src/main/resources/template/js/bossInterviewer/arrangeInterviewerIsMyList.js b/boss/src/main/resources/template/js/bossInterviewer/arrangeInterviewerIsMyList.js index 9b29e7519..aa58b1590 100644 --- a/boss/src/main/resources/template/js/bossInterviewer/arrangeInterviewerIsMyList.js +++ b/boss/src/main/resources/template/js/bossInterviewer/arrangeInterviewerIsMyList.js @@ -13,10 +13,7 @@ layui.config({ laydate = layui.laydate, table = layui.table; - laydate.render({ - elem: '#createTime', - range: '~' - }); + laydate.render({elem: '#createTime', range: '~'}); table.render({ id: 'messageTable', diff --git a/boss/src/main/resources/template/js/bossPersonRequire/bossPersonRequireAllList.js b/boss/src/main/resources/template/js/bossPersonRequire/bossPersonRequireAllList.js index b07e8f4bc..cf1830a24 100644 --- a/boss/src/main/resources/template/js/bossPersonRequire/bossPersonRequireAllList.js +++ b/boss/src/main/resources/template/js/bossPersonRequire/bossPersonRequireAllList.js @@ -13,10 +13,7 @@ layui.config({ laydate = layui.laydate, table = layui.table; - laydate.render({ - elem: '#createTime', - range: '~' - }); + laydate.render({elem: '#createTime', range: '~'}); table.render({ id: 'messageTable', diff --git a/boss/src/main/resources/template/js/bossPersonRequire/bossPersonRequireList.js b/boss/src/main/resources/template/js/bossPersonRequire/bossPersonRequireList.js index 0dce4e9e8..e8a397425 100644 --- a/boss/src/main/resources/template/js/bossPersonRequire/bossPersonRequireList.js +++ b/boss/src/main/resources/template/js/bossPersonRequire/bossPersonRequireList.js @@ -16,10 +16,7 @@ layui.config({ // 新增 authBtn('1649569413156'); - laydate.render({ - elem: '#createTime', - range: '~' - }); + laydate.render({elem: '#createTime', range: '~'}); table.render({ id: 'messageTable', diff --git a/checkwork/src/main/resources/template/js/checkWorkBusinessTrip/checkWorkBusinessTripDetails.js b/checkwork/src/main/resources/template/js/checkWorkBusinessTrip/checkWorkBusinessTripDetails.js index b84a6fe57..1a2769b0f 100644 --- a/checkwork/src/main/resources/template/js/checkWorkBusinessTrip/checkWorkBusinessTripDetails.js +++ b/checkwork/src/main/resources/template/js/checkWorkBusinessTrip/checkWorkBusinessTripDetails.js @@ -10,7 +10,7 @@ layui.config({ var $ = layui.$; AjaxPostUtil.request({url: flowableBasePath + "checkworkbusinesstrip003", params: {rowId: parent.rowId}, type: 'json', method: 'GET', callback: function(json) { - json.bean.stateName = getStateNameByState(json.bean.state, json.bean.stateName); + json.bean.stateName = activitiUtil.showStateName2(json.bean.state, 1); $("#showForm").html(getDataUseHandlebars($("#useTemplate").html(), json)); diff --git a/checkwork/src/main/resources/template/js/checkWorkBusinessTrip/checkWorkBusinessTripList.js b/checkwork/src/main/resources/template/js/checkWorkBusinessTrip/checkWorkBusinessTripList.js index 4c19ef589..1b7f4504a 100644 --- a/checkwork/src/main/resources/template/js/checkWorkBusinessTrip/checkWorkBusinessTripList.js +++ b/checkwork/src/main/resources/template/js/checkWorkBusinessTrip/checkWorkBusinessTripList.js @@ -19,10 +19,7 @@ layui.config({ authBtn('1617804801914'); // 申请时间 - laydate.render({ - elem: '#applyTime', - range: '~' - }); + laydate.render({elem: '#applyTime', range: '~'}); // 我的出差申请列表 table.render({ @@ -45,20 +42,8 @@ layui.config({ return '' + d.processInstanceId + ''; }}, { field: 'stateName', title: '状态', width: 90, templet: function (d) { - if(d.state == '0'){ - return "" + d.stateName + ""; - }else if(d.state == '1'){ - return "" + d.stateName + ""; - }else if(d.state == '2'){ - return "" + d.stateName + ""; - }else if(d.state == '3'){ - return "" + d.stateName + ""; - }else if(d.state == '4'){ - return "" + d.stateName + ""; - }else if(d.state == '5'){ - return "" + d.stateName + ""; - } - }}, + return activitiUtil.showStateName2(d.state, 1); + }}, { field: 'createTime', title: systemLanguage["com.skyeye.createTime"][languageType], width: 150 }, { title: systemLanguage["com.skyeye.operation"][languageType], fixed: 'right', align: 'center', width: 257, toolbar: '#messageTableBar'} ]], diff --git a/checkwork/src/main/resources/template/js/checkWorkMyAttendanceStatistics/checkWorkMyAttendanceStatistics.js b/checkwork/src/main/resources/template/js/checkWorkMyAttendanceStatistics/checkWorkMyAttendanceStatistics.js index 6abfa130f..c35879f52 100644 --- a/checkwork/src/main/resources/template/js/checkWorkMyAttendanceStatistics/checkWorkMyAttendanceStatistics.js +++ b/checkwork/src/main/resources/template/js/checkWorkMyAttendanceStatistics/checkWorkMyAttendanceStatistics.js @@ -14,10 +14,7 @@ layui.config({ laydate = layui.laydate; // 考勤日期选取时间段表格 - laydate.render({ - elem: '#checkDate', - range: '~' - }); + laydate.render({elem: '#checkDate', range: '~'}); // 获取当前登陆人的考勤班次 checkWorkUtil.getCurrentUserCheckWorkTimeList(function (json) { diff --git a/checkwork/src/main/resources/template/js/checkWorkOvertime/checkWorkOvertimeList.js b/checkwork/src/main/resources/template/js/checkWorkOvertime/checkWorkOvertimeList.js index 795f8b6d9..09b1b8c8f 100644 --- a/checkwork/src/main/resources/template/js/checkWorkOvertime/checkWorkOvertimeList.js +++ b/checkwork/src/main/resources/template/js/checkWorkOvertime/checkWorkOvertimeList.js @@ -19,10 +19,7 @@ layui.config({ authBtn('1618046226263'); // 申请时间 - laydate.render({ - elem: '#applyTime', - range: '~' - }); + laydate.render({elem: '#applyTime', range: '~'}); // 我的加班申请列表 table.render({ diff --git a/erp/src/main/resources/template/js/storeHouseApproval/storeHouseOtherList.js b/erp/src/main/resources/template/js/storeHouseApproval/storeHouseOtherList.js index 9ace74ed9..5f544a65f 100644 --- a/erp/src/main/resources/template/js/storeHouseApproval/storeHouseOtherList.js +++ b/erp/src/main/resources/template/js/storeHouseApproval/storeHouseOtherList.js @@ -20,10 +20,7 @@ layui.config({ var selOption = getFileContent('tpl/template/select-option-must.tpl'); - laydate.render({ - elem: '#operTime', //指定元素 - range: '~' - }); + laydate.render({elem: '#operTime', range: '~'}); initDepotHtml(); //初始化仓库 diff --git a/ifs/src/main/resources/template/js/ifsSetOfBooks/ifsSetOfBooksListChoose.js b/ifs/src/main/resources/template/js/ifsSetOfBooks/ifsSetOfBooksListChoose.js index cc40ab99b..abc3c3522 100644 --- a/ifs/src/main/resources/template/js/ifsSetOfBooks/ifsSetOfBooksListChoose.js +++ b/ifs/src/main/resources/template/js/ifsSetOfBooks/ifsSetOfBooksListChoose.js @@ -16,15 +16,9 @@ layui.config({ $("#showInfo").html("账套选择规则:双击指定行即可选中。"); - laydate.render({ - elem: '#startTime', - range: '~' - }); + laydate.render({elem: '#startTime', range: '~'}); - laydate.render({ - elem: '#endTime', - range: '~' - }); + laydate.render({elem: '#endTime', range: '~'}); table.render({ id: 'messageTable', diff --git a/ifs/src/main/resources/template/js/income/incomeAdd.js b/ifs/src/main/resources/template/js/income/incomeAdd.js index 6949a7940..963fff884 100644 --- a/ifs/src/main/resources/template/js/income/incomeAdd.js +++ b/ifs/src/main/resources/template/js/income/incomeAdd.js @@ -21,13 +21,8 @@ layui.config({ var selOption = getFileContent('tpl/template/select-option.tpl'); var handsPersonList = new Array();//经手人员 - //单据时间 - laydate.render({ - elem: '#operTime', - type: 'datetime', - value: getFormatDate(), - trigger: 'click' - }); + // 单据时间 + laydate.render({elem: '#operTime', type: 'datetime', value: getFormatDate(), trigger: 'click'}); // 初始化账户 systemCommonUtil.getSysAccountListByType(function (json) { diff --git a/ifs/src/main/resources/template/js/income/incomeList.js b/ifs/src/main/resources/template/js/income/incomeList.js index 95d21c07a..6f4a00587 100644 --- a/ifs/src/main/resources/template/js/income/incomeList.js +++ b/ifs/src/main/resources/template/js/income/incomeList.js @@ -17,10 +17,7 @@ layui.config({ authBtn('1571638020191');//新增 authBtn('1572313776196');//导出 - laydate.render({ - elem: '#billTime', - range: '~' - }); + laydate.render({elem: '#billTime', range: '~'}); function initloadTable() { table.render({ diff --git a/jobdiary/src/main/resources/template/js/jobdiaryMyReceive/jobdiaryMyReceiveList.js b/jobdiary/src/main/resources/template/js/jobdiaryMyReceive/jobdiaryMyReceiveList.js index 431f047a8..35f9a342a 100644 --- a/jobdiary/src/main/resources/template/js/jobdiaryMyReceive/jobdiaryMyReceiveList.js +++ b/jobdiary/src/main/resources/template/js/jobdiaryMyReceive/jobdiaryMyReceiveList.js @@ -54,10 +54,7 @@ layui.config({ }) // '看日报'页面的选取时间段表格 - laydate.render({ - elem: '#receivedTime', - range: '~' - }); + laydate.render({elem: '#receivedTime', range: '~'}); form.render(); diff --git a/jobdiary/src/main/resources/template/js/jobdiaryMyReceive/jobdiaryMyReceiveTimeLine.js b/jobdiary/src/main/resources/template/js/jobdiaryMyReceive/jobdiaryMyReceiveTimeLine.js index 5187d27c6..1a7c3edf5 100644 --- a/jobdiary/src/main/resources/template/js/jobdiaryMyReceive/jobdiaryMyReceiveTimeLine.js +++ b/jobdiary/src/main/resources/template/js/jobdiaryMyReceive/jobdiaryMyReceiveTimeLine.js @@ -13,10 +13,7 @@ layui.config({ flow = layui.flow; // 选取时间段表格 - laydate.render({ - elem: '#createTime', - range: '~' - }); + laydate.render({elem: '#createTime', range: '~'}); // 时间线日志列表模板 var timeTreeJobDiary = $("#timeTreeJobDiary").html(); diff --git a/jobdiary/src/main/resources/template/js/jobdiaryMySend/jobdiaryMySendList.js b/jobdiary/src/main/resources/template/js/jobdiaryMySend/jobdiaryMySendList.js index beae37aab..807d3d649 100644 --- a/jobdiary/src/main/resources/template/js/jobdiaryMySend/jobdiaryMySendList.js +++ b/jobdiary/src/main/resources/template/js/jobdiaryMySend/jobdiaryMySendList.js @@ -17,10 +17,7 @@ layui.config({ authBtn('1555748167744'); // '我发出的'页面的选取时间段表格 - laydate.render({ - elem: '#createTime', - range: '~' - }); + laydate.render({elem: '#createTime', range: '~'}); form.render(); diff --git a/mail/src/main/resources/template/js/mail/mailAdd.js b/mail/src/main/resources/template/js/mail/mailAdd.js index 5246a0bd1..72738ad59 100644 --- a/mail/src/main/resources/template/js/mail/mailAdd.js +++ b/mail/src/main/resources/template/js/mail/mailAdd.js @@ -23,12 +23,8 @@ layui.config({ } }); - //生日 - laydate.render({ - elem: '#birthday', //指定元素 - range: false, - max: getNowFormatDate() - }); + // 生日 + laydate.render({elem: '#birthday', range: false, max: getNowFormatDate()}); //通讯录类型变化事件 form.on('radio(category)', function (data) { diff --git a/mail/src/main/resources/template/js/mail/mailEdit.js b/mail/src/main/resources/template/js/mail/mailEdit.js index 8e6a93e3c..af6a87beb 100644 --- a/mail/src/main/resources/template/js/mail/mailEdit.js +++ b/mail/src/main/resources/template/js/mail/mailEdit.js @@ -47,11 +47,7 @@ layui.config({ }); // 生日 - laydate.render({ - elem: '#birthday', //指定元素 - range: false, - max: getNowFormatDate() - }); + laydate.render({elem: '#birthday', range: false, max: getNowFormatDate()}); // 通讯录类型变化事件 form.on('radio(category)', function (data) { diff --git a/message/src/main/resources/template/js/sysnotice/sysnoticeadd.js b/message/src/main/resources/template/js/sysnotice/sysnoticeadd.js index 18ab81916..e982c80ed 100644 --- a/message/src/main/resources/template/js/sysnotice/sysnoticeadd.js +++ b/message/src/main/resources/template/js/sysnotice/sysnoticeadd.js @@ -77,11 +77,8 @@ layui.config({ } }); - //定时通知时间选择器 - laydate.render({ - elem: '#delayedTime' - ,type: 'datetime' - }); + // 定时通知时间选择器 + laydate.render({elem: '#delayedTime', type: 'datetime'}); //公告内容富文本框 var content = layedit.build('content', { diff --git a/message/src/main/resources/template/js/sysnotice/sysnoticeedit.js b/message/src/main/resources/template/js/sysnotice/sysnoticeedit.js index 083d5b80d..09aa41cfb 100644 --- a/message/src/main/resources/template/js/sysnotice/sysnoticeedit.js +++ b/message/src/main/resources/template/js/sysnotice/sysnoticeedit.js @@ -79,11 +79,8 @@ layui.config({ } }); - //定时通知时间选择器 - laydate.render({ - elem: '#delayedTime' - ,type: 'datetime' - }); + // 定时通知时间选择器 + laydate.render({elem: '#delayedTime', type: 'datetime'}); //设置群发类型 $("input:radio[name=sendType][value=" + json.bean.sendType + "]").attr("checked", true); diff --git a/message/src/main/resources/template/js/sysnotice/sysnoticelist.js b/message/src/main/resources/template/js/sysnotice/sysnoticelist.js index 2a67bec83..c6d6b6e73 100644 --- a/message/src/main/resources/template/js/sysnotice/sysnoticelist.js +++ b/message/src/main/resources/template/js/sysnotice/sysnoticelist.js @@ -14,11 +14,8 @@ layui.config({ soulTable = layui.soulTable, table = layui.table; - //公告上线时间时间段表格 - laydate.render({ - elem: '#upTime', - range: '~' - }); + // 公告上线时间时间段表格 + laydate.render({elem: '#upTime', range: '~'}); authBtn('1561973831412'); diff --git a/message/src/main/resources/template/js/sysnoticefront/sysnoticefrontlist.js b/message/src/main/resources/template/js/sysnoticefront/sysnoticefrontlist.js index e05fb376a..a5846c9b4 100644 --- a/message/src/main/resources/template/js/sysnoticefront/sysnoticefrontlist.js +++ b/message/src/main/resources/template/js/sysnoticefront/sysnoticefrontlist.js @@ -14,11 +14,8 @@ layui.config({ laydate = layui.laydate, table = layui.table; - //公告上线时间时间段表格 - laydate.render({ - elem: '#upTime', //指定元素 - range: '~' - }); + // 公告上线时间时间段表格 + laydate.render({elem: '#upTime', range: '~'}); function showList(){ table.render({ diff --git a/pro/src/main/resources/template/js/proproject/properfectinformation.js b/pro/src/main/resources/template/js/proproject/properfectinformation.js index d4d8cdb31..5407a4d2d 100644 --- a/pro/src/main/resources/template/js/proproject/properfectinformation.js +++ b/pro/src/main/resources/template/js/proproject/properfectinformation.js @@ -60,15 +60,9 @@ layui.config({ ue.setContent("在此处填写您的[项目成果和总结]"); }); - laydate.render({ - elem: '#actualStartTime', - value: json.bean.actualStartTime - }); + laydate.render({elem: '#actualStartTime', value: json.bean.actualStartTime}); - laydate.render({ - elem: '#actualEndTime', - value: json.bean.actualEndTime - }); + laydate.render({elem: '#actualEndTime', value: json.bean.actualEndTime}); matchingLanguage(); form.render(); diff --git a/schedule/src/main/resources/template/js/schedule/editschedule.js b/schedule/src/main/resources/template/js/schedule/editschedule.js index 06ae34f0e..ea17e437c 100644 --- a/schedule/src/main/resources/template/js/schedule/editschedule.js +++ b/schedule/src/main/resources/template/js/schedule/editschedule.js @@ -20,12 +20,8 @@ layui.config({ pagination: false, template: getFileContent('tpl/schedule/editscheduleTemplate.tpl'), ajaxSendAfter:function (json) { - //编辑节假日选取时间段 - laydate.render({ - elem: '#holidayTime', //指定元素 - range: '~', - value: json.bean.scheduleStartTime + ' ~ ' + json.bean.scheduleEndTime - }); + // 编辑节假日选取时间段 + laydate.render({elem: '#holidayTime', range: '~', value: json.bean.scheduleStartTime + ' ~ ' + json.bean.scheduleEndTime}); matchingLanguage(); form.render(); form.on('submit(formBean)', function (data) { diff --git a/schedule/src/main/resources/template/js/schedule/scheduleadd.js b/schedule/src/main/resources/template/js/schedule/scheduleadd.js index dcab07316..1aaaa6b34 100644 --- a/schedule/src/main/resources/template/js/schedule/scheduleadd.js +++ b/schedule/src/main/resources/template/js/schedule/scheduleadd.js @@ -13,11 +13,8 @@ layui.config({ var $ = layui.$; laydate = layui.laydate; - //新增节假日选取时间段 - laydate.render({ - elem: '#holidayTime', - range: '~' - }); + // 新增节假日选取时间段 + laydate.render({elem: '#holidayTime', range: '~'}); matchingLanguage(); form.render(); diff --git a/shop/src/main/resources/template/js/storeIntercourse/inComeStoreIntercourse.js b/shop/src/main/resources/template/js/storeIntercourse/inComeStoreIntercourse.js index 17b50612d..5dcd86e94 100644 --- a/shop/src/main/resources/template/js/storeIntercourse/inComeStoreIntercourse.js +++ b/shop/src/main/resources/template/js/storeIntercourse/inComeStoreIntercourse.js @@ -24,10 +24,7 @@ layui.config({ table.reloadData("messageTable", {page: {curr: 1}, where: getTableParams()}) }); - laydate.render({ - elem: '#intercourseTime', - range: '~' - }); + laydate.render({elem: '#intercourseTime', range: '~'}); table.render({ id: 'messageTable', diff --git a/shop/src/main/resources/template/js/storeIntercourse/outComeStoreIntercourse.js b/shop/src/main/resources/template/js/storeIntercourse/outComeStoreIntercourse.js index 9e6389ae2..0d17308ec 100644 --- a/shop/src/main/resources/template/js/storeIntercourse/outComeStoreIntercourse.js +++ b/shop/src/main/resources/template/js/storeIntercourse/outComeStoreIntercourse.js @@ -24,10 +24,7 @@ layui.config({ table.reloadData("messageTable", {page: {curr: 1}, where: getTableParams()}) }); - laydate.render({ - elem: '#intercourseTime', - range: '~' - }); + laydate.render({elem: '#intercourseTime', range: '~'}); table.render({ id: 'messageTable', diff --git a/survey/src/main/resources/template/js/dwsurveydesign/designSurveyOp.js b/survey/src/main/resources/template/js/dwsurveydesign/designSurveyOp.js index a869f7b83..6b03e06bb 100644 --- a/survey/src/main/resources/template/js/dwsurveydesign/designSurveyOp.js +++ b/survey/src/main/resources/template/js/dwsurveydesign/designSurveyOp.js @@ -42,13 +42,7 @@ layui.config({ }, ajaxSendAfter:function (json) { - laydate.render({ - elem: '#endTime', //指定元素 - format: 'yyyy-MM-dd HH:mm:ss', - type: 'datetime', - min:minDate(), - theme: 'grid' - }); + laydate.render({elem: '#endTime', format: 'yyyy-MM-dd HH:mm:ss', type: 'datetime', min: minDate(), theme: 'grid'}); if(json.bean.ynEndTime == '1'){ $("#endTimeHide").hide(); @@ -93,7 +87,6 @@ layui.config({ }); form.on('submit(formAddBean)', function (data) { - if (winui.verifyForm(data.elem)) { var params = { rowId: parent.parent.rowId diff --git a/userauth/src/main/resources/template/js/sysEveUserStaffCapital/sysEveUserStaffCapitalWaitPayMonthList.js b/userauth/src/main/resources/template/js/sysEveUserStaffCapital/sysEveUserStaffCapitalWaitPayMonthList.js index 7e9838af9..a583c6699 100644 --- a/userauth/src/main/resources/template/js/sysEveUserStaffCapital/sysEveUserStaffCapitalWaitPayMonthList.js +++ b/userauth/src/main/resources/template/js/sysEveUserStaffCapital/sysEveUserStaffCapitalWaitPayMonthList.js @@ -11,10 +11,7 @@ layui.config({ table = layui.table, laydate = layui.laydate; - laydate.render({ - elem: '#monthTime', - type: 'month' - }); + laydate.render({elem: '#monthTime', type: 'month' }); table.render({ id: 'messageTable', diff --git a/userauth/src/main/resources/template/js/syseveuserstaff/syseveuserstaffleave.js b/userauth/src/main/resources/template/js/syseveuserstaff/syseveuserstaffleave.js index d193ebbbb..ba151e8ee 100644 --- a/userauth/src/main/resources/template/js/syseveuserstaff/syseveuserstaffleave.js +++ b/userauth/src/main/resources/template/js/syseveuserstaff/syseveuserstaffleave.js @@ -12,11 +12,8 @@ layui.config({ laydate = layui.laydate, form = layui.form; - //选择离职时间 - laydate.render({ - elem: '#quitTime', - range: false - }); + // 选择离职时间 + laydate.render({elem: '#quitTime', range: false}); matchingLanguage(); form.render(); diff --git a/userauth/src/main/resources/template/js/sysworklog/sysworkloglist.js b/userauth/src/main/resources/template/js/sysworklog/sysworkloglist.js index 1fd97740e..2352b9e72 100644 --- a/userauth/src/main/resources/template/js/sysworklog/sysworkloglist.js +++ b/userauth/src/main/resources/template/js/sysworklog/sysworkloglist.js @@ -6,7 +6,6 @@ layui.config({ window: 'js/winui.window' }).define(['window', 'table', 'jquery', 'winui'], function (exports) { winui.renderColor(); - var $ = layui.$, table = layui.table; diff --git a/wages/src/main/resources/template/js/wagesPaymentHistory/wagesMyPaymentHistoryList.js b/wages/src/main/resources/template/js/wagesPaymentHistory/wagesMyPaymentHistoryList.js index 2aff30c33..b9674dec2 100644 --- a/wages/src/main/resources/template/js/wagesPaymentHistory/wagesMyPaymentHistoryList.js +++ b/wages/src/main/resources/template/js/wagesPaymentHistory/wagesMyPaymentHistoryList.js @@ -14,10 +14,7 @@ layui.config({ table = layui.table, laydate = layui.laydate; - laydate.render({ - elem: '#payMonth', - type: 'month' - }); + laydate.render({elem: '#payMonth', type: 'month'}); // 获取我的薪资发放历史列表 table.render({ diff --git a/wages/src/main/resources/template/js/wagesSocialSecurityFund/wagesSocialSecurityFundAdd.js b/wages/src/main/resources/template/js/wagesSocialSecurityFund/wagesSocialSecurityFundAdd.js index a83aa6146..71cd24592 100644 --- a/wages/src/main/resources/template/js/wagesSocialSecurityFund/wagesSocialSecurityFundAdd.js +++ b/wages/src/main/resources/template/js/wagesSocialSecurityFund/wagesSocialSecurityFundAdd.js @@ -21,11 +21,7 @@ layui.config({ form = layui.form, laydate = layui.laydate; - laydate.render({ - elem: '#executeMonth', - type: 'month', - range: '~' - }); + laydate.render({elem: '#executeMonth', type: 'month', range: '~'}); skyeyeEnclosure.init('enclosureUpload'); matchingLanguage(); diff --git a/wages/src/main/resources/template/js/wagesSocialSecurityFund/wagesSocialSecurityFundEdit.js b/wages/src/main/resources/template/js/wagesSocialSecurityFund/wagesSocialSecurityFundEdit.js index 3661e6825..fe1e24b6d 100644 --- a/wages/src/main/resources/template/js/wagesSocialSecurityFund/wagesSocialSecurityFundEdit.js +++ b/wages/src/main/resources/template/js/wagesSocialSecurityFund/wagesSocialSecurityFundEdit.js @@ -30,11 +30,7 @@ layui.config({ template: $("#beanTemplate").html(), ajaxSendLoadBefore: function(hdb){}, ajaxSendAfter:function (json) { - laydate.render({ - elem: '#executeMonth', - type: 'month', - range: '~' - }); + laydate.render({elem: '#executeMonth', type: 'month', range: '~'}); if (!isNull(json.bean.company)){ companyList = json.bean.company; diff --git a/workplan/src/main/resources/template/js/mySysWorkPlan/allSysWorkPlanList.js b/workplan/src/main/resources/template/js/mySysWorkPlan/allSysWorkPlanList.js index a3c2ad5f9..209199c1b 100644 --- a/workplan/src/main/resources/template/js/mySysWorkPlan/allSysWorkPlanList.js +++ b/workplan/src/main/resources/template/js/mySysWorkPlan/allSysWorkPlanList.js @@ -12,10 +12,7 @@ layui.config({ table = layui.table, laydate = layui.laydate; - laydate.render({ - elem: '#executeTime', - range: '~' - }); + laydate.render({elem: '#executeTime', range: '~'}); // 获取所有任务计划列表 table.render({ diff --git a/workplan/src/main/resources/template/js/mySysWorkPlan/myBranchSysWorkPlanList.js b/workplan/src/main/resources/template/js/mySysWorkPlan/myBranchSysWorkPlanList.js index 417344350..7554fe855 100644 --- a/workplan/src/main/resources/template/js/mySysWorkPlan/myBranchSysWorkPlanList.js +++ b/workplan/src/main/resources/template/js/mySysWorkPlan/myBranchSysWorkPlanList.js @@ -13,10 +13,7 @@ layui.config({ table = layui.table, laydate = layui.laydate; - laydate.render({ - elem: '#executeTime', - range: '~' - }); + laydate.render({elem: '#executeTime', range: '~'}); // 获取我的下属的任务计划列表 table.render({ diff --git a/workplan/src/main/resources/template/js/mySysWorkPlan/myCreateSysWorkPlanList.js b/workplan/src/main/resources/template/js/mySysWorkPlan/myCreateSysWorkPlanList.js index 5d410fd03..a087c0a19 100644 --- a/workplan/src/main/resources/template/js/mySysWorkPlan/myCreateSysWorkPlanList.js +++ b/workplan/src/main/resources/template/js/mySysWorkPlan/myCreateSysWorkPlanList.js @@ -12,10 +12,7 @@ layui.config({ table = layui.table, laydate = layui.laydate; - laydate.render({ - elem: '#executeTime', - range: '~' - }); + laydate.render({elem: '#executeTime', range: '~'}); // 获取我创建的任务计划列表 table.render({ diff --git a/workplan/src/main/resources/template/js/mySysWorkPlan/mySysWorkPlanList.js b/workplan/src/main/resources/template/js/mySysWorkPlan/mySysWorkPlanList.js index 9f53401d1..50dccf98c 100644 --- a/workplan/src/main/resources/template/js/mySysWorkPlan/mySysWorkPlanList.js +++ b/workplan/src/main/resources/template/js/mySysWorkPlan/mySysWorkPlanList.js @@ -13,10 +13,7 @@ layui.config({ table = layui.table, laydate = layui.laydate; - laydate.render({ - elem: '#executeTime', - range: '~' - }); + laydate.render({elem: '#executeTime', range: '~'}); // 获取我的任务计划列表 table.render({ diff --git a/workplan/src/main/resources/template/js/sysworkplan/sysworkplanadd.js b/workplan/src/main/resources/template/js/sysworkplan/sysworkplanadd.js index a2b43ab82..c5d6dfab8 100644 --- a/workplan/src/main/resources/template/js/sysworkplan/sysworkplanadd.js +++ b/workplan/src/main/resources/template/js/sysworkplan/sysworkplanadd.js @@ -25,13 +25,7 @@ layui.config({ layedit = layui.layedit; var myDate = new Date(); //获取当前时间 - laydate.render({ - elem: '#notifyTime', - type: 'datetime', - min: myDate.toLocaleString(), - done: function(value, date, endDate){ - } - }); + laydate.render({elem: '#notifyTime', type: 'datetime', min: myDate.toLocaleString(), done: function(value, date, endDate) {}}); if (!isNull(parent.timeSolt)){ // 如果父页面传递时间段 @@ -41,10 +35,7 @@ layui.config({ } else { $(".hand-down-time").addClass("layui-hide"); $(".choose-time").removeClass("layui-hide"); - laydate.render({ - elem: '#executeTime', - range: '~' - }); + laydate.render({elem: '#executeTime', range: '~'}); } if (!isNull(parent.nowCheckType)){ diff --git a/workplan/src/main/resources/template/js/sysworkplan/sysworkplancomadd.js b/workplan/src/main/resources/template/js/sysworkplan/sysworkplancomadd.js index db155bee8..72348fd42 100644 --- a/workplan/src/main/resources/template/js/sysworkplan/sysworkplancomadd.js +++ b/workplan/src/main/resources/template/js/sysworkplan/sysworkplancomadd.js @@ -25,13 +25,7 @@ layui.config({ layedit = layui.layedit; var myDate = new Date(); //获取当前时间 - laydate.render({ - elem: '#notifyTime', - type: 'datetime', - min: myDate.toLocaleString(), - done: function(value, date, endDate){ - } - }); + laydate.render({elem: '#notifyTime', type: 'datetime', min: myDate.toLocaleString(), done: function(value, date, endDate) {}}); if (!isNull(parent.timeSolt)){ // 如果父页面传递时间段 @@ -41,10 +35,7 @@ layui.config({ } else { $(".hand-down-time").addClass("layui-hide"); $(".choose-time").removeClass("layui-hide"); - laydate.render({ - elem: '#executeTime', - range: '~' - }); + laydate.render({elem: '#executeTime', range: '~'}); } if (!isNull(parent.nowCheckType)){ diff --git a/workplan/src/main/resources/template/js/sysworkplan/sysworkplancomedit.js b/workplan/src/main/resources/template/js/sysworkplan/sysworkplancomedit.js index 56364c413..a803813d2 100644 --- a/workplan/src/main/resources/template/js/sysworkplan/sysworkplancomedit.js +++ b/workplan/src/main/resources/template/js/sysworkplan/sysworkplancomedit.js @@ -26,13 +26,7 @@ layui.config({ layedit = layui.layedit; var myDate = new Date(); //获取当前时间 - laydate.render({ - elem: '#notifyTime', - type: 'datetime', - min: myDate.toLocaleString(), - done: function(value, date, endDate){ - } - }); + laydate.render({elem: '#notifyTime', type: 'datetime', min: myDate.toLocaleString(), done: function(value, date, endDate) {}}); var carryPeople = "";//指定人员id diff --git a/workplan/src/main/resources/template/js/sysworkplan/sysworkplandepadd.js b/workplan/src/main/resources/template/js/sysworkplan/sysworkplandepadd.js index cead20188..3fcc0ccdc 100644 --- a/workplan/src/main/resources/template/js/sysworkplan/sysworkplandepadd.js +++ b/workplan/src/main/resources/template/js/sysworkplan/sysworkplandepadd.js @@ -25,13 +25,7 @@ layui.config({ layedit = layui.layedit; var myDate = new Date(); //获取当前时间 - laydate.render({ - elem: '#notifyTime', - type: 'datetime', - min: myDate.toLocaleString(), - done: function(value, date, endDate){ - } - }); + laydate.render({elem: '#notifyTime', type: 'datetime', min: myDate.toLocaleString(), done: function(value, date, endDate) {}}); if (!isNull(parent.timeSolt)){ // 如果父页面传递时间段 @@ -41,10 +35,7 @@ layui.config({ } else { $(".hand-down-time").addClass("layui-hide"); $(".choose-time").removeClass("layui-hide"); - laydate.render({ - elem: '#executeTime', - range: '~' - }); + laydate.render({elem: '#executeTime', range: '~'}); } if (!isNull(parent.nowCheckType)){ diff --git a/workplan/src/main/resources/template/js/sysworkplan/sysworkplandepedit.js b/workplan/src/main/resources/template/js/sysworkplan/sysworkplandepedit.js index 0644569eb..998b76536 100644 --- a/workplan/src/main/resources/template/js/sysworkplan/sysworkplandepedit.js +++ b/workplan/src/main/resources/template/js/sysworkplan/sysworkplandepedit.js @@ -26,13 +26,7 @@ layui.config({ layedit = layui.layedit; var myDate = new Date(); //获取当前时间 - laydate.render({ - elem: '#notifyTime', - type: 'datetime', - min: myDate.toLocaleString(), - done: function(value, date, endDate){ - } - }); + laydate.render({elem: '#notifyTime', type: 'datetime', min: myDate.toLocaleString(), done: function(value, date, endDate) {}}); AjaxPostUtil.request({url: sysMainMation.workplanBasePath + "sysworkplan007", params: {planId: parent.rowId}, type: 'json', callback: function (json) { nowCheckType = json.bean.planCycle; diff --git a/workplan/src/main/resources/template/js/sysworkplan/sysworkplanedit.js b/workplan/src/main/resources/template/js/sysworkplan/sysworkplanedit.js index 5b90b2db1..60d9d60f9 100644 --- a/workplan/src/main/resources/template/js/sysworkplan/sysworkplanedit.js +++ b/workplan/src/main/resources/template/js/sysworkplan/sysworkplanedit.js @@ -26,13 +26,7 @@ layui.config({ layedit = layui.layedit; var myDate = new Date(); //获取当前时间 - laydate.render({ - elem: '#notifyTime', - type: 'datetime', - min: myDate.toLocaleString(), - done: function(value, date, endDate){ - } - }); + laydate.render({elem: '#notifyTime', type: 'datetime', min: myDate.toLocaleString(), done: function(value, date, endDate) {}}); AjaxPostUtil.request({url: sysMainMation.workplanBasePath + "sysworkplan007", params: {planId: parent.rowId}, type: 'json', callback: function (json) { nowCheckType = json.bean.planCycle; diff --git a/workplan/src/main/resources/template/js/sysworkplan/sysworkplantiming.js b/workplan/src/main/resources/template/js/sysworkplan/sysworkplantiming.js index 8dffeafad..b7bc6df7d 100644 --- a/workplan/src/main/resources/template/js/sysworkplan/sysworkplantiming.js +++ b/workplan/src/main/resources/template/js/sysworkplan/sysworkplantiming.js @@ -13,13 +13,7 @@ layui.config({ laydate = layui.laydate; var myDate = new Date(); //获取当前时间 - laydate.render({ - elem: '#notifyTime', - type: 'datetime', - min: myDate.toLocaleString(), - done: function(value, date, endDate){ - } - }); + laydate.render({elem: '#notifyTime', type: 'datetime', min: myDate.toLocaleString(), done: function(value, date, endDate) {}}); matchingLanguage(); form.render(); -- GitLab