提交 549c5c90 作者: ZhangLingKun

Merge branch 'develop'

流水线 #8934 已通过 于阶段
in 1 分 12 秒
...@@ -14,4 +14,4 @@ patches: ...@@ -14,4 +14,4 @@ patches:
images: images:
- name: REGISTRY/NAMESPACE/IMAGE:TAG - name: REGISTRY/NAMESPACE/IMAGE:TAG
newName: mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly-dev/admin newName: mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly-dev/admin
newTag: 90a77338eb0e1edade2478d4f6a7623e0298681a newTag: 5c9d42db5cb127d2cba48906150273ad3709f642
...@@ -317,18 +317,15 @@ const BaseInfo = forwardRef<any, selfProps>((_props, ref) => { ...@@ -317,18 +317,15 @@ const BaseInfo = forwardRef<any, selfProps>((_props, ref) => {
<Radio value={0}>不显示</Radio> <Radio value={0}>不显示</Radio>
</Radio.Group> </Radio.Group>
</Form.Item> </Form.Item>
<Form.Item label='关联程' name='curriculumIds'> <Form.Item label='关联程' name='curriculumIds'>
<Select <Select
mode='multiple' mode='multiple'
placeholder='请选择关联课程' placeholder='请选择关联课程'
value={baseInfoForm.getFieldValue('curriculumIds')} // 使用defaultCourseIds作为初始值 value={baseInfoForm.getFieldValue('curriculumIds')} // 使用defaultCourseIds作为初始值
// onChange={handleCourseSelectionChange} // 假设已有处理课程选择变化的函数
showSearch showSearch
optionFilterProp='children' optionFilterProp='children'
filterOption={(input, option) => filterOption={(input, option) =>
// eslint-disable-next-line @typescript-eslint/ban-ts-comment (option?.children as unknown as string)?.toLowerCase().includes(input.toLowerCase())
// @ts-expect-error
option?.children?.toLowerCase().includes(input.toLowerCase())
} }
> >
{curriculumList.map((item) => ( {curriculumList.map((item) => (
...@@ -339,9 +336,9 @@ const BaseInfo = forwardRef<any, selfProps>((_props, ref) => { ...@@ -339,9 +336,9 @@ const BaseInfo = forwardRef<any, selfProps>((_props, ref) => {
</Select> </Select>
</Form.Item> </Form.Item>
<Form.Item <Form.Item
label='方案文件' label='产品说明书'
name='instructionsUrl' name='instructionsUrl'
rules={[{ required: true, message: '请输入方案文件' }]} rules={[{ required: true, message: '请上传产品说明书' }]}
> >
<Uploader <Uploader
fileUpload fileUpload
...@@ -367,13 +364,9 @@ const BaseInfo = forwardRef<any, selfProps>((_props, ref) => { ...@@ -367,13 +364,9 @@ const BaseInfo = forwardRef<any, selfProps>((_props, ref) => {
showSearch showSearch
optionFilterProp='children' // 指定筛选的字段 optionFilterProp='children' // 指定筛选的字段
filterOption={(input, option) => filterOption={(input, option) =>
// eslint-disable-next-line @typescript-eslint/ban-ts-comment (option?.children as unknown as string)?.toLowerCase().includes(input.toLowerCase())
// @ts-expect-error
option?.children?.toLowerCase().includes(input.toLowerCase())
} }
style={{ width: '380px' }} style={{ width: '380px' }}
// value={baseInfoForm.getFieldValue('gambitId')}
// onSelect={(e) => baseInfoForm.setFieldValue('gambitId', e)}
> >
{gambitList.map((i, j) => ( {gambitList.map((i, j) => (
<Option key={j} value={i.id}> <Option key={j} value={i.id}>
......
...@@ -133,11 +133,7 @@ const CompanyMemberView = () => { ...@@ -133,11 +133,7 @@ const CompanyMemberView = () => {
{ {
title: '操作', title: '操作',
width: '15%', width: '15%',
onHeaderCell: () => ({ align: 'center',
style: {
textAlign: 'center',
},
}),
render: (_text: string, record) => ( render: (_text: string, record) => (
<> <>
<Button <Button
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论