update code
parent
f516c60810
commit
ab3b77dbac
|
@ -134,7 +134,7 @@
|
||||||
<p>{{ prjPrcessText }}</p>
|
<p>{{ prjPrcessText }}</p>
|
||||||
</div>
|
</div>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="16">
|
<el-col :span="16" :key="elSumKey">
|
||||||
<staff-survey-chart :height="220" :unit="'个'" :data="prjPrcessData"
|
<staff-survey-chart :height="220" :unit="'个'" :data="prjPrcessData"
|
||||||
:width="140"></staff-survey-chart>
|
:width="140"></staff-survey-chart>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
@ -223,6 +223,7 @@ export default {
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
elSumKey:0,
|
||||||
elKey: 0,
|
elKey: 0,
|
||||||
prjInfo: {},
|
prjInfo: {},
|
||||||
loading: true,
|
loading: true,
|
||||||
|
@ -545,7 +546,7 @@ export default {
|
||||||
let item=this.projectCategory.length>n?this.projectCategory[n]:null;
|
let item=this.projectCategory.length>n?this.projectCategory[n]:null;
|
||||||
this.prjPrcessData[0].value=item && item.length>0?item[0].cnt:0;
|
this.prjPrcessData[0].value=item && item.length>0?item[0].cnt:0;
|
||||||
this.prjPrcessData[1].value=item && item.length>1?item[1].cnt:0;
|
this.prjPrcessData[1].value=item && item.length>1?item[1].cnt:0;
|
||||||
this.elKey++;
|
this.elSumKey++;
|
||||||
},
|
},
|
||||||
//劳务人员概况
|
//劳务人员概况
|
||||||
onWarningInfoNav(n) {
|
onWarningInfoNav(n) {
|
||||||
|
|
Loading…
Reference in New Issue