@dssp/supervision 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-client/bootstrap.d.ts +1 -0
- package/dist-client/bootstrap.js +2 -0
- package/dist-client/bootstrap.js.map +1 -0
- package/dist-client/graphql/building-inspection.d.ts +1 -0
- package/dist-client/graphql/building-inspection.js +102 -0
- package/dist-client/graphql/building-inspection.js.map +1 -0
- package/dist-client/index.d.ts +0 -0
- package/dist-client/index.js +2 -0
- package/dist-client/index.js.map +1 -0
- package/dist-client/pages/action-plan/action-plan-importer.d.ts +10 -0
- package/dist-client/pages/action-plan/action-plan-importer.js +101 -0
- package/dist-client/pages/action-plan/action-plan-importer.js.map +1 -0
- package/dist-client/pages/action-plan/action-plan-list-page.d.ts +62 -0
- package/dist-client/pages/action-plan/action-plan-list-page.js +322 -0
- package/dist-client/pages/action-plan/action-plan-list-page.js.map +1 -0
- package/dist-client/pages/building-inspection/building-inspection-detail-ai-defect.d.ts +22 -0
- package/dist-client/pages/building-inspection/building-inspection-detail-ai-defect.js +171 -0
- package/dist-client/pages/building-inspection/building-inspection-detail-ai-defect.js.map +1 -0
- package/dist-client/pages/building-inspection/building-inspection-detail-ai-measurement.d.ts +71 -0
- package/dist-client/pages/building-inspection/building-inspection-detail-ai-measurement.js +1407 -0
- package/dist-client/pages/building-inspection/building-inspection-detail-ai-measurement.js.map +1 -0
- package/dist-client/pages/building-inspection/building-inspection-detail-ai-measurement_old_ai.d.ts +59 -0
- package/dist-client/pages/building-inspection/building-inspection-detail-ai-measurement_old_ai.js +868 -0
- package/dist-client/pages/building-inspection/building-inspection-detail-ai-measurement_old_ai.js.map +1 -0
- package/dist-client/pages/building-inspection/building-inspection-detail-camera.d.ts +27 -0
- package/dist-client/pages/building-inspection/building-inspection-detail-camera.js +342 -0
- package/dist-client/pages/building-inspection/building-inspection-detail-camera.js.map +1 -0
- package/dist-client/pages/building-inspection/building-inspection-detail-checklist.d.ts +31 -0
- package/dist-client/pages/building-inspection/building-inspection-detail-checklist.js +332 -0
- package/dist-client/pages/building-inspection/building-inspection-detail-checklist.js.map +1 -0
- package/dist-client/pages/building-inspection/building-inspection-detail-drawing.d.ts +36 -0
- package/dist-client/pages/building-inspection/building-inspection-detail-drawing.js +369 -0
- package/dist-client/pages/building-inspection/building-inspection-detail-drawing.js.map +1 -0
- package/dist-client/pages/building-inspection/building-inspection-list.d.ts +98 -0
- package/dist-client/pages/building-inspection/building-inspection-list.js +914 -0
- package/dist-client/pages/building-inspection/building-inspection-list.js.map +1 -0
- package/dist-client/pages/building-inspection/building-inspection-management.d.ts +82 -0
- package/dist-client/pages/building-inspection/building-inspection-management.js +1527 -0
- package/dist-client/pages/building-inspection/building-inspection-management.js.map +1 -0
- package/dist-client/pages/building-inspection/component/building-inspection-detail-header.d.ts +1 -0
- package/dist-client/pages/building-inspection/component/building-inspection-detail-header.js +178 -0
- package/dist-client/pages/building-inspection/component/building-inspection-detail-header.js.map +1 -0
- package/dist-client/pages/building-inspection/component/daily-worklog-popup.d.ts +27 -0
- package/dist-client/pages/building-inspection/component/daily-worklog-popup.js +542 -0
- package/dist-client/pages/building-inspection/component/daily-worklog-popup.js.map +1 -0
- package/dist-client/pages/building-inspection/component/field-document/field-document-constants.d.ts +18 -0
- package/dist-client/pages/building-inspection/component/field-document/field-document-constants.js +630 -0
- package/dist-client/pages/building-inspection/component/field-document/field-document-constants.js.map +1 -0
- package/dist-client/pages/building-inspection/component/field-document/field-document-detail-popup.d.ts +10 -0
- package/dist-client/pages/building-inspection/component/field-document/field-document-detail-popup.js +219 -0
- package/dist-client/pages/building-inspection/component/field-document/field-document-detail-popup.js.map +1 -0
- package/dist-client/pages/building-inspection/component/field-document/field-document-list-panel.d.ts +25 -0
- package/dist-client/pages/building-inspection/component/field-document/field-document-list-panel.js +546 -0
- package/dist-client/pages/building-inspection/component/field-document/field-document-list-panel.js.map +1 -0
- package/dist-client/pages/building-inspection/component/field-document/field-document-popup.d.ts +42 -0
- package/dist-client/pages/building-inspection/component/field-document/field-document-popup.js +738 -0
- package/dist-client/pages/building-inspection/component/field-document/field-document-popup.js.map +1 -0
- package/dist-client/pages/building-inspection/component/image-preview-popup.d.ts +15 -0
- package/dist-client/pages/building-inspection/component/image-preview-popup.js +348 -0
- package/dist-client/pages/building-inspection/component/image-preview-popup.js.map +1 -0
- package/dist-client/pages/building-inspection/component/inspection-document/inspection-request-document.d.ts +25 -0
- package/dist-client/pages/building-inspection/component/inspection-document/inspection-request-document.js +491 -0
- package/dist-client/pages/building-inspection/component/inspection-document/inspection-request-document.js.map +1 -0
- package/dist-client/pages/building-inspection/component/inspection-document/inspection-result-notification.d.ts +31 -0
- package/dist-client/pages/building-inspection/component/inspection-document/inspection-result-notification.js +485 -0
- package/dist-client/pages/building-inspection/component/inspection-document/inspection-result-notification.js.map +1 -0
- package/dist-client/pages/building-inspection/component/inspection-document/photo-album-popup.d.ts +27 -0
- package/dist-client/pages/building-inspection/component/inspection-document/photo-album-popup.js +416 -0
- package/dist-client/pages/building-inspection/component/inspection-document/photo-album-popup.js.map +1 -0
- package/dist-client/pages/building-inspection/component/inspection-event-provider.d.ts +9 -0
- package/dist-client/pages/building-inspection/component/inspection-event-provider.js +190 -0
- package/dist-client/pages/building-inspection/component/inspection-event-provider.js.map +1 -0
- package/dist-client/pages/building-inspection/inspection-create-popup.d.ts +3 -0
- package/dist-client/pages/building-inspection/inspection-create-popup.js +841 -0
- package/dist-client/pages/building-inspection/inspection-create-popup.js.map +1 -0
- package/dist-client/pages/building-inspection/inspection-with-checklist-create-popup.d.ts +4 -0
- package/dist-client/pages/building-inspection/inspection-with-checklist-create-popup.js +844 -0
- package/dist-client/pages/building-inspection/inspection-with-checklist-create-popup.js.map +1 -0
- package/dist-client/pages/building-inspection-grid/building-inspection-grid-detail.d.ts +60 -0
- package/dist-client/pages/building-inspection-grid/building-inspection-grid-detail.js +1135 -0
- package/dist-client/pages/building-inspection-grid/building-inspection-grid-detail.js.map +1 -0
- package/dist-client/pages/building-inspection-grid/component/grid-inspection-create-popup.d.ts +2 -0
- package/dist-client/pages/building-inspection-grid/component/grid-inspection-create-popup.js +740 -0
- package/dist-client/pages/building-inspection-grid/component/grid-inspection-create-popup.js.map +1 -0
- package/dist-client/pages/building-inspection-grid/component/grid-inspection-list-layer.d.ts +19 -0
- package/dist-client/pages/building-inspection-grid/component/grid-inspection-list-layer.js +205 -0
- package/dist-client/pages/building-inspection-grid/component/grid-inspection-list-layer.js.map +1 -0
- package/dist-client/pages/building-inspection-grid/component/notice-comment-popup.d.ts +1 -0
- package/dist-client/pages/building-inspection-grid/component/notice-comment-popup.js +304 -0
- package/dist-client/pages/building-inspection-grid/component/notice-comment-popup.js.map +1 -0
- package/dist-client/pages/building-inspection-grid/component/plan-preview-popup.d.ts +15 -0
- package/dist-client/pages/building-inspection-grid/component/plan-preview-popup.js +430 -0
- package/dist-client/pages/building-inspection-grid/component/plan-preview-popup.js.map +1 -0
- package/dist-client/pages/checklist/attachment-list-popup.d.ts +3 -0
- package/dist-client/pages/checklist/attachment-list-popup.js +492 -0
- package/dist-client/pages/checklist/attachment-list-popup.js.map +1 -0
- package/dist-client/pages/checklist/checklist-view.d.ts +16 -0
- package/dist-client/pages/checklist/checklist-view.js +926 -0
- package/dist-client/pages/checklist/checklist-view.js.map +1 -0
- package/dist-client/pages/checklist/comment-list-popup.d.ts +1 -0
- package/dist-client/pages/checklist/comment-list-popup.js +367 -0
- package/dist-client/pages/checklist/comment-list-popup.js.map +1 -0
- package/dist-client/pages/checklist/file-preview-popup.d.ts +1 -0
- package/dist-client/pages/checklist/file-preview-popup.js +77 -0
- package/dist-client/pages/checklist/file-preview-popup.js.map +1 -0
- package/dist-client/pages/checklist/inspection-info-popup.d.ts +49 -0
- package/dist-client/pages/checklist/inspection-info-popup.js +683 -0
- package/dist-client/pages/checklist/inspection-info-popup.js.map +1 -0
- package/dist-client/pages/checklist/inspection-tab-popup.d.ts +18 -0
- package/dist-client/pages/checklist/inspection-tab-popup.js +196 -0
- package/dist-client/pages/checklist/inspection-tab-popup.js.map +1 -0
- package/dist-client/pages/checklist/kcs-criteria-popup.d.ts +16 -0
- package/dist-client/pages/checklist/kcs-criteria-popup.js +179 -0
- package/dist-client/pages/checklist/kcs-criteria-popup.js.map +1 -0
- package/dist-client/pages/checklist-database/checklist-database.d.ts +35 -0
- package/dist-client/pages/checklist-database/checklist-database.js +540 -0
- package/dist-client/pages/checklist-database/checklist-database.js.map +1 -0
- package/dist-client/pages/checklist-template/checklist-template-item.d.ts +2 -0
- package/dist-client/pages/checklist-template/checklist-template-item.js +278 -0
- package/dist-client/pages/checklist-template/checklist-template-item.js.map +1 -0
- package/dist-client/pages/checklist-template/checklist-template-list.d.ts +53 -0
- package/dist-client/pages/checklist-template/checklist-template-list.js +350 -0
- package/dist-client/pages/checklist-template/checklist-template-list.js.map +1 -0
- package/dist-client/pages/checklist-template/checklist-type-management.d.ts +55 -0
- package/dist-client/pages/checklist-template/checklist-type-management.js +250 -0
- package/dist-client/pages/checklist-template/checklist-type-management.js.map +1 -0
- package/dist-client/pages/checklist-template/construction-checklist-template-item-popup.d.ts +2 -0
- package/dist-client/pages/checklist-template/construction-checklist-template-item-popup.js +223 -0
- package/dist-client/pages/checklist-template/construction-checklist-template-item-popup.js.map +1 -0
- package/dist-client/pages/checklist-template/construction-checklist-template-list.d.ts +55 -0
- package/dist-client/pages/checklist-template/construction-checklist-template-list.js +404 -0
- package/dist-client/pages/checklist-template/construction-checklist-template-list.js.map +1 -0
- package/dist-client/pages/issue/issue-importer.d.ts +10 -0
- package/dist-client/pages/issue/issue-importer.js +101 -0
- package/dist-client/pages/issue/issue-importer.js.map +1 -0
- package/dist-client/pages/issue/issue-list-page.d.ts +62 -0
- package/dist-client/pages/issue/issue-list-page.js +322 -0
- package/dist-client/pages/issue/issue-list-page.js.map +1 -0
- package/dist-client/pages/project-checklist/project-checklist-management.d.ts +62 -0
- package/dist-client/pages/project-checklist/project-checklist-management.js +1145 -0
- package/dist-client/pages/project-checklist/project-checklist-management.js.map +1 -0
- package/dist-client/pages/project-report/project-report-importer.d.ts +10 -0
- package/dist-client/pages/project-report/project-report-importer.js +101 -0
- package/dist-client/pages/project-report/project-report-importer.js.map +1 -0
- package/dist-client/pages/project-report/project-report-list-page.d.ts +62 -0
- package/dist-client/pages/project-report/project-report-list-page.js +322 -0
- package/dist-client/pages/project-report/project-report-list-page.js.map +1 -0
- package/dist-client/pages/supervisor/supervisor-importer.d.ts +10 -0
- package/dist-client/pages/supervisor/supervisor-importer.js +101 -0
- package/dist-client/pages/supervisor/supervisor-importer.js.map +1 -0
- package/dist-client/pages/supervisor/supervisor-list-page.d.ts +62 -0
- package/dist-client/pages/supervisor/supervisor-list-page.js +322 -0
- package/dist-client/pages/supervisor/supervisor-list-page.js.map +1 -0
- package/dist-client/route.d.ts +1 -0
- package/dist-client/route.js +44 -0
- package/dist-client/route.js.map +1 -0
- package/dist-client/stt/speech-to-text.d.ts +41 -0
- package/dist-client/stt/speech-to-text.js +331 -0
- package/dist-client/stt/speech-to-text.js.map +1 -0
- package/dist-client/stt/stt-utils.d.ts +28 -0
- package/dist-client/stt/stt-utils.js +146 -0
- package/dist-client/stt/stt-utils.js.map +1 -0
- package/dist-client/tsconfig.tsbuildinfo +1 -0
- package/dist-server/controllers/index.d.ts +0 -0
- package/dist-server/controllers/index.js +1 -0
- package/dist-server/controllers/index.js.map +1 -0
- package/dist-server/index.d.ts +3 -0
- package/dist-server/index.js +7 -0
- package/dist-server/index.js.map +1 -0
- package/dist-server/middlewares/index.d.ts +1 -0
- package/dist-server/middlewares/index.js +7 -0
- package/dist-server/middlewares/index.js.map +1 -0
- package/dist-server/migrations/index.d.ts +1 -0
- package/dist-server/migrations/index.js +12 -0
- package/dist-server/migrations/index.js.map +1 -0
- package/dist-server/routes.d.ts +0 -0
- package/dist-server/routes.js +25 -0
- package/dist-server/routes.js.map +1 -0
- package/dist-server/service/action-plan/action-plan-mutation.d.ts +10 -0
- package/dist-server/service/action-plan/action-plan-mutation.js +167 -0
- package/dist-server/service/action-plan/action-plan-mutation.js.map +1 -0
- package/dist-server/service/action-plan/action-plan-query.d.ts +12 -0
- package/dist-server/service/action-plan/action-plan-query.js +91 -0
- package/dist-server/service/action-plan/action-plan-query.js.map +1 -0
- package/dist-server/service/action-plan/action-plan-type.d.ts +23 -0
- package/dist-server/service/action-plan/action-plan-type.js +86 -0
- package/dist-server/service/action-plan/action-plan-type.js.map +1 -0
- package/dist-server/service/action-plan/action-plan.d.ts +27 -0
- package/dist-server/service/action-plan/action-plan.js +116 -0
- package/dist-server/service/action-plan/action-plan.js.map +1 -0
- package/dist-server/service/action-plan/index.d.ts +5 -0
- package/dist-server/service/action-plan/index.js +9 -0
- package/dist-server/service/action-plan/index.js.map +1 -0
- package/dist-server/service/building-inspection/building-inspection-mutation.d.ts +9 -0
- package/dist-server/service/building-inspection/building-inspection-mutation.js +404 -0
- package/dist-server/service/building-inspection/building-inspection-mutation.js.map +1 -0
- package/dist-server/service/building-inspection/building-inspection-query.d.ts +24 -0
- package/dist-server/service/building-inspection/building-inspection-query.js +406 -0
- package/dist-server/service/building-inspection/building-inspection-query.js.map +1 -0
- package/dist-server/service/building-inspection/building-inspection-type.d.ts +89 -0
- package/dist-server/service/building-inspection/building-inspection-type.js +330 -0
- package/dist-server/service/building-inspection/building-inspection-type.js.map +1 -0
- package/dist-server/service/building-inspection/building-inspection.d.ts +42 -0
- package/dist-server/service/building-inspection/building-inspection.js +186 -0
- package/dist-server/service/building-inspection/building-inspection.js.map +1 -0
- package/dist-server/service/building-inspection/index.d.ts +7 -0
- package/dist-server/service/building-inspection/index.js +19 -0
- package/dist-server/service/building-inspection/index.js.map +1 -0
- package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-mutation.d.ts +6 -0
- package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-mutation.js +66 -0
- package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-mutation.js.map +1 -0
- package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-query.d.ts +16 -0
- package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-query.js +171 -0
- package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-query.js.map +1 -0
- package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-type.d.ts +23 -0
- package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-type.js +90 -0
- package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-type.js.map +1 -0
- package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog.d.ts +33 -0
- package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog.js +132 -0
- package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog.js.map +1 -0
- package/dist-server/service/building-inspection-daily-worklog/index.d.ts +5 -0
- package/dist-server/service/building-inspection-daily-worklog/index.js +9 -0
- package/dist-server/service/building-inspection-daily-worklog/index.js.map +1 -0
- package/dist-server/service/building-inspection-history/building-inspection-history-query.d.ts +16 -0
- package/dist-server/service/building-inspection-history/building-inspection-history-query.js +120 -0
- package/dist-server/service/building-inspection-history/building-inspection-history-query.js.map +1 -0
- package/dist-server/service/building-inspection-history/building-inspection-history-type.d.ts +5 -0
- package/dist-server/service/building-inspection-history/building-inspection-history-type.js +21 -0
- package/dist-server/service/building-inspection-history/building-inspection-history-type.js.map +1 -0
- package/dist-server/service/building-inspection-history/building-inspection-history.d.ts +35 -0
- package/dist-server/service/building-inspection-history/building-inspection-history.js +162 -0
- package/dist-server/service/building-inspection-history/building-inspection-history.js.map +1 -0
- package/dist-server/service/building-inspection-history/event-subscriber.d.ts +7 -0
- package/dist-server/service/building-inspection-history/event-subscriber.js +21 -0
- package/dist-server/service/building-inspection-history/event-subscriber.js.map +1 -0
- package/dist-server/service/building-inspection-history/index.d.ts +6 -0
- package/dist-server/service/building-inspection-history/index.js +10 -0
- package/dist-server/service/building-inspection-history/index.js.map +1 -0
- package/dist-server/service/checklist/checklist-mutation.d.ts +3 -0
- package/dist-server/service/checklist/checklist-mutation.js +30 -0
- package/dist-server/service/checklist/checklist-mutation.js.map +1 -0
- package/dist-server/service/checklist/checklist-query.d.ts +21 -0
- package/dist-server/service/checklist/checklist-query.js +177 -0
- package/dist-server/service/checklist/checklist-query.js.map +1 -0
- package/dist-server/service/checklist/checklist-type.d.ts +5 -0
- package/dist-server/service/checklist/checklist-type.js +21 -0
- package/dist-server/service/checklist/checklist-type.js.map +1 -0
- package/dist-server/service/checklist/checklist.d.ts +66 -0
- package/dist-server/service/checklist/checklist.js +259 -0
- package/dist-server/service/checklist/checklist.js.map +1 -0
- package/dist-server/service/checklist/event-subscriber.d.ts +7 -0
- package/dist-server/service/checklist/event-subscriber.js +21 -0
- package/dist-server/service/checklist/event-subscriber.js.map +1 -0
- package/dist-server/service/checklist/index.d.ts +5 -0
- package/dist-server/service/checklist/index.js +9 -0
- package/dist-server/service/checklist/index.js.map +1 -0
- package/dist-server/service/checklist-history/checklist-history-query.d.ts +11 -0
- package/dist-server/service/checklist-history/checklist-history-query.js +77 -0
- package/dist-server/service/checklist-history/checklist-history-query.js.map +1 -0
- package/dist-server/service/checklist-history/checklist-history-type.d.ts +5 -0
- package/dist-server/service/checklist-history/checklist-history-type.js +21 -0
- package/dist-server/service/checklist-history/checklist-history-type.js.map +1 -0
- package/dist-server/service/checklist-history/checklist-history.d.ts +50 -0
- package/dist-server/service/checklist-history/checklist-history.js +239 -0
- package/dist-server/service/checklist-history/checklist-history.js.map +1 -0
- package/dist-server/service/checklist-history/event-subscriber.d.ts +7 -0
- package/dist-server/service/checklist-history/event-subscriber.js +21 -0
- package/dist-server/service/checklist-history/event-subscriber.js.map +1 -0
- package/dist-server/service/checklist-history/index.d.ts +6 -0
- package/dist-server/service/checklist-history/index.js +10 -0
- package/dist-server/service/checklist-history/index.js.map +1 -0
- package/dist-server/service/checklist-item/checklist-item-mutation.d.ts +4 -0
- package/dist-server/service/checklist-item/checklist-item-mutation.js +39 -0
- package/dist-server/service/checklist-item/checklist-item-mutation.js.map +1 -0
- package/dist-server/service/checklist-item/checklist-item-query.d.ts +18 -0
- package/dist-server/service/checklist-item/checklist-item-query.js +138 -0
- package/dist-server/service/checklist-item/checklist-item-query.js.map +1 -0
- package/dist-server/service/checklist-item/checklist-item-type.d.ts +9 -0
- package/dist-server/service/checklist-item/checklist-item-type.js +35 -0
- package/dist-server/service/checklist-item/checklist-item-type.js.map +1 -0
- package/dist-server/service/checklist-item/checklist-item.d.ts +29 -0
- package/dist-server/service/checklist-item/checklist-item.js +124 -0
- package/dist-server/service/checklist-item/checklist-item.js.map +1 -0
- package/dist-server/service/checklist-item/index.d.ts +5 -0
- package/dist-server/service/checklist-item/index.js +9 -0
- package/dist-server/service/checklist-item/index.js.map +1 -0
- package/dist-server/service/checklist-item-comment/checklist-item-comment-history.d.ts +16 -0
- package/dist-server/service/checklist-item-comment/checklist-item-comment-history.js +83 -0
- package/dist-server/service/checklist-item-comment/checklist-item-comment-history.js.map +1 -0
- package/dist-server/service/checklist-item-comment/checklist-item-comment-mutation.d.ts +8 -0
- package/dist-server/service/checklist-item-comment/checklist-item-comment-mutation.js +114 -0
- package/dist-server/service/checklist-item-comment/checklist-item-comment-mutation.js.map +1 -0
- package/dist-server/service/checklist-item-comment/checklist-item-comment-query.d.ts +7 -0
- package/dist-server/service/checklist-item-comment/checklist-item-comment-query.js +49 -0
- package/dist-server/service/checklist-item-comment/checklist-item-comment-query.js.map +1 -0
- package/dist-server/service/checklist-item-comment/checklist-item-comment-type.d.ts +14 -0
- package/dist-server/service/checklist-item-comment/checklist-item-comment-type.js +53 -0
- package/dist-server/service/checklist-item-comment/checklist-item-comment-type.js.map +1 -0
- package/dist-server/service/checklist-item-comment/checklist-item-comment.d.ts +12 -0
- package/dist-server/service/checklist-item-comment/checklist-item-comment.js +57 -0
- package/dist-server/service/checklist-item-comment/checklist-item-comment.js.map +1 -0
- package/dist-server/service/checklist-item-comment/index.d.ts +5 -0
- package/dist-server/service/checklist-item-comment/index.js +10 -0
- package/dist-server/service/checklist-item-comment/index.js.map +1 -0
- package/dist-server/service/checklist-item-history/checklist-item-history-query.d.ts +16 -0
- package/dist-server/service/checklist-item-history/checklist-item-history-query.js +123 -0
- package/dist-server/service/checklist-item-history/checklist-item-history-query.js.map +1 -0
- package/dist-server/service/checklist-item-history/checklist-item-history-type.d.ts +5 -0
- package/dist-server/service/checklist-item-history/checklist-item-history-type.js +21 -0
- package/dist-server/service/checklist-item-history/checklist-item-history-type.js.map +1 -0
- package/dist-server/service/checklist-item-history/checklist-item-history.d.ts +27 -0
- package/dist-server/service/checklist-item-history/checklist-item-history.js +133 -0
- package/dist-server/service/checklist-item-history/checklist-item-history.js.map +1 -0
- package/dist-server/service/checklist-item-history/event-subscriber.d.ts +7 -0
- package/dist-server/service/checklist-item-history/event-subscriber.js +21 -0
- package/dist-server/service/checklist-item-history/event-subscriber.js.map +1 -0
- package/dist-server/service/checklist-item-history/index.d.ts +6 -0
- package/dist-server/service/checklist-item-history/index.js +10 -0
- package/dist-server/service/checklist-item-history/index.js.map +1 -0
- package/dist-server/service/checklist-template/checklist-template-mutation.d.ts +6 -0
- package/dist-server/service/checklist-template/checklist-template-mutation.js +64 -0
- package/dist-server/service/checklist-template/checklist-template-mutation.js.map +1 -0
- package/dist-server/service/checklist-template/checklist-template-query.d.ts +10 -0
- package/dist-server/service/checklist-template/checklist-template-query.js +62 -0
- package/dist-server/service/checklist-template/checklist-template-query.js.map +1 -0
- package/dist-server/service/checklist-template/checklist-template-type.d.ts +10 -0
- package/dist-server/service/checklist-template/checklist-template-type.js +39 -0
- package/dist-server/service/checklist-template/checklist-template-type.js.map +1 -0
- package/dist-server/service/checklist-template/checklist-template.d.ts +17 -0
- package/dist-server/service/checklist-template/checklist-template.js +78 -0
- package/dist-server/service/checklist-template/checklist-template.js.map +1 -0
- package/dist-server/service/checklist-template/index.d.ts +5 -0
- package/dist-server/service/checklist-template/index.js +9 -0
- package/dist-server/service/checklist-template/index.js.map +1 -0
- package/dist-server/service/checklist-template-item/checklist-template-item-mutation.d.ts +7 -0
- package/dist-server/service/checklist-template-item/checklist-template-item-mutation.js +80 -0
- package/dist-server/service/checklist-template-item/checklist-template-item-mutation.js.map +1 -0
- package/dist-server/service/checklist-template-item/checklist-template-item-query.d.ts +11 -0
- package/dist-server/service/checklist-template-item/checklist-template-item-query.js +78 -0
- package/dist-server/service/checklist-template-item/checklist-template-item-query.js.map +1 -0
- package/dist-server/service/checklist-template-item/checklist-template-item-type.d.ts +19 -0
- package/dist-server/service/checklist-template-item/checklist-template-item-type.js +69 -0
- package/dist-server/service/checklist-template-item/checklist-template-item-type.js.map +1 -0
- package/dist-server/service/checklist-template-item/checklist-template-item.d.ts +26 -0
- package/dist-server/service/checklist-template-item/checklist-template-item.js +106 -0
- package/dist-server/service/checklist-template-item/checklist-template-item.js.map +1 -0
- package/dist-server/service/checklist-template-item/index.d.ts +5 -0
- package/dist-server/service/checklist-template-item/index.js +9 -0
- package/dist-server/service/checklist-template-item/index.js.map +1 -0
- package/dist-server/service/checklist-template-item/spec-matching-service.d.ts +2 -0
- package/dist-server/service/checklist-template-item/spec-matching-service.js +51 -0
- package/dist-server/service/checklist-template-item/spec-matching-service.js.map +1 -0
- package/dist-server/service/checklist-type/checklist-type-mutation.d.ts +6 -0
- package/dist-server/service/checklist-type/checklist-type-mutation.js +64 -0
- package/dist-server/service/checklist-type/checklist-type-mutation.js.map +1 -0
- package/dist-server/service/checklist-type/checklist-type-query.d.ts +10 -0
- package/dist-server/service/checklist-type/checklist-type-query.js +62 -0
- package/dist-server/service/checklist-type/checklist-type-query.js.map +1 -0
- package/dist-server/service/checklist-type/checklist-type-type.d.ts +11 -0
- package/dist-server/service/checklist-type/checklist-type-type.js +43 -0
- package/dist-server/service/checklist-type/checklist-type-type.js.map +1 -0
- package/dist-server/service/checklist-type/checklist-type.d.ts +19 -0
- package/dist-server/service/checklist-type/checklist-type.js +78 -0
- package/dist-server/service/checklist-type/checklist-type.js.map +1 -0
- package/dist-server/service/checklist-type/index.d.ts +5 -0
- package/dist-server/service/checklist-type/index.js +9 -0
- package/dist-server/service/checklist-type/index.js.map +1 -0
- package/dist-server/service/construction-checklist-template/construction-checklist-template-mutation.d.ts +7 -0
- package/dist-server/service/construction-checklist-template/construction-checklist-template-mutation.js +107 -0
- package/dist-server/service/construction-checklist-template/construction-checklist-template-mutation.js.map +1 -0
- package/dist-server/service/construction-checklist-template/construction-checklist-template-query.d.ts +10 -0
- package/dist-server/service/construction-checklist-template/construction-checklist-template-query.js +62 -0
- package/dist-server/service/construction-checklist-template/construction-checklist-template-query.js.map +1 -0
- package/dist-server/service/construction-checklist-template/construction-checklist-template-type.d.ts +11 -0
- package/dist-server/service/construction-checklist-template/construction-checklist-template-type.js +43 -0
- package/dist-server/service/construction-checklist-template/construction-checklist-template-type.js.map +1 -0
- package/dist-server/service/construction-checklist-template/construction-checklist-template.d.ts +18 -0
- package/dist-server/service/construction-checklist-template/construction-checklist-template.js +80 -0
- package/dist-server/service/construction-checklist-template/construction-checklist-template.js.map +1 -0
- package/dist-server/service/construction-checklist-template/index.d.ts +5 -0
- package/dist-server/service/construction-checklist-template/index.js +9 -0
- package/dist-server/service/construction-checklist-template/index.js.map +1 -0
- package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item-mutation.d.ts +6 -0
- package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item-mutation.js +56 -0
- package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item-mutation.js.map +1 -0
- package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item-query.d.ts +9 -0
- package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item-query.js +53 -0
- package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item-query.js.map +1 -0
- package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item-type.d.ts +17 -0
- package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item-type.js +67 -0
- package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item-type.js.map +1 -0
- package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item.d.ts +24 -0
- package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item.js +113 -0
- package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item.js.map +1 -0
- package/dist-server/service/construction-checklist-template-item/index.d.ts +5 -0
- package/dist-server/service/construction-checklist-template-item/index.js +9 -0
- package/dist-server/service/construction-checklist-template-item/index.js.map +1 -0
- package/dist-server/service/field-document/field-document-auto-file.d.ts +21 -0
- package/dist-server/service/field-document/field-document-auto-file.js +47 -0
- package/dist-server/service/field-document/field-document-auto-file.js.map +1 -0
- package/dist-server/service/field-document/field-document-mutation.d.ts +9 -0
- package/dist-server/service/field-document/field-document-mutation.js +139 -0
- package/dist-server/service/field-document/field-document-mutation.js.map +1 -0
- package/dist-server/service/field-document/field-document-query.d.ts +14 -0
- package/dist-server/service/field-document/field-document-query.js +120 -0
- package/dist-server/service/field-document/field-document-query.js.map +1 -0
- package/dist-server/service/field-document/field-document-summary-service.d.ts +10 -0
- package/dist-server/service/field-document/field-document-summary-service.js +79 -0
- package/dist-server/service/field-document/field-document-summary-service.js.map +1 -0
- package/dist-server/service/field-document/field-document-type.d.ts +24 -0
- package/dist-server/service/field-document/field-document-type.js +88 -0
- package/dist-server/service/field-document/field-document-type.js.map +1 -0
- package/dist-server/service/field-document/field-document.d.ts +29 -0
- package/dist-server/service/field-document/field-document.js +127 -0
- package/dist-server/service/field-document/field-document.js.map +1 -0
- package/dist-server/service/field-document/index.d.ts +5 -0
- package/dist-server/service/field-document/index.js +9 -0
- package/dist-server/service/field-document/index.js.map +1 -0
- package/dist-server/service/index.d.ts +23 -0
- package/dist-server/service/index.js +98 -0
- package/dist-server/service/index.js.map +1 -0
- package/dist-server/service/issue/index.d.ts +5 -0
- package/dist-server/service/issue/index.js +9 -0
- package/dist-server/service/issue/index.js.map +1 -0
- package/dist-server/service/issue/issue-mutation.d.ts +10 -0
- package/dist-server/service/issue/issue-mutation.js +167 -0
- package/dist-server/service/issue/issue-mutation.js.map +1 -0
- package/dist-server/service/issue/issue-query.d.ts +12 -0
- package/dist-server/service/issue/issue-query.js +91 -0
- package/dist-server/service/issue/issue-query.js.map +1 -0
- package/dist-server/service/issue/issue-type.d.ts +23 -0
- package/dist-server/service/issue/issue-type.js +86 -0
- package/dist-server/service/issue/issue-type.js.map +1 -0
- package/dist-server/service/issue/issue.d.ts +26 -0
- package/dist-server/service/issue/issue.js +111 -0
- package/dist-server/service/issue/issue.js.map +1 -0
- package/dist-server/service/project-checklist/index.d.ts +5 -0
- package/dist-server/service/project-checklist/index.js +9 -0
- package/dist-server/service/project-checklist/index.js.map +1 -0
- package/dist-server/service/project-checklist/project-checklist-mutation.d.ts +7 -0
- package/dist-server/service/project-checklist/project-checklist-mutation.js +118 -0
- package/dist-server/service/project-checklist/project-checklist-mutation.js.map +1 -0
- package/dist-server/service/project-checklist/project-checklist-query.d.ts +12 -0
- package/dist-server/service/project-checklist/project-checklist-query.js +76 -0
- package/dist-server/service/project-checklist/project-checklist-query.js.map +1 -0
- package/dist-server/service/project-checklist/project-checklist-type.d.ts +18 -0
- package/dist-server/service/project-checklist/project-checklist-type.js +69 -0
- package/dist-server/service/project-checklist/project-checklist-type.js.map +1 -0
- package/dist-server/service/project-checklist/project-checklist.d.ts +20 -0
- package/dist-server/service/project-checklist/project-checklist.js +90 -0
- package/dist-server/service/project-checklist/project-checklist.js.map +1 -0
- package/dist-server/service/project-checklist/spec-matching-service.d.ts +17 -0
- package/dist-server/service/project-checklist/spec-matching-service.js +140 -0
- package/dist-server/service/project-checklist/spec-matching-service.js.map +1 -0
- package/dist-server/service/project-checklist-item/index.d.ts +4 -0
- package/dist-server/service/project-checklist-item/index.js +9 -0
- package/dist-server/service/project-checklist-item/index.js.map +1 -0
- package/dist-server/service/project-checklist-item/project-checklist-item-mutation.d.ts +2 -0
- package/dist-server/service/project-checklist-item/project-checklist-item-mutation.js +13 -0
- package/dist-server/service/project-checklist-item/project-checklist-item-mutation.js.map +1 -0
- package/dist-server/service/project-checklist-item/project-checklist-item-query.d.ts +5 -0
- package/dist-server/service/project-checklist-item/project-checklist-item-query.js +34 -0
- package/dist-server/service/project-checklist-item/project-checklist-item-query.js.map +1 -0
- package/dist-server/service/project-checklist-item/project-checklist-item-type.d.ts +5 -0
- package/dist-server/service/project-checklist-item/project-checklist-item-type.js +21 -0
- package/dist-server/service/project-checklist-item/project-checklist-item-type.js.map +1 -0
- package/dist-server/service/project-checklist-item/project-checklist-item.d.ts +19 -0
- package/dist-server/service/project-checklist-item/project-checklist-item.js +92 -0
- package/dist-server/service/project-checklist-item/project-checklist-item.js.map +1 -0
- package/dist-server/service/project-report/index.d.ts +5 -0
- package/dist-server/service/project-report/index.js +9 -0
- package/dist-server/service/project-report/index.js.map +1 -0
- package/dist-server/service/project-report/project-report-mutation.d.ts +10 -0
- package/dist-server/service/project-report/project-report-mutation.js +167 -0
- package/dist-server/service/project-report/project-report-mutation.js.map +1 -0
- package/dist-server/service/project-report/project-report-query.d.ts +12 -0
- package/dist-server/service/project-report/project-report-query.js +91 -0
- package/dist-server/service/project-report/project-report-query.js.map +1 -0
- package/dist-server/service/project-report/project-report-type.d.ts +23 -0
- package/dist-server/service/project-report/project-report-type.js +86 -0
- package/dist-server/service/project-report/project-report-type.js.map +1 -0
- package/dist-server/service/project-report/project-report.d.ts +28 -0
- package/dist-server/service/project-report/project-report.js +121 -0
- package/dist-server/service/project-report/project-report.js.map +1 -0
- package/dist-server/service/supervisor/index.d.ts +5 -0
- package/dist-server/service/supervisor/index.js +9 -0
- package/dist-server/service/supervisor/index.js.map +1 -0
- package/dist-server/service/supervisor/supervisor-mutation.d.ts +10 -0
- package/dist-server/service/supervisor/supervisor-mutation.js +167 -0
- package/dist-server/service/supervisor/supervisor-mutation.js.map +1 -0
- package/dist-server/service/supervisor/supervisor-query.d.ts +12 -0
- package/dist-server/service/supervisor/supervisor-query.js +91 -0
- package/dist-server/service/supervisor/supervisor-query.js.map +1 -0
- package/dist-server/service/supervisor/supervisor-type.d.ts +23 -0
- package/dist-server/service/supervisor/supervisor-type.js +86 -0
- package/dist-server/service/supervisor/supervisor-type.js.map +1 -0
- package/dist-server/service/supervisor/supervisor.d.ts +28 -0
- package/dist-server/service/supervisor/supervisor.js +121 -0
- package/dist-server/service/supervisor/supervisor.js.map +1 -0
- package/dist-server/tsconfig.tsbuildinfo +1 -0
- package/package.json +4 -4
|
@@ -0,0 +1,914 @@
|
|
|
1
|
+
import { __decorate, __metadata } from "tslib";
|
|
2
|
+
import '@material/web/icon/icon.js';
|
|
3
|
+
import '@operato/data-grist';
|
|
4
|
+
import '@operato/image-marker/ox-image-marker-view.js';
|
|
5
|
+
import { CommonGristStyles, CommonButtonStyles, ScrollbarStyles } from '@operato/styles';
|
|
6
|
+
import { PageView, navigate } from '@operato/shell';
|
|
7
|
+
import { css, html } from 'lit';
|
|
8
|
+
import { customElement, query, state } from 'lit/decorators.js';
|
|
9
|
+
import { ScopedElementsMixin } from '@open-wc/scoped-elements';
|
|
10
|
+
import { DataGrist } from '@operato/data-grist';
|
|
11
|
+
import { client } from '@operato/graphql';
|
|
12
|
+
import { notify } from '@operato/layout';
|
|
13
|
+
import gql from 'graphql-tag';
|
|
14
|
+
import { openPopup } from '@operato/layout';
|
|
15
|
+
import './inspection-create-popup';
|
|
16
|
+
import './component/inspection-document/photo-album-popup';
|
|
17
|
+
import './component/inspection-document/inspection-request-document';
|
|
18
|
+
import './component/inspection-document/inspection-result-notification';
|
|
19
|
+
import './component/image-preview-popup';
|
|
20
|
+
import './component/daily-worklog-popup';
|
|
21
|
+
import '@operato/event-view/ox-event-view.js';
|
|
22
|
+
import { InspectionEventProvider } from './component/inspection-event-provider';
|
|
23
|
+
import { getBuildingInspectionForChecklist } from '../../graphql/building-inspection';
|
|
24
|
+
import { InspectionMode } from './component/inspection-document/inspection-request-document';
|
|
25
|
+
import moment from 'moment-timezone';
|
|
26
|
+
import { DailyWorklogMode } from './component/daily-worklog-popup';
|
|
27
|
+
import { DrawingImageProvider } from '@dssp/drawing/dist-client/drawing-management/drawing-image-provider.js';
|
|
28
|
+
export var ChecklistTypeMainType;
|
|
29
|
+
(function (ChecklistTypeMainType) {
|
|
30
|
+
ChecklistTypeMainType["BASIC"] = "10";
|
|
31
|
+
ChecklistTypeMainType["NON_BASIC"] = "20";
|
|
32
|
+
})(ChecklistTypeMainType || (ChecklistTypeMainType = {}));
|
|
33
|
+
export const CHECKLIST_MAIN_TYPE_LIST = {
|
|
34
|
+
[ChecklistTypeMainType.BASIC]: '기본 업무',
|
|
35
|
+
[ChecklistTypeMainType.NON_BASIC]: '기본 외 업무'
|
|
36
|
+
};
|
|
37
|
+
export var BuildingInspectionStatus;
|
|
38
|
+
(function (BuildingInspectionStatus) {
|
|
39
|
+
BuildingInspectionStatus["WAIT"] = "WAIT";
|
|
40
|
+
BuildingInspectionStatus["OVERALL_WAIT"] = "OVERALL_WAIT";
|
|
41
|
+
BuildingInspectionStatus["REQUEST"] = "REQUEST";
|
|
42
|
+
BuildingInspectionStatus["OVERALL_REQUEST"] = "OVERALL_REQUEST";
|
|
43
|
+
BuildingInspectionStatus["PASS"] = "PASS";
|
|
44
|
+
BuildingInspectionStatus["FAIL"] = "FAIL";
|
|
45
|
+
})(BuildingInspectionStatus || (BuildingInspectionStatus = {}));
|
|
46
|
+
export const BUILDING_INSPECTION_STATUS_DISPLAY = {
|
|
47
|
+
[BuildingInspectionStatus.WAIT]: '작업 완료',
|
|
48
|
+
[BuildingInspectionStatus.OVERALL_WAIT]: '작업 완료',
|
|
49
|
+
[BuildingInspectionStatus.REQUEST]: '감리 대기',
|
|
50
|
+
[BuildingInspectionStatus.OVERALL_REQUEST]: '감리 대기',
|
|
51
|
+
[BuildingInspectionStatus.PASS]: '검측 완료',
|
|
52
|
+
[BuildingInspectionStatus.FAIL]: '조치 필요'
|
|
53
|
+
};
|
|
54
|
+
export const BUILDING_INSPECTION_RE_STATUS_DISPLAY = {
|
|
55
|
+
[BuildingInspectionStatus.WAIT]: '재검측 대기',
|
|
56
|
+
[BuildingInspectionStatus.OVERALL_WAIT]: '재검측 대기',
|
|
57
|
+
[BuildingInspectionStatus.REQUEST]: '재검측 대기',
|
|
58
|
+
[BuildingInspectionStatus.OVERALL_REQUEST]: '재검측 대기',
|
|
59
|
+
[BuildingInspectionStatus.PASS]: '검측 완료',
|
|
60
|
+
[BuildingInspectionStatus.FAIL]: '조치 필요'
|
|
61
|
+
};
|
|
62
|
+
let BuildingInspectionList = class BuildingInspectionList extends ScopedElementsMixin(PageView) {
|
|
63
|
+
constructor() {
|
|
64
|
+
super(...arguments);
|
|
65
|
+
this.defaultProject = {
|
|
66
|
+
name: '',
|
|
67
|
+
buildingComplex: {
|
|
68
|
+
buildings: []
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
this.buildingLevelId = '';
|
|
72
|
+
this.project = Object.assign({}, this.defaultProject);
|
|
73
|
+
this.location = '';
|
|
74
|
+
this.building = {};
|
|
75
|
+
this.drawingImage = '';
|
|
76
|
+
this.buildingInspectionSummary = {};
|
|
77
|
+
this.selectedYearMonth = moment().tz('Asia/Seoul').format('YYYY-MM');
|
|
78
|
+
this.selectedDate = moment().tz('Asia/Seoul').format('YYYY-MM-DD');
|
|
79
|
+
this.dailyWorklog = {};
|
|
80
|
+
}
|
|
81
|
+
get context() {
|
|
82
|
+
return {
|
|
83
|
+
title: '검측 관리',
|
|
84
|
+
actions: [
|
|
85
|
+
Object.assign({ title: '검측 등록', action: this._openCreateInspection.bind(this) }, CommonButtonStyles.submit),
|
|
86
|
+
Object.assign({ title: '삭제', action: this._deleteChecklistType.bind(this) }, CommonButtonStyles.delete)
|
|
87
|
+
]
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
render() {
|
|
91
|
+
return html `
|
|
92
|
+
<div header>
|
|
93
|
+
<h2>
|
|
94
|
+
<md-icon slot="icon" back @click=${() => history.back()}>arrow_back</md-icon>
|
|
95
|
+
${this.project.name}
|
|
96
|
+
</h2>
|
|
97
|
+
</div>
|
|
98
|
+
|
|
99
|
+
<div body>
|
|
100
|
+
<div top>
|
|
101
|
+
<div drawing>
|
|
102
|
+
<h3>도면: ${this.location}</h3>
|
|
103
|
+
<img src=${this.drawingImage || '/assets/images/img-drawing-default.png'} />
|
|
104
|
+
</div>
|
|
105
|
+
|
|
106
|
+
<div inspection-container>
|
|
107
|
+
<div inspection>
|
|
108
|
+
<div name bold>
|
|
109
|
+
<md-icon slot="icon">fact_check</md-icon>
|
|
110
|
+
검측 현황
|
|
111
|
+
</div>
|
|
112
|
+
|
|
113
|
+
<div>
|
|
114
|
+
<label>${BUILDING_INSPECTION_STATUS_DISPLAY[BuildingInspectionStatus.WAIT]}</label>
|
|
115
|
+
<span bold status=${BuildingInspectionStatus.WAIT.toLowerCase()}>
|
|
116
|
+
${this.buildingInspectionSummary[BuildingInspectionStatus.WAIT.toLowerCase()]}
|
|
117
|
+
</span>
|
|
118
|
+
</div>
|
|
119
|
+
<div>
|
|
120
|
+
<label>${BUILDING_INSPECTION_STATUS_DISPLAY[BuildingInspectionStatus.REQUEST]}</label>
|
|
121
|
+
<span bold status=${BuildingInspectionStatus.REQUEST.toLowerCase()}>
|
|
122
|
+
${this.buildingInspectionSummary[BuildingInspectionStatus.REQUEST.toLowerCase()]}
|
|
123
|
+
</span>
|
|
124
|
+
</div>
|
|
125
|
+
<div>
|
|
126
|
+
<label>${BUILDING_INSPECTION_STATUS_DISPLAY[BuildingInspectionStatus.PASS]}</label>
|
|
127
|
+
<span bold status=${BuildingInspectionStatus.PASS.toLowerCase()}>
|
|
128
|
+
${this.buildingInspectionSummary[BuildingInspectionStatus.PASS.toLowerCase()]}
|
|
129
|
+
</span>
|
|
130
|
+
</div>
|
|
131
|
+
<div>
|
|
132
|
+
<label>${BUILDING_INSPECTION_STATUS_DISPLAY[BuildingInspectionStatus.FAIL]}</label>
|
|
133
|
+
<span bold status=${BuildingInspectionStatus.FAIL.toLowerCase()}>
|
|
134
|
+
${this.buildingInspectionSummary[BuildingInspectionStatus.FAIL.toLowerCase()]}
|
|
135
|
+
</span>
|
|
136
|
+
</div>
|
|
137
|
+
</div>
|
|
138
|
+
|
|
139
|
+
<ox-event-view
|
|
140
|
+
.mode=${'monthly'}
|
|
141
|
+
.eventProvider=${this.calendarData}
|
|
142
|
+
@select-date=${(e) => {
|
|
143
|
+
this.selectedDate = moment(e.detail[0]).format('YYYY-MM-DD');
|
|
144
|
+
this._fetchDailyWorklog(this.selectedDate);
|
|
145
|
+
}}
|
|
146
|
+
@change-month=${(e) => {
|
|
147
|
+
var _a, _b, _c;
|
|
148
|
+
const year = e.detail.year;
|
|
149
|
+
const month = (_c = (_b = (_a = e.detail) === null || _a === void 0 ? void 0 : _a.month) === null || _b === void 0 ? void 0 : _b.toString()) === null || _c === void 0 ? void 0 : _c.padStart(2, '0');
|
|
150
|
+
this.selectedYearMonth = `${year}-${month}`;
|
|
151
|
+
this.grist.fetch();
|
|
152
|
+
}}
|
|
153
|
+
>
|
|
154
|
+
</ox-event-view>
|
|
155
|
+
</div>
|
|
156
|
+
</div>
|
|
157
|
+
|
|
158
|
+
<div bottom>
|
|
159
|
+
<div daily-worklog-actions>
|
|
160
|
+
${this.dailyWorklog.id
|
|
161
|
+
? html `<md-filled-button green @click=${this._openDailyWorklogPopup}>
|
|
162
|
+
<md-icon slot="icon">edit</md-icon>일일 업무일지 수정
|
|
163
|
+
</md-filled-button>`
|
|
164
|
+
: html `<md-filled-button @click=${this._openDailyWorklogPopup}>
|
|
165
|
+
<md-icon slot="icon">note_add</md-icon>일일 업무일지 작성
|
|
166
|
+
</md-filled-button>`}
|
|
167
|
+
</div>
|
|
168
|
+
<ox-grist .mode=${'GRID'} .config=${this.gristConfig} .fetchHandler=${this.fetchHandler.bind(this)}> </ox-grist>
|
|
169
|
+
</div>
|
|
170
|
+
</div>
|
|
171
|
+
`;
|
|
172
|
+
}
|
|
173
|
+
async pageUpdated(changes, lifecycle) {
|
|
174
|
+
if (this.active) {
|
|
175
|
+
this.buildingLevelId = lifecycle.resourceId || '';
|
|
176
|
+
await this.initProject(this.buildingLevelId);
|
|
177
|
+
this.grist.fetch();
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
async initProject(buildingLevelId = '') {
|
|
181
|
+
var _a, _b;
|
|
182
|
+
const response = await client.query({
|
|
183
|
+
query: gql `
|
|
184
|
+
query ProjectByBuildingLevelId($buildingLevelId: String!) {
|
|
185
|
+
projectByBuildingLevelId(buildingLevelId: $buildingLevelId) {
|
|
186
|
+
id
|
|
187
|
+
name
|
|
188
|
+
projectType
|
|
189
|
+
mainPhoto {
|
|
190
|
+
fullpath
|
|
191
|
+
}
|
|
192
|
+
buildingComplex {
|
|
193
|
+
id
|
|
194
|
+
drawing {
|
|
195
|
+
id
|
|
196
|
+
name
|
|
197
|
+
fullpath
|
|
198
|
+
}
|
|
199
|
+
buildings {
|
|
200
|
+
id
|
|
201
|
+
name
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
buildingInspectionSummaryOfBuildingLevel(buildingLevelId: $buildingLevelId) {
|
|
207
|
+
wait
|
|
208
|
+
request
|
|
209
|
+
pass
|
|
210
|
+
fail
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
`,
|
|
214
|
+
variables: {
|
|
215
|
+
buildingLevelId
|
|
216
|
+
}
|
|
217
|
+
});
|
|
218
|
+
if (response.errors)
|
|
219
|
+
return;
|
|
220
|
+
this.project = (_a = response.data) === null || _a === void 0 ? void 0 : _a.projectByBuildingLevelId;
|
|
221
|
+
this.buildingInspectionSummary = (_b = response.data) === null || _b === void 0 ? void 0 : _b.buildingInspectionSummaryOfBuildingLevel;
|
|
222
|
+
this.calendarData = new InspectionEventProvider(buildingLevelId, this.project.id);
|
|
223
|
+
// 캘린더 최소 높이 속성 수정
|
|
224
|
+
this.eventView.style.setProperty('--calendar-monthly-date-min-height', '50px');
|
|
225
|
+
}
|
|
226
|
+
async pageInitialized(lifecycle) {
|
|
227
|
+
this.gristConfig = {
|
|
228
|
+
columns: [
|
|
229
|
+
{ type: 'gutter', gutterName: 'sequence' },
|
|
230
|
+
{ type: 'gutter', gutterName: 'row-selector', multiple: true },
|
|
231
|
+
{
|
|
232
|
+
type: 'gutter',
|
|
233
|
+
gutterName: 'button',
|
|
234
|
+
icon: 'open_in_new',
|
|
235
|
+
header: '상세보기',
|
|
236
|
+
width: 60,
|
|
237
|
+
handlers: {
|
|
238
|
+
click: (columns, data, column, record, rowIndex) => {
|
|
239
|
+
navigate(`building-inspection-detail-drawing/${record.id}`);
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
type: 'string',
|
|
245
|
+
name: 'id',
|
|
246
|
+
hidden: true
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
type: 'string',
|
|
250
|
+
name: 'location',
|
|
251
|
+
header: '위치',
|
|
252
|
+
width: 150,
|
|
253
|
+
handlers: {
|
|
254
|
+
click: (columns, data, column, record, rowIndex) => {
|
|
255
|
+
navigate(`building-inspection-detail-drawing/${record.id}`);
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
type: 'string',
|
|
261
|
+
name: 'constructionType',
|
|
262
|
+
header: '공종',
|
|
263
|
+
width: 120,
|
|
264
|
+
handlers: {
|
|
265
|
+
click: (columns, data, column, record, rowIndex) => {
|
|
266
|
+
navigate(`building-inspection-detail-drawing/${record.id}`);
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
type: 'string',
|
|
272
|
+
name: 'inspectionParts',
|
|
273
|
+
header: '검측 부위',
|
|
274
|
+
record: {
|
|
275
|
+
renderer: value => (value === null || value === void 0 ? void 0 : value.join(', ')) || ''
|
|
276
|
+
},
|
|
277
|
+
width: 200,
|
|
278
|
+
handlers: {
|
|
279
|
+
click: (columns, data, column, record, rowIndex) => {
|
|
280
|
+
navigate(`building-inspection-detail-drawing/${record.id}`);
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
type: 'string',
|
|
286
|
+
name: 'requestDate',
|
|
287
|
+
header: '검측 요청일',
|
|
288
|
+
width: 120,
|
|
289
|
+
handlers: {
|
|
290
|
+
click: (columns, data, column, record, rowIndex) => {
|
|
291
|
+
navigate(`building-inspection-detail-drawing/${record.id}`);
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
type: 'string',
|
|
297
|
+
name: 'status',
|
|
298
|
+
header: '검측 결과',
|
|
299
|
+
record: {
|
|
300
|
+
renderer: (value, column, record) => (record.failCount > 0 ? BUILDING_INSPECTION_RE_STATUS_DISPLAY : BUILDING_INSPECTION_STATUS_DISPLAY)[value]
|
|
301
|
+
},
|
|
302
|
+
width: 120,
|
|
303
|
+
handlers: {
|
|
304
|
+
click: (columns, data, column, record, rowIndex) => {
|
|
305
|
+
navigate(`building-inspection-detail-drawing/${record.id}`);
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
type: 'gutter',
|
|
311
|
+
gutterName: 'button',
|
|
312
|
+
icon: 'fact_check',
|
|
313
|
+
header: '도면',
|
|
314
|
+
width: 50,
|
|
315
|
+
handlers: {
|
|
316
|
+
click: (columns, data, column, record, rowIndex) => {
|
|
317
|
+
this._openDrawingPopup(record);
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
type: 'gutter',
|
|
323
|
+
gutterName: 'button',
|
|
324
|
+
icon: 'edit_square',
|
|
325
|
+
header: '요청서/결과통보',
|
|
326
|
+
width: 100,
|
|
327
|
+
handlers: {
|
|
328
|
+
click: (columns, data, column, record, rowIndex) => {
|
|
329
|
+
this._openInspectionRequestDocument(record.id);
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
type: 'gutter',
|
|
335
|
+
gutterName: 'button',
|
|
336
|
+
icon: 'task',
|
|
337
|
+
header: '체크리스트',
|
|
338
|
+
width: 70,
|
|
339
|
+
handlers: {
|
|
340
|
+
click: (columns, data, column, record, rowIndex) => {
|
|
341
|
+
this._openChecklistPopup(record.id);
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
type: 'gutter',
|
|
347
|
+
gutterName: 'button',
|
|
348
|
+
icon: 'photo_camera',
|
|
349
|
+
header: '사진대지',
|
|
350
|
+
width: 60,
|
|
351
|
+
handlers: {
|
|
352
|
+
click: (columns, data, column, record, rowIndex) => {
|
|
353
|
+
this._openPhotoAlbumPopup(record.checklistId);
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
type: 'gutter',
|
|
359
|
+
gutterName: 'button',
|
|
360
|
+
icon: 'engineering',
|
|
361
|
+
header: '실명부',
|
|
362
|
+
width: 50,
|
|
363
|
+
handlers: {
|
|
364
|
+
click: (columns, data, column, record, rowIndex) => {
|
|
365
|
+
this._showNameListPreview(record);
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
],
|
|
370
|
+
rows: {
|
|
371
|
+
selectable: {
|
|
372
|
+
multiple: true
|
|
373
|
+
},
|
|
374
|
+
appendable: false
|
|
375
|
+
},
|
|
376
|
+
sorters: [{ name: 'requestDate' }]
|
|
377
|
+
};
|
|
378
|
+
}
|
|
379
|
+
async fetchHandler({ page = 1, limit = 100, sortings = [], filters = [] }) {
|
|
380
|
+
var _a, _b, _c, _d, _e;
|
|
381
|
+
if (!this.buildingLevelId)
|
|
382
|
+
return;
|
|
383
|
+
const response = await client.query({
|
|
384
|
+
query: gql `
|
|
385
|
+
query BuildingInspectionsOfBuildingLevel($params: BuildingInspectionsOfBuildingLevel!, $buildingLevelId: String!) {
|
|
386
|
+
buildingInspectionsOfBuildingLevel(params: $params) {
|
|
387
|
+
items {
|
|
388
|
+
id
|
|
389
|
+
status
|
|
390
|
+
failCount
|
|
391
|
+
requestDate
|
|
392
|
+
drawingMarker
|
|
393
|
+
|
|
394
|
+
checklist {
|
|
395
|
+
checklistId: id
|
|
396
|
+
name
|
|
397
|
+
constructionType
|
|
398
|
+
constructionDetailType
|
|
399
|
+
location
|
|
400
|
+
inspectionParts
|
|
401
|
+
inspectionDrawingType
|
|
402
|
+
|
|
403
|
+
nameListAttachment {
|
|
404
|
+
id
|
|
405
|
+
name
|
|
406
|
+
fullpath
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
total
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
buildingLevel(id: $buildingLevelId) {
|
|
414
|
+
id
|
|
415
|
+
floor
|
|
416
|
+
floorDisplayName
|
|
417
|
+
building {
|
|
418
|
+
id
|
|
419
|
+
name
|
|
420
|
+
}
|
|
421
|
+
mainDrawing {
|
|
422
|
+
id
|
|
423
|
+
name
|
|
424
|
+
fullpath
|
|
425
|
+
}
|
|
426
|
+
mainDrawingImage
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
`,
|
|
430
|
+
variables: {
|
|
431
|
+
params: {
|
|
432
|
+
buildingLevelId: this.buildingLevelId,
|
|
433
|
+
limit: 0,
|
|
434
|
+
startDate: moment(this.selectedYearMonth).startOf('month').format('YYYY-MM-DD'),
|
|
435
|
+
endDate: moment(this.selectedYearMonth).endOf('month').format('YYYY-MM-DD')
|
|
436
|
+
},
|
|
437
|
+
buildingLevelId: this.buildingLevelId
|
|
438
|
+
}
|
|
439
|
+
});
|
|
440
|
+
let items = ((_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.buildingInspectionsOfBuildingLevel) === null || _b === void 0 ? void 0 : _b.items) || [];
|
|
441
|
+
items = items.map(item => (Object.assign(Object.assign(Object.assign({}, item), item.checklist), { requestDate: this._formatDate(item.requestDate) })));
|
|
442
|
+
const buildingLevel = (_c = response.data) === null || _c === void 0 ? void 0 : _c.buildingLevel;
|
|
443
|
+
this.location = `${buildingLevel.building.name} ${buildingLevel.floorDisplayName}층` || '';
|
|
444
|
+
this.drawingImage = (buildingLevel === null || buildingLevel === void 0 ? void 0 : buildingLevel.mainDrawingImage) || '';
|
|
445
|
+
this.building = (buildingLevel === null || buildingLevel === void 0 ? void 0 : buildingLevel.building) || {};
|
|
446
|
+
return {
|
|
447
|
+
total: ((_e = (_d = response.data) === null || _d === void 0 ? void 0 : _d.buildingInspectionsOfBuildingLevel) === null || _e === void 0 ? void 0 : _e.total) || 0,
|
|
448
|
+
records: items
|
|
449
|
+
};
|
|
450
|
+
}
|
|
451
|
+
async _deleteChecklistType() {
|
|
452
|
+
if (confirm('삭제하시겠습니까?')) {
|
|
453
|
+
const ids = this.grist.selected.map(record => record.id);
|
|
454
|
+
if (ids && ids.length > 0) {
|
|
455
|
+
const response = await client.mutate({
|
|
456
|
+
mutation: gql `
|
|
457
|
+
mutation ($ids: [String!]!) {
|
|
458
|
+
deleteBuildingInspections(ids: $ids)
|
|
459
|
+
}
|
|
460
|
+
`,
|
|
461
|
+
variables: {
|
|
462
|
+
ids
|
|
463
|
+
}
|
|
464
|
+
});
|
|
465
|
+
if (!response.errors) {
|
|
466
|
+
this.grist.fetch();
|
|
467
|
+
this.initProject(this.buildingLevelId);
|
|
468
|
+
notify({ message: '삭제되었습니다.' });
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
_openCreateInspection() {
|
|
474
|
+
openPopup(html `
|
|
475
|
+
<inspection-create-popup
|
|
476
|
+
.projectId=${this.project.id}
|
|
477
|
+
.selectedBuildingId=${this.building.id}
|
|
478
|
+
.selectedBuildingLevelId=${this.buildingLevelId}
|
|
479
|
+
@requestRefresh="${() => {
|
|
480
|
+
this.grist.fetch();
|
|
481
|
+
this.initProject(this.buildingLevelId);
|
|
482
|
+
}}"
|
|
483
|
+
></inspection-create-popup>
|
|
484
|
+
`, { backdrop: true, size: 'large', title: '검측 등록' });
|
|
485
|
+
}
|
|
486
|
+
_formatDate(date) {
|
|
487
|
+
return date
|
|
488
|
+
? new Intl.DateTimeFormat('en-CA', {
|
|
489
|
+
timeZone: 'Asia/Seoul',
|
|
490
|
+
year: 'numeric',
|
|
491
|
+
month: '2-digit',
|
|
492
|
+
day: '2-digit'
|
|
493
|
+
}).format(new Date(date))
|
|
494
|
+
: '';
|
|
495
|
+
}
|
|
496
|
+
async _openChecklistPopup(buildingInspectionId) {
|
|
497
|
+
var _a, _b;
|
|
498
|
+
const buildingInspection = await getBuildingInspectionForChecklist(buildingInspectionId);
|
|
499
|
+
openPopup(html `
|
|
500
|
+
<div style="overflow-y: auto;">
|
|
501
|
+
<checklist-view
|
|
502
|
+
.mode=${"VIEWER" /* ChecklistMode.VIEWER */}
|
|
503
|
+
.checklist=${buildingInspection === null || buildingInspection === void 0 ? void 0 : buildingInspection.checklist}
|
|
504
|
+
.buildingComplex=${((_b = (_a = buildingInspection === null || buildingInspection === void 0 ? void 0 : buildingInspection.buildingLevel) === null || _a === void 0 ? void 0 : _a.building) === null || _b === void 0 ? void 0 : _b.buildingComplex) || {}}
|
|
505
|
+
.status=${buildingInspection === null || buildingInspection === void 0 ? void 0 : buildingInspection.status}
|
|
506
|
+
.failCount=${(buildingInspection === null || buildingInspection === void 0 ? void 0 : buildingInspection.failCount) || 0}
|
|
507
|
+
.projectType=${this.project.projectType}
|
|
508
|
+
></checklist-view>
|
|
509
|
+
</div>
|
|
510
|
+
`, { backdrop: true, size: 'large', title: '체크 리스트 미리보기' });
|
|
511
|
+
}
|
|
512
|
+
async _openPhotoAlbumPopup(checklistId) {
|
|
513
|
+
openPopup(html ` <photo-album-popup .checklistId=${checklistId}></photo-album-popup> `, {
|
|
514
|
+
backdrop: true,
|
|
515
|
+
size: 'large',
|
|
516
|
+
title: '사진대지'
|
|
517
|
+
});
|
|
518
|
+
}
|
|
519
|
+
async _openInspectionRequestDocument(buildingInspectionId) {
|
|
520
|
+
const buildingInspection = await getBuildingInspectionForChecklist(buildingInspectionId);
|
|
521
|
+
if (!buildingInspection.checklist.inspectionRequestUpdatedAt) {
|
|
522
|
+
notify({ message: '검측 요청서가 없습니다.', level: 'info' });
|
|
523
|
+
return;
|
|
524
|
+
}
|
|
525
|
+
openPopup(html `
|
|
526
|
+
<div style="overflow-y: auto;">
|
|
527
|
+
<inspection-request-document
|
|
528
|
+
.checklist=${buildingInspection.checklist}
|
|
529
|
+
.buildingInspection=${buildingInspection}
|
|
530
|
+
.mode=${InspectionMode.VIEW}
|
|
531
|
+
></inspection-request-document>
|
|
532
|
+
|
|
533
|
+
${buildingInspection.checklist.inspectionResultUpdatedAt
|
|
534
|
+
? html `
|
|
535
|
+
<hr />
|
|
536
|
+
|
|
537
|
+
<inspection-result-notification
|
|
538
|
+
.checklist=${buildingInspection.checklist}
|
|
539
|
+
.buildingInspection=${buildingInspection}
|
|
540
|
+
.mode=${InspectionMode.VIEW}
|
|
541
|
+
></inspection-result-notification>
|
|
542
|
+
`
|
|
543
|
+
: ''}
|
|
544
|
+
</div>
|
|
545
|
+
`, { backdrop: true, size: 'large', title: '검측요청결과 통보내용' });
|
|
546
|
+
}
|
|
547
|
+
// 실명부 미리보기
|
|
548
|
+
_showNameListPreview(record) {
|
|
549
|
+
const nameListAttachment = record.nameListAttachment;
|
|
550
|
+
if (!nameListAttachment) {
|
|
551
|
+
notify({ message: '실명부 파일이 없습니다.', level: 'info' });
|
|
552
|
+
return;
|
|
553
|
+
}
|
|
554
|
+
// 이미지 미리보기 팝업
|
|
555
|
+
openPopup(html `
|
|
556
|
+
<image-preview-popup
|
|
557
|
+
.images=${[{ fullpath: nameListAttachment.fullpath, name: nameListAttachment.name }]}
|
|
558
|
+
.currentIndex=${0}
|
|
559
|
+
></image-preview-popup>
|
|
560
|
+
`, { backdrop: true, size: 'large', title: '실명부' });
|
|
561
|
+
}
|
|
562
|
+
_openDailyWorklogPopup() {
|
|
563
|
+
const date = this.selectedDate;
|
|
564
|
+
openPopup(html `<daily-worklog-popup
|
|
565
|
+
.project=${this.project}
|
|
566
|
+
.date=${date}
|
|
567
|
+
.dailyWorklog=${this.dailyWorklog}
|
|
568
|
+
.mode=${this.dailyWorklog.id ? DailyWorklogMode.EDIT : DailyWorklogMode.CREATE}
|
|
569
|
+
@createdDailyWorklog=${this._refreshCalendar.bind(this)}
|
|
570
|
+
@updatedDailyWorklog=${() => this._fetchDailyWorklog(this.selectedDate)}
|
|
571
|
+
></daily-worklog-popup>`, {
|
|
572
|
+
backdrop: true,
|
|
573
|
+
size: 'large',
|
|
574
|
+
title: '일일 업무일지 작성'
|
|
575
|
+
});
|
|
576
|
+
}
|
|
577
|
+
// 캘린더 객체 재 생성하여 재 랜더링
|
|
578
|
+
async _refreshCalendar() {
|
|
579
|
+
this.calendarData = new InspectionEventProvider(this.buildingLevelId, this.project.id);
|
|
580
|
+
await this._fetchDailyWorklog(this.selectedDate);
|
|
581
|
+
}
|
|
582
|
+
async _fetchDailyWorklog(date = '') {
|
|
583
|
+
var _a;
|
|
584
|
+
if (!date)
|
|
585
|
+
return;
|
|
586
|
+
const response = await client.query({
|
|
587
|
+
query: gql `
|
|
588
|
+
query ($projectId: String!, $date: String!) {
|
|
589
|
+
buildingInspectionDailyWorklogByProjectIdAndDate(projectId: $projectId, date: $date) {
|
|
590
|
+
id
|
|
591
|
+
date
|
|
592
|
+
documentNo
|
|
593
|
+
worklogs
|
|
594
|
+
memo
|
|
595
|
+
directiveMemo
|
|
596
|
+
taskSupervisorySignature
|
|
597
|
+
overallSupervisorySignature
|
|
598
|
+
|
|
599
|
+
taskSupervisory {
|
|
600
|
+
id
|
|
601
|
+
name
|
|
602
|
+
}
|
|
603
|
+
overallSupervisory {
|
|
604
|
+
id
|
|
605
|
+
name
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
buildingInspections {
|
|
609
|
+
id
|
|
610
|
+
|
|
611
|
+
checklist {
|
|
612
|
+
overallSupervisorySignature
|
|
613
|
+
taskSupervisorySignature
|
|
614
|
+
taskSupervisory {
|
|
615
|
+
id
|
|
616
|
+
name
|
|
617
|
+
}
|
|
618
|
+
overallSupervisory {
|
|
619
|
+
id
|
|
620
|
+
name
|
|
621
|
+
}
|
|
622
|
+
}
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
}
|
|
626
|
+
`,
|
|
627
|
+
variables: { projectId: this.project.id, date }
|
|
628
|
+
});
|
|
629
|
+
this.dailyWorklog = ((_a = response.data) === null || _a === void 0 ? void 0 : _a.buildingInspectionDailyWorklogByProjectIdAndDate) || {};
|
|
630
|
+
}
|
|
631
|
+
async _openDrawingPopup(buildingInspection) {
|
|
632
|
+
const drawingImageProvider = new DrawingImageProvider();
|
|
633
|
+
const inspectionDrawingType = buildingInspection.checklist.inspectionDrawingType;
|
|
634
|
+
const drawingShapes = JSON.parse((buildingInspection === null || buildingInspection === void 0 ? void 0 : buildingInspection.drawingMarker) || null) || [];
|
|
635
|
+
const markers = await drawingImageProvider.getMarkers(inspectionDrawingType);
|
|
636
|
+
const imageUrl = String(inspectionDrawingType).normalize('NFC');
|
|
637
|
+
const shapes = [...drawingShapes, ...markers];
|
|
638
|
+
openPopup(html `<ox-image-marker-view
|
|
639
|
+
style="pointer-events: none;"
|
|
640
|
+
id="image-marker"
|
|
641
|
+
.imageUrl=${imageUrl}
|
|
642
|
+
.shapes=${shapes}
|
|
643
|
+
.imageProvider=${drawingImageProvider}
|
|
644
|
+
></ox-image-marker-view>`, {
|
|
645
|
+
backdrop: true,
|
|
646
|
+
size: 'large',
|
|
647
|
+
title: '검측 도면'
|
|
648
|
+
});
|
|
649
|
+
}
|
|
650
|
+
};
|
|
651
|
+
BuildingInspectionList.styles = [
|
|
652
|
+
ScrollbarStyles,
|
|
653
|
+
CommonGristStyles,
|
|
654
|
+
css `
|
|
655
|
+
:host {
|
|
656
|
+
display: grid;
|
|
657
|
+
grid-template-rows: 55px auto;
|
|
658
|
+
color: #4e5055;
|
|
659
|
+
|
|
660
|
+
width: 100%;
|
|
661
|
+
background-color: var(--md-sys-color-background, #f6f6f6);
|
|
662
|
+
overflow-y: auto;
|
|
663
|
+
|
|
664
|
+
--grid-record-emphasized-background-color: red;
|
|
665
|
+
--grid-record-emphasized-color: yellow;
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
md-filled-button {
|
|
669
|
+
--md-filled-button-container-color: #0595e5;
|
|
670
|
+
--md-filled-button-container-height: 30px;
|
|
671
|
+
--md-filled-button-trailing-space: 15px;
|
|
672
|
+
--md-filled-button-leading-space: 15px;
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
md-filled-button[green] {
|
|
676
|
+
--md-filled-button-container-color: #008000;
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
md-outlined-button {
|
|
680
|
+
--md-outlined-button-container-height: 30px;
|
|
681
|
+
--md-outlined-button-trailing-space: var(--spacing-medium, 8px);
|
|
682
|
+
--md-outlined-button-leading-space: var(--spacing-medium, 8px);
|
|
683
|
+
--md-sys-color-outline: rgba(51, 51, 51, 0.2);
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
*[bold] {
|
|
687
|
+
font-weight: bold;
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
div[header] {
|
|
691
|
+
display: flex;
|
|
692
|
+
margin: 0px var(--spacing-large, 12px);
|
|
693
|
+
margin-bottom: var(--spacing-small, 5px);
|
|
694
|
+
|
|
695
|
+
h2 {
|
|
696
|
+
display: flex;
|
|
697
|
+
gap: 7px;
|
|
698
|
+
flex: 0.5;
|
|
699
|
+
color: #3f71a0;
|
|
700
|
+
font-size: 18px;
|
|
701
|
+
|
|
702
|
+
md-icon[back] {
|
|
703
|
+
background: linear-gradient(135deg, #3f71a0 0%, #5a8cc7 100%);
|
|
704
|
+
color: white;
|
|
705
|
+
padding: 8px;
|
|
706
|
+
border-radius: 50%;
|
|
707
|
+
cursor: pointer;
|
|
708
|
+
box-shadow: 0 2px 8px rgba(63, 113, 160, 0.3);
|
|
709
|
+
width: 14px;
|
|
710
|
+
height: 14px;
|
|
711
|
+
--md-icon-size: 20px;
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
md-icon[back]:hover {
|
|
715
|
+
background: linear-gradient(135deg, #2e5c89 0%, #4a7bb0 100%);
|
|
716
|
+
box-shadow: 0 4px 12px rgba(63, 113, 160, 0.4);
|
|
717
|
+
}
|
|
718
|
+
}
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
div[body] {
|
|
722
|
+
display: flex;
|
|
723
|
+
flex-direction: column;
|
|
724
|
+
margin: var(--spacing-large, 12px);
|
|
725
|
+
margin-top: 0;
|
|
726
|
+
gap: var(--spacing-medium, 8px);
|
|
727
|
+
min-height: fit-content;
|
|
728
|
+
overflow-x: hidden;
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
div[body] h3 {
|
|
732
|
+
color: #2e79be;
|
|
733
|
+
font-size: 16px;
|
|
734
|
+
margin: 0px;
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
div[body] > div {
|
|
738
|
+
display: flex;
|
|
739
|
+
gap: var(--spacing-medium, 8px);
|
|
740
|
+
border-radius: 5px;
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
div[top] {
|
|
744
|
+
flex: 1;
|
|
745
|
+
|
|
746
|
+
display: flex;
|
|
747
|
+
background-color: #f7f7f7;
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
div[drawing] {
|
|
751
|
+
flex: 1;
|
|
752
|
+
border: 1px solid #cccccc80;
|
|
753
|
+
background-color: var(--md-sys-color-on-primary);
|
|
754
|
+
padding: var(--spacing-large, 12px);
|
|
755
|
+
border-radius: 5px;
|
|
756
|
+
|
|
757
|
+
img {
|
|
758
|
+
width: 100%;
|
|
759
|
+
|
|
760
|
+
display: block;
|
|
761
|
+
object-fit: contain;
|
|
762
|
+
object-position: center;
|
|
763
|
+
}
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
div[inspection-container] {
|
|
767
|
+
flex: 1;
|
|
768
|
+
gap: var(--spacing-medium, 8px);
|
|
769
|
+
|
|
770
|
+
display: flex;
|
|
771
|
+
flex-direction: column;
|
|
772
|
+
|
|
773
|
+
div[inspection] {
|
|
774
|
+
display: grid;
|
|
775
|
+
grid-template-columns: 90px 1fr 1fr 1fr 1fr;
|
|
776
|
+
background: #ebc8321a;
|
|
777
|
+
border-radius: 5px;
|
|
778
|
+
padding: var(--spacing-medium, 8px) var(--spacing-large, 12px);
|
|
779
|
+
|
|
780
|
+
& > div {
|
|
781
|
+
display: flex;
|
|
782
|
+
flex-direction: column;
|
|
783
|
+
align-items: center;
|
|
784
|
+
justify-content: center;
|
|
785
|
+
|
|
786
|
+
span::before {
|
|
787
|
+
display: inline-block;
|
|
788
|
+
position: relative;
|
|
789
|
+
content: '';
|
|
790
|
+
width: 10px;
|
|
791
|
+
height: 10px;
|
|
792
|
+
border-radius: 6px;
|
|
793
|
+
top: -1px;
|
|
794
|
+
margin-right: 2px;
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
span[status='wait']::before {
|
|
798
|
+
background-color: #4e5055;
|
|
799
|
+
}
|
|
800
|
+
span[status='request']::before {
|
|
801
|
+
background-color: #3395f1;
|
|
802
|
+
}
|
|
803
|
+
span[status='pass']::before {
|
|
804
|
+
background-color: #1bb401;
|
|
805
|
+
}
|
|
806
|
+
span[status='fail']::before {
|
|
807
|
+
background-color: #ff4444;
|
|
808
|
+
}
|
|
809
|
+
span[dot] {
|
|
810
|
+
font-size: 1.3em;
|
|
811
|
+
}
|
|
812
|
+
}
|
|
813
|
+
& > div[name] {
|
|
814
|
+
flex-direction: row;
|
|
815
|
+
text-align: right;
|
|
816
|
+
gap: var(--spacing-small, 4px);
|
|
817
|
+
padding-right: var(--spacing-large, 12px);
|
|
818
|
+
border-right: 2px dotted #ccc;
|
|
819
|
+
max-width: 100%;
|
|
820
|
+
line-height: 1.3;
|
|
821
|
+
|
|
822
|
+
md-icon {
|
|
823
|
+
width: 40px;
|
|
824
|
+
height: 40px;
|
|
825
|
+
border-radius: 5px;
|
|
826
|
+
color: #fff;
|
|
827
|
+
background: #f16154;
|
|
828
|
+
}
|
|
829
|
+
}
|
|
830
|
+
}
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
ox-event-view {
|
|
834
|
+
flex: 1;
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
div[bottom] {
|
|
838
|
+
flex: 1;
|
|
839
|
+
|
|
840
|
+
display: flex;
|
|
841
|
+
flex-direction: column;
|
|
842
|
+
overflow: hidden;
|
|
843
|
+
min-height: 300px;
|
|
844
|
+
gap: 0px !important;
|
|
845
|
+
}
|
|
846
|
+
|
|
847
|
+
div[daily-worklog-actions] {
|
|
848
|
+
display: flex;
|
|
849
|
+
justify-content: flex-end;
|
|
850
|
+
}
|
|
851
|
+
|
|
852
|
+
ox-grist {
|
|
853
|
+
overflow-y: auto;
|
|
854
|
+
flex: 1;
|
|
855
|
+
}
|
|
856
|
+
`
|
|
857
|
+
];
|
|
858
|
+
__decorate([
|
|
859
|
+
state(),
|
|
860
|
+
__metadata("design:type", Object)
|
|
861
|
+
], BuildingInspectionList.prototype, "gristConfig", void 0);
|
|
862
|
+
__decorate([
|
|
863
|
+
state(),
|
|
864
|
+
__metadata("design:type", String)
|
|
865
|
+
], BuildingInspectionList.prototype, "buildingLevelId", void 0);
|
|
866
|
+
__decorate([
|
|
867
|
+
state(),
|
|
868
|
+
__metadata("design:type", Object)
|
|
869
|
+
], BuildingInspectionList.prototype, "project", void 0);
|
|
870
|
+
__decorate([
|
|
871
|
+
state(),
|
|
872
|
+
__metadata("design:type", String)
|
|
873
|
+
], BuildingInspectionList.prototype, "location", void 0);
|
|
874
|
+
__decorate([
|
|
875
|
+
state(),
|
|
876
|
+
__metadata("design:type", Object)
|
|
877
|
+
], BuildingInspectionList.prototype, "building", void 0);
|
|
878
|
+
__decorate([
|
|
879
|
+
state(),
|
|
880
|
+
__metadata("design:type", String)
|
|
881
|
+
], BuildingInspectionList.prototype, "drawingImage", void 0);
|
|
882
|
+
__decorate([
|
|
883
|
+
state(),
|
|
884
|
+
__metadata("design:type", Object)
|
|
885
|
+
], BuildingInspectionList.prototype, "buildingInspectionSummary", void 0);
|
|
886
|
+
__decorate([
|
|
887
|
+
state(),
|
|
888
|
+
__metadata("design:type", Object)
|
|
889
|
+
], BuildingInspectionList.prototype, "calendarData", void 0);
|
|
890
|
+
__decorate([
|
|
891
|
+
state(),
|
|
892
|
+
__metadata("design:type", String)
|
|
893
|
+
], BuildingInspectionList.prototype, "selectedYearMonth", void 0);
|
|
894
|
+
__decorate([
|
|
895
|
+
state(),
|
|
896
|
+
__metadata("design:type", String)
|
|
897
|
+
], BuildingInspectionList.prototype, "selectedDate", void 0);
|
|
898
|
+
__decorate([
|
|
899
|
+
state(),
|
|
900
|
+
__metadata("design:type", Object)
|
|
901
|
+
], BuildingInspectionList.prototype, "dailyWorklog", void 0);
|
|
902
|
+
__decorate([
|
|
903
|
+
query('ox-grist'),
|
|
904
|
+
__metadata("design:type", DataGrist)
|
|
905
|
+
], BuildingInspectionList.prototype, "grist", void 0);
|
|
906
|
+
__decorate([
|
|
907
|
+
query('ox-event-view'),
|
|
908
|
+
__metadata("design:type", HTMLElement)
|
|
909
|
+
], BuildingInspectionList.prototype, "eventView", void 0);
|
|
910
|
+
BuildingInspectionList = __decorate([
|
|
911
|
+
customElement('building-inspection-list')
|
|
912
|
+
], BuildingInspectionList);
|
|
913
|
+
export { BuildingInspectionList };
|
|
914
|
+
//# sourceMappingURL=building-inspection-list.js.map
|