文档
测试

搜索审核列表

GET
http://test.52miaosuan.com:8090/miaosuan/budget/inspection/search?search_key=预算&&search_attribute=0

接口描述

搜索预算审核列表

请求头

参数名
类型
描述
必填
user_id
int
用户编号
必填

请求参数

参数名
类型
描述
必填
page_index
int
分页页码
必填
page_size
int
每页显示的条数
必填
search_key
string
搜索关键字
必填
search_attribute
int
枚举类型,搜索哪一列,0 - 项目名称,1 - 业主名称
必填

响应参数

参数名
类型
描述
必填
code
int
示例:0
必填
msg
string
示例:成功
必填
data
object
数据字典
必填
item_list
array
预算列表
必填
budget_id
int
预算编号
必填
project_name
string
项目名称
必填
owner_name
string
业主名称
必填
owner_phone
string
业主电话
必填
total_sale
object
总报价
必填
profit_rate
int
利润率
必填
budget_type
int
预算类型枚举,0 - 半包,1 - 全包,2 - 套餐,99 - 其他
必填
budget_status
int
预算状态枚举,0 - 待提交,1 - 待审核,2 - 待成单,3 - 已成单,4 - 丢单, 5 - 审核驳回
必填
update_time
string
示例:2020-12-21 00:16:56
必填
update_time_text
string
更易读的时间,示例:15小时前
必填
total_num
int
预算的总数
必填

说明 / 示例

返回响应 ```json { "code": 0, "msg": "成功", "data": { "item_list": [ { "budget_id": 1, "project_name": "我的测试预算", "owner_name": "", "owner_phone": "", "total_sale": null, "profit_rate": 0.00, "budget_type": 0, "budget_status": 3, "update_time": "2020-12-21 00:16:56", "update_time_text": "15小时前" } ], "total_num": 1 } } ```