| | |
| | | }); |
| | | //引入VueOfficeExcel组件相关 |
| | | import VueOfficePdf from '@vue-office/pdf'; |
| | | import '@vue-office/excel/lib/index.css'; |
| | | |
| | | const comStyle = { |
| | | width: '100%', |
| | |
| | | }; |
| | | getContent(props.previewSrc); |
| | | |
| | | //引入VueOfficeExcel组件相关 |
| | | import "@vue-office/excel/lib/index.css"; |
| | | |
| | | const comStyle = { |
| | | width: "100%", |
| | |
| | | <a-modal title=" " v-model:visible="fileVisible" :footer="false" fullscreen> |
| | | <!-- <docx previewSrc="http://192.168.20.116:1080/v1/document/get/405c3efa4d8c11ef97560242ac120006"></docx>--> |
| | | <docx v-if="documenttype == 'docx'" :previewSrc="previewSrc"></docx> |
| | | <excel v-if="documenttype == 'excel'" :previewSrc="previewSrc"></excel> |
| | | <excel v-if="documenttype == 'xlsx'" :previewSrc="previewSrc"></excel> |
| | | <Pdf v-if="documenttype == 'pdf'" :previewSrc="previewSrc"></Pdf> |
| | | <txt v-if="documenttype == 'txt'" :previewSrc="previewSrc"></txt> |
| | | </a-modal> |
| | |
| | | console.log(name, '新建会话名称'); |
| | | |
| | | const res = await addSessionApi({ |
| | | dialog_id: '', |
| | | dialog_id: id, |
| | | conversation_desc: name, |
| | | }); |
| | | // console.log(res, "res"); |