|
@@ -494,7 +494,17 @@
|
|
|
<el-table v-if="ins == 9" key="9" border :data="reportTimelyList" highlight-current-row v-loading="listLoading" :height="tableHeight" style="width: 100%;">
|
|
|
<el-table-column prop="userName" label="人员" min-width="200" align="center"></el-table-column>
|
|
|
<el-table-column prop="departmentName" label="所属部门" min-width="200" align="center"></el-table-column>
|
|
|
- <el-table-column prop="timelinessRate" label="填报及时率" min-width="200" align="center"></el-table-column>
|
|
|
+ <el-table-column prop="timelinessRate" label="填报及时率" min-width="200" align="center">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-link v-if="scope.row.dataList != null" @click="timelyDetail(scope.row.dataList)">{{scope.row.timelinessRate}}</el-link>
|
|
|
+ <span v-else>{{scope.row.timelinessRate}}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <!-- <el-table-column prop="dataList" label="详情" width="100" fixed="right" align="center">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-button @click="timelyDetail(scope.row.dataList)">详情</el-button>
|
|
|
+ </template>
|
|
|
+ </el-table-column> -->
|
|
|
</el-table>
|
|
|
|
|
|
<!-- 日报待审核统计 -->
|
|
@@ -683,6 +693,14 @@
|
|
|
</el-table>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
+
|
|
|
+ <!-- 员工填报及时率详情 -->
|
|
|
+ <el-dialog title="详情" :visible.sync="timelyDetailDialog" width="600px">
|
|
|
+ <el-table :data="timelyDetailList">
|
|
|
+ <el-table-column prop="date" label="日期"></el-table-column>
|
|
|
+ <el-table-column prop="detail" label="填报情况"></el-table-column>
|
|
|
+ </el-table>
|
|
|
+ </el-dialog>
|
|
|
</section>
|
|
|
</template>
|
|
|
|
|
@@ -784,7 +802,10 @@ export default {
|
|
|
stateKey: 1,
|
|
|
|
|
|
outputValueList: [],
|
|
|
- outputValueTitle: []
|
|
|
+ outputValueTitle: [],
|
|
|
+
|
|
|
+ timelyDetailList: [],
|
|
|
+ timelyDetailDialog: false
|
|
|
};
|
|
|
},
|
|
|
computed: {},
|
|
@@ -1434,6 +1455,18 @@ export default {
|
|
|
this.getProjectStages(true)
|
|
|
}
|
|
|
},
|
|
|
+ timelyDetail(rowList){ // 员工填报及时率详情
|
|
|
+ // this.timelyDetailList = rowList
|
|
|
+ let list = []
|
|
|
+ for(let i in rowList){
|
|
|
+ list.push({
|
|
|
+ date: Object.keys(rowList[i])[0],
|
|
|
+ detail: Object.values(rowList[i])[0]
|
|
|
+ })
|
|
|
+ }
|
|
|
+ this.timelyDetailList = list
|
|
|
+ this.timelyDetailDialog = true
|
|
|
+ },
|
|
|
//获取项目阶段的汇总工时
|
|
|
getProjectStages(e) {
|
|
|
|