3d-decorate-platform 1.0.23 → 1.0.24

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/index.umd.js CHANGED
@@ -698,7 +698,7 @@
698
698
  // 基础接口路径
699
699
  REDIRECTURL: "https://3d-login.onewo.com",
700
700
  // 登录过期重定向路径
701
- SERVERS: "test",
701
+ SERVERS: "prod",
702
702
  WEBSOCKETURL: "wss://3d.onewo.com",
703
703
  MESERVER: "https://me.onewo.com",
704
704
  PRODUCTID: 150,
@@ -3498,11 +3498,343 @@
3498
3498
  }]);
3499
3499
  }(React.Component)) || _class$4);
3500
3500
 
3501
- var css_248z$7 = ".douGongSchemeTemplate-module_page__3FenY {\n height: 100%;\n min-height: 0;\n overflow: auto;\n background: #f5f5f7;\n color: #000f2c;\n font-size: 14px;\n}\n.douGongSchemeTemplate-module_page__3FenY .douGongSchemeTemplate-module_container__28Kh7 {\n padding: 16px;\n height: 100%;\n min-height: 0;\n display: flex;\n flex-direction: column;\n font-family: PingFang SC, Microsoft YaHei, sans-serif;\n box-sizing: border-box;\n}\n.douGongSchemeTemplate-module_page__3FenY .douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_listPane__2vLv- {\n flex: 1;\n min-height: 0;\n overflow: auto;\n}\n.douGongSchemeTemplate-module_page__3FenY .douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_listPaneHidden__1FlxT {\n display: none;\n}\n.douGongSchemeTemplate-module_page__3FenY .douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_topBar__LDIKR {\n height: 49px;\n padding: 0 16px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 12px;\n background: #fff;\n border-bottom: 1px solid #eee;\n border-radius: 8px 8px 0 0;\n}\n.douGongSchemeTemplate-module_page__3FenY .douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_topBar__LDIKR .douGongSchemeTemplate-module_topSearch__apeWw {\n width: 320px;\n max-width: 100%;\n height: 32px;\n padding: 0 12px;\n border: none;\n outline: none;\n border-radius: 6px;\n background: #f0f2f5;\n color: #000f2c;\n}\n.douGongSchemeTemplate-module_page__3FenY .douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_topBar__LDIKR .douGongSchemeTemplate-module_topRight__nL1I5 {\n display: flex;\n align-items: center;\n justify-content: flex-end;\n gap: 12px;\n flex-wrap: wrap;\n}\n.douGongSchemeTemplate-module_page__3FenY .douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_topBar__LDIKR .douGongSchemeTemplate-module_readonlyTag__2Q6Hk {\n padding: 2px 6px;\n border-radius: 6px;\n background: #e7f3ff;\n color: #1890ff;\n font-size: 10px;\n line-height: 18px;\n}\n.douGongSchemeTemplate-module_page__3FenY .douGongSchemeTemplate-module_successToast__3wAsJ {\n position: fixed;\n top: 28px;\n left: 50%;\n z-index: 1100;\n margin: 0;\n width: -moz-fit-content;\n width: fit-content;\n max-width: 100%;\n padding: 4px 12px;\n display: flex;\n align-items: center;\n gap: 8px;\n border: none;\n border-radius: 4px;\n background: #52b41f;\n color: #fff;\n font-size: 13px;\n line-height: 20px;\n box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);\n transform: translateX(-50%);\n}\n.douGongSchemeTemplate-module_page__3FenY .douGongSchemeTemplate-module_successToast__3wAsJ.douGongSchemeTemplate-module_errorToast__2YRAD {\n background: #e5484d;\n}\n.douGongSchemeTemplate-module_ghostPrimaryButton__uWclq,\n.douGongSchemeTemplate-module_primaryButton__1kTUF,\n.douGongSchemeTemplate-module_secondaryButton__2P2It,\n.douGongSchemeTemplate-module_linkButton__3pWfb,\n.douGongSchemeTemplate-module_tagButton__1QYbm,\n.douGongSchemeTemplate-module_tinyTag__waUqq {\n border: none;\n outline: none;\n cursor: pointer;\n transition: all 0.18s ease;\n}\n.douGongSchemeTemplate-module_ghostPrimaryButton__uWclq:disabled,\n.douGongSchemeTemplate-module_primaryButton__1kTUF:disabled,\n.douGongSchemeTemplate-module_secondaryButton__2P2It:disabled,\n.douGongSchemeTemplate-module_linkButton__3pWfb:disabled,\n.douGongSchemeTemplate-module_tagButton__1QYbm:disabled {\n cursor: not-allowed;\n opacity: 0.45;\n}\n.douGongSchemeTemplate-module_ghostPrimaryButton__uWclq {\n height: 32px;\n padding: 0 14px;\n border-radius: 6px;\n border: 1px solid #1890ff;\n background: #fff;\n color: #1890ff;\n}\n.douGongSchemeTemplate-module_ghostPrimaryButton__uWclq:hover {\n border-color: #1890FF;\n background: #1890FF;\n color: #ffffff;\n}\n.douGongSchemeTemplate-module_ghostPrimaryButton__uWclq:disabled:hover {\n border-color: #1890FF;\n background: #fff;\n color: #1890FF;\n}\n.douGongSchemeTemplate-module_primaryButton__1kTUF {\n height: 32px;\n padding: 0 16px;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: 6px;\n border: 1px solid #1890FF;\n border-radius: 4px;\n background: #1890FF;\n color: #fff;\n font-size: 13px;\n font-weight: 500;\n white-space: nowrap;\n}\n.douGongSchemeTemplate-module_primaryButton__1kTUF:hover {\n border-color: #1890FF;\n background: #1890FF;\n}\n.douGongSchemeTemplate-module_secondaryButton__2P2It {\n height: 32px;\n padding: 0 13px;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: 6px;\n border: 1px solid rgba(115, 123, 139, 0.4);\n border-radius: 6px;\n background: #fff;\n color: #737b8b;\n font-size: 14px;\n line-height: 22px;\n font-weight: 400;\n white-space: nowrap;\n}\n.douGongSchemeTemplate-module_secondaryButton__2P2It:hover {\n border-color: #1890ff;\n background: #fff;\n color: #1890ff;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_headerSection__3EeK5 {\n min-height: 40px;\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n gap: 16px;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_headerSection__3EeK5 .douGongSchemeTemplate-module_titleBlock__2fHU3 {\n min-width: 0;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_headerSection__3EeK5 .douGongSchemeTemplate-module_titleBlock__2fHU3 .douGongSchemeTemplate-module_pageTitle__2SHpl {\n margin: 0;\n color: #000f2c;\n font-size: 14px;\n line-height: 20px;\n font-weight: 500;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_headerSection__3EeK5 .douGongSchemeTemplate-module_titleBlock__2fHU3 .douGongSchemeTemplate-module_pageDesc__46Bk9 {\n margin: 2px 0 0;\n font-size: 12px;\n line-height: 18px;\n color: #737b8b;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_toolbar__6rt4u {\n margin-top: 16px;\n display: flex;\n align-items: center;\n justify-content: flex-start;\n gap: 16px;\n flex-wrap: nowrap;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_toolbar__6rt4u .douGongSchemeTemplate-module_toolbarLeft__2fPEX {\n display: flex;\n align-items: center;\n gap: 16px;\n flex-wrap: nowrap;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_toolbar__6rt4u .douGongSchemeTemplate-module_toolbarLeft__2fPEX .douGongSchemeTemplate-module_searchWrap__18O1V {\n position: relative;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_toolbar__6rt4u .douGongSchemeTemplate-module_toolbarLeft__2fPEX .douGongSchemeTemplate-module_searchWrap__18O1V .douGongSchemeTemplate-module_searchIcon__2Zb5l {\n position: absolute;\n top: 50%;\n left: 12px;\n z-index: 1;\n transform: translateY(-50%);\n color: #8b93a5;\n font-size: 16px;\n pointer-events: none;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_toolbar__6rt4u .douGongSchemeTemplate-module_toolbarLeft__2fPEX .douGongSchemeTemplate-module_searchWrap__18O1V .douGongSchemeTemplate-module_searchInput__2K_jd {\n width: 240px;\n max-width: 100%;\n height: 32px;\n padding: 0 10px 0 34px;\n border: 1px solid #fff;\n border-radius: 6px;\n background: #fff;\n color: #000f2c;\n font-size: 14px;\n line-height: 22px;\n outline: none;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_toolbar__6rt4u .douGongSchemeTemplate-module_toolbarLeft__2fPEX .douGongSchemeTemplate-module_searchWrap__18O1V .douGongSchemeTemplate-module_searchInput__2K_jd:focus {\n border-color: #1890ff;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_toolbar__6rt4u .douGongSchemeTemplate-module_toolbarLeft__2fPEX .douGongSchemeTemplate-module_statusFilterGroup__3eurH {\n display: flex;\n align-items: center;\n gap: 0;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_toolbar__6rt4u .douGongSchemeTemplate-module_toolbarLeft__2fPEX .douGongSchemeTemplate-module_statusFilterGroup__3eurH .douGongSchemeTemplate-module_statusFilterLabel__NfpNT {\n color: #000;\n font-size: 14px;\n line-height: 22px;\n white-space: nowrap;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_toolbar__6rt4u .douGongSchemeTemplate-module_toolbarLeft__2fPEX .douGongSchemeTemplate-module_statusFilterGroup__3eurH .douGongSchemeTemplate-module_filterWrap__3I8mB {\n position: relative;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_toolbar__6rt4u .douGongSchemeTemplate-module_toolbarLeft__2fPEX .douGongSchemeTemplate-module_statusFilterGroup__3eurH .douGongSchemeTemplate-module_filterWrap__3I8mB .douGongSchemeTemplate-module_filterTrigger__3CTf0 {\n width: 140px;\n height: 32px;\n padding: 0 8px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 8px;\n border: 1px solid #fff;\n border-radius: 4px;\n background: #fff;\n color: rgba(0, 0, 0, 0.7);\n cursor: pointer;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_toolbar__6rt4u .douGongSchemeTemplate-module_toolbarLeft__2fPEX .douGongSchemeTemplate-module_statusFilterGroup__3eurH .douGongSchemeTemplate-module_filterWrap__3I8mB .douGongSchemeTemplate-module_filterTrigger__3CTf0.douGongSchemeTemplate-module_filterTriggerActive__1gpKF {\n border-color: #1890ff;\n box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.08);\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_toolbar__6rt4u .douGongSchemeTemplate-module_toolbarLeft__2fPEX .douGongSchemeTemplate-module_statusFilterGroup__3eurH .douGongSchemeTemplate-module_filterWrap__3I8mB .douGongSchemeTemplate-module_filterTrigger__3CTf0 .douGongSchemeTemplate-module_filterTriggerText__-tyTA {\n max-width: 106px;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n font-size: 14px;\n line-height: 22px;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_toolbar__6rt4u .douGongSchemeTemplate-module_toolbarLeft__2fPEX .douGongSchemeTemplate-module_statusFilterGroup__3eurH .douGongSchemeTemplate-module_filterWrap__3I8mB .douGongSchemeTemplate-module_filterTrigger__3CTf0 .douGongSchemeTemplate-module_filterArrowOpen__35EOc {\n transform: rotate(180deg);\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_toolbar__6rt4u .douGongSchemeTemplate-module_toolbarLeft__2fPEX .douGongSchemeTemplate-module_statusFilterGroup__3eurH .douGongSchemeTemplate-module_filterWrap__3I8mB .douGongSchemeTemplate-module_filterMenu__2IR3a {\n position: absolute;\n top: calc(100% + 6px);\n left: 0;\n z-index: 12;\n width: 140px;\n padding: 5px;\n display: flex;\n flex-direction: column;\n gap: 0;\n border: 1px solid rgba(113, 125, 153, 0.3);\n border-radius: 4px;\n background: #fff;\n box-shadow: 0 3px 8px rgba(0, 0, 0, 0.16);\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_toolbar__6rt4u .douGongSchemeTemplate-module_toolbarLeft__2fPEX .douGongSchemeTemplate-module_statusFilterGroup__3eurH .douGongSchemeTemplate-module_filterWrap__3I8mB .douGongSchemeTemplate-module_filterMenu__2IR3a .douGongSchemeTemplate-module_filterOption__2OYSa {\n width: 100%;\n min-height: 36px;\n padding: 8px 10px;\n display: flex;\n align-items: center;\n border: none;\n border-radius: 4px;\n background: transparent;\n text-align: left;\n color: #616778;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_toolbar__6rt4u .douGongSchemeTemplate-module_toolbarLeft__2fPEX .douGongSchemeTemplate-module_statusFilterGroup__3eurH .douGongSchemeTemplate-module_filterWrap__3I8mB .douGongSchemeTemplate-module_filterMenu__2IR3a .douGongSchemeTemplate-module_filterOption__2OYSa:hover {\n background: #f7f8fa;\n cursor: pointer;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_toolbar__6rt4u .douGongSchemeTemplate-module_toolbarLeft__2fPEX .douGongSchemeTemplate-module_statusFilterGroup__3eurH .douGongSchemeTemplate-module_filterWrap__3I8mB .douGongSchemeTemplate-module_filterMenu__2IR3a .douGongSchemeTemplate-module_filterOption__2OYSa.douGongSchemeTemplate-module_filterOptionActive__2GDge {\n background: #f2f3f5;\n color: #000f2c;\n font-weight: 500;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_toolbar__6rt4u .douGongSchemeTemplate-module_toolbarLeft__2fPEX .douGongSchemeTemplate-module_statusFilterGroup__3eurH .douGongSchemeTemplate-module_filterWrap__3I8mB .douGongSchemeTemplate-module_filterMenu__2IR3a .douGongSchemeTemplate-module_filterOption__2OYSa .douGongSchemeTemplate-module_filterOptionText__a3LdL {\n display: block;\n font-size: 14px;\n line-height: 22px;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_toolbar__6rt4u .douGongSchemeTemplate-module_toolbarLeft__2fPEX .douGongSchemeTemplate-module_quickTabs__31Fp- {\n display: inline-flex;\n align-items: center;\n gap: 0;\n padding: 0;\n border-radius: 4px;\n background: #fff;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_toolbar__6rt4u .douGongSchemeTemplate-module_toolbarLeft__2fPEX .douGongSchemeTemplate-module_quickTabs__31Fp- .douGongSchemeTemplate-module_tagButton__1QYbm {\n height: 32px;\n padding: 0 12px;\n border-radius: 4px;\n background: transparent;\n color: #737b8b;\n font-size: 13px;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_toolbar__6rt4u .douGongSchemeTemplate-module_toolbarLeft__2fPEX .douGongSchemeTemplate-module_quickTabs__31Fp- .douGongSchemeTemplate-module_tagButton__1QYbm.douGongSchemeTemplate-module_tagButtonActive__1MNPi {\n background: #f0f2f5;\n color: #000f2c;\n font-weight: 600;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_statusFlowCard__1GrXr {\n height: 100px;\n margin-top: 16px;\n overflow: hidden;\n border-radius: 6px;\n background: #fff;\n box-sizing: border-box;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_statusFlowCard__1GrXr .douGongSchemeTemplate-module_statusFlowHeader__1rpIs {\n height: 46px;\n padding: 0 16px;\n display: flex;\n align-items: center;\n border-bottom: 1px solid #f1f3f5;\n color: #000f2c;\n font-size: 14px;\n line-height: 20px;\n font-weight: 500;\n box-sizing: border-box;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_statusFlowCard__1GrXr .douGongSchemeTemplate-module_statusFlowContent__3WAoV {\n height: 54px;\n padding: 0 16px;\n display: flex;\n align-items: center;\n gap: 12px;\n box-sizing: border-box;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_statusFlowCard__1GrXr .douGongSchemeTemplate-module_statusFlowSteps__1F6ma {\n display: flex;\n align-items: center;\n gap: 8px;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_statusFlowCard__1GrXr .douGongSchemeTemplate-module_flowStatus__3-nmf {\n height: 22px;\n padding: 1px 6px;\n display: inline-flex;\n align-items: center;\n border-radius: 4px;\n font-size: 14px;\n line-height: 20px;\n font-weight: 400;\n white-space: nowrap;\n box-sizing: border-box;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_statusFlowCard__1GrXr .douGongSchemeTemplate-module_flowStatus__3-nmf.douGongSchemeTemplate-module_flowStatusWaiting__3r1aO {\n background: #f0f2f5;\n color: #737b8b;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_statusFlowCard__1GrXr .douGongSchemeTemplate-module_flowStatus__3-nmf.douGongSchemeTemplate-module_flowStatusSynced__2Xv40 {\n background: #ecfef6;\n color: #079669;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_statusFlowCard__1GrXr .douGongSchemeTemplate-module_flowStatus__3-nmf.douGongSchemeTemplate-module_flowStatusPending__2OsoZ {\n background: #fdf4d3;\n color: #d97707;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_statusFlowCard__1GrXr .douGongSchemeTemplate-module_flowStatus__3-nmf.douGongSchemeTemplate-module_flowStatusLoaded__3y62K {\n background: #e7f3ff;\n color: #1890ff;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_statusFlowCard__1GrXr .douGongSchemeTemplate-module_flowStatus__3-nmf.douGongSchemeTemplate-module_flowStatusFailed__2dg_T {\n background: #fef2f2;\n color: #dc2626;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_statusFlowCard__1GrXr .douGongSchemeTemplate-module_statusFlowArrow__2bvD7 {\n width: 22px;\n height: 22px;\n display: block;\n flex: 0 0 22px;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_statusFlowCard__1GrXr .douGongSchemeTemplate-module_statusFlowNote__Vjxx0 {\n color: #737b8b;\n font-size: 12px;\n line-height: 18px;\n white-space: nowrap;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_tableCard__29TC_ {\n margin-top: 16px;\n border: 1px solid #fff;\n border-radius: 6px;\n background: #fff;\n overflow: hidden;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_tableCard__29TC_ .douGongSchemeTemplate-module_schemeTable__2Wx66 {\n width: 100%;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_tableCard__29TC_ .douGongSchemeTemplate-module_schemeTable__2Wx66 .ant-table {\n color: #000f2c;\n font-size: 14px;\n font-weight: 400;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_tableCard__29TC_ .douGongSchemeTemplate-module_schemeTable__2Wx66 .ant-table-container {\n border-radius: 6px 6px 0 0;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_tableCard__29TC_ .douGongSchemeTemplate-module_schemeTable__2Wx66 .ant-table-content {\n overscroll-behavior-x: contain;\n -webkit-overflow-scrolling: touch;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_tableCard__29TC_ .douGongSchemeTemplate-module_schemeTable__2Wx66 .ant-table-content::-webkit-scrollbar {\n height: 8px;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_tableCard__29TC_ .douGongSchemeTemplate-module_schemeTable__2Wx66 .ant-table-content::-webkit-scrollbar-track {\n background: #f5f6f8;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_tableCard__29TC_ .douGongSchemeTemplate-module_schemeTable__2Wx66 .ant-table-content::-webkit-scrollbar-thumb {\n border: 2px solid #f5f6f8;\n border-radius: 8px;\n background: #c5ccd6;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_tableCard__29TC_ .douGongSchemeTemplate-module_schemeTable__2Wx66 .ant-table-thead > tr > th {\n height: 32px;\n padding: 4px 12px;\n border-bottom: 0;\n background: #f0f2f5;\n color: #737b8b;\n font-size: 12px;\n font-weight: 400;\n line-height: 20px;\n white-space: nowrap;\n box-sizing: border-box;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_tableCard__29TC_ .douGongSchemeTemplate-module_schemeTable__2Wx66 .ant-table-tbody > tr > td {\n height: 48px;\n padding: 4px 12px;\n border-bottom-color: #f1f3f5;\n background: #fff;\n color: #000f2c;\n font-size: 14px;\n line-height: 20px;\n font-weight: 400;\n box-sizing: border-box;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_tableCard__29TC_ .douGongSchemeTemplate-module_schemeTable__2Wx66 .ant-table-cell-fix-right {\n background: #fff;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_tableCard__29TC_ .douGongSchemeTemplate-module_schemeTable__2Wx66 .ant-table-thead .ant-table-cell-fix-right {\n background: #f0f2f5;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_tableCard__29TC_ .douGongSchemeTemplate-module_schemeTable__2Wx66 .ant-table-placeholder .ant-table-cell {\n height: 128px;\n color: #737b8b;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_tableCard__29TC_ .douGongSchemeTemplate-module_schemeTable__2Wx66 .ant-pagination {\n margin: 16px 20px 20px;\n}\n.douGongSchemeTemplate-module_tableCellText__2qFGr {\n display: block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.douGongSchemeTemplate-module_schemeName__1ceWV {\n display: block;\n overflow: hidden;\n font-size: 14px;\n line-height: 20px;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.douGongSchemeTemplate-module_schemeNameCell__2nPKG {\n min-width: 0;\n display: flex;\n align-items: center;\n gap: 8px;\n}\n.douGongSchemeTemplate-module_schemeNameCell__2nPKG .douGongSchemeTemplate-module_schemeName__1ceWV {\n min-width: 0;\n flex: 0 1 auto;\n}\n.douGongSchemeTemplate-module_schemeNameCell__2nPKG .douGongSchemeTemplate-module_missingReplacementTag__Z9ch8 {\n flex: 0 1 auto;\n}\n.douGongSchemeTemplate-module_missingReplacementTag__Z9ch8 {\n max-width: 100%;\n height: 22px;\n padding: 0 7px;\n display: inline-flex;\n align-items: center;\n gap: 4px;\n overflow: hidden;\n border-radius: 4px;\n background: #fff4df;\n color: #d97707;\n font-size: 12px;\n line-height: 22px;\n cursor: help;\n}\n.douGongSchemeTemplate-module_missingReplacementTag__Z9ch8 .douGongSchemeTemplate-module_warningIcon__2zRRw {\n width: 14px;\n height: 14px;\n flex: 0 0 auto;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border: 1px solid currentColor;\n border-radius: 50%;\n font-size: 10px;\n font-weight: 600;\n line-height: 12px;\n}\n.douGongSchemeTemplate-module_missingReplacementTag__Z9ch8 .douGongSchemeTemplate-module_missingReplacementText__2zNKu {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.douGongSchemeTemplate-module_actionCell__3nl3R {\n display: flex;\n align-items: center;\n gap: 10px;\n white-space: nowrap;\n}\n.douGongSchemeTemplate-module_tableEmpty__3Sn9M {\n min-height: 64px;\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 8px;\n}\n.douGongSchemeTemplate-module_thumbPlaceholder__2CrEd {\n display: flex;\n align-items: center;\n justify-content: center;\n color: #737b8b;\n font-size: 12px;\n}\n.douGongSchemeTemplate-module_countTag__1jVo7,\n.douGongSchemeTemplate-module_detailStatusTag__1XI4X,\n.douGongSchemeTemplate-module_roomStatusTag__1Y4t9 {\n padding: 1px 6px;\n border-radius: 4px;\n font-size: 12px;\n line-height: 20px;\n white-space: nowrap;\n}\n.douGongSchemeTemplate-module_statusTag__3DER1 {\n padding: 1px 6px;\n border-radius: 4px;\n font-size: 14px;\n line-height: 20px;\n white-space: nowrap;\n}\n.douGongSchemeTemplate-module_countSynced__2a7zL,\n.douGongSchemeTemplate-module_statusSynced__37Ne1,\n.douGongSchemeTemplate-module_detailStatusPass__2XvB-,\n.douGongSchemeTemplate-module_roomStatusReady__ybwdf {\n color: #079669;\n background: #ecfef6;\n}\n.douGongSchemeTemplate-module_countMissing__2K--O,\n.douGongSchemeTemplate-module_statusMissing__2RxH8,\n.douGongSchemeTemplate-module_statusPending__1ZWi1,\n.douGongSchemeTemplate-module_detailStatusWarn__-Y94A {\n color: #d97707;\n background: #fdf4d3;\n}\n.douGongSchemeTemplate-module_countFailed__nruJ2,\n.douGongSchemeTemplate-module_statusFailed__UopKP {\n color: #dc2626;\n background: #fef2f2;\n}\n.douGongSchemeTemplate-module_countPending__27xmW,\n.douGongSchemeTemplate-module_statusLoaded__12k7U {\n color: #1890ff;\n background: #e7f3ff;\n}\n.douGongSchemeTemplate-module_statusWaitingSync__2jaah {\n color: #737b8b;\n background: #f0f2f5;\n}\n.douGongSchemeTemplate-module_linkButton__3pWfb {\n padding: 0;\n background: transparent;\n color: #1890ff;\n font-size: 14px;\n line-height: 20px;\n}\n.douGongSchemeTemplate-module_linkButtonMuted__2oeN1 {\n color: #737b8b;\n}\n.douGongSchemeTemplate-module_inlineRetryButton__3Vw7_ {\n margin-left: 10px;\n padding: 0;\n border: none;\n background: transparent;\n color: #1890ff;\n cursor: pointer;\n}\n.douGongSchemeTemplate-module_paginationInfo__1YZsz {\n margin-top: 10px;\n color: #737b8b;\n font-size: 12px;\n line-height: 18px;\n text-align: right;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM {\n flex: 1;\n min-height: 0;\n display: flex;\n flex-direction: column;\n overflow: hidden;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_breadcrumb__c_H9- {\n display: flex;\n align-items: center;\n gap: 4px;\n font-size: 13px;\n color: #737b8b;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_breadcrumb__c_H9- .douGongSchemeTemplate-module_backButton__tVGM2 {\n padding: 0;\n display: inline-flex;\n align-items: center;\n gap: 3px;\n border: none;\n background: transparent;\n color: #737b8b;\n cursor: pointer;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailHeader__3Seoj {\n margin-top: 14px;\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n gap: 16px;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailHeader__3Seoj .douGongSchemeTemplate-module_detailTitle__xXzXb {\n margin: 0;\n font-size: 16px;\n line-height: 22px;\n font-weight: 600;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailHeader__3Seoj .douGongSchemeTemplate-module_detailMeta__2vP9V {\n margin-top: 3px;\n color: #737b8b;\n font-size: 12px;\n line-height: 18px;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailNotice__16CrR {\n margin-top: 12px;\n padding: 10px 12px;\n border-radius: 6px;\n background: #fff;\n color: #737b8b;\n font-size: 13px;\n line-height: 18px;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailLayout__3mEQR {\n flex: 1;\n min-height: 0;\n margin-top: 14px;\n display: grid;\n grid-template-columns: minmax(0, 1fr) 260px;\n gap: 16px;\n align-items: stretch;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailLayout__3mEQR .douGongSchemeTemplate-module_detailMain__29q-l {\n min-height: 0;\n overflow: auto;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailLayout__3mEQR .douGongSchemeTemplate-module_detailCard__394jb,\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailLayout__3mEQR .douGongSchemeTemplate-module_sideCard__3g45N,\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailLayout__3mEQR .douGongSchemeTemplate-module_roomsCard__2Q6ug {\n border-radius: 12px;\n background: #fff;\n overflow: hidden;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailLayout__3mEQR .douGongSchemeTemplate-module_cardTitle__3yuFg {\n padding: 14px 16px 10px;\n font-size: 14px;\n font-weight: 600;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailLayout__3mEQR .douGongSchemeTemplate-module_detailInfo__Jz_Lc {\n padding: 0 16px 16px;\n display: grid;\n grid-template-columns: 260px minmax(0, 1fr);\n gap: 24px;\n align-items: center;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailLayout__3mEQR .douGongSchemeTemplate-module_detailInfo__Jz_Lc .douGongSchemeTemplate-module_detailPreviewButton__5jeiZ {\n position: relative;\n width: 260px;\n height: 146px;\n padding: 0;\n overflow: hidden;\n border: none;\n border-radius: 6px;\n background: #f0f2f5;\n cursor: zoom-in;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailLayout__3mEQR .douGongSchemeTemplate-module_detailInfo__Jz_Lc .douGongSchemeTemplate-module_detailPreviewButton__5jeiZ .douGongSchemeTemplate-module_detailPreviewHint__2TUEI {\n position: absolute;\n right: 2px;\n bottom: 2px;\n height: 21px;\n padding: 0 2px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 6px;\n background: rgba(0, 0, 0, 0.8);\n color: #fff;\n font-size: 14px;\n line-height: 20px;\n white-space: nowrap;\n pointer-events: none;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailLayout__3mEQR .douGongSchemeTemplate-module_detailInfo__Jz_Lc .douGongSchemeTemplate-module_detailPreview__VnC6W {\n width: 100%;\n height: 100%;\n display: block;\n border-radius: 6px;\n -o-object-fit: cover;\n object-fit: cover;\n background: #f0f2f5;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailLayout__3mEQR .douGongSchemeTemplate-module_detailInfo__Jz_Lc .douGongSchemeTemplate-module_detailPreview__VnC6W.douGongSchemeTemplate-module_thumbPlaceholder__2CrEd {\n display: flex;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailLayout__3mEQR .douGongSchemeTemplate-module_detailInfo__Jz_Lc .douGongSchemeTemplate-module_detailGrid__3lbSq {\n display: grid;\n grid-template-columns: 88px minmax(0, 1fr);\n gap: 12px 16px;\n align-items: center;\n font-size: 14px;\n line-height: 20px;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailLayout__3mEQR .douGongSchemeTemplate-module_detailInfo__Jz_Lc .douGongSchemeTemplate-module_detailGrid__3lbSq .douGongSchemeTemplate-module_detailLabel__3J5WH {\n color: #737b8b;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailLayout__3mEQR .douGongSchemeTemplate-module_roomsCard__2Q6ug {\n margin-top: 12px;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailLayout__3mEQR .douGongSchemeTemplate-module_roomsCard__2Q6ug .douGongSchemeTemplate-module_tableNote__3D8p2 {\n margin-left: auto;\n color: #a0a5b3;\n font-size: 12px;\n font-weight: 400;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailLayout__3mEQR .douGongSchemeTemplate-module_roomsCard__2Q6ug .douGongSchemeTemplate-module_roomRow__31qry {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr 1fr;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailLayout__3mEQR .douGongSchemeTemplate-module_roomsCard__2Q6ug .douGongSchemeTemplate-module_roomRow__31qry:last-child .douGongSchemeTemplate-module_roomCell__ZJpvG {\n border-bottom: none;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailLayout__3mEQR .douGongSchemeTemplate-module_roomsCard__2Q6ug .douGongSchemeTemplate-module_roomRow__31qry .douGongSchemeTemplate-module_roomCell__ZJpvG {\n padding: 11px 14px;\n border-bottom: 1px solid #f1f3f5;\n font-size: 12px;\n line-height: 18px;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailLayout__3mEQR .douGongSchemeTemplate-module_roomsCard__2Q6ug .douGongSchemeTemplate-module_roomRow__31qry .douGongSchemeTemplate-module_roomCell__ZJpvG.douGongSchemeTemplate-module_roomHeader__2uRoK {\n background: #f0f2f5;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailLayout__3mEQR .douGongSchemeTemplate-module_roomsCard__2Q6ug .douGongSchemeTemplate-module_roomEmpty__24gXy {\n padding: 24px 16px;\n color: #737b8b;\n font-size: 12px;\n line-height: 18px;\n text-align: center;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailLayout__3mEQR .douGongSchemeTemplate-module_sideCard__3g45N {\n display: flex;\n flex-direction: column;\n min-height: 0;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailLayout__3mEQR .douGongSchemeTemplate-module_sideCard__3g45N .douGongSchemeTemplate-module_cardTitle__3yuFg {\n flex: 0 0 auto;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailLayout__3mEQR .douGongSchemeTemplate-module_sideCard__3g45N .douGongSchemeTemplate-module_sideList__3ICY7 {\n flex: 1;\n min-height: 0;\n overflow-y: auto;\n overscroll-behavior: contain;\n -webkit-overflow-scrolling: touch;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailLayout__3mEQR .douGongSchemeTemplate-module_sideCard__3g45N .douGongSchemeTemplate-module_sideRow__16PhL {\n padding: 0 16px;\n display: grid;\n grid-template-columns: minmax(0, 1fr) auto;\n align-items: center;\n min-height: 44px;\n gap: 12px;\n border-bottom: 1px solid #f1f3f5;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailLayout__3mEQR .douGongSchemeTemplate-module_sideCard__3g45N .douGongSchemeTemplate-module_sideRow__16PhL:last-child {\n border-bottom: none;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailLayout__3mEQR .douGongSchemeTemplate-module_sideCard__3g45N .douGongSchemeTemplate-module_sideEmpty__3y7N_ {\n padding: 24px 16px;\n color: #737b8b;\n font-size: 12px;\n line-height: 18px;\n text-align: center;\n}\n.douGongSchemeTemplate-module_imagePreviewOverlay__3zn9F {\n position: fixed;\n inset: 0;\n z-index: 1200;\n font-family: PingFang SC, Microsoft YaHei, sans-serif;\n}\n.douGongSchemeTemplate-module_imagePreviewOverlay__3zn9F .douGongSchemeTemplate-module_imagePreviewMask__7DYDG {\n position: absolute;\n inset: 0;\n background: rgba(18, 28, 42, 0.3);\n opacity: 0;\n transition: opacity 0.18s ease;\n}\n.douGongSchemeTemplate-module_imagePreviewOverlay__3zn9F .douGongSchemeTemplate-module_imagePreviewPanel__3Gqnw {\n position: absolute;\n left: 50%;\n top: 50%;\n width: 800px;\n height: 760px;\n max-width: calc(100vw - 32px);\n max-height: calc(100vh - 32px);\n overflow: hidden;\n border-radius: 12px;\n background: #fff;\n opacity: 0;\n transform: translate(-50%, -50%) scale(0.96);\n transition: opacity 0.18s ease, transform 0.18s ease;\n}\n.douGongSchemeTemplate-module_imagePreviewOverlay__3zn9F .douGongSchemeTemplate-module_imagePreviewHeader__reK51 {\n height: 52px;\n padding: 0 16px 0 24px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n border-bottom: 1px solid #dde1e6;\n box-sizing: border-box;\n}\n.douGongSchemeTemplate-module_imagePreviewOverlay__3zn9F .douGongSchemeTemplate-module_imagePreviewTitle__2yrsg {\n color: #000;\n font-size: 16px;\n line-height: 20px;\n font-weight: 600;\n}\n.douGongSchemeTemplate-module_imagePreviewOverlay__3zn9F .douGongSchemeTemplate-module_imagePreviewClose__302ry {\n width: 28px;\n height: 28px;\n padding: 0;\n border: none;\n background: transparent;\n color: #737b8b;\n font-size: 16px;\n cursor: pointer;\n}\n.douGongSchemeTemplate-module_imagePreviewOverlay__3zn9F .douGongSchemeTemplate-module_imagePreviewBody__3bvip {\n height: 644px;\n padding: 12px 24px 24px;\n box-sizing: border-box;\n}\n.douGongSchemeTemplate-module_imagePreviewOverlay__3zn9F .douGongSchemeTemplate-module_imagePreviewMeta__1Yfha {\n height: 23px;\n margin: 0;\n overflow: hidden;\n color: #737b8b;\n font-size: 14px;\n line-height: 23px;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.douGongSchemeTemplate-module_imagePreviewOverlay__3zn9F .douGongSchemeTemplate-module_imagePreviewViewport__32Vv9 {\n position: relative;\n width: 100%;\n height: 573px;\n margin-top: 12px;\n overflow: hidden;\n border-radius: 12px;\n background: #f5f5f7;\n cursor: grab;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}\n.douGongSchemeTemplate-module_imagePreviewOverlay__3zn9F .douGongSchemeTemplate-module_imagePreviewViewport__32Vv9.douGongSchemeTemplate-module_imagePreviewViewportDragging__zJ7O- {\n cursor: grabbing;\n}\n.douGongSchemeTemplate-module_imagePreviewOverlay__3zn9F .douGongSchemeTemplate-module_imagePreviewImage__2c8eK {\n width: 100%;\n height: 100%;\n display: block;\n -o-object-fit: cover;\n object-fit: cover;\n transform-origin: center;\n transition: transform 0.08s ease-out;\n pointer-events: none;\n}\n.douGongSchemeTemplate-module_imagePreviewOverlay__3zn9F .douGongSchemeTemplate-module_imagePreviewHint__2S7_k {\n position: absolute;\n left: 50%;\n bottom: 32px;\n height: 32px;\n padding: 0 17px;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border: 1px solid rgba(255, 255, 255, 0.16);\n border-radius: 100px;\n background: rgba(0, 0, 0, 0.6);\n color: #fff;\n font-size: 14px;\n line-height: 20px;\n white-space: nowrap;\n transform: translateX(-50%);\n pointer-events: none;\n box-sizing: border-box;\n}\n.douGongSchemeTemplate-module_imagePreviewOverlay__3zn9F .douGongSchemeTemplate-module_imagePreviewFooter__1vWfa {\n height: 64px;\n padding-right: 24px;\n display: flex;\n align-items: center;\n justify-content: flex-end;\n border-top: 1px solid #dde1e6;\n box-sizing: border-box;\n}\n.douGongSchemeTemplate-module_imagePreviewOverlay__3zn9F .douGongSchemeTemplate-module_imagePreviewFooterButton__4XHqt {\n height: 32px;\n padding: 0 16px;\n border: 1px solid #717d99;\n border-radius: 4px;\n background: #fff;\n color: #737b8b;\n font-size: 14px;\n line-height: 22px;\n cursor: pointer;\n}\n.douGongSchemeTemplate-module_imagePreviewOverlay__3zn9F .douGongSchemeTemplate-module_imagePreviewFooterButton__4XHqt:hover {\n border-color: #1890ff;\n color: #1890ff;\n}\n.douGongSchemeTemplate-module_imagePreviewOverlay__3zn9F.douGongSchemeTemplate-module_imagePreviewOverlayOpen__2ULl6 .douGongSchemeTemplate-module_imagePreviewMask__7DYDG {\n opacity: 1;\n}\n.douGongSchemeTemplate-module_imagePreviewOverlay__3zn9F.douGongSchemeTemplate-module_imagePreviewOverlayOpen__2ULl6 .douGongSchemeTemplate-module_imagePreviewPanel__3Gqnw {\n opacity: 1;\n transform: translate(-50%, -50%) scale(1);\n}\n.douGongSchemeTemplate-module_tinyTag__waUqq {\n height: 22px;\n padding: 0 6px;\n border-radius: 4px;\n background: #e7f3ff;\n color: #1890ff;\n font-size: 12px;\n line-height: 22px;\n}\n.douGongSchemeTemplate-module_tinyTag__waUqq.douGongSchemeTemplate-module_tinyTagWarn__3sn-j {\n background: #fff4df;\n color: #f59e0b;\n}\n.douGongSchemeTemplate-module_tinyTag__waUqq.douGongSchemeTemplate-module_tinyTagPending__12CgZ {\n background: #f0f2f5;\n color: #737b8b;\n}\n.douGongSchemeTemplate-module_modalOverlay__1C-cc {\n position: fixed;\n inset: 0;\n z-index: 1000;\n}\n.douGongSchemeTemplate-module_modalOverlay__1C-cc .douGongSchemeTemplate-module_modalMask__3A1yT {\n position: absolute;\n inset: 0;\n background: rgba(18, 28, 42, 0.3);\n}\n.douGongSchemeTemplate-module_modalOverlay__1C-cc .douGongSchemeTemplate-module_modalPanel__2FV74 {\n position: absolute;\n left: 50%;\n top: 50%;\n max-width: calc(100vw - 32px);\n border-radius: 10px;\n background: #fff;\n overflow: hidden;\n transform: translate(-50%, -50%) scale(0.96);\n opacity: 0;\n transition: transform 0.18s ease, opacity 0.18s ease;\n}\n.douGongSchemeTemplate-module_modalOverlay__1C-cc .douGongSchemeTemplate-module_modalPanel__2FV74.douGongSchemeTemplate-module_modalPanelOpen__5HYe- {\n transform: translate(-50%, -50%) scale(1);\n opacity: 1;\n}\n.douGongSchemeTemplate-module_modalOverlay__1C-cc .douGongSchemeTemplate-module_modalPanel__2FV74 .douGongSchemeTemplate-module_modalHeader__20Ezx {\n height: 48px;\n padding: 0 16px 0 24px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n border-bottom: 1px solid #dde1e6;\n}\n.douGongSchemeTemplate-module_modalOverlay__1C-cc .douGongSchemeTemplate-module_modalPanel__2FV74 .douGongSchemeTemplate-module_modalHeader__20Ezx .douGongSchemeTemplate-module_modalTitle__2Ho1E {\n font-size: 15px;\n line-height: 20px;\n font-weight: 600;\n color: #000;\n}\n.douGongSchemeTemplate-module_modalOverlay__1C-cc .douGongSchemeTemplate-module_modalPanel__2FV74 .douGongSchemeTemplate-module_modalHeader__20Ezx .douGongSchemeTemplate-module_modalClose__36Aoz {\n width: 28px;\n height: 28px;\n border: none;\n background: transparent;\n color: #737b8b;\n cursor: pointer;\n}\n.douGongSchemeTemplate-module_modalOverlay__1C-cc .douGongSchemeTemplate-module_modalPanel__2FV74 .douGongSchemeTemplate-module_modalBody__S30fF {\n padding: 18px 24px 20px;\n}\n.douGongSchemeTemplate-module_modalOverlay__1C-cc .douGongSchemeTemplate-module_modalPanel__2FV74 .douGongSchemeTemplate-module_modalBody__S30fF .douGongSchemeTemplate-module_modalText__3GpW0 {\n margin: 0;\n color: #737b8b;\n font-size: 13px;\n line-height: 21px;\n}\n.douGongSchemeTemplate-module_modalOverlay__1C-cc .douGongSchemeTemplate-module_modalPanel__2FV74 .douGongSchemeTemplate-module_modalBody__S30fF .douGongSchemeTemplate-module_modalNotice__2a08n,\n.douGongSchemeTemplate-module_modalOverlay__1C-cc .douGongSchemeTemplate-module_modalPanel__2FV74 .douGongSchemeTemplate-module_modalBody__S30fF .douGongSchemeTemplate-module_warnNotice__2gdpe {\n min-height: 40px;\n padding: 8px 12px 8px 10px;\n display: flex;\n align-items: center;\n gap: 6px;\n border-radius: 4px;\n font-size: 12px;\n line-height: 22px;\n}\n.douGongSchemeTemplate-module_modalOverlay__1C-cc .douGongSchemeTemplate-module_modalPanel__2FV74 .douGongSchemeTemplate-module_modalBody__S30fF .douGongSchemeTemplate-module_modalNotice__2a08n {\n margin-top: 16px;\n background: #f0f2f5;\n color: #737b8b;\n}\n.douGongSchemeTemplate-module_modalOverlay__1C-cc .douGongSchemeTemplate-module_modalPanel__2FV74 .douGongSchemeTemplate-module_modalBody__S30fF .douGongSchemeTemplate-module_warnNotice__2gdpe {\n margin-top: 0;\n background: rgba(250, 173, 20, 0.1);\n color: #f07618;\n}\n.douGongSchemeTemplate-module_modalOverlay__1C-cc .douGongSchemeTemplate-module_modalPanel__2FV74 .douGongSchemeTemplate-module_modalBody__S30fF .douGongSchemeTemplate-module_modalMetaGrid__1b9uH {\n margin-top: 24px;\n display: grid;\n grid-template-columns: 72px minmax(0, 1fr);\n gap: 12px 0;\n font-size: 14px;\n line-height: 24px;\n}\n.douGongSchemeTemplate-module_modalOverlay__1C-cc .douGongSchemeTemplate-module_modalPanel__2FV74 .douGongSchemeTemplate-module_modalBody__S30fF .douGongSchemeTemplate-module_modalMetaGrid__1b9uH .douGongSchemeTemplate-module_modalMetaLabel__1meX8 {\n color: #737b8b;\n}\n.douGongSchemeTemplate-module_modalOverlay__1C-cc .douGongSchemeTemplate-module_modalPanel__2FV74 .douGongSchemeTemplate-module_modalBody__S30fF .douGongSchemeTemplate-module_modalMetaGrid__1b9uH .douGongSchemeTemplate-module_modalMetaValue__3_xcX {\n color: #000;\n word-break: break-all;\n}\n.douGongSchemeTemplate-module_modalOverlay__1C-cc .douGongSchemeTemplate-module_modalPanel__2FV74 .douGongSchemeTemplate-module_modalFooter__1WwN5 {\n min-height: 60px;\n padding: 14px 24px;\n display: flex;\n align-items: center;\n justify-content: flex-end;\n gap: 12px;\n border-top: 1px solid #dde1e6;\n}\n.douGongSchemeTemplate-module_modalOverlay__1C-cc .douGongSchemeTemplate-module_modalPanel__2FV74 .douGongSchemeTemplate-module_modalFooter__1WwN5 .douGongSchemeTemplate-module_modalSecondaryButton__1FbtV {\n height: 32px;\n padding: 0 14px;\n border: 1px solid #cfd5df;\n border-radius: 4px;\n background: #fff;\n color: #5f6878;\n font-size: 13px;\n cursor: pointer;\n}\n.douGongSchemeTemplate-module_modalOverlay__1C-cc .douGongSchemeTemplate-module_modalPanel__2FV74 .douGongSchemeTemplate-module_modalFooter__1WwN5 .douGongSchemeTemplate-module_modalSecondaryButton__1FbtV:disabled {\n cursor: not-allowed;\n opacity: 0.5;\n}\n.douGongSchemeTemplate-module_modalOverlay__1C-cc.douGongSchemeTemplate-module_modalOverlayOpen__FnhSv .douGongSchemeTemplate-module_modalPanel__2FV74 {\n transform: translate(-50%, -50%) scale(1);\n opacity: 1;\n}\n@media (max-width: 1200px) {\n .douGongSchemeTemplate-module_detailLayout__3mEQR {\n grid-template-columns: 1fr;\n overflow: auto;\n }\n}\n@media (max-height: 791px) {\n .douGongSchemeTemplate-module_imagePreviewOverlay__3zn9F .douGongSchemeTemplate-module_imagePreviewPanel__3Gqnw {\n height: calc(100vh - 32px);\n }\n .douGongSchemeTemplate-module_imagePreviewOverlay__3zn9F .douGongSchemeTemplate-module_imagePreviewBody__3bvip {\n height: calc(100vh - 148px);\n }\n .douGongSchemeTemplate-module_imagePreviewOverlay__3zn9F .douGongSchemeTemplate-module_imagePreviewViewport__32Vv9 {\n height: calc(100vh - 219px);\n }\n}\n@media (max-width: 900px) {\n .douGongSchemeTemplate-module_topBar__LDIKR,\n .douGongSchemeTemplate-module_headerSection__3EeK5,\n .douGongSchemeTemplate-module_detailHeader__3Seoj {\n align-items: stretch;\n flex-direction: column;\n }\n .douGongSchemeTemplate-module_searchInput__2K_jd,\n .douGongSchemeTemplate-module_filterTrigger__3CTf0 {\n width: 100%;\n }\n .douGongSchemeTemplate-module_toolbarLeft__2fPEX {\n width: 100%;\n }\n .douGongSchemeTemplate-module_searchWrap__18O1V,\n .douGongSchemeTemplate-module_statusFilterGroup__3eurH {\n flex: 1 1 100%;\n }\n .douGongSchemeTemplate-module_statusFilterGroup__3eurH,\n .douGongSchemeTemplate-module_filterWrap__3I8mB {\n width: 100%;\n }\n .douGongSchemeTemplate-module_quickTabs__31Fp- {\n width: 100%;\n justify-content: flex-start;\n overflow-x: auto;\n }\n .douGongSchemeTemplate-module_detailInfo__Jz_Lc {\n grid-template-columns: 1fr;\n }\n .douGongSchemeTemplate-module_detailPreview__VnC6W {\n width: 100%;\n height: 180px;\n }\n}\n@media (max-width: 640px) {\n .douGongSchemeTemplate-module_container__28Kh7 {\n padding: 12px;\n }\n .douGongSchemeTemplate-module_detailTitle__xXzXb {\n font-size: 18px;\n line-height: 26px;\n }\n .douGongSchemeTemplate-module_roomRow__31qry {\n min-width: 560px;\n }\n .douGongSchemeTemplate-module_modalBody__S30fF,\n .douGongSchemeTemplate-module_modalFooter__1WwN5 {\n padding-left: 16px;\n padding-right: 16px;\n }\n .douGongSchemeTemplate-module_modalHeader__20Ezx {\n padding-left: 16px;\n }\n .douGongSchemeTemplate-module_modalFooter__1WwN5 {\n gap: 12px;\n }\n}\n";
3502
- var styles$5 = {"page":"douGongSchemeTemplate-module_page__3FenY","container":"douGongSchemeTemplate-module_container__28Kh7","listPane":"douGongSchemeTemplate-module_listPane__2vLv-","listPaneHidden":"douGongSchemeTemplate-module_listPaneHidden__1FlxT","topBar":"douGongSchemeTemplate-module_topBar__LDIKR","topSearch":"douGongSchemeTemplate-module_topSearch__apeWw","topRight":"douGongSchemeTemplate-module_topRight__nL1I5","readonlyTag":"douGongSchemeTemplate-module_readonlyTag__2Q6Hk","successToast":"douGongSchemeTemplate-module_successToast__3wAsJ","errorToast":"douGongSchemeTemplate-module_errorToast__2YRAD","ghostPrimaryButton":"douGongSchemeTemplate-module_ghostPrimaryButton__uWclq","primaryButton":"douGongSchemeTemplate-module_primaryButton__1kTUF","secondaryButton":"douGongSchemeTemplate-module_secondaryButton__2P2It","linkButton":"douGongSchemeTemplate-module_linkButton__3pWfb","tagButton":"douGongSchemeTemplate-module_tagButton__1QYbm","tinyTag":"douGongSchemeTemplate-module_tinyTag__waUqq","headerSection":"douGongSchemeTemplate-module_headerSection__3EeK5","titleBlock":"douGongSchemeTemplate-module_titleBlock__2fHU3","pageTitle":"douGongSchemeTemplate-module_pageTitle__2SHpl","pageDesc":"douGongSchemeTemplate-module_pageDesc__46Bk9","toolbar":"douGongSchemeTemplate-module_toolbar__6rt4u","toolbarLeft":"douGongSchemeTemplate-module_toolbarLeft__2fPEX","searchWrap":"douGongSchemeTemplate-module_searchWrap__18O1V","searchIcon":"douGongSchemeTemplate-module_searchIcon__2Zb5l","searchInput":"douGongSchemeTemplate-module_searchInput__2K_jd","statusFilterGroup":"douGongSchemeTemplate-module_statusFilterGroup__3eurH","statusFilterLabel":"douGongSchemeTemplate-module_statusFilterLabel__NfpNT","filterWrap":"douGongSchemeTemplate-module_filterWrap__3I8mB","filterTrigger":"douGongSchemeTemplate-module_filterTrigger__3CTf0","filterTriggerActive":"douGongSchemeTemplate-module_filterTriggerActive__1gpKF","filterTriggerText":"douGongSchemeTemplate-module_filterTriggerText__-tyTA","filterArrowOpen":"douGongSchemeTemplate-module_filterArrowOpen__35EOc","filterMenu":"douGongSchemeTemplate-module_filterMenu__2IR3a","filterOption":"douGongSchemeTemplate-module_filterOption__2OYSa","filterOptionActive":"douGongSchemeTemplate-module_filterOptionActive__2GDge","filterOptionText":"douGongSchemeTemplate-module_filterOptionText__a3LdL","quickTabs":"douGongSchemeTemplate-module_quickTabs__31Fp-","tagButtonActive":"douGongSchemeTemplate-module_tagButtonActive__1MNPi","statusFlowCard":"douGongSchemeTemplate-module_statusFlowCard__1GrXr","statusFlowHeader":"douGongSchemeTemplate-module_statusFlowHeader__1rpIs","statusFlowContent":"douGongSchemeTemplate-module_statusFlowContent__3WAoV","statusFlowSteps":"douGongSchemeTemplate-module_statusFlowSteps__1F6ma","flowStatus":"douGongSchemeTemplate-module_flowStatus__3-nmf","flowStatusWaiting":"douGongSchemeTemplate-module_flowStatusWaiting__3r1aO","flowStatusSynced":"douGongSchemeTemplate-module_flowStatusSynced__2Xv40","flowStatusPending":"douGongSchemeTemplate-module_flowStatusPending__2OsoZ","flowStatusLoaded":"douGongSchemeTemplate-module_flowStatusLoaded__3y62K","flowStatusFailed":"douGongSchemeTemplate-module_flowStatusFailed__2dg_T","statusFlowArrow":"douGongSchemeTemplate-module_statusFlowArrow__2bvD7","statusFlowNote":"douGongSchemeTemplate-module_statusFlowNote__Vjxx0","tableCard":"douGongSchemeTemplate-module_tableCard__29TC_","schemeTable":"douGongSchemeTemplate-module_schemeTable__2Wx66","tableCellText":"douGongSchemeTemplate-module_tableCellText__2qFGr","schemeName":"douGongSchemeTemplate-module_schemeName__1ceWV","schemeNameCell":"douGongSchemeTemplate-module_schemeNameCell__2nPKG","missingReplacementTag":"douGongSchemeTemplate-module_missingReplacementTag__Z9ch8","warningIcon":"douGongSchemeTemplate-module_warningIcon__2zRRw","missingReplacementText":"douGongSchemeTemplate-module_missingReplacementText__2zNKu","actionCell":"douGongSchemeTemplate-module_actionCell__3nl3R","tableEmpty":"douGongSchemeTemplate-module_tableEmpty__3Sn9M","thumbPlaceholder":"douGongSchemeTemplate-module_thumbPlaceholder__2CrEd","countTag":"douGongSchemeTemplate-module_countTag__1jVo7","detailStatusTag":"douGongSchemeTemplate-module_detailStatusTag__1XI4X","roomStatusTag":"douGongSchemeTemplate-module_roomStatusTag__1Y4t9","statusTag":"douGongSchemeTemplate-module_statusTag__3DER1","countSynced":"douGongSchemeTemplate-module_countSynced__2a7zL","statusSynced":"douGongSchemeTemplate-module_statusSynced__37Ne1","detailStatusPass":"douGongSchemeTemplate-module_detailStatusPass__2XvB-","roomStatusReady":"douGongSchemeTemplate-module_roomStatusReady__ybwdf","countMissing":"douGongSchemeTemplate-module_countMissing__2K--O","statusMissing":"douGongSchemeTemplate-module_statusMissing__2RxH8","statusPending":"douGongSchemeTemplate-module_statusPending__1ZWi1","detailStatusWarn":"douGongSchemeTemplate-module_detailStatusWarn__-Y94A","countFailed":"douGongSchemeTemplate-module_countFailed__nruJ2","statusFailed":"douGongSchemeTemplate-module_statusFailed__UopKP","countPending":"douGongSchemeTemplate-module_countPending__27xmW","statusLoaded":"douGongSchemeTemplate-module_statusLoaded__12k7U","statusWaitingSync":"douGongSchemeTemplate-module_statusWaitingSync__2jaah","linkButtonMuted":"douGongSchemeTemplate-module_linkButtonMuted__2oeN1","inlineRetryButton":"douGongSchemeTemplate-module_inlineRetryButton__3Vw7_","paginationInfo":"douGongSchemeTemplate-module_paginationInfo__1YZsz","detailPage":"douGongSchemeTemplate-module_detailPage__qtPSM","breadcrumb":"douGongSchemeTemplate-module_breadcrumb__c_H9-","backButton":"douGongSchemeTemplate-module_backButton__tVGM2","detailHeader":"douGongSchemeTemplate-module_detailHeader__3Seoj","detailTitle":"douGongSchemeTemplate-module_detailTitle__xXzXb","detailMeta":"douGongSchemeTemplate-module_detailMeta__2vP9V","detailNotice":"douGongSchemeTemplate-module_detailNotice__16CrR","detailLayout":"douGongSchemeTemplate-module_detailLayout__3mEQR","detailMain":"douGongSchemeTemplate-module_detailMain__29q-l","detailCard":"douGongSchemeTemplate-module_detailCard__394jb","sideCard":"douGongSchemeTemplate-module_sideCard__3g45N","roomsCard":"douGongSchemeTemplate-module_roomsCard__2Q6ug","cardTitle":"douGongSchemeTemplate-module_cardTitle__3yuFg","detailInfo":"douGongSchemeTemplate-module_detailInfo__Jz_Lc","detailPreviewButton":"douGongSchemeTemplate-module_detailPreviewButton__5jeiZ","detailPreviewHint":"douGongSchemeTemplate-module_detailPreviewHint__2TUEI","detailPreview":"douGongSchemeTemplate-module_detailPreview__VnC6W","detailGrid":"douGongSchemeTemplate-module_detailGrid__3lbSq","detailLabel":"douGongSchemeTemplate-module_detailLabel__3J5WH","tableNote":"douGongSchemeTemplate-module_tableNote__3D8p2","roomRow":"douGongSchemeTemplate-module_roomRow__31qry","roomCell":"douGongSchemeTemplate-module_roomCell__ZJpvG","roomHeader":"douGongSchemeTemplate-module_roomHeader__2uRoK","roomEmpty":"douGongSchemeTemplate-module_roomEmpty__24gXy","sideList":"douGongSchemeTemplate-module_sideList__3ICY7","sideRow":"douGongSchemeTemplate-module_sideRow__16PhL","sideEmpty":"douGongSchemeTemplate-module_sideEmpty__3y7N_","imagePreviewOverlay":"douGongSchemeTemplate-module_imagePreviewOverlay__3zn9F","imagePreviewMask":"douGongSchemeTemplate-module_imagePreviewMask__7DYDG","imagePreviewPanel":"douGongSchemeTemplate-module_imagePreviewPanel__3Gqnw","imagePreviewHeader":"douGongSchemeTemplate-module_imagePreviewHeader__reK51","imagePreviewTitle":"douGongSchemeTemplate-module_imagePreviewTitle__2yrsg","imagePreviewClose":"douGongSchemeTemplate-module_imagePreviewClose__302ry","imagePreviewBody":"douGongSchemeTemplate-module_imagePreviewBody__3bvip","imagePreviewMeta":"douGongSchemeTemplate-module_imagePreviewMeta__1Yfha","imagePreviewViewport":"douGongSchemeTemplate-module_imagePreviewViewport__32Vv9","imagePreviewViewportDragging":"douGongSchemeTemplate-module_imagePreviewViewportDragging__zJ7O-","imagePreviewImage":"douGongSchemeTemplate-module_imagePreviewImage__2c8eK","imagePreviewHint":"douGongSchemeTemplate-module_imagePreviewHint__2S7_k","imagePreviewFooter":"douGongSchemeTemplate-module_imagePreviewFooter__1vWfa","imagePreviewFooterButton":"douGongSchemeTemplate-module_imagePreviewFooterButton__4XHqt","imagePreviewOverlayOpen":"douGongSchemeTemplate-module_imagePreviewOverlayOpen__2ULl6","tinyTagWarn":"douGongSchemeTemplate-module_tinyTagWarn__3sn-j","tinyTagPending":"douGongSchemeTemplate-module_tinyTagPending__12CgZ","modalOverlay":"douGongSchemeTemplate-module_modalOverlay__1C-cc","modalMask":"douGongSchemeTemplate-module_modalMask__3A1yT","modalPanel":"douGongSchemeTemplate-module_modalPanel__2FV74","modalPanelOpen":"douGongSchemeTemplate-module_modalPanelOpen__5HYe-","modalHeader":"douGongSchemeTemplate-module_modalHeader__20Ezx","modalTitle":"douGongSchemeTemplate-module_modalTitle__2Ho1E","modalClose":"douGongSchemeTemplate-module_modalClose__36Aoz","modalBody":"douGongSchemeTemplate-module_modalBody__S30fF","modalText":"douGongSchemeTemplate-module_modalText__3GpW0","modalNotice":"douGongSchemeTemplate-module_modalNotice__2a08n","warnNotice":"douGongSchemeTemplate-module_warnNotice__2gdpe","modalMetaGrid":"douGongSchemeTemplate-module_modalMetaGrid__1b9uH","modalMetaLabel":"douGongSchemeTemplate-module_modalMetaLabel__1meX8","modalMetaValue":"douGongSchemeTemplate-module_modalMetaValue__3_xcX","modalFooter":"douGongSchemeTemplate-module_modalFooter__1WwN5","modalSecondaryButton":"douGongSchemeTemplate-module_modalSecondaryButton__1FbtV","modalOverlayOpen":"douGongSchemeTemplate-module_modalOverlayOpen__FnhSv"};
3501
+ var modalCloseIcon = "data:image/svg+xml,%3Csvg%20preserveAspectRatio%3D%22none%22%20overflow%3D%22visible%22%20style%3D%22display%3A%20block%3B%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20id%3D%22Frame%201000018337%22%3E%3Cpath%20id%3D%22Vector%22%20opacity%3D%220.6%22%20d%3D%22M12.8049%2011.8637L8.9415%208.0002L12.8049%204.13634C12.9308%204.0104%2013.0001%203.84294%2013%203.66481C12.9999%203.48721%2012.9307%203.3205%2012.8052%203.19539C12.6796%203.0694%2012.5127%203.0001%2012.3351%203C12.1567%203%2011.9894%203.06928%2011.8636%203.19506L8.00028%207.05838L4.13634%203.19506C4.01056%203.06928%203.84342%203%203.6657%203C3.48799%203%203.32085%203.06926%203.19509%203.19503C3.06935%203.32042%203.00012%203.48721%203%203.66481C2.99988%203.84294%203.06916%204.0104%203.19509%204.13633L7.059%208.00019L3.19507%2011.8637C3.06928%2011.9895%203%2012.1566%203%2012.3343C3%2012.512%203.06929%2012.6792%203.19509%2012.805C3.32085%2012.9308%203.48798%2013%203.66568%2013C3.8434%2013%204.01056%2012.9307%204.13632%2012.805L8.00022%208.94154L11.8636%2012.805C11.9894%2012.9308%2012.1567%2013%2012.3347%2013C12.5127%2012.9999%2012.6795%2012.9307%2012.8046%2012.8053C13.0643%2012.5455%2013.0644%2012.1232%2012.8049%2011.8637Z%22%20fill%3D%22black%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E";
3502
+
3503
+ var noticeInfoIcon = "data:image/svg+xml,%3Csvg%20preserveAspectRatio%3D%22none%22%20overflow%3D%22visible%22%20style%3D%22display%3A%20block%3B%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20id%3D%22Frame%22%20clip-path%3D%22url%28%23clip0_0_13%29%22%3E%3Cpath%20id%3D%22Vector%22%20d%3D%22M8%2014.625C11.6589%2014.625%2014.625%2011.6589%2014.625%208C14.625%204.34111%2011.6589%201.375%208%201.375C4.34111%201.375%201.375%204.34111%201.375%208C1.375%2011.6589%204.34111%2014.625%208%2014.625ZM8%2016C3.58172%2016%200%2012.4183%200%208C0%203.58172%203.58172%200%208%200C12.4183%200%2016%203.58172%2016%208C16%2012.4183%2012.4183%2016%208%2016Z%22%20fill%3D%22%23737B8B%22%2F%3E%3Cpath%20id%3D%22Vector_2%22%20d%3D%22M8.6875%204C8.6875%203.62031%208.37969%203.3125%208%203.3125C7.62031%203.3125%207.3125%203.62031%207.3125%204V9.30456C7.3125%209.68427%207.62031%209.99206%208%209.99206C8.37969%209.99206%208.6875%209.68427%208.6875%209.30456V4ZM8%2010.6875C7.44772%2010.6875%207%2011.1352%207%2011.6875C7%2012.2398%207.44772%2012.6875%208%2012.6875C8.55228%2012.6875%209%2012.2398%209%2011.6875C9%2011.1352%208.55228%2010.6875%208%2010.6875Z%22%20fill%3D%22%23737B8B%22%2F%3E%3C%2Fg%3E%3Cdefs%3E%3CclipPath%20id%3D%22clip0_0_13%22%3E%3Crect%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22white%22%2F%3E%3C%2FclipPath%3E%3C%2Fdefs%3E%3C%2Fsvg%3E";
3504
+
3505
+ var STATUS_OPTIONS = [{
3506
+ value: 'all',
3507
+ label: '全部'
3508
+ }, {
3509
+ value: 'synced',
3510
+ label: '已同步'
3511
+ }, {
3512
+ value: 'pending',
3513
+ label: '待加载'
3514
+ }, {
3515
+ value: 'missingDefault',
3516
+ label: '缺默认模型'
3517
+ }, {
3518
+ value: 'failed',
3519
+ label: '加载失败'
3520
+ }];
3521
+ var STATUS_TRIGGER_LABEL_MAP = {
3522
+ all: '全部',
3523
+ synced: '已同步',
3524
+ pending: '待加载',
3525
+ missingDefault: '缺默认模型',
3526
+ failed: '加载失败'
3527
+ };
3528
+ var STATUS_API_VALUE_MAP = {
3529
+ synced: 1,
3530
+ pending: 2,
3531
+ missingDefault: 4,
3532
+ failed: 3
3533
+ };
3534
+ var FILE_ENGINE_STATUS = {
3535
+ PENDING: 0,
3536
+ PROCESSING: 1,
3537
+ FAILED: 5,
3538
+ SUCCESS: 6
3539
+ };
3540
+ var DRAWING_STATUS = {
3541
+ PENDING: 'pending',
3542
+ PROCESSING: 'processing',
3543
+ SUCCESS: 'success',
3544
+ FAILED: 'failed'
3545
+ };
3546
+ var DRAWING_STATUS_LABEL = {
3547
+ pending: '待解析',
3548
+ processing: '解析中',
3549
+ success: '解析成功',
3550
+ failed: '解析失败'
3551
+ };
3552
+ var DRAWING_STICKY_PROCESSING_MS = 15000;
3553
+
3554
+ var lockCount = 0;
3555
+ var previousOverflow = '';
3556
+ function lockPageScroll() {
3557
+ if (lockCount === 0) {
3558
+ previousOverflow = document.body.style.overflow;
3559
+ document.body.style.overflow = 'hidden';
3560
+ }
3561
+ lockCount += 1;
3562
+ return function unlockPageScroll() {
3563
+ lockCount = Math.max(0, lockCount - 1);
3564
+ if (lockCount === 0) {
3565
+ document.body.style.overflow = previousOverflow;
3566
+ }
3567
+ };
3568
+ }
3569
+
3570
+ var css_248z$7 = ".douGongSchemeTemplate-module_page__3FenY {\n height: 100%;\n min-height: 0;\n overflow: auto;\n background: #f5f5f7;\n color: #000f2c;\n font-size: 14px;\n}\n.douGongSchemeTemplate-module_page__3FenY .douGongSchemeTemplate-module_container__28Kh7 {\n padding: 16px;\n height: 100%;\n min-height: 0;\n display: flex;\n flex-direction: column;\n font-family: PingFang SC, Microsoft YaHei, sans-serif;\n box-sizing: border-box;\n}\n.douGongSchemeTemplate-module_page__3FenY .douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_listPane__2vLv- {\n flex: 1;\n min-height: 0;\n overflow: auto;\n}\n.douGongSchemeTemplate-module_page__3FenY .douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_listPaneHidden__1FlxT {\n display: none;\n}\n.douGongSchemeTemplate-module_page__3FenY .douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_topBar__LDIKR {\n height: 49px;\n padding: 0 16px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 12px;\n background: #fff;\n border-bottom: 1px solid #eee;\n border-radius: 8px 8px 0 0;\n}\n.douGongSchemeTemplate-module_page__3FenY .douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_topBar__LDIKR .douGongSchemeTemplate-module_topSearch__apeWw {\n width: 320px;\n max-width: 100%;\n height: 32px;\n padding: 0 12px;\n border: none;\n outline: none;\n border-radius: 6px;\n background: #f0f2f5;\n color: #000f2c;\n}\n.douGongSchemeTemplate-module_page__3FenY .douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_topBar__LDIKR .douGongSchemeTemplate-module_topRight__nL1I5 {\n display: flex;\n align-items: center;\n justify-content: flex-end;\n gap: 12px;\n flex-wrap: wrap;\n}\n.douGongSchemeTemplate-module_page__3FenY .douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_topBar__LDIKR .douGongSchemeTemplate-module_readonlyTag__2Q6Hk {\n padding: 2px 6px;\n border-radius: 6px;\n background: #e7f3ff;\n color: #1890ff;\n font-size: 10px;\n line-height: 18px;\n}\n.douGongSchemeTemplate-module_page__3FenY .douGongSchemeTemplate-module_successToast__3wAsJ {\n position: fixed;\n top: 28px;\n left: 50%;\n z-index: 1100;\n margin: 0;\n width: -moz-fit-content;\n width: fit-content;\n max-width: 100%;\n padding: 4px 12px;\n display: flex;\n align-items: center;\n gap: 8px;\n border: none;\n border-radius: 4px;\n background: #52b41f;\n color: #fff;\n font-size: 13px;\n line-height: 20px;\n box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);\n transform: translateX(-50%);\n}\n.douGongSchemeTemplate-module_page__3FenY .douGongSchemeTemplate-module_successToast__3wAsJ.douGongSchemeTemplate-module_errorToast__2YRAD {\n background: #e5484d;\n}\n.douGongSchemeTemplate-module_ghostPrimaryButton__uWclq,\n.douGongSchemeTemplate-module_primaryButton__1kTUF,\n.douGongSchemeTemplate-module_secondaryButton__2P2It,\n.douGongSchemeTemplate-module_linkButton__3pWfb,\n.douGongSchemeTemplate-module_tagButton__1QYbm,\n.douGongSchemeTemplate-module_tinyTag__waUqq {\n border: none;\n outline: none;\n cursor: pointer;\n transition: all 0.18s ease;\n}\n.douGongSchemeTemplate-module_ghostPrimaryButton__uWclq:disabled,\n.douGongSchemeTemplate-module_primaryButton__1kTUF:disabled,\n.douGongSchemeTemplate-module_secondaryButton__2P2It:disabled,\n.douGongSchemeTemplate-module_linkButton__3pWfb:disabled,\n.douGongSchemeTemplate-module_tagButton__1QYbm:disabled {\n cursor: not-allowed;\n opacity: 0.45;\n}\n.douGongSchemeTemplate-module_ghostPrimaryButton__uWclq {\n height: 32px;\n padding: 0 14px;\n border-radius: 6px;\n border: 1px solid #1890ff;\n background: #fff;\n color: #1890ff;\n}\n.douGongSchemeTemplate-module_ghostPrimaryButton__uWclq:hover {\n border-color: #1890FF;\n background: #1890FF;\n color: #ffffff;\n}\n.douGongSchemeTemplate-module_ghostPrimaryButton__uWclq:disabled:hover {\n border-color: #1890FF;\n background: #fff;\n color: #1890FF;\n}\n.douGongSchemeTemplate-module_primaryButton__1kTUF {\n height: 32px;\n padding: 0 16px;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: 6px;\n border: 1px solid #1890FF;\n border-radius: 4px;\n background: #1890FF;\n color: #fff;\n font-size: 13px;\n font-weight: 500;\n white-space: nowrap;\n}\n.douGongSchemeTemplate-module_primaryButton__1kTUF:hover {\n border-color: #1890FF;\n background: #1890FF;\n}\n.douGongSchemeTemplate-module_secondaryButton__2P2It {\n height: 32px;\n padding: 0 13px;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: 6px;\n border: 1px solid rgba(115, 123, 139, 0.4);\n border-radius: 6px;\n background: #fff;\n color: #737b8b;\n font-size: 14px;\n line-height: 22px;\n font-weight: 400;\n white-space: nowrap;\n}\n.douGongSchemeTemplate-module_secondaryButton__2P2It:hover {\n border-color: #1890ff;\n background: #fff;\n color: #1890ff;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_headerSection__3EeK5 {\n min-height: 40px;\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n gap: 16px;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_headerSection__3EeK5 .douGongSchemeTemplate-module_titleBlock__2fHU3 {\n min-width: 0;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_headerSection__3EeK5 .douGongSchemeTemplate-module_titleBlock__2fHU3 .douGongSchemeTemplate-module_pageTitle__2SHpl {\n margin: 0;\n color: #000f2c;\n font-size: 14px;\n line-height: 20px;\n font-weight: 500;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_headerSection__3EeK5 .douGongSchemeTemplate-module_titleBlock__2fHU3 .douGongSchemeTemplate-module_pageDesc__46Bk9 {\n margin: 2px 0 0;\n font-size: 12px;\n line-height: 18px;\n color: #737b8b;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_toolbar__6rt4u {\n margin-top: 16px;\n display: flex;\n align-items: center;\n justify-content: flex-start;\n gap: 16px;\n flex-wrap: nowrap;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_toolbar__6rt4u .douGongSchemeTemplate-module_toolbarLeft__2fPEX {\n display: flex;\n align-items: center;\n gap: 16px;\n flex-wrap: nowrap;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_toolbar__6rt4u .douGongSchemeTemplate-module_toolbarLeft__2fPEX .douGongSchemeTemplate-module_searchWrap__18O1V {\n position: relative;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_toolbar__6rt4u .douGongSchemeTemplate-module_toolbarLeft__2fPEX .douGongSchemeTemplate-module_searchWrap__18O1V .douGongSchemeTemplate-module_searchIcon__2Zb5l {\n position: absolute;\n top: 50%;\n left: 12px;\n z-index: 1;\n transform: translateY(-50%);\n color: #8b93a5;\n font-size: 16px;\n pointer-events: none;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_toolbar__6rt4u .douGongSchemeTemplate-module_toolbarLeft__2fPEX .douGongSchemeTemplate-module_searchWrap__18O1V .douGongSchemeTemplate-module_searchInput__2K_jd {\n width: 240px;\n max-width: 100%;\n height: 32px;\n padding: 0 10px 0 34px;\n border: 1px solid #fff;\n border-radius: 6px;\n background: #fff;\n color: #000f2c;\n font-size: 14px;\n line-height: 22px;\n outline: none;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_toolbar__6rt4u .douGongSchemeTemplate-module_toolbarLeft__2fPEX .douGongSchemeTemplate-module_searchWrap__18O1V .douGongSchemeTemplate-module_searchInput__2K_jd:focus {\n border-color: #1890ff;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_toolbar__6rt4u .douGongSchemeTemplate-module_toolbarLeft__2fPEX .douGongSchemeTemplate-module_statusFilterGroup__3eurH {\n display: flex;\n align-items: center;\n gap: 0;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_toolbar__6rt4u .douGongSchemeTemplate-module_toolbarLeft__2fPEX .douGongSchemeTemplate-module_statusFilterGroup__3eurH .douGongSchemeTemplate-module_statusFilterLabel__NfpNT {\n color: #000;\n font-size: 14px;\n line-height: 22px;\n white-space: nowrap;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_toolbar__6rt4u .douGongSchemeTemplate-module_toolbarLeft__2fPEX .douGongSchemeTemplate-module_statusFilterGroup__3eurH .douGongSchemeTemplate-module_filterWrap__3I8mB {\n position: relative;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_toolbar__6rt4u .douGongSchemeTemplate-module_toolbarLeft__2fPEX .douGongSchemeTemplate-module_statusFilterGroup__3eurH .douGongSchemeTemplate-module_filterWrap__3I8mB .douGongSchemeTemplate-module_filterTrigger__3CTf0 {\n width: 140px;\n height: 32px;\n padding: 0 8px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 8px;\n border: 1px solid #fff;\n border-radius: 4px;\n background: #fff;\n color: rgba(0, 0, 0, 0.7);\n cursor: pointer;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_toolbar__6rt4u .douGongSchemeTemplate-module_toolbarLeft__2fPEX .douGongSchemeTemplate-module_statusFilterGroup__3eurH .douGongSchemeTemplate-module_filterWrap__3I8mB .douGongSchemeTemplate-module_filterTrigger__3CTf0.douGongSchemeTemplate-module_filterTriggerActive__1gpKF {\n border-color: #1890ff;\n box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.08);\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_toolbar__6rt4u .douGongSchemeTemplate-module_toolbarLeft__2fPEX .douGongSchemeTemplate-module_statusFilterGroup__3eurH .douGongSchemeTemplate-module_filterWrap__3I8mB .douGongSchemeTemplate-module_filterTrigger__3CTf0 .douGongSchemeTemplate-module_filterTriggerText__-tyTA {\n max-width: 106px;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n font-size: 14px;\n line-height: 22px;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_toolbar__6rt4u .douGongSchemeTemplate-module_toolbarLeft__2fPEX .douGongSchemeTemplate-module_statusFilterGroup__3eurH .douGongSchemeTemplate-module_filterWrap__3I8mB .douGongSchemeTemplate-module_filterTrigger__3CTf0 .douGongSchemeTemplate-module_filterArrowOpen__35EOc {\n transform: rotate(180deg);\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_toolbar__6rt4u .douGongSchemeTemplate-module_toolbarLeft__2fPEX .douGongSchemeTemplate-module_statusFilterGroup__3eurH .douGongSchemeTemplate-module_filterWrap__3I8mB .douGongSchemeTemplate-module_filterMenu__2IR3a {\n position: absolute;\n top: calc(100% + 6px);\n left: 0;\n z-index: 12;\n width: 140px;\n padding: 5px;\n display: flex;\n flex-direction: column;\n gap: 0;\n border: 1px solid rgba(113, 125, 153, 0.3);\n border-radius: 4px;\n background: #fff;\n box-shadow: 0 3px 8px rgba(0, 0, 0, 0.16);\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_toolbar__6rt4u .douGongSchemeTemplate-module_toolbarLeft__2fPEX .douGongSchemeTemplate-module_statusFilterGroup__3eurH .douGongSchemeTemplate-module_filterWrap__3I8mB .douGongSchemeTemplate-module_filterMenu__2IR3a .douGongSchemeTemplate-module_filterOption__2OYSa {\n width: 100%;\n min-height: 36px;\n padding: 8px 10px;\n display: flex;\n align-items: center;\n border: none;\n border-radius: 4px;\n background: transparent;\n text-align: left;\n color: #616778;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_toolbar__6rt4u .douGongSchemeTemplate-module_toolbarLeft__2fPEX .douGongSchemeTemplate-module_statusFilterGroup__3eurH .douGongSchemeTemplate-module_filterWrap__3I8mB .douGongSchemeTemplate-module_filterMenu__2IR3a .douGongSchemeTemplate-module_filterOption__2OYSa:hover {\n background: #f7f8fa;\n cursor: pointer;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_toolbar__6rt4u .douGongSchemeTemplate-module_toolbarLeft__2fPEX .douGongSchemeTemplate-module_statusFilterGroup__3eurH .douGongSchemeTemplate-module_filterWrap__3I8mB .douGongSchemeTemplate-module_filterMenu__2IR3a .douGongSchemeTemplate-module_filterOption__2OYSa.douGongSchemeTemplate-module_filterOptionActive__2GDge {\n background: #f2f3f5;\n color: #000f2c;\n font-weight: 500;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_toolbar__6rt4u .douGongSchemeTemplate-module_toolbarLeft__2fPEX .douGongSchemeTemplate-module_statusFilterGroup__3eurH .douGongSchemeTemplate-module_filterWrap__3I8mB .douGongSchemeTemplate-module_filterMenu__2IR3a .douGongSchemeTemplate-module_filterOption__2OYSa .douGongSchemeTemplate-module_filterOptionText__a3LdL {\n display: block;\n font-size: 14px;\n line-height: 22px;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_toolbar__6rt4u .douGongSchemeTemplate-module_toolbarLeft__2fPEX .douGongSchemeTemplate-module_quickTabs__31Fp- {\n display: inline-flex;\n align-items: center;\n gap: 0;\n padding: 0;\n border-radius: 4px;\n background: #fff;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_toolbar__6rt4u .douGongSchemeTemplate-module_toolbarLeft__2fPEX .douGongSchemeTemplate-module_quickTabs__31Fp- .douGongSchemeTemplate-module_tagButton__1QYbm {\n height: 32px;\n padding: 0 12px;\n border-radius: 4px;\n background: transparent;\n color: #737b8b;\n font-size: 13px;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_toolbar__6rt4u .douGongSchemeTemplate-module_toolbarLeft__2fPEX .douGongSchemeTemplate-module_quickTabs__31Fp- .douGongSchemeTemplate-module_tagButton__1QYbm.douGongSchemeTemplate-module_tagButtonActive__1MNPi {\n background: #f0f2f5;\n color: #000f2c;\n font-weight: 600;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_statusFlowCard__1GrXr {\n height: 100px;\n margin-top: 16px;\n overflow: hidden;\n border-radius: 6px;\n background: #fff;\n box-sizing: border-box;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_statusFlowCard__1GrXr .douGongSchemeTemplate-module_statusFlowHeader__1rpIs {\n height: 46px;\n padding: 0 16px;\n display: flex;\n align-items: center;\n border-bottom: 1px solid #f1f3f5;\n color: #000f2c;\n font-size: 14px;\n line-height: 20px;\n font-weight: 500;\n box-sizing: border-box;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_statusFlowCard__1GrXr .douGongSchemeTemplate-module_statusFlowContent__3WAoV {\n height: 54px;\n padding: 0 16px;\n display: flex;\n align-items: center;\n gap: 12px;\n box-sizing: border-box;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_statusFlowCard__1GrXr .douGongSchemeTemplate-module_statusFlowSteps__1F6ma {\n display: flex;\n align-items: center;\n gap: 8px;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_statusFlowCard__1GrXr .douGongSchemeTemplate-module_flowStatus__3-nmf {\n height: 22px;\n padding: 1px 6px;\n display: inline-flex;\n align-items: center;\n border-radius: 4px;\n font-size: 14px;\n line-height: 20px;\n font-weight: 400;\n white-space: nowrap;\n box-sizing: border-box;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_statusFlowCard__1GrXr .douGongSchemeTemplate-module_flowStatus__3-nmf.douGongSchemeTemplate-module_flowStatusWaiting__3r1aO {\n background: #f0f2f5;\n color: #737b8b;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_statusFlowCard__1GrXr .douGongSchemeTemplate-module_flowStatus__3-nmf.douGongSchemeTemplate-module_flowStatusSynced__2Xv40 {\n background: #ecfef6;\n color: #079669;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_statusFlowCard__1GrXr .douGongSchemeTemplate-module_flowStatus__3-nmf.douGongSchemeTemplate-module_flowStatusPending__2OsoZ {\n background: #fdf4d3;\n color: #d97707;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_statusFlowCard__1GrXr .douGongSchemeTemplate-module_flowStatus__3-nmf.douGongSchemeTemplate-module_flowStatusLoaded__3y62K {\n background: #e7f3ff;\n color: #1890ff;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_statusFlowCard__1GrXr .douGongSchemeTemplate-module_flowStatus__3-nmf.douGongSchemeTemplate-module_flowStatusFailed__2dg_T {\n background: #fef2f2;\n color: #dc2626;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_statusFlowCard__1GrXr .douGongSchemeTemplate-module_statusFlowArrow__2bvD7 {\n width: 22px;\n height: 22px;\n display: block;\n flex: 0 0 22px;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_statusFlowCard__1GrXr .douGongSchemeTemplate-module_statusFlowNote__Vjxx0 {\n color: #737b8b;\n font-size: 12px;\n line-height: 18px;\n white-space: nowrap;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_tableCard__29TC_ {\n margin-top: 16px;\n border: 1px solid #fff;\n border-radius: 6px;\n background: #fff;\n overflow: hidden;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_tableCard__29TC_ .douGongSchemeTemplate-module_schemeTable__2Wx66 {\n width: 100%;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_tableCard__29TC_ .douGongSchemeTemplate-module_schemeTable__2Wx66 .ant-table {\n color: #000f2c;\n font-size: 14px;\n font-weight: 400;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_tableCard__29TC_ .douGongSchemeTemplate-module_schemeTable__2Wx66 .ant-table-container {\n border-radius: 6px 6px 0 0;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_tableCard__29TC_ .douGongSchemeTemplate-module_schemeTable__2Wx66 .ant-table-content {\n overscroll-behavior-x: contain;\n -webkit-overflow-scrolling: touch;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_tableCard__29TC_ .douGongSchemeTemplate-module_schemeTable__2Wx66 .ant-table-content::-webkit-scrollbar {\n height: 8px;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_tableCard__29TC_ .douGongSchemeTemplate-module_schemeTable__2Wx66 .ant-table-content::-webkit-scrollbar-track {\n background: #f5f6f8;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_tableCard__29TC_ .douGongSchemeTemplate-module_schemeTable__2Wx66 .ant-table-content::-webkit-scrollbar-thumb {\n border: 2px solid #f5f6f8;\n border-radius: 8px;\n background: #c5ccd6;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_tableCard__29TC_ .douGongSchemeTemplate-module_schemeTable__2Wx66 .ant-table-thead > tr > th {\n height: 32px;\n padding: 4px 12px;\n border-bottom: 0;\n background: #f0f2f5;\n color: #737b8b;\n font-size: 12px;\n font-weight: 400;\n line-height: 20px;\n white-space: nowrap;\n box-sizing: border-box;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_tableCard__29TC_ .douGongSchemeTemplate-module_schemeTable__2Wx66 .ant-table-tbody > tr > td {\n height: 48px;\n padding: 4px 12px;\n border-bottom-color: #f1f3f5;\n background: #fff;\n color: #000f2c;\n font-size: 14px;\n line-height: 20px;\n font-weight: 400;\n box-sizing: border-box;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_tableCard__29TC_ .douGongSchemeTemplate-module_schemeTable__2Wx66 .ant-table-cell-fix-right {\n background: #fff;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_tableCard__29TC_ .douGongSchemeTemplate-module_schemeTable__2Wx66 .ant-table-thead .ant-table-cell-fix-right {\n background: #f0f2f5;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_tableCard__29TC_ .douGongSchemeTemplate-module_schemeTable__2Wx66 .ant-table-placeholder .ant-table-cell {\n height: 128px;\n color: #737b8b;\n}\n.douGongSchemeTemplate-module_container__28Kh7 .douGongSchemeTemplate-module_tableCard__29TC_ .douGongSchemeTemplate-module_schemeTable__2Wx66 .ant-pagination {\n margin: 16px 20px 20px;\n}\n.douGongSchemeTemplate-module_tableCellText__2qFGr {\n display: block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.douGongSchemeTemplate-module_schemeName__1ceWV {\n display: block;\n overflow: hidden;\n font-size: 14px;\n line-height: 20px;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.douGongSchemeTemplate-module_schemeNameCell__2nPKG {\n min-width: 0;\n display: flex;\n align-items: center;\n gap: 8px;\n}\n.douGongSchemeTemplate-module_schemeNameCell__2nPKG .douGongSchemeTemplate-module_schemeName__1ceWV {\n min-width: 0;\n flex: 0 1 auto;\n}\n.douGongSchemeTemplate-module_schemeNameCell__2nPKG .douGongSchemeTemplate-module_missingReplacementTag__Z9ch8 {\n flex: 0 1 auto;\n}\n.douGongSchemeTemplate-module_missingReplacementTag__Z9ch8 {\n max-width: 100%;\n height: 22px;\n padding: 0 7px;\n display: inline-flex;\n align-items: center;\n gap: 4px;\n overflow: hidden;\n border-radius: 4px;\n background: #fff4df;\n color: #d97707;\n font-size: 12px;\n line-height: 22px;\n cursor: help;\n}\n.douGongSchemeTemplate-module_missingReplacementTag__Z9ch8 .douGongSchemeTemplate-module_warningIcon__2zRRw {\n width: 14px;\n height: 14px;\n flex: 0 0 auto;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border: 1px solid currentColor;\n border-radius: 50%;\n font-size: 10px;\n font-weight: 600;\n line-height: 12px;\n}\n.douGongSchemeTemplate-module_missingReplacementTag__Z9ch8 .douGongSchemeTemplate-module_missingReplacementText__2zNKu {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.douGongSchemeTemplate-module_actionCell__3nl3R {\n display: flex;\n align-items: center;\n gap: 10px;\n white-space: nowrap;\n}\n.douGongSchemeTemplate-module_tableEmpty__3Sn9M {\n min-height: 64px;\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 8px;\n}\n.douGongSchemeTemplate-module_thumbPlaceholder__2CrEd {\n display: flex;\n align-items: center;\n justify-content: center;\n color: #737b8b;\n font-size: 12px;\n}\n.douGongSchemeTemplate-module_countTag__1jVo7,\n.douGongSchemeTemplate-module_detailStatusTag__1XI4X,\n.douGongSchemeTemplate-module_roomStatusTag__1Y4t9 {\n padding: 1px 6px;\n border-radius: 4px;\n font-size: 12px;\n line-height: 20px;\n white-space: nowrap;\n}\n.douGongSchemeTemplate-module_statusTag__3DER1 {\n padding: 1px 6px;\n border-radius: 4px;\n font-size: 14px;\n line-height: 20px;\n white-space: nowrap;\n}\n.douGongSchemeTemplate-module_countSynced__2a7zL,\n.douGongSchemeTemplate-module_statusSynced__37Ne1,\n.douGongSchemeTemplate-module_detailStatusPass__2XvB-,\n.douGongSchemeTemplate-module_roomStatusReady__ybwdf {\n color: #079669;\n background: #ecfef6;\n}\n.douGongSchemeTemplate-module_countMissing__2K--O,\n.douGongSchemeTemplate-module_statusMissing__2RxH8,\n.douGongSchemeTemplate-module_statusPending__1ZWi1,\n.douGongSchemeTemplate-module_detailStatusWarn__-Y94A {\n color: #d97707;\n background: #fdf4d3;\n}\n.douGongSchemeTemplate-module_countFailed__nruJ2,\n.douGongSchemeTemplate-module_statusFailed__UopKP {\n color: #dc2626;\n background: #fef2f2;\n}\n.douGongSchemeTemplate-module_countPending__27xmW,\n.douGongSchemeTemplate-module_statusLoaded__12k7U {\n color: #1890ff;\n background: #e7f3ff;\n}\n.douGongSchemeTemplate-module_statusWaitingSync__2jaah {\n color: #737b8b;\n background: #f0f2f5;\n}\n.douGongSchemeTemplate-module_linkButton__3pWfb {\n padding: 0;\n background: transparent;\n color: #1890ff;\n font-size: 14px;\n line-height: 20px;\n}\n.douGongSchemeTemplate-module_linkButtonMuted__2oeN1 {\n color: #737b8b;\n}\n.douGongSchemeTemplate-module_inlineRetryButton__3Vw7_ {\n margin-left: 10px;\n padding: 0;\n border: none;\n background: transparent;\n color: #1890ff;\n cursor: pointer;\n}\n.douGongSchemeTemplate-module_paginationInfo__1YZsz {\n margin-top: 10px;\n color: #737b8b;\n font-size: 12px;\n line-height: 18px;\n text-align: right;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM {\n flex: 1;\n min-height: 0;\n display: flex;\n flex-direction: column;\n overflow: hidden;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_breadcrumb__c_H9- {\n display: flex;\n align-items: center;\n gap: 4px;\n font-size: 13px;\n color: #737b8b;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_breadcrumb__c_H9- .douGongSchemeTemplate-module_backButton__tVGM2 {\n padding: 0;\n display: inline-flex;\n align-items: center;\n gap: 3px;\n border: none;\n background: transparent;\n color: #737b8b;\n cursor: pointer;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailHeader__3Seoj {\n margin-top: 14px;\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n gap: 16px;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailHeader__3Seoj .douGongSchemeTemplate-module_detailHeaderActions__1jQl4 {\n display: flex;\n align-items: center;\n gap: 8px;\n flex-shrink: 0;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailHeader__3Seoj .douGongSchemeTemplate-module_detailTitle__xXzXb {\n margin: 0;\n font-size: 16px;\n line-height: 22px;\n font-weight: 600;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailHeader__3Seoj .douGongSchemeTemplate-module_detailMeta__2vP9V {\n margin-top: 3px;\n color: #737b8b;\n font-size: 12px;\n line-height: 18px;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailNotice__16CrR {\n margin-top: 12px;\n padding: 10px 12px;\n border-radius: 6px;\n background: #fff;\n color: #737b8b;\n font-size: 13px;\n line-height: 18px;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailLayout__3mEQR {\n flex: 1;\n min-height: 0;\n margin-top: 14px;\n display: grid;\n grid-template-columns: minmax(0, 1fr) 260px;\n gap: 16px;\n align-items: stretch;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailLayout__3mEQR .douGongSchemeTemplate-module_detailMain__29q-l {\n min-height: 0;\n overflow: auto;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailLayout__3mEQR .douGongSchemeTemplate-module_detailCard__394jb,\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailLayout__3mEQR .douGongSchemeTemplate-module_sideCard__3g45N,\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailLayout__3mEQR .douGongSchemeTemplate-module_roomsCard__2Q6ug {\n border-radius: 12px;\n background: #fff;\n overflow: hidden;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailLayout__3mEQR .douGongSchemeTemplate-module_cardTitle__3yuFg {\n padding: 14px 16px 10px;\n font-size: 14px;\n font-weight: 600;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailLayout__3mEQR .douGongSchemeTemplate-module_detailInfo__Jz_Lc {\n padding: 0 16px 16px;\n display: grid;\n grid-template-columns: 260px minmax(0, 1fr);\n gap: 24px;\n align-items: center;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailLayout__3mEQR .douGongSchemeTemplate-module_detailInfo__Jz_Lc .douGongSchemeTemplate-module_detailPreviewButton__5jeiZ {\n position: relative;\n width: 260px;\n height: 146px;\n padding: 0;\n overflow: hidden;\n border: none;\n border-radius: 6px;\n background: #f0f2f5;\n cursor: zoom-in;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailLayout__3mEQR .douGongSchemeTemplate-module_detailInfo__Jz_Lc .douGongSchemeTemplate-module_detailPreviewButton__5jeiZ .douGongSchemeTemplate-module_detailPreviewHint__2TUEI {\n position: absolute;\n right: 2px;\n bottom: 2px;\n height: 21px;\n padding: 0 2px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 6px;\n background: rgba(0, 0, 0, 0.8);\n color: #fff;\n font-size: 14px;\n line-height: 20px;\n white-space: nowrap;\n pointer-events: none;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailLayout__3mEQR .douGongSchemeTemplate-module_detailInfo__Jz_Lc .douGongSchemeTemplate-module_detailPreview__VnC6W {\n width: 100%;\n height: 100%;\n display: block;\n border-radius: 6px;\n -o-object-fit: cover;\n object-fit: cover;\n background: #f0f2f5;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailLayout__3mEQR .douGongSchemeTemplate-module_detailInfo__Jz_Lc .douGongSchemeTemplate-module_detailPreview__VnC6W.douGongSchemeTemplate-module_thumbPlaceholder__2CrEd {\n display: flex;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailLayout__3mEQR .douGongSchemeTemplate-module_detailInfo__Jz_Lc .douGongSchemeTemplate-module_detailGrid__3lbSq {\n display: grid;\n grid-template-columns: 88px minmax(0, 1fr);\n gap: 12px 16px;\n align-items: center;\n font-size: 14px;\n line-height: 20px;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailLayout__3mEQR .douGongSchemeTemplate-module_detailInfo__Jz_Lc .douGongSchemeTemplate-module_detailGrid__3lbSq .douGongSchemeTemplate-module_detailLabel__3J5WH {\n color: #737b8b;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailLayout__3mEQR .douGongSchemeTemplate-module_detailInfo__Jz_Lc .douGongSchemeTemplate-module_dwgEntry__1Qo8C {\n display: flex;\n align-items: center;\n gap: 8px;\n min-width: 0;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailLayout__3mEQR .douGongSchemeTemplate-module_detailInfo__Jz_Lc .douGongSchemeTemplate-module_dwgEntryHint__1cXPi {\n color: #737b8b;\n font-size: 14px;\n line-height: 22px;\n white-space: nowrap;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailLayout__3mEQR .douGongSchemeTemplate-module_roomsCard__2Q6ug {\n margin-top: 12px;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailLayout__3mEQR .douGongSchemeTemplate-module_roomsCard__2Q6ug .douGongSchemeTemplate-module_tableNote__3D8p2 {\n margin-left: auto;\n color: #a0a5b3;\n font-size: 12px;\n font-weight: 400;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailLayout__3mEQR .douGongSchemeTemplate-module_roomsCard__2Q6ug .douGongSchemeTemplate-module_roomRow__31qry {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr 1fr;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailLayout__3mEQR .douGongSchemeTemplate-module_roomsCard__2Q6ug .douGongSchemeTemplate-module_roomRow__31qry:last-child .douGongSchemeTemplate-module_roomCell__ZJpvG {\n border-bottom: none;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailLayout__3mEQR .douGongSchemeTemplate-module_roomsCard__2Q6ug .douGongSchemeTemplate-module_roomRow__31qry .douGongSchemeTemplate-module_roomCell__ZJpvG {\n padding: 11px 14px;\n border-bottom: 1px solid #f1f3f5;\n font-size: 12px;\n line-height: 18px;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailLayout__3mEQR .douGongSchemeTemplate-module_roomsCard__2Q6ug .douGongSchemeTemplate-module_roomRow__31qry .douGongSchemeTemplate-module_roomCell__ZJpvG.douGongSchemeTemplate-module_roomHeader__2uRoK {\n background: #f0f2f5;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailLayout__3mEQR .douGongSchemeTemplate-module_roomsCard__2Q6ug .douGongSchemeTemplate-module_roomEmpty__24gXy {\n padding: 24px 16px;\n color: #737b8b;\n font-size: 12px;\n line-height: 18px;\n text-align: center;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailLayout__3mEQR .douGongSchemeTemplate-module_sideCard__3g45N {\n display: flex;\n flex-direction: column;\n min-height: 0;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailLayout__3mEQR .douGongSchemeTemplate-module_sideCard__3g45N .douGongSchemeTemplate-module_cardTitle__3yuFg {\n flex: 0 0 auto;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailLayout__3mEQR .douGongSchemeTemplate-module_sideCard__3g45N .douGongSchemeTemplate-module_sideList__3ICY7 {\n flex: 1;\n min-height: 0;\n overflow-y: auto;\n overscroll-behavior: contain;\n -webkit-overflow-scrolling: touch;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailLayout__3mEQR .douGongSchemeTemplate-module_sideCard__3g45N .douGongSchemeTemplate-module_sideRow__16PhL {\n padding: 0 16px;\n display: grid;\n grid-template-columns: minmax(0, 1fr) auto;\n align-items: center;\n min-height: 44px;\n gap: 12px;\n border-bottom: 1px solid #f1f3f5;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailLayout__3mEQR .douGongSchemeTemplate-module_sideCard__3g45N .douGongSchemeTemplate-module_sideRow__16PhL:last-child {\n border-bottom: none;\n}\n.douGongSchemeTemplate-module_detailPage__qtPSM .douGongSchemeTemplate-module_detailLayout__3mEQR .douGongSchemeTemplate-module_sideCard__3g45N .douGongSchemeTemplate-module_sideEmpty__3y7N_ {\n padding: 24px 16px;\n color: #737b8b;\n font-size: 12px;\n line-height: 18px;\n text-align: center;\n}\n.douGongSchemeTemplate-module_imagePreviewOverlay__3zn9F {\n position: fixed;\n inset: 0;\n z-index: 1200;\n font-family: PingFang SC, Microsoft YaHei, sans-serif;\n}\n.douGongSchemeTemplate-module_imagePreviewOverlay__3zn9F .douGongSchemeTemplate-module_imagePreviewMask__7DYDG {\n position: absolute;\n inset: 0;\n background: rgba(18, 28, 42, 0.3);\n opacity: 0;\n transition: opacity 0.18s ease;\n}\n.douGongSchemeTemplate-module_imagePreviewOverlay__3zn9F .douGongSchemeTemplate-module_imagePreviewPanel__3Gqnw {\n position: absolute;\n left: 50%;\n top: 50%;\n width: 800px;\n height: 760px;\n max-width: calc(100vw - 32px);\n max-height: calc(100vh - 32px);\n overflow: hidden;\n border-radius: 12px;\n background: #fff;\n opacity: 0;\n transform: translate(-50%, -50%) scale(0.96);\n transition: opacity 0.18s ease, transform 0.18s ease;\n}\n.douGongSchemeTemplate-module_imagePreviewOverlay__3zn9F .douGongSchemeTemplate-module_imagePreviewHeader__reK51 {\n height: 52px;\n padding: 0 16px 0 24px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n border-bottom: 1px solid #dde1e6;\n box-sizing: border-box;\n}\n.douGongSchemeTemplate-module_imagePreviewOverlay__3zn9F .douGongSchemeTemplate-module_imagePreviewTitle__2yrsg {\n color: #000;\n font-size: 16px;\n line-height: 20px;\n font-weight: 600;\n}\n.douGongSchemeTemplate-module_imagePreviewOverlay__3zn9F .douGongSchemeTemplate-module_imagePreviewClose__302ry {\n width: 28px;\n height: 28px;\n padding: 0;\n border: none;\n background: transparent;\n color: #737b8b;\n font-size: 16px;\n cursor: pointer;\n}\n.douGongSchemeTemplate-module_imagePreviewOverlay__3zn9F .douGongSchemeTemplate-module_imagePreviewBody__3bvip {\n height: 644px;\n padding: 12px 24px 24px;\n box-sizing: border-box;\n}\n.douGongSchemeTemplate-module_imagePreviewOverlay__3zn9F .douGongSchemeTemplate-module_imagePreviewMeta__1Yfha {\n height: 23px;\n margin: 0;\n overflow: hidden;\n color: #737b8b;\n font-size: 14px;\n line-height: 23px;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.douGongSchemeTemplate-module_imagePreviewOverlay__3zn9F .douGongSchemeTemplate-module_imagePreviewViewport__32Vv9 {\n position: relative;\n width: 100%;\n height: 573px;\n margin-top: 12px;\n overflow: hidden;\n border-radius: 12px;\n background: #f5f5f7;\n cursor: grab;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}\n.douGongSchemeTemplate-module_imagePreviewOverlay__3zn9F .douGongSchemeTemplate-module_imagePreviewViewport__32Vv9.douGongSchemeTemplate-module_imagePreviewViewportDragging__zJ7O- {\n cursor: grabbing;\n}\n.douGongSchemeTemplate-module_imagePreviewOverlay__3zn9F .douGongSchemeTemplate-module_imagePreviewImage__2c8eK {\n width: 100%;\n height: 100%;\n display: block;\n -o-object-fit: cover;\n object-fit: cover;\n transform-origin: center;\n transition: transform 0.08s ease-out;\n pointer-events: none;\n}\n.douGongSchemeTemplate-module_imagePreviewOverlay__3zn9F .douGongSchemeTemplate-module_imagePreviewHint__2S7_k {\n position: absolute;\n left: 50%;\n bottom: 32px;\n height: 32px;\n padding: 0 17px;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border: 1px solid rgba(255, 255, 255, 0.16);\n border-radius: 100px;\n background: rgba(0, 0, 0, 0.6);\n color: #fff;\n font-size: 14px;\n line-height: 20px;\n white-space: nowrap;\n transform: translateX(-50%);\n pointer-events: none;\n box-sizing: border-box;\n}\n.douGongSchemeTemplate-module_imagePreviewOverlay__3zn9F .douGongSchemeTemplate-module_imagePreviewFooter__1vWfa {\n height: 64px;\n padding-right: 24px;\n display: flex;\n align-items: center;\n justify-content: flex-end;\n border-top: 1px solid #dde1e6;\n box-sizing: border-box;\n}\n.douGongSchemeTemplate-module_imagePreviewOverlay__3zn9F .douGongSchemeTemplate-module_imagePreviewFooterButton__4XHqt {\n height: 32px;\n padding: 0 16px;\n border: 1px solid #717d99;\n border-radius: 4px;\n background: #fff;\n color: #737b8b;\n font-size: 14px;\n line-height: 22px;\n cursor: pointer;\n}\n.douGongSchemeTemplate-module_imagePreviewOverlay__3zn9F .douGongSchemeTemplate-module_imagePreviewFooterButton__4XHqt:hover {\n border-color: #1890ff;\n color: #1890ff;\n}\n.douGongSchemeTemplate-module_imagePreviewOverlay__3zn9F.douGongSchemeTemplate-module_imagePreviewOverlayOpen__2ULl6 .douGongSchemeTemplate-module_imagePreviewMask__7DYDG {\n opacity: 1;\n}\n.douGongSchemeTemplate-module_imagePreviewOverlay__3zn9F.douGongSchemeTemplate-module_imagePreviewOverlayOpen__2ULl6 .douGongSchemeTemplate-module_imagePreviewPanel__3Gqnw {\n opacity: 1;\n transform: translate(-50%, -50%) scale(1);\n}\n.douGongSchemeTemplate-module_tinyTag__waUqq {\n height: 22px;\n padding: 0 6px;\n border-radius: 4px;\n background: #e7f3ff;\n color: #1890ff;\n font-size: 12px;\n line-height: 22px;\n}\n.douGongSchemeTemplate-module_tinyTag__waUqq.douGongSchemeTemplate-module_tinyTagWarn__3sn-j {\n background: #fff4df;\n color: #f59e0b;\n}\n.douGongSchemeTemplate-module_tinyTag__waUqq.douGongSchemeTemplate-module_tinyTagPending__12CgZ {\n background: #f0f2f5;\n color: #737b8b;\n}\n.douGongSchemeTemplate-module_modalOverlay__1C-cc {\n position: fixed;\n inset: 0;\n z-index: 1000;\n}\n.douGongSchemeTemplate-module_modalOverlay__1C-cc .douGongSchemeTemplate-module_modalMask__3A1yT {\n position: absolute;\n inset: 0;\n background: rgba(18, 28, 42, 0.3);\n}\n.douGongSchemeTemplate-module_modalOverlay__1C-cc .douGongSchemeTemplate-module_modalPanel__2FV74 {\n position: absolute;\n left: 50%;\n top: 50%;\n max-width: calc(100vw - 32px);\n border-radius: 10px;\n background: #fff;\n overflow: hidden;\n transform: translate(-50%, -50%) scale(0.96);\n opacity: 0;\n transition: transform 0.18s ease, opacity 0.18s ease;\n}\n.douGongSchemeTemplate-module_modalOverlay__1C-cc .douGongSchemeTemplate-module_modalPanel__2FV74.douGongSchemeTemplate-module_modalPanelOpen__5HYe- {\n transform: translate(-50%, -50%) scale(1);\n opacity: 1;\n}\n.douGongSchemeTemplate-module_modalOverlay__1C-cc .douGongSchemeTemplate-module_modalPanel__2FV74 .douGongSchemeTemplate-module_modalHeader__20Ezx {\n height: 48px;\n padding: 0 16px 0 24px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n border-bottom: 1px solid #dde1e6;\n}\n.douGongSchemeTemplate-module_modalOverlay__1C-cc .douGongSchemeTemplate-module_modalPanel__2FV74 .douGongSchemeTemplate-module_modalHeader__20Ezx .douGongSchemeTemplate-module_modalTitle__2Ho1E {\n font-size: 15px;\n line-height: 20px;\n font-weight: 600;\n color: #000;\n}\n.douGongSchemeTemplate-module_modalOverlay__1C-cc .douGongSchemeTemplate-module_modalPanel__2FV74 .douGongSchemeTemplate-module_modalHeader__20Ezx .douGongSchemeTemplate-module_modalClose__36Aoz {\n width: 28px;\n height: 28px;\n border: none;\n background: transparent;\n color: #737b8b;\n cursor: pointer;\n}\n.douGongSchemeTemplate-module_modalOverlay__1C-cc .douGongSchemeTemplate-module_modalPanel__2FV74 .douGongSchemeTemplate-module_modalBody__S30fF {\n padding: 18px 24px 20px;\n}\n.douGongSchemeTemplate-module_modalOverlay__1C-cc .douGongSchemeTemplate-module_modalPanel__2FV74 .douGongSchemeTemplate-module_modalBody__S30fF .douGongSchemeTemplate-module_modalText__3GpW0 {\n margin: 0;\n color: #737b8b;\n font-size: 13px;\n line-height: 21px;\n}\n.douGongSchemeTemplate-module_modalOverlay__1C-cc .douGongSchemeTemplate-module_modalPanel__2FV74 .douGongSchemeTemplate-module_modalBody__S30fF .douGongSchemeTemplate-module_modalNotice__2a08n,\n.douGongSchemeTemplate-module_modalOverlay__1C-cc .douGongSchemeTemplate-module_modalPanel__2FV74 .douGongSchemeTemplate-module_modalBody__S30fF .douGongSchemeTemplate-module_warnNotice__2gdpe {\n min-height: 40px;\n padding: 8px 12px 8px 10px;\n display: flex;\n align-items: center;\n gap: 6px;\n border-radius: 4px;\n font-size: 12px;\n line-height: 22px;\n}\n.douGongSchemeTemplate-module_modalOverlay__1C-cc .douGongSchemeTemplate-module_modalPanel__2FV74 .douGongSchemeTemplate-module_modalBody__S30fF .douGongSchemeTemplate-module_modalNotice__2a08n {\n margin-top: 16px;\n background: #f0f2f5;\n color: #737b8b;\n}\n.douGongSchemeTemplate-module_modalOverlay__1C-cc .douGongSchemeTemplate-module_modalPanel__2FV74 .douGongSchemeTemplate-module_modalBody__S30fF .douGongSchemeTemplate-module_warnNotice__2gdpe {\n margin-top: 0;\n background: rgba(250, 173, 20, 0.1);\n color: #f07618;\n}\n.douGongSchemeTemplate-module_modalOverlay__1C-cc .douGongSchemeTemplate-module_modalPanel__2FV74 .douGongSchemeTemplate-module_modalBody__S30fF .douGongSchemeTemplate-module_modalMetaGrid__1b9uH {\n margin-top: 24px;\n display: grid;\n grid-template-columns: 72px minmax(0, 1fr);\n gap: 12px 0;\n font-size: 14px;\n line-height: 24px;\n}\n.douGongSchemeTemplate-module_modalOverlay__1C-cc .douGongSchemeTemplate-module_modalPanel__2FV74 .douGongSchemeTemplate-module_modalBody__S30fF .douGongSchemeTemplate-module_modalMetaGrid__1b9uH .douGongSchemeTemplate-module_modalMetaLabel__1meX8 {\n color: #737b8b;\n}\n.douGongSchemeTemplate-module_modalOverlay__1C-cc .douGongSchemeTemplate-module_modalPanel__2FV74 .douGongSchemeTemplate-module_modalBody__S30fF .douGongSchemeTemplate-module_modalMetaGrid__1b9uH .douGongSchemeTemplate-module_modalMetaValue__3_xcX {\n color: #000;\n word-break: break-all;\n}\n.douGongSchemeTemplate-module_modalOverlay__1C-cc .douGongSchemeTemplate-module_modalPanel__2FV74 .douGongSchemeTemplate-module_modalFooter__1WwN5 {\n min-height: 60px;\n padding: 14px 24px;\n display: flex;\n align-items: center;\n justify-content: flex-end;\n gap: 12px;\n border-top: 1px solid #dde1e6;\n}\n.douGongSchemeTemplate-module_modalOverlay__1C-cc .douGongSchemeTemplate-module_modalPanel__2FV74 .douGongSchemeTemplate-module_modalFooter__1WwN5 .douGongSchemeTemplate-module_modalSecondaryButton__1FbtV {\n height: 32px;\n padding: 0 14px;\n border: 1px solid #cfd5df;\n border-radius: 4px;\n background: #fff;\n color: #5f6878;\n font-size: 13px;\n cursor: pointer;\n}\n.douGongSchemeTemplate-module_modalOverlay__1C-cc .douGongSchemeTemplate-module_modalPanel__2FV74 .douGongSchemeTemplate-module_modalFooter__1WwN5 .douGongSchemeTemplate-module_modalSecondaryButton__1FbtV:disabled {\n cursor: not-allowed;\n opacity: 0.5;\n}\n.douGongSchemeTemplate-module_modalOverlay__1C-cc.douGongSchemeTemplate-module_modalOverlayOpen__FnhSv .douGongSchemeTemplate-module_modalPanel__2FV74 {\n transform: translate(-50%, -50%) scale(1);\n opacity: 1;\n}\n.douGongSchemeTemplate-module_dwgIcon16__3cZof {\n display: inline-flex;\n width: 16px;\n height: 16px;\n overflow: hidden;\n flex-shrink: 0;\n}\n.douGongSchemeTemplate-module_dwgIcon16__3cZof img {\n display: block;\n width: 16px;\n height: 16px;\n}\n.douGongSchemeTemplate-module_dwgListPanel__uCBs3 {\n width: 699px;\n border-radius: 12px;\n}\n.douGongSchemeTemplate-module_dwgListHeader__9P2hs {\n height: 52px;\n padding: 0 16px 0 24px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n border-bottom: 1px solid #dde1e6;\n}\n.douGongSchemeTemplate-module_dwgListTitle__O-TeY {\n margin: 0;\n color: #000;\n font-size: 16px;\n line-height: 20px;\n font-weight: 600;\n}\n.douGongSchemeTemplate-module_dwgListClose__ajTtt {\n width: 16px;\n height: 16px;\n padding: 0;\n border: none;\n background: transparent;\n cursor: pointer;\n}\n.douGongSchemeTemplate-module_dwgListBody__2JI6N {\n padding: 12px 24px 16px;\n}\n.douGongSchemeTemplate-module_dwgListMeta__3rmgW {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 12px;\n margin-bottom: 16px;\n}\n.douGongSchemeTemplate-module_dwgListSchemeName__2xnu- {\n color: #000;\n font-size: 14px;\n line-height: 20px;\n}\n.douGongSchemeTemplate-module_dwgListCount__3aGmn {\n color: #737b8b;\n font-size: 14px;\n line-height: 20px;\n white-space: nowrap;\n}\n.douGongSchemeTemplate-module_dwgTableWrap__3GhAa {\n border: 1px solid #f1f3f5;\n border-radius: 4px;\n overflow: hidden;\n}\n.douGongSchemeTemplate-module_dwgTable__2DTDF {\n width: 100%;\n border-collapse: collapse;\n}\n.douGongSchemeTemplate-module_dwgTable__2DTDF th,\n.douGongSchemeTemplate-module_dwgTable__2DTDF td {\n padding: 0 12px;\n text-align: left;\n font-size: 12px;\n line-height: 16px;\n color: #000f2c;\n white-space: nowrap;\n}\n.douGongSchemeTemplate-module_dwgTable__2DTDF th {\n height: 32px;\n background: #f0f2f5;\n color: #737b8b;\n font-weight: 400;\n}\n.douGongSchemeTemplate-module_dwgTable__2DTDF td {\n height: 48px;\n border-bottom: 1px solid #f1f3f5;\n}\n.douGongSchemeTemplate-module_dwgTable__2DTDF tbody tr:last-child td {\n border-bottom: none;\n}\n.douGongSchemeTemplate-module_dwgTable__2DTDF th:nth-child(1),\n.douGongSchemeTemplate-module_dwgTable__2DTDF td:nth-child(1) {\n width: 48%;\n white-space: normal;\n overflow-wrap: anywhere;\n}\n.douGongSchemeTemplate-module_dwgTable__2DTDF th:nth-child(2),\n.douGongSchemeTemplate-module_dwgTable__2DTDF td:nth-child(2) {\n width: 23%;\n}\n.douGongSchemeTemplate-module_dwgTable__2DTDF th:nth-child(3),\n.douGongSchemeTemplate-module_dwgTable__2DTDF td:nth-child(3) {\n width: 15%;\n}\n.douGongSchemeTemplate-module_dwgTable__2DTDF th:nth-child(4),\n.douGongSchemeTemplate-module_dwgTable__2DTDF td:nth-child(4) {\n width: 14%;\n}\n.douGongSchemeTemplate-module_dwgTableTime__3bRWS {\n font-variant-numeric: tabular-nums;\n}\n.douGongSchemeTemplate-module_dwgTableEmpty__3LqVZ {\n color: #737b8b;\n text-align: center;\n}\n.douGongSchemeTemplate-module_dwgStatus__1b3RM {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n height: 22px;\n padding: 0 6px;\n border-radius: 4px;\n font-size: 14px;\n line-height: 22px;\n white-space: nowrap;\n}\n.douGongSchemeTemplate-module_dwgStatusSuccess__2N0WN {\n background: #ecfef6;\n color: #079669;\n}\n.douGongSchemeTemplate-module_dwgStatusProcessing__vDbTL {\n background: #f0f2f5;\n color: #737b8b;\n}\n.douGongSchemeTemplate-module_dwgStatusFailed__39xru {\n background: #fef2f2;\n color: #dc2626;\n}\n.douGongSchemeTemplate-module_dwgWaitAction__VR1mw {\n color: #737b8b;\n font-size: 14px;\n line-height: 20px;\n}\n.douGongSchemeTemplate-module_dwgNotice__3T4xB {\n margin-top: 8px;\n min-height: 40px;\n padding: 8px 12px 8px 10px;\n display: flex;\n align-items: center;\n gap: 6px;\n border-radius: 4px;\n background: #f0f2f5;\n color: #737b8b;\n font-size: 14px;\n line-height: 22px;\n}\n.douGongSchemeTemplate-module_dwgListFooter__33GY9 {\n height: 64px;\n padding: 0 24px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 16px;\n border-top: 1px solid #dde1e6;\n}\n.douGongSchemeTemplate-module_dwgListFooterHint__1IkeC {\n color: #737b8b;\n font-size: 14px;\n line-height: 20px;\n}\n.douGongSchemeTemplate-module_dwgViewerOverlay__H2O2N {\n position: fixed;\n inset: 0;\n z-index: 1200;\n display: flex;\n flex-direction: column;\n background: #000;\n opacity: 0;\n transition: opacity 0.18s ease;\n}\n.douGongSchemeTemplate-module_dwgViewerOverlayOpen__1mQxv {\n opacity: 1;\n}\n.douGongSchemeTemplate-module_dwgViewerBar__Umr4Y {\n position: relative;\n z-index: 2;\n height: 40px;\n padding: 0 16px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n background: #252525;\n flex-shrink: 0;\n}\n.douGongSchemeTemplate-module_dwgViewerTitle__1IWk4 {\n color: #f6ffed;\n font-size: 14px;\n line-height: 20px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.douGongSchemeTemplate-module_dwgViewerClose__3IIeG {\n width: 24px;\n height: 24px;\n padding: 0;\n border: none;\n background: transparent;\n cursor: pointer;\n flex-shrink: 0;\n}\n.douGongSchemeTemplate-module_dwgViewerCloseIcon__dOTfa {\n display: inline-flex;\n width: 24px;\n height: 24px;\n overflow: hidden;\n}\n.douGongSchemeTemplate-module_dwgViewerCloseIcon__dOTfa img {\n display: block;\n width: 24px;\n height: 24px;\n}\n.douGongSchemeTemplate-module_dwgViewerHint__1VK96 {\n position: absolute;\n top: 45px;\n left: 50%;\n z-index: 3;\n height: 32px;\n padding: 0 13px;\n display: flex;\n align-items: center;\n justify-content: center;\n transform: translateX(-50%);\n border: 1px solid rgba(255, 255, 255, 0.5);\n border-radius: 100px;\n background: rgba(0, 0, 0, 0.8);\n color: #fff;\n font-size: 14px;\n line-height: 20px;\n pointer-events: none;\n white-space: nowrap;\n}\n.douGongSchemeTemplate-module_dwgViewerStage__K6J6M {\n flex: 1;\n min-height: 0;\n position: relative;\n background: #000;\n}\n.douGongSchemeTemplate-module_dwgEngineHost__17hPS {\n width: 100%;\n height: 100%;\n}\n.douGongSchemeTemplate-module_dwgViewerEmpty__1gYlp {\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n color: #f6ffed;\n font-size: 14px;\n line-height: 22px;\n}\n@media (max-width: 1200px) {\n .douGongSchemeTemplate-module_detailLayout__3mEQR {\n grid-template-columns: 1fr;\n overflow: auto;\n }\n}\n@media (max-height: 791px) {\n .douGongSchemeTemplate-module_imagePreviewOverlay__3zn9F .douGongSchemeTemplate-module_imagePreviewPanel__3Gqnw {\n height: calc(100vh - 32px);\n }\n .douGongSchemeTemplate-module_imagePreviewOverlay__3zn9F .douGongSchemeTemplate-module_imagePreviewBody__3bvip {\n height: calc(100vh - 148px);\n }\n .douGongSchemeTemplate-module_imagePreviewOverlay__3zn9F .douGongSchemeTemplate-module_imagePreviewViewport__32Vv9 {\n height: calc(100vh - 219px);\n }\n}\n@media (max-width: 900px) {\n .douGongSchemeTemplate-module_topBar__LDIKR,\n .douGongSchemeTemplate-module_headerSection__3EeK5,\n .douGongSchemeTemplate-module_detailHeader__3Seoj {\n align-items: stretch;\n flex-direction: column;\n }\n .douGongSchemeTemplate-module_searchInput__2K_jd,\n .douGongSchemeTemplate-module_filterTrigger__3CTf0 {\n width: 100%;\n }\n .douGongSchemeTemplate-module_toolbarLeft__2fPEX {\n width: 100%;\n }\n .douGongSchemeTemplate-module_searchWrap__18O1V,\n .douGongSchemeTemplate-module_statusFilterGroup__3eurH {\n flex: 1 1 100%;\n }\n .douGongSchemeTemplate-module_statusFilterGroup__3eurH,\n .douGongSchemeTemplate-module_filterWrap__3I8mB {\n width: 100%;\n }\n .douGongSchemeTemplate-module_quickTabs__31Fp- {\n width: 100%;\n justify-content: flex-start;\n overflow-x: auto;\n }\n .douGongSchemeTemplate-module_detailInfo__Jz_Lc {\n grid-template-columns: 1fr;\n }\n .douGongSchemeTemplate-module_detailPreview__VnC6W {\n width: 100%;\n height: 180px;\n }\n}\n@media (max-width: 640px) {\n .douGongSchemeTemplate-module_container__28Kh7 {\n padding: 12px;\n }\n .douGongSchemeTemplate-module_detailTitle__xXzXb {\n font-size: 18px;\n line-height: 26px;\n }\n .douGongSchemeTemplate-module_roomRow__31qry {\n min-width: 560px;\n }\n .douGongSchemeTemplate-module_modalBody__S30fF,\n .douGongSchemeTemplate-module_modalFooter__1WwN5 {\n padding-left: 16px;\n padding-right: 16px;\n }\n .douGongSchemeTemplate-module_modalHeader__20Ezx {\n padding-left: 16px;\n }\n .douGongSchemeTemplate-module_modalFooter__1WwN5 {\n gap: 12px;\n }\n}\n";
3571
+ var styles$5 = {"page":"douGongSchemeTemplate-module_page__3FenY","container":"douGongSchemeTemplate-module_container__28Kh7","listPane":"douGongSchemeTemplate-module_listPane__2vLv-","listPaneHidden":"douGongSchemeTemplate-module_listPaneHidden__1FlxT","topBar":"douGongSchemeTemplate-module_topBar__LDIKR","topSearch":"douGongSchemeTemplate-module_topSearch__apeWw","topRight":"douGongSchemeTemplate-module_topRight__nL1I5","readonlyTag":"douGongSchemeTemplate-module_readonlyTag__2Q6Hk","successToast":"douGongSchemeTemplate-module_successToast__3wAsJ","errorToast":"douGongSchemeTemplate-module_errorToast__2YRAD","ghostPrimaryButton":"douGongSchemeTemplate-module_ghostPrimaryButton__uWclq","primaryButton":"douGongSchemeTemplate-module_primaryButton__1kTUF","secondaryButton":"douGongSchemeTemplate-module_secondaryButton__2P2It","linkButton":"douGongSchemeTemplate-module_linkButton__3pWfb","tagButton":"douGongSchemeTemplate-module_tagButton__1QYbm","tinyTag":"douGongSchemeTemplate-module_tinyTag__waUqq","headerSection":"douGongSchemeTemplate-module_headerSection__3EeK5","titleBlock":"douGongSchemeTemplate-module_titleBlock__2fHU3","pageTitle":"douGongSchemeTemplate-module_pageTitle__2SHpl","pageDesc":"douGongSchemeTemplate-module_pageDesc__46Bk9","toolbar":"douGongSchemeTemplate-module_toolbar__6rt4u","toolbarLeft":"douGongSchemeTemplate-module_toolbarLeft__2fPEX","searchWrap":"douGongSchemeTemplate-module_searchWrap__18O1V","searchIcon":"douGongSchemeTemplate-module_searchIcon__2Zb5l","searchInput":"douGongSchemeTemplate-module_searchInput__2K_jd","statusFilterGroup":"douGongSchemeTemplate-module_statusFilterGroup__3eurH","statusFilterLabel":"douGongSchemeTemplate-module_statusFilterLabel__NfpNT","filterWrap":"douGongSchemeTemplate-module_filterWrap__3I8mB","filterTrigger":"douGongSchemeTemplate-module_filterTrigger__3CTf0","filterTriggerActive":"douGongSchemeTemplate-module_filterTriggerActive__1gpKF","filterTriggerText":"douGongSchemeTemplate-module_filterTriggerText__-tyTA","filterArrowOpen":"douGongSchemeTemplate-module_filterArrowOpen__35EOc","filterMenu":"douGongSchemeTemplate-module_filterMenu__2IR3a","filterOption":"douGongSchemeTemplate-module_filterOption__2OYSa","filterOptionActive":"douGongSchemeTemplate-module_filterOptionActive__2GDge","filterOptionText":"douGongSchemeTemplate-module_filterOptionText__a3LdL","quickTabs":"douGongSchemeTemplate-module_quickTabs__31Fp-","tagButtonActive":"douGongSchemeTemplate-module_tagButtonActive__1MNPi","statusFlowCard":"douGongSchemeTemplate-module_statusFlowCard__1GrXr","statusFlowHeader":"douGongSchemeTemplate-module_statusFlowHeader__1rpIs","statusFlowContent":"douGongSchemeTemplate-module_statusFlowContent__3WAoV","statusFlowSteps":"douGongSchemeTemplate-module_statusFlowSteps__1F6ma","flowStatus":"douGongSchemeTemplate-module_flowStatus__3-nmf","flowStatusWaiting":"douGongSchemeTemplate-module_flowStatusWaiting__3r1aO","flowStatusSynced":"douGongSchemeTemplate-module_flowStatusSynced__2Xv40","flowStatusPending":"douGongSchemeTemplate-module_flowStatusPending__2OsoZ","flowStatusLoaded":"douGongSchemeTemplate-module_flowStatusLoaded__3y62K","flowStatusFailed":"douGongSchemeTemplate-module_flowStatusFailed__2dg_T","statusFlowArrow":"douGongSchemeTemplate-module_statusFlowArrow__2bvD7","statusFlowNote":"douGongSchemeTemplate-module_statusFlowNote__Vjxx0","tableCard":"douGongSchemeTemplate-module_tableCard__29TC_","schemeTable":"douGongSchemeTemplate-module_schemeTable__2Wx66","tableCellText":"douGongSchemeTemplate-module_tableCellText__2qFGr","schemeName":"douGongSchemeTemplate-module_schemeName__1ceWV","schemeNameCell":"douGongSchemeTemplate-module_schemeNameCell__2nPKG","missingReplacementTag":"douGongSchemeTemplate-module_missingReplacementTag__Z9ch8","warningIcon":"douGongSchemeTemplate-module_warningIcon__2zRRw","missingReplacementText":"douGongSchemeTemplate-module_missingReplacementText__2zNKu","actionCell":"douGongSchemeTemplate-module_actionCell__3nl3R","tableEmpty":"douGongSchemeTemplate-module_tableEmpty__3Sn9M","thumbPlaceholder":"douGongSchemeTemplate-module_thumbPlaceholder__2CrEd","countTag":"douGongSchemeTemplate-module_countTag__1jVo7","detailStatusTag":"douGongSchemeTemplate-module_detailStatusTag__1XI4X","roomStatusTag":"douGongSchemeTemplate-module_roomStatusTag__1Y4t9","statusTag":"douGongSchemeTemplate-module_statusTag__3DER1","countSynced":"douGongSchemeTemplate-module_countSynced__2a7zL","statusSynced":"douGongSchemeTemplate-module_statusSynced__37Ne1","detailStatusPass":"douGongSchemeTemplate-module_detailStatusPass__2XvB-","roomStatusReady":"douGongSchemeTemplate-module_roomStatusReady__ybwdf","countMissing":"douGongSchemeTemplate-module_countMissing__2K--O","statusMissing":"douGongSchemeTemplate-module_statusMissing__2RxH8","statusPending":"douGongSchemeTemplate-module_statusPending__1ZWi1","detailStatusWarn":"douGongSchemeTemplate-module_detailStatusWarn__-Y94A","countFailed":"douGongSchemeTemplate-module_countFailed__nruJ2","statusFailed":"douGongSchemeTemplate-module_statusFailed__UopKP","countPending":"douGongSchemeTemplate-module_countPending__27xmW","statusLoaded":"douGongSchemeTemplate-module_statusLoaded__12k7U","statusWaitingSync":"douGongSchemeTemplate-module_statusWaitingSync__2jaah","linkButtonMuted":"douGongSchemeTemplate-module_linkButtonMuted__2oeN1","inlineRetryButton":"douGongSchemeTemplate-module_inlineRetryButton__3Vw7_","paginationInfo":"douGongSchemeTemplate-module_paginationInfo__1YZsz","detailPage":"douGongSchemeTemplate-module_detailPage__qtPSM","breadcrumb":"douGongSchemeTemplate-module_breadcrumb__c_H9-","backButton":"douGongSchemeTemplate-module_backButton__tVGM2","detailHeader":"douGongSchemeTemplate-module_detailHeader__3Seoj","detailHeaderActions":"douGongSchemeTemplate-module_detailHeaderActions__1jQl4","detailTitle":"douGongSchemeTemplate-module_detailTitle__xXzXb","detailMeta":"douGongSchemeTemplate-module_detailMeta__2vP9V","detailNotice":"douGongSchemeTemplate-module_detailNotice__16CrR","detailLayout":"douGongSchemeTemplate-module_detailLayout__3mEQR","detailMain":"douGongSchemeTemplate-module_detailMain__29q-l","detailCard":"douGongSchemeTemplate-module_detailCard__394jb","sideCard":"douGongSchemeTemplate-module_sideCard__3g45N","roomsCard":"douGongSchemeTemplate-module_roomsCard__2Q6ug","cardTitle":"douGongSchemeTemplate-module_cardTitle__3yuFg","detailInfo":"douGongSchemeTemplate-module_detailInfo__Jz_Lc","detailPreviewButton":"douGongSchemeTemplate-module_detailPreviewButton__5jeiZ","detailPreviewHint":"douGongSchemeTemplate-module_detailPreviewHint__2TUEI","detailPreview":"douGongSchemeTemplate-module_detailPreview__VnC6W","detailGrid":"douGongSchemeTemplate-module_detailGrid__3lbSq","detailLabel":"douGongSchemeTemplate-module_detailLabel__3J5WH","dwgEntry":"douGongSchemeTemplate-module_dwgEntry__1Qo8C","dwgEntryHint":"douGongSchemeTemplate-module_dwgEntryHint__1cXPi","tableNote":"douGongSchemeTemplate-module_tableNote__3D8p2","roomRow":"douGongSchemeTemplate-module_roomRow__31qry","roomCell":"douGongSchemeTemplate-module_roomCell__ZJpvG","roomHeader":"douGongSchemeTemplate-module_roomHeader__2uRoK","roomEmpty":"douGongSchemeTemplate-module_roomEmpty__24gXy","sideList":"douGongSchemeTemplate-module_sideList__3ICY7","sideRow":"douGongSchemeTemplate-module_sideRow__16PhL","sideEmpty":"douGongSchemeTemplate-module_sideEmpty__3y7N_","imagePreviewOverlay":"douGongSchemeTemplate-module_imagePreviewOverlay__3zn9F","imagePreviewMask":"douGongSchemeTemplate-module_imagePreviewMask__7DYDG","imagePreviewPanel":"douGongSchemeTemplate-module_imagePreviewPanel__3Gqnw","imagePreviewHeader":"douGongSchemeTemplate-module_imagePreviewHeader__reK51","imagePreviewTitle":"douGongSchemeTemplate-module_imagePreviewTitle__2yrsg","imagePreviewClose":"douGongSchemeTemplate-module_imagePreviewClose__302ry","imagePreviewBody":"douGongSchemeTemplate-module_imagePreviewBody__3bvip","imagePreviewMeta":"douGongSchemeTemplate-module_imagePreviewMeta__1Yfha","imagePreviewViewport":"douGongSchemeTemplate-module_imagePreviewViewport__32Vv9","imagePreviewViewportDragging":"douGongSchemeTemplate-module_imagePreviewViewportDragging__zJ7O-","imagePreviewImage":"douGongSchemeTemplate-module_imagePreviewImage__2c8eK","imagePreviewHint":"douGongSchemeTemplate-module_imagePreviewHint__2S7_k","imagePreviewFooter":"douGongSchemeTemplate-module_imagePreviewFooter__1vWfa","imagePreviewFooterButton":"douGongSchemeTemplate-module_imagePreviewFooterButton__4XHqt","imagePreviewOverlayOpen":"douGongSchemeTemplate-module_imagePreviewOverlayOpen__2ULl6","tinyTagWarn":"douGongSchemeTemplate-module_tinyTagWarn__3sn-j","tinyTagPending":"douGongSchemeTemplate-module_tinyTagPending__12CgZ","modalOverlay":"douGongSchemeTemplate-module_modalOverlay__1C-cc","modalMask":"douGongSchemeTemplate-module_modalMask__3A1yT","modalPanel":"douGongSchemeTemplate-module_modalPanel__2FV74","modalPanelOpen":"douGongSchemeTemplate-module_modalPanelOpen__5HYe-","modalHeader":"douGongSchemeTemplate-module_modalHeader__20Ezx","modalTitle":"douGongSchemeTemplate-module_modalTitle__2Ho1E","modalClose":"douGongSchemeTemplate-module_modalClose__36Aoz","modalBody":"douGongSchemeTemplate-module_modalBody__S30fF","modalText":"douGongSchemeTemplate-module_modalText__3GpW0","modalNotice":"douGongSchemeTemplate-module_modalNotice__2a08n","warnNotice":"douGongSchemeTemplate-module_warnNotice__2gdpe","modalMetaGrid":"douGongSchemeTemplate-module_modalMetaGrid__1b9uH","modalMetaLabel":"douGongSchemeTemplate-module_modalMetaLabel__1meX8","modalMetaValue":"douGongSchemeTemplate-module_modalMetaValue__3_xcX","modalFooter":"douGongSchemeTemplate-module_modalFooter__1WwN5","modalSecondaryButton":"douGongSchemeTemplate-module_modalSecondaryButton__1FbtV","modalOverlayOpen":"douGongSchemeTemplate-module_modalOverlayOpen__FnhSv","dwgIcon16":"douGongSchemeTemplate-module_dwgIcon16__3cZof","dwgListPanel":"douGongSchemeTemplate-module_dwgListPanel__uCBs3","dwgListHeader":"douGongSchemeTemplate-module_dwgListHeader__9P2hs","dwgListTitle":"douGongSchemeTemplate-module_dwgListTitle__O-TeY","dwgListClose":"douGongSchemeTemplate-module_dwgListClose__ajTtt","dwgListBody":"douGongSchemeTemplate-module_dwgListBody__2JI6N","dwgListMeta":"douGongSchemeTemplate-module_dwgListMeta__3rmgW","dwgListSchemeName":"douGongSchemeTemplate-module_dwgListSchemeName__2xnu-","dwgListCount":"douGongSchemeTemplate-module_dwgListCount__3aGmn","dwgTableWrap":"douGongSchemeTemplate-module_dwgTableWrap__3GhAa","dwgTable":"douGongSchemeTemplate-module_dwgTable__2DTDF","dwgTableTime":"douGongSchemeTemplate-module_dwgTableTime__3bRWS","dwgTableEmpty":"douGongSchemeTemplate-module_dwgTableEmpty__3LqVZ","dwgStatus":"douGongSchemeTemplate-module_dwgStatus__1b3RM","dwgStatusSuccess":"douGongSchemeTemplate-module_dwgStatusSuccess__2N0WN","dwgStatusProcessing":"douGongSchemeTemplate-module_dwgStatusProcessing__vDbTL","dwgStatusFailed":"douGongSchemeTemplate-module_dwgStatusFailed__39xru","dwgWaitAction":"douGongSchemeTemplate-module_dwgWaitAction__VR1mw","dwgNotice":"douGongSchemeTemplate-module_dwgNotice__3T4xB","dwgListFooter":"douGongSchemeTemplate-module_dwgListFooter__33GY9","dwgListFooterHint":"douGongSchemeTemplate-module_dwgListFooterHint__1IkeC","dwgViewerOverlay":"douGongSchemeTemplate-module_dwgViewerOverlay__H2O2N","dwgViewerOverlayOpen":"douGongSchemeTemplate-module_dwgViewerOverlayOpen__1mQxv","dwgViewerBar":"douGongSchemeTemplate-module_dwgViewerBar__Umr4Y","dwgViewerTitle":"douGongSchemeTemplate-module_dwgViewerTitle__1IWk4","dwgViewerClose":"douGongSchemeTemplate-module_dwgViewerClose__3IIeG","dwgViewerCloseIcon":"douGongSchemeTemplate-module_dwgViewerCloseIcon__dOTfa","dwgViewerHint":"douGongSchemeTemplate-module_dwgViewerHint__1VK96","dwgViewerStage":"douGongSchemeTemplate-module_dwgViewerStage__K6J6M","dwgEngineHost":"douGongSchemeTemplate-module_dwgEngineHost__17hPS","dwgViewerEmpty":"douGongSchemeTemplate-module_dwgViewerEmpty__1gYlp"};
3503
3572
  styleInject(css_248z$7);
3504
3573
 
3505
3574
  var ANIMATION_DURATION = 180;
3575
+ function getStatusClassName(status) {
3576
+ if (status === DRAWING_STATUS.SUCCESS) return styles$5.dwgStatusSuccess;
3577
+ if (status === DRAWING_STATUS.FAILED) return styles$5.dwgStatusFailed;
3578
+ return styles$5.dwgStatusProcessing;
3579
+ }
3580
+ function DouGongDwgListModal(_ref) {
3581
+ var visible = _ref.visible,
3582
+ scheme = _ref.scheme,
3583
+ drawings = _ref.drawings,
3584
+ drawingsError = _ref.drawingsError,
3585
+ translatingId = _ref.translatingId,
3586
+ onClose = _ref.onClose,
3587
+ onOpen = _ref.onOpen,
3588
+ onParse = _ref.onParse,
3589
+ onRetry = _ref.onRetry,
3590
+ blockEscape = _ref.blockEscape;
3591
+ var _useState = React.useState(visible),
3592
+ _useState2 = _slicedToArray(_useState, 2),
3593
+ shouldRender = _useState2[0],
3594
+ setShouldRender = _useState2[1];
3595
+ var _useState3 = React.useState(visible),
3596
+ _useState4 = _slicedToArray(_useState3, 2),
3597
+ isOpen = _useState4[0],
3598
+ setIsOpen = _useState4[1];
3599
+ React.useEffect(function () {
3600
+ var timer = null;
3601
+ if (visible) {
3602
+ setShouldRender(true);
3603
+ timer = window.setTimeout(function () {
3604
+ return setIsOpen(true);
3605
+ }, 10);
3606
+ } else if (shouldRender) {
3607
+ setIsOpen(false);
3608
+ timer = window.setTimeout(function () {
3609
+ setShouldRender(false);
3610
+ }, ANIMATION_DURATION);
3611
+ }
3612
+ return function () {
3613
+ if (timer) window.clearTimeout(timer);
3614
+ };
3615
+ }, [visible, shouldRender]);
3616
+ React.useEffect(function () {
3617
+ if (!shouldRender) return undefined;
3618
+ return lockPageScroll();
3619
+ }, [shouldRender]);
3620
+ React.useEffect(function () {
3621
+ if (!shouldRender || blockEscape) return undefined;
3622
+ var handleKeyDown = function handleKeyDown(e) {
3623
+ if (e.key === 'Escape' && onClose) onClose();
3624
+ };
3625
+ document.addEventListener('keydown', handleKeyDown);
3626
+ return function () {
3627
+ document.removeEventListener('keydown', handleKeyDown);
3628
+ };
3629
+ }, [blockEscape, onClose, shouldRender]);
3630
+ if (!shouldRender) return null;
3631
+ var list = drawings || [];
3632
+ var schemeName = scheme && scheme.name || '当前方案';
3633
+ return /*#__PURE__*/ReactDOM__default['default'].createPortal(/*#__PURE__*/React__default['default'].createElement("div", {
3634
+ className: "".concat(styles$5.modalOverlay, " ").concat(isOpen ? styles$5.modalOverlayOpen : '')
3635
+ }, /*#__PURE__*/React__default['default'].createElement("div", {
3636
+ className: styles$5.modalMask,
3637
+ onClick: onClose
3638
+ }), /*#__PURE__*/React__default['default'].createElement("div", {
3639
+ className: "".concat(styles$5.modalPanel, " ").concat(styles$5.dwgListPanel, " ").concat(isOpen ? styles$5.modalPanelOpen : '')
3640
+ }, /*#__PURE__*/React__default['default'].createElement("div", {
3641
+ className: styles$5.dwgListHeader
3642
+ }, /*#__PURE__*/React__default['default'].createElement("h2", {
3643
+ className: styles$5.dwgListTitle
3644
+ }, "DWG \u56FE\u7EB8"), /*#__PURE__*/React__default['default'].createElement("button", {
3645
+ type: "button",
3646
+ className: styles$5.dwgListClose,
3647
+ onClick: onClose,
3648
+ "aria-label": "\u5173\u95ED\u56FE\u7EB8\u5217\u8868"
3649
+ }, /*#__PURE__*/React__default['default'].createElement("span", {
3650
+ className: styles$5.dwgIcon16
3651
+ }, /*#__PURE__*/React__default['default'].createElement("img", {
3652
+ src: modalCloseIcon,
3653
+ alt: "",
3654
+ width: 16,
3655
+ height: 16
3656
+ })))), /*#__PURE__*/React__default['default'].createElement("div", {
3657
+ className: styles$5.dwgListBody
3658
+ }, /*#__PURE__*/React__default['default'].createElement("div", {
3659
+ className: styles$5.dwgListMeta
3660
+ }, /*#__PURE__*/React__default['default'].createElement("span", {
3661
+ className: styles$5.dwgListSchemeName
3662
+ }, schemeName), /*#__PURE__*/React__default['default'].createElement("span", {
3663
+ className: styles$5.dwgListCount
3664
+ }, drawingsError && !list.length ? '图纸列表加载失败' : "\u5171 ".concat(list.length, " \u4EFD\u56FE\u7EB8 \xB7 \u6765\u81EA\u6597\u62F1\u540C\u6B65"))), /*#__PURE__*/React__default['default'].createElement("div", {
3665
+ className: styles$5.dwgTableWrap
3666
+ }, /*#__PURE__*/React__default['default'].createElement("table", {
3667
+ className: styles$5.dwgTable
3668
+ }, /*#__PURE__*/React__default['default'].createElement("thead", null, /*#__PURE__*/React__default['default'].createElement("tr", null, /*#__PURE__*/React__default['default'].createElement("th", null, "\u6587\u4EF6\u540D"), /*#__PURE__*/React__default['default'].createElement("th", null, "\u540C\u6B65\u65F6\u95F4"), /*#__PURE__*/React__default['default'].createElement("th", null, "\u6587\u4EF6\u72B6\u6001"), /*#__PURE__*/React__default['default'].createElement("th", null, "\u64CD\u4F5C"))), /*#__PURE__*/React__default['default'].createElement("tbody", null, list.length ? list.map(function (file) {
3669
+ var status = file.status || DRAWING_STATUS.PENDING;
3670
+ var label = DRAWING_STATUS_LABEL[status] || DRAWING_STATUS_LABEL.pending;
3671
+ var pending = status === DRAWING_STATUS.PENDING;
3672
+ var processing = status === DRAWING_STATUS.PROCESSING;
3673
+ var failed = status === DRAWING_STATUS.FAILED;
3674
+ var canOpen = status === DRAWING_STATUS.SUCCESS && !!file.engineFileId;
3675
+ var waiting = processing || status === DRAWING_STATUS.SUCCESS && !canOpen;
3676
+ var translating = translatingId === file.id;
3677
+ return /*#__PURE__*/React__default['default'].createElement("tr", {
3678
+ key: file.id
3679
+ }, /*#__PURE__*/React__default['default'].createElement("td", null, file.name), /*#__PURE__*/React__default['default'].createElement("td", {
3680
+ className: styles$5.dwgTableTime
3681
+ }, file.syncedAt || '--'), /*#__PURE__*/React__default['default'].createElement("td", null, /*#__PURE__*/React__default['default'].createElement("span", {
3682
+ className: "".concat(styles$5.dwgStatus, " ").concat(getStatusClassName(status))
3683
+ }, label)), /*#__PURE__*/React__default['default'].createElement("td", null, canOpen ? /*#__PURE__*/React__default['default'].createElement("button", {
3684
+ type: "button",
3685
+ className: styles$5.linkButton,
3686
+ onClick: function onClick() {
3687
+ return onOpen(file);
3688
+ }
3689
+ }, "\u6253\u5F00") : null, pending ? /*#__PURE__*/React__default['default'].createElement("button", {
3690
+ type: "button",
3691
+ className: styles$5.linkButton,
3692
+ onClick: function onClick() {
3693
+ return onParse && onParse(file);
3694
+ },
3695
+ disabled: translating
3696
+ }, translating ? '解析中' : '解析') : null, failed ? /*#__PURE__*/React__default['default'].createElement("button", {
3697
+ type: "button",
3698
+ className: styles$5.linkButton,
3699
+ onClick: function onClick() {
3700
+ return onRetry && onRetry(file);
3701
+ },
3702
+ disabled: translating
3703
+ }, translating ? '重试中' : '重试') : null, waiting ? /*#__PURE__*/React__default['default'].createElement("span", {
3704
+ className: styles$5.dwgWaitAction
3705
+ }, "\u7B49\u5F85\u89E3\u6790") : null));
3706
+ }) : /*#__PURE__*/React__default['default'].createElement("tr", null, /*#__PURE__*/React__default['default'].createElement("td", {
3707
+ colSpan: 4,
3708
+ className: styles$5.dwgTableEmpty
3709
+ }, drawingsError || '暂无图纸'))))), /*#__PURE__*/React__default['default'].createElement("div", {
3710
+ className: styles$5.dwgNotice
3711
+ }, /*#__PURE__*/React__default['default'].createElement("span", {
3712
+ className: styles$5.dwgIcon16
3713
+ }, /*#__PURE__*/React__default['default'].createElement("img", {
3714
+ src: noticeInfoIcon,
3715
+ alt: "",
3716
+ width: 16,
3717
+ height: 16
3718
+ })), /*#__PURE__*/React__default['default'].createElement("span", null, "\u5F85\u89E3\u6790\u53EF\u70B9\u51FB\u89E3\u6790\uFF1B\u89E3\u6790\u5931\u8D25\u53EF\u70B9\u51FB\u91CD\u8BD5\uFF1B\u89E3\u6790\u6210\u529F\u540E\u53EF\u6253\u5F00\u56FE\u7EB8\u3002"))), /*#__PURE__*/React__default['default'].createElement("div", {
3719
+ className: styles$5.dwgListFooter
3720
+ }, /*#__PURE__*/React__default['default'].createElement("span", {
3721
+ className: styles$5.dwgListFooterHint
3722
+ }), /*#__PURE__*/React__default['default'].createElement("button", {
3723
+ type: "button",
3724
+ className: styles$5.secondaryButton,
3725
+ onClick: onClose
3726
+ }, "\u5173\u95ED")))), document.body);
3727
+ }
3728
+
3729
+ var viewerCloseIcon = "data:image/svg+xml,%3Csvg%20preserveAspectRatio%3D%22none%22%20overflow%3D%22visible%22%20style%3D%22display%3A%20block%3B%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20id%3D%22Frame%201000018337%22%3E%3Cpath%20id%3D%22Vector%22%20opacity%3D%220.6%22%20d%3D%22M16.8049%2015.8637L12.9415%2012.0002L16.8049%208.13634C16.9308%208.0104%2017.0001%207.84294%2017%207.66481C16.9999%207.48721%2016.9307%207.3205%2016.8052%207.19539C16.6796%207.0694%2016.5127%207.0001%2016.3351%207C16.1567%207%2015.9894%207.06928%2015.8636%207.19506L12.0003%2011.0584L8.13634%207.19506C8.01056%207.06928%207.84342%207%207.6657%207C7.48799%207%207.32085%207.06926%207.19509%207.19503C7.06935%207.32042%207.00012%207.48721%207%207.66481C6.99988%207.84294%207.06916%208.0104%207.19509%208.13633L11.059%2012.0002L7.19507%2015.8637C7.06928%2015.9895%207%2016.1566%207%2016.3343C7%2016.512%207.06929%2016.6792%207.19509%2016.805C7.32085%2016.9308%207.48798%2017%207.66568%2017C7.8434%2017%208.01056%2016.9307%208.13632%2016.805L12.0002%2012.9415L15.8636%2016.805C15.9894%2016.9308%2016.1567%2017%2016.3347%2017C16.5127%2016.9999%2016.6795%2016.9307%2016.8046%2016.8053C17.0643%2016.5455%2017.0644%2016.1232%2016.8049%2015.8637Z%22%20fill%3D%22white%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E";
3730
+
3731
+ var ANIMATION_DURATION$1 = 180;
3732
+ function loadEngineView() {
3733
+ // eslint-disable-next-line global-require, import/no-dynamic-require
3734
+ return require("./DouGongDwgEngineView").default;
3735
+ }
3736
+ function DouGongDwgViewer(_ref) {
3737
+ var visible = _ref.visible,
3738
+ drawing = _ref.drawing,
3739
+ onClose = _ref.onClose;
3740
+ var _useState = React.useState(visible),
3741
+ _useState2 = _slicedToArray(_useState, 2),
3742
+ shouldRender = _useState2[0],
3743
+ setShouldRender = _useState2[1];
3744
+ var _useState3 = React.useState(visible),
3745
+ _useState4 = _slicedToArray(_useState3, 2),
3746
+ isOpen = _useState4[0],
3747
+ setIsOpen = _useState4[1];
3748
+ var _useState5 = React.useState(''),
3749
+ _useState6 = _slicedToArray(_useState5, 2),
3750
+ loadError = _useState6[0],
3751
+ setLoadError = _useState6[1];
3752
+ var _useState7 = React.useState(null),
3753
+ _useState8 = _slicedToArray(_useState7, 2),
3754
+ EngineView = _useState8[0],
3755
+ setEngineView = _useState8[1];
3756
+ React.useEffect(function () {
3757
+ var timer = null;
3758
+ if (visible) {
3759
+ setShouldRender(true);
3760
+ setLoadError('');
3761
+ try {
3762
+ var NextEngineView = loadEngineView();
3763
+ setEngineView(function () {
3764
+ return NextEngineView;
3765
+ });
3766
+ } catch (error) {
3767
+ setEngineView(null);
3768
+ setLoadError(error && error.message || '图纸引擎加载失败');
3769
+ }
3770
+ timer = window.setTimeout(function () {
3771
+ return setIsOpen(true);
3772
+ }, 10);
3773
+ } else if (shouldRender) {
3774
+ setIsOpen(false);
3775
+ timer = window.setTimeout(function () {
3776
+ setShouldRender(false);
3777
+ }, ANIMATION_DURATION$1);
3778
+ }
3779
+ return function () {
3780
+ if (timer) window.clearTimeout(timer);
3781
+ };
3782
+ }, [visible, shouldRender]);
3783
+ React.useEffect(function () {
3784
+ if (!shouldRender) return undefined;
3785
+ var unlockPageScroll = lockPageScroll();
3786
+ var handleKeyDown = function handleKeyDown(e) {
3787
+ if (e.key !== 'Escape' || !onClose) return;
3788
+ e.stopPropagation();
3789
+ if (e.stopImmediatePropagation) e.stopImmediatePropagation();
3790
+ onClose();
3791
+ };
3792
+ document.addEventListener('keydown', handleKeyDown, true);
3793
+ return function () {
3794
+ unlockPageScroll();
3795
+ document.removeEventListener('keydown', handleKeyDown, true);
3796
+ };
3797
+ }, [onClose, shouldRender]);
3798
+ if (!shouldRender || !drawing) return null;
3799
+ var fileName = drawing.name || 'DWG 图纸';
3800
+ var fileId = drawing.engineFileId;
3801
+ return /*#__PURE__*/ReactDOM__default['default'].createPortal(/*#__PURE__*/React__default['default'].createElement("div", {
3802
+ className: "".concat(styles$5.dwgViewerOverlay, " ").concat(isOpen ? styles$5.dwgViewerOverlayOpen : '')
3803
+ }, /*#__PURE__*/React__default['default'].createElement("div", {
3804
+ className: styles$5.dwgViewerBar
3805
+ }, /*#__PURE__*/React__default['default'].createElement("span", {
3806
+ className: styles$5.dwgViewerTitle
3807
+ }, fileName), /*#__PURE__*/React__default['default'].createElement("button", {
3808
+ type: "button",
3809
+ className: styles$5.dwgViewerClose,
3810
+ onClick: onClose,
3811
+ "aria-label": "\u5173\u95ED\u56FE\u7EB8"
3812
+ }, /*#__PURE__*/React__default['default'].createElement("span", {
3813
+ className: styles$5.dwgViewerCloseIcon
3814
+ }, /*#__PURE__*/React__default['default'].createElement("img", {
3815
+ src: viewerCloseIcon,
3816
+ alt: "",
3817
+ width: 24,
3818
+ height: 24
3819
+ })))), /*#__PURE__*/React__default['default'].createElement("div", {
3820
+ className: styles$5.dwgViewerHint
3821
+ }, "\u9F20\u6807\u4E2D\u8F74\xB7\u6EDA\u8F6E\u7F29\u653E"), /*#__PURE__*/React__default['default'].createElement("div", {
3822
+ className: styles$5.dwgViewerStage
3823
+ }, loadError ? /*#__PURE__*/React__default['default'].createElement("div", {
3824
+ className: styles$5.dwgViewerEmpty,
3825
+ role: "alert"
3826
+ }, loadError) : EngineView ? /*#__PURE__*/React__default['default'].createElement(EngineView, {
3827
+ key: fileId || drawing.id,
3828
+ fileId: fileId,
3829
+ onError: function onError(error) {
3830
+ setLoadError(error && error.message || '图纸加载失败,请稍后重试');
3831
+ }
3832
+ }) : /*#__PURE__*/React__default['default'].createElement("div", {
3833
+ className: styles$5.dwgViewerEmpty
3834
+ }, "\u56FE\u7EB8\u5F15\u64CE\u52A0\u8F7D\u4E2D..."))), document.body);
3835
+ }
3836
+
3837
+ var ANIMATION_DURATION$2 = 180;
3506
3838
  var MIN_SCALE = 1;
3507
3839
  var MAX_SCALE = 4;
3508
3840
  var SCALE_STEP = 0.15;
@@ -3551,7 +3883,7 @@
3551
3883
  setIsOpen(false);
3552
3884
  timer = window.setTimeout(function () {
3553
3885
  setShouldRender(false);
3554
- }, ANIMATION_DURATION);
3886
+ }, ANIMATION_DURATION$2);
3555
3887
  }
3556
3888
  return function () {
3557
3889
  if (timer) window.clearTimeout(timer);
@@ -3668,6 +4000,7 @@
3668
4000
  }, "\u5173\u95ED")))), document.body);
3669
4001
  }
3670
4002
 
4003
+ var DRAWING_POLL_INTERVAL = 3000;
3671
4004
  function getDefaultModelStatusConfig(status) {
3672
4005
  if (status === 'matched') {
3673
4006
  return {
@@ -3692,13 +4025,35 @@
3692
4025
  className: styles$5.detailStatusWarn
3693
4026
  };
3694
4027
  }
4028
+ function downloadDrawingFiles(drawings) {
4029
+ var files = (drawings || []).filter(function (item) {
4030
+ return item && item.downloadUrl;
4031
+ });
4032
+ if (!files.length) return false;
4033
+ files.forEach(function (item) {
4034
+ var link = document.createElement('a');
4035
+ link.href = item.downloadUrl;
4036
+ link.target = '_blank';
4037
+ link.rel = 'noopener noreferrer';
4038
+ if (item.name) link.download = item.name;
4039
+ document.body.appendChild(link);
4040
+ link.click();
4041
+ document.body.removeChild(link);
4042
+ });
4043
+ return true;
4044
+ }
3695
4045
  function DouGongSchemeDetail(_ref) {
3696
4046
  var scheme = _ref.scheme,
3697
4047
  loading = _ref.loading,
3698
4048
  error = _ref.error,
4049
+ translatingDrawingId = _ref.translatingDrawingId,
3699
4050
  onBack = _ref.onBack,
3700
4051
  onOpenRender = _ref.onOpenRender,
3701
- onRetry = _ref.onRetry;
4052
+ onRetry = _ref.onRetry,
4053
+ onParseDrawing = _ref.onParseDrawing,
4054
+ onRetryDrawing = _ref.onRetryDrawing,
4055
+ onRefreshDrawings = _ref.onRefreshDrawings,
4056
+ onToast = _ref.onToast;
3702
4057
  var _useState = React.useState(false),
3703
4058
  _useState2 = _slicedToArray(_useState, 2),
3704
4059
  thumbnailError = _useState2[0],
@@ -3707,8 +4062,53 @@
3707
4062
  _useState4 = _slicedToArray(_useState3, 2),
3708
4063
  imagePreviewVisible = _useState4[0],
3709
4064
  setImagePreviewVisible = _useState4[1];
4065
+ var _useState5 = React.useState(false),
4066
+ _useState6 = _slicedToArray(_useState5, 2),
4067
+ dwgListVisible = _useState6[0],
4068
+ setDwgListVisible = _useState6[1];
4069
+ var _useState7 = React.useState(null),
4070
+ _useState8 = _slicedToArray(_useState7, 2),
4071
+ activeDrawing = _useState8[0],
4072
+ setActiveDrawing = _useState8[1];
4073
+ var drawings = scheme && scheme.drawings || [];
4074
+ var hasProcessingDrawing = drawings.some(function (item) {
4075
+ return item && item.status === DRAWING_STATUS.PROCESSING;
4076
+ });
4077
+ React.useEffect(function () {
4078
+ if (!dwgListVisible || !scheme || !onRefreshDrawings) return undefined;
4079
+ onRefreshDrawings(scheme);
4080
+ return undefined;
4081
+ }, [dwgListVisible, scheme && scheme.id]);
4082
+ React.useEffect(function () {
4083
+ if (!dwgListVisible || !scheme || !hasProcessingDrawing || !onRefreshDrawings) {
4084
+ return undefined;
4085
+ }
4086
+ var timer = window.setInterval(function () {
4087
+ onRefreshDrawings(scheme, {
4088
+ silent: true
4089
+ });
4090
+ }, DRAWING_POLL_INTERVAL);
4091
+ return function () {
4092
+ return window.clearInterval(timer);
4093
+ };
4094
+ }, [dwgListVisible, hasProcessingDrawing, scheme && scheme.id]);
3710
4095
  if (!scheme) return null;
3711
4096
  var defaultModelStatus = getDefaultModelStatusConfig(scheme.defaultModelStatus);
4097
+ var canDownloadDwg = drawings.some(function (item) {
4098
+ return item && item.downloadUrl;
4099
+ });
4100
+ var handleDownloadDwg = function handleDownloadDwg() {
4101
+ if (downloadDrawingFiles(drawings)) return;
4102
+ if (onToast) onToast('暂无图纸下载地址', true);
4103
+ };
4104
+ var handleOpenDrawing = function handleOpenDrawing(drawing) {
4105
+ if (!drawing) return;
4106
+ if (!drawing.engineFileId) {
4107
+ if (onToast) onToast('图纸尚未解析完成,无法打开', true);
4108
+ return;
4109
+ }
4110
+ setActiveDrawing(drawing);
4111
+ };
3712
4112
  return /*#__PURE__*/React__default['default'].createElement("div", {
3713
4113
  className: styles$5.detailPage
3714
4114
  }, /*#__PURE__*/React__default['default'].createElement("div", {
@@ -3723,13 +4123,20 @@
3723
4123
  className: styles$5.detailTitle
3724
4124
  }, scheme.name), /*#__PURE__*/React__default['default'].createElement("div", {
3725
4125
  className: styles$5.detailMeta
3726
- }, "\u65B9\u6848 ID\uFF1A".concat(scheme.id, " \xB7 ").concat(scheme.city || '--', " / ").concat(scheme.community || '--', " \xB7 \u573A\u666F\u5730\u5740\uFF1A").concat(scheme.sceneUrl || '--'))), /*#__PURE__*/React__default['default'].createElement("button", {
4126
+ }, "\u65B9\u6848 ID\uFF1A".concat(scheme.id, " \xB7 ").concat(scheme.city || '--', " / ").concat(scheme.community || '--', " \xB7 \u573A\u666F\u5730\u5740\uFF1A").concat(scheme.sceneUrl || '--'))), /*#__PURE__*/React__default['default'].createElement("div", {
4127
+ className: styles$5.detailHeaderActions
4128
+ }, /*#__PURE__*/React__default['default'].createElement("button", {
4129
+ type: "button",
4130
+ className: styles$5.secondaryButton,
4131
+ onClick: handleDownloadDwg,
4132
+ disabled: !canDownloadDwg
4133
+ }, "\u4E0B\u8F7Ddwg"), /*#__PURE__*/React__default['default'].createElement("button", {
3727
4134
  type: "button",
3728
4135
  className: styles$5.primaryButton,
3729
4136
  onClick: function onClick() {
3730
4137
  return onOpenRender(scheme);
3731
4138
  }
3732
- }, "\u6253\u5F00\u6E32\u67D3\u5E73\u53F0")), loading ? /*#__PURE__*/React__default['default'].createElement("div", {
4139
+ }, "\u6253\u5F00\u6E32\u67D3\u5E73\u53F0"))), loading ? /*#__PURE__*/React__default['default'].createElement("div", {
3733
4140
  className: styles$5.detailNotice
3734
4141
  }, "\u65B9\u6848\u8BE6\u60C5\u52A0\u8F7D\u4E2D...") : null, !loading && error ? /*#__PURE__*/React__default['default'].createElement("div", {
3735
4142
  className: styles$5.detailNotice
@@ -3771,15 +4178,25 @@
3771
4178
  className: styles$5.detailGrid
3772
4179
  }, /*#__PURE__*/React__default['default'].createElement("span", {
3773
4180
  className: styles$5.detailLabel
3774
- }, "\u65B9\u6848 ID"), /*#__PURE__*/React__default['default'].createElement("span", null, scheme.id), /*#__PURE__*/React__default['default'].createElement("span", {
3775
- className: styles$5.detailLabel
3776
- }, "\u57CE\u5E02 / \u5C0F\u533A"), /*#__PURE__*/React__default['default'].createElement("span", null, "".concat(scheme.city || '--', " / ").concat(scheme.community || '--')), /*#__PURE__*/React__default['default'].createElement("span", {
4181
+ }, "\u65B9\u6848 ID"), /*#__PURE__*/React__default['default'].createElement("span", null, "".concat(scheme.id, " \xB7 ").concat(scheme.city || '--', " / ").concat(scheme.community || '--')), /*#__PURE__*/React__default['default'].createElement("span", {
3777
4182
  className: styles$5.detailLabel
3778
4183
  }, "\u6237\u578B"), /*#__PURE__*/React__default['default'].createElement("span", null, scheme.houseType), /*#__PURE__*/React__default['default'].createElement("span", {
3779
4184
  className: styles$5.detailLabel
3780
4185
  }, "\u9ED8\u8BA4\u6A21\u578B"), /*#__PURE__*/React__default['default'].createElement("span", {
3781
4186
  className: "".concat(styles$5.detailStatusTag, " ").concat(defaultModelStatus.className)
3782
- }, defaultModelStatus.label)))), /*#__PURE__*/React__default['default'].createElement("div", {
4187
+ }, defaultModelStatus.label), /*#__PURE__*/React__default['default'].createElement("span", {
4188
+ className: styles$5.detailLabel
4189
+ }, "dwg\u56FE\u7EB8"), /*#__PURE__*/React__default['default'].createElement("span", {
4190
+ className: styles$5.dwgEntry
4191
+ }, /*#__PURE__*/React__default['default'].createElement("button", {
4192
+ type: "button",
4193
+ className: styles$5.secondaryButton,
4194
+ onClick: function onClick() {
4195
+ return setDwgListVisible(true);
4196
+ }
4197
+ }, "\u67E5\u770Bdwg\u56FE\u7EB8"), /*#__PURE__*/React__default['default'].createElement("span", {
4198
+ className: styles$5.dwgEntryHint
4199
+ }, scheme.drawingCount ? "\u5171 ".concat(scheme.drawingCount, " \u4EFD\u56FE\u7EB8") : '来自斗拱同步'))))), /*#__PURE__*/React__default['default'].createElement("div", {
3783
4200
  className: styles$5.roomsCard
3784
4201
  }, /*#__PURE__*/React__default['default'].createElement("div", {
3785
4202
  className: styles$5.cardTitle
@@ -3841,12 +4258,35 @@
3841
4258
  setThumbnailError(true);
3842
4259
  setImagePreviewVisible(false);
3843
4260
  }
4261
+ }), /*#__PURE__*/React__default['default'].createElement(DouGongDwgListModal, {
4262
+ visible: dwgListVisible,
4263
+ scheme: scheme,
4264
+ drawings: drawings,
4265
+ drawingsError: scheme.drawingsError,
4266
+ translatingId: translatingDrawingId,
4267
+ blockEscape: !!activeDrawing,
4268
+ onClose: function onClose() {
4269
+ return setDwgListVisible(false);
4270
+ },
4271
+ onOpen: handleOpenDrawing,
4272
+ onParse: function onParse(drawing) {
4273
+ return onParseDrawing && onParseDrawing(drawing);
4274
+ },
4275
+ onRetry: function onRetry(drawing) {
4276
+ return onRetryDrawing && onRetryDrawing(drawing);
4277
+ }
4278
+ }), /*#__PURE__*/React__default['default'].createElement(DouGongDwgViewer, {
4279
+ visible: !!activeDrawing,
4280
+ drawing: activeDrawing,
4281
+ onClose: function onClose() {
4282
+ return setActiveDrawing(null);
4283
+ }
3844
4284
  }));
3845
4285
  }
3846
4286
 
3847
4287
  var statusFlowArrow = "data:image/svg+xml,%3Csvg%20preserveAspectRatio%3D%22none%22%20overflow%3D%22visible%22%20style%3D%22display%3A%20block%3B%22%20width%3D%2222%22%20height%3D%2222%22%20viewBox%3D%220%200%2022%2022%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20id%3D%22Frame%201435784736%22%20opacity%3D%220.5%22%3E%3Cpath%20id%3D%22Vector%201325%22%20d%3D%22M4%2011C4.4%2011%2013.1667%2011%2018%2011%22%20stroke%3D%22%23737B8B%22%20stroke-linecap%3D%22round%22%2F%3E%3Cpath%20id%3D%22Vector%201326%22%20d%3D%22M13.5%207L17.8203%2010.8403C17.9138%2010.9233%2017.9089%2011.0708%2017.8102%2011.1476L13.5%2014.5%22%20stroke%3D%22%23737B8B%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E";
3848
4288
 
3849
- var ANIMATION_DURATION$1 = 180;
4289
+ var ANIMATION_DURATION$3 = 180;
3850
4290
  function DouGongModal(_ref) {
3851
4291
  var visible = _ref.visible,
3852
4292
  title = _ref.title,
@@ -3873,7 +4313,7 @@
3873
4313
  setIsOpen(false);
3874
4314
  timer = window.setTimeout(function () {
3875
4315
  setShouldRender(false);
3876
- }, ANIMATION_DURATION$1);
4316
+ }, ANIMATION_DURATION$3);
3877
4317
  }
3878
4318
  return function () {
3879
4319
  if (timer) {
@@ -3953,36 +4393,6 @@
3953
4393
  }, /*#__PURE__*/React__default['default'].createElement(icons.InfoCircleOutlined, null), /*#__PURE__*/React__default['default'].createElement("span", null, "\u5DE5\u4F5C\u53F0\u53EA\u63A5\u6536\u548C\u5C55\u793A\u6597\u62F1\u65B9\u6848\uFF0C\u4E0D\u5411\u6597\u62F1\u56DE\u5199\u66FF\u6362\u7ED3\u679C\u3002")));
3954
4394
  }
3955
4395
 
3956
- var STATUS_OPTIONS = [{
3957
- value: 'all',
3958
- label: '全部'
3959
- }, {
3960
- value: 'synced',
3961
- label: '已同步'
3962
- }, {
3963
- value: 'pending',
3964
- label: '待加载'
3965
- }, {
3966
- value: 'missingDefault',
3967
- label: '缺默认模型'
3968
- }, {
3969
- value: 'failed',
3970
- label: '加载失败'
3971
- }];
3972
- var STATUS_TRIGGER_LABEL_MAP = {
3973
- all: '全部',
3974
- synced: '已同步',
3975
- pending: '待加载',
3976
- missingDefault: '缺默认模型',
3977
- failed: '加载失败'
3978
- };
3979
- var STATUS_API_VALUE_MAP = {
3980
- synced: 1,
3981
- pending: 2,
3982
- missingDefault: 4,
3983
- failed: 3
3984
- };
3985
-
3986
4396
  function getSchemeStatusConfig(status) {
3987
4397
  var configMap = {
3988
4398
  synced: {
@@ -4426,13 +4836,17 @@
4426
4836
  _useState2 = _slicedToArray(_useState, 2),
4427
4837
  activeDetailId = _useState2[0],
4428
4838
  setActiveDetailId = _useState2[1];
4429
- var _useState3 = React.useState({
4839
+ var _useState3 = React.useState(''),
4840
+ _useState4 = _slicedToArray(_useState3, 2),
4841
+ translatingDrawingId = _useState4[0],
4842
+ setTranslatingDrawingId = _useState4[1];
4843
+ var _useState5 = React.useState({
4430
4844
  text: '',
4431
4845
  error: false
4432
4846
  }),
4433
- _useState4 = _slicedToArray(_useState3, 2),
4434
- toast = _useState4[0],
4435
- setToast = _useState4[1];
4847
+ _useState6 = _slicedToArray(_useState5, 2),
4848
+ toast = _useState6[0],
4849
+ setToast = _useState6[1];
4436
4850
  React.useEffect(function () {
4437
4851
  if (!toast.text) return undefined;
4438
4852
  var timer = window.setTimeout(function () {
@@ -4465,6 +4879,56 @@
4465
4879
  }
4466
4880
  });
4467
4881
  };
4882
+ var handleRefreshDrawings = function handleRefreshDrawings(scheme) {
4883
+ var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
4884
+ var schemeId = scheme && scheme.id || activeDetailId;
4885
+ if (!schemeId) return;
4886
+ return Promise.resolve(dispatch({
4887
+ type: 'schemeWorkbench/fetchDouGongDrawings',
4888
+ payload: {
4889
+ schemeId: schemeId
4890
+ }
4891
+ })).then(function (result) {
4892
+ if (!options.silent && result && result.error) {
4893
+ setToast({
4894
+ text: result.error,
4895
+ error: true
4896
+ });
4897
+ }
4898
+ return result;
4899
+ });
4900
+ };
4901
+ var handleTranslateDrawing = function handleTranslateDrawing(drawing, retry) {
4902
+ if (!activeScheme || !drawing) return;
4903
+ setTranslatingDrawingId(drawing.id);
4904
+ Promise.resolve(dispatch({
4905
+ type: 'schemeWorkbench/startDouGongDrawingTranslate',
4906
+ payload: {
4907
+ schemeId: activeScheme.id,
4908
+ drawingId: drawing.id,
4909
+ retry: retry === true
4910
+ }
4911
+ })).then(function (result) {
4912
+ if (result && result.error) {
4913
+ setToast({
4914
+ text: result.error,
4915
+ error: true
4916
+ });
4917
+ return;
4918
+ }
4919
+ setToast({
4920
+ text: retry ? '已发起重新解析' : '已发起解析',
4921
+ error: false
4922
+ });
4923
+ }, function () {
4924
+ setToast({
4925
+ text: retry ? '图纸重新解析失败' : '图纸发起解析失败',
4926
+ error: true
4927
+ });
4928
+ }).then(function () {
4929
+ setTranslatingDrawingId('');
4930
+ });
4931
+ };
4468
4932
  var handleOpenRender = function handleOpenRender(scheme) {
4469
4933
  dispatch({
4470
4934
  type: 'schemeWorkbench/updateState',
@@ -4517,11 +4981,25 @@
4517
4981
  scheme: activeScheme,
4518
4982
  loading: douGongDetailLoading,
4519
4983
  error: douGongDetailError,
4984
+ translatingDrawingId: translatingDrawingId,
4520
4985
  onBack: function onBack() {
4521
4986
  return setActiveDetailId('');
4522
4987
  },
4523
4988
  onOpenRender: handleOpenRender,
4524
- onRetry: handleViewDetail
4989
+ onRetry: handleViewDetail,
4990
+ onParseDrawing: function onParseDrawing(drawing) {
4991
+ return handleTranslateDrawing(drawing, false);
4992
+ },
4993
+ onRetryDrawing: function onRetryDrawing(drawing) {
4994
+ return handleTranslateDrawing(drawing, true);
4995
+ },
4996
+ onRefreshDrawings: handleRefreshDrawings,
4997
+ onToast: function onToast(text, error) {
4998
+ return setToast({
4999
+ text: text,
5000
+ error: !!error
5001
+ });
5002
+ }
4525
5003
  }) : null), toast.text ? /*#__PURE__*/React__default['default'].createElement("div", {
4526
5004
  className: "".concat(styles$5.successToast, " ").concat(toast.error ? styles$5.errorToast : ''),
4527
5005
  role: "status"
@@ -9848,7 +10326,7 @@
9848
10326
  var styles$e = {"page":"materialCategoryManagement-module_page__gBiPZ","headerSection":"materialCategoryManagement-module_headerSection__t5Sr_","titleLine":"materialCategoryManagement-module_titleLine__1UlWC","headerActions":"materialCategoryManagement-module_headerActions__2QrtV","primaryButton":"materialCategoryManagement-module_primaryButton__3QqkT","secondaryButton":"materialCategoryManagement-module_secondaryButton__1H3Pm","assetTabs":"materialCategoryManagement-module_assetTabs__gi3OD","assetTabActive":"materialCategoryManagement-module_assetTabActive__2-2-F","layoutBody":"materialCategoryManagement-module_layoutBody__1waD3","managementLayout":"materialCategoryManagement-module_managementLayout__qIH8p","treePanel":"materialCategoryManagement-module_treePanel__1EDge","summaryCard":"materialCategoryManagement-module_summaryCard__3g26T","detailCard":"materialCategoryManagement-module_detailCard__1kIyv","emptyDetail":"materialCategoryManagement-module_emptyDetail__Fu8aa","panelHeader":"materialCategoryManagement-module_panelHeader__s4HzV","treeScroll":"materialCategoryManagement-module_treeScroll__2FgWv","treeNode":"materialCategoryManagement-module_treeNode__3DEJl","treeNodeActive":"materialCategoryManagement-module_treeNodeActive__-MbU2","treeNodeLevel1":"materialCategoryManagement-module_treeNodeLevel1__3y9kN","treeNodeLevel2":"materialCategoryManagement-module_treeNodeLevel2__2wQbz","treeNodeLevel3":"materialCategoryManagement-module_treeNodeLevel3__3izgy","treeNodeName":"materialCategoryManagement-module_treeNodeName__10KwG","treeNodeMeta":"materialCategoryManagement-module_treeNodeMeta__24Z5K","treeNodeDisabled":"materialCategoryManagement-module_treeNodeDisabled__vTgvh","detailColumn":"materialCategoryManagement-module_detailColumn__3Pv5E","summaryHeader":"materialCategoryManagement-module_summaryHeader__3J1o9","categoryTitle":"materialCategoryManagement-module_categoryTitle__1wKvx","summaryActions":"materialCategoryManagement-module_summaryActions__3SKtV","dangerButton":"materialCategoryManagement-module_dangerButton__3IQYG","ruleNotice":"materialCategoryManagement-module_ruleNotice__1YM8r","formNotice":"materialCategoryManagement-module_formNotice__3bWWP","tableWrap":"materialCategoryManagement-module_tableWrap__3x-iF","detailCardHeader":"materialCategoryManagement-module_detailCardHeader__MarHD","referenceHint":"materialCategoryManagement-module_referenceHint__2R5Zw","statusTag":"materialCategoryManagement-module_statusTag__2nR2U","statusEnabled":"materialCategoryManagement-module_statusEnabled__x3rHj","statusDisabled":"materialCategoryManagement-module_statusDisabled__H0GEF","tableActions":"materialCategoryManagement-module_tableActions__2GiV3","modalDescription":"materialCategoryManagement-module_modalDescription__VoK1W","categoryManagementModalBody":"materialCategoryManagement-module_categoryManagementModalBody__15FLl","modeSwitch":"materialCategoryManagement-module_modeSwitch__3wfgL","modeSwitchActive":"materialCategoryManagement-module_modeSwitchActive__2D88K","formGrid":"materialCategoryManagement-module_formGrid__1wwPE","formField":"materialCategoryManagement-module_formField__AEI7y","formFieldFull":"materialCategoryManagement-module_formFieldFull__JH41q","formControl":"materialCategoryManagement-module_formControl__3uLMM","chainPanel":"materialCategoryManagement-module_chainPanel__2Dje6","chainHeader":"materialCategoryManagement-module_chainHeader__3OVtF","inlineButton":"materialCategoryManagement-module_inlineButton__1CB0J","iconDangerButton":"materialCategoryManagement-module_iconDangerButton__3RI3L","chainRow":"materialCategoryManagement-module_chainRow__ckvYv","rootChainRow":"materialCategoryManagement-module_rootChainRow__pe9Gk","formError":"materialCategoryManagement-module_formError__DqzNX","spaceTableWrap":"materialCategoryManagement-module_spaceTableWrap__2x0Nn","spaceManagementModalBody":"materialCategoryManagement-module_spaceManagementModalBody__3bhbm","managementModalOverlay":"materialCategoryManagement-module_managementModalOverlay__2MDRS","managementModalMask":"materialCategoryManagement-module_managementModalMask__1DhMT","managementModalPanel":"materialCategoryManagement-module_managementModalPanel__3ZCHV","managementModalPanelOpen":"materialCategoryManagement-module_managementModalPanelOpen__wjFAF","managementModalHeader":"materialCategoryManagement-module_managementModalHeader__j3m5N","managementModalTitle":"materialCategoryManagement-module_managementModalTitle__13PCJ","managementModalClose":"materialCategoryManagement-module_managementModalClose__1LmyV","managementModalBody":"materialCategoryManagement-module_managementModalBody__y4Ywd","managementModalFooter":"materialCategoryManagement-module_managementModalFooter__-ll4h","managementModalOverlayOpen":"materialCategoryManagement-module_managementModalOverlayOpen__1_sMF","modalCancelButton":"materialCategoryManagement-module_modalCancelButton__213dd","modalPrimaryButton":"materialCategoryManagement-module_modalPrimaryButton__2bOhW","spaceModalDescription":"materialCategoryManagement-module_spaceModalDescription__2Be3p","spaceStatusTag":"materialCategoryManagement-module_spaceStatusTag__1PS2Z","spaceStatusEnabled":"materialCategoryManagement-module_spaceStatusEnabled__2sZlp","spaceStatusDisabled":"materialCategoryManagement-module_spaceStatusDisabled__23maU","spaceTableActions":"materialCategoryManagement-module_spaceTableActions__ulmOq","spaceStopAction":"materialCategoryManagement-module_spaceStopAction__267vD","spaceEnableAction":"materialCategoryManagement-module_spaceEnableAction__2vgjQ","spaceDeleteAction":"materialCategoryManagement-module_spaceDeleteAction__2gzjy","spaceNotice":"materialCategoryManagement-module_spaceNotice__ryevZ","addSpaceRow":"materialCategoryManagement-module_addSpaceRow__1aAPK","toast":"materialCategoryManagement-module_toast__2Nynk","toastError":"materialCategoryManagement-module_toastError__11yKK"};
9849
10327
  styleInject(css_248z$g);
9850
10328
 
9851
- var ANIMATION_DURATION$2 = 180;
10329
+ var ANIMATION_DURATION$4 = 180;
9852
10330
  function ManagementModal(_ref) {
9853
10331
  var visible = _ref.visible,
9854
10332
  title = _ref.title,
@@ -9879,7 +10357,7 @@
9879
10357
  setIsOpen(false);
9880
10358
  timer = window.setTimeout(function () {
9881
10359
  return setShouldRender(false);
9882
- }, ANIMATION_DURATION$2);
10360
+ }, ANIMATION_DURATION$4);
9883
10361
  }
9884
10362
  return function () {
9885
10363
  if (timer) window.clearTimeout(timer);
@@ -60457,7 +60935,7 @@
60457
60935
  var styles$j = {"page":"myScheme-module_page__3ldLy","container":"myScheme-module_container__p3iuY","primaryButton":"myScheme-module_primaryButton__2OA3k","secondaryButton":"myScheme-module_secondaryButton__2coh1","linkButton":"myScheme-module_linkButton__1tQSv","filterTab":"myScheme-module_filterTab__2W0m6","backButton":"myScheme-module_backButton__2pKvO","selectTrigger":"myScheme-module_selectTrigger__3tWi0","selectOption":"myScheme-module_selectOption__2JCf7","modalClose":"myScheme-module_modalClose__nehKy","exportButton":"myScheme-module_exportButton__2dmSV","panelTabs":"myScheme-module_panelTabs__aWvDB","sceneObject":"myScheme-module_sceneObject__vyE3e","viewToolbar":"myScheme-module_viewToolbar__2Fcxi","segmentGroup":"myScheme-module_segmentGroup__2ZvYu","statusOk":"myScheme-module_statusOk__4Ic1T","statusInfo":"myScheme-module_statusInfo__1dS1L","statusNeutral":"myScheme-module_statusNeutral__3qNrt","listPage":"myScheme-module_listPage__Zj7rr","workbenchPage":"myScheme-module_workbenchPage__R4fxG","headerSection":"myScheme-module_headerSection__3V8s_","titleBlock":"myScheme-module_titleBlock__2V22r","pageTitle":"myScheme-module_pageTitle__2_OS3","pageDesc":"myScheme-module_pageDesc__3G2-a","toolbar":"myScheme-module_toolbar__2xU64","searchWrap":"myScheme-module_searchWrap__2Bozr","searchIcon":"myScheme-module_searchIcon__1B7Y5","searchInput":"myScheme-module_searchInput__1hQMH","filterField":"myScheme-module_filterField__2oIH2","templateFilterField":"myScheme-module_templateFilterField__1ojde","filterSelect":"myScheme-module_filterSelect__WzvVu","filterLabel":"myScheme-module_filterLabel__1SVxS","filterTabs":"myScheme-module_filterTabs__2T2j2","filterTabActive":"myScheme-module_filterTabActive__2JDzG","cardGrid":"myScheme-module_cardGrid__3wP3h","listLoadingArea":"myScheme-module_listLoadingArea__2GIGq","listVirtualSentinel":"myScheme-module_listVirtualSentinel__110vy","listNotice":"myScheme-module_listNotice__3vlwx","emptyState":"myScheme-module_emptyState__1cRpf","emptyIcon":"myScheme-module_emptyIcon__1BcYl","emptyTitle":"myScheme-module_emptyTitle__2F90O","emptyDesc":"myScheme-module_emptyDesc__2E1Fv","paginationInfo":"myScheme-module_paginationInfo__1Levb","paginationBar":"myScheme-module_paginationBar__MIEed","inlineRetryButton":"myScheme-module_inlineRetryButton__2rwfm","filterSelectDropdown":"myScheme-module_filterSelectDropdown__mYCGA","filterOptionText":"myScheme-module_filterOptionText__2xi5S","schemeTableWrap":"myScheme-module_schemeTableWrap__1JbKU","schemeTable":"myScheme-module_schemeTable__1pjmE","tableCellText":"myScheme-module_tableCellText__1Xedl","tableActions":"myScheme-module_tableActions__1ZGgT","generatedStatus":"myScheme-module_generatedStatus__20kIV","pendingStatus":"myScheme-module_pendingStatus__2gFeC","tableEmpty":"myScheme-module_tableEmpty__32CE2","schemeCard":"myScheme-module_schemeCard__jPfmS","createCard":"myScheme-module_createCard__2pnhr","coverWrap":"myScheme-module_coverWrap__1hGe6","coverImage":"myScheme-module_coverImage__3VgGP","coverPlaceholder":"myScheme-module_coverPlaceholder__3VJEL","cardContent":"myScheme-module_cardContent__2QsLX","schemeTitle":"myScheme-module_schemeTitle__3Pxgw","customerLine":"myScheme-module_customerLine__37-HC","metaLine":"myScheme-module_metaLine__1yrw5","tagRow":"myScheme-module_tagRow__1g3gZ","cardFooter":"myScheme-module_cardFooter__1dNb7","replaceText":"myScheme-module_replaceText__2t-7Z","footerActions":"myScheme-module_footerActions__JKjxC","createIcon":"myScheme-module_createIcon__10zAg","createTitle":"myScheme-module_createTitle__2GMKS","toast":"myScheme-module_toast__rWmQY","toastError":"myScheme-module_toastError__hL_qA","globalTopbar":"myScheme-module_globalTopbar__2Axph","topbarBreadcrumb":"myScheme-module_topbarBreadcrumb__1s98w","topbarSearchWrap":"myScheme-module_topbarSearchWrap__2aR7B","topbarRight":"myScheme-module_topbarRight__2RTU_","topbarStatus":"myScheme-module_topbarStatus__3sK7B","workbenchActions":"myScheme-module_workbenchActions__3Y2G6","sceneStatus":"myScheme-module_sceneStatus__1RGPl","sceneStatusLoading":"myScheme-module_sceneStatusLoading__2al1H","sceneStatusLoaded":"myScheme-module_sceneStatusLoaded__1odxT","renderLayout":"myScheme-module_renderLayout__X4A8D","uePreviewWrap":"myScheme-module_uePreviewWrap__1_4WF","ueTestActions":"myScheme-module_ueTestActions__jsci5","testSendRoomTypeButton":"myScheme-module_testSendRoomTypeButton__2RcnC","workbenchLoading":"myScheme-module_workbenchLoading__3WOEP","workbenchLoadError":"myScheme-module_workbenchLoadError__14TEV","workbenchLoadErrorIcon":"myScheme-module_workbenchLoadErrorIcon__1XQbC","workbenchLoadErrorActions":"myScheme-module_workbenchLoadErrorActions__3v0st","sceneStage":"myScheme-module_sceneStage__3Gtw2","sceneLayer":"myScheme-module_sceneLayer__1Gehf","roomBox":"myScheme-module_roomBox__2rj3E","backWall":"myScheme-module_backWall__1cpYv","windowBox":"myScheme-module_windowBox__13veX","artBox":"myScheme-module_artBox__23fqd","floorBox":"myScheme-module_floorBox__9nNQ2","carpetBox":"myScheme-module_carpetBox__3GFwu","sceneObjectActive":"myScheme-module_sceneObjectActive__3Uihs","sceneObjectShower":"myScheme-module_sceneObjectShower___-i4L","sceneObjectFloor":"myScheme-module_sceneObjectFloor__1sOfu","sceneBadge":"myScheme-module_sceneBadge__1eZOC","sceneBadgeTop":"myScheme-module_sceneBadgeTop__3kabW","sceneBadgeLeft":"myScheme-module_sceneBadgeLeft__2_hGM","sceneBadgeRight":"myScheme-module_sceneBadgeRight__2DLZ-","toolbarActive":"myScheme-module_toolbarActive__3-Dgr","rightPanel":"myScheme-module_rightPanel__1UfJJ","panelTabActive":"myScheme-module_panelTabActive__zd-tU","sideCard":"myScheme-module_sideCard__3MmGp","panelHeader":"myScheme-module_panelHeader__yKfco","productPhoto":"myScheme-module_productPhoto__2B7ZV","productInfo":"myScheme-module_productInfo__jBYfQ","productName":"myScheme-module_productName__2oKGL","productMeta":"myScheme-module_productMeta__260co","sellingPoints":"myScheme-module_sellingPoints__33xaS","sellingTitle":"myScheme-module_sellingTitle__2IrC-","statusRow":"myScheme-module_statusRow__3e0S4","sideActions":"myScheme-module_sideActions__MJt4B","sliderItem":"myScheme-module_sliderItem__2xeXj","sliderLabel":"myScheme-module_sliderLabel__2pr0W","segmentActive":"myScheme-module_segmentActive__2JmxH","infoLine":"myScheme-module_infoLine__3GNSp","modalOverlay":"myScheme-module_modalOverlay__2-LY3","modalMask":"myScheme-module_modalMask__2jhCK","modalPanel":"myScheme-module_modalPanel__cqXcX","modalHeader":"myScheme-module_modalHeader__3dndE","modalTitle":"myScheme-module_modalTitle__3lzET","modalBody":"myScheme-module_modalBody__3FEFU","modalFooter":"myScheme-module_modalFooter__2S_E9","modalOverlayOpen":"myScheme-module_modalOverlayOpen__3voZn","modalPanelOpen":"myScheme-module_modalPanelOpen__22C1W","modalDesc":"myScheme-module_modalDesc__3KgKO","exportModal":"myScheme-module_exportModal__1ODKA","exportTableHeader":"myScheme-module_exportTableHeader__3zi3I","exportTableRow":"myScheme-module_exportTableRow__2my5l","formPanel":"myScheme-module_formPanel__1b3n6","summaryBox":"myScheme-module_summaryBox__2XD76","formGrid":"myScheme-module_formGrid__2dNVF","formBlock":"myScheme-module_formBlock__2gAj2","formLabel":"myScheme-module_formLabel__Yde9r","formInput":"myScheme-module_formInput__wKddg","summaryGrid":"myScheme-module_summaryGrid__1O0Pj","saveSchemeModal":"myScheme-module_saveSchemeModal__3qUGs","saveFormRows":"myScheme-module_saveFormRows__1bzF0","saveFormRow":"myScheme-module_saveFormRow__36j2_","requiredMark":"myScheme-module_requiredMark__14sip","readonlyFormInput":"myScheme-module_readonlyFormInput__3ItTL","summaryError":"myScheme-module_summaryError__2hbUw","summaryRow":"myScheme-module_summaryRow__2BzvS","exportTableWrap":"myScheme-module_exportTableWrap__1dVHQ","exportDownloadError":"myScheme-module_exportDownloadError__2vK4B","exportTableWrapLoading":"myScheme-module_exportTableWrapLoading__1tUrO","exportTable":"myScheme-module_exportTable__7y2Nv","exportTableNotice":"myScheme-module_exportTableNotice__3E2oh","selectWrap":"myScheme-module_selectWrap__1lQjP"};
60458
60936
  styleInject(css_248z$l);
60459
60937
 
60460
- var ANIMATION_DURATION$3 = 180;
60938
+ var ANIMATION_DURATION$5 = 180;
60461
60939
  function MySchemeModal(_ref) {
60462
60940
  var visible = _ref.visible,
60463
60941
  title = _ref.title,
@@ -60487,7 +60965,7 @@
60487
60965
  setIsOpen(false);
60488
60966
  timer = window.setTimeout(function () {
60489
60967
  setShouldRender(false);
60490
- }, ANIMATION_DURATION$3);
60968
+ }, ANIMATION_DURATION$5);
60491
60969
  }
60492
60970
  return function () {
60493
60971
  if (timer) {
@@ -61225,27 +61703,6 @@
61225
61703
  }
61226
61704
  window.addEventListener('beforeunload', closeSocket);
61227
61705
 
61228
- var CLOUD_GAME_FAST_LEAVE_WINDOW = 5000;
61229
- function createCloudGameEntryTracker(onEntered) {
61230
- var schemeLoadingStarted = false;
61231
- var entered = false;
61232
- return function (message) {
61233
- if (message && message.action === 'StartLoadResouce') {
61234
- schemeLoadingStarted = true;
61235
- return false;
61236
- }
61237
- if (!message || message.action !== 'LoadingFinish' || !schemeLoadingStarted || entered) {
61238
- return false;
61239
- }
61240
- entered = true;
61241
- if (onEntered) onEntered();
61242
- return true;
61243
- };
61244
- }
61245
- function isWithinFastLeaveWindow(enteredAt) {
61246
- var currentTime = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : Date.now();
61247
- return Boolean(enteredAt && currentTime >= enteredAt && currentTime - enteredAt < CLOUD_GAME_FAST_LEAVE_WINDOW);
61248
- }
61249
61706
  function createDestroyOnce(destroy) {
61250
61707
  var destroyed = false;
61251
61708
  var destroyResult;
@@ -61395,7 +61852,6 @@
61395
61852
  schemeId = _ref.schemeId,
61396
61853
  schemeAction = _ref.schemeAction,
61397
61854
  onStatusChange = _ref.onStatusChange,
61398
- onCloudGameEntered = _ref.onCloudGameEntered,
61399
61855
  onSchemeJson = _ref.onSchemeJson;
61400
61856
  var userId = React.useMemo(function () {
61401
61857
  return getCurrentUserId();
@@ -61418,16 +61874,6 @@
61418
61874
  var ueContainerInstanceRef = React.useRef(null);
61419
61875
  var destroyImplementationRef = React.useRef(null);
61420
61876
  var destroyOnceRef = React.useRef(null);
61421
- var onCloudGameEnteredRef = React.useRef(onCloudGameEntered);
61422
- var cloudGameEntryTrackerRef = React.useRef(null);
61423
- onCloudGameEnteredRef.current = onCloudGameEntered;
61424
- if (!cloudGameEntryTrackerRef.current) {
61425
- cloudGameEntryTrackerRef.current = createCloudGameEntryTracker(function () {
61426
- if (onCloudGameEnteredRef.current) {
61427
- onCloudGameEnteredRef.current();
61428
- }
61429
- });
61430
- }
61431
61877
  if (!destroyOnceRef.current) {
61432
61878
  destroyOnceRef.current = createDestroyOnce(function () {
61433
61879
  if (destroyImplementationRef.current) {
@@ -61640,10 +62086,8 @@
61640
62086
  // msg.action === 'StartLoadResouce' &&
61641
62087
  ) {
61642
62088
  ueInitedRef.current = true;
61643
- initUEData();
61644
- }
61645
- if (cloudGameEntryTrackerRef.current(msg)) {
61646
62089
  reportStatus('loaded');
62090
+ initUEData();
61647
62091
  }
61648
62092
  preResolveMsgFromUE(msg);
61649
62093
  }, [initUEData, preResolveMsgFromUE, reportStatus, ueData.userId]);
@@ -61739,8 +62183,52 @@
61739
62183
  };
61740
62184
  }, [syncUEPreviewSize]);
61741
62185
  React.useEffect(function () {
62186
+ var previewWrap = uePreviewWrapRef.current;
62187
+ var currentVideo = null;
62188
+ var observer = null;
62189
+ var handleVideoReady = function handleVideoReady() {
62190
+ if (currentVideo && (currentVideo.readyState >= 2 || currentVideo.currentSrc)) {
62191
+ reportStatus('loaded');
62192
+ }
62193
+ };
62194
+ var bindVideo = function bindVideo() {
62195
+ var nextVideo = previewWrap ? previewWrap.querySelector('video') : null;
62196
+ if (nextVideo === currentVideo) {
62197
+ handleVideoReady();
62198
+ return;
62199
+ }
62200
+ if (currentVideo) {
62201
+ currentVideo.removeEventListener('loadeddata', handleVideoReady);
62202
+ currentVideo.removeEventListener('canplay', handleVideoReady);
62203
+ currentVideo.removeEventListener('playing', handleVideoReady);
62204
+ }
62205
+ currentVideo = nextVideo;
62206
+ if (currentVideo) {
62207
+ currentVideo.addEventListener('loadeddata', handleVideoReady);
62208
+ currentVideo.addEventListener('canplay', handleVideoReady);
62209
+ currentVideo.addEventListener('playing', handleVideoReady);
62210
+ handleVideoReady();
62211
+ }
62212
+ };
61742
62213
  reportStatus('loading');
61743
- return undefined;
62214
+ bindVideo();
62215
+ if (window.MutationObserver && previewWrap) {
62216
+ observer = new MutationObserver(bindVideo);
62217
+ observer.observe(previewWrap, {
62218
+ childList: true,
62219
+ subtree: true
62220
+ });
62221
+ }
62222
+ return function () {
62223
+ if (observer) {
62224
+ observer.disconnect();
62225
+ }
62226
+ if (currentVideo) {
62227
+ currentVideo.removeEventListener('loadeddata', handleVideoReady);
62228
+ currentVideo.removeEventListener('canplay', handleVideoReady);
62229
+ currentVideo.removeEventListener('playing', handleVideoReady);
62230
+ }
62231
+ };
61744
62232
  }, [reportStatus]);
61745
62233
  React.useEffect(function () {
61746
62234
  window.addEventListener('onReceiveMessage', handleReceiveMessage);
@@ -61790,7 +62278,6 @@
61790
62278
  schemeId = _ref.schemeId,
61791
62279
  schemeAction = _ref.schemeAction,
61792
62280
  onStatusChange = _ref.onStatusChange,
61793
- onCloudGameEntered = _ref.onCloudGameEntered,
61794
62281
  onSchemeJson = _ref.onSchemeJson,
61795
62282
  uePreviewRef = _ref.uePreviewRef;
61796
62283
  var desiredSessionKey = "".concat(schemeAction, "-").concat(schemeId);
@@ -61846,7 +62333,6 @@
61846
62333
  schemeId: renderedSession.schemeId,
61847
62334
  schemeAction: renderedSession.schemeAction,
61848
62335
  onStatusChange: onStatusChange,
61849
- onCloudGameEntered: onCloudGameEntered,
61850
62336
  onSchemeJson: onSchemeJson
61851
62337
  });
61852
62338
  }
@@ -61857,7 +62343,6 @@
61857
62343
  detailError = _ref2.detailError,
61858
62344
  sceneLoadStatus = _ref2.sceneLoadStatus,
61859
62345
  onStatusChange = _ref2.onStatusChange,
61860
- onCloudGameEntered = _ref2.onCloudGameEntered,
61861
62346
  onSchemeJson = _ref2.onSchemeJson,
61862
62347
  onSave = _ref2.onSave,
61863
62348
  onExport = _ref2.onExport,
@@ -61935,7 +62420,6 @@
61935
62420
  schemeId: renderSchemeId,
61936
62421
  schemeAction: renderSchemeAction,
61937
62422
  onStatusChange: onStatusChange,
61938
- onCloudGameEntered: onCloudGameEntered,
61939
62423
  onSchemeJson: onSchemeJson,
61940
62424
  uePreviewRef: uePreviewRef
61941
62425
  })));
@@ -61943,7 +62427,6 @@
61943
62427
 
61944
62428
  function MyScheme(props) {
61945
62429
  var dispatch = props.dispatch,
61946
- history = props.history,
61947
62430
  location = props.location,
61948
62431
  schemeWorkbench = props.schemeWorkbench;
61949
62432
  var douGongRenderPageNo = schemeWorkbench.douGongRenderPageNo,
@@ -61968,8 +62451,6 @@
61968
62451
  var previousListQueryRef = React.useRef('');
61969
62452
  var filterOptionsRequestedRef = React.useRef(false);
61970
62453
  var uePreviewRef = React.useRef(null);
61971
- var allowNextRouteRef = React.useRef(false);
61972
- var leaveConfirmRef = React.useRef(null);
61973
62454
  var _useState = React.useState(''),
61974
62455
  _useState2 = _slicedToArray(_useState, 2),
61975
62456
  searchText = _useState2[0],
@@ -62058,24 +62539,20 @@
62058
62539
  _useState42 = _slicedToArray(_useState41, 2),
62059
62540
  sceneLoadStatus = _useState42[0],
62060
62541
  setSceneLoadStatus = _useState42[1];
62061
- var _useState43 = React.useState(0),
62062
- _useState44 = _slicedToArray(_useState43, 2),
62063
- cloudGameEnteredAt = _useState44[0],
62064
- setCloudGameEnteredAt = _useState44[1];
62065
- var _useState45 = React.useState({
62542
+ var _useState43 = React.useState({
62066
62543
  name: '',
62067
62544
  customerName: '',
62068
62545
  phone: '',
62069
62546
  community: '',
62070
62547
  remark: ''
62071
62548
  }),
62549
+ _useState44 = _slicedToArray(_useState43, 2),
62550
+ saveForm = _useState44[0],
62551
+ setSaveForm = _useState44[1];
62552
+ var _useState45 = React.useState([]),
62072
62553
  _useState46 = _slicedToArray(_useState45, 2),
62073
- saveForm = _useState46[0],
62074
- setSaveForm = _useState46[1];
62075
- var _useState47 = React.useState([]),
62076
- _useState48 = _slicedToArray(_useState47, 2),
62077
- exportTableData = _useState48[0],
62078
- setExportTableData = _useState48[1];
62554
+ exportTableData = _useState46[0],
62555
+ setExportTableData = _useState46[1];
62079
62556
  var mySchemeListQuery = React.useMemo(function () {
62080
62557
  var keyword = searchText.trim();
62081
62558
  var isPlatformSchemeId = /^\d+$/.test(keyword);
@@ -62235,92 +62712,6 @@
62235
62712
  }, [activeSchemeId, location, schemes]);
62236
62713
  var activeSourceId = activeScheme ? activeScheme.sourceId || getQueryValue(location, 'sourceId') || getQueryValue(location, 'schemeId') : '';
62237
62714
  var activePlatformSchemeId = getQueryValue(location, 'mySchemeId') || getPlatformSchemeId(activeScheme);
62238
- var handleCloudGameEntered = React.useCallback(function () {
62239
- allowNextRouteRef.current = false;
62240
- setCloudGameEnteredAt(Date.now());
62241
- }, []);
62242
- var restoreCurrentRouteSelection = React.useCallback(function () {
62243
- var currentPath = location.pathname || '/myScheme';
62244
- window.dispatchEvent(new CustomEvent('onDecoratePageChange', {
62245
- detail: {
62246
- path: currentPath,
62247
- title: getMenuTitle(currentPath)
62248
- }
62249
- }));
62250
- }, [location.pathname]);
62251
- var confirmFastLeave = React.useCallback(function (proceed) {
62252
- if (!isWithinFastLeaveWindow(cloudGameEnteredAt)) {
62253
- proceed();
62254
- return;
62255
- }
62256
- if (leaveConfirmRef.current) return;
62257
- leaveConfirmRef.current = _Modal__default['default'].confirm({
62258
- title: '确认离开当前页面?',
62259
- content: '云游戏刚刚加载完成,是否确认立即离开?',
62260
- okText: '确认离开',
62261
- cancelText: '留在当前页',
62262
- onOk: function onOk() {
62263
- leaveConfirmRef.current = null;
62264
- proceed();
62265
- },
62266
- onCancel: function onCancel() {
62267
- leaveConfirmRef.current = null;
62268
- restoreCurrentRouteSelection();
62269
- if (!isWithinFastLeaveWindow(cloudGameEnteredAt)) {
62270
- setCloudGameEnteredAt(0);
62271
- }
62272
- }
62273
- });
62274
- }, [cloudGameEnteredAt, restoreCurrentRouteSelection]);
62275
- React.useEffect(function () {
62276
- if (!cloudGameEnteredAt || !history || typeof history.block !== 'function') {
62277
- return undefined;
62278
- }
62279
- var remainingTime = Math.max(0, CLOUD_GAME_FAST_LEAVE_WINDOW - (Date.now() - cloudGameEnteredAt));
62280
- var blockerActive = true;
62281
- var unblock = history.block(function (transition) {
62282
- var retryTransition = function retryTransition() {
62283
- if (!blockerActive) return;
62284
- blockerActive = false;
62285
- unblock();
62286
- transition.retry();
62287
- };
62288
- if (allowNextRouteRef.current) {
62289
- allowNextRouteRef.current = false;
62290
- retryTransition();
62291
- return;
62292
- }
62293
- if (!isWithinFastLeaveWindow(cloudGameEnteredAt)) {
62294
- setCloudGameEnteredAt(0);
62295
- retryTransition();
62296
- return;
62297
- }
62298
- confirmFastLeave(retryTransition);
62299
- });
62300
- var timer = window.setTimeout(function () {
62301
- if (leaveConfirmRef.current) return;
62302
- if (blockerActive) {
62303
- blockerActive = false;
62304
- unblock();
62305
- }
62306
- setCloudGameEnteredAt(0);
62307
- }, remainingTime);
62308
- return function () {
62309
- window.clearTimeout(timer);
62310
- if (blockerActive) {
62311
- blockerActive = false;
62312
- unblock();
62313
- }
62314
- };
62315
- }, [cloudGameEnteredAt, confirmFastLeave, history]);
62316
- React.useEffect(function () {
62317
- return function () {
62318
- if (leaveConfirmRef.current) {
62319
- leaveConfirmRef.current.destroy();
62320
- leaveConfirmRef.current = null;
62321
- }
62322
- };
62323
- }, []);
62324
62715
  var handleSaveFormChange = function handleSaveFormChange(field) {
62325
62716
  return function (e) {
62326
62717
  var value = e && e.target ? e.target.value : '';
@@ -62427,7 +62818,6 @@
62427
62818
  setExportScheme(null);
62428
62819
  setExportDownloadError('');
62429
62820
  setSceneLoadStatus('idle');
62430
- setCloudGameEnteredAt(0);
62431
62821
  exportRequestIdRef.current += 1;
62432
62822
  if (returnPath === '/douGongSchemeTemplate') {
62433
62823
  dispatch({
@@ -62480,13 +62870,6 @@
62480
62870
  return _ref.apply(this, arguments);
62481
62871
  };
62482
62872
  }();
62483
- var requestLeaveRenderView = function requestLeaveRenderView(returnLocation) {
62484
- var normalizedReturnLocation = returnLocation && returnLocation.nativeEvent ? location : returnLocation;
62485
- confirmFastLeave(function () {
62486
- allowNextRouteRef.current = true;
62487
- leaveRenderView(normalizedReturnLocation);
62488
- });
62489
- };
62490
62873
  var fetchExportMaterials = function fetchExportMaterials(scheme) {
62491
62874
  var requestId = exportRequestIdRef.current + 1;
62492
62875
  exportRequestIdRef.current = requestId;
@@ -62717,11 +63100,10 @@
62717
63100
  detailError: mySchemeDetailError,
62718
63101
  sceneLoadStatus: sceneLoadStatus,
62719
63102
  onStatusChange: setSceneLoadStatus,
62720
- onCloudGameEntered: handleCloudGameEntered,
62721
63103
  onSchemeJson: handleSchemeJsonFromUE,
62722
63104
  onSave: openSaveModal,
62723
63105
  onExport: openExportModal,
62724
- onLeave: requestLeaveRenderView,
63106
+ onLeave: leaveRenderView,
62725
63107
  onRetryDetail: retryRenderDetail,
62726
63108
  uePreviewRef: uePreviewRef
62727
63109
  }) : /*#__PURE__*/React__default['default'].createElement(MySchemeList, {
@@ -66346,7 +66728,7 @@
66346
66728
  var styles$t = {"wrap":"productMaterials-module_wrap__3jwSZ","pageHeader":"productMaterials-module_pageHeader__2GzkJ","pageTitle":"productMaterials-module_pageTitle__26FZk","pageSubtitle":"productMaterials-module_pageSubtitle__wlmsJ","headerActions":"productMaterials-module_headerActions__1LtVX","btnDark":"productMaterials-module_btnDark__3mqus","mainLayout":"productMaterials-module_mainLayout__3o3Pb","panelTitle":"productMaterials-module_panelTitle__1PQYC","categoryPanel":"productMaterials-module_categoryPanel__2i86D","categoryItem":"productMaterials-module_categoryItem__3Np4N","categoryItemActive":"productMaterials-module_categoryItemActive__1ZypV","categoryItemChild":"productMaterials-module_categoryItemChild__1iM6M","categoryItemIcon":"productMaterials-module_categoryItemIcon__12en-","categoryItemName":"productMaterials-module_categoryItemName__3mIUZ","categoryItemCount":"productMaterials-module_categoryItemCount__1Um7B","subCategoryList":"productMaterials-module_subCategoryList__1wzkG","subCategoryItem":"productMaterials-module_subCategoryItem__3SM6F","subCategoryName":"productMaterials-module_subCategoryName__30Hnv","brandPanel":"productMaterials-module_brandPanel__3x94D","brandFilterList":"productMaterials-module_brandFilterList__3IGV-","brandFilterItem":"productMaterials-module_brandFilterItem__3Wb21","brandFilterItemActive":"productMaterials-module_brandFilterItemActive__2aFqO","brandFilterLogo":"productMaterials-module_brandFilterLogo__3i4Z0","brandFilterLogoPlaceholder":"productMaterials-module_brandFilterLogoPlaceholder__2Zyqx","brandFilterName":"productMaterials-module_brandFilterName__3RNVU","materialPanel":"productMaterials-module_materialPanel__3qXkn","materialPanelHeader":"productMaterials-module_materialPanelHeader__2leEw","sortDisplay":"productMaterials-module_sortDisplay__2_ZBP","sortLabel":"productMaterials-module_sortLabel__1-h61","sortValue":"productMaterials-module_sortValue__3ahlu","materialTabs":"productMaterials-module_materialTabs__2Job3","materialTabActive":"productMaterials-module_materialTabActive__3x4Y4","materialCount":"productMaterials-module_materialCount__1QIjj","materialGrid":"productMaterials-module_materialGrid__2fBse","materialCard":"productMaterials-module_materialCard__2wYyR","cardImgWrap":"productMaterials-module_cardImgWrap__VFzt9","cardImg":"productMaterials-module_cardImg__XIbLe","cardImgPlaceholder":"productMaterials-module_cardImgPlaceholder__2vrMa","cardModelPlaceholder":"productMaterials-module_cardModelPlaceholder__2qU55","cardModelExt":"productMaterials-module_cardModelExt__165zy","cardModelHint":"productMaterials-module_cardModelHint__2qJEZ","cardMoreIcon":"productMaterials-module_cardMoreIcon__1lHfo","moreIcon":"productMaterials-module_moreIcon__29nnC","cardInfo":"productMaterials-module_cardInfo__21RwX","cardName":"productMaterials-module_cardName__38hFB","cardSub":"productMaterials-module_cardSub__1lQzN","cardMoreWrap":"productMaterials-module_cardMoreWrap__3rB9_","cardDropdown":"productMaterials-module_cardDropdown__2rRdj","cardDropdownItem":"productMaterials-module_cardDropdownItem__3bbe4","brandLogoImg":"productMaterials-module_brandLogoImg__2b7bX","brandLogoSm":"productMaterials-module_brandLogoSm__33_mg","brandLogoMd":"productMaterials-module_brandLogoMd__3wScP","brandLogoLg":"productMaterials-module_brandLogoLg__bFVwp","brandModal":"productMaterials-module_brandModal__1GZQK","brandModalInner":"productMaterials-module_brandModalInner__2sEc6","brandListPanel":"productMaterials-module_brandListPanel__10u5E","brandListHeader":"productMaterials-module_brandListHeader__1UvhS","brandListTitle":"productMaterials-module_brandListTitle__1Ivxk","brandListBody":"productMaterials-module_brandListBody__1iWdI","brandListItem":"productMaterials-module_brandListItem__2QVZL","brandListItemActive":"productMaterials-module_brandListItemActive__20sTG","brandListItemName":"productMaterials-module_brandListItemName__2rQYN","brandDetailPanel":"productMaterials-module_brandDetailPanel__3aG94","brandDetailTitle":"productMaterials-module_brandDetailTitle__2604W","brandDetailSubtitle":"productMaterials-module_brandDetailSubtitle__1fciS","brandFormRow":"productMaterials-module_brandFormRow__2igKh","brandFormLabel":"productMaterials-module_brandFormLabel__3d6TO","logoEditRow":"productMaterials-module_logoEditRow__3M061","myOptionDivider":"productMaterials-module_myOptionDivider__kSm9j","brandDetailFooter":"productMaterials-module_brandDetailFooter__1evwS","brandAvatar":"productMaterials-module_brandAvatar__2xrdy","sectionTitle":"productMaterials-module_sectionTitle__gEN6m","formRequiredMark":"productMaterials-module_formRequiredMark__1Vp8-","formRequiredMarkPlaceholder":"productMaterials-module_formRequiredMarkPlaceholder__X0q6e","formRow":"productMaterials-module_formRow__3Zswn","formRowLabel":"productMaterials-module_formRowLabel__3TF87","formRowField":"productMaterials-module_formRowField__1knJp","editLink":"productMaterials-module_editLink__2fr7f","uploadLink":"productMaterials-module_uploadLink__31icL","uploadProgress":"productMaterials-module_uploadProgress__3pOXj","uploadProgressBar":"productMaterials-module_uploadProgressBar__2kFwA","uploadProgressPct":"productMaterials-module_uploadProgressPct__3oUXa","uploadProgressText":"productMaterials-module_uploadProgressText__3dMNq","uploadSuccess":"productMaterials-module_uploadSuccess__27YQU","uploadedFileName":"productMaterials-module_uploadedFileName__2j6rw","uploadReplaceBtn":"productMaterials-module_uploadReplaceBtn__2hb4b","uploadFail":"productMaterials-module_uploadFail__1VUXi","uploadFailText":"productMaterials-module_uploadFailText__RXujm","modalFooter":"productMaterials-module_modalFooter__UQvZP","deleteConfirmText":"productMaterials-module_deleteConfirmText__1ickY","uploadModal":"productMaterials-module_uploadModal__3nLAW","newBrandModal":"productMaterials-module_newBrandModal__2x2Ug","deleteModal":"productMaterials-module_deleteModal__1JiEJ","newBrandFormRow":"productMaterials-module_newBrandFormRow__24e-t","newBrandFormLabel":"productMaterials-module_newBrandFormLabel__tmqHj","newBrandFormField":"productMaterials-module_newBrandFormField__pKQaX","newBrandUploadWrap":"productMaterials-module_newBrandUploadWrap__20SHw","newBrandUploadPlus":"productMaterials-module_newBrandUploadPlus__2JPf7","newBrandUploadText":"productMaterials-module_newBrandUploadText__yeXv9","newBrandLogoPreview":"productMaterials-module_newBrandLogoPreview__320Z8","newBrandCategoryRow":"productMaterials-module_newBrandCategoryRow__2-Ph1","newBrandSelect":"productMaterials-module_newBrandSelect__3Hgbu","newBrandInput":"productMaterials-module_newBrandInput__dMHCT","brandSelect":"productMaterials-module_brandSelect__zin5R","customModal":"productMaterials-module_customModal__1k8sq","customModalCentered":"productMaterials-module_customModalCentered__1jRYQ","customModalOpen":"productMaterials-module_customModalOpen__FJ0np","customModalMask":"productMaterials-module_customModalMask__3ZIG4","customModalContent":"productMaterials-module_customModalContent__1_YKi","customModalClosing":"productMaterials-module_customModalClosing__20vw3","customModalHeader":"productMaterials-module_customModalHeader__3IgW8","customModalTitle":"productMaterials-module_customModalTitle__3qToJ","customModalClose":"productMaterials-module_customModalClose__S12yZ","customModalBody":"productMaterials-module_customModalBody__13ZOO","customModalFooter":"productMaterials-module_customModalFooter__2CQnY"};
66347
66729
  styleInject(css_248z$v);
66348
66730
 
66349
- var ANIMATION_DURATION$4 = 200;
66731
+ var ANIMATION_DURATION$6 = 200;
66350
66732
  function CustomModal(_ref) {
66351
66733
  var visible = _ref.visible,
66352
66734
  openProp = _ref.open,
@@ -66381,7 +66763,7 @@
66381
66763
  setIsAnimatingIn(false);
66382
66764
  timer = window.setTimeout(function () {
66383
66765
  setShouldRender(false);
66384
- }, ANIMATION_DURATION$4);
66766
+ }, ANIMATION_DURATION$6);
66385
66767
  }
66386
66768
  return function () {
66387
66769
  if (timer) window.clearTimeout(timer);
@@ -68432,7 +68814,7 @@
68432
68814
  var styles$u = {"page":"authorization-module_page__2Ofk8","header":"authorization-module_header__uCs9E","primaryButton":"authorization-module_primaryButton__3tpCW","toolbar":"authorization-module_toolbar__2RHMi","activeFilter":"authorization-module_activeFilter__2O7gD","search":"authorization-module_search__1L8bf","statusLabel":"authorization-module_statusLabel__25Rbq","tableWrap":"authorization-module_tableWrap__2Qzto","ellipsisCell":"authorization-module_ellipsisCell__1IO_t","synced":"authorization-module_synced__3iAY2","pending":"authorization-module_pending__3WJ7C","manageButton":"authorization-module_manageButton__36VHn","modalOverlay":"authorization-module_modalOverlay__1n07a","modalMask":"authorization-module_modalMask__28i4w","modalPanel":"authorization-module_modalPanel__1ogLe","modalOverlayOpen":"authorization-module_modalOverlayOpen__3T9EX","modalHeader":"authorization-module_modalHeader__2tUlA","modalTitle":"authorization-module_modalTitle__1XpWN","modalClose":"authorization-module_modalClose__UqT6u","modalBody":"authorization-module_modalBody__1-w4v","modalFooter":"authorization-module_modalFooter__ySljO","formModal":"authorization-module_formModal__2ZDbR","credentialModal":"authorization-module_credentialModal__U9d9_","detailModal":"authorization-module_detailModal__3qA2R","detailContent":"authorization-module_detailContent__qMoPY","detailEmpty":"authorization-module_detailEmpty__3p-ot","detailSection":"authorization-module_detailSection__2TpQA","detailSectionHeader":"authorization-module_detailSectionHeader__OIr35","generatedApiKey":"authorization-module_generatedApiKey__2r52m","detailGrid":"authorization-module_detailGrid__2EgX5","detailItem":"authorization-module_detailItem__2qf5m","apiKeyTable":"authorization-module_apiKeyTable__ff7oi","apiKeyValue":"authorization-module_apiKeyValue__2uu3y","apiKeyActions":"authorization-module_apiKeyActions__2d73s","revokedText":"authorization-module_revokedText__3HHfh","modalDesc":"authorization-module_modalDesc__1O2Ct","formGrid":"authorization-module_formGrid__10vX2","scopeItem":"authorization-module_scopeItem__2Gq5U","credentialBox":"authorization-module_credentialBox__2tKVL","credentialRow":"authorization-module_credentialRow__3Jj3r","credentialLabel":"authorization-module_credentialLabel__1PH6d","credentialValue":"authorization-module_credentialValue__3jUGy","warning":"authorization-module_warning__To8FF"};
68433
68815
  styleInject(css_248z$w);
68434
68816
 
68435
- var ANIMATION_DURATION$5 = 180;
68817
+ var ANIMATION_DURATION$7 = 180;
68436
68818
  var INITIAL_FORM = {
68437
68819
  name: '',
68438
68820
  purpose: '',
@@ -68491,7 +68873,7 @@
68491
68873
  setIsOpen(false);
68492
68874
  timer = window.setTimeout(function () {
68493
68875
  setShouldRender(false);
68494
- }, ANIMATION_DURATION$5);
68876
+ }, ANIMATION_DURATION$7);
68495
68877
  }
68496
68878
  return function () {
68497
68879
  if (timer) {
@@ -72497,8 +72879,6 @@
72497
72879
  function getDouGongSchemeDetail() {
72498
72880
  return _getDouGongSchemeDetail.apply(this, arguments);
72499
72881
  }
72500
-
72501
- /** 保存平台方案 */
72502
72882
  function _getDouGongSchemeDetail() {
72503
72883
  _getDouGongSchemeDetail = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2() {
72504
72884
  var params,
@@ -72517,13 +72897,18 @@
72517
72897
  }));
72518
72898
  return _getDouGongSchemeDetail.apply(this, arguments);
72519
72899
  }
72520
- function saveSelfScheme() {
72521
- return _saveSelfScheme.apply(this, arguments);
72900
+ function toRequestId(value) {
72901
+ return value == null || value === '' ? undefined : String(value);
72522
72902
  }
72523
72903
 
72524
- /** 查询平台方案管理分页列表 */
72525
- function _saveSelfScheme() {
72526
- _saveSelfScheme = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee3() {
72904
+ /** 查询斗拱方案图纸列表 */
72905
+ function getDouGongDrawingList() {
72906
+ return _getDouGongDrawingList.apply(this, arguments);
72907
+ }
72908
+
72909
+ /** 发起图纸解析 */
72910
+ function _getDouGongDrawingList() {
72911
+ _getDouGongDrawingList = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee3() {
72527
72912
  var params,
72528
72913
  _args3 = arguments;
72529
72914
  return _regenerator().w(function (_context3) {
@@ -72531,12 +72916,87 @@
72531
72916
  case 0:
72532
72917
  params = _args3.length > 0 && _args3[0] !== undefined ? _args3[0] : {};
72533
72918
  return _context3.a(2, http({
72919
+ url: '/vbim-decoration-server/dgScheme/drawingList',
72920
+ method: 'post',
72921
+ data: {
72922
+ schemeId: toRequestId(params.schemeId)
72923
+ }
72924
+ }));
72925
+ }
72926
+ }, _callee3);
72927
+ }));
72928
+ return _getDouGongDrawingList.apply(this, arguments);
72929
+ }
72930
+ function translateDouGongDrawing() {
72931
+ return _translateDouGongDrawing.apply(this, arguments);
72932
+ }
72933
+
72934
+ /** 解析失败后重新解析图纸 */
72935
+ function _translateDouGongDrawing() {
72936
+ _translateDouGongDrawing = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee4() {
72937
+ var params,
72938
+ _args4 = arguments;
72939
+ return _regenerator().w(function (_context4) {
72940
+ while (1) switch (_context4.n) {
72941
+ case 0:
72942
+ params = _args4.length > 0 && _args4[0] !== undefined ? _args4[0] : {};
72943
+ return _context4.a(2, http({
72944
+ url: '/vbim-decoration-server/decoration/translate',
72945
+ method: 'post',
72946
+ data: {
72947
+ fileId: toRequestId(params.fileId)
72948
+ }
72949
+ }));
72950
+ }
72951
+ }, _callee4);
72952
+ }));
72953
+ return _translateDouGongDrawing.apply(this, arguments);
72954
+ }
72955
+ function reTranslateDouGongDrawing() {
72956
+ return _reTranslateDouGongDrawing.apply(this, arguments);
72957
+ }
72958
+
72959
+ /** 保存平台方案 */
72960
+ function _reTranslateDouGongDrawing() {
72961
+ _reTranslateDouGongDrawing = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee5() {
72962
+ var params,
72963
+ _args5 = arguments;
72964
+ return _regenerator().w(function (_context5) {
72965
+ while (1) switch (_context5.n) {
72966
+ case 0:
72967
+ params = _args5.length > 0 && _args5[0] !== undefined ? _args5[0] : {};
72968
+ return _context5.a(2, http({
72969
+ url: '/vbim-decoration-server/decoration/reTranslate',
72970
+ method: 'post',
72971
+ data: {
72972
+ fileId: toRequestId(params.fileId)
72973
+ }
72974
+ }));
72975
+ }
72976
+ }, _callee5);
72977
+ }));
72978
+ return _reTranslateDouGongDrawing.apply(this, arguments);
72979
+ }
72980
+ function saveSelfScheme() {
72981
+ return _saveSelfScheme.apply(this, arguments);
72982
+ }
72983
+
72984
+ /** 查询平台方案管理分页列表 */
72985
+ function _saveSelfScheme() {
72986
+ _saveSelfScheme = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee6() {
72987
+ var params,
72988
+ _args6 = arguments;
72989
+ return _regenerator().w(function (_context6) {
72990
+ while (1) switch (_context6.n) {
72991
+ case 0:
72992
+ params = _args6.length > 0 && _args6[0] !== undefined ? _args6[0] : {};
72993
+ return _context6.a(2, http({
72534
72994
  url: '/vbim-decoration-server/platformScheme/save',
72535
72995
  method: 'post',
72536
72996
  data: params
72537
72997
  }));
72538
72998
  }
72539
- }, _callee3);
72999
+ }, _callee6);
72540
73000
  }));
72541
73001
  return _saveSelfScheme.apply(this, arguments);
72542
73002
  }
@@ -72546,14 +73006,14 @@
72546
73006
 
72547
73007
  /** 查询平台方案“所有者”筛选选项 */
72548
73008
  function _getPlatformSchemePage() {
72549
- _getPlatformSchemePage = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee4() {
73009
+ _getPlatformSchemePage = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee7() {
72550
73010
  var params,
72551
73011
  data,
72552
- _args4 = arguments;
72553
- return _regenerator().w(function (_context4) {
72554
- while (1) switch (_context4.n) {
73012
+ _args7 = arguments;
73013
+ return _regenerator().w(function (_context7) {
73014
+ while (1) switch (_context7.n) {
72555
73015
  case 0:
72556
- params = _args4.length > 0 && _args4[0] !== undefined ? _args4[0] : {};
73016
+ params = _args7.length > 0 && _args7[0] !== undefined ? _args7[0] : {};
72557
73017
  data = {
72558
73018
  schemeName: String(params.schemeName || '').trim(),
72559
73019
  platformSchemeId: params.platformSchemeId == null ? null : params.platformSchemeId,
@@ -72564,13 +73024,13 @@
72564
73024
  status: params.status == null ? null : params.status,
72565
73025
  updateTimeFilter: params.updateTimeFilter || ''
72566
73026
  };
72567
- return _context4.a(2, http({
73027
+ return _context7.a(2, http({
72568
73028
  url: '/vbim-decoration-server/platformScheme/page',
72569
73029
  method: 'post',
72570
73030
  data: data
72571
73031
  }));
72572
73032
  }
72573
- }, _callee4);
73033
+ }, _callee7);
72574
73034
  }));
72575
73035
  return _getPlatformSchemePage.apply(this, arguments);
72576
73036
  }
@@ -72580,17 +73040,17 @@
72580
73040
 
72581
73041
  /** 查询平台方案“所属模版”筛选选项 */
72582
73042
  function _getPlatformOptions() {
72583
- _getPlatformOptions = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee5() {
72584
- return _regenerator().w(function (_context5) {
72585
- while (1) switch (_context5.n) {
73043
+ _getPlatformOptions = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee8() {
73044
+ return _regenerator().w(function (_context8) {
73045
+ while (1) switch (_context8.n) {
72586
73046
  case 0:
72587
- return _context5.a(2, http({
73047
+ return _context8.a(2, http({
72588
73048
  url: '/vbim-decoration-server/platform/listPlatforms',
72589
73049
  method: 'post',
72590
73050
  data: {}
72591
73051
  }));
72592
73052
  }
72593
- }, _callee5);
73053
+ }, _callee8);
72594
73054
  }));
72595
73055
  return _getPlatformOptions.apply(this, arguments);
72596
73056
  }
@@ -72600,17 +73060,17 @@
72600
73060
 
72601
73061
  /** 查询平台方案详情 */
72602
73062
  function _getDouGongSchemeOptions() {
72603
- _getDouGongSchemeOptions = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee6() {
72604
- return _regenerator().w(function (_context6) {
72605
- while (1) switch (_context6.n) {
73063
+ _getDouGongSchemeOptions = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee9() {
73064
+ return _regenerator().w(function (_context9) {
73065
+ while (1) switch (_context9.n) {
72606
73066
  case 0:
72607
- return _context6.a(2, http({
73067
+ return _context9.a(2, http({
72608
73068
  url: '/vbim-decoration-server/dgScheme/list',
72609
73069
  method: 'post',
72610
73070
  data: {}
72611
73071
  }));
72612
73072
  }
72613
- }, _callee6);
73073
+ }, _callee9);
72614
73074
  }));
72615
73075
  return _getDouGongSchemeOptions.apply(this, arguments);
72616
73076
  }
@@ -72620,20 +73080,20 @@
72620
73080
 
72621
73081
  /** 生成平台方案材料清单 */
72622
73082
  function _getPlatformSchemeDetail() {
72623
- _getPlatformSchemeDetail = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee7() {
73083
+ _getPlatformSchemeDetail = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee0() {
72624
73084
  var params,
72625
- _args7 = arguments;
72626
- return _regenerator().w(function (_context7) {
72627
- while (1) switch (_context7.n) {
73085
+ _args0 = arguments;
73086
+ return _regenerator().w(function (_context0) {
73087
+ while (1) switch (_context0.n) {
72628
73088
  case 0:
72629
- params = _args7.length > 0 && _args7[0] !== undefined ? _args7[0] : {};
72630
- return _context7.a(2, http({
73089
+ params = _args0.length > 0 && _args0[0] !== undefined ? _args0[0] : {};
73090
+ return _context0.a(2, http({
72631
73091
  url: '/vbim-decoration-server/platformScheme/detail',
72632
73092
  method: 'post',
72633
73093
  data: params
72634
73094
  }));
72635
73095
  }
72636
- }, _callee7);
73096
+ }, _callee0);
72637
73097
  }));
72638
73098
  return _getPlatformSchemeDetail.apply(this, arguments);
72639
73099
  }
@@ -72643,20 +73103,20 @@
72643
73103
 
72644
73104
  /** 导出平台方案材料清单 CSV */
72645
73105
  function _generatePlatformSchemeBill() {
72646
- _generatePlatformSchemeBill = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee8() {
73106
+ _generatePlatformSchemeBill = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee1() {
72647
73107
  var params,
72648
- _args8 = arguments;
72649
- return _regenerator().w(function (_context8) {
72650
- while (1) switch (_context8.n) {
73108
+ _args1 = arguments;
73109
+ return _regenerator().w(function (_context1) {
73110
+ while (1) switch (_context1.n) {
72651
73111
  case 0:
72652
- params = _args8.length > 0 && _args8[0] !== undefined ? _args8[0] : {};
72653
- return _context8.a(2, http({
73112
+ params = _args1.length > 0 && _args1[0] !== undefined ? _args1[0] : {};
73113
+ return _context1.a(2, http({
72654
73114
  url: '/vbim-decoration-server/platformScheme/generateBill',
72655
73115
  method: 'post',
72656
73116
  data: params
72657
73117
  }));
72658
73118
  }
72659
- }, _callee8);
73119
+ }, _callee1);
72660
73120
  }));
72661
73121
  return _generatePlatformSchemeBill.apply(this, arguments);
72662
73122
  }
@@ -72664,21 +73124,21 @@
72664
73124
  return _exportPlatformSchemeBill.apply(this, arguments);
72665
73125
  }
72666
73126
  function _exportPlatformSchemeBill() {
72667
- _exportPlatformSchemeBill = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee9() {
73127
+ _exportPlatformSchemeBill = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee10() {
72668
73128
  var params,
72669
- _args9 = arguments;
72670
- return _regenerator().w(function (_context9) {
72671
- while (1) switch (_context9.n) {
73129
+ _args10 = arguments;
73130
+ return _regenerator().w(function (_context10) {
73131
+ while (1) switch (_context10.n) {
72672
73132
  case 0:
72673
- params = _args9.length > 0 && _args9[0] !== undefined ? _args9[0] : {};
72674
- return _context9.a(2, http({
73133
+ params = _args10.length > 0 && _args10[0] !== undefined ? _args10[0] : {};
73134
+ return _context10.a(2, http({
72675
73135
  url: '/vbim-decoration-server/platformScheme/exportBill',
72676
73136
  method: 'post',
72677
73137
  data: params,
72678
73138
  responseType: 'blob'
72679
73139
  }));
72680
73140
  }
72681
- }, _callee9);
73141
+ }, _callee10);
72682
73142
  }));
72683
73143
  return _exportPlatformSchemeBill.apply(this, arguments);
72684
73144
  }
@@ -72687,6 +73147,7 @@
72687
73147
  var INITIAL_MY_SCHEMES = [];
72688
73148
  var douGongDetailRequestSeed = 0;
72689
73149
  var mySchemeListRequestSeed = 0;
73150
+ var douGongDrawingListRequestKeys = {};
72690
73151
 
72691
73152
  // TODO 接入渲染草稿创建接口后,用后台返回的草稿数据替换当前默认渲染模板。
72692
73153
  var RENDER_TEMPLATE = {
@@ -72961,7 +73422,11 @@
72961
73422
  defaultModelStatus: status === 'missingDefault' ? 'warning' : 'matched',
72962
73423
  syncedAt: item.updateTime && item.updateTime.indexOf(getTodayText()) === 0 ? 'today' : 'older',
72963
73424
  rooms: rooms,
72964
- components: []
73425
+ components: [],
73426
+ drawings: [],
73427
+ drawingCount: 0,
73428
+ drawingsSource: '',
73429
+ drawingsError: ''
72965
73430
  }, missingReplacementInfo), {}, {
72966
73431
  errorReason: status === 'failed' ? '斗拱方案加载失败,请查看后续失败原因接口返回。' : '',
72967
73432
  actionSuggestion: status === 'failed' ? '联系斗拱侧检查场景文件' : ''
@@ -72970,6 +73435,94 @@
72970
73435
  function normalizeRoomStatus(status) {
72971
73436
  return Number(status) === 1 ? 'ready' : 'pending';
72972
73437
  }
73438
+ function unwrapApiData(res, fallbackMessage) {
73439
+ var data = res && res.data;
73440
+ if (!data || Number(data.code) !== 200 || data.success === false) {
73441
+ throw new Error(data && data.message || fallbackMessage);
73442
+ }
73443
+ return data;
73444
+ }
73445
+ function normalizeEngineFileId(value) {
73446
+ if (value == null || value === '') return '';
73447
+ var text = String(value).trim();
73448
+ if (!text || text === 'null' || text === 'undefined') return '';
73449
+ return text;
73450
+ }
73451
+ function normalizeDrawingStatus() {
73452
+ var item = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
73453
+ var engineStatus = Number(item.fileEngineStatus == null ? item.engineStatus : item.fileEngineStatus);
73454
+ if (engineStatus === FILE_ENGINE_STATUS.SUCCESS) return DRAWING_STATUS.SUCCESS;
73455
+ if (engineStatus === FILE_ENGINE_STATUS.FAILED) return DRAWING_STATUS.FAILED;
73456
+ if (engineStatus === FILE_ENGINE_STATUS.PROCESSING) {
73457
+ return DRAWING_STATUS.PROCESSING;
73458
+ }
73459
+ if (engineStatus === FILE_ENGINE_STATUS.PENDING) return DRAWING_STATUS.PENDING;
73460
+ if (normalizeEngineFileId(item.engineFileId)) return DRAWING_STATUS.SUCCESS;
73461
+ return DRAWING_STATUS.PENDING;
73462
+ }
73463
+ function normalizeDrawing() {
73464
+ var item = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
73465
+ var index = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
73466
+ var status = normalizeDrawingStatus(item);
73467
+ var engineFileId = normalizeEngineFileId(item.engineFileId);
73468
+ return {
73469
+ id: String(item.fileId || item.id || item.drawingId || 'drawing-' + index),
73470
+ name: item.fileName || item.name || item.dwgName || '未命名图纸.dwg',
73471
+ syncedAt: item.createrTime || item.syncedAt || item.syncTime || item.updateTime || '--',
73472
+ status: status,
73473
+ fileEngineStatus: item.fileEngineStatus,
73474
+ engineFileId: engineFileId,
73475
+ downloadUrl: item.downloadUrl || item.fileUrl || item.dwgUrl || item.url || '',
73476
+ parsable: status === DRAWING_STATUS.PENDING,
73477
+ retryable: status === DRAWING_STATUS.FAILED
73478
+ };
73479
+ }
73480
+ function normalizeDrawings(rawList) {
73481
+ if (!Array.isArray(rawList)) {
73482
+ return {
73483
+ drawings: [],
73484
+ drawingsSource: 'api'
73485
+ };
73486
+ }
73487
+ return {
73488
+ drawings: rawList.map(normalizeDrawing),
73489
+ drawingsSource: 'api'
73490
+ };
73491
+ }
73492
+ function nextDouGongDrawingListRequestKey(schemeId) {
73493
+ var key = String(schemeId || '');
73494
+ douGongDrawingListRequestKeys[key] = (douGongDrawingListRequestKeys[key] || 0) + 1;
73495
+ return douGongDrawingListRequestKeys[key];
73496
+ }
73497
+ function isLatestDouGongDrawingListRequest(schemeId, requestKey) {
73498
+ return douGongDrawingListRequestKeys[String(schemeId || '')] === requestKey;
73499
+ }
73500
+ function isStickyProcessingActive(drawing) {
73501
+ var startedAt = drawing && drawing.processingStartedAt;
73502
+ return startedAt > 0 && Date.now() - startedAt < DRAWING_STICKY_PROCESSING_MS;
73503
+ }
73504
+ function keepLocalProcessingDrawings() {
73505
+ var previousDrawings = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
73506
+ var nextDrawings = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
73507
+ return nextDrawings.map(function (item) {
73508
+ var previous = previousDrawings.find(function (current) {
73509
+ return current.id === item.id;
73510
+ });
73511
+ if (!previous) return item;
73512
+ if (previous.status === DRAWING_STATUS.SUCCESS && previous.engineFileId && item.status !== DRAWING_STATUS.SUCCESS && item.status !== DRAWING_STATUS.FAILED) {
73513
+ return previous;
73514
+ }
73515
+ if (previous.status === DRAWING_STATUS.PROCESSING && item.status === DRAWING_STATUS.PENDING && isStickyProcessingActive(previous)) {
73516
+ return _objectSpread2(_objectSpread2({}, item), {}, {
73517
+ status: DRAWING_STATUS.PROCESSING,
73518
+ parsable: false,
73519
+ retryable: false,
73520
+ processingStartedAt: previous.processingStartedAt
73521
+ });
73522
+ }
73523
+ return item;
73524
+ });
73525
+ }
72973
73526
  function normalizeDouGongDetail() {
72974
73527
  var item = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
72975
73528
  var detailScheme = normalizeDouGongScheme(item);
@@ -73026,6 +73579,7 @@
73026
73579
  defaultModelStatus: hasUnboundComponent ? 'warning' : 'matched',
73027
73580
  hasUnboundComponent: hasUnboundComponent
73028
73581
  }, detailMissingReplacementInfo), {}, {
73582
+ drawingCount: item.drawingCount == null ? 0 : Number(item.drawingCount) || 0,
73029
73583
  detailLoaded: true
73030
73584
  });
73031
73585
  }
@@ -73309,7 +73863,7 @@
73309
73863
  var put = _ref4.put,
73310
73864
  call = _ref4.call;
73311
73865
  return /*#__PURE__*/_regenerator().m(function _callee2() {
73312
- var requestKey, res, data, detail, _t2;
73866
+ var requestKey, res, data, detail, listRequestKey, drawingPatch, listRes, listData, _t2, _t3;
73313
73867
  return _regenerator().w(function (_context2) {
73314
73868
  while (1) switch (_context2.p = _context2.n) {
73315
73869
  case 0:
@@ -73337,51 +73891,280 @@
73337
73891
  throw new Error((data === null || data === void 0 ? void 0 : data.message) || '获取斗拱方案详情失败');
73338
73892
  case 3:
73339
73893
  detail = normalizeDouGongDetail((data === null || data === void 0 ? void 0 : data.value) || {});
73340
- _context2.n = 4;
73894
+ listRequestKey = nextDouGongDrawingListRequestKey(payload.schemeId);
73895
+ drawingPatch = null;
73896
+ _context2.p = 4;
73897
+ _context2.n = 5;
73898
+ return call(getDouGongDrawingList, {
73899
+ schemeId: payload.schemeId
73900
+ });
73901
+ case 5:
73902
+ listRes = _context2.v;
73903
+ listData = unwrapApiData(listRes, '获取斗拱方案图纸失败');
73904
+ if (isLatestDouGongDrawingListRequest(payload.schemeId, listRequestKey)) {
73905
+ drawingPatch = _objectSpread2(_objectSpread2({}, normalizeDrawings(listData.value)), {}, {
73906
+ drawingsError: ''
73907
+ });
73908
+ if (!detail.drawingCount) {
73909
+ detail.drawingCount = drawingPatch.drawings.length;
73910
+ }
73911
+ }
73912
+ _context2.n = 7;
73913
+ break;
73914
+ case 6:
73915
+ _context2.p = 6;
73916
+ _t2 = _context2.v;
73917
+ if (isLatestDouGongDrawingListRequest(payload.schemeId, listRequestKey)) {
73918
+ drawingPatch = {
73919
+ drawings: [],
73920
+ drawingsSource: 'api',
73921
+ drawingsError: _t2.message || '获取斗拱方案图纸失败'
73922
+ };
73923
+ }
73924
+ case 7:
73925
+ _context2.n = 8;
73341
73926
  return put({
73342
73927
  type: 'resolveDouGongDetailRequest',
73343
73928
  payload: {
73344
73929
  requestKey: requestKey,
73345
73930
  id: payload.schemeId,
73346
- patch: detail
73931
+ patch: _objectSpread2(_objectSpread2({}, detail), drawingPatch || {})
73347
73932
  }
73348
73933
  });
73349
- case 4:
73934
+ case 8:
73350
73935
  return _context2.a(2, data);
73351
- case 5:
73352
- _context2.p = 5;
73353
- _t2 = _context2.v;
73354
- _context2.n = 6;
73936
+ case 9:
73937
+ _context2.p = 9;
73938
+ _t3 = _context2.v;
73939
+ _context2.n = 10;
73355
73940
  return put({
73356
73941
  type: 'rejectDouGongDetailRequest',
73357
73942
  payload: {
73358
73943
  requestKey: requestKey,
73359
- error: _t2.message || '获取斗拱方案详情失败'
73944
+ error: _t3.message || '获取斗拱方案详情失败'
73360
73945
  }
73361
73946
  });
73362
- case 6:
73947
+ case 10:
73363
73948
  return _context2.a(2);
73364
73949
  }
73365
- }, _callee2, null, [[1, 5]]);
73950
+ }, _callee2, null, [[4, 6], [1, 9]]);
73366
73951
  })();
73367
73952
  },
73368
- // TODO 同步斗拱方案真实接口待接入;当前页面仅通过重新查询列表完成前端反馈。
73369
- ensureRenderScheme: function ensureRenderScheme(_ref5, _ref6) {
73370
- var payload = _ref5.payload;
73371
- var put = _ref6.put,
73953
+ fetchDouGongDrawings: function fetchDouGongDrawings(_ref5, _ref6) {
73954
+ var _ref5$payload = _ref5.payload,
73955
+ payload = _ref5$payload === void 0 ? {} : _ref5$payload;
73956
+ var call = _ref6.call,
73957
+ put = _ref6.put,
73372
73958
  select = _ref6.select;
73373
73959
  return /*#__PURE__*/_regenerator().m(function _callee3() {
73374
- var _yield$select2, mySchemes, renderSchemeId, existingRenderScheme, existingScheme;
73960
+ var schemeId, requestKey, res, data, patch, _yield$select2, douGongSchemes, scheme, drawings, error, _t4;
73375
73961
  return _regenerator().w(function (_context3) {
73376
- while (1) switch (_context3.n) {
73962
+ while (1) switch (_context3.p = _context3.n) {
73377
73963
  case 0:
73378
- _context3.n = 1;
73964
+ schemeId = payload.schemeId;
73965
+ if (schemeId) {
73966
+ _context3.n = 1;
73967
+ break;
73968
+ }
73969
+ return _context3.a(2);
73970
+ case 1:
73971
+ requestKey = nextDouGongDrawingListRequestKey(schemeId);
73972
+ _context3.p = 2;
73973
+ _context3.n = 3;
73974
+ return call(getDouGongDrawingList, {
73975
+ schemeId: schemeId
73976
+ });
73977
+ case 3:
73978
+ res = _context3.v;
73979
+ data = unwrapApiData(res, '获取斗拱方案图纸失败');
73980
+ if (isLatestDouGongDrawingListRequest(schemeId, requestKey)) {
73981
+ _context3.n = 4;
73982
+ break;
73983
+ }
73984
+ return _context3.a(2, data);
73985
+ case 4:
73986
+ patch = normalizeDrawings(data.value);
73987
+ _context3.n = 5;
73379
73988
  return select(function (state) {
73380
73989
  return state.schemeWorkbench;
73381
73990
  });
73382
- case 1:
73991
+ case 5:
73383
73992
  _yield$select2 = _context3.v;
73384
- mySchemes = _yield$select2.mySchemes;
73993
+ douGongSchemes = _yield$select2.douGongSchemes;
73994
+ scheme = douGongSchemes.find(function (item) {
73995
+ return item.id === schemeId;
73996
+ });
73997
+ drawings = keepLocalProcessingDrawings(scheme && scheme.drawings || [], patch.drawings);
73998
+ _context3.n = 6;
73999
+ return put({
74000
+ type: 'updateDouGongScheme',
74001
+ payload: {
74002
+ id: schemeId,
74003
+ patch: _objectSpread2(_objectSpread2({}, patch), {}, {
74004
+ drawings: drawings,
74005
+ drawingsError: '',
74006
+ drawingCount: drawings.length || scheme && scheme.drawingCount || 0
74007
+ })
74008
+ }
74009
+ });
74010
+ case 6:
74011
+ return _context3.a(2, patch);
74012
+ case 7:
74013
+ _context3.p = 7;
74014
+ _t4 = _context3.v;
74015
+ error = _t4.message || '获取斗拱方案图纸失败';
74016
+ if (!isLatestDouGongDrawingListRequest(schemeId, requestKey)) {
74017
+ _context3.n = 8;
74018
+ break;
74019
+ }
74020
+ _context3.n = 8;
74021
+ return put({
74022
+ type: 'updateDouGongScheme',
74023
+ payload: {
74024
+ id: schemeId,
74025
+ patch: {
74026
+ drawingsError: error
74027
+ }
74028
+ }
74029
+ });
74030
+ case 8:
74031
+ return _context3.a(2, {
74032
+ error: error
74033
+ });
74034
+ }
74035
+ }, _callee3, null, [[2, 7]]);
74036
+ })();
74037
+ },
74038
+ startDouGongDrawingTranslate: function startDouGongDrawingTranslate(_ref7, _ref8) {
74039
+ var _ref7$payload = _ref7.payload,
74040
+ payload = _ref7$payload === void 0 ? {} : _ref7$payload;
74041
+ var call = _ref8.call,
74042
+ put = _ref8.put,
74043
+ select = _ref8.select;
74044
+ return /*#__PURE__*/_regenerator().m(function _callee4() {
74045
+ var schemeId, drawingId, retry, _yield$select3, douGongSchemes, scheme, drawing, previousStatus, request, res, current, latestScheme, _t5;
74046
+ return _regenerator().w(function (_context4) {
74047
+ while (1) switch (_context4.p = _context4.n) {
74048
+ case 0:
74049
+ schemeId = payload.schemeId;
74050
+ drawingId = payload.drawingId || payload.fileId;
74051
+ retry = payload.retry === true;
74052
+ if (!(!schemeId || !drawingId)) {
74053
+ _context4.n = 1;
74054
+ break;
74055
+ }
74056
+ return _context4.a(2);
74057
+ case 1:
74058
+ _context4.n = 2;
74059
+ return select(function (state) {
74060
+ return state.schemeWorkbench;
74061
+ });
74062
+ case 2:
74063
+ _yield$select3 = _context4.v;
74064
+ douGongSchemes = _yield$select3.douGongSchemes;
74065
+ scheme = douGongSchemes.find(function (item) {
74066
+ return item.id === schemeId;
74067
+ });
74068
+ drawing = (scheme && scheme.drawings || []).find(function (item) {
74069
+ return item.id === drawingId;
74070
+ });
74071
+ if (drawing) {
74072
+ _context4.n = 3;
74073
+ break;
74074
+ }
74075
+ return _context4.a(2);
74076
+ case 3:
74077
+ previousStatus = drawing.status;
74078
+ _context4.n = 4;
74079
+ return put({
74080
+ type: 'updateDouGongScheme',
74081
+ payload: {
74082
+ id: schemeId,
74083
+ patch: {
74084
+ drawings: (scheme.drawings || []).map(function (item) {
74085
+ return item.id === drawingId ? _objectSpread2(_objectSpread2({}, item), {}, {
74086
+ status: DRAWING_STATUS.PROCESSING,
74087
+ parsable: false,
74088
+ retryable: false,
74089
+ processingStartedAt: Date.now()
74090
+ }) : item;
74091
+ })
74092
+ }
74093
+ }
74094
+ });
74095
+ case 4:
74096
+ _context4.p = 4;
74097
+ request = retry ? reTranslateDouGongDrawing : translateDouGongDrawing;
74098
+ _context4.n = 5;
74099
+ return call(request, {
74100
+ fileId: drawingId
74101
+ });
74102
+ case 5:
74103
+ res = _context4.v;
74104
+ unwrapApiData(res, retry ? '图纸重新解析失败' : '图纸发起解析失败');
74105
+ _context4.n = 6;
74106
+ return put({
74107
+ type: 'fetchDouGongDrawings',
74108
+ payload: {
74109
+ schemeId: schemeId
74110
+ }
74111
+ });
74112
+ case 6:
74113
+ return _context4.a(2, true);
74114
+ case 7:
74115
+ _context4.p = 7;
74116
+ _t5 = _context4.v;
74117
+ _context4.n = 8;
74118
+ return select(function (state) {
74119
+ return state.schemeWorkbench;
74120
+ });
74121
+ case 8:
74122
+ current = _context4.v;
74123
+ latestScheme = current.douGongSchemes.find(function (item) {
74124
+ return item.id === schemeId;
74125
+ });
74126
+ _context4.n = 9;
74127
+ return put({
74128
+ type: 'updateDouGongScheme',
74129
+ payload: {
74130
+ id: schemeId,
74131
+ patch: {
74132
+ drawings: (latestScheme && latestScheme.drawings || []).map(function (item) {
74133
+ return item.id === drawingId ? _objectSpread2(_objectSpread2({}, item), {}, {
74134
+ status: previousStatus,
74135
+ parsable: previousStatus === DRAWING_STATUS.PENDING,
74136
+ retryable: previousStatus === DRAWING_STATUS.FAILED,
74137
+ processingStartedAt: 0
74138
+ }) : item;
74139
+ })
74140
+ }
74141
+ }
74142
+ });
74143
+ case 9:
74144
+ return _context4.a(2, {
74145
+ error: _t5.message || (retry ? '图纸重新解析失败' : '图纸发起解析失败')
74146
+ });
74147
+ }
74148
+ }, _callee4, null, [[4, 7]]);
74149
+ })();
74150
+ },
74151
+ // TODO 同步斗拱方案真实接口待接入;当前页面仅通过重新查询列表完成前端反馈。
74152
+ ensureRenderScheme: function ensureRenderScheme(_ref9, _ref0) {
74153
+ var payload = _ref9.payload;
74154
+ var put = _ref0.put,
74155
+ select = _ref0.select;
74156
+ return /*#__PURE__*/_regenerator().m(function _callee5() {
74157
+ var _yield$select4, mySchemes, renderSchemeId, existingRenderScheme, existingScheme;
74158
+ return _regenerator().w(function (_context5) {
74159
+ while (1) switch (_context5.n) {
74160
+ case 0:
74161
+ _context5.n = 1;
74162
+ return select(function (state) {
74163
+ return state.schemeWorkbench;
74164
+ });
74165
+ case 1:
74166
+ _yield$select4 = _context5.v;
74167
+ mySchemes = _yield$select4.mySchemes;
73385
74168
  renderSchemeId = getRenderSchemeId(payload.sourceId);
73386
74169
  existingRenderScheme = mySchemes.find(function (item) {
73387
74170
  return item.id === renderSchemeId;
@@ -73390,48 +74173,48 @@
73390
74173
  return item.sourceId === payload.sourceId;
73391
74174
  });
73392
74175
  if (!existingRenderScheme) {
73393
- _context3.n = 2;
74176
+ _context5.n = 2;
73394
74177
  break;
73395
74178
  }
73396
- return _context3.a(2);
74179
+ return _context5.a(2);
73397
74180
  case 2:
73398
74181
  if (!(existingScheme && !payload.forceNew)) {
73399
- _context3.n = 3;
74182
+ _context5.n = 3;
73400
74183
  break;
73401
74184
  }
73402
- return _context3.a(2);
74185
+ return _context5.a(2);
73403
74186
  case 3:
73404
- _context3.n = 4;
74187
+ _context5.n = 4;
73405
74188
  return put({
73406
74189
  type: 'prependMyScheme',
73407
74190
  payload: buildRenderScheme(payload.sourceId)
73408
74191
  });
73409
74192
  case 4:
73410
- return _context3.a(2);
74193
+ return _context5.a(2);
73411
74194
  }
73412
- }, _callee3);
74195
+ }, _callee5);
73413
74196
  })();
73414
74197
  },
73415
- fetchMySchemes: function fetchMySchemes(_ref7, _ref8) {
73416
- var _ref7$payload = _ref7.payload,
73417
- payload = _ref7$payload === void 0 ? {} : _ref7$payload;
73418
- var put = _ref8.put,
73419
- call = _ref8.call,
73420
- select = _ref8.select;
73421
- return /*#__PURE__*/_regenerator().m(function _callee4() {
73422
- var _yield$select3, mySchemePagination, requestKey, condition, conditionIsPlatformSchemeId, hasPlatformSchemeId, res, data, value, _t3;
73423
- return _regenerator().w(function (_context4) {
73424
- while (1) switch (_context4.p = _context4.n) {
74198
+ fetchMySchemes: function fetchMySchemes(_ref1, _ref10) {
74199
+ var _ref1$payload = _ref1.payload,
74200
+ payload = _ref1$payload === void 0 ? {} : _ref1$payload;
74201
+ var put = _ref10.put,
74202
+ call = _ref10.call,
74203
+ select = _ref10.select;
74204
+ return /*#__PURE__*/_regenerator().m(function _callee6() {
74205
+ var _yield$select5, mySchemePagination, requestKey, condition, conditionIsPlatformSchemeId, hasPlatformSchemeId, res, data, value, _t6;
74206
+ return _regenerator().w(function (_context6) {
74207
+ while (1) switch (_context6.p = _context6.n) {
73425
74208
  case 0:
73426
- _context4.n = 1;
74209
+ _context6.n = 1;
73427
74210
  return select(function (state) {
73428
74211
  return state.schemeWorkbench;
73429
74212
  });
73430
74213
  case 1:
73431
- _yield$select3 = _context4.v;
73432
- mySchemePagination = _yield$select3.mySchemePagination;
74214
+ _yield$select5 = _context6.v;
74215
+ mySchemePagination = _yield$select5.mySchemePagination;
73433
74216
  requestKey = ++mySchemeListRequestSeed;
73434
- _context4.n = 2;
74217
+ _context6.n = 2;
73435
74218
  return put({
73436
74219
  type: 'startMySchemeListRequest',
73437
74220
  payload: {
@@ -73439,11 +74222,11 @@
73439
74222
  }
73440
74223
  });
73441
74224
  case 2:
73442
- _context4.p = 2;
74225
+ _context6.p = 2;
73443
74226
  condition = String(payload.condition || '').trim();
73444
74227
  conditionIsPlatformSchemeId = /^\d+$/.test(condition);
73445
74228
  hasPlatformSchemeId = Object.prototype.hasOwnProperty.call(payload, 'platformSchemeId');
73446
- _context4.n = 3;
74229
+ _context6.n = 3;
73447
74230
  return call(getPlatformSchemePage, {
73448
74231
  schemeName: payload.schemeName || (!conditionIsPlatformSchemeId ? condition : ''),
73449
74232
  platformSchemeId: hasPlatformSchemeId ? payload.platformSchemeId : conditionIsPlatformSchemeId ? condition : null,
@@ -73455,16 +74238,16 @@
73455
74238
  updateTimeFilter: payload.updateTimeFilter || ''
73456
74239
  });
73457
74240
  case 3:
73458
- res = _context4.v;
74241
+ res = _context6.v;
73459
74242
  data = res === null || res === void 0 ? void 0 : res.data;
73460
74243
  if (!((data === null || data === void 0 ? void 0 : data.code) !== 200 || (data === null || data === void 0 ? void 0 : data.success) === false)) {
73461
- _context4.n = 4;
74244
+ _context6.n = 4;
73462
74245
  break;
73463
74246
  }
73464
74247
  throw new Error((data === null || data === void 0 ? void 0 : data.message) || '获取平台方案列表失败');
73465
74248
  case 4:
73466
74249
  value = (data === null || data === void 0 ? void 0 : data.value) || {};
73467
- _context4.n = 5;
74250
+ _context6.n = 5;
73468
74251
  return put({
73469
74252
  type: 'resolveMySchemeListRequest',
73470
74253
  payload: {
@@ -73479,33 +74262,33 @@
73479
74262
  }
73480
74263
  });
73481
74264
  case 5:
73482
- return _context4.a(2, data);
74265
+ return _context6.a(2, data);
73483
74266
  case 6:
73484
- _context4.p = 6;
73485
- _t3 = _context4.v;
73486
- _context4.n = 7;
74267
+ _context6.p = 6;
74268
+ _t6 = _context6.v;
74269
+ _context6.n = 7;
73487
74270
  return put({
73488
74271
  type: 'rejectMySchemeListRequest',
73489
74272
  payload: {
73490
74273
  requestKey: requestKey,
73491
- error: _t3.message || '获取我的方案列表失败'
74274
+ error: _t6.message || '获取我的方案列表失败'
73492
74275
  }
73493
74276
  });
73494
74277
  case 7:
73495
- return _context4.a(2);
74278
+ return _context6.a(2);
73496
74279
  }
73497
- }, _callee4, null, [[2, 6]]);
74280
+ }, _callee6, null, [[2, 6]]);
73498
74281
  })();
73499
74282
  },
73500
- fetchMySchemePlatformOptions: function fetchMySchemePlatformOptions(_, _ref9) {
73501
- var put = _ref9.put,
73502
- call = _ref9.call;
73503
- return /*#__PURE__*/_regenerator().m(function _callee5() {
73504
- var res, data, _t4;
73505
- return _regenerator().w(function (_context5) {
73506
- while (1) switch (_context5.p = _context5.n) {
74283
+ fetchMySchemePlatformOptions: function fetchMySchemePlatformOptions(_, _ref11) {
74284
+ var put = _ref11.put,
74285
+ call = _ref11.call;
74286
+ return /*#__PURE__*/_regenerator().m(function _callee7() {
74287
+ var res, data, _t7;
74288
+ return _regenerator().w(function (_context7) {
74289
+ while (1) switch (_context7.p = _context7.n) {
73507
74290
  case 0:
73508
- _context5.n = 1;
74291
+ _context7.n = 1;
73509
74292
  return put({
73510
74293
  type: 'updateState',
73511
74294
  payload: {
@@ -73513,19 +74296,19 @@
73513
74296
  }
73514
74297
  });
73515
74298
  case 1:
73516
- _context5.p = 1;
73517
- _context5.n = 2;
74299
+ _context7.p = 1;
74300
+ _context7.n = 2;
73518
74301
  return call(getPlatformOptions);
73519
74302
  case 2:
73520
- res = _context5.v;
74303
+ res = _context7.v;
73521
74304
  data = res === null || res === void 0 ? void 0 : res.data;
73522
74305
  if (!((data === null || data === void 0 ? void 0 : data.code) !== 200 || (data === null || data === void 0 ? void 0 : data.success) === false)) {
73523
- _context5.n = 3;
74306
+ _context7.n = 3;
73524
74307
  break;
73525
74308
  }
73526
74309
  throw new Error((data === null || data === void 0 ? void 0 : data.message) || '获取所有者筛选项失败');
73527
74310
  case 3:
73528
- _context5.n = 4;
74311
+ _context7.n = 4;
73529
74312
  return put({
73530
74313
  type: 'updateState',
73531
74314
  payload: {
@@ -73534,12 +74317,12 @@
73534
74317
  }
73535
74318
  });
73536
74319
  case 4:
73537
- _context5.n = 6;
74320
+ _context7.n = 6;
73538
74321
  break;
73539
74322
  case 5:
73540
- _context5.p = 5;
73541
- _t4 = _context5.v;
73542
- _context5.n = 6;
74323
+ _context7.p = 5;
74324
+ _t7 = _context7.v;
74325
+ _context7.n = 6;
73543
74326
  return put({
73544
74327
  type: 'updateState',
73545
74328
  payload: {
@@ -73548,20 +74331,20 @@
73548
74331
  }
73549
74332
  });
73550
74333
  case 6:
73551
- return _context5.a(2);
74334
+ return _context7.a(2);
73552
74335
  }
73553
- }, _callee5, null, [[1, 5]]);
74336
+ }, _callee7, null, [[1, 5]]);
73554
74337
  })();
73555
74338
  },
73556
- fetchMySchemeTemplateOptions: function fetchMySchemeTemplateOptions(_, _ref0) {
73557
- var put = _ref0.put,
73558
- call = _ref0.call;
73559
- return /*#__PURE__*/_regenerator().m(function _callee6() {
73560
- var res, data, _t5;
73561
- return _regenerator().w(function (_context6) {
73562
- while (1) switch (_context6.p = _context6.n) {
74339
+ fetchMySchemeTemplateOptions: function fetchMySchemeTemplateOptions(_, _ref12) {
74340
+ var put = _ref12.put,
74341
+ call = _ref12.call;
74342
+ return /*#__PURE__*/_regenerator().m(function _callee8() {
74343
+ var res, data, _t8;
74344
+ return _regenerator().w(function (_context8) {
74345
+ while (1) switch (_context8.p = _context8.n) {
73563
74346
  case 0:
73564
- _context6.n = 1;
74347
+ _context8.n = 1;
73565
74348
  return put({
73566
74349
  type: 'updateState',
73567
74350
  payload: {
@@ -73569,19 +74352,19 @@
73569
74352
  }
73570
74353
  });
73571
74354
  case 1:
73572
- _context6.p = 1;
73573
- _context6.n = 2;
74355
+ _context8.p = 1;
74356
+ _context8.n = 2;
73574
74357
  return call(getDouGongSchemeOptions);
73575
74358
  case 2:
73576
- res = _context6.v;
74359
+ res = _context8.v;
73577
74360
  data = res === null || res === void 0 ? void 0 : res.data;
73578
74361
  if (!((data === null || data === void 0 ? void 0 : data.code) !== 200 || (data === null || data === void 0 ? void 0 : data.success) === false)) {
73579
- _context6.n = 3;
74362
+ _context8.n = 3;
73580
74363
  break;
73581
74364
  }
73582
74365
  throw new Error((data === null || data === void 0 ? void 0 : data.message) || '获取所属模版筛选项失败');
73583
74366
  case 3:
73584
- _context6.n = 4;
74367
+ _context8.n = 4;
73585
74368
  return put({
73586
74369
  type: 'updateState',
73587
74370
  payload: {
@@ -73590,12 +74373,12 @@
73590
74373
  }
73591
74374
  });
73592
74375
  case 4:
73593
- _context6.n = 6;
74376
+ _context8.n = 6;
73594
74377
  break;
73595
74378
  case 5:
73596
- _context6.p = 5;
73597
- _t5 = _context6.v;
73598
- _context6.n = 6;
74379
+ _context8.p = 5;
74380
+ _t8 = _context8.v;
74381
+ _context8.n = 6;
73599
74382
  return put({
73600
74383
  type: 'updateState',
73601
74384
  payload: {
@@ -73604,22 +74387,22 @@
73604
74387
  }
73605
74388
  });
73606
74389
  case 6:
73607
- return _context6.a(2);
74390
+ return _context8.a(2);
73608
74391
  }
73609
- }, _callee6, null, [[1, 5]]);
74392
+ }, _callee8, null, [[1, 5]]);
73610
74393
  })();
73611
74394
  },
73612
- fetchMySchemeDetail: function fetchMySchemeDetail(_ref1, _ref10) {
73613
- var _ref1$payload = _ref1.payload,
73614
- payload = _ref1$payload === void 0 ? {} : _ref1$payload;
73615
- var put = _ref10.put,
73616
- call = _ref10.call;
73617
- return /*#__PURE__*/_regenerator().m(function _callee7() {
73618
- var res, data, requestedPlatformSchemeId, detail, platformSchemeId, canonicalSchemeId, sourceId, _t6;
73619
- return _regenerator().w(function (_context7) {
73620
- while (1) switch (_context7.p = _context7.n) {
74395
+ fetchMySchemeDetail: function fetchMySchemeDetail(_ref13, _ref14) {
74396
+ var _ref13$payload = _ref13.payload,
74397
+ payload = _ref13$payload === void 0 ? {} : _ref13$payload;
74398
+ var put = _ref14.put,
74399
+ call = _ref14.call;
74400
+ return /*#__PURE__*/_regenerator().m(function _callee9() {
74401
+ var res, data, requestedPlatformSchemeId, detail, platformSchemeId, canonicalSchemeId, sourceId, _t9;
74402
+ return _regenerator().w(function (_context9) {
74403
+ while (1) switch (_context9.p = _context9.n) {
73621
74404
  case 0:
73622
- _context7.n = 1;
74405
+ _context9.n = 1;
73623
74406
  return put({
73624
74407
  type: 'updateState',
73625
74408
  payload: {
@@ -73628,16 +74411,16 @@
73628
74411
  }
73629
74412
  });
73630
74413
  case 1:
73631
- _context7.p = 1;
73632
- _context7.n = 2;
74414
+ _context9.p = 1;
74415
+ _context9.n = 2;
73633
74416
  return call(getPlatformSchemeDetail, {
73634
74417
  platformSchemeId: payload.platformSchemeId
73635
74418
  });
73636
74419
  case 2:
73637
- res = _context7.v;
74420
+ res = _context9.v;
73638
74421
  data = res === null || res === void 0 ? void 0 : res.data;
73639
74422
  if (!((data === null || data === void 0 ? void 0 : data.code) !== 200 || (data === null || data === void 0 ? void 0 : data.success) === false)) {
73640
- _context7.n = 3;
74423
+ _context9.n = 3;
73641
74424
  break;
73642
74425
  }
73643
74426
  throw new Error((data === null || data === void 0 ? void 0 : data.message) || '获取平台方案详情失败');
@@ -73647,7 +74430,7 @@
73647
74430
  platformSchemeId = String(requestedPlatformSchemeId || detail.platformSchemeId);
73648
74431
  canonicalSchemeId = requestedPlatformSchemeId || platformSchemeId;
73649
74432
  sourceId = detail.sourceId || payload.sourceId || '';
73650
- _context7.n = 4;
74433
+ _context9.n = 4;
73651
74434
  return put({
73652
74435
  type: 'upsertMyScheme',
73653
74436
  payload: {
@@ -73663,7 +74446,7 @@
73663
74446
  }
73664
74447
  });
73665
74448
  case 4:
73666
- _context7.n = 5;
74449
+ _context9.n = 5;
73667
74450
  return put({
73668
74451
  type: 'updateState',
73669
74452
  payload: {
@@ -73672,48 +74455,48 @@
73672
74455
  }
73673
74456
  });
73674
74457
  case 5:
73675
- return _context7.a(2, data);
74458
+ return _context9.a(2, data);
73676
74459
  case 6:
73677
- _context7.p = 6;
73678
- _t6 = _context7.v;
73679
- _context7.n = 7;
74460
+ _context9.p = 6;
74461
+ _t9 = _context9.v;
74462
+ _context9.n = 7;
73680
74463
  return put({
73681
74464
  type: 'updateState',
73682
74465
  payload: {
73683
74466
  mySchemeDetailLoading: false,
73684
- mySchemeDetailError: _t6.message || '获取平台方案详情失败'
74467
+ mySchemeDetailError: _t9.message || '获取平台方案详情失败'
73685
74468
  }
73686
74469
  });
73687
74470
  case 7:
73688
- throw _t6;
74471
+ throw _t9;
73689
74472
  case 8:
73690
- return _context7.a(2);
74473
+ return _context9.a(2);
73691
74474
  }
73692
- }, _callee7, null, [[1, 6]]);
74475
+ }, _callee9, null, [[1, 6]]);
73693
74476
  })();
73694
74477
  },
73695
- saveMyScheme: function saveMyScheme(_ref11, _ref12) {
73696
- var payload = _ref11.payload;
73697
- var put = _ref12.put,
73698
- call = _ref12.call;
73699
- return /*#__PURE__*/_regenerator().m(function _callee8() {
74478
+ saveMyScheme: function saveMyScheme(_ref15, _ref16) {
74479
+ var payload = _ref15.payload;
74480
+ var put = _ref16.put,
74481
+ call = _ref16.call;
74482
+ return /*#__PURE__*/_regenerator().m(function _callee0() {
73700
74483
  var res, data, savedSchemeId;
73701
- return _regenerator().w(function (_context8) {
73702
- while (1) switch (_context8.n) {
74484
+ return _regenerator().w(function (_context0) {
74485
+ while (1) switch (_context0.n) {
73703
74486
  case 0:
73704
- _context8.n = 1;
74487
+ _context0.n = 1;
73705
74488
  return call(saveSelfScheme, buildSelfSchemePayload(payload));
73706
74489
  case 1:
73707
- res = _context8.v;
74490
+ res = _context0.v;
73708
74491
  data = res === null || res === void 0 ? void 0 : res.data;
73709
74492
  if (!((data === null || data === void 0 ? void 0 : data.code) !== 200 || (data === null || data === void 0 ? void 0 : data.success) === false)) {
73710
- _context8.n = 2;
74493
+ _context0.n = 2;
73711
74494
  break;
73712
74495
  }
73713
74496
  throw new Error((data === null || data === void 0 ? void 0 : data.message) || '保存平台方案失败');
73714
74497
  case 2:
73715
74498
  savedSchemeId = String((data === null || data === void 0 ? void 0 : data.value) || payload.id || '');
73716
- _context8.n = 3;
74499
+ _context0.n = 3;
73717
74500
  return put({
73718
74501
  type: 'upsertMyScheme',
73719
74502
  payload: {
@@ -73732,42 +74515,42 @@
73732
74515
  }
73733
74516
  });
73734
74517
  case 3:
73735
- return _context8.a(2, data);
74518
+ return _context0.a(2, data);
73736
74519
  }
73737
- }, _callee8);
74520
+ }, _callee0);
73738
74521
  })();
73739
74522
  },
73740
- generatePlatformSchemeBill: function generatePlatformSchemeBill$1(_ref13, _ref14) {
73741
- var _ref13$payload = _ref13.payload,
73742
- payload = _ref13$payload === void 0 ? {} : _ref13$payload;
73743
- var call = _ref14.call,
73744
- put = _ref14.put;
73745
- return /*#__PURE__*/_regenerator().m(function _callee9() {
74523
+ generatePlatformSchemeBill: function generatePlatformSchemeBill$1(_ref17, _ref18) {
74524
+ var _ref17$payload = _ref17.payload,
74525
+ payload = _ref17$payload === void 0 ? {} : _ref17$payload;
74526
+ var call = _ref18.call,
74527
+ put = _ref18.put;
74528
+ return /*#__PURE__*/_regenerator().m(function _callee1() {
73746
74529
  var res, data, billItems;
73747
- return _regenerator().w(function (_context9) {
73748
- while (1) switch (_context9.n) {
74530
+ return _regenerator().w(function (_context1) {
74531
+ while (1) switch (_context1.n) {
73749
74532
  case 0:
73750
- _context9.n = 1;
74533
+ _context1.n = 1;
73751
74534
  return call(generatePlatformSchemeBill, {
73752
74535
  platformSchemeId: payload.platformSchemeId
73753
74536
  });
73754
74537
  case 1:
73755
- res = _context9.v;
74538
+ res = _context1.v;
73756
74539
  data = res === null || res === void 0 ? void 0 : res.data;
73757
74540
  if (!((data === null || data === void 0 ? void 0 : data.code) !== 200 || (data === null || data === void 0 ? void 0 : data.success) === false)) {
73758
- _context9.n = 2;
74541
+ _context1.n = 2;
73759
74542
  break;
73760
74543
  }
73761
74544
  throw new Error((data === null || data === void 0 ? void 0 : data.message) || '获取材料清单失败');
73762
74545
  case 2:
73763
74546
  billItems = getPlatformSchemeBillItems(data === null || data === void 0 ? void 0 : data.value);
73764
74547
  if (billItems.length) {
73765
- _context9.n = 3;
74548
+ _context1.n = 3;
73766
74549
  break;
73767
74550
  }
73768
74551
  throw new Error('暂未生成材料清单,接口未返回清单数据');
73769
74552
  case 3:
73770
- _context9.n = 4;
74553
+ _context1.n = 4;
73771
74554
  return put({
73772
74555
  type: 'updateMyScheme',
73773
74556
  payload: {
@@ -73780,82 +74563,82 @@
73780
74563
  }
73781
74564
  });
73782
74565
  case 4:
73783
- return _context9.a(2, _objectSpread2(_objectSpread2({}, data), {}, {
74566
+ return _context1.a(2, _objectSpread2(_objectSpread2({}, data), {}, {
73784
74567
  value: billItems
73785
74568
  }));
73786
74569
  }
73787
- }, _callee9);
74570
+ }, _callee1);
73788
74571
  })();
73789
74572
  },
73790
- exportPlatformSchemeBill: function exportPlatformSchemeBill$1(_ref15, _ref16) {
73791
- var _ref15$payload = _ref15.payload,
73792
- payload = _ref15$payload === void 0 ? {} : _ref15$payload;
73793
- var call = _ref16.call;
73794
- return /*#__PURE__*/_regenerator().m(function _callee0() {
74573
+ exportPlatformSchemeBill: function exportPlatformSchemeBill$1(_ref19, _ref20) {
74574
+ var _ref19$payload = _ref19.payload,
74575
+ payload = _ref19$payload === void 0 ? {} : _ref19$payload;
74576
+ var call = _ref20.call;
74577
+ return /*#__PURE__*/_regenerator().m(function _callee10() {
73795
74578
  var res, data, contentType, jsonData;
73796
- return _regenerator().w(function (_context0) {
73797
- while (1) switch (_context0.n) {
74579
+ return _regenerator().w(function (_context10) {
74580
+ while (1) switch (_context10.n) {
73798
74581
  case 0:
73799
- _context0.n = 1;
74582
+ _context10.n = 1;
73800
74583
  return call(exportPlatformSchemeBill, {
73801
74584
  platformSchemeId: payload.platformSchemeId
73802
74585
  });
73803
74586
  case 1:
73804
- res = _context0.v;
74587
+ res = _context10.v;
73805
74588
  data = res === null || res === void 0 ? void 0 : res.data;
73806
74589
  if (!isBinaryResponse(data)) {
73807
- _context0.n = 5;
74590
+ _context10.n = 5;
73808
74591
  break;
73809
74592
  }
73810
74593
  contentType = getBinaryContentType(data, res === null || res === void 0 ? void 0 : res.headers);
73811
74594
  if (!isJsonContentType(contentType)) {
73812
- _context0.n = 4;
74595
+ _context10.n = 4;
73813
74596
  break;
73814
74597
  }
73815
- _context0.n = 2;
74598
+ _context10.n = 2;
73816
74599
  return call(parseBinaryJsonResponse, data);
73817
74600
  case 2:
73818
- jsonData = _context0.v;
74601
+ jsonData = _context10.v;
73819
74602
  if (!((jsonData === null || jsonData === void 0 ? void 0 : jsonData.code) !== 200 || (jsonData === null || jsonData === void 0 ? void 0 : jsonData.success) === false)) {
73820
- _context0.n = 3;
74603
+ _context10.n = 3;
73821
74604
  break;
73822
74605
  }
73823
74606
  throw new Error((jsonData === null || jsonData === void 0 ? void 0 : jsonData.message) || (jsonData === null || jsonData === void 0 ? void 0 : jsonData.msg) || '导出材料清单失败');
73824
74607
  case 3:
73825
- return _context0.a(2, jsonData);
74608
+ return _context10.a(2, jsonData);
73826
74609
  case 4:
73827
- return _context0.a(2, {
74610
+ return _context10.a(2, {
73828
74611
  value: data,
73829
74612
  headers: (res === null || res === void 0 ? void 0 : res.headers) || {}
73830
74613
  });
73831
74614
  case 5:
73832
74615
  if (!((data === null || data === void 0 ? void 0 : data.code) !== 200 || (data === null || data === void 0 ? void 0 : data.success) === false)) {
73833
- _context0.n = 6;
74616
+ _context10.n = 6;
73834
74617
  break;
73835
74618
  }
73836
74619
  throw new Error((data === null || data === void 0 ? void 0 : data.message) || '导出材料清单失败');
73837
74620
  case 6:
73838
- return _context0.a(2, data);
74621
+ return _context10.a(2, data);
73839
74622
  }
73840
- }, _callee0);
74623
+ }, _callee10);
73841
74624
  })();
73842
74625
  }
73843
74626
  },
73844
74627
  reducers: {
73845
- updateState: function updateState(state, _ref17) {
73846
- var payload = _ref17.payload;
74628
+ updateState: function updateState(state, _ref21) {
74629
+ var payload = _ref21.payload;
73847
74630
  return _objectSpread2(_objectSpread2({}, state), payload);
73848
74631
  },
73849
- startDouGongDetailRequest: function startDouGongDetailRequest(state, _ref18) {
73850
- var payload = _ref18.payload;
74632
+ startDouGongDetailRequest: function startDouGongDetailRequest(state, _ref22) {
74633
+ var payload = _ref22.payload;
73851
74634
  return _objectSpread2(_objectSpread2({}, state), {}, {
73852
74635
  douGongDetailRequestKey: payload.requestKey,
73853
74636
  douGongDetailLoading: true,
73854
74637
  douGongDetailError: ''
73855
74638
  });
73856
74639
  },
73857
- resolveDouGongDetailRequest: function resolveDouGongDetailRequest(state, _ref19) {
73858
- var payload = _ref19.payload;
74640
+ resolveDouGongDetailRequest: function resolveDouGongDetailRequest(state, _ref23) {
74641
+ var payload = _ref23.payload;
73859
74642
  if (state.douGongDetailRequestKey !== payload.requestKey) {
73860
74643
  return state;
73861
74644
  }
@@ -73867,8 +74650,8 @@
73867
74650
  douGongDetailError: ''
73868
74651
  });
73869
74652
  },
73870
- rejectDouGongDetailRequest: function rejectDouGongDetailRequest(state, _ref20) {
73871
- var payload = _ref20.payload;
74653
+ rejectDouGongDetailRequest: function rejectDouGongDetailRequest(state, _ref24) {
74654
+ var payload = _ref24.payload;
73872
74655
  if (state.douGongDetailRequestKey !== payload.requestKey) {
73873
74656
  return state;
73874
74657
  }
@@ -73877,16 +74660,16 @@
73877
74660
  douGongDetailError: payload.error
73878
74661
  });
73879
74662
  },
73880
- startMySchemeListRequest: function startMySchemeListRequest(state, _ref21) {
73881
- var payload = _ref21.payload;
74663
+ startMySchemeListRequest: function startMySchemeListRequest(state, _ref25) {
74664
+ var payload = _ref25.payload;
73882
74665
  return _objectSpread2(_objectSpread2({}, state), {}, {
73883
74666
  mySchemeListRequestKey: payload.requestKey,
73884
74667
  mySchemeLoading: true,
73885
74668
  mySchemeError: ''
73886
74669
  });
73887
74670
  },
73888
- resolveMySchemeListRequest: function resolveMySchemeListRequest(state, _ref22) {
73889
- var payload = _ref22.payload;
74671
+ resolveMySchemeListRequest: function resolveMySchemeListRequest(state, _ref26) {
74672
+ var payload = _ref26.payload;
73890
74673
  if (state.mySchemeListRequestKey !== payload.requestKey) {
73891
74674
  return state;
73892
74675
  }
@@ -73897,8 +74680,8 @@
73897
74680
  mySchemeError: ''
73898
74681
  });
73899
74682
  },
73900
- rejectMySchemeListRequest: function rejectMySchemeListRequest(state, _ref23) {
73901
- var payload = _ref23.payload;
74683
+ rejectMySchemeListRequest: function rejectMySchemeListRequest(state, _ref27) {
74684
+ var payload = _ref27.payload;
73902
74685
  if (state.mySchemeListRequestKey !== payload.requestKey) {
73903
74686
  return state;
73904
74687
  }
@@ -73907,36 +74690,36 @@
73907
74690
  mySchemeError: payload.error
73908
74691
  });
73909
74692
  },
73910
- prependDouGongScheme: function prependDouGongScheme(state, _ref24) {
73911
- var payload = _ref24.payload;
74693
+ prependDouGongScheme: function prependDouGongScheme(state, _ref28) {
74694
+ var payload = _ref28.payload;
73912
74695
  return _objectSpread2(_objectSpread2({}, state), {}, {
73913
74696
  douGongSchemes: [payload].concat(state.douGongSchemes)
73914
74697
  });
73915
74698
  },
73916
- updateDouGongScheme: function updateDouGongScheme(state, _ref25) {
73917
- var payload = _ref25.payload;
74699
+ updateDouGongScheme: function updateDouGongScheme(state, _ref29) {
74700
+ var payload = _ref29.payload;
73918
74701
  return _objectSpread2(_objectSpread2({}, state), {}, {
73919
74702
  douGongSchemes: state.douGongSchemes.map(function (item) {
73920
74703
  return item.id === payload.id ? _objectSpread2(_objectSpread2({}, item), payload.patch) : item;
73921
74704
  })
73922
74705
  });
73923
74706
  },
73924
- prependMyScheme: function prependMyScheme(state, _ref26) {
73925
- var payload = _ref26.payload;
74707
+ prependMyScheme: function prependMyScheme(state, _ref30) {
74708
+ var payload = _ref30.payload;
73926
74709
  return _objectSpread2(_objectSpread2({}, state), {}, {
73927
74710
  mySchemes: [payload].concat(state.mySchemes)
73928
74711
  });
73929
74712
  },
73930
- updateMyScheme: function updateMyScheme(state, _ref27) {
73931
- var payload = _ref27.payload;
74713
+ updateMyScheme: function updateMyScheme(state, _ref31) {
74714
+ var payload = _ref31.payload;
73932
74715
  return _objectSpread2(_objectSpread2({}, state), {}, {
73933
74716
  mySchemes: state.mySchemes.map(function (item) {
73934
74717
  return item.id === payload.id ? _objectSpread2(_objectSpread2({}, item), payload.patch) : item;
73935
74718
  })
73936
74719
  });
73937
74720
  },
73938
- upsertMyScheme: function upsertMyScheme(state, _ref28) {
73939
- var payload = _ref28.payload;
74721
+ upsertMyScheme: function upsertMyScheme(state, _ref32) {
74722
+ var payload = _ref32.payload;
73940
74723
  var hasScheme = state.mySchemes.some(function (item) {
73941
74724
  return item.id === payload.id;
73942
74725
  });