Commit 00f647d4d01c76d089a9b6dc762f72030b4511a8

Authored by fengtao
1 parent 9c8105e1

feat:pc端 意见反馈移除反馈方式

... ... @@ -18,12 +18,6 @@ export const columns: BasicColumn[] = [
18 18 width: 120,
19 19 },
20 20 {
21   - title: '反馈方式',
22   - dataIndex: 'config',
23   - width: 180,
24   - slots: { customRender: 'config' },
25   - },
26   - {
27 21 title: '添加时间',
28 22 dataIndex: 'createTime',
29 23 width: 180,
... ... @@ -63,30 +57,6 @@ export const formSchema: FormSchema[] = [
63 57 },
64 58 },
65 59 {
66   - field: 'phone',
67   - label: '手机',
68   - component: 'Input',
69   - componentProps: {
70   - disabled: true,
71   - },
72   - },
73   - {
74   - field: 'qq',
75   - label: 'QQ',
76   - component: 'Input',
77   - componentProps: {
78   - disabled: true,
79   - },
80   - },
81   - {
82   - field: 'email',
83   - label: '邮箱',
84   - component: 'Input',
85   - componentProps: {
86   - disabled: true,
87   - },
88   - },
89   - {
90 60 field: 'message',
91 61 label: '反馈信息',
92 62 colProps: { span: 24 },
... ...
... ... @@ -13,9 +13,6 @@
13 13 </a-button>
14 14 </Authority>
15 15 </template>
16   - <template #config="{ record }">
17   - <a-button type="link" class="ml-2" @click="showData(record)"> 查看反馈方式 </a-button>
18   - </template>
19 16 <template #action="{ record }">
20 17 <TableAction
21 18 :actions="[
... ... @@ -44,15 +41,13 @@
44 41 </template>
45 42
46 43 <script lang="ts">
47   - import { defineComponent, reactive, h, nextTick } from 'vue';
  44 + import { defineComponent, reactive, nextTick } from 'vue';
48 45 import { BasicTable, useTable, TableAction } from '/@/components/Table';
49 46 import { useDrawer } from '/@/components/Drawer';
50 47 import FeedbackDrawer from './FeedbackDrawer.vue';
51 48 import { feedbackPage, deleteFeedbackManage } from '/@/api/feedback/feedbackManager';
52 49 import { searchFormSchema, columns } from './config.data';
53 50 import { useModal } from '/@/components/Modal';
54   - import { Modal } from 'ant-design-vue';
55   - import { JsonPreview } from '/@/components/CodeEditor';
56 51 import { Authority } from '/@/components/Authority';
57 52 import { useBatchDelete } from '/@/hooks/web/useBatchDelete';
58 53
... ... @@ -130,17 +125,6 @@
130 125 record,
131 126 });
132 127 };
133   - function showData(record: Recordable) {
134   - if (record.contact) {
135   - Modal.info({
136   - title: '当前反馈方式',
137   - width: 600,
138   - centered: true,
139   - maskClosable: true,
140   - content: h(JsonPreview, { data: JSON.parse(record.contact) }),
141   - });
142   - }
143   - }
144 128 return {
145 129 searchInfo,
146 130 hasBatchDelete,
... ... @@ -152,7 +136,6 @@
152 136 registerDrawer,
153 137 handleViewVideo,
154 138 registerModal,
155   - showData,
156 139 };
157 140 },
158 141 });
... ...