|
@@ -571,10 +571,14 @@ export default {
|
|
|
return true;
|
|
|
}
|
|
|
});
|
|
|
- let listNew =[]
|
|
|
- listNew= listTMP.filter((item)=>{
|
|
|
- return item.value!=-1
|
|
|
- })
|
|
|
+ let listNew = [];
|
|
|
+ listNew = listTMP.filter((item) => {
|
|
|
+ return item.value != -1;
|
|
|
+ });
|
|
|
+ listNew.sort((a, b) => {
|
|
|
+ return parseInt(b.label) - parseInt(a.label);
|
|
|
+ });
|
|
|
+
|
|
|
this.gradeOption = listNew.reverse();
|
|
|
//--------------------------------结束
|
|
|
let resAdd = this.addPro(res.data);
|