Стилистические изменения Дела скважины

This commit is contained in:
goodmice 2022-09-13 16:53:12 +05:00
parent 6588e3accb
commit 9017ddf835
2 changed files with 10 additions and 2 deletions

View File

@ -127,6 +127,7 @@ export const WellCaseEditor = memo(({ categories: currentCategories, show, onClo
<div className={'well-case-editor'}> <div className={'well-case-editor'}>
<div className={'category-list'}> <div className={'category-list'}>
<AutoComplete <AutoComplete
allowClear
options={catOptions} options={catOptions}
onSearch={(searchText) => setCatSearchText(searchText)} onSearch={(searchText) => setCatSearchText(searchText)}
onSelect={onAddCategory} onSelect={onAddCategory}

View File

@ -81,11 +81,18 @@ const WellCase = memo(() => {
type={'info'} type={'info'}
className={'customer-block'} className={'customer-block'}
showIcon showIcon
message={'Вы назначены заказчиком на скважину, вам доступно редактирование ответственных.'} message={'Вам доступно редактирование ответственных.'}
action={<Button onClick={() => setShowEdit(true)}>Редактировать</Button>} action={<Button onClick={() => setShowEdit(true)}>Редактировать</Button>}
/> />
)} )}
<Table bordered size={'small'} dataSource={categories} columns={columns} expandable={expandable} /> <Table
bordered
size={'small'}
columns={columns}
pagination={false}
dataSource={categories}
expandable={expandable}
/>
</LoaderPortal> </LoaderPortal>
<WellCaseEditor categories={categories} show={showEdit} onClose={onEditClose} /> <WellCaseEditor categories={categories} show={showEdit} onClose={onEditClose} />
</div> </div>