|
|
@ -7,6 +7,7 @@ import { BoardModalType } from "../../../UI/Components/Board/BoardModalType";
|
|
|
|
import { Config_ModalType } from "../../../UI/Components/Board/UserConfigComponent";
|
|
|
|
import { Config_ModalType } from "../../../UI/Components/Board/UserConfigComponent";
|
|
|
|
import { CommonModal } from "../../../UI/Components/Modal/ModalContainer";
|
|
|
|
import { CommonModal } from "../../../UI/Components/Modal/ModalContainer";
|
|
|
|
import { ModalState } from "../../../UI/Components/Modal/ModalInterface";
|
|
|
|
import { ModalState } from "../../../UI/Components/Modal/ModalInterface";
|
|
|
|
|
|
|
|
import { IArcBoardGrooveOption } from "../../../UI/Store/OptionInterface/IOptionInterface";
|
|
|
|
import { ArcBoardGrooveStore } from "./ArcBoardGrooveStore";
|
|
|
|
import { ArcBoardGrooveStore } from "./ArcBoardGrooveStore";
|
|
|
|
|
|
|
|
|
|
|
|
@observer
|
|
|
|
@observer
|
|
|
@ -31,6 +32,13 @@ export class ArcBoardGroove extends React.Component<{ store: ArcBoardGrooveStore
|
|
|
|
["grooveAddDepth2", "槽加深"],
|
|
|
|
["grooveAddDepth2", "槽加深"],
|
|
|
|
];
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
curOption: IArcBoardGrooveOption;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
componentDidMount(): void
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
this.curOption = { ...this.props.store.m_Option };
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
render()
|
|
|
|
render()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
const { store, type } = this.props;
|
|
|
|
const { store, type } = this.props;
|
|
|
@ -39,7 +47,7 @@ export class ArcBoardGroove extends React.Component<{ store: ArcBoardGrooveStore
|
|
|
|
title={store.title}
|
|
|
|
title={store.title}
|
|
|
|
icon="bold"
|
|
|
|
icon="bold"
|
|
|
|
modalId="arcBoardGeoove"
|
|
|
|
modalId="arcBoardGeoove"
|
|
|
|
close={async () => store.OnOk(ModalState.Cancel)}
|
|
|
|
close={() => store.OnOk(ModalState.Cancel)}
|
|
|
|
configType={Config_ModalType.ConfigListModal}
|
|
|
|
configType={Config_ModalType.ConfigListModal}
|
|
|
|
store={store}
|
|
|
|
store={store}
|
|
|
|
type={type}
|
|
|
|
type={type}
|
|
|
@ -50,7 +58,7 @@ export class ArcBoardGroove extends React.Component<{ store: ArcBoardGrooveStore
|
|
|
|
text="确定"
|
|
|
|
text="确定"
|
|
|
|
onClick={() =>
|
|
|
|
onClick={() =>
|
|
|
|
{
|
|
|
|
{
|
|
|
|
store.OnOk(ModalState.Ok, true, { isOk: true });
|
|
|
|
store.OnOk(ModalState.Ok);
|
|
|
|
}} />
|
|
|
|
}} />
|
|
|
|
<Button
|
|
|
|
<Button
|
|
|
|
className={Classes.INTENT_DANGER}
|
|
|
|
className={Classes.INTENT_DANGER}
|
|
|
@ -101,6 +109,7 @@ export class ArcBoardGroove extends React.Component<{ store: ArcBoardGrooveStore
|
|
|
|
type={CheckObjectType.BR}
|
|
|
|
type={CheckObjectType.BR}
|
|
|
|
titleStyle={{ width: "7rem" }}
|
|
|
|
titleStyle={{ width: "7rem" }}
|
|
|
|
option={store.m_Option}
|
|
|
|
option={store.m_Option}
|
|
|
|
|
|
|
|
uiOption={store.UIOption}
|
|
|
|
optKey={optKey}
|
|
|
|
optKey={optKey}
|
|
|
|
title={title}
|
|
|
|
title={title}
|
|
|
|
/>);
|
|
|
|
/>);
|
|
|
@ -126,6 +135,7 @@ export class ArcBoardGroove extends React.Component<{ store: ArcBoardGrooveStore
|
|
|
|
type={CheckObjectType.BR}
|
|
|
|
type={CheckObjectType.BR}
|
|
|
|
titleStyle={{ width: "7rem" }}
|
|
|
|
titleStyle={{ width: "7rem" }}
|
|
|
|
option={store.m_Option}
|
|
|
|
option={store.m_Option}
|
|
|
|
|
|
|
|
uiOption={store.UIOption}
|
|
|
|
optKey={optKey}
|
|
|
|
optKey={optKey}
|
|
|
|
title={title}
|
|
|
|
title={title}
|
|
|
|
/>);
|
|
|
|
/>);
|
|
|
|