|
@@ -14,6 +14,9 @@
|
|
|
[v-cloak] {
|
|
|
display: none;
|
|
|
}
|
|
|
+ .el-rate__icon{
|
|
|
+ font-size: 26px;
|
|
|
+ }
|
|
|
</style>
|
|
|
</head>
|
|
|
<body>
|
|
@@ -419,9 +422,9 @@
|
|
|
// 年份的变动
|
|
|
changeYear(e) {
|
|
|
this.defaultYear = e;
|
|
|
- this.getCenterData();
|
|
|
this.getRightData();
|
|
|
this.getLeftData();
|
|
|
+ this.handleInput(this.activeName)
|
|
|
},
|
|
|
// 获取左侧数据
|
|
|
getLeftData() {
|
|
@@ -498,29 +501,34 @@
|
|
|
this.defaultDepartment = e;
|
|
|
this.getCenterData()
|
|
|
},
|
|
|
+ getPersonList(){
|
|
|
+ const _that = this;
|
|
|
+ // 獲取人員排行
|
|
|
+ const depId = _that.defaultDepartment.id.split("_")[1] || ""
|
|
|
+ const param = {
|
|
|
+ orgName: "",
|
|
|
+ taskTypeId: "0",
|
|
|
+ year: _that.defaultYear,
|
|
|
+ gbTaskTypeId: _that.defaultTaskType.id,
|
|
|
+ gbDeptId: depId,
|
|
|
+ gbOrder: "",
|
|
|
+ gbDesc: ""
|
|
|
+ };
|
|
|
+ callAjaxRequest("taskAnalysisWebService", "findTaskTaskAnalysisByManager", param, function (result) {
|
|
|
+ _that.tAllCount = result.tAllCount || "";
|
|
|
+ _that.setMainRenderData(result);
|
|
|
+ _that.showPersonList = result.list || []
|
|
|
+ _that.loading = false;
|
|
|
+ })
|
|
|
+ },
|
|
|
+
|
|
|
// tab切换
|
|
|
handleInput(e) {
|
|
|
const _that = this;
|
|
|
if(e === 'first'){
|
|
|
_that.getCenterData()
|
|
|
}else {
|
|
|
- // 獲取人員排行
|
|
|
- const depId = _that.defaultDepartment.id.split("_")[1] || ""
|
|
|
- const param = {
|
|
|
- orgName: "",
|
|
|
- taskTypeId: "0",
|
|
|
- year: _that.defaultYear,
|
|
|
- gbTaskTypeId: _that.defaultTaskType.id,
|
|
|
- gbDeptId: depId,
|
|
|
- gbOrder: "",
|
|
|
- gbDesc: ""
|
|
|
- };
|
|
|
- callAjaxRequest("taskAnalysisWebService", "findTaskTaskAnalysisByManager", param, function (result) {
|
|
|
- _that.tAllCount = result.tAllCount || "";
|
|
|
- _that.setMainRenderData(result);
|
|
|
- _that.showPersonList = result.list || []
|
|
|
- _that.loading = false;
|
|
|
- })
|
|
|
+ _that.getPersonList()
|
|
|
}
|
|
|
},
|
|
|
// 获取头像
|