1
This commit is contained in:
parent
72d6e516de
commit
ce016b07ff
@ -1,6 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<base href="/twoduty/">
|
||||
<meta charset="UTF-8">
|
||||
<title>"四五六"众力监督平台</title>
|
||||
<link rel="stylesheet" href="assets/web/css/reset.css">
|
||||
@ -306,7 +307,7 @@
|
||||
<script src="assets/web/js/jquery.SuperSlide.2.1.1.js"></script>
|
||||
<script src="assets/web/js/vue.js"></script>
|
||||
<script src="assets/web/js/echarts.js"></script>
|
||||
<script src="assets/web/js/ajax.js"></script>
|
||||
<script src="assets/js/restajax.js"></script>
|
||||
<script>
|
||||
var vue = new Vue({
|
||||
el: '#app',
|
||||
@ -318,6 +319,7 @@
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
// 饼图
|
||||
initChart: function () {
|
||||
var self = this;
|
||||
var echartsRadar = echarts.init(document.getElementById("chart"));
|
||||
@ -360,10 +362,25 @@
|
||||
color: ['#0097f0','#7ecef4']
|
||||
};
|
||||
echartsRadar.setOption(option);
|
||||
},
|
||||
// 获取左侧菜单
|
||||
getNav: function () {
|
||||
var self = this
|
||||
var loadLayerIndex;
|
||||
top.restAjax.get(top.restAjax.path('api/indexlib/listztreeweb', []), {}, null, function(code, data) {
|
||||
console.log(data)
|
||||
}, function(code, data) {
|
||||
top.dialog.msg(data.msg);
|
||||
}, function() {
|
||||
loadLayerIndex = top.dialog.msg(top.dataMessage.loading, {icon: 16, time: 0, shade: 0.3});
|
||||
}, function() {
|
||||
top.dialog.close(loadLayerIndex);
|
||||
});
|
||||
}
|
||||
},
|
||||
mounted: function () {
|
||||
this.initChart()
|
||||
this.getNav()
|
||||
$('.nav-tab').click(function () {
|
||||
$(this).toggleClass('active')
|
||||
$(this).siblings().removeClass('active')
|
||||
|
@ -49,7 +49,7 @@
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="javascript: void(0);">
|
||||
<a href="route/web/assessment.html">
|
||||
<div class="left fl">
|
||||
<span>记实考核</span>
|
||||
<p>各类记实考核</p>
|
||||
|
Loading…
Reference in New Issue
Block a user