|
@@ -26,6 +26,10 @@
|
|
|
</el-option>
|
|
|
</el-select>
|
|
|
</div>
|
|
|
+ <div class="exceed">
|
|
|
+ <span class="exceedSpan">考评时间:</span>
|
|
|
+ <el-date-picker v-model="resAnnual" value-format="YYYY-MM" type="month" placeholder="选择时间" />
|
|
|
+ </div>
|
|
|
<seachs @handleSeach="getSeachData" @handleRest="resetSeach"></seachs>
|
|
|
</div>
|
|
|
<div class="PeriodBtn">
|
|
@@ -44,7 +48,7 @@
|
|
|
<el-table-column type="selection" label="操作" align="center"></el-table-column>
|
|
|
<el-table-column label="报告名称" prop="evaluateReportName" width="330" />
|
|
|
<el-table-column label="业务属性" prop="binSectionName" />
|
|
|
- <el-table-column label="业务类别">
|
|
|
+ <el-table-column label="考评周期">
|
|
|
<template #default="scope">
|
|
|
<span v-if="scope.row.checkCycle === 'YDKP'" style="font-size: 12px;">月度考评</span>
|
|
|
<span v-else-if="scope.row.checkCycle === 'JDKP'" style="font-size: 12px;">季度考评</span>
|
|
@@ -91,6 +95,7 @@ export default {
|
|
|
return {
|
|
|
rescycle: '',
|
|
|
resbinSection: '',
|
|
|
+ resAnnual: '',
|
|
|
periodData: [],
|
|
|
moduleData: [],
|
|
|
changeDateSelect: [],
|
|
@@ -109,15 +114,24 @@ export default {
|
|
|
},
|
|
|
methods:{
|
|
|
// 查询列表页面
|
|
|
- getevaluStartList(type) {
|
|
|
+ getevaluStartList() {
|
|
|
let that = this
|
|
|
+ let year = ''
|
|
|
+ let month = ''
|
|
|
+ if (that.resAnnual !== '') {
|
|
|
+ year = that.resAnnual.substring(0, that.resAnnual.indexOf('-'))
|
|
|
+ month = that.resAnnual.substring(that.resAnnual.indexOf('-')+1, that.resAnnual.length)
|
|
|
+ if (month<10) {
|
|
|
+ month = month.substring(1, 2)
|
|
|
+ }
|
|
|
+ }
|
|
|
let params = {
|
|
|
pageNum: that.page.currentPage,
|
|
|
- pageSize: that.page.pagesize
|
|
|
- }
|
|
|
- if (type) {
|
|
|
- params.responsibilityCode = that.rescode
|
|
|
- params.des = that.resDes
|
|
|
+ pageSize: that.page.pagesize,
|
|
|
+ binSection: that.resbinSection,
|
|
|
+ checkCycle: that.rescycle,
|
|
|
+ year: year,
|
|
|
+ month: month
|
|
|
}
|
|
|
apiGetEvalReportList(params).then(datas =>{
|
|
|
if (datas && datas.data) {
|
|
@@ -152,12 +166,13 @@ export default {
|
|
|
},
|
|
|
getSeachData() {
|
|
|
this.page.currentPage = 1
|
|
|
- this.getevaluStartList('seach')
|
|
|
+ this.getevaluStartList()
|
|
|
},
|
|
|
resetSeach() {
|
|
|
this.page.currentPage = 1
|
|
|
this.rescycle = ''
|
|
|
this.resbinSection = ''
|
|
|
+ this.resAnnual = ''
|
|
|
this.getevaluStartList()
|
|
|
},
|
|
|
handleSizeChange(val){
|