Commit 00f647d4d01c76d089a9b6dc762f72030b4511a8

Authored by fengtao
1 parent 9c8105e1

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

@@ -18,12 +18,6 @@ export const columns: BasicColumn[] = [ @@ -18,12 +18,6 @@ export const columns: BasicColumn[] = [
18 width: 120, 18 width: 120,
19 }, 19 },
20 { 20 {
21 - title: '反馈方式',  
22 - dataIndex: 'config',  
23 - width: 180,  
24 - slots: { customRender: 'config' },  
25 - },  
26 - {  
27 title: '添加时间', 21 title: '添加时间',
28 dataIndex: 'createTime', 22 dataIndex: 'createTime',
29 width: 180, 23 width: 180,
@@ -63,30 +57,6 @@ export const formSchema: FormSchema[] = [ @@ -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 field: 'message', 60 field: 'message',
91 label: '反馈信息', 61 label: '反馈信息',
92 colProps: { span: 24 }, 62 colProps: { span: 24 },
@@ -13,9 +13,6 @@ @@ -13,9 +13,6 @@
13 </a-button> 13 </a-button>
14 </Authority> 14 </Authority>
15 </template> 15 </template>
16 - <template #config="{ record }">  
17 - <a-button type="link" class="ml-2" @click="showData(record)"> 查看反馈方式 </a-button>  
18 - </template>  
19 <template #action="{ record }"> 16 <template #action="{ record }">
20 <TableAction 17 <TableAction
21 :actions="[ 18 :actions="[
@@ -44,15 +41,13 @@ @@ -44,15 +41,13 @@
44 </template> 41 </template>
45 42
46 <script lang="ts"> 43 <script lang="ts">
47 - import { defineComponent, reactive, h, nextTick } from 'vue'; 44 + import { defineComponent, reactive, nextTick } from 'vue';
48 import { BasicTable, useTable, TableAction } from '/@/components/Table'; 45 import { BasicTable, useTable, TableAction } from '/@/components/Table';
49 import { useDrawer } from '/@/components/Drawer'; 46 import { useDrawer } from '/@/components/Drawer';
50 import FeedbackDrawer from './FeedbackDrawer.vue'; 47 import FeedbackDrawer from './FeedbackDrawer.vue';
51 import { feedbackPage, deleteFeedbackManage } from '/@/api/feedback/feedbackManager'; 48 import { feedbackPage, deleteFeedbackManage } from '/@/api/feedback/feedbackManager';
52 import { searchFormSchema, columns } from './config.data'; 49 import { searchFormSchema, columns } from './config.data';
53 import { useModal } from '/@/components/Modal'; 50 import { useModal } from '/@/components/Modal';
54 - import { Modal } from 'ant-design-vue';  
55 - import { JsonPreview } from '/@/components/CodeEditor';  
56 import { Authority } from '/@/components/Authority'; 51 import { Authority } from '/@/components/Authority';
57 import { useBatchDelete } from '/@/hooks/web/useBatchDelete'; 52 import { useBatchDelete } from '/@/hooks/web/useBatchDelete';
58 53
@@ -130,17 +125,6 @@ @@ -130,17 +125,6 @@
130 record, 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 return { 128 return {
145 searchInfo, 129 searchInfo,
146 hasBatchDelete, 130 hasBatchDelete,
@@ -152,7 +136,6 @@ @@ -152,7 +136,6 @@
152 registerDrawer, 136 registerDrawer,
153 handleViewVideo, 137 handleViewVideo,
154 registerModal, 138 registerModal,
155 - showData,  
156 }; 139 };
157 }, 140 },
158 }); 141 });