|
@@ -31,7 +31,7 @@
|
|
|
<el-table-column label="图片" align="center" width="100px">
|
|
|
<template slot-scope="scope">
|
|
|
<el-image :src="scope.row.url.split(',')[0]">
|
|
|
- <span slot="error" />
|
|
|
+ <span slot="error">-</span>
|
|
|
</el-image>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -52,8 +52,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import { saveAs } from 'file-saver'
|
|
|
-import { list, download } from '@/api/operation/feedbacklist'
|
|
|
+import { list, typeList } from '@/api/operation/feedbacklist'
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
@@ -74,6 +73,7 @@ export default {
|
|
|
},
|
|
|
mounted() {
|
|
|
this.getList()
|
|
|
+ this.getTypeList()
|
|
|
},
|
|
|
methods: {
|
|
|
// 列表
|
|
@@ -88,6 +88,20 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
|
|
|
+ // 反馈类型
|
|
|
+ getTypeList() {
|
|
|
+ typeList().then(res => {
|
|
|
+ if (res.code === 0) {
|
|
|
+ res.data.map(i => {
|
|
|
+ this.typeOptions.push({
|
|
|
+ value: i.id,
|
|
|
+ label: i.name
|
|
|
+ })
|
|
|
+ })
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
+
|
|
|
// 搜索
|
|
|
getSearch() {
|
|
|
this.form.pageNum = 1
|