Commit a2f905c7 authored by 赵啸非's avatar 赵啸非

Merge remote-tracking branch 'origin/master'

parents e47eddd4 6a1a6423
...@@ -14,7 +14,8 @@ ...@@ -14,7 +14,8 @@
<el-button type="success" @click="drawer = true">预览</el-button> <el-button type="success" @click="drawer = true">预览</el-button>
</div> </div>
<div style="margin: 10px 0;"> <div style="margin: 10px 0;">
<el-tag :type="feedbackData.processStatus ? feedbackData.processStatus = 1 ? 'success' : 'info' : 'danger'" > <el-tag
:type="feedbackData.processStatus ? feedbackData.processStatus = 1 ? 'success' : 'info' : 'danger'">
{{ feedbackData.processStatus ? feedbackData.processStatus {{ feedbackData.processStatus ? feedbackData.processStatus
== 1 ? '进行中' : '已结束' : '未开始' }}</el-tag> == 1 ? '进行中' : '已结束' : '未开始' }}</el-tag>
反馈时间:{{ feedbackData.timeStart }} ~ {{ feedbackData.timeEnd }} 反馈时间:{{ feedbackData.timeStart }} ~ {{ feedbackData.timeEnd }}
...@@ -32,8 +33,8 @@ ...@@ -32,8 +33,8 @@
</div> </div>
<!-- <el-button class="m15" type="primary" size="small">导出数据</el-button> --> <!-- <el-button class="m15" type="primary" size="small">导出数据</el-button> -->
<div class="lBox m15"> <div class="lBox m15">
<el-table ref="multipleTable" :data="staffList.data" tooltip-effect="dark" border <el-table ref="multipleTable" :data="staffList.data" height="450" tooltip-effect="dark" border
style="width: 100%;max-height: 450px;background-color: transparent; text-align: center;" style="width: 100%;background-color: transparent; text-align: center;"
@selection-change="handleSelectionChange" :header-cell-style="{ 'text-align': 'center' }" @selection-change="handleSelectionChange" :header-cell-style="{ 'text-align': 'center' }"
:cell-style="{ 'text-align': 'center' }"> :cell-style="{ 'text-align': 'center' }">
<el-table-column type="selection" width="55"> <el-table-column type="selection" width="55">
...@@ -239,7 +240,7 @@ export default { ...@@ -239,7 +240,7 @@ export default {
} }
}) })
this.staffList.data = arr this.staffList.data = arr
} else if(val == 3) { } else if (val == 3) {
this.staffList.data.forEach(i => { this.staffList.data.forEach(i => {
if (!i.backStatus) { if (!i.backStatus) {
arr.push(i) arr.push(i)
...@@ -282,6 +283,17 @@ export default { ...@@ -282,6 +283,17 @@ export default {
}) })
}, },
handleCurrentChange(val) {
console.log(val)
this.staff.page = val
let id = localStorage.getItem('checkFeedbackId')
this.getStaffData(id)
},
handleSizeChange(val){
this.staff.size = val
let id = localStorage.getItem('checkFeedbackId')
this.getStaffData(id)
},
getStaffData(id) { getStaffData(id) {
//人员数据 //人员数据
this.$post('/feedback/getStaffList', { feedbackId: id, size: this.staff.size, page: this.staff.page }).then(res => { this.$post('/feedback/getStaffList', { feedbackId: id, size: this.staff.size, page: this.staff.page }).then(res => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment