|
|
@@ -48,14 +48,14 @@ export const getJobsAndCharacterText = (
|
|
|
|
|
|
export const getJobContents = (
|
|
|
stdBill: IStdBill,
|
|
|
- stdJobContenMap: IJobContentMap
|
|
|
+ stdJobContentMap: IJobContentMap
|
|
|
): IJobContent[] => {
|
|
|
const jobs: IJobContent[] = [];
|
|
|
let i = 1;
|
|
|
for (const j of stdBill.jobs) {
|
|
|
- const job = stdJobContenMap[j.id];
|
|
|
+ const job = stdJobContentMap[j.id];
|
|
|
if (job) {
|
|
|
- jobs.push({ serialNo: i + 1, content: job.content, isChecked: true });
|
|
|
+ jobs.push({ seq: i + 1, content: job.content, isChecked: true });
|
|
|
i += 1;
|
|
|
}
|
|
|
}
|
|
|
@@ -73,15 +73,15 @@ export const getItemCharacters = (
|
|
|
const character = itemCharacterMap[item.id];
|
|
|
if (character) {
|
|
|
const newItem: IItemCharacter = {
|
|
|
- serialNo: i + 1,
|
|
|
+ seq: i + 1,
|
|
|
character: character.content,
|
|
|
- eigenvalue: [],
|
|
|
+ eigenvalueList: [],
|
|
|
+ eigenvalue: '',
|
|
|
isChecked: false,
|
|
|
};
|
|
|
const eigenvalues = character.itemValue;
|
|
|
for (let j = 0; j < eigenvalues.length; j += 1) {
|
|
|
- const newValue = { value: eigenvalues[j].value, isSelected: false };
|
|
|
- newItem.eigenvalue.push(newValue);
|
|
|
+ newItem.eigenvalueList.push(eigenvalues[j].value);
|
|
|
}
|
|
|
characters.push(newItem);
|
|
|
i += 1;
|