fix
This commit is contained in:
parent
04b1c2bfc7
commit
2b4795dfc2
3 changed files with 4 additions and 4 deletions
|
@ -35,5 +35,5 @@ export class CalculationModel extends ValidationModel {
|
||||||
this.type = type;
|
this.type = type;
|
||||||
this.card = card;
|
this.card = card;
|
||||||
}
|
}
|
||||||
static empty = () => new CalculationModel("", FormBuilderValidationModel.datasetEmpty(), "", "");
|
static empty = () => new CalculationModel("", FormBuilderValidationModel.empty(), "", "");
|
||||||
}
|
}
|
||||||
|
|
|
@ -166,7 +166,7 @@ export const CalculationInstanceScreen = observer(() => {
|
||||||
.with(StoreTypes.newModel, () => (
|
.with(StoreTypes.newModel, () => (
|
||||||
<div>
|
<div>
|
||||||
<CoreInput
|
<CoreInput
|
||||||
label={"Имя инстанца навыка"}
|
label={"Имя инстанца вычисления"}
|
||||||
onChange={(text) => store.updateForm({ instanceName: text })}
|
onChange={(text) => store.updateForm({ instanceName: text })}
|
||||||
/>
|
/>
|
||||||
<div style={{ width: "100%", display: "grid", gridTemplateColumns: "repeat(3, 240px)" }}>
|
<div style={{ width: "100%", display: "grid", gridTemplateColumns: "repeat(3, 240px)" }}>
|
||||||
|
|
|
@ -50,11 +50,11 @@ export const getModelCard = (
|
||||||
>
|
>
|
||||||
<div>
|
<div>
|
||||||
<div style={{ display: "flex" }}>
|
<div style={{ display: "flex" }}>
|
||||||
{/* {calculationModel.isEnd ? (
|
{calculationModel.isEnd ? (
|
||||||
<Icon type="Pause" onClick={() => onPause()} />
|
<Icon type="Pause" onClick={() => onPause()} />
|
||||||
) : (
|
) : (
|
||||||
<Icon type="Play" onClick={() => onPlay()} />
|
<Icon type="Play" onClick={() => onPlay()} />
|
||||||
)} */}
|
)}
|
||||||
<div>
|
<div>
|
||||||
<div onClick={() => onPlay()}>EXEC</div>
|
<div onClick={() => onPlay()}>EXEC</div>
|
||||||
<div>STATUS:{calculationModel.processStatus}</div>
|
<div>STATUS:{calculationModel.processStatus}</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue