no message
This commit is contained in:
parent
27eb523fcd
commit
1e16b683b3
@ -97,14 +97,19 @@
|
||||
@cancel='handleCancelPopup'
|
||||
@submit="handleSubmitPopup"
|
||||
:title="popupRightTitle"
|
||||
class="popup"
|
||||
>
|
||||
<div slot="content">
|
||||
<div class="popup-search">
|
||||
<el-input
|
||||
v-model="rqAssessmentParameter.searchName"
|
||||
@change="handlePopupSearchChange"
|
||||
prefix-icon="el-icon-search"
|
||||
placeholder="搜索考评组"
|
||||
size="mini"
|
||||
></el-input>
|
||||
</div>
|
||||
<div class="popup-table">
|
||||
<el-table
|
||||
v-if="popupData.tableList.length"
|
||||
:data="popupData.tableList"
|
||||
@ -141,7 +146,11 @@
|
||||
>新建考评组</el-button>
|
||||
</div>
|
||||
</div>
|
||||
<div slot="leftSlot">已选择:{{formData.assessmentList.length}}个</div>
|
||||
</div>
|
||||
<div
|
||||
slot="footer-left"
|
||||
class="popup-footer-left"
|
||||
>已选择:{{popupData.selectedList.length}}个</div>
|
||||
</popup-right>
|
||||
</div>
|
||||
</div>
|
||||
@ -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,7 +279,11 @@ export default {
|
||||
.line-space {
|
||||
margin-top: 20px;
|
||||
}
|
||||
.popup-empty {
|
||||
.popup {
|
||||
&-search {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
&-empty {
|
||||
padding-top: 100px;
|
||||
height: 500px;
|
||||
width: 410px;
|
||||
@ -271,5 +293,10 @@ export default {
|
||||
align-content: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
&-footer-left {
|
||||
color: @fontBlue;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user