123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- $(function () {
- 'use strict';
- BWA.Popup = BWA.Popup || {};
- BWA.Popup.ExecutionScheduleCalendarPopup = {
- create: function (viewModel) {
- var popupVisible = ko.observable(false);
- var selectedWorkSchedule = ko.observable();
- var eq = BWA.DataUtil.constructEqualFilter,
- and = BWA.DataUtil.andFilter,
- viewModel = viewModel;
- function handlePopupButtonClose() {
- popupVisible(false);
- }
- function handlePopupShowing(e) {
- }
- function handlePopupShown() {
- }
- var toolbarItems = [
- { location: 'before', text: '상세정보' },
- { location: 'after', widget: 'button', options: { text: $G('close'), icon: 'close', clickAction: handlePopupButtonClose } }
- ];
- var popupOptions = {
- width: '520px',
- height: 'auto',
- visible: popupVisible,
- closeOnOutsideClick: false,
- shading: false,
- showingAction: handlePopupShowing,
- shownAction: handlePopupShown,
- animation: utils.popup.createAnimation()
- };
- return {
- selectedWorkSchedule: selectedWorkSchedule,
- popupOptions: popupOptions,
- toolbarItems: toolbarItems,
- show: function () {
- popupVisible(true);
- }
- };
- }
- }
- });
|