/*值班人员管理*/ function openDutyPersonPage() { let layerIndex = layer.open({ id: "dutyPerson", title: false, type: 2, maxmin: false, content: '../dutyTask/schedulingChild/schedulingPerson.html', area: ['100%', '100%'], move: false, closeBtn: 0, success: function (layero, index) { } }); } /*用户绑定排班人员表*/ function userBanding(){ let layerIndex = layer.open({ id: "userBanding", title: false, type: 2, maxmin: false, content: '../dutyTask/schedulingChild/userBandingMge.html', area: ['100%', '100%'], move: false, closeBtn: 0, success: function (layero, index) { } }); } // 新增排班 function addSchedulingData(type) { if (hasData && !type) { return layer.msg('选中日期已添加排班人员', {icon: 7}) } let title = '新增排班' if(type){ title = '修改排班' } let dateRange = ''; $('.date-box').find('p').each(function () { if ($(this).hasClass('p-checked')) { dateRange = $(this).html(); } }) if (!dateRange) { return layer.msg('未选择日期', {icon: 7}) } let layerIndex = layer.open({ id: "dutyPerson", title: ['