|
@@ -4,7 +4,7 @@
|
|
|
title=""
|
|
|
:visible.sync="centerDialogVisible"
|
|
|
:close-on-click-modal="false"
|
|
|
- width="80%"
|
|
|
+ width="90%"
|
|
|
top="5vh"
|
|
|
style="border-radius: 40px"
|
|
|
>
|
|
@@ -61,11 +61,19 @@
|
|
|
<th class="first">序号</th>
|
|
|
<th>班级名称</th>
|
|
|
<th>占比</th>
|
|
|
+ <th>趋势</th>
|
|
|
</tr>
|
|
|
<tr v-for="(item, index) in yiyuList10" :key="item.name">
|
|
|
<td class="first">{{ index + 1 }}</td>
|
|
|
<td>{{ item.name }}</td>
|
|
|
<td :style="{ color: item.color }">{{ item.score }}%</td>
|
|
|
+ <td>
|
|
|
+ <span
|
|
|
+ style="cursor: pointer; color: #00bf78"
|
|
|
+ @click="viewPersionFun(item)"
|
|
|
+ >查看</span
|
|
|
+ >
|
|
|
+ </td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
</div>
|
|
@@ -92,11 +100,19 @@
|
|
|
<th class="first">序号</th>
|
|
|
<th>班级名称</th>
|
|
|
<th>占比</th>
|
|
|
+ <th>趋势</th>
|
|
|
</tr>
|
|
|
<tr v-for="(item, index) in jlList10" :key="item.name">
|
|
|
<td class="first">{{ index + 1 }}</td>
|
|
|
<td>{{ item.name }}</td>
|
|
|
<td :style="{ color: item.color }">{{ item.score }}%</td>
|
|
|
+ <td>
|
|
|
+ <span
|
|
|
+ style="cursor: pointer; color: #00bf78"
|
|
|
+ @click="viewPersionFun(item)"
|
|
|
+ >查看</span
|
|
|
+ >
|
|
|
+ </td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
</div>
|
|
@@ -123,11 +139,19 @@
|
|
|
<th class="first">序号</th>
|
|
|
<th>班级名称</th>
|
|
|
<th>占比</th>
|
|
|
+ <th>趋势</th>
|
|
|
</tr>
|
|
|
<tr v-for="(item, index) in qthList10" :key="item.name">
|
|
|
<td class="first">{{ index + 1 }}</td>
|
|
|
<td>{{ item.name }}</td>
|
|
|
- <td :style='{color:item.color}'>{{ item.score }}%</td>
|
|
|
+ <td :style="{ color: item.color }">{{ item.score }}%</td>
|
|
|
+ <td>
|
|
|
+ <span
|
|
|
+ style="cursor: pointer; color: #00bf78"
|
|
|
+ @click="viewPersionFun(item)"
|
|
|
+ >查看</span
|
|
|
+ >
|
|
|
+ </td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
</div>
|
|
@@ -155,11 +179,19 @@
|
|
|
<th class="first">序号</th>
|
|
|
<th>班级名称</th>
|
|
|
<th>占比</th>
|
|
|
+ <th>趋势</th>
|
|
|
</tr>
|
|
|
<tr v-for="(item, index) in sjList10" :key="item.name">
|
|
|
<td class="first">{{ index + 1 }}</td>
|
|
|
<td>{{ item.name }}</td>
|
|
|
- <td :style='{color:item.color}'>{{ item.score }}%</td>
|
|
|
+ <td :style="{ color: item.color }">{{ item.score }}%</td>
|
|
|
+ <td>
|
|
|
+ <span
|
|
|
+ style="cursor: pointer; color: #00bf78"
|
|
|
+ @click="viewPersionFun(item)"
|
|
|
+ >查看</span
|
|
|
+ >
|
|
|
+ </td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
</div>
|
|
@@ -219,6 +251,18 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
methods: {
|
|
|
+ viewPersionFun(val) {
|
|
|
+ let url = "/manage/tendency";
|
|
|
+ this.bus.$emit("menuStatusUpdate", url);
|
|
|
+ //跳转到趋势统计的页面
|
|
|
+ //规定好跳转到哪个页面--然后跳转的类型
|
|
|
+ // this.$router.push({path:'/manage/tendency',query:{orgNo:'1212',type:'1'}})
|
|
|
+ this.$router.push({
|
|
|
+ path: "/manage/individualTendency",
|
|
|
+ query: { orgNo: val.orgNo },
|
|
|
+ });
|
|
|
+ //要更改菜单选中的颜色
|
|
|
+ },
|
|
|
open(val) {
|
|
|
//将年级清空
|
|
|
//将首选项改为第一个
|
|
@@ -432,6 +476,7 @@ export default {
|
|
|
name: res.data[i].name,
|
|
|
score: (parseFloat(res.data[i].num) * 100).toFixed(2),
|
|
|
color: "#2C3E50",
|
|
|
+ orgNo: res.data[i].orgNo,
|
|
|
};
|
|
|
list.push(obj);
|
|
|
}
|
|
@@ -457,7 +502,6 @@ export default {
|
|
|
|
|
|
this.yiyuList10 = list;
|
|
|
//依次给个颜色
|
|
|
-
|
|
|
//将0.00过滤出来
|
|
|
//将去重的过滤出来
|
|
|
}
|
|
@@ -484,6 +528,7 @@ export default {
|
|
|
name: res.data[i].name,
|
|
|
score: (parseFloat(res.data[i].num) * 100).toFixed(2),
|
|
|
color: "#2C3E50",
|
|
|
+ orgNo: res.data[i].orgNo,
|
|
|
};
|
|
|
list.push(obj);
|
|
|
}
|
|
@@ -537,6 +582,7 @@ export default {
|
|
|
name: res.data[i].name,
|
|
|
score: (parseFloat(res.data[i].num) * 100).toFixed(2),
|
|
|
color: "#2C3E50",
|
|
|
+ orgNo: res.data[i].orgNo,
|
|
|
};
|
|
|
list.push(obj);
|
|
|
}
|
|
@@ -550,8 +596,8 @@ export default {
|
|
|
scoreListTmp.push(listTmp1[i].score);
|
|
|
}
|
|
|
}
|
|
|
- console.log("scoreListTmp")
|
|
|
- console.log(scoreListTmp)
|
|
|
+ console.log("scoreListTmp");
|
|
|
+ console.log(scoreListTmp);
|
|
|
for (let i = 0; i < list.length; i++) {
|
|
|
//
|
|
|
for (let j = 0; j < scoreListTmp.length; j++) {
|
|
@@ -580,6 +626,7 @@ export default {
|
|
|
name: res.data[i].name,
|
|
|
score: (parseFloat(res.data[i].num) * 100).toFixed(2),
|
|
|
color: "#2C3E50",
|
|
|
+ orgNo: res.data[i].orgNo,
|
|
|
};
|
|
|
list.push(obj);
|
|
|
}
|
|
@@ -602,8 +649,6 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
this.sjList10 = list;
|
|
|
-
|
|
|
-
|
|
|
}
|
|
|
});
|
|
|
},
|
|
@@ -642,7 +687,7 @@ export default {
|
|
|
.yiyu_left {
|
|
|
display: flex;
|
|
|
flex: 8;
|
|
|
- padding-right:40px
|
|
|
+ padding-right: 40px;
|
|
|
}
|
|
|
.yiyu_right {
|
|
|
flex: 4;
|