@cpzxrobot/sdk 1.1.61 → 1.1.63

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cpzxrobot/sdk",
3
- "version": "1.1.61",
3
+ "version": "1.1.63",
4
4
  "description": "提供给上海正芯数智APP第三方H5应用使用的SDK",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -14,6 +14,7 @@ export class ProductGateway extends Object {
14
14
  name: string;
15
15
  typeId: number;
16
16
  companyId: number;
17
+ typeName?: string;
17
18
  }) {
18
19
 
19
20
  return this.context.ready.then((axios) => {
@@ -86,6 +87,9 @@ export class ProductGateway extends Object {
86
87
  price: number;
87
88
  companyId: number;
88
89
  remark?: string;
90
+ name?: string;
91
+ model?: string;
92
+ material_code?: string;
89
93
  }) => {
90
94
  return this.context.ready.then((axios) => {
91
95
  return axios.post(`/api/v2/coremde-sale/product/price/add`, args);
package/readme.md CHANGED
@@ -159,8 +159,8 @@ baseURL: "/"
159
159
  | cpzxrobot().user.workReport.get | 获取用户的日报记录 |
160
160
  | cpzxrobot().user.workReport.add | 添加用户的日报记录 |
161
161
  | cpzxrobot().user.position.leader | 获取当前用户的领导信息 |
162
- | cpzxrobot().user.position.team | 获取当前用户的下属团队信息 |
163
- | cpzxrobot().user.position.colleague | 获取当前用户的同组团队信息,传入teamId参数 |
162
+ | cpzxrobot().user.position.team | 获取当前用户的下属团队信息, 可输入searchName进行模糊搜索 |
163
+ | cpzxrobot().user.position.colleague | 获取当前用户的同组团队信息 |
164
164
  | cpzxrobot().user.position.byDept | 按部门获得团队信息,传入deptName参数 |
165
165
  | cpzxrobot().product.list | 获得产品列表,传入factory_id和必要的分页参数 |
166
166
  | cpzxrobot().product.get | 获得产品信息,传入id参数 |