解决run build不能返回的问题
parent
e2732e8fab
commit
3f5a29e6d8
|
@ -106,9 +106,9 @@ export default {
|
||||||
window.addEventListener('resize', function () {
|
window.addEventListener('resize', function () {
|
||||||
console.log("addEventListener");
|
console.log("addEventListener");
|
||||||
// 让我们的图表调用 resize这个方法
|
// 让我们的图表调用 resize这个方法
|
||||||
that.$nextTick(()=>{
|
//that.$nextTick(()=>{
|
||||||
that.myChart.resize();
|
that.myChart.resize();
|
||||||
});
|
//});
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 更新图表
|
// 更新图表
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
<p style="font-family: 'Segoe UI',sans-serif;font-size: 20px;font-weight: bold;color: #606266">项目<br/>管理系统</p>
|
<p style="font-family: 'Segoe UI',sans-serif;font-size: 20px;font-weight: bold;color: #606266">项目<br/>管理系统</p>
|
||||||
</div>
|
</div>
|
||||||
<el-button style="width: 100%;height: 40px;display: flex;flex-direction: row;justify-content: flex-start"
|
<el-button style="width: 100%;height: 40px;display: flex;flex-direction: row;justify-content: flex-start"
|
||||||
text :icon="ArrowLeft" @click="this.router.push({path: '/'})">返回
|
text :icon="ArrowLeft" @click="back">返回
|
||||||
</el-button>
|
</el-button>
|
||||||
|
|
||||||
<el-menu-item index="1" :route="'/project/'+$route.params.projectId">
|
<el-menu-item index="1" :route="'/project/'+$route.params.projectId">
|
||||||
|
@ -118,6 +118,9 @@ export default {
|
||||||
this.getProjectGroup()
|
this.getProjectGroup()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
back() {
|
||||||
|
router.push({path: '/'})
|
||||||
|
},
|
||||||
getStaffFullname() {
|
getStaffFullname() {
|
||||||
return this.$store.state.staff === null ? ' ' : this.$store.state.staff.staffFullname
|
return this.$store.state.staff === null ? ' ' : this.$store.state.staff.staffFullname
|
||||||
},
|
},
|
||||||
|
|
|
@ -67,11 +67,11 @@
|
||||||
<div style="display: flex;flex-direction: column;height: 100%">
|
<div style="display: flex;flex-direction: column;height: 100%">
|
||||||
<p style="'Segoe UI',sans-serif;font-size: 20px;font-weight: bold;color: #606266;margin: 0 0 30px 0;flex-shrink: 0;">岗位统计</p>
|
<p style="'Segoe UI',sans-serif;font-size: 20px;font-weight: bold;color: #606266;margin: 0 0 30px 0;flex-shrink: 0;">岗位统计</p>
|
||||||
<div style="flex: 1;">
|
<div style="flex: 1;">
|
||||||
<!-- <EchartsPie :id="'pie_post'" ref="pie_post" :isLegend="true" :dataList="stationList"/>-->
|
<!-- <EchartsPie id="pie_post" ref="pie_post" :isLegend="true" :dataList="stationList"/>-->
|
||||||
</div>
|
</div>
|
||||||
<p style="'Segoe UI',sans-serif;font-size: 20px;font-weight: bold;color: #606266;margin: 15px 0 30px 0;flex-shrink: 0;">团队工作情况统计</p>
|
<p style="'Segoe UI',sans-serif;font-size: 20px;font-weight: bold;color: #606266;margin: 15px 0 30px 0;flex-shrink: 0;">团队工作情况统计</p>
|
||||||
<div style="flex: 1;">
|
<div style="flex: 1;">
|
||||||
<!-- <EchartsPie :id="'pie_team'" :isRadius="true" />-->
|
<EchartsPie id="pie_team" :isRadius="true" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue