|
@@ -114,7 +114,7 @@
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
<!-- 操作按钮 -->
|
|
|
- <el-row :gutter="10" class="mb8">
|
|
|
+ <el-row :gutter="10" class="mb8" style="margin-bottom: 0px;">
|
|
|
<el-col :span="1.5">
|
|
|
<el-button
|
|
|
type="primary"
|
|
@@ -167,6 +167,21 @@
|
|
|
</el-col>
|
|
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
|
|
</el-row>
|
|
|
+ <!-- 各班组当年至今的提交数量 -->
|
|
|
+ <el-descriptions title="" direction="vertical" :column="4" border style="margin-bottom: 20px;">
|
|
|
+ <el-descriptions-item label="A班">
|
|
|
+ <el-tag size="small">{{countA}}</el-tag>
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item label="B班">
|
|
|
+ <el-tag size="small">{{countB}}</el-tag>
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item label="C班">
|
|
|
+ <el-tag size="small">{{countC}}</el-tag>
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item label="D班">
|
|
|
+ <el-tag size="small">{{countD}}</el-tag>
|
|
|
+ </el-descriptions-item>
|
|
|
+ </el-descriptions>
|
|
|
<!-- 总表 -->
|
|
|
<el-table v-loading="loading" :data="applyList" @selection-change="handleSelectionChange" :height="clientHeight" border>
|
|
|
<el-table-column type="selection" width="55" align="center" />
|
|
@@ -1086,6 +1101,10 @@ export default {
|
|
|
applyStatusString: [],
|
|
|
tableList1: [],
|
|
|
tableList2: [],
|
|
|
+ countA: 0,
|
|
|
+ countB: 0,
|
|
|
+ countC: 0,
|
|
|
+ countD: 0,
|
|
|
};
|
|
|
},
|
|
|
watch: {
|
|
@@ -1125,6 +1144,30 @@ export default {
|
|
|
this.getLoginStaffInfo();
|
|
|
this.getCategoryList();
|
|
|
this.getWorkAreaList();
|
|
|
+ getTeamAnalysis().then(response => {
|
|
|
+ let data = response.data;
|
|
|
+ for (let i = 0; i < data.length; i++) {
|
|
|
+ let applicantTeam = data[i].applicantTeam;
|
|
|
+ let teamCount = data[i].teamCount;
|
|
|
+ if (data[i].applicantTeam == 'A') {
|
|
|
+ if (teamCount != '') {
|
|
|
+ this.countA = teamCount;
|
|
|
+ }
|
|
|
+ } else if (data[i].applicantTeam == 'B') {
|
|
|
+ if (teamCount != '') {
|
|
|
+ this.countB = teamCount;
|
|
|
+ }
|
|
|
+ } else if (data[i].applicantTeam == 'C') {
|
|
|
+ if (teamCount != '') {
|
|
|
+ this.countC = teamCount;
|
|
|
+ }
|
|
|
+ } else if (data[i].applicantTeam == 'D') {
|
|
|
+ if (teamCount != '') {
|
|
|
+ this.countD = teamCount;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ });
|
|
|
},
|
|
|
methods: {
|
|
|
/** 绘制趋势图 */
|