forked from CITKParus/P8-Panels
WEB APP: Косметика в P8PGantt и обновлённая сборка
This commit is contained in:
parent
e9e3105b34
commit
f5ccfcb933
@ -118,15 +118,10 @@ const P8PGanttTaskEditor = ({
|
|||||||
const handleCancel = () => (onCancel ? onCancel() : null);
|
const handleCancel = () => (onCancel ? onCancel() : null);
|
||||||
|
|
||||||
//При изменении сроков
|
//При изменении сроков
|
||||||
const handlePeriodChanged = e => {
|
const handlePeriodChanged = e => setState(prev => ({ ...prev, [e.target.name]: e.target.value }));
|
||||||
setState(prev => ({ ...prev, [e.target.name]: e.target.value }));
|
|
||||||
};
|
|
||||||
|
|
||||||
//При изменении прогресса
|
//При изменении прогресса
|
||||||
const handleProgressChanged = (e, newValue) => {
|
const handleProgressChanged = (e, newValue) => setState(prev => ({ ...prev, progress: newValue }));
|
||||||
console.log(newValue);
|
|
||||||
setState(prev => ({ ...prev, progress: newValue }));
|
|
||||||
};
|
|
||||||
|
|
||||||
//Описание легенды для задачи
|
//Описание легенды для задачи
|
||||||
let legend = null;
|
let legend = null;
|
||||||
|
103
dist/p8-panels.js
vendored
103
dist/p8-panels.js
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user