Commit ac7b28d07e7da575b042ea6c8827f58adee9330d
Merge remote-tracking branch 'origin/master'
# Conflicts: # src/pages/procure/index.tsx
Showing
2 changed files
with
28 additions
and
27 deletions
src/pages/Order/components/AttachmentModal.tsx
@@ -127,6 +127,7 @@ export default ({ data, onClose }) => { | @@ -127,6 +127,7 @@ export default ({ data, onClose }) => { | ||
127 | type="link" | 127 | type="link" |
128 | key="key" | 128 | key="key" |
129 | href={item.url} | 129 | href={item.url} |
130 | + target="blank" | ||
130 | className="py-1" | 131 | className="py-1" |
131 | > | 132 | > |
132 | 下载 | 133 | 下载 |
src/services/definition.ts
@@ -1381,6 +1381,32 @@ export interface Entry { | @@ -1381,6 +1381,32 @@ export interface Entry { | ||
1381 | unEmpInsuranceC?: string; | 1381 | unEmpInsuranceC?: string; |
1382 | } | 1382 | } |
1383 | 1383 | ||
1384 | +export interface File { | ||
1385 | + absolute?: boolean; | ||
1386 | + absoluteFile?: File; | ||
1387 | + absolutePath?: string; | ||
1388 | + canonicalFile?: File; | ||
1389 | + canonicalPath?: string; | ||
1390 | + directory?: boolean; | ||
1391 | + executable?: boolean; | ||
1392 | + file?: boolean; | ||
1393 | + /** @format int64 */ | ||
1394 | + freeSpace?: number; | ||
1395 | + hidden?: boolean; | ||
1396 | + /** @format int64 */ | ||
1397 | + lastModified?: number; | ||
1398 | + name?: string; | ||
1399 | + parent?: string; | ||
1400 | + parentFile?: File; | ||
1401 | + path?: string; | ||
1402 | + readable?: boolean; | ||
1403 | + /** @format int64 */ | ||
1404 | + totalSpace?: number; | ||
1405 | + /** @format int64 */ | ||
1406 | + usableSpace?: number; | ||
1407 | + writable?: boolean; | ||
1408 | +} | ||
1409 | + | ||
1384 | export interface FilePathDto { | 1410 | export interface FilePathDto { |
1385 | url?: string; | 1411 | url?: string; |
1386 | } | 1412 | } |
@@ -3509,7 +3535,7 @@ export interface ResetPwdVO { | @@ -3509,7 +3535,7 @@ export interface ResetPwdVO { | ||
3509 | 3535 | ||
3510 | export interface Resource { | 3536 | export interface Resource { |
3511 | description?: string; | 3537 | description?: string; |
3512 | - file?: TsgFile; | 3538 | + file?: File; |
3513 | filename?: string; | 3539 | filename?: string; |
3514 | inputStream?: InputStream; | 3540 | inputStream?: InputStream; |
3515 | open?: boolean; | 3541 | open?: boolean; |
@@ -4035,32 +4061,6 @@ export interface CompanyInfo { | @@ -4035,32 +4061,6 @@ export interface CompanyInfo { | ||
4035 | taxIdIsNotNull?: boolean; | 4061 | taxIdIsNotNull?: boolean; |
4036 | } | 4062 | } |
4037 | 4063 | ||
4038 | -export interface TsgFile { | ||
4039 | - absolute?: boolean; | ||
4040 | - absoluteFile?: TsgFile; | ||
4041 | - absolutePath?: string; | ||
4042 | - canonicalFile?: TsgFile; | ||
4043 | - canonicalPath?: string; | ||
4044 | - directory?: boolean; | ||
4045 | - executable?: boolean; | ||
4046 | - file?: boolean; | ||
4047 | - /** @format int64 */ | ||
4048 | - freeSpace?: number; | ||
4049 | - hidden?: boolean; | ||
4050 | - /** @format int64 */ | ||
4051 | - lastModified?: number; | ||
4052 | - name?: string; | ||
4053 | - parent?: string; | ||
4054 | - parentFile?: TsgFile; | ||
4055 | - path?: string; | ||
4056 | - readable?: boolean; | ||
4057 | - /** @format int64 */ | ||
4058 | - totalSpace?: number; | ||
4059 | - /** @format int64 */ | ||
4060 | - usableSpace?: number; | ||
4061 | - writable?: boolean; | ||
4062 | -} | ||
4063 | - | ||
4064 | export interface InvoiceDetail { | 4064 | export interface InvoiceDetail { |
4065 | /** @format int64 */ | 4065 | /** @format int64 */ |
4066 | id?: number; | 4066 | id?: number; |