# 文档比对

来源快照：`result_data_new_260518.json`

- 来源 ID：`1178060201848479891`
- 模块：知识文档
- 目录：用户操作指南
- space ID：`1161759301968437263`
- 原文链接：未提供
- 产品基线：未提供

## 正文

# 一、功能背景及价值用途

文档比对功能可以帮助用户快速、准确地找出两份或多份文档之间的差异，能够详细呈现内容的增减、修改等变动情况，方便用户了解文档之间的区别，提高文档审查、内容分析等工作的效率

# 二、业务流程图/配置过程图

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772780442558466&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772741604270081&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

# 三、功能概述及使用说明

3.1  目前系统支持文档比对服务：睿真（SaaS、本地部署版本）、千里聆（SaaS、本地部署版本）

3.2  支持选择系统中的文件或从本地上传的文件进行比对

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772758875447307&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772776078974998&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

3.3  睿真服务PC、移动都支持文档比对，千里聆只支持PC端文档比对,两种服务部分格式比对需依赖转换服务，建议OA中配置转换服务

功能入口：后台管理中心-文件设置-预览编辑设置-格式处理

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772763277959170&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772754514337794&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

# 四、租户后台配置

## 4.1购买应用

功能入口：租户管理-租户名称-购买应用-文档比对

license授权文件中包含文档比对功能的基础上，查看当前租户购买应用文档比对状态，修改为正常

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772771851116545&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772767539372037&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

 

文档比对购买状态支持设置：【试用】【正常】【免费】【试用延期】【免费超用户两周内】【付费超用户两周内 】【付费超用户两周】

## 4.2 文档比对统一设置项

功能入口：租户管理-比对设置-文档比对

 

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772750361976837&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772733207273473&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

## 4.2.1 服务商设置

服务商：【睿真】    产品版本：睿真-SaaS版本，睿真-本地部署版本

服务商：【千里聆】  产品版本：千里聆-SaaS版本，千里聆-本地部署版本

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772771710984196&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772741620080649&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

 

 

## 4.2.2 基础设置、偏好设置

### 4.2.2.1 睿真-SaaS版本

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772754521759745&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772728901443586&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

基础设置：  

用户名、密码：必填（对应服务商获取）

比对结果接口：http://regenai.glority.cn/comparison/individual/result

用户注册接口：https://doc-cmp.glority.cn/v1/user/register

文件上传接口：http://regenai.glority.cn/v1/comparision/docs/upload

文件查询接口：http://regenai.glority.cn/v1/comparision/docs/query

文件比对接口：[http://regenai.glority.cn/v1/comparision/docs/compare_result](http://regenai.glority.cn/v1/comparision/docs/compare_result)

偏好设置：【忽略图片】【忽略页眉页脚】【忽略空白字符】【忽略标点符号】【忽略全半角】【忽略简繁体】【忽略特殊符号】，开关默认关闭

### 4.2.2.2 睿真-本地部署版本

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772741620080644&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772750361976833&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

基础设置：

文件上传接口：请输入睿真服务地址(协议+域名/IP+端口)  /v1/comparison/docs/upload

文件查询接口：请输入睿真服务地址(协议+域名/IP+端口)

文件比对接口：请输入睿真服务地址(协议+域名/IP+端口)

/v1/comparison/docs/compare_result

比对结果接口：请输入睿真服务地址(协议+域名/IP+端口)

/comparison/individual/result

偏好设置：【忽略图片】【忽略页眉页脚】】【【忽略空白字符】【忽略全半角】【忽略简繁体】开关默认关闭

### 4.2.2.3 千里聆-SaaS版本

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772754553806849&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772733027500045&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

基础设置：

AppID：账号

AppSecret：密码

上传接口：https://cloud.qianliling.com/open/rpa/api/upload/uploadFile

偏好设置：【忽略符号】【忽略水印】【忽略印章】【忽略图片

】【忽略页眉页脚】【忽略表格】【忽略手写】开关默认关闭

### 4.2.2.4千里聆-本地部署版本

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772750361976842&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772763251654659&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

基础设置：

AppID：账号

AppSecret：密码

上传接口：请输入千里聆服务地址(协议+域名/IP+端口) /rpa/api/upload/uploadFile  

偏好设置：【忽略符号】【忽略水印】【忽略印章】【忽略图片】【忽略页眉页脚】【忽略表格】【忽略手写】开关默认关闭

### 4.3 操作日志

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772741620080654&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772780442558471&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

# 五、单租户支持比对设置

优先级：

同时在租户管理系统配置统一比对设置和单租户开启比对设置，优先走单租户配置，其他租户走租户管理系统统一比对设置

## 5.1.1 租户管理系统设置

功能入口：租户管理\--文件设置-比对设置

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772737342857221&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772763078139909&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

比对设置：开启后，将允许当前租户使用自购的第三方比对服务

## 5.1.2  OA后台设置

功能设置权限：系统管理员，角色管理员（拥有角色设置\--文件设置-比对设置权限 ）

单租户支持睿真（SaaS、本地部署版本）、千里聆（SaaS、本地部署版本）比对服务；

租户比对设置开关开启后，OA后台管理中心-文件设置-比对设置，可设置对应的文档比对服务，具体操作参考【4.2文档比对统一设置】

 

 

 

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772728827453453&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772750285512714&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

注：采购文档比对授权的情况下，租户开启单租户比对设置开关，并拥有比对设置权限的用户，才能在oa后台维护文档比对相关设置；

# 六、文档比对应用权限设置

功能入口：后台管理中心-应用管理-文档比对

文档比对应用设置为【启用】

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772746106478594&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772750266089479&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

## 6.1 编辑

编辑应用：支持设置比对适用端，使用范围

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772775979819013&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772745865682950&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

## 6.2 菜单设置

文档比对和设置菜单启用：

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772776103002125&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772737357160452&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

前台效果：

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772767524102157&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772746106478602&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

设置-系统设置-比对菜单设置权限：系统管理员，角色管理员（文档比对-文档比对-菜单设置权限）

## 6.3 授权设置

PC/移动授权范围内的用户才会显示文档比对相关入口

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772728827453447&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772746015711243&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

前台效果:

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772767567011846&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772737492885519&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772758826082315&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772733172752389&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

** **

#  七、文档比对入口

## 7.1 文档比对应用，进入比对页面

睿真：

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772758875447297&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772758857162754&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772746106478599&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

千里聆：

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772733221576707&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772771740925956&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772767567011843&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

## 7.2 文档详情页文档比对菜单展示控制

功能入口：后台管理中心-知识文档-应用设置-操作菜单设置-PC/移动菜单设置

文档比对：文档比对模块处于已购买状态时展示，开关勾选，文档详情页展示文档比对菜单，反之不展示

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772780225421314&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772763070717960&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

前台文档详情菜单展示：

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772763277959178&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772775964008450&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

 

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772754521759749&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772741769568264&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

## 7.3 正文版本-文档比对

目录不开启版本管理，office正文可以生成多个版本，进行比对

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772754553806853&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772728673812488&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

## 7.4 附件版本-文档比对

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772737492885526&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772767513067522&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

# 八、延伸功能

## 8.1文档比对页面，文件大小上传限制

功能入口：后台管理中心-文件设置-附件设置-上传设置

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772728673812498&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772733027500040&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

## 8.2 文档比对支持文件格式

文档比对支持word、pdf、jpg、png格式文件比对

## 8.3文档比对生成临时文件

功能入口：后台管理中心-文件设置-附件深度清理

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772754514337798&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772750285512710&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

## 8.4 流程表单字段支持文档比对

流程操作菜单中新增文档比对菜单，设置对应的表单字段进行比对

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772737342857224&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772758857162757&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772771710984205&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

![](https://weapp.eteams.cn/papi/file/preview?fileId=1184772737498628098&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

 

 

 

 

 

** **

** **
