|
@@ -6,6 +6,13 @@
|
|
|
:tools="false"
|
|
:tools="false"
|
|
|
:body-style="{ padding: 0 }"
|
|
:body-style="{ padding: 0 }"
|
|
|
>
|
|
>
|
|
|
|
|
+ <template #status="{ row }">
|
|
|
|
|
+ <dict-data
|
|
|
|
|
+ code="feedback_status"
|
|
|
|
|
+ type="tag"
|
|
|
|
|
+ :model-value="row.status"
|
|
|
|
|
+ />
|
|
|
|
|
+ </template>
|
|
|
<template #action="{ row }">
|
|
<template #action="{ row }">
|
|
|
<div>
|
|
<div>
|
|
|
<el-button
|
|
<el-button
|
|
@@ -15,7 +22,7 @@
|
|
|
>
|
|
>
|
|
|
查看详情
|
|
查看详情
|
|
|
</el-button>
|
|
</el-button>
|
|
|
- <el-button type="primary" link @click="handleUpdate(row)">
|
|
|
|
|
|
|
+ <el-button type="primary" link @click="handleUpdate(row, 'deal')">
|
|
|
去处理
|
|
去处理
|
|
|
</el-button>
|
|
</el-button>
|
|
|
</div>
|
|
</div>
|
|
@@ -30,6 +37,13 @@
|
|
|
import dealFallback from '@/views/optimization/fallback/components/deal-fallback.vue';
|
|
import dealFallback from '@/views/optimization/fallback/components/deal-fallback.vue';
|
|
|
import { useDictData } from '@/utils/use-dict-data';
|
|
import { useDictData } from '@/utils/use-dict-data';
|
|
|
|
|
|
|
|
|
|
+ const props = defineProps({
|
|
|
|
|
+ userId: {
|
|
|
|
|
+ type: String,
|
|
|
|
|
+ required: true
|
|
|
|
|
+ }
|
|
|
|
|
+ });
|
|
|
|
|
+
|
|
|
defineOptions({ name: 'FallbackInfoList' });
|
|
defineOptions({ name: 'FallbackInfoList' });
|
|
|
const [useStatusDicts] = useDictData(['sys_normal_disable']);
|
|
const [useStatusDicts] = useDictData(['sys_normal_disable']);
|
|
|
|
|
|
|
@@ -37,19 +51,17 @@
|
|
|
const columns = ref([
|
|
const columns = ref([
|
|
|
{
|
|
{
|
|
|
label: '内容',
|
|
label: '内容',
|
|
|
- prop: 'paymentCode',
|
|
|
|
|
|
|
+ prop: 'description',
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
minWidth: 200
|
|
minWidth: 200
|
|
|
},
|
|
},
|
|
|
- { label: '分类', prop: 'type', align: 'center' },
|
|
|
|
|
|
|
+ { label: '分类', prop: 'reason', align: 'center',minWidth:160 },
|
|
|
|
|
|
|
|
{
|
|
{
|
|
|
label: '状态',
|
|
label: '状态',
|
|
|
prop: 'useStatus',
|
|
prop: 'useStatus',
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
- formatter: (row) =>
|
|
|
|
|
- useStatusDicts.value.find((d) => d.dictValue == row.useStatus)
|
|
|
|
|
- ?.dictLabel
|
|
|
|
|
|
|
+ slot: 'status'
|
|
|
},
|
|
},
|
|
|
{ label: '时间', prop: 'createTime', align: 'center', width: 180 },
|
|
{ label: '时间', prop: 'createTime', align: 'center', width: 180 },
|
|
|
{
|
|
{
|
|
@@ -65,10 +77,13 @@
|
|
|
const pageRef = ref(null);
|
|
const pageRef = ref(null);
|
|
|
|
|
|
|
|
const pageConfig = reactive({
|
|
const pageConfig = reactive({
|
|
|
- pageUrl: '/baseinfo/godown/pagelist',
|
|
|
|
|
- exportUrl: '/baseinfo/godown/export',
|
|
|
|
|
|
|
+ pageUrl: '/sys/suggestionLog/pagelist',
|
|
|
|
|
+ exportUrl: '/sys/suggestionLog/export',
|
|
|
fileName: '意见反馈',
|
|
fileName: '意见反馈',
|
|
|
- cacheKey: 'fallbackInfoTable'
|
|
|
|
|
|
|
+ cacheKey: 'fallbackInfoTable',
|
|
|
|
|
+ params: {
|
|
|
|
|
+ userId: props.userId
|
|
|
|
|
+ }
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
//刷新表格
|
|
//刷新表格
|