- 通用接口
- 高级查询
- 发票信息
- 操作按钮
- 单据列表
- 单据视图
- 新建/编辑/保存
- 登陆接口POST
- 获取未回款或者开票金额GET
- 获取短信验证码GET
- 注册企业POST
- 关联工商信息GET
- PC端-使用
- 手机端-使用
- 表单设置
- 特殊接口
- 日周月报相关
- 在线帮助
- 工具-设置
- 统计图表
- 地图单据
- 点评、评论
- 列表特殊接口
- 视图特殊接口
- 工资相关
- 公式相关
- 外呼接口
- 序列号批次号相关
- 领取奖励
- 工商信息
- 日历数据
- 快递100第三方平台授权
- 分佣相关
- 客服系统
- 锁库接口
- 商城客户端
- 支付接口
- 协同办公专用
- (线上)阶段推进器
- 设置取消到货提醒
- 共享读写人保存
- 新版客户合并关键字查询
- 获取客户合并信息
- 推进历史保存
- 获取个人信息
- 客户视图下面得共享读写和阶段(供应商时是种类)
- 客户视图阶段或者供应商种类保存
- 获取员工列表
- 工单获取员工列表
- 新版客户合并
- 新版客户合并保存
- 项目推进获取
- 保存代办跟进主题模板的分类
- 删除代办跟进主题的分类
- pdf预览返回地址
- 获取关联合同或者采购单默认
- 获取产品历史价格
- 保存tree 结构数据
- 登录相关
- 飞书和企业微信对接
- 特殊列表
- 10.24 - 10.28周更新迭代
- 工单
- 在线外部工单
- PC端其它细节优化2
- 日历格式
- 第一周1.2
- 供应商收款账户信息
- 第五周1.4
- 标签设置
- 微信通讯录导入
- 出、入库单优化
- 外呼电话
- 第七周1.1
- 第三方接口
- 电子面单相关接口
- 智能统计数据
- 系统设置
- 工作台
- 批量编辑
- 客户
- test-测试分组
- 办公
- 24.2.4考核
- 阶段推进器优化
- 营销管理
- 24.4.1
- 内部协同办公jzsoft
- 销售
- 24.4.3
- 24.5.11
- 24.6.3
- 24.9.2
- 审核草稿箱
- 提醒助手
- V8验证规则
- 商城联系调整相关
- 内部协同办公
- 外链表单
- 金智对外API
- 新版API说明
- 微信公众平台
- 百度营销
- 微信好友
- 企业微信会话存档
- 客户定制
- 未命名接口GET
- 上传图片POST
- 岗位角色设置保存POST
- 未命名接口POST
视图接口
GET
/api/dataop/view
最后修改时间:2024-04-26 02:01:52
责任人:未设置
① abstract(pc+手机);
② steps(手机端工单进展);
③ percent:(当cardType是percent的时候需要后面这几个属性:current:当前步骤数,total:总步骤数,percentTitle:当前步骤名,remark:'当前阶段历时13天'(直接返回拼接好的描述,销售机会是”当前阶段历时N天“));(手机)
④ remind:提醒助手(手机+pc,手机端暂时还没加);
⑤ task:待办任务、跟进记录(PC)
⑥ actionLog:任务执行情况(PC)
⑦ workComment:工作点评(PC)
⑧ table:推送历史等table类型(PC)
⑨ files:附件(PC)
⑩ review:审核(PC)
⑾ product:产品明细(PC)
⑿ contact:联系人(PC)
⒀ treeCustomer:上下级客户(PC)
⒁ logistics:物流(PC)
⒂ productTable:产品里的table,原来存在cpzgglist、cpzggstocklist、warehouse里的num、warehouse里的stock和ProductViewLayout里的其他table里的值用这个类型(PC)
⒃ saleStage:销售机会里的阶段
① review:审核(手机端)
② product:产品类型(手机端)
③ table:table表格类型(手机端)
④ image:产品图片和联系人名片等类型(手机端)
⑤ abstract:摘要类型(手机端)
⑥ step:步骤条类型(手机端)
⑦ otherList:其他列表类型,比如工单进展(手机端)
⑧ productList:产品列表同样类型,不带baseInfo(手机端)
⑨ staticList:静态通用列表类型(手机端)
注意
2023-05-22:审核优化#
- 1:staticDataList里的review里的数据调整
请求参数
Query 参数
formKey
string
表单唯一标识
示例值:
148
msgid
string
单据唯一标识
示例值:
24
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/dataop/view?formKey=148&msgid=24'
返回响应
🟢200成功
application/json
Body
canUpload
boolean
是否可以上传附件
fileDeleteion
boolean
当前单据是否被删除
staticDataList
object
必需
review
object
审核数据
files
object
附件数据
detailCard
array [object {3}]
必需
contactList
object
必需
wxlog
object
工单进展的数据存放
workOrderHead
object
工单顶部信息
viewHead
object
可选
tabList
array [object {7}]
必需
formKey
string
必需
title
string
子单据主题
apipath
string
可选
tabKey
string
必需
type
string
可选
icon
string
必需
count
integer
必需
tabCountGet
object
必需
apiPath
string
请求地址
params
string
所需请求参数
cardList
object
必需
left
array [object {9}]
必需
right
array [object {17}]
必需
hasChildViews
string
必需
pageTitle
string
单据主题
pageMark
string
单据模板名称
headBtn
array[string]
必需
viewBtn
array [object {11}]
整个视图的操作按钮
title
string
必需
opType
string
必需
formKey
integer
必需
msgid
integer
必需
btnProps
object
必需
params
object
必需
tooltip
string
可选
confirm
boolean
可选
apiPath
string
可选
postData
object
必需
drafts
object
可选
data
array [object {6}]
必需
dataIndex
string
必需
title
string
必需
colSpan
integer | string
必需
value
object | string
必需
baseInfo
boolean
必需
tooltip
string
必需
tuisong
boolean
必需
dataStatus
array [object {6}]
单据的状态数组
viewType
string
可选
label
string
可选
value
string
可选
icon
string
必需
tooltip
string
必需
color
string
必需
businessData
object
工商信息
canUpdate
boolean
可选
canEditLink
boolean
可选
businessId
string
关联的工商id
title
string
客户名称
billEnable
string
必需
示例
{
"canUpload": true,
"fileDeleteion": true,
"staticDataList": {
"review": {
"canUpload": true,
"enable": true,
"reviewlog": [
{
"group": "string",
"processid": "string",
"list": [
{
"status": "string",
"name": "string",
"empid": "string",
"time": "string",
"type": "string",
"step": [
{
"name": "string",
"empimg": "string",
"empid": "string"
}
],
"title": "string",
"nodeType": "string"
}
]
}
],
"percent": 0,
"check": "string",
"checkName": "string",
"shbtn": [
{
"title": "string",
"icon": "string",
"opType": "string",
"formKey": "string",
"msgid": "string",
"refreshView": true,
"tooltip": "string",
"confim": true,
"apiPath": "string",
"postData": {
"formKey": "string",
"msgid": "string"
},
"btnProps": {},
"params": {
"title": "string",
"empid": [
"string"
],
"url": "string"
}
}
],
"reviewflow": [
{
"type": "string",
"title": "string",
"nodeType": "string",
"list": [
{
"label": "string",
"img": "string",
"value": "string"
}
]
}
],
"status": {
"label": "string",
"value": "string"
},
"cardType": "string"
},
"files": {
"dataList": [
"string"
],
"tabKey": "string",
"cardType": "string",
"canUpload": true
},
"detailCard": [
{
"title": "string",
"cardType": "string",
"dataList": [
{
"title": "string",
"value": "string",
"addTime": "string",
"description": [
{
"label": "string",
"value": "string"
}
]
}
]
}
],
"contactList": {
"createBtn": {},
"data": [
{
"name": {},
"dataList": [
{
"label": "string",
"value": {}
}
]
}
]
},
"wxlog": {
"formKey": "string",
"dataList": [
{
"title": "string",
"extra": {
"label": "string",
"color": "string",
"viewType": "string"
},
"stepTitle": "string",
"stepDescription": "string",
"stepTime": "string",
"body": [
{
"label": "string",
"value": "string"
}
],
"remark": "string",
"avatar": "string",
"images": [
{
"downloadUrl": "string",
"viewUrl": "string",
"uid": "string",
"fileType": "string",
"name": "string",
"size": "string"
}
],
"files": [
"string"
],
"location": {
"addressDetail": "string",
"longitude": 0,
"latitude": 0
}
}
],
"steps": {
"defVal": "string",
"data": [
{
"label": "string",
"value": "string"
}
],
"percent": {
"value": 0,
"content": "string"
}
},
"operation": [
"string"
]
},
"workOrderHead": {
"left": [
{
"label": "string",
"value": "string"
}
],
"right": [
{
"label": "string",
"value": "string",
"state": "string"
}
],
"operation": [
"string"
]
},
"viewHead": {
"left": [
{
"title": "string",
"value": "string"
}
],
"operation": [
{}
],
"right": [
{
"title": "string",
"value": "string"
}
],
"fieldChange": [
{
"title": "string",
"value": {}
}
]
}
},
"tabList": [
{
"formKey": "string",
"title": "string",
"apipath": "string",
"tabKey": "string",
"type": "string",
"icon": "string",
"count": 0
}
],
"tabCountGet": {
"apiPath": "string",
"params": "string"
},
"cardList": {
"left": [
{
"dataIndex": "string",
"title": "string",
"value": [
{
"cpname": {
"viewType": "string",
"formKey": "string",
"value": "string",
"label": "string"
},
"cptype": "string",
"diy_str11263": "string",
"cpcount": "string",
"cpunit": "string",
"quotedprice": "string",
"sumprice": "string",
"diy_str11500": "string",
"cpbrand": "string",
"systemstock": {
"value": "string",
"color": "string"
},
"systemsale": {
"value": "string",
"color": "string",
"tooltip": "string"
},
"systemoutin": "string",
"systemsent": "string",
"systemreturn": "string"
}
],
"haveMx": true,
"haveJgTiaoZ": true,
"cardType": "string",
"viewType": "string",
"TotalSum": "string",
"childform": [
{
"title": "string",
"dataIndex": "string",
"sorter": true,
"tooltip": "string"
}
]
}
],
"right": [
{
"formKey": "string",
"tabKey": "string",
"cardType": "string",
"title": {
"formKey": 0,
"viewType": "string",
"value": 0,
"label": "string",
"title": "string",
"tootip": "string"
},
"icon": "string",
"dataList": [
{
"title": "string",
"value": "string",
"prefix": "string",
"suffix": "string",
"percentage": "string",
"jw_title": {
"formKey": 0,
"label": "string",
"value": "string",
"viewType": "string"
},
"jw_starttime": "string",
"jw_id": "string",
"operation": [
{
"title": "string",
"opType": "string",
"refreshView": true,
"tooltip": "string",
"confirm": true,
"apiPath": "string",
"postData": {
"formKey": 0,
"jw_state": 0,
"msgid": "string"
},
"btnProps": {}
}
],
"read": true,
"remindType": "string",
"tixing": [
{
"label": "string",
"value": "string"
}
],
"emp": {
"title": "string",
"value": "string",
"img": "string",
"formKey": 0,
"addtime": "string",
"message": "string"
},
"msgid": "string",
"label": {
"value": 0,
"label": "string",
"formKey": 0,
"viewType": "string"
},
"iszlxr": true,
"datalist": [
"string"
]
}
],
"pagelog": "string",
"pagetitle": "string",
"listBtn": [
{
"title": "string",
"opType": "string",
"formKey": 0,
"btnProps": {
"type": "string",
"reload": true
},
"postData": {
"rela_formKey": 0,
"rela_msgid": 0
},
"markValue": [
{
"label": "string",
"markValue": "string",
"mbid": "string"
}
],
"disabled": true,
"tooltip": "string"
}
],
"headList": [
{
"dataIndex": "string",
"title": "string",
"width": 0,
"showInTable": true,
"canSetup": true,
"inputType": "string"
}
],
"errcode": 0,
"errmsg": "string",
"state": true,
"key": 0,
"children": [
{
"title": "string",
"key": "string",
"thisCustomer": true
}
],
"bottomBtn": [
{
"title": "string",
"opType": "string",
"formKey": 0,
"postData": {
"where": "string"
}
}
],
"remark": "string"
}
]
},
"hasChildViews": "string",
"pageTitle": "string",
"pageMark": "string",
"headBtn": [
"string"
],
"viewBtn": [
{
"title": "string",
"opType": "string",
"formKey": 0,
"msgid": 0,
"btnProps": {
"danger": true,
"type": "string"
},
"params": {
"markValue": "string"
},
"tooltip": "string",
"confirm": true,
"apiPath": "string",
"postData": {
"msgid": 0,
"mbid": "string",
"rela_formKey": "string",
"rela_msgid": 0,
"where": "string"
},
"drafts": {
"params": {
"markValue": "string"
},
"postData": {
"mbid": "string"
}
}
}
],
"data": [
{
"dataIndex": "string",
"title": "string",
"colSpan": 0,
"value": {
"viewType": "string",
"label": "string",
"value": [
null
],
"formKey": "string",
"baseInfo": true,
"childform": [
{
"dataIndex": "string",
"title": "string",
"maxLength": 0,
"valueType": "string",
"itemKey": "string",
"inputType": "string",
"sorter": true,
"required": true
}
]
},
"baseInfo": true,
"tooltip": "string"
}
],
"tuisong": true,
"dataStatus": [
{
"viewType": "string",
"label": "string",
"value": "string",
"icon": "string",
"tooltip": "string",
"color": "string"
}
],
"businessData": {
"canUpdate": true,
"canEditLink": true,
"businessId": "string",
"title": "string",
"billEnable": "string"
}
}