updated สมรรถนะ
This commit is contained in:
parent
55709b6439
commit
935f501d84
1 changed files with 4 additions and 2 deletions
|
|
@ -56,11 +56,13 @@ function fetchDetail() {
|
||||||
function onClickAddLevels() {
|
function onClickAddLevels() {
|
||||||
const levelName = formData.levels.length + 1;
|
const levelName = formData.levels.length + 1;
|
||||||
const data = {
|
const data = {
|
||||||
level: levelName.toString(),
|
level:
|
||||||
|
store.competencyType === "HEAD" || store.competencyType === "GROUP"
|
||||||
|
? (formData.levels[formData.levels.length].level = levelName.toString())
|
||||||
|
: "",
|
||||||
description: "",
|
description: "",
|
||||||
};
|
};
|
||||||
formData.levels.push(data);
|
formData.levels.push(data);
|
||||||
formData.levels[formData.levels.length].level = levelName.toString();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function onSubmit() {
|
function onSubmit() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue