|
@@ -37,6 +37,10 @@
|
|
laboratorySubRelInfoLabStateStatisticsAll().then(response => {
|
|
laboratorySubRelInfoLabStateStatisticsAll().then(response => {
|
|
this.$set(this,'numIndex',0);
|
|
this.$set(this,'numIndex',0);
|
|
this.$set(this,'maxNum',response.data.labLevelVOList.length-1);
|
|
this.$set(this,'maxNum',response.data.labLevelVOList.length-1);
|
|
|
|
+ response.data.labLevelVOList.forEach((item)=>{
|
|
|
|
+ item.num = item.levelOneCount + item.levelTwoCount + item.levelThreeCount + item.levelFourCount;
|
|
|
|
+ })
|
|
|
|
+ response.data.labLevelVOList = response.data.labLevelVOList.slice().sort((a, b) => b.num - a.num);
|
|
this.$set(this,'dataList',response.data.labLevelVOList);
|
|
this.$set(this,'dataList',response.data.labLevelVOList);
|
|
this.minTimeFunction();
|
|
this.minTimeFunction();
|
|
// let obj = {
|
|
// let obj = {
|