4.1 同步发版内容到天梯

This commit is contained in:
jl-zhoujl2
2022-04-01 20:06:34 +08:00
parent a3b939d154
commit 7b3efe00dd
128 changed files with 929 additions and 5029 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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' }}
/>