edit
This commit is contained in:
@ -37,12 +37,16 @@ export class FreightComponentsEnterpriseAuditComponent implements OnInit {
|
||||
beforeReq = (requestOptions: STRequestOptions) => {
|
||||
if (this.sf) {
|
||||
Object.assign(requestOptions.body, {
|
||||
...this.sf.value,
|
||||
createTime: {
|
||||
start: this.sf.value.createTime?.[0] || '',
|
||||
end: this.sf.value.createTime?.[1] || ''
|
||||
}
|
||||
...this.sf.value
|
||||
});
|
||||
if (this.sf.value.createTime) {
|
||||
Object.assign(requestOptions.body, {
|
||||
createTime: {
|
||||
start: this.sf.value.createTime?.[0] || '',
|
||||
end: this.sf.value.createTime?.[1] || ''
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
Object.assign(requestOptions.body, { flag: this.tabType, listSource: 2 });
|
||||
return requestOptions;
|
||||
@ -246,23 +250,34 @@ export class FreightComponentsEnterpriseAuditComponent implements OnInit {
|
||||
placeholder: '请输入'
|
||||
}
|
||||
},
|
||||
contactName: {
|
||||
title: '联系人',
|
||||
name: {
|
||||
title: '管理员',
|
||||
type: 'string',
|
||||
ui: {
|
||||
placeholder: '请输入',
|
||||
placeholder: '请输入'
|
||||
}
|
||||
},
|
||||
approval1Status: {
|
||||
type: 'string',
|
||||
title: '企业类型',
|
||||
enum: [{ label: '全部', value: '' }],
|
||||
default: '',
|
||||
ui: {
|
||||
widget: 'select',
|
||||
visibleIf: {
|
||||
expand: (value: boolean) => this.tabType === 1
|
||||
}
|
||||
}
|
||||
},
|
||||
name: {
|
||||
title: '管理员',
|
||||
approval11Status: {
|
||||
type: 'string',
|
||||
title: '公司所在地',
|
||||
enum: [{ label: '全部', value: '' }],
|
||||
default: '',
|
||||
ui: {
|
||||
placeholder: '请输入',
|
||||
widget: 'select',
|
||||
visibleIf: {
|
||||
expand: (value: boolean) => this.tabType !== 1
|
||||
expand: (value: boolean) => this.tabType === 1 && value
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -271,7 +286,10 @@ export class FreightComponentsEnterpriseAuditComponent implements OnInit {
|
||||
type: 'string',
|
||||
maxLength: 11,
|
||||
ui: {
|
||||
placeholder: '请输入'
|
||||
placeholder: '请输入',
|
||||
visibleIf: {
|
||||
expand: (value: boolean) => this.tabType === 2
|
||||
}
|
||||
}
|
||||
},
|
||||
approvalStatus: {
|
||||
|
||||
Reference in New Issue
Block a user