update code

dev-login
haha 2023-08-24 00:47:41 +08:00
parent 844b2f7cfd
commit 0562b392ad
2 changed files with 7 additions and 7 deletions

View File

@ -165,7 +165,7 @@
<el-row class="data-item" v-if="users4.length > 0" style="display:block;">
<el-col :span="12" class="data-row" style="display:flex;width:100%">
<img src="images/title_icon.png"><span class="sp-lbl">监理单位:</span>
<div class="div-text">{{ users4.length > 0 ? users11[0].deptName : '' }}</div>
<div class="div-text">{{ users4.length > 0 ? users4[0].deptName : '' }}</div>
</el-col>
<div style="width:80%;margin-left:10%" class="data-table">
<table>
@ -187,7 +187,7 @@
<el-row class="data-item" v-if="users2.length > 0" style="display:block;">
<el-col :span="12" class="data-row" style="display:flex;width:100%">
<img src="images/title_icon.png"><span class="sp-lbl">总包单位:</span>
<div class="div-text">{{ users2.length > 0 ? users11[0].deptName : '' }}</div>
<div class="div-text">{{ users2.length > 0 ? users2[0].deptName : '' }}</div>
</el-col>
<div style="width:80%;margin-left:10%" class="data-table">
<table>
@ -207,10 +207,10 @@
<el-row class="data-item" v-if="users2.length > 0" style="display:block;">
<el-row class="data-item" v-if="users3.length > 0" style="display:block;">
<el-col :span="12" class="data-row" style="display:flex;width:100%">
<img src="images/title_icon.png"><span class="sp-lbl">分包单位:</span>
<div class="div-text">{{ users2.length > 0 ? users11[0].deptName : '' }}</div>
<div class="div-text">{{ users3.length > 0 ? users3[0].deptName : '' }}</div>
</el-col>
<div style="width:80%;margin-left:10%" class="data-table">
<table>
@ -218,7 +218,7 @@
<th>姓名</th>
<th>岗位</th>
</tr>
<tr v-for="(it, idx) in users2" :key="idx" class="tr-data">
<tr v-for="(it, idx) in users3" :key="idx" class="tr-data">
<td style="width:50%;">{{ it.nickName }}</td>
<td>{{ it.jobTypeName }}</td>
</tr>

View File

@ -111,7 +111,7 @@
<div :class="pushNav == 1 ? 'active' : ''" @click="doPushNav(1, '拟建项目')">拟建项目({{
getPrjCateCount(1) }})</div>
<div :class="pushNav == 2 ? 'active' : ''" @click="doPushNav(2, '完成项目')">完成项目({{
getPrjCateCount(2) }})</div>
getPrjCateCount(3) }})</div>
</div>
<el-row>
<el-col :span="8">
@ -651,7 +651,7 @@ export default {
return 0;
},
groupByProjectCategory(detpId){
this.$api.project.groupByProjectCategory(detpId,datas => {
this.$api.project.groupByProjectCategory(detpId,datas => {
this.projectCategory = datas;
this.pushCount = this.getPrjCateCount(0);
let item = this.projectCategory.length > 0 ? this.projectCategory[0] : null;