4.1 同步发版内容到天梯
This commit is contained in:
@ -1787,7 +1787,7 @@ const Detailed: React.FC<{}> = () => {
|
||||
<Menu style={{ backgroundColor: "white" }}>
|
||||
<Button hidden={btnAuthority(['ebtp-agency-project-manager', 'ebtp-purchase'])} disabled={dis} type="primary" key="2" style={{ margin: '2px 5px' }} onClick={() => { assessRoomId != null ? setTemSave(true) : message.info('请先保存配置') }}>保存模板</Button>
|
||||
<Button hidden={btnAuthority(['ebtp-agency-project-manager', 'ebtp-purchase'])} disabled={dis} type="primary" key="5" style={{ margin: '2px 5px' }} onClick={() => { ref.current?.reload(); setTemUse(true); }}>使用模板</Button>
|
||||
<FileDown apiUrl={`/api/core-service-ebtp-updownload/v1/attachment/download/oid/${oid}`} btnName={'下载EXCEL模板'} style={{ margin: '2px 5px' }} />
|
||||
<FileDown fileId={oid} btnName={'下载EXCEL模板'} style={{ margin: '2px 5px' }} />
|
||||
<Upload {...props}>
|
||||
<Button hidden={btnAuthority(['ebtp-agency-project-manager', 'ebtp-purchase'])} icon={<UploadOutlined />} disabled={dis} type="primary" key="4" style={{ margin: '2px 5px' }}>导入详审EXCEL</Button>
|
||||
</Upload>
|
||||
|
@ -1100,7 +1100,7 @@ const First: React.FC<{}> = () => {
|
||||
<Menu style={{ backgroundColor: "white" }}>
|
||||
<Button hidden={btnAuthority(['ebtp-agency-project-manager', 'ebtp-purchase'])} disabled={dis} type="primary" key="2" style={{ margin: '2px 5px' }} onClick={() => { assessRoomId != null ? setTemSave(true) : message.info('请先保存配置') }}>保存模板</Button>
|
||||
<Button hidden={btnAuthority(['ebtp-agency-project-manager', 'ebtp-purchase'])} disabled={dis} type="primary" key="5" style={{ margin: '2px 5px' }} onClick={() => { ref.current?.reload();setTemUse(true); }}>使用模板</Button>
|
||||
<FileDown apiUrl={`/api/core-service-ebtp-updownload/v1/attachment/download/oid/${oid}`} btnName={'下载EXCEL模板'} style={{ margin: '2px 5px' }} />
|
||||
<FileDown fileId={oid} btnName={'下载EXCEL模板'} style={{ margin: '2px 5px' }} />
|
||||
<Upload {...props}>
|
||||
<Button hidden={btnAuthority(['ebtp-agency-project-manager', 'ebtp-purchase'])} icon={<UploadOutlined />} disabled={dis} type="primary" key="4" style={{ margin: '2px 5px' }}>导入初审EXCEL</Button>
|
||||
</Upload>
|
||||
|
@ -131,7 +131,7 @@ const TempleteBtns: React.FC<TemType> = (props) => {
|
||||
}}
|
||||
>使用模板</Button>
|
||||
<FileDown
|
||||
apiUrl={`/api/core-service-ebtp-updownload/v1/attachment/download/oid/${oid}`}
|
||||
fileId={oid}
|
||||
btnName={'下载EXCEL模板'}
|
||||
style={{ margin: '2px 5px' }}
|
||||
/>
|
||||
|
Reference in New Issue
Block a user