From 1e16b683b34d46669114c2f8da3c076465a70e75 Mon Sep 17 00:00:00 2001
From: leave <>
Date: Fri, 23 Oct 2020 10:17:23 +0800
Subject: [PATCH] no message
---
.../workbench/initiateAssessment/index.vue | 131 +++++++++++-------
1 file changed, 79 insertions(+), 52 deletions(-)
diff --git a/src/views/kpi/workbench/initiateAssessment/index.vue b/src/views/kpi/workbench/initiateAssessment/index.vue
index e442f0c..d4e8eb5 100644
--- a/src/views/kpi/workbench/initiateAssessment/index.vue
+++ b/src/views/kpi/workbench/initiateAssessment/index.vue
@@ -97,51 +97,60 @@
@cancel='handleCancelPopup'
@submit="handleSubmitPopup"
:title="popupRightTitle"
+ class="popup"
>
-
-
-
- {{scope.row.name}}
- {{scope.row.counts}}人
-
-
-
已选择:{{formData.assessmentList.length}}个
+
@@ -189,6 +198,9 @@ export default {
this.formData.rangDate = ''
}
},
+ created () {
+ this.handleGainAssessmentGroupList()
+ },
methods: {
handleChangeRangDate (chgVal) {
let nameStr = this.$format(chgVal, 'yyyy年MM月绩效考核')
@@ -201,7 +213,6 @@ export default {
},
handleChooseGroup () {
this.popupData.selectedList = []
- this.handleGainAssessmentGroupList()
this.showChooseList = !this.showChooseList
},
handleGroupDelete (index, rows) {
@@ -240,7 +251,14 @@ export default {
}
getWorkList({}).then(res => {
const currPage = res.currPage
- this.popupData.tableList = res.list
+ let newList = []
+ for (let index = 0; index < 20; index++) {
+ for (let index = 0; index < res.list.length; index++) {
+ const element = res.list[index]
+ newList.push(element)
+ }
+ }
+ this.popupData.tableList = newList
console.log(res)
})
}
@@ -261,15 +279,24 @@ export default {
.line-space {
margin-top: 20px;
}
- .popup-empty {
- padding-top: 100px;
- height: 500px;
- width: 410px;
- font-size: 14px;
- text-align: center;
- display: block;
- align-content: center;
- justify-content: center;
+ .popup {
+ &-search {
+ margin-bottom: 20px;
+ }
+ &-empty {
+ padding-top: 100px;
+ height: 500px;
+ width: 410px;
+ font-size: 14px;
+ text-align: center;
+ display: block;
+ align-content: center;
+ justify-content: center;
+ }
+
+ &-footer-left {
+ color: @fontBlue;
+ }
}
}