文档
测试

搜索预算列表

GET
http://test.52miaosuan.com:8090/miaosuan/budget/inspection/search

接口描述

根据关键字搜索预算列表,主要和项目名、业主名两个属性进行搜索匹配

请求头

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

请求参数

参数名
类型
描述
必填
page_index
int
分页页码
必填
page_size
int
每页显示的条数
必填
search_key
string
搜索关键字
必填

响应参数

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

说明 / 示例

返回响应: ```json { "code": 0, "msg": "成功", "data": { "item_list": [ { "budget_id": 1, "project_name": "我的测试预算", "owner_name": "张三", "owner_phone": "", "editor_name": "张新和", "total_sale": 0.00, "profit_rate": 0.00, "budget_type": 0, "budget_status": 1, "update_time": "2020-12-23 00:42:08", "update_time_text": "8小时前" } ], "total_num": 1 } } ```