View Code? Open in Web Editor
NEW
"All Docs" is a tool that enables online previewing, storage, and sharing of documents such as Word, Excel, PowerPoint, PDF, and images (Pic). It supports full-text search for all document information. “全文档”(All Docs),Word, Excel, PPT, PDF, Pic等文档在线预览、存储、共享的工具,并且支持全文搜索的所有的文档信息。
Home Page: https://jiaruiblog.com/all-docs-page/
License: MIT License
HTML 1.91%
Vue 26.66%
JavaScript 66.73%
Dockerfile 0.01%
Less 0.01%
Shell 0.01%
CSS 4.67%
all-docs-vue's Introduction
👋 Hi, I’m @Jarrettluo
👀 I’m interested in Java coding.
🌱 I’m currently learning how to earning more money by code.
💞️ I’m looking to collaborate on software or startup.
📫 How to reach me ? Mail to [email protected] .
all-docs-vue's People
Contributors
all-docs-vue's Issues
打开excel会发现表头上面显示的列名的ABCD只能看到一半,怀疑是div上面的空间被控件上方白条覆盖了。
环境:mac chrome 116.0.5845.110
比如:用户注册、文档批量上传、docx以外的文档支持批量上传、后台管理界面用户退出等功能
ERROR Failed to compile with 1 error 下午7:22:31
error in ./node_modules/pdfjs-dist/build/pdf.js
Module parse failed: Unexpected character '#' (1413:9)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
|
| class PDFDocumentLoadingTask {
static #docId = 0;
|
| constructor() {
我在 v16.20.1 版本下执行 npm i
命令报错
npm WARN deprecated [email protected] : core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature dete
ction in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
npm ERR! code 1
npm ERR! path D:\code\github\all-documents-vue\node_modules\node-sass
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node scripts/build.js
npm ERR! Building: D:\devPrograms\node-v16.20.1-win-x64\node.exe D:\code\github\all-documents-vue\node_modules\node-gyp\bin\node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp verb cli [
npm ERR! gyp verb cli 'D:\devPrograms\node-v16.20.1-win-x64\node.exe',
npm ERR! gyp verb cli 'D:\code\github\all-documents-vue\node_modules\node-gyp\bin\node-gyp.js',
npm ERR! gyp verb cli 'rebuild',
npm ERR! gyp verb cli '--verbose',
npm ERR! gyp verb cli '--libsass_ext=',
npm ERR! gyp verb cli '--libsass_cflags=',
npm ERR! gyp verb cli '--libsass_ldflags=',
npm ERR! gyp verb cli '--libsass_library='
npm ERR! gyp verb cli ]
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | win32 | x64
npm ERR! gyp verb command rebuild []
npm ERR! gyp verb command clean []
npm ERR! gyp verb clean removing "build" directory
npm ERR! gyp verb command configure []
npm ERR! gyp verb check python checking for Python executable "python2" in the PATH
npm ERR! gyp verb which
failed Error: not found: python2
npm ERR! gyp verb which
failed at getNotFoundError (D:\code\github\all-documents-vue\node_modules\which\which.js:13:12)
npm ERR! gyp verb which
failed at F (D:\code\github\all-documents-vue\node_modules\which\which.js:68:19)
npm ERR! gyp verb which
failed at E (D:\code\github\all-documents-vue\node_modules\which\which.js:80:29)
npm ERR! gyp verb which
failed at D:\code\github\all-documents-vue\node_modules\which\which.js:89:16
npm ERR! gyp verb which
failed at D:\code\github\all-documents-vue\node_modules\isexe\index.js:42:5
npm ERR! gyp verb which
failed at D:\code\github\all-documents-vue\node_modules\isexe\windows.js:36:5
npm ERR! gyp verb which
failed at FSReqCallback.oncomplete (node:fs:202:21)
npm ERR! gyp verb which
failed python2 Error: not found: python2
npm ERR! gyp verb which
failed at getNotFoundError (D:\code\github\all-documents-vue\node_modules\which\which.js:13:12)
npm ERR! gyp verb which
failed at F (D:\code\github\all-documents-vue\node_modules\which\which.js:68:19)
npm ERR! gyp verb which
failed at E (D:\code\github\all-documents-vue\node_modules\which\which.js:80:29)
npm ERR! gyp verb which
failed at D:\code\github\all-documents-vue\node_modules\which\which.js:89:16
npm ERR! gyp verb which
failed at D:\code\github\all-documents-vue\node_modules\isexe\index.js:42:5
npm ERR! gyp verb which
failed at D:\code\github\all-documents-vue\node_modules\isexe\windows.js:36:5
npm ERR! gyp verb which
failed at FSReqCallback.oncomplete (node:fs:202:21) {
npm ERR! gyp verb which
failed code: 'ENOENT'
npm ERR! gyp verb which
failed }
npm ERR! gyp ERR! stack ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
npm ERR! gyp ERR! stack SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
npm ERR! gyp ERR! stack
npm ERR! gyp ERR! stack at ChildProcess.exithandler (node:child_process:402:12)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:513:28)
npm ERR! gyp ERR! stack at maybeClose (node:internal/child_process:1100:16)
npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)
npm ERR! gyp ERR! System Windows_NT 10.0.23570
npm ERR! gyp ERR! command "D:\devPrograms\node-v16.20.1-win-x64\node.exe" "D:\code\github\all-documents-vue\node_modules\node-gyp\bin\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
npm ERR! gyp ERR! cwd D:\code\github\all-documents-vue\node_modules\node-sass
npm ERR! gyp ERR! node -v v16.20.1
npm ERR! gyp ERR! node-gyp -v v3.8.0
npm ERR! gyp ERR! not ok
npm ERR! Build failed with error code: 1
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Dell\AppData\Local\npm-cache_logs\2023-10-25T01_32_28_949Z-debug-0.log
不知道您有没有计划添加个文件管理功能呢,目前项目主要是为了搜索服务,要是加个文件树的目录功能可能会更直观一些
我在使用vue-office/excel的时候遇到一个问题我看您的项目中也会出现这个问题
excel在上下或者左右滚动后 切换下饭的Sheet他的滚动条不会复位
就会导致有的Sheet的内容是很长的滑动过去之后切换一个内容少的就会在一个空白的地方
我通过直接获取切换Sheet事件给滚动条赋值scrollTop为0也紧紧只能让滚动条复位 但是中间canvas的内容是不生效的
如果您也觉得是个问题或者有什么好的方法可以踢我一下哈哈哈
出错: undefined,网络请求不存在是啥原因
刚刚初步体验了下,发现几问题,也可能是自己不会用:
1、全文检索,建议加绝对查询,就是加引号后,只搜索该关键字,我搜一个词组,词组和字相关的都出来了;
2、TXT没有格式,一坨一坨的,建议上传的时候,能自动处理一下段落信息;
3、如果上传的文件是图片PDF格式,能不能弄个OCR生成文本,或者上传文本后带原文件下载,这样图片格式也能被索引;
4、类知识库,可手动或自动关联某文件;
5、PPT显示文字全是方框,作者说是PPT转PDF显示,我觉得应该有插件能直接显示。
我在安装完kibana之后,不知道如何找到如何作者的windows安装操作,下面做下解答:
kibana可以搜索:
出现下面问题解决方法
配置文本抽取管道
Ingest Attachment Processor Plugin是一个文本抽取插件,本质上是利用了Elasticsearch的ingest node功能,提供了关键的预处理器attachment。在安装目录下运行以下命令即可安装。
./bin/elasticsearch-plugin install ingest-attachment