| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 | <div data-options="dxView : { name: 'AddWorkResultCheckItemPopup' } ">    <!--<div data-bind="dxPopup: virtualFacilityPopup.options ">-->    <div data-bind="dxPopup: addWorkResultCheckItemPopup.options">        <div class="dx-clearfix" data-options="dxTemplate: { name: 'title' } " style="margin: 0 auto;">            <div data-bind="dxToolbar: { dataSource: addWorkResultCheckItemPopup.toolbarItems }"></div>        </div>        <div class="dx-clearfix" data-options="dxTemplate: { name: 'content' } ">            <div id="popupDetail" data-bind="dxscrollview: { }">                <div class="dx-fieldset" style="float: left; width: 480px">                    <p class="body_sub_title_2depth">작업이력입력</p>                    <div class="dx-field cw-multi-field-merge">                        <div class="dx-field-label">작업일</div>                        <!--<div class="dx-field-value" data-bind="dxDateBox: { value: workCheckItemViewModel.CheckDate, format: 'date', min: dataModel.StartDate, max: dataModel.EndDate, width: 150, disabled: !addWorkResultCheckItemPopup.isNew(), valueChangeAction:addWorkResultCheckItemPopup.dateboxCheckDate}"></div>-->                        <div class="dx-field-value" data-bind="text: $G.date( workCheckItemViewModel.CheckDate()), css: {'dx-state-invisible' : addWorkResultCheckItemPopup.isEditMode }"></div>                        <div class="dx-field-value" data-bind="dxDateBox: { value: workCheckItemViewModel.CheckDate, format: 'date', min: dataModel.StartDate, width: 150, valueChangeAction:addWorkResultCheckItemPopup.dateboxCheckDate}, css: {'dx-state-invisible' : !addWorkResultCheckItemPopup.isEditMode() }"></div>                    </div>                    <div class="dx-field cw-multi-field-merge">                        <div class="dx-field-label">작업 완료 여부</div>                        <div class="dx-field-value" data-bind="dxSwitch: { value: workCheckItemViewModel.IsWorkDone, onText: $G('done'), offText: $G('notDone'), disabled: !addWorkResultCheckItemPopup.isNew(), valueChangeAction:addWorkResultCheckItemPopup.switchWorkDone  }"></div>                    </div>                    <div class="dx-field cw-multi-field-merge">                        <div class="dx-field-label">작업 보류 여부</div>                        <div class="dx-field-value" id="hold" data-bind="dxSwitch: { value: workCheckItemViewModel.IsWorkHold, onText: '보류', offText: '진행', disabled: !addWorkResultCheckItemPopup.isNew(), valueChangeAction:addWorkResultCheckItemPopup.switchWorkHold  }"></div>                    </div>                    <div class="result_popup_table_wrap" style="border:0; padding:0 0 10px 0">                        <table>                            <caption class="skip">작업내용</caption>                            <tbody>                                <tr>                                    <td class="result_item result_item_var minimal_height">@workContent</td>                                </tr>                                <tr>                                    <td class="result_con">                                        <div class="dx-field-value dxTextArea_InputArea" data-bind="dxTextArea: { value: workCheckItemViewModel.TextResult, height: 200, width:430 }, css: {'dx-state-invisible': !addWorkResultCheckItemPopup.isEditMode() }"></div>                                        <div class="dx-field-value dxTextArea_InputArea" style="word-wrap: break-word;" data-bind="dxTextArea: { value: workCheckItemViewModel.TextResult, height: 200, width:430, disabled: true }, css: {'dx-state-invisible': addWorkResultCheckItemPopup.isEditMode }"></div>                                    </td>                                </tr>                            </tbody>                        </table>                    </div>                    <div class="result_popup_table_wrap" style="border:0; padding:0 0 10px 0;width:940px;">                        <table>                            <tbody>                                <tr>                                    <td class="result_item result_item_var minimal_height" style="width:940px;">@Attachments</td>                                </tr>                                <tr>                                    <!-- ko if: addWorkResultCheckItemPopup.isEditMode() -->                                    <td class="result_con" style="display:  inline-flex;height: auto !important;">                                        <div class="construction_image" style="height:auto;width: 465px !important;">                                            <form class="dropzone" id="workcheckitemDropZone1"></form>                                        </div>                                        <div class="construction_image" style="height:auto;width: 465px !important;">                                            <form class="dropzone" id="workcheckitemDropZone2"></form>                                        </div>                                    </td>                                    <!--                                    <td class="result_con">                                                                                              <div class="construction_image" style="height:auto;">                                                                                                  <form class="dropzone" id="workcheckitemDropZone2"></form>                                                                                              </div>                                                                                          </td>-->                                    <!-- /ko -->                                    <!-- ko ifnot: addWorkResultCheckItemPopup.isEditMode() -->                                    <td class="result_con">                                        <div class="dx-field-value" style="white-space:nowrap;">                                            <a data-bind="text: workCheckItemViewModel.AttachmentFileName1, attr: { href: imagefileUrl1, download: workCheckItemViewModel.AttachmentFileName1 }"                                               style="color: purple !important; text-decoration: underline;"                                               target="_blank"></a>                                        </div>                                        <div class="dx-field-value" style="white-space:nowrap;">                                            <a data-bind="text: workCheckItemViewModel.AttachmentFileName2, attr: { href: imagefileUrl2, download: workCheckItemViewModel.AttachmentFileName2 }"                                               style="color: purple !important; text-decoration: underline;"                                               target="_blank"></a>                                        </div>                                    </td>                                    <!-- /ko -->                                </tr>                                <form class="dropzone2" id="workcheckitemDropZone3" data-bind="css: {'dx-state-invisible':true }"></form><!--2019-10-14 변경-->                                <form class="dropzone3" id="workcheckitemDropZone4" data-bind="css: {'dx-state-invisible':true }"></form><!--2019-10-14 변경-->                            </tbody>                        </table>                    </div>                </div>                <div class="dx-fieldset" style="float: left; padding-left: 0px !important; width: 480px;">                    <p class="body_sub_title_2depth">@materialList</p>                    <div id="gridContainer3" class="dx-field-value" style="height: 330px;margin-top:-20px;" data-bind="dxDataGrid: addWorkResultCheckItemPopup.modifiableMaterialDataGridOptions"></div>                </div>            </div>        </div>    </div></div>
 |