{"version":3,"sources":["Function/Function.js","Scheduler/Scheduler.js","Scheduler/Loading/Loading.js","Scheduler/Modal/ClickEventModal.js","Scheduler/Modal/MoveEventModal.js","Scheduler/NavBar/NavBar.js","config.js","User.js","Auth.js","Login/Login.js","Logout/Logout.js","App.js","serviceWorker.js","index.js"],"names":["formatDate","date","format","replace","getFullYear","getMonth","slice","getDate","getHours","getMinutes","getSeconds","match","milliSeconds","getMilliseconds","length","i","substring","hankaku2Zenkaku","str","s","String","fromCharCode","charCodeAt","getDayOfWeek","dateStr","Date","getDay","blackOrWhite","hexcolor","parseInt","Scheduler","props","handleSortChange","value","schedulerData","setResources","setEvents","selectedSort","setState","viewModel","selectedLine","selectedArticle","isLoading","startDate","endDate","getFMSchdules","then","res","linestatus","lines","articles","handleLineChange","state","handleArticleChange","handlePrevClick","prev","handleNextClick","viewType","ViewTypes","Custom","localeMoment","add","DATE_FORMAT","next","handleViewChange","view","setViewType","showAgenda","isEventPerspective","localStorage","setItem","JSON","stringify","handleSelectDate","setDate","eventClicked","event","start","modalParam","resources","find","v","id","resourceId","partflg","UUID","製品番号","立米","配合","ステータス","出荷日テキスト","出荷日テキストフラグ","日付","備考","備考フラグ","clickEventOpenModal","handleSelectedDateUpdateButtonClicked","a","renderData","events","window","confirm","scriptparam","clickEventRefStatus","current","clickEventRefText","従業員UUID","User","getUserId","json","Buffer","toString","axios","post","API_URL","result","data","scriptResult","parse","decodeURIComponent","escape","atob","response","fmevents","error_code","alert","clickEventModalIsOpen","forEach","item","filter","expanded","toggleExpandStatus","slotId","newEvent","slotName","end","type","handleBikouUpdateButtonClicked","split","articleUUID","katawaku","buiCode","lineCode","bikou","物件UUID","部位コード","製造ラインコード","型枠番号","備考UUID","title","push","splice","findIndex","handleSyukkaUpdateButtonClicked","text","出荷日テキストUUID","moveEvent","beforeArticleUUID","beforeKatawaku","beforeBuiCode","beforeLineCode","beforeLineName","製造ライン名称","afterLineName","after","afterArticleUUID","afterKatawaku","afterBuiCode","afterLineCode","beforeDate","afterDate","変更元型枠番号","変更元予定日","変更先予定日","最終日","変更元製造ラインコード","型枠調整フラグ","製造ライン調整フラグ","moveEventOpenModal","変更先リソースID","変更先型枠番号","変更先製造ラインコード","変更元製造ライン名称","変更先製造ライン名称","handleSelectedDateMoveButtonClicked","layout","script","Promise","reject","moveEventModalIsOpen","catch","error","console","log","bugakarijson","bugakari","headers","time","休日","nonWorkingTime","型枠数","打設数","打設量","計画人工合計","配置予定人工合計","実施人工合計","差異","handleSelectedDateAndLaterMoveButtonClicked","handleKatawakuMoveButtonClicked","afterResourceId","afterkatawaku","beforelineCode","afterlineCode","変更先_型枠番号","handleToggleExpand","handleCheckedChanged","checkedValues","handleScaleChange","scale","dummy","eventItemTemplateResolver","bgColor","isStart","isEnd","mustAddCssClass","mustBeHeight","agendaMaxEventWidth","key","className","checkedValue","status","bgcolor","undefined","color","style","backgroundColor","slotItemTemplateResolver","slot","slotClickedFunc","width","clsName","indents","groupclass","groupOnly","indent","hasChildren","onClick","textAlign","nonAgendaCellHeaderTemplateResolver","formattedDateItems","content","datetime","startdate","nowdate","Day","isSame","katawakunum","Number","dasetsunum","dasetsuqua","toFixed","kaitenrate","isNaN","ninku_keikaku","ninku_haichi","ninku_jisshi","sai","sai_class","map","formattedItem","index","dangerouslySetInnerHTML","__html","getDateLabel","dateLabel","Week","month","year","Month","Quarter","Year","getCustomDate","num","selectDate","cellUnit","CellUnits","bikoujson","syukkajson","schedulerParam","code","getFMSchdulesDataAPI","messages","eventdate","eventsstart","eventsend","fieldData","打設完了予定日","c_ライン別_型枠番号","c_物件別_型枠番号","Object","keys","bikou_keys","bikou_len","bikou_loop_cnt","bikou_cnt","bikou_key","bikou_date_keys","bikou_date_len","bikou_date_cnt","bikou_date","bikou_start","bikou_end","bikou_id","bikou_resourceId","bikou_text","syukka","syukka_keys","syukka_len","syukka_loop_cnt","syukka_cnt","syukka_key","syukka_date_keys","syukka_date_len","syukka_date_cnt","syukka_date","syukka_start","syukka_end","syukka_id","syukka_resourceId","syukka_text","header_date","Map","sort","values","line","label","name","articleflg","article","enddate","_startdate","_enddate","field","schedulesresult","getFMBugakariDataAPI","initdate","getItem","SchedulerData","SCHEDULER_DATA_CONFIG","getCustomDateFunc","getDateLabelFunc","moment","handleClickEventCloseModal","bind","React","createRef","handleMoveEventCloseModal","this","navBarProps","clickEventModalProps","modalIsOpen","refStatus","refText","moveEventModalProps","scalesize","fontSize","config","monthCellWidth","defaultCellWidth","customCellWidth","t_katawakunum","t_dasetsunum","t_dasetsuqua","t_kaitenrate","t_ninku_keikaku","t_ninku_haichi","t_ninku_jisshi","t_sai","t_sai_class","getResourceTableWidth","height","tableHeaderHeight","reduce","p","resourcename","prevClick","nextClick","onSelectDate","onViewChange","eventItemClick","Component","DragDropContext","HTML5Backend","useStyles","makeStyles","theme","root","position","marginLeft","spacing","verticalAlign","Circular","classes","size","Modal","setAppElement","customStyles","overlay","zIndex","maxWidth","top","left","right","bottom","marginRight","padding","transform","ClickEventModal","options","isOpen","onRequestClose","contentLabel","href","FM_ACCOUNT_NAME","FM_ACCOUNT_PASSWORD","FM_DOMAIN_NAME","FM_FILENAME_QUALITY","FM_CHECKLIST_SHORTCUT","scriptName","xs","defaultValue","ref","MoveEventModal","NavBar","printClick","print","handleCalenderOpen","e","preventDefault","calenderOpen","anchorEl","currentTarget","handleCalenderClose","handleMenuOpen","menuOpen","handleMenuClose","target","charAt","onSortChange","goNext","blur","goBack","onSelect","visible","onCheck","onZoomIn","onZoomOut","dropdown1","isClearable","isSearchable","onChange","placeholder","dropdown2","popover","fullscreen","radioButtonList","views","Button","margin","viewName","control","checked","container","direction","justify","alignItems","grey","cursor","open","onClose","anchorOrigin","vertical","horizontal","transformOrigin","Group","buttonStyle","getUserName","to","schedulerWidth","besidesWidth","schedulerMaxHeight","monthResourceTableWidth","customResourceTableWidth","monthMaxEvents","customMaxEvents","eventItemHeight","eventItemLineHeight","defaultEventBgColor","selectedAreaColor","groupOnlySlotColor","startResizable","endResizable","movable","creatable","crossResourceMove","checkConflict","scrollToSpecialMomentEnabled","eventItemPopoverEnabled","calendarPopoverEnabled","recurringEventsEnabled","headerEnabled","displayWeekend","relativeMove","defaultExpanded","resourceName","taskName","agendaViewHeader","addMorePopoverHeaderFormat","eventItemPopoverDateFormat","nonAgendaDayCellHeaderFormat","nonAgendaOtherCellHeaderFormat","isLoggedIn","get","set","sessionStorage","getSessionStorage","ret","login","usercode","password","user","氏名","logout","Auth","children","Login","click","history","pathname","errMessage","handleChange","keyDown","keyCode","Container","Row","Form","Alert","variant","controlId","Label","Control","onKeyDown","withRouter","Logout","App","exact","path","component","from","Boolean","location","hostname","ReactDOM","render","document","getElementById","navigator","serviceWorker","ready","registration","unregister","message"],"mappings":"qGAQO,SAASA,EAAWC,EAAMC,GAQ/B,GAPKA,IAAQA,EAAS,4BAMtBA,GADAA,GADAA,GADAA,GADAA,GADAA,EAASA,EAAOC,QAAQ,QAASF,EAAKG,gBACtBD,QAAQ,OAAQ,KAAOF,EAAKI,WAAa,IAAIC,OAAO,KACpDH,QAAQ,OAAQ,IAAMF,EAAKM,WAAWD,OAAO,KAC7CH,QAAQ,OAAQ,IAAMF,EAAKO,YAAYF,OAAO,KAC9CH,QAAQ,OAAQ,IAAMF,EAAKQ,cAAcH,OAAO,KAChDH,QAAQ,OAAQ,IAAMF,EAAKS,cAAcJ,OAAO,KACrDK,MAAM,MAGf,IAFA,IAAIC,GAAgB,KAAOX,EAAKY,mBAAmBP,OAAO,GACtDQ,EAASZ,EAAOS,MAAM,MAAMG,OACvBC,EAAI,EAAGA,EAAID,EAAQC,IAAKb,EAASA,EAAOC,QAAQ,IAAKS,EAAaI,UAAUD,EAAGA,EAAI,IAE9F,OAAOb,EAGF,SAASe,EAAgBC,GAC9B,OAAOA,EAAIf,QAAQ,8CAAgB,SAAUgB,GAC3C,OAAOC,OAAOC,aAAaF,EAAEG,WAAW,GAAK,UAQ1C,SAASC,EAAaC,GAI3B,MAFmB,CAAC,SAAK,SAAK,SAAK,SAA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,IAAD,CAAUghB,KAAK,IAAIvE,GAAG,qB,GAVhBjG,aCKEyK,QACW,cAA7B3c,OAAO4c,SAASC,UAEe,UAA7B7c,OAAO4c,SAASC,UAEhB7c,OAAO4c,SAASC,SAAStiB,MACvB,2DCXNuiB,IAASC,OACP,kBAAC,IAAD,KACE,kBAAC,EAAD,OAEFC,SAASC,eAAe,SDwHpB,kBAAmBC,WACrBA,UAAUC,cAAcC,MACrB1gB,MAAK,SAAA2gB,GACJA,EAAaC,gBAEd5X,OAAM,SAAAC,GACLC,QAAQD,MAAMA,EAAM4X,c","file":"static/js/main.d951ea3f.chunk.js","sourcesContent":["//---------------------------------------\n// 日付フォーマット\n// 引数\n// date [in] 日付でフォーマットされた値\n// format [in] フォーマットしたい形式(例 YYYY年MM月DD日)\n// 戻値\n// format : フォーマットされた日付の文字列\n//---------------------------------------\nexport function formatDate(date, format) {\n if (!format) format = 'YYYY-MM-DD hh:mm:ss.SSS';\n format = format.replace(/YYYY/g, date.getFullYear());\n format = format.replace(/MM/g, ('0' + (date.getMonth() + 1)).slice(-2));\n format = format.replace(/DD/g, ('0' + date.getDate()).slice(-2));\n format = format.replace(/hh/g, ('0' + date.getHours()).slice(-2));\n format = format.replace(/mm/g, ('0' + date.getMinutes()).slice(-2));\n format = format.replace(/ss/g, ('0' + date.getSeconds()).slice(-2));\n if (format.match(/S/g)) {\n var milliSeconds = ('00' + date.getMilliseconds()).slice(-3);\n var length = format.match(/S/g).length;\n for (var i = 0; i < length; i++) format = format.replace(/S/, milliSeconds.substring(i, i + 1));\n }\n return format;\n}\n\nexport function hankaku2Zenkaku(str) {\n return str.replace(/[A-Za-z0-9]/g, function (s) {\n return String.fromCharCode(s.charCodeAt(0) - 0xFEE0);\n });\n}\n\nexport function toBoolean(data) {\n return data.toString().toLowerCase() === 'true';\n}\n\nexport function getDayOfWeek(dateStr) {\n var date = new Date(dateStr);\n var dayOfWeekStr = [\"日\", \"月\", \"火\", \"水\", \"木\", \"金\", \"土\"][date.getDay()];\n\n return dayOfWeekStr;\n}\n\n//CHANGED ADD 2023/07/04 #17\nexport function blackOrWhite(hexcolor) {\n let r = parseInt(hexcolor.substring(1, 3), 16);\n let g = parseInt(hexcolor.substring(3, 5), 16);\n let b = parseInt(hexcolor.substring(5, 7), 16);\n\n return ((((r * 299) + (g * 587) + (b * 114)) / 1000) < 128) ? \"white\" : \"black\";\n}\n","import React, { Component } from \"react\";\nimport { Icon } from 'antd'\nimport axios from 'axios';\nimport { API_URL, SCHEDULER_DATA_CONFIG } from \"../config.js\";\n\nimport BigScheduler, {\n SchedulerData,\n ViewTypes,\n CellUnits,\n DATE_FORMAT\n} from \"react-big-scheduler\";\n\nimport { DragDropContext } from \"react-dnd\";\nimport HTML5Backend from \"react-dnd-html5-backend\";\n\nimport 'moment/locale/ja'\nimport moment from \"moment\";\nimport { formatDate, hankaku2Zenkaku, blackOrWhite } from '../Function/Function';\nimport Loading from \"./Loading/Loading\";\nimport ClickEventModal from \"./Modal/ClickEventModal\";\nimport MoveEventModal from \"./Modal/MoveEventModal\";\nimport NavBar from \"./NavBar/NavBar\";\n\nimport \"react-big-scheduler/lib/css/style.css\";\nimport './Scheduler.css';\nimport User from \"../User.js\";\n\nclass Scheduler extends Component {\n constructor(props) {\n super(props);\n\n //====================================\n //表の基本設定\n //====================================\n //日付の初期値をセット\n const initdate = new Date();\n \n //CHANGED ADD 2023/07/12 #19\n // ローカルストレージから週次・月次切替情報を取得\n const value = localStorage.getItem(\"viewType\");\n const view = value\n ? JSON.parse(value)\n : {\n viewType: ViewTypes.Month,\n showAgenda: false,\n isEventPerspective: false,\n };\n\n //表の基本設定をセット\n let schedulerData = new SchedulerData(\n initdate,\n view.viewType,\n view.showAgenda,\n view.isEventPerspective,\n SCHEDULER_DATA_CONFIG,\n {\n getCustomDateFunc: this.getCustomDate,\n getDateLabelFunc: this.getDateLabel,\n },\n moment\n );\n\n this.state = {\n viewModel: schedulerData,\n clickEventModalIsOpen: false,\n moveEventModalIsOpen: false,\n modalParam: null,\n linestatus: [],\n lines: null,\n articles: null,\n selectedSort: \"ライン別\",\n selectedLine: null,\n selectedArticle: null,\n checkedValues: [],\n scale: 1,\n isLoading: true\n };\n\n this.handleClickEventCloseModal = this.handleClickEventCloseModal.bind(this);\n this.clickEventRefStatus = React.createRef();\n this.clickEventRefText = React.createRef();\n\n this.handleMoveEventCloseModal = this.handleMoveEventCloseModal.bind(this);\n }\n\n //====================================\n //初回読込\n //====================================\n componentDidMount() {\n //CHANGED UPDATE 2023/07/12 #19\n const startDate = new Date(this.state.viewModel.startDate);\n const endDate = new Date(this.state.viewModel.endDate);\n\n // 絞り込み情報を取得\n let selectedSort = this.state.selectedSort;\n let lines = null;\n let articles = null;\n\n this.getFMSchdules(startDate, endDate, selectedSort, lines, articles)\n .then(res =>\n // レンダー情報のセット\n this.setState({\n viewModel: res.schedulerData,\n linestatus: res.linestatus,\n lines: res.lines,\n articles: res.articles,\n selectedLine: null,\n selectedArticle: null,\n checkedValues: res.checkedValues,\n isLoading: false\n })\n );\n }\n\n clickEventOpenModal(modalParam) {\n this.setState({\n clickEventModalIsOpen: true,\n modalParam: modalParam\n });\n }\n\n handleClickEventCloseModal() {\n this.setState({ clickEventModalIsOpen: false });\n }\n\n moveEventOpenModal(modalParam) {\n this.setState({\n moveEventModalIsOpen: true,\n modalParam: modalParam\n });\n }\n\n handleMoveEventCloseModal() {\n this.setState({ moveEventModalIsOpen: false });\n }\n\n handleSortChange = (value, schedulerData) => {\n schedulerData.setResources([]);\n schedulerData.setEvents([]);\n\n // 絞り込み情報を取得\n let selectedSort = value;\n let selectedLine = null;\n let selectedArticle = null;\n\n // レンダー情報のリセット\n this.setState({\n viewModel: schedulerData,\n selectedSort: selectedSort,\n selectedLine: selectedLine,\n selectedArticle: selectedArticle,\n isLoading: true\n }, () => {\n let startDate = schedulerData.startDate;\n let endDate = schedulerData.endDate;\n\n this.getFMSchdules(startDate, endDate, selectedSort, selectedLine, selectedArticle)\n .then(res =>\n // レンダー情報のセット\n this.setState({\n viewModel: res.schedulerData,\n linestatus: res.linestatus,\n lines: res.lines,\n articles: res.articles,\n isLoading: false\n })\n )\n });\n }\n\n handleLineChange = (value, schedulerData, selectedSort, selectedArticle) => {\n schedulerData.setResources([]);\n schedulerData.setEvents([]);\n\n // 絞り込み情報を取得\n let selectedLine = value;\n if (selectedSort === 'ライン別' && selectedLine !== this.state.selectedLine) {\n selectedArticle = null;\n }\n\n // レンダー情報のリセット\n this.setState({\n viewModel: schedulerData,\n selectedSort: selectedSort,\n selectedLine: selectedLine,\n selectedArticle: selectedArticle,\n isLoading: true\n }, () => {\n let startDate = schedulerData.startDate;\n let endDate = schedulerData.endDate;\n\n this.getFMSchdules(startDate, endDate, selectedSort, selectedLine, selectedArticle)\n .then(res =>\n // レンダー情報のセット\n this.setState({\n viewModel: res.schedulerData,\n linestatus: res.linestatus,\n lines: res.lines,\n articles: res.articles,\n isLoading: false\n })\n )\n });\n }\n\n handleArticleChange = (value, schedulerData, selectedSort, selectedLine) => {\n schedulerData.setResources([]);\n schedulerData.setEvents([]);\n\n // 絞り込み情報を取得\n let selectedArticle = value;\n if (selectedSort === '物件別' && selectedArticle !== this.state.selectedArticle) {\n selectedLine = null;\n }\n\n // レンダー情報のリセット\n this.setState({\n viewModel: schedulerData,\n selectedSort: selectedSort,\n selectedLine: selectedLine,\n selectedArticle: selectedArticle,\n isLoading: true\n }, () => {\n let startDate = schedulerData.startDate;\n let endDate = schedulerData.endDate;\n\n this.getFMSchdules(startDate, endDate, selectedSort, selectedLine, selectedArticle)\n .then(res =>\n // レンダー情報のセット\n this.setState({\n viewModel: res.schedulerData,\n linestatus: res.linestatus,\n lines: res.lines,\n articles: res.articles,\n isLoading: false\n })\n )\n });\n }\n\n handlePrevClick = (schedulerData) => {\n schedulerData.setResources([]);\n schedulerData.setEvents([]);\n schedulerData.prev();\n\n // 絞り込み情報を取得\n let selectedSort = this.state.selectedSort;\n let selectedLine = null;\n let selectedArticle = null;\n\n // レンダー情報のリセット\n this.setState({\n viewModel: schedulerData,\n selectedSort: selectedSort,\n selectedLine: selectedLine,\n selectedArticle: selectedArticle,\n isLoading: true\n }, () => {\n let startDate = schedulerData.startDate;\n let endDate = schedulerData.endDate;\n\n this.getFMSchdules(startDate, endDate, selectedSort, selectedLine, selectedArticle)\n .then(res =>\n // レンダー情報のセット\n this.setState({\n viewModel: res.schedulerData,\n linestatus: res.linestatus,\n lines: res.lines,\n articles: res.articles,\n isLoading: false\n })\n )\n });\n };\n\n handleNextClick = (schedulerData) => {\n schedulerData.setResources([]);\n schedulerData.setEvents([]);\n\n if (schedulerData.viewType === ViewTypes.Custom) {\n let startDate = schedulerData.startDate;\n schedulerData.startDate = schedulerData.localeMoment(startDate).add(30, 'days').format(DATE_FORMAT);\n }\n\n schedulerData.next();\n\n // 絞り込み情報を取得\n let selectedSort = this.state.selectedSort;\n let selectedLine = null;\n let selectedArticle = null;\n\n // レンダー情報のリセット\n this.setState({\n viewModel: schedulerData,\n selectedSort: selectedSort,\n selectedLine: selectedLine,\n selectedArticle: selectedArticle,\n isLoading: true\n }, () => {\n let startDate = schedulerData.startDate;\n let endDate = schedulerData.endDate;\n\n this.getFMSchdules(startDate, endDate, selectedSort, selectedLine, selectedArticle)\n .then(res =>\n // レンダー情報のセット\n this.setState({\n viewModel: res.schedulerData,\n linestatus: res.linestatus,\n lines: res.lines,\n articles: res.articles,\n isLoading: false\n })\n )\n });\n };\n\n handleViewChange = (schedulerData, view) => {\n schedulerData.setResources([]);\n schedulerData.setEvents([]);\n schedulerData.setViewType(\n view.viewType,\n view.showAgenda,\n view.isEventPerspective\n );\n\n //CHANGED ADD 2023/07/12 #19\n // ローカルストレージに週次・月次切替情報を保存\n localStorage.setItem(\"viewType\", JSON.stringify(view));\n\n // 絞り込み情報を取得\n let selectedSort = this.state.selectedSort;\n let selectedLine = null;\n let selectedArticle = null;\n\n // レンダー情報のリセット\n this.setState({\n viewModel: schedulerData,\n selectedSort: selectedSort,\n selectedLine: selectedLine,\n selectedArticle: selectedArticle,\n isLoading: true\n }, () => {\n let startDate = new Date(schedulerData.startDate);\n let endDate = new Date(schedulerData.endDate);\n\n this.getFMSchdules(startDate, endDate, selectedSort, selectedLine, selectedArticle)\n .then(res =>\n // レンダー情報のセット\n this.setState({\n viewModel: res.schedulerData,\n linestatus: res.linestatus,\n lines: res.lines,\n articles: res.articles,\n isLoading: false\n })\n )\n });\n };\n\n handleSelectDate = (schedulerData, date) => {\n schedulerData.setResources([]);\n schedulerData.setEvents([]);\n schedulerData.setDate(date);\n\n // 絞り込み情報を取得\n let selectedSort = this.state.selectedSort;\n let selectedLine = null;\n let selectedArticle = null;\n\n // レンダー情報のリセット\n this.setState({\n viewModel: schedulerData,\n selectedSort: selectedSort,\n selectedLine: selectedLine,\n selectedArticle: selectedArticle,\n isLoading: true\n }, () => {\n let startDate = new Date(schedulerData.startDate);\n let endDate = new Date(schedulerData.endDate);\n\n this.getFMSchdules(startDate, endDate, selectedSort, selectedLine, selectedArticle)\n .then(res =>\n // レンダー情報のセット\n this.setState({\n viewModel: res.schedulerData,\n linestatus: res.linestatus,\n lines: res.lines,\n articles: res.articles,\n isLoading: false\n })\n )\n });\n };\n\n eventClicked = (schedulerData, event) => {\n let date = schedulerData.localeMoment(event.start).format(\"YYYY/MM/DD\")\n\n const modalParam = schedulerData.resources.find((v) => v.id === event.resourceId).partflg ?\n {\n UUID: event.id,\n 製品番号: \"\",\n 立米: \"\",\n 配合: \"\",\n ステータス: \"\",\n 出荷日テキスト: event.出荷日テキスト,\n 出荷日テキストフラグ: true,\n 日付: date,\n resourceId: event.resourceId\n } :\n {\n UUID: event.id,\n 製品番号: event.製品番号,\n 立米: event.立米,\n 配合: event.配合,\n ステータス: event.ステータス,\n 備考: event.備考,\n 備考フラグ: true,\n 日付: date,\n resourceId: event.resourceId\n }\n\n this.clickEventOpenModal(modalParam);\n };\n\n handleSelectedDateUpdateButtonClicked = async (schedulerData, UUID) => {\n let renderData = schedulerData.renderData;\n let events = schedulerData.events;\n\n if (window.confirm(`更新してもよろしいですか?`)) {\n let layout = 'D1001_dataapi';\n let script = 'D1003_更新[DataAPIMap]';\n let scriptparam = {\n UUID: UUID,\n ステータス: this.clickEventRefStatus.current.value,\n 備考: this.clickEventRefText.current.value,\n 従業員UUID: User.getUserId()\n }\n let json = {\n 'layout': layout,\n 'data': {\n 'query': [],\n 'script.prerequest': script,\n 'script.prerequest.param': new Buffer(JSON.stringify(scriptparam)).toString('base64')\n }\n };\n\n try {\n const result = (await axios.post(API_URL + '/filemaker', json)).data;\n const scriptResult = JSON.parse(decodeURIComponent(escape(window.atob(result.response['scriptResult.prerequest']))));\n const fmevents = JSON.parse(scriptResult.fmevents);\n\n const error_code = parseInt(scriptResult.error_code, 10);\n if (error_code !== 0) {\n window.alert(\"更新に失敗しました。時間をおいて再度お試しください。\");\n this.setState({ clickEventModalIsOpen: false });\n return;\n }\n\n events.forEach(item => {\n const res = fmevents.find((v) => v.id === item.id);\n if (res) {\n item.ステータス = res.ステータス;\n item.備考 = res.備考;\n }\n });\n } catch {\n window.alert(\"更新に失敗しました。時間をおいて再度お試しください。\");\n this.setState({ clickEventModalIsOpen: false });\n return;\n }\n\n schedulerData.setEvents(events);\n renderData.filter((v) => v.expanded === false)\n .forEach(item => {\n schedulerData.toggleExpandStatus(item.slotId);\n });\n\n this.setState({\n viewModel: schedulerData,\n clickEventModalIsOpen: false\n });\n }\n }\n\n newEvent = (schedulerData, slotId, slotName, start, end, type, item) => {\n const date = schedulerData.localeMoment(start).format(\"YYYY/MM/DD\")\n\n const modalParam = schedulerData.resources.find((v) => v.id === slotId).partflg ?\n {\n UUID: \"\",\n 製品番号: \"\",\n 立米: \"\",\n 配合: \"\",\n ステータス: \"\",\n 出荷日テキスト: \"\",\n 出荷日テキストフラグ: true,\n 備考フラグ: false,\n 日付: date,\n resourceId: slotId\n } :\n {\n UUID: \"\",\n 製品番号: \"\",\n 立米: \"\",\n 配合: \"\",\n ステータス: \"\",\n 備考: \"\",\n 備考フラグ: true,\n 日付: date,\n resourceId: slotId\n }\n\n this.clickEventOpenModal(modalParam);\n };\n\n handleBikouUpdateButtonClicked = async (schedulerData, UUID, resourceId, date) => {\n let renderData = schedulerData.renderData;\n let events = schedulerData.events;\n let str = resourceId.split('|');\n\n const articleUUID = str[0];\n let katawaku = \"\";\n let buiCode = \"\";\n let lineCode = \"\";\n\n if (this.state.selectedSort === \"ライン別\") {\n katawaku = str[2];\n buiCode = str[1];\n lineCode = str[3];\n }\n else if (this.state.selectedSort === \"物件別\") {\n katawaku = str[3];\n buiCode = str[2];\n lineCode = str[1];\n }\n\n if (window.confirm(`更新してもよろしいですか?`)) {\n let layout = 'D1001_dataapi';\n let script = 'D1003_フリーテキストのみ調整[DataAPI]';\n let bikou = this.clickEventRefText.current.value;\n let scriptparam = {\n 物件UUID: articleUUID,\n 部位コード: buiCode,\n 製造ラインコード: lineCode,\n 型枠番号: katawaku,\n 日付: date,\n 備考: bikou,\n 従業員UUID: User.getUserId()\n }\n let json = {\n 'layout': layout,\n 'data': {\n 'query': [],\n 'script.prerequest': script,\n 'script.prerequest.param': new Buffer(JSON.stringify(scriptparam)).toString('base64')\n }\n };\n\n try {\n const result = (await axios.post(API_URL + '/filemaker', json)).data;\n const scriptResult = JSON.parse(decodeURIComponent(escape(window.atob(result.response['scriptResult.prerequest']))));\n\n const error_code = parseInt(scriptResult.error_code, 10);\n if (error_code !== 0) {\n window.alert(\"更新に失敗しました。時間をおいて再度お試しください。\");\n this.setState({ clickEventModalIsOpen: false });\n return;\n }\n\n if (bikou) {\n const fmevents = JSON.parse(scriptResult.fmevents);\n\n fmevents.forEach(item => {\n const res = events.find((v) => v.備考UUID === item.id);\n if (res) {\n res.備考 = item.備考;\n } else {\n var event = {\n id: item.id,\n 備考: item.備考,\n 備考UUID: item.id,\n start: item.start,\n end: item.end,\n resourceId: resourceId,\n title: \"\"\n }\n\n events.push(event);\n }\n });\n } else {\n events.splice(events.findIndex(v => v.備考UUID === UUID), 1);\n }\n } catch {\n window.alert(\"更新に失敗しました。時間をおいて再度お試しください。\");\n this.setState({ clickEventModalIsOpen: false });\n return;\n }\n\n schedulerData.setEvents(events);\n renderData.filter((v) => v.expanded === false)\n .forEach(item => {\n schedulerData.toggleExpandStatus(item.slotId);\n });\n\n this.setState({\n viewModel: schedulerData,\n clickEventModalIsOpen: false\n });\n }\n }\n\n handleSyukkaUpdateButtonClicked = async (schedulerData, UUID, resourceId, date) => {\n let renderData = schedulerData.renderData;\n let events = schedulerData.events;\n let str = resourceId.split('|');\n\n const articleUUID = str[0];\n let buiCode = \"\";\n let lineCode = \"\";\n\n if (this.state.selectedSort === \"ライン別\") {\n buiCode = str[1];\n lineCode = \"\";\n }\n else if (this.state.selectedSort === \"物件別\") {\n buiCode = str[2];\n lineCode = str[1];\n }\n\n if (window.confirm(`更新してもよろしいですか?`)) {\n let layout = 'D1001_dataapi';\n let script = 'D1003_出荷日テキストのみ調整[DataAPI]';\n let text = this.clickEventRefText.current.value;\n let scriptparam = {\n 物件UUID: articleUUID,\n 部位コード: buiCode,\n 製造ラインコード: lineCode,\n 日付: date,\n 出荷日テキスト: text,\n 従業員UUID: User.getUserId()\n }\n let json = {\n 'layout': layout,\n 'data': {\n 'query': [],\n 'script.prerequest': script,\n 'script.prerequest.param': new Buffer(JSON.stringify(scriptparam)).toString('base64')\n }\n };\n\n try {\n const result = (await axios.post(API_URL + '/filemaker', json)).data;\n const scriptResult = JSON.parse(decodeURIComponent(escape(window.atob(result.response['scriptResult.prerequest']))));\n\n const error_code = parseInt(scriptResult.error_code, 10);\n if (error_code !== 0) {\n window.alert(\"更新に失敗しました。時間をおいて再度お試しください。\");\n this.setState({ clickEventModalIsOpen: false });\n return;\n }\n\n if (text) {\n const fmevents = JSON.parse(scriptResult.fmevents);\n\n fmevents.forEach(item => {\n const res = events.find((v) => v.出荷日テキストUUID === item.id);\n if (res) {\n res.出荷日テキスト = item.出荷日テキスト;\n } else {\n var event = {\n id: item.id,\n 出荷日テキスト: item.出荷日テキスト,\n 出荷日テキストUUID: item.id,\n start: item.start,\n end: item.end,\n resourceId: resourceId,\n title: \"\"\n }\n\n events.push(event);\n }\n });\n } else {\n events.splice(events.findIndex(v => v.出荷日テキストUUID === UUID), 1);\n }\n } catch {\n window.alert(\"更新に失敗しました。時間をおいて再度お試しください。\");\n this.setState({ clickEventModalIsOpen: false });\n return;\n }\n\n schedulerData.setEvents(events);\n renderData.filter((v) => v.expanded === false)\n .forEach(item => {\n schedulerData.toggleExpandStatus(item.slotId);\n });\n\n this.setState({\n viewModel: schedulerData,\n clickEventModalIsOpen: false\n });\n }\n }\n\n moveEvent = (schedulerData, event, slotId, slotName, start, end) => {\n if (schedulerData.resources.find((v) => v.id === slotId).partflg) {\n return;\n }\n\n const beforeArticleUUID = event.物件UUID;\n const beforeKatawaku = event.型枠番号;\n const beforeBuiCode = event.部位コード;\n const beforeLineCode = event.製造ラインコード;\n\n // CHANGED:ADD 2023/7/12 #20\n const beforeLineName = event.製造ライン名称;\n const afterLineName = slotName.split('|')[0];\n\n const after = slotId.split('|');\n const afterArticleUUID = after[0];\n let afterKatawaku = \"\";\n let afterBuiCode = \"\";\n let afterLineCode = \"\";\n\n if (this.state.selectedSort === \"ライン別\") {\n afterKatawaku = after[2];\n afterBuiCode = after[1];\n afterLineCode = after[3];\n }\n else if (this.state.selectedSort === \"物件別\") {\n afterKatawaku = after[3];\n afterBuiCode = after[2];\n afterLineCode = after[1];\n }\n\n const beforeDate = schedulerData.localeMoment(event.start).format(\"YYYY/MM/DD\")\n const afterDate = schedulerData.localeMoment(start).format(\"YYYY/MM/DD\")\n const endDate = schedulerData.localeMoment(schedulerData.endDate).format(\"YYYY/MM/DD\")\n\n if (event.製品番号 &&\n (beforeArticleUUID === afterArticleUUID) && (beforeBuiCode === afterBuiCode)) {\n if ((beforeKatawaku === afterKatawaku) && (beforeLineCode === afterLineCode) && (beforeDate !== afterDate)) {\n const modalParam = {\n UUID: event.id,\n 製品番号: event.製品番号,\n 変更元型枠番号: beforeKatawaku,\n 変更元予定日: beforeDate,\n 変更先予定日: afterDate,\n 最終日: endDate,\n 変更元製造ラインコード: beforeLineCode,\n 型枠調整フラグ: false,\n 製造ライン調整フラグ: false,\n }\n\n this.moveEventOpenModal(modalParam);\n // CHANGED:ADD 2023/7/12 #20\n } else if ((beforeKatawaku === afterKatawaku) && (beforeLineCode !== afterLineCode)) {\n const modalParam = {\n UUID: event.id,\n 製品番号: event.製品番号,\n 変更先リソースID: slotId,\n 変更元型枠番号: beforeKatawaku,\n 変更先型枠番号: afterKatawaku,\n 変更元予定日: beforeDate,\n 変更先予定日: afterDate,\n 最終日: endDate,\n 変更元製造ラインコード: beforeLineCode,\n 変更先製造ラインコード: afterLineCode,\n 変更元製造ライン名称: beforeLineName,\n 変更先製造ライン名称: afterLineName,\n 型枠調整フラグ: false,\n 製造ライン調整フラグ: true,\n }\n\n this.moveEventOpenModal(modalParam);\n } else if ((beforeKatawaku !== afterKatawaku) || (beforeLineCode !== afterLineCode)) {\n const modalParam = {\n UUID: event.id,\n 製品番号: event.製品番号,\n 変更先リソースID: slotId,\n 変更元型枠番号: beforeKatawaku,\n 変更先型枠番号: afterKatawaku,\n 変更元予定日: beforeDate,\n 変更先予定日: afterDate,\n 最終日: endDate,\n 変更元製造ラインコード: beforeLineCode,\n 変更先製造ラインコード: afterLineCode,\n 型枠調整フラグ: true,\n 製造ライン調整フラグ: false,\n }\n\n this.moveEventOpenModal(modalParam);\n }\n }\n };\n\n handleSelectedDateMoveButtonClicked = async (schedulerData, UUID, afterDate, lineCode) => {\n let renderData = schedulerData.renderData;\n let events = schedulerData.events;\n let selectedLine = this.state.selectedLine == null ? '' : this.state.selectedLine.value;\n let selectedArticle = this.state.selectedArticle == null ? '' : this.state.selectedArticle.value;\n\n if (window.confirm(`更新してもよろしいですか?`)) {\n // 選択日のみ調整スクリプト実行\n let layout = 'D1001_dataapi';\n let script = 'D1003_選択日のみ調整[DataAPIMap]';\n let scriptparam = {\n UUID: UUID,\n 変更先予定日: afterDate,\n 従業員UUID: User.getUserId(),\n start: schedulerData.startDate,\n end: schedulerData.endDate,\n 変更元製造ラインコード: lineCode,\n 製造ラインコード: selectedLine,\n 物件UUID: selectedArticle,\n }\n let json = {\n 'layout': layout,\n 'data': {\n 'query': [],\n 'script.prerequest': script,\n 'script.prerequest.param': new Buffer(JSON.stringify(scriptparam)).toString('base64')\n }\n };\n\n await axios.post(API_URL + '/filemaker', json)\n .then((result) => {\n const scriptResult = JSON.parse(decodeURIComponent(escape(window.atob(result.data.response['scriptResult.prerequest']))));\n const error_code = parseInt(scriptResult.error_code, 10);\n\n if (error_code !== 0) {\n return Promise.reject(scriptResult);\n }\n\n const fmevents = JSON.parse(scriptResult.fmevents);\n\n events.forEach(item => {\n const res = fmevents.find((v) => v.id === item.id);\n if (res) {\n item.start = res.start;\n item.end = res.end;\n }\n })\n\n schedulerData.setEvents(events);\n renderData.filter((v) => v.expanded === false)\n .forEach(item => {\n schedulerData.toggleExpandStatus(item.slotId);\n });\n\n this.setState({\n viewModel: schedulerData,\n moveEventModalIsOpen: false\n });\n })\n .catch((error) => {\n console.log(error);\n window.alert(\"更新に失敗しました。時間をおいて再度お試しください。\");\n this.setState({ moveEventModalIsOpen: false });\n });\n\n // 歩掛更新スクリプト実行\n layout = 'D1001_dataapi';\n script = 'D1003_製品移動_歩掛更新[DataAPIMap]';\n json = {\n 'layout': layout,\n 'data': {\n 'query': [],\n 'script.prerequest': script,\n 'script.prerequest.param': new Buffer(JSON.stringify(scriptparam)).toString('base64')\n }\n };\n\n await axios.post(API_URL + '/filemaker', json)\n .then((result) => {\n const scriptResult = JSON.parse(decodeURIComponent(escape(window.atob(result.data.response['scriptResult.prerequest']))));\n const error_code = parseInt(scriptResult.error_code, 10);\n\n if (error_code !== 0) {\n return Promise.reject(scriptResult);\n }\n\n const bugakarijson = JSON.parse(scriptResult.bugakari);\n for (let i = 0; i < schedulerData.headers.length; i++) {\n let date = schedulerData.localeMoment(schedulerData.headers[i].time);\n let header_date = formatDate(new Date(date), \"YYYY/MM/DD\");\n let bugakari = bugakarijson[header_date];\n\n if (bugakari) {\n if (bugakari.休日 !== true) {\n schedulerData.headers[i].nonWorkingTime = false;\n } else {\n schedulerData.headers[i].nonWorkingTime = true;\n }\n\n schedulerData.headers[i].型枠数 = bugakari.型枠数;\n schedulerData.headers[i].打設数 = bugakari.打設数;\n schedulerData.headers[i].打設量 = bugakari.打設量;\n schedulerData.headers[i].計画人工合計 = bugakari.計画人工合計;\n schedulerData.headers[i].配置予定人工合計 = bugakari.配置予定人工合計;\n schedulerData.headers[i].実施人工合計 = bugakari.実施人工合計;\n schedulerData.headers[i].差異 = bugakari.差異;\n\n schedulerData.headers[i].休日 = bugakari.休日;\n }\n }\n\n this.setState({\n viewModel: schedulerData,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n }\n\n handleSelectedDateAndLaterMoveButtonClicked = async (schedulerData, UUID, beforeDate, afterDate, endDate, lineCode) => {\n let renderData = schedulerData.renderData;\n let events = schedulerData.events;\n let selectedLine = this.state.selectedLine == null ? '' : this.state.selectedLine.value;\n let selectedArticle = this.state.selectedArticle == null ? '' : this.state.selectedArticle.value;\n\n if (window.confirm(`更新してもよろしいですか?`)) {\n // 選択日および以降の調整スクリプト実行\n let layout = 'D1001_dataapi';\n let script = 'D1003_選択日および以降の調整[DataAPIMap]';\n let scriptparam = {\n UUID: UUID,\n 変更元予定日: beforeDate,\n 変更先予定日: afterDate,\n 最終日: endDate,\n 従業員UUID: User.getUserId(),\n start: schedulerData.startDate,\n end: schedulerData.endDate,\n 変更元製造ラインコード: lineCode,\n 製造ラインコード: selectedLine,\n 物件UUID: selectedArticle,\n }\n let json = {\n 'layout': layout,\n 'data': {\n 'query': [],\n 'script.prerequest': script,\n 'script.prerequest.param': new Buffer(JSON.stringify(scriptparam)).toString('base64')\n }\n };\n\n await axios.post(API_URL + '/filemaker', json)\n .then((result) => {\n const scriptResult = JSON.parse(decodeURIComponent(escape(window.atob(result.data.response['scriptResult.prerequest']))));\n const error_code = parseInt(scriptResult.error_code, 10);\n\n if (error_code !== 0) {\n return Promise.reject(scriptResult);\n }\n\n const fmevents = JSON.parse(scriptResult.fmevents);\n\n events.forEach(item => {\n const res = fmevents.find((v) => v.id === item.id);\n if (res) {\n item.start = res.start;\n item.end = res.end;\n }\n });\n\n schedulerData.setEvents(events);\n renderData.filter((v) => v.expanded === false)\n .forEach(item => {\n schedulerData.toggleExpandStatus(item.slotId);\n });\n\n this.setState({\n viewModel: schedulerData,\n moveEventModalIsOpen: false\n });\n })\n .catch((error) => {\n console.log(error);\n window.alert(\"更新に失敗しました。時間をおいて再度お試しください。\");\n this.setState({ moveEventModalIsOpen: false });\n });\n\n // 歩掛更新スクリプト実行\n layout = 'D1001_dataapi';\n script = 'D1003_製品移動_歩掛更新[DataAPIMap]';\n json = {\n 'layout': layout,\n 'data': {\n 'query': [],\n 'script.prerequest': script,\n 'script.prerequest.param': new Buffer(JSON.stringify(scriptparam)).toString('base64')\n }\n };\n\n await axios.post(API_URL + '/filemaker', json)\n .then((result) => {\n const scriptResult = JSON.parse(decodeURIComponent(escape(window.atob(result.data.response['scriptResult.prerequest']))));\n const error_code = parseInt(scriptResult.error_code, 10);\n\n if (error_code !== 0) {\n return Promise.reject(scriptResult);\n }\n\n const bugakarijson = JSON.parse(scriptResult.bugakari);\n for (let i = 0; i < schedulerData.headers.length; i++) {\n let date = schedulerData.localeMoment(schedulerData.headers[i].time);\n let header_date = formatDate(new Date(date), \"YYYY/MM/DD\");\n let bugakari = bugakarijson[header_date];\n\n if (bugakari) {\n if (bugakari.休日 !== true) {\n schedulerData.headers[i].nonWorkingTime = false;\n } else {\n schedulerData.headers[i].nonWorkingTime = true;\n }\n\n schedulerData.headers[i].型枠数 = bugakari.型枠数;\n schedulerData.headers[i].打設数 = bugakari.打設数;\n schedulerData.headers[i].打設量 = bugakari.打設量;\n schedulerData.headers[i].計画人工合計 = bugakari.計画人工合計;\n schedulerData.headers[i].配置予定人工合計 = bugakari.配置予定人工合計;\n schedulerData.headers[i].実施人工合計 = bugakari.実施人工合計;\n schedulerData.headers[i].差異 = bugakari.差異;\n\n schedulerData.headers[i].休日 = bugakari.休日;\n }\n }\n\n this.setState({\n viewModel: schedulerData,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n }\n\n handleKatawakuMoveButtonClicked = async (schedulerData, UUID, afterResourceId, afterkatawaku, beforeDate, afterDate, beforelineCode, afterlineCode) => {\n let renderData = schedulerData.renderData;\n let events = schedulerData.events;\n let selectedLine = this.state.selectedLine == null ? '' : this.state.selectedLine.value;\n let selectedArticle = this.state.selectedArticle == null ? '' : this.state.selectedArticle.value;\n\n // 型枠跨ぎ調整スクリプト実行\n if (window.confirm(`更新してもよろしいですか?`)) {\n let layout = 'D1001_dataapi';\n let script = 'D1003_型枠跨ぎ調整[DataAPIMap]';\n let scriptparam = {\n UUID: UUID,\n 変更元予定日: beforeDate,\n 変更先予定日: afterDate,\n 変更先_型枠番号: afterkatawaku,\n 従業員UUID: User.getUserId(),\n start: schedulerData.startDate,\n end: schedulerData.endDate,\n 変更元製造ラインコード: beforelineCode,\n 変更先製造ラインコード: afterlineCode,\n 製造ラインコード: selectedLine,\n 物件UUID: selectedArticle,\n }\n let json = {\n 'layout': layout,\n 'data': {\n 'query': [],\n 'script.prerequest': script,\n 'script.prerequest.param': new Buffer(JSON.stringify(scriptparam)).toString('base64')\n }\n };\n\n await axios.post(API_URL + '/filemaker', json)\n .then((result) => {\n const scriptResult = JSON.parse(decodeURIComponent(escape(window.atob(result.data.response['scriptResult.prerequest']))));\n const error_code = parseInt(scriptResult.error_code, 10);\n\n if (error_code !== 0) {\n return Promise.reject(scriptResult);\n }\n\n const fmevents = JSON.parse(scriptResult.fmevents);\n\n events.forEach(item => {\n const res = fmevents.find((v) => v.id === item.id);\n if (res) {\n item.resourceId = afterResourceId;\n item.start = res.start;\n item.end = res.end;\n item.製造ラインコード = res.製造ラインコード;\n item.製造ライン名称 = res.製造ライン名称;\n item.型枠番号 = res.型枠番号;\n }\n });\n\n schedulerData.setEvents(events);\n renderData.filter((v) => v.expanded === false)\n .forEach(item => {\n schedulerData.toggleExpandStatus(item.slotId);\n });\n\n this.setState({\n viewModel: schedulerData,\n moveEventModalIsOpen: false\n });\n })\n .catch((error) => {\n console.log(error);\n window.alert(\"更新に失敗しました。時間をおいて再度お試しください。\");\n this.setState({ moveEventModalIsOpen: false });\n });\n\n // 歩掛更新スクリプト実行\n layout = 'D1001_dataapi';\n script = 'D1003_型枠移動_歩掛更新[DataAPIMap]';\n json = {\n 'layout': layout,\n 'data': {\n 'query': [],\n 'script.prerequest': script,\n 'script.prerequest.param': new Buffer(JSON.stringify(scriptparam)).toString('base64')\n }\n };\n\n await axios.post(API_URL + '/filemaker', json)\n .then((result) => {\n const scriptResult = JSON.parse(decodeURIComponent(escape(window.atob(result.data.response['scriptResult.prerequest']))));\n const error_code = parseInt(scriptResult.error_code, 10);\n\n if (error_code !== 0) {\n return Promise.reject(scriptResult);\n }\n\n const bugakarijson = JSON.parse(scriptResult.bugakari);\n for (let i = 0; i < schedulerData.headers.length; i++) {\n let date = schedulerData.localeMoment(schedulerData.headers[i].time);\n let header_date = formatDate(new Date(date), \"YYYY/MM/DD\");\n let bugakari = bugakarijson[header_date];\n\n if (bugakari) {\n if (bugakari.休日 !== true) {\n schedulerData.headers[i].nonWorkingTime = false;\n } else {\n schedulerData.headers[i].nonWorkingTime = true;\n }\n\n schedulerData.headers[i].型枠数 = bugakari.型枠数;\n schedulerData.headers[i].打設数 = bugakari.打設数;\n schedulerData.headers[i].打設量 = bugakari.打設量;\n schedulerData.headers[i].計画人工合計 = bugakari.計画人工合計;\n schedulerData.headers[i].配置予定人工合計 = bugakari.配置予定人工合計;\n schedulerData.headers[i].実施人工合計 = bugakari.実施人工合計;\n schedulerData.headers[i].差異 = bugakari.差異;\n\n schedulerData.headers[i].休日 = bugakari.休日;\n }\n }\n\n this.setState({\n viewModel: schedulerData,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n }\n\n handleToggleExpand = (schedulerData, slotId) => {\n schedulerData.toggleExpandStatus(slotId);\n this.setState({\n viewModel: schedulerData\n });\n };\n\n handleCheckedChanged = (checkedValues) => {\n this.setState({\n checkedValues: checkedValues\n });\n }\n\n handleScaleChange = (scale) => {\n this.setState({\n scale: scale\n });\n }\n\n dummy = () => {\n // Nothing\n }\n\n eventItemTemplateResolver = (schedulerData, event, bgColor, isStart, isEnd, mustAddCssClass, mustBeHeight, agendaMaxEventWidth) => {\n\n let value = \"\";\n if (schedulerData.resources.find((v) => v.id === event.resourceId).partflg) {\n value = \n
\n \n \n \n {\"日付\"}\n {\"集計\"}\n \n \n {\"総打設数(P)\"}\n {t_dasetsunum}\n \n \n {\"総打設量(㎥)\"}\n {t_dasetsuqua}\n \n \n {\"総型枠数(P)\"}\n {/*t_katawakunum*/}\n \n \n {\"回転率\"}\n {t_kaitenrate}\n \n \n {\"計画人工合計(人工)\"}\n {t_ninku_keikaku}\n \n \n {\"配置予定人工合計(人工)\"}\n {t_ninku_haichi}\n \n \n {\"実施人工合計(人工)\"}\n {t_ninku_jisshi}\n \n \n {\"差異(人工)\"}\n {t_sai}\n \n | \n
---|