From 6de5b976d19efff381381470e55fef8c469f87ab Mon Sep 17 00:00:00 2001 From: liudong <liudong> Date: 星期一, 26 八月 2024 21:46:14 +0800 Subject: [PATCH] fix: 修改bug --- src/views/sessionManager/style/layout.css | 4 +- src/assets/images/icon-new.svg | 1 src/views/dmx/knowledgeLib/components/excel.vue | 4 +- npminstall-debug.log | 30 +++++++++----- src/assets/images/icon-histy.svg | 1 src/views/dmx/knowledgeLib/components/docx.vue | 4 +- src/views/dmx/knowledgeLib/components/txtPdf.vue | 4 +- src/views/dmx/knowledgeLib/index.vue | 3 + src/views/sessionManager/components/chatMenu.vue | 17 ++++++-- 9 files changed, 43 insertions(+), 25 deletions(-) diff --git a/npminstall-debug.log b/npminstall-debug.log index c8d99a5..88b8fab 100644 --- a/npminstall-debug.log +++ b/npminstall-debug.log @@ -1,19 +1,27 @@ { - root: 'D:\\mydesktop\\nlg-resource\\flow\\flow_web', + root: 'F:\\code\\flow_web', registry: 'https://registry.npmmirror.com', - pkgs: [], + pkgs: [ + { + name: '', + version: 'vue-office/excel', + type: 'git', + alias: undefined, + arg: [Result] + } + ], production: false, cacheStrict: false, - cacheDir: 'C:\\Users\\charles\\.npminstall_tarball', + cacheDir: 'C:\\Users\\admin\\.npminstall_tarball', env: { npm_config_registry: 'https://registry.npmmirror.com', - npm_config_argv: '{"remain":[],"cooked":["--fix-bug-versions","--china","--userconfig=C:\\\\Users\\\\charles\\\\.cnpmrc","--disturl=https://cdn.npmmirror.com/binaries/node","--registry=https://registry.npmmirror.com"],"original":["--fix-bug-versions","--china","--userconfig=C:\\\\Users\\\\charles\\\\.cnpmrc","--disturl=https://cdn.npmmirror.com/binaries/node","--registry=https://registry.npmmirror.com"]}', - npm_config_user_agent: 'npminstall/7.12.0 npm/? node/v16.19.1 win32 x64', - npm_config_cache: 'C:\\Users\\charles\\.npminstall_tarball', + npm_config_argv: '{"remain":[],"cooked":["--fix-bug-versions","--china","--userconfig=C:\\\\Users\\\\admin\\\\.cnpmrc","--disturl=https://cdn.npmmirror.com/binaries/node","--registry=https://registry.npmmirror.com","vue-office/excel"],"original":["--fix-bug-versions","--china","--userconfig=C:\\\\Users\\\\admin\\\\.cnpmrc","--disturl=https://cdn.npmmirror.com/binaries/node","--registry=https://registry.npmmirror.com","vue-office/excel"]}', + npm_config_user_agent: 'npminstall/7.12.0 npm/? node/v20.15.1 win32 x64', + npm_config_cache: 'C:\\Users\\admin\\.npminstall_tarball', NODE: 'C:\\Program Files\\nodejs\\node.exe', npm_node_execpath: 'C:\\Program Files\\nodejs\\node.exe', - npm_execpath: 'D:\\install\\nvm\\v16.19.1\\node_modules\\cnpm\\node_modules\\npminstall\\bin\\install.js', - npm_config_userconfig: 'C:\\Users\\charles\\.cnpmrc', + npm_execpath: 'C:\\Users\\admin\\AppData\\Roaming\\npm\\node_modules\\cnpm\\node_modules\\npminstall\\bin\\install.js', + npm_config_userconfig: 'C:\\Users\\admin\\.cnpmrc', npm_config_disturl: 'https://cdn.npmmirror.com/binaries/node', npm_config_r: 'https://registry.npmmirror.com', COREPACK_NPM_REGISTRY: 'https://registry.npmmirror.com', @@ -42,8 +50,8 @@ npm_config_sharp_binary_host: 'https://cdn.npmmirror.com/binaries/sharp', npm_config_sharp_libvips_binary_host: 'https://cdn.npmmirror.com/binaries/sharp-libvips', npm_config_robotjs_binary_host: 'https://cdn.npmmirror.com/binaries/robotjs', - npm_rootpath: 'D:\\mydesktop\\nlg-resource\\flow\\flow_web', - INIT_CWD: 'D:\\mydesktop\\nlg-resource\\flow\\flow_web' + npm_rootpath: 'F:\\code\\flow_web', + INIT_CWD: 'F:\\code\\flow_web' }, binaryMirrors: { ENVS: { @@ -179,7 +187,7 @@ disableFallbackStore: false, workspacesMap: Map(0) {}, enableWorkspace: false, - workspaceRoot: 'D:\\mydesktop\\nlg-resource\\flow\\flow_web', + workspaceRoot: 'F:\\code\\flow_web', isWorkspaceRoot: true, isWorkspacePackage: false, offline: false, diff --git a/src/assets/images/icon-histy.svg b/src/assets/images/icon-histy.svg new file mode 100644 index 0000000..b7d180c --- /dev/null +++ b/src/assets/images/icon-histy.svg @@ -0,0 +1 @@ +<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1724678549625" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6552" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24"><path d="M883.712 749.568c0-13.312-9.216-22.528-22.528-22.528h-67.072v-98.816c0-13.312-9.216-22.528-22.528-22.528-13.312 0-22.528 9.216-22.528 22.528v143.36h116.736c8.704 0.512 17.92-8.704 17.92-22.016zM188.928 937.472h349.696c13.312 0 23.552-15.872 23.552-29.184s-9.728-29.696-23.552-29.696H203.776c-31.232 0-58.368-12.8-58.368-44.032V189.44c0-31.232 26.112-44.032 57.344-44.032h486.912c31.232 0 44.544 13.312 44.544 44.544v242.176c0 13.312 16.384 21.504 29.696 21.504 13.312 0 29.696-8.192 29.696-21.504V189.44c0-58.368-45.056-102.912-102.912-102.912h-501.76c-58.368 0-102.912 45.056-102.912 102.912v645.12c0 58.368 44.544 102.912 102.912 102.912z" fill="" p-id="6553"></path><path d="M771.584 937.472c116.736 0 210.432-94.208 210.432-210.432s-94.208-210.432-210.432-210.432-210.432 94.208-210.432 210.432 93.696 210.432 210.432 210.432z m0-376.32c89.6 0 165.888 71.68 165.888 165.888 0 89.6-71.68 165.888-165.888 165.888-89.6 0-165.888-71.68-165.888-165.888 0-89.6 76.288-165.888 165.888-165.888zM229.376 301.568H650.24c13.312 0 22.528-9.216 22.528-22.528 0-13.312-9.216-22.528-22.528-22.528H229.376c-13.312 0-22.528 9.216-22.528 22.528s8.704 22.528 22.528 22.528z m165.888 420.864H229.376c-13.312 0-22.528 9.216-22.528 22.528s9.216 22.528 22.528 22.528h165.888c13.312 0 22.528-9.216 22.528-22.528s-9.216-22.528-22.528-22.528zM471.04 565.76H229.376c-13.312 0-22.528 9.216-22.528 22.528 0 13.312 9.216 22.528 22.528 22.528H471.04c13.312 0 22.528-9.216 22.528-22.528 0-13.312-8.704-22.528-22.528-22.528z m179.2-152.576H229.376c-13.312 0-22.528 9.216-22.528 22.528 0 13.312 9.216 22.528 22.528 22.528H650.24c13.312 0 22.528-9.216 22.528-22.528 0-13.312-8.704-22.528-22.528-22.528z" fill="" p-id="6554"></path></svg> \ No newline at end of file diff --git a/src/assets/images/icon-new.svg b/src/assets/images/icon-new.svg new file mode 100644 index 0000000..2e71db5 --- /dev/null +++ b/src/assets/images/icon-new.svg @@ -0,0 +1 @@ +<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1724678176951" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1472" width="24" height="24" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M977.612 277.468c-25.744-54.454-62.506-103.278-109.28-145.127-46.482-41.586-100.524-74.206-160.658-96.965a558.914 558.914 0 0 0-391.37 0C256.181 58.135 202.13 90.765 155.647 132.35 108.883 174.2 72.11 223.024 46.377 277.478a416.019 416.019 0 0 0-40.4 179.084c0 72.578 18.315 141.97 54.423 206.255 32.61 58.033 79.494 109.943 135.979 150.676a248.606 248.606 0 0 1 13.691 46.3c7.992 41.578 4.021 78.239-11.7 108.959a36.259 36.259 0 0 0 32.167 52.896 35.907 35.907 0 0 0 31.605-18.688c0.804-1.387 13.068-22.035 36.822-44.592 29.956-28.378 64.335-47.246 102.233-56.223a562.15 562.15 0 0 0 110.797 10.977 36.189 36.189 0 0 0 0-72.377 488.98 488.98 0 0 1-101.449-10.586 36.028 36.028 0 0 0-16.536-0.522A288.343 288.343 0 0 0 285.363 876.3c-5.026-57.047-26.227-100.092-27.715-103.037a36.008 36.008 0 0 0-13.59-14.677c-50.403-35.183-92.06-80.49-120.549-131.204-29.956-53.328-45.155-110.797-45.155-170.81 0-101.851 44.592-197.842 125.554-270.28 39.818-35.625 86.25-63.621 138.02-83.213a486.537 486.537 0 0 1 340.133 0c51.77 19.592 98.202 47.588 138.02 83.214 80.962 72.437 125.554 168.428 125.554 270.279 0 61.963-16.154 121.111-48 175.796a36.189 36.189 0 1 0 62.536 36.43c37.837-64.958 57.841-138.341 57.841-212.216a416.039 416.039 0 0 0-40.4-179.114z" fill="#707070" p-id="1473"></path><path d="M330.227 411.507h341.53a36.189 36.189 0 0 0 0-72.378h-341.53a36.189 36.189 0 0 0 0 72.378z m0 186.04h341.53a36.189 36.189 0 0 0 0-72.378h-341.53a36.189 36.189 0 0 0 0 72.378zM906.3 824.6h-90.793v-90.813a36.189 36.189 0 0 0-72.378 0v90.823h-90.853a36.189 36.189 0 0 0 0 72.378h90.853v90.823a36.189 36.189 0 0 0 72.378 0v-90.833h90.823a36.189 36.189 0 0 0 0-72.378z" fill="#707070" p-id="1474"></path></svg> \ No newline at end of file diff --git a/src/views/dmx/knowledgeLib/components/docx.vue b/src/views/dmx/knowledgeLib/components/docx.vue index 396e03e..b9a8761 100644 --- a/src/views/dmx/knowledgeLib/components/docx.vue +++ b/src/views/dmx/knowledgeLib/components/docx.vue @@ -17,8 +17,8 @@ }, }); //寮曞叆VueOfficeDocx缁勪欢鐩稿叧 - import VueOfficeDocx from '@vue-office/docx'; - import '@vue-office/docx/lib/index.css'; + // import VueOfficeDocx from '@vue-office/docx'; + // import '@vue-office/docx/lib/index.css'; const comStyle = { width: '100%', diff --git a/src/views/dmx/knowledgeLib/components/excel.vue b/src/views/dmx/knowledgeLib/components/excel.vue index 8735164..ca8dbdd 100644 --- a/src/views/dmx/knowledgeLib/components/excel.vue +++ b/src/views/dmx/knowledgeLib/components/excel.vue @@ -17,8 +17,8 @@ }, }); //寮曞叆VueOfficeExcel缁勪欢鐩稿叧 - import VueOfficeExcel from '@vue-office/excel'; - import '@vue-office/excel/lib/index.css'; + // import VueOfficeExcel from '@vue-office/excel'; + // import '@vue-office/excel/lib/index.css'; const comStyle = { width: '100%', diff --git a/src/views/dmx/knowledgeLib/components/txtPdf.vue b/src/views/dmx/knowledgeLib/components/txtPdf.vue index a76003a..e44cbd5 100644 --- a/src/views/dmx/knowledgeLib/components/txtPdf.vue +++ b/src/views/dmx/knowledgeLib/components/txtPdf.vue @@ -12,8 +12,8 @@ }, }); //寮曞叆VueOfficeExcel缁勪欢鐩稿叧 - import VueOfficeExcel from '@vue-office/excel'; - import '@vue-office/excel/lib/index.css'; + // import VueOfficeExcel from '@vue-office/excel'; + // import '@vue-office/excel/lib/index.css'; const comStyle = { width: '100%', diff --git a/src/views/dmx/knowledgeLib/index.vue b/src/views/dmx/knowledgeLib/index.vue index b77ffe6..994f862 100644 --- a/src/views/dmx/knowledgeLib/index.vue +++ b/src/views/dmx/knowledgeLib/index.vue @@ -23,8 +23,9 @@ :class="{ active: selectedTab === index }" > {{ tab.name }} - <a-popover position="bl"> + <a-popover position="bl" > <icon-more + v-hasPermi="'/kb/delete'" :style="{ position: 'absolute', top: '10px', right: '10px' }" /> <template #content> diff --git a/src/views/sessionManager/components/chatMenu.vue b/src/views/sessionManager/components/chatMenu.vue index 79fdf84..e3b63f3 100644 --- a/src/views/sessionManager/components/chatMenu.vue +++ b/src/views/sessionManager/components/chatMenu.vue @@ -14,7 +14,7 @@ " > <div class="myAgentToolIcon___gaAKI myAgentToolIconNew___DBZrW"> - <img src="@/assets/images/talk.png" style="width: 24px" alt="" /> + <img src="@/assets/images/icon-new.png" style="width: 24px" alt="" /> </div> </div> <div @@ -27,8 +27,13 @@ " > <div class="myAgentToolIcon___gaAKI myAgentToolIconHistory___GTLWk"> - <img + <!-- <img src="@/assets/images/historybg.png" + style="width: 24px" + alt="" + /> --> + <img + src="@/assets/images/icon-histy.png" style="width: 24px" alt="" /> @@ -43,9 +48,11 @@ } " > - <div class="myAgentToolIcon___gaAKI myAgentToolIconSquare___Rj1o_" - ><img src="@/assets/images/agent.png" style="width: 24px" alt="" - /></div> + <div class="myAgentToolIcon___gaAKI myAgentToolIconSquare___Rj1o_"> + <!-- <img src="@/assets/images/agent.png" style="width: 24px" alt=""/> --> + <img src="@/assets/images/icon-zhi.png" style="width: 24px" alt="" + /> + </div> </div> <div class="myAgentLine___Isl6E" style="margin-top: 4px"></div> <div id="myAgentBox"> diff --git a/src/views/sessionManager/style/layout.css b/src/views/sessionManager/style/layout.css index 16bc5d0..0227056 100644 --- a/src/views/sessionManager/style/layout.css +++ b/src/views/sessionManager/style/layout.css @@ -1453,7 +1453,7 @@ .myAgent___djnd_ .myAgentTool___Y1_mC .myAgentToolIconNew___DBZrW { background-size: 24px; - background-image: url(./../../../assets/images/talk.svg); + background-image: url(./../../../assets/images/icon-new.svg); background-position: 8px 8px; color: var(--color-text-1) } @@ -1490,7 +1490,7 @@ .myAgent___djnd_ .myAgentTool___Y1_mC .myAgentToolIconHistory___GTLWk { background-size: 24px; - background-image: url(./../../../assets/images/history.png); + background-image: url(./../../../assets/images/icon-histy.png); background-position: 8px 8px; color: var(--color-text-1) } -- Gitblit v1.8.0