|
@@ -306,10 +306,8 @@ export default {
|
|
const data = await workLevelList(this.workId);
|
|
const data = await workLevelList(this.workId);
|
|
this.levels = data.map(item => {
|
|
this.levels = data.map(item => {
|
|
return {
|
|
return {
|
|
- id: item.id,
|
|
|
|
- name: item.code,
|
|
|
|
- minScore: item.minScore,
|
|
|
|
- maxScore: item.maxScore
|
|
|
|
|
|
+ ...item,
|
|
|
|
+ name: item.code
|
|
};
|
|
};
|
|
});
|
|
});
|
|
},
|
|
},
|