Commit d6611bbd authored by XieZhiXiong's avatar XieZhiXiong

chore: 替换 AntUpload 为 FixUpload 组件

parent 10912935
......@@ -40,12 +40,12 @@ export const uploadVoucherModalSchema: ISchema = {
fileList: {
type: 'string',
title: '上传退款凭证',
'x-component': 'AntUpload',
'x-component': 'FixUpload',
'x-component-props': {
action: '/api/file/file/upload/prefix',
data: {
fileType: UPLOAD_TYPE,
prefix: '/returnManage/refundVoucher/',
prefix: '',
},
beforeUpload: '{{beforeUpload}}',
onChange: '{{onUploadChange}}',
......
......@@ -430,12 +430,12 @@ export const addSchema = (orderType: number): ISchema => {
properties: {
proofFileList: {
title: '附件',
'x-component': 'AntUpload',
'x-component': 'FixUpload',
'x-component-props': {
action: '/api/file/file/upload/prefix',
data: {
fileType: UPLOAD_TYPE,
prefix: '/afterService/returnApplication/',
prefix: '',
},
beforeUpload: '{{beforeUpload}}',
accept: '.xls, .xlsx, .doc, .docx, .wps, .pdf, .jpg, .png, .jpeg',
......
......@@ -405,12 +405,12 @@ export const addSchema = (orderType: number): ISchema => {
properties: {
faultFileList: {
title: '附件',
'x-component': 'AntUpload',
'x-component': 'FixUpload',
'x-component-props': {
action: '/api/file/file/upload/prefix',
data: {
fileType: UPLOAD_TYPE,
prefix: '/afterService/repairApplication/',
prefix: '',
},
beforeUpload: '{{beforeUpload}}',
accept: '.xls, .xlsx, .doc, .docx, .wps, .pdf, .jpg, .png, .jpeg',
......
......@@ -411,12 +411,12 @@ export const addSchema = (orderType: number): ISchema => {
properties: {
proofFileList: {
title: '附件',
'x-component': 'AntUpload',
'x-component': 'FixUpload',
'x-component-props': {
action: '/api/file/file/upload/prefix',
data: {
fileType: UPLOAD_TYPE,
prefix: '/afterService/returnApplication/',
prefix: '',
},
beforeUpload: '{{beforeUpload}}',
accept: '.xls, .xlsx, .doc, .docx, .wps, .pdf, .jpg, .png, .jpeg',
......
......@@ -104,12 +104,12 @@ export const editModalSchema: ISchema = {
fileList: {
type: 'string',
title: '申请附件',
'x-component': 'AntUpload',
'x-component': 'FixUpload',
'x-component-props': {
action: '/api/file/file/upload/prefix',
data: {
fileType: UPLOAD_TYPE,
prefix: '/creditApplication/applicationAttachment/',
prefix: '',
},
beforeUpload: '{{beforeUpload}}',
accept: '.xls, .xlsx, .doc, .docx, .wps, .pdf, .jpg, .png, .jpeg',
......
......@@ -40,12 +40,12 @@ export const uploadVoucherModalSchema: ISchema = {
payProveList: {
type: 'string',
title: '上传支付凭证',
'x-component': 'AntUpload',
'x-component': 'FixUpload',
'x-component-props': {
action: '/api/file/file/upload/prefix',
data: {
fileType: UPLOAD_TYPE,
prefix: '/creditApplication/paymentVoucher/',
prefix: '',
},
beforeUpload: '{{beforeUpload}}',
accept: '.png, .jpg, .jpeg',
......
......@@ -345,7 +345,7 @@ const bidRequestInfo: ISchema = {
},
inviteTenderFile: {
title: '招标文件',
'x-component': 'AntUpload',
'x-component': 'FixUpload',
'x-component-props': {
action: '/api/file/file/upload/prefix',
data: {
......@@ -412,7 +412,7 @@ const enterRequestInfo: ISchema = {
},
registerFile: {
title: '报名要求附件',
'x-component': 'AntUpload',
'x-component': 'FixUpload',
'x-component-props': {
action: '/api/file/file/upload/prefix',
data: {
......@@ -499,7 +499,7 @@ const qualificationNeedInfo: ISchema = {
},
preCheckFile: {
title: '资格预审要求附件',
'x-component': 'AntUpload',
'x-component': 'FixUpload',
'x-component-props': {
action: '/api/file/file/upload/prefix',
data: {
......@@ -567,7 +567,7 @@ const evaluationNeedInfo: ISchema = {
},
evaluationFile: {
title: '评标要求附件',
'x-component': 'AntUpload',
'x-component': 'FixUpload',
'x-component-props': {
action: '/api/file/file/upload/prefix',
data: {
......
......@@ -215,7 +215,7 @@ export const goodFormSchema: ISchema = {
properties: {
file: {
title: '附件',
'x-component': 'AntUpload',
'x-component': 'FixUpload',
'x-component-props': {
action: '/api/file/file/upload/prefix',
data: {
......
......@@ -141,7 +141,7 @@ export const submitSchema = {
},
winTenderFile: {
title: '中标附件',
'x-component': 'AntUpload',
'x-component': 'FixUpload',
'x-component-props': {
action: '/api/file/file/upload/prefix',
data: {
......
......@@ -199,7 +199,7 @@ export const noticeSchema: ISchema = {
},
winTenderAnnounceFile: {
title: '中标公示附件',
'x-component': 'AntUpload',
'x-component': 'FixUpload',
'x-component-props': {
action: '/api/file/file/upload/prefix',
data: {
......@@ -246,7 +246,7 @@ export const noticeSchema: ISchema = {
},
winTenderNoticeFile: {
title: '中标通知附件',
'x-component': 'AntUpload',
'x-component': 'FixUpload',
'x-component-props': {
action: '/api/file/file/upload/prefix',
data: {
......
......@@ -108,7 +108,7 @@ export const formSchema: ISchema = {
},
registerNeedFile: {
title: '报名要求附件',
'x-component': 'AntUpload',
'x-component': 'FixUpload',
readOnly: true,
},
}
......@@ -289,7 +289,7 @@ export const formSchema: ISchema = {
properties: {
registerFile: {
title: '报名文件',
'x-component': 'AntUpload',
'x-component': 'FixUpload',
'x-component-props': {
action: '/api/file/file/upload/prefix',
data: {
......
......@@ -123,7 +123,7 @@ export const formSchema: ISchema = {
},
inviteTenderFile: {
title: '招标文件',
'x-component': 'AntUpload',
'x-component': 'FixUpload',
'x-component-props': {
action: '/api/file/file/upload/prefix',
data: {
......@@ -268,7 +268,7 @@ export const formSchema: ISchema = {
},
file: {
title: '投标文件',
'x-component': 'AntUpload',
'x-component': 'FixUpload',
'x-component-props': {
action: '/api/file/file/upload/prefix',
data: {
......
......@@ -125,7 +125,7 @@ export const relevanceSchema: ISchema = {
properties: {
file: {
title: '附件',
'x-component': 'AntUpload',
'x-component': 'FixUpload',
'x-component-props': {
action: '/api/file/file/upload/prefix',
data: {
......
......@@ -107,7 +107,7 @@ export const formSchema: ISchema = {
},
demandUrls: {
title: '报名要求附件',
'x-component': 'AntUpload',
'x-component': 'FixUpload',
readOnly: true,
},
}
......@@ -275,7 +275,7 @@ export const formSchema: ISchema = {
enclosureUrls: {
type: 'string',
title: '报名文件',
'x-component': 'AntUpload',
'x-component': 'FixUpload',
'x-component-props': {
action: '/api/file/file/upload/prefix',
data: {
......
......@@ -65,13 +65,13 @@ export const evaluateSchema: ISchema = {
picture: {
type: 'string',
title: '图片',
'x-component': 'AntUpload',
'x-component': 'FixUpload',
'x-component-props': {
listType: 'card',
action: '/api/file/file/upload/prefix',
data: {
fileType: UPLOAD_TYPE,
prefix: '/purchaserEvaluation/',
prefix: '',
},
beforeUpload: '{{beforeUpload}}',
accept: '.png, .jpg, .jpeg',
......
......@@ -65,13 +65,13 @@ export const evaluateSchema: ISchema = {
picture: {
type: 'string',
title: '图片',
'x-component': 'AntUpload',
'x-component': 'FixUpload',
'x-component-props': {
listType: 'card',
action: '/api/file/file/upload/prefix',
data: {
fileType: UPLOAD_TYPE,
prefix: '/purchaserEvaluation/',
prefix: '',
},
beforeUpload: '{{beforeUpload}}',
accept: '.png, .jpg, .jpeg',
......
......@@ -66,13 +66,13 @@ export const evaluateSchema: ISchema = {
picture: {
type: 'string',
title: '图片',
'x-component': 'AntUpload',
'x-component': 'FixUpload',
'x-component-props': {
listType: 'card',
action: '/api/file/file/upload/prefix',
data: {
fileType: UPLOAD_TYPE,
prefix: '/purchaserEvaluation/',
prefix: '',
},
beforeUpload: '{{beforeUpload}}',
accept: '.png, .jpg, .jpeg',
......
......@@ -65,13 +65,13 @@ export const evaluateSchema: ISchema = {
picture: {
type: 'string',
title: '图片',
'x-component': 'AntUpload',
'x-component': 'FixUpload',
'x-component-props': {
listType: 'card',
action: '/api/file/file/upload/prefix',
data: {
fileType: UPLOAD_TYPE,
prefix: '/supplierEvaluation/',
prefix: '',
},
beforeUpload: '{{beforeUpload}}',
accept: '.png, .jpg, .jpeg',
......
......@@ -65,13 +65,13 @@ export const evaluateSchema: ISchema = {
picture: {
type: 'string',
title: '图片',
'x-component': 'AntUpload',
'x-component': 'FixUpload',
'x-component-props': {
listType: 'card',
action: '/api/file/file/upload/prefix',
data: {
fileType: UPLOAD_TYPE,
prefix: '/supplierEvaluation/',
prefix: '',
},
beforeUpload: '{{beforeUpload}}',
accept: '.png, .jpg, .jpeg',
......
......@@ -66,13 +66,13 @@ export const evaluateSchema: ISchema = {
picture: {
type: 'array',
title: '图片',
'x-component': 'AntUpload',
'x-component': 'FixUpload',
'x-component-props': {
listType: 'card',
action: '/api/file/file/upload/prefix',
data: {
fileType: UPLOAD_TYPE,
prefix: '/purchaserEvaluation/',
prefix: '',
},
beforeUpload: '{{beforeUpload}}',
accept: '.png, .jpg, .jpeg',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment