From a1e9b18a4dbfd21e1bf4d5cb60974ac2f0115efd Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 30 五月 2025 15:18:44 +0800 Subject: [PATCH] 2025-05-30 --- src/tabviews/zshare/actionList/index.jsx | 29 +++++++++++++++++++++++++---- 1 files changed, 25 insertions(+), 4 deletions(-) diff --git a/src/tabviews/zshare/actionList/index.jsx b/src/tabviews/zshare/actionList/index.jsx index 8723fa0..c0945f5 100644 --- a/src/tabviews/zshare/actionList/index.jsx +++ b/src/tabviews/zshare/actionList/index.jsx @@ -18,6 +18,8 @@ const FuncMegvii = asyncComponent(() => import('./funcMegvii')) const FuncZip = asyncComponent(() => import('./funczip')) const EditLine = asyncComponent(() => import('./editLine')) +const ExportPdf = asyncComponent(() => import('./exportPdf')) +const FuncButton = asyncComponent(() => import('./funcbutton')) class ActionList extends Component { static propTpyes = { @@ -129,8 +131,10 @@ key={item.uuid} show={item.show || 'actionList'} disabled={false} + BID={BID} btn={item} BData={BData} + columns={columns} selectedData={selectedData} /> ) @@ -179,20 +183,37 @@ return ( <FuncZip key={item.uuid} - show={item.show || 'actionList'} disabled={false} BID={BID} btn={item} + BData={BData} setting={setting} selectedData={selectedData} + /> + ) + } else if (item.funcType === 'expPdf') { + return ( + <ExportPdf + key={item.uuid} + btn={item} /> ) } else if (item.funcType === 'addline' || item.funcType === 'delline') { return ( <EditLine + key={item.uuid} + disabled={false} + btn={item} + selectedData={selectedData} + /> + ) + } else { + return ( + <FuncButton key={item.uuid} - disabled={false} + BID={BID} btn={item} + columns={columns} selectedData={selectedData} /> ) @@ -212,7 +233,7 @@ <div className="button-list toolbar-button"> {this.getButtonList(actions)} {mores ? <Dropdown overlay={<div className="mk-button-dropdown-wrap">{this.getButtonList(mores)}</div>} trigger={['hover']}> - <div className="mk-button-more">鏇村<DownOutlined/></div> + <div className="mk-button-more">{window.GLOB.dict['more'] || '鏇村'}<DownOutlined/></div> </Dropdown> : null} </div> </Affix> @@ -222,7 +243,7 @@ <div className="button-list toolbar-button"> {this.getButtonList(actions)} {mores ? <Dropdown overlay={<div className="mk-button-dropdown-wrap">{this.getButtonList(mores)}</div>} trigger={['hover']}> - <div className="mk-button-more">鏇村<DownOutlined/></div> + <div className="mk-button-more">{window.GLOB.dict['more'] || '鏇村'}<DownOutlined/></div> </Dropdown> : null} </div> ) -- Gitblit v1.8.0