update code
parent
bfa69a7a72
commit
540f95db4e
|
@ -182,7 +182,7 @@ Vue.component("screen-header", {
|
||||||
this.data=(d?.data||[]).map(it=>{
|
this.data=(d?.data||[]).map(it=>{
|
||||||
it.text=it.projectName;
|
it.text=it.projectName;
|
||||||
return it;
|
return it;
|
||||||
});
|
}).filter(it=>+it.progressVisible==0);
|
||||||
this.$bus.$emit("loadProjects",this.data);
|
this.$bus.$emit("loadProjects",this.data);
|
||||||
if(this.data.length>0){
|
if(this.data.length>0){
|
||||||
this.setScreenLiSel2(this.data[0],init);
|
this.setScreenLiSel2(this.data[0],init);
|
||||||
|
|
|
@ -49,8 +49,8 @@
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<module-one-1-1 label="人员统计">
|
<module-one-1-1 label="人员统计">
|
||||||
<div class="warning-info-title" style="padding-left: 20px;">
|
<div class="warning-info-title" style="padding-left: 20px;">
|
||||||
<div :class="infoNav == 0 ? 'active' : ''" @click="onWarningInfoNav(0, '在岗人数')">在岗人数</div>
|
<div :class="infoNav == 0 ? 'active' : ''" @click="onWarningInfoNav(0)">在岗人数</div>
|
||||||
<div :class="infoNav == 1 ? 'active' : ''" @click="onWarningInfoNav(1, '今日出勤')">今日出勤</div>
|
<div :class="infoNav == 1 ? 'active' : ''" @click="onWarningInfoNav(1)">今日出勤</div>
|
||||||
</div>
|
</div>
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
|
@ -547,9 +547,9 @@ export default {
|
||||||
this.elKey++;
|
this.elKey++;
|
||||||
},
|
},
|
||||||
//劳务人员概况
|
//劳务人员概况
|
||||||
onWarningInfoNav(n, text) {
|
onWarningInfoNav(n) {
|
||||||
this.infoNav = n
|
this.infoNav = n
|
||||||
this.staffText = text
|
this.staffText = n==0?'在岗人数':'今日出勤'
|
||||||
if (n == 0) {
|
if (n == 0) {
|
||||||
this.surveyUrl = 'images/survey_icon_4.png'
|
this.surveyUrl = 'images/survey_icon_4.png'
|
||||||
this.laborPersonnelData = [
|
this.laborPersonnelData = [
|
||||||
|
|
Loading…
Reference in New Issue