修复问题反馈对接问题
This commit is contained in:
parent
dc0df3c420
commit
841b52f2e0
|
@ -25,15 +25,13 @@
|
|||
</el-col>
|
||||
</el-row>
|
||||
|
||||
|
||||
<el-table v-loading="loading" :data="postList" @selection-change="handleSelectionChange"
|
||||
height="calc(100vh - 308px)">
|
||||
<el-table v-loading="loading" :data="feedbackList" height="calc(100vh - 308px)">
|
||||
<el-table-column label="序号" align="center" width="80">
|
||||
<template #default="scope">
|
||||
{{ scope.$index + 1 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="反馈内容" align="center" prop="content" />
|
||||
<el-table-column label="反馈内容" align="left" prop="content" />
|
||||
<el-table-column label="反馈人" align="center" prop="feedbackUser" width="150" />
|
||||
<el-table-column label="反馈时间" align="center" prop="createTime" width="210">
|
||||
<template #default="scope">
|
||||
|
@ -118,8 +116,8 @@ const handleDateChange = (val) => {
|
|||
const getBusProblemFeedbackPage = () => {
|
||||
loading.value = true
|
||||
busProblemFeedbackPage(queryParams.value).then(response => {
|
||||
feedbackList.value = response.rows
|
||||
total.value = response.total
|
||||
feedbackList.value = response.data.list
|
||||
total.value = response.data.total
|
||||
loading.value = false
|
||||
})
|
||||
}
|
||||
|
@ -150,6 +148,7 @@ const handleUpdate = (row) => {
|
|||
}
|
||||
getBusProblemFeedback(row.id).then(res => {
|
||||
form.value = res.data
|
||||
open.value = true
|
||||
})
|
||||
}
|
||||
|
||||
|
@ -163,6 +162,7 @@ const submitForm = () => {
|
|||
if (valid) {
|
||||
updateBusProblemFeedback(form.value).then(response => {
|
||||
proxy.$modal.msgSuccess("修改成功")
|
||||
getBusProblemFeedbackPage()
|
||||
open.value = false
|
||||
form.value = {}
|
||||
proxy.resetForm("feedBackRef")
|
||||
|
|
Loading…
Reference in New Issue
Block a user