| ... | ... | @@ -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 | }); | 
... | ... |  |