mcrm-mobile 1.6.1 → 1.6.3

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/README.md CHANGED
@@ -1,42 +1,42 @@
1
- <div class="card">
2
- <div class="van-doc-intro">
3
- <h2 style="margin: 0; font-size: 36px; line-height: 60px;">McrmMobile</h2>
4
- <p>生意宝专用组件库</p>
5
- </div>
6
- </div>
7
- <p align="center">
8
- 🔥 <a href="http://20.26.39.174/downvue/mcrm-docs-new">文档网站</a>
9
- </p>
10
-
11
- ### 特性
12
-
13
- - 完善的文档和示例
14
- - 支持按需引入
15
- - 支持 TS
16
-
17
- ### 安装
18
-
19
- ```bash
20
- # 通过 npm 安装
21
- npm i mcrm-mobile -S
22
-
23
- # 通过 yarn 安装
24
- yarn add mcrm-mobile
25
- ```
26
-
27
- ### 快速上手
28
-
29
- ```js
30
- import Vue from "vue";
31
- import { Button } from "mcrm-mobile";
32
-
33
- Vue.use(Button);
34
- ```
35
-
36
- ### 浏览器支持
37
-
38
- 现代浏览器以及 Android 4.0+, iOS 7+
39
-
40
- ### 开源协议
41
-
42
- 本项目基于 [MIT](https://zh.wikipedia.org/wiki/MIT%E8%A8%B1%E5%8F%AF%E8%AD%89) 协议,请自由地享受和参与开源
1
+ <div class="card">
2
+ <div class="van-doc-intro">
3
+ <h2 style="margin: 0; font-size: 36px; line-height: 60px;">McrmMobile</h2>
4
+ <p>生意宝专用组件库</p>
5
+ </div>
6
+ </div>
7
+ <p align="center">
8
+ 🔥 <a href="http://20.26.39.174/downvue/mcrm-docs-new">文档网站</a>
9
+ </p>
10
+
11
+ ### 特性
12
+
13
+ - 完善的文档和示例
14
+ - 支持按需引入
15
+ - 支持 TS
16
+
17
+ ### 安装
18
+
19
+ ```bash
20
+ # 通过 npm 安装
21
+ npm i mcrm-mobile -S
22
+
23
+ # 通过 yarn 安装
24
+ yarn add mcrm-mobile
25
+ ```
26
+
27
+ ### 快速上手
28
+
29
+ ```js
30
+ import Vue from "vue";
31
+ import { Button } from "mcrm-mobile";
32
+
33
+ Vue.use(Button);
34
+ ```
35
+
36
+ ### 浏览器支持
37
+
38
+ 现代浏览器以及 Android 4.0+, iOS 7+
39
+
40
+ ### 开源协议
41
+
42
+ 本项目基于 [MIT](https://zh.wikipedia.org/wiki/MIT%E8%A8%B1%E5%8F%AF%E8%AD%89) 协议,请自由地享受和参与开源
@@ -1,5 +1,5 @@
1
- /**
2
- * Base64加解密封装
1
+ /**
2
+ * Base64加解密封装
3
3
  */
4
4
  function Base64() {
5
5
  // private property
@@ -116,8 +116,8 @@ function Base64() {
116
116
  return string;
117
117
  };
118
118
  }
119
- /**
120
- * 随机整数: [0, (n-1)]
119
+ /**
120
+ * 随机整数: [0, (n-1)]
121
121
  */
122
122
 
123
123
 
@@ -125,8 +125,8 @@ function rnd(n) {
125
125
  var random = Math.floor(Math.random() * n);
126
126
  return random;
127
127
  }
128
- /**-
129
- * 简单解密
128
+ /**-
129
+ * 简单解密
130
130
  */
131
131
 
132
132
 
@@ -139,8 +139,8 @@ function decodeBase64ForSec(str) {
139
139
  result = deleteChar(index2, result);
140
140
  return base64.decode(result);
141
141
  }
142
- /**
143
- * 简单加密
142
+ /**
143
+ * 简单加密
144
144
  */
145
145
 
146
146
 
@@ -153,8 +153,8 @@ function encodeBase64ForSec(str) {
153
153
  result = insertChar(index2, getRandomForSec(), result);
154
154
  return result.toString();
155
155
  }
156
- /**
157
- * 插入字符
156
+ /**
157
+ * 插入字符
158
158
  */
159
159
 
160
160
 
@@ -162,8 +162,8 @@ function insertChar(n, c, str) {
162
162
  var result = str.substring(0, n) + c + str.substring(n, str.length);
163
163
  return result;
164
164
  }
165
- /**
166
- * 删除字符
165
+ /**
166
+ * 删除字符
167
167
  */
168
168
 
169
169
 
@@ -171,8 +171,8 @@ function deleteChar(n, str) {
171
171
  var result = str.substring(0, n) + str.substring(n + 1, str.length);
172
172
  return result;
173
173
  }
174
- /**
175
- * 加解密获取随机字符
174
+ /**
175
+ * 加解密获取随机字符
176
176
  */
177
177
 
178
178
 
@@ -1,7 +1,7 @@
1
- /**
2
- * @author Wuner
3
- * @date 2021/9/28
4
- * @Description: 数据加解密
1
+ /**
2
+ * @author Wuner
3
+ * @date 2021/9/28
4
+ * @Description: 数据加解密
5
5
  */
6
6
  import Vue from "vue";
7
7
  import { strEnc, strDec } from "./des.js";
@@ -14,11 +14,11 @@ var CryptoJS = require("crypto-js");
14
14
 
15
15
  var KEY = "TUNSTWQ1jcm1BQkNEIRUZHSA==";
16
16
  var IV = "VGRtYlmdsalAxMWUxBcHJraw==";
17
- /**
18
- * AES加密
19
- * @param content 需加密的文本
20
- * @param key 密钥
21
- * @param iv 偏移量
17
+ /**
18
+ * AES加密
19
+ * @param content 需加密的文本
20
+ * @param key 密钥
21
+ * @param iv 偏移量
22
22
  */
23
23
 
24
24
  var aesEncrypt = function aesEncrypt(content, key, iv) {
@@ -34,11 +34,11 @@ var aesEncrypt = function aesEncrypt(content, key, iv) {
34
34
  });
35
35
  return encrypted.toString(); //返回的是base64格式的密文
36
36
  };
37
- /**
38
- * AES解密
39
- * @param content 密文
40
- * @param key 密钥
41
- * @param iv 偏移量
37
+ /**
38
+ * AES解密
39
+ * @param content 密文
40
+ * @param key 密钥
41
+ * @param iv 偏移量
42
42
  */
43
43
 
44
44
 
@@ -56,30 +56,30 @@ var aesDecrypt = function aesDecrypt(content, key, iv) {
56
56
  });
57
57
  return decrypted.toString(CryptoJS.enc.Utf8);
58
58
  };
59
- /**
60
- * DES解密
61
- * @param content 密文
62
- * @param keys 密钥
59
+ /**
60
+ * DES解密
61
+ * @param content 密文
62
+ * @param keys 密钥
63
63
  */
64
64
 
65
65
 
66
66
  var desDecrypt = function desDecrypt(content, keys) {
67
67
  return strDec(content, keys[0], keys[1], keys[2]);
68
68
  };
69
- /**
70
- * DES加密
71
- * @param content 需加密的文本
72
- * @param keys 密钥
69
+ /**
70
+ * DES加密
71
+ * @param content 需加密的文本
72
+ * @param keys 密钥
73
73
  */
74
74
 
75
75
 
76
76
  var desEncrypt = function desEncrypt(content, keys) {
77
77
  return strEnc(content, keys[0], keys[1], keys[2]);
78
78
  };
79
- /**
80
- * base64加密
81
- * @param content
82
- * @returns {*}
79
+ /**
80
+ * base64加密
81
+ * @param content
82
+ * @returns {*}
83
83
  */
84
84
 
85
85
 
@@ -87,10 +87,10 @@ var base64Encrypt = function base64Encrypt(content) {
87
87
  var words = CryptoJS.enc.Utf8.parse(content);
88
88
  return CryptoJS.enc.Base64.stringify(words);
89
89
  };
90
- /**
91
- * base64解密
92
- * @param content
93
- * @returns {*}
90
+ /**
91
+ * base64解密
92
+ * @param content
93
+ * @returns {*}
94
94
  */
95
95
 
96
96
 
@@ -98,18 +98,18 @@ var base64Decrypt = function base64Decrypt(content) {
98
98
  var words = CryptoJS.enc.Base64.parse(content);
99
99
  return CryptoJS.enc.Utf8.stringify(words);
100
100
  };
101
- /**
102
- * 方舟加密
103
- * @param content 需要加密对文本
101
+ /**
102
+ * 方舟加密
103
+ * @param content 需要加密对文本
104
104
  */
105
105
 
106
106
 
107
107
  export var arkEncrypt = function arkEncrypt(content) {
108
108
  return encodeBase64ForSec(content);
109
109
  };
110
- /**
111
- * 方舟解密
112
- * @param content 需要解密对文本
110
+ /**
111
+ * 方舟解密
112
+ * @param content 需要解密对文本
113
113
  */
114
114
 
115
115
  var arkDecrypt = function arkDecrypt(content) {
@@ -6,11 +6,12 @@ import Session from "../session";
6
6
  import CommonUtils from "../common-utils";
7
7
  import mcrm from "mcrm-jsapi";
8
8
  import { getExpInfo, isDef } from "../utils";
9
+ import Local from "../local";
9
10
  var buriedPoint = {
10
11
  inserted: function inserted(el, binding) {
11
12
  el.addEventListener("click", /*#__PURE__*/function () {
12
13
  var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(e) {
13
- var clickParams, buriedPointData, expInfo, buriedPointLevel, _clickParams, isBuriedPoint, noDrainage, _clickParams$pageName, pageName, _clickParams$menuName, menuName, _clickParams$menuCode, menuCode, _clickParams$extraPar, extraParams, appVersion, areaCode, cityCode, internetState, opName, phoneKernel, phoneOpVersion, phonePlatformVersion, phoneSwitched, loginSessionId, pageText, pageDesc, pageID, pagePath, _CommonUtils$getSysDa, year, month, day, date, source, type, serviceName, yddStatus, fivegStatus;
14
+ var clickParams, buriedPointData, expInfo, buriedPointLevel, _clickParams, isBuriedPoint, noDrainage, _clickParams$pageName, pageName, _clickParams$menuName, menuName, _clickParams$menuCode, menuCode, _clickParams$extraPar, extraParams, appVersion, areaCode, cityCode, internetState, opName, phoneKernel, phoneOpVersion, phonePlatformVersion, phoneSwitched, loginSessionId, pageText, pageDesc, pageID, pagePath, _CommonUtils$getSysDa, year, month, day, date, source, type, serviceName, yddStatus, fivegStatus, lastEntryView, viewName;
14
15
 
15
16
  return _regeneratorRuntime.wrap(function _callee$(_context) {
16
17
  while (1) {
@@ -57,8 +58,17 @@ var buriedPoint = {
57
58
  source = "mcrm";
58
59
  type = menuCode ? "menu" : "locus";
59
60
  serviceName = "BURYING_POINT";
60
- yddStatus = Session.get('yddStatus') || '';
61
- fivegStatus = Session.get('fivegStatus') || '';
61
+ yddStatus = Session.get("yddStatus") || "";
62
+ fivegStatus = Session.get("fivegStatus") || "";
63
+ lastEntryView = Local.get("lastEntryView") + "";
64
+ viewName = {
65
+ 2001511: "网格通-营销人员",
66
+ 2001515: "网格通-客户经理",
67
+ 2001514: "网格通-管理员",
68
+ 2001516: "网格通-销售经理",
69
+ 2001517: "网格通-网格长",
70
+ 2001520: "网格通-社区经理"
71
+ };
62
72
 
63
73
  if (isBuriedPoint || buriedPointLevel === "2" || buriedPointLevel === 2 || buriedPointLevel === "1" && menuCode || buriedPointLevel === 1 && menuCode) {
64
74
  isBuriedPoint !== false && Http.buryingSaveLog(_extends({}, extraParams, {
@@ -84,7 +94,8 @@ var buriedPoint = {
84
94
  type: type,
85
95
  serviceName: serviceName,
86
96
  yddStatus: yddStatus,
87
- fivegStatus: fivegStatus
97
+ fivegStatus: fivegStatus,
98
+ currentView: viewName[lastEntryView]
88
99
  }));
89
100
  } // const updateOrgInfoService = (data) => {
90
101
  // if (data) {
@@ -108,7 +119,7 @@ var buriedPoint = {
108
119
  // });
109
120
 
110
121
 
111
- case 23:
122
+ case 25:
112
123
  case "end":
113
124
  return _context.stop();
114
125
  }
package/es/http/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
2
2
  import _regeneratorRuntime from "@babel/runtime/regenerator";
3
3
 
4
- /**
5
- * Created by Heath on 2019/11/21.
4
+ /**
5
+ * Created by Heath on 2019/11/21.
6
6
  */
7
7
  import Vue from "vue";
8
8
  import { post } from "../utils/http";
@@ -10,33 +10,33 @@ import { json } from "../utils/create-request-body/json";
10
10
  import mcrm from "mcrm-jsapi";
11
11
  import Session from "../session";
12
12
  import { customerTypeFilter } from "../utils/filter/index";
13
- /**
14
- * 创建外部订单流水入参
15
- * @typedef AddOutFormParams
16
- * @property {string} billId 用户手机号
17
- * @property {string} syscode 系统编号
18
- * @property {string} sysName 系统名称
19
- * @property {string} ordertype 业务类型 00 - 自助受理;01 - 营销案;02 - 终端;03 - 宽带新装;04 - 宽带续费;05 - 套卡激活
20
- * @property {string} publishType 推送类型 0:不推送;1:按操作员推送;2.按组织推送;3:推送至客户
21
- * @property {string} title 标题
22
- * @property {string} content 内容
23
- * @property {string} outOrderId 外部订单号 第三方传入的流水号
24
- * @property {string} qrId 二维码 id
25
- * @property {string} sourceCode 来源编码 生成规则:发起调用方的 pageCode + "_" + 要打开页面的 pageCode
26
- * @property {OrderInfo} orderInfo 订单信息
13
+ /**
14
+ * 创建外部订单流水入参
15
+ * @typedef AddOutFormParams
16
+ * @property {string} billId 用户手机号
17
+ * @property {string} syscode 系统编号
18
+ * @property {string} sysName 系统名称
19
+ * @property {string} ordertype 业务类型 00 - 自助受理;01 - 营销案;02 - 终端;03 - 宽带新装;04 - 宽带续费;05 - 套卡激活
20
+ * @property {string} publishType 推送类型 0:不推送;1:按操作员推送;2.按组织推送;3:推送至客户
21
+ * @property {string} title 标题
22
+ * @property {string} content 内容
23
+ * @property {string} outOrderId 外部订单号 第三方传入的流水号
24
+ * @property {string} qrId 二维码 id
25
+ * @property {string} sourceCode 来源编码 生成规则:发起调用方的 pageCode + "_" + 要打开页面的 pageCode
26
+ * @property {OrderInfo} orderInfo 订单信息
27
27
  */
28
28
 
29
- /**
30
- * @typedef OrderInfo
31
- * @property {string} kindId 档次 ID
32
- * @property {string} verifyLogId 认证流水 认证流水号
33
- * @property {string} printId 无纸化单号 无纸化单号
34
- * @property {string} infoNo 免填单号 免填单号
29
+ /**
30
+ * @typedef OrderInfo
31
+ * @property {string} kindId 档次 ID
32
+ * @property {string} verifyLogId 认证流水 认证流水号
33
+ * @property {string} printId 无纸化单号 无纸化单号
34
+ * @property {string} infoNo 免填单号 免填单号
35
35
  */
36
36
 
37
- /**
38
- * 创建外部订单流水
39
- * @param {AddOutFormParams} body 入参
37
+ /**
38
+ * 创建外部订单流水
39
+ * @param {AddOutFormParams} body 入参
40
40
  */
41
41
 
42
42
  var addOutForm = /*#__PURE__*/function () {
@@ -65,24 +65,24 @@ var addOutForm = /*#__PURE__*/function () {
65
65
  return _ref.apply(this, arguments);
66
66
  };
67
67
  }();
68
- /**
69
- * 菜单页面打开接口Body参数
70
- * @typedef MenuPageOpenBody
71
- * @property {string} funcId 认证编号
72
- * @property {string} funcType 认证类型
73
- * @property {string} verifyLogId 认证流水号
74
- * @property {string} billId 用户号码
75
- * @property {string} opVerifyLogId 操作员认证流水
76
- * @property {string} opSys 操作系统 引流使用字段
77
- * @property {string} appVersion APP版本号 引流使用字段
78
- * @property {string} menuCode 菜单编号 地市专区不用传
79
- * @property {string} pageCode 页面编号
80
- * @property {string} pageType 页面类型 不传默认是外部页面,传cityZone是地市专区
68
+ /**
69
+ * 菜单页面打开接口Body参数
70
+ * @typedef MenuPageOpenBody
71
+ * @property {string} funcId 认证编号
72
+ * @property {string} funcType 认证类型
73
+ * @property {string} verifyLogId 认证流水号
74
+ * @property {string} billId 用户号码
75
+ * @property {string} opVerifyLogId 操作员认证流水
76
+ * @property {string} opSys 操作系统 引流使用字段
77
+ * @property {string} appVersion APP版本号 引流使用字段
78
+ * @property {string} menuCode 菜单编号 地市专区不用传
79
+ * @property {string} pageCode 页面编号
80
+ * @property {string} pageType 页面类型 不传默认是外部页面,传cityZone是地市专区
81
81
  */
82
82
 
83
- /**
84
- * 菜单页面打开接口
85
- * @param {MenuPageOpenBody} body 入参
83
+ /**
84
+ * 菜单页面打开接口
85
+ * @param {MenuPageOpenBody} body 入参
86
86
  */
87
87
 
88
88
 
@@ -112,10 +112,10 @@ var menuPageOpen = /*#__PURE__*/function () {
112
112
  return _ref2.apply(this, arguments);
113
113
  };
114
114
  }();
115
- /**
116
- * 菜单页面查询接口
117
- * @param {string} pageCode 页面编号
118
- * @param {string} pageType 页面类型
115
+ /**
116
+ * 菜单页面查询接口
117
+ * @param {string} pageCode 页面编号
118
+ * @param {string} pageType 页面类型
119
119
  */
120
120
 
121
121
 
@@ -148,10 +148,10 @@ var menuPageQuery = /*#__PURE__*/function () {
148
148
  return _ref3.apply(this, arguments);
149
149
  };
150
150
  }();
151
- /**
152
- * 登录前菜单页面查询接口
153
- * @param {string} pageCode 页面编号
154
- * @param {string} pageType 页面类型
151
+ /**
152
+ * 登录前菜单页面查询接口
153
+ * @param {string} pageCode 页面编号
154
+ * @param {string} pageType 页面类型
155
155
  */
156
156
 
157
157
 
@@ -184,23 +184,23 @@ var authMenuPageQuery = /*#__PURE__*/function () {
184
184
  return _ref4.apply(this, arguments);
185
185
  };
186
186
  }();
187
- /**
188
- * 菜单权限校验接口Body参数
189
- * @typedef MenuPageVerifyBody
190
- * @property {string} funcId 认证编号
191
- * @property {string} funcType 认证类型
192
- * @property {string} verifyLogId 认证流水号
193
- * @property {string} custUniqueId 客户唯一标识
194
- * @property {string} billId 用户号码
195
- * @property {string} opVerifyLogId 操作员认证流水
196
- * @property {string} opSys 操作系统 引流使用字段
197
- * @property {string} appVersion APP版本号 引流使用字段
198
- * @property {string} menuCode 菜单编号 地市专区不用传
187
+ /**
188
+ * 菜单权限校验接口Body参数
189
+ * @typedef MenuPageVerifyBody
190
+ * @property {string} funcId 认证编号
191
+ * @property {string} funcType 认证类型
192
+ * @property {string} verifyLogId 认证流水号
193
+ * @property {string} custUniqueId 客户唯一标识
194
+ * @property {string} billId 用户号码
195
+ * @property {string} opVerifyLogId 操作员认证流水
196
+ * @property {string} opSys 操作系统 引流使用字段
197
+ * @property {string} appVersion APP版本号 引流使用字段
198
+ * @property {string} menuCode 菜单编号 地市专区不用传
199
199
  */
200
200
 
201
- /**
202
- * 菜单权限校验接口
203
- * @param {MenuPageVerifyBody} body 菜单权限校验接口Body参数
201
+ /**
202
+ * 菜单权限校验接口
203
+ * @param {MenuPageVerifyBody} body 菜单权限校验接口Body参数
204
204
  */
205
205
 
206
206
 
@@ -230,10 +230,10 @@ var menuPageVerify = /*#__PURE__*/function () {
230
230
  return _ref5.apply(this, arguments);
231
231
  };
232
232
  }();
233
- /**
234
- * 引流菜单校验接口
235
- * @param {string} menuCode 菜单编号
236
- * @param {string} sourceSyscode 系统编号
233
+ /**
234
+ * 引流菜单校验接口
235
+ * @param {string} menuCode 菜单编号
236
+ * @param {string} sourceSyscode 系统编号
237
237
  */
238
238
 
239
239
 
@@ -266,11 +266,11 @@ var menuCanaryRedirect = /*#__PURE__*/function () {
266
266
  return _ref6.apply(this, arguments);
267
267
  };
268
268
  }();
269
- /**
270
- * 引流地址查询接口
271
- * @param {string} envTag 环境标识
272
- * @param {string} opSys 操作系统
273
- * @param {string} appVersion 应用版本号
269
+ /**
270
+ * 引流地址查询接口
271
+ * @param {string} envTag 环境标识
272
+ * @param {string} opSys 操作系统
273
+ * @param {string} appVersion 应用版本号
274
274
  */
275
275
 
276
276
 
@@ -304,36 +304,36 @@ var coreCanaryRedirect = /*#__PURE__*/function () {
304
304
  return _ref7.apply(this, arguments);
305
305
  };
306
306
  }();
307
- /**
308
- * @typedef BuryingSaveLogBody 埋点日志接口body参数
309
- * @property {string} appVersion App版本
310
- * @property {string} areaCode 地区编码
311
- * @property {string} cityCode 地市编码
312
- * @property {string} internetState 手机所用网络
313
- * @property {string} loginSessionId 登入session
314
- * @property {string} opName 操作人
315
- * @property {string} pageDesc 页面描述
316
- * @property {string} pageID 页面ID
317
- * @property {string} pagePath 页面路径
318
- * @property {string} phoneKernel 手机内核
319
- * @property {string} phoneOpVersion 手机操作系统版本
320
- * @property {string} phonePlatformVersion 手机平台版本
321
- * @property {string} phoneSwitched 设备名称
322
- * @property {string} menuCode 菜单编码
323
- * @property {string} date 时间戳
324
- * @property {string} year 日期--年份
325
- * @property {string} month 日期--月份
326
- * @property {string} day 日期--天
327
- * @property {string} source 数据来源
328
- * @property {string} type 数据类型
329
- * @property {string} serviceName 业务名称
330
- * @property {string} yddStatus 移动盾连接状态
331
- * @property {string} fivegStatus 5g网络状态
307
+ /**
308
+ * @typedef BuryingSaveLogBody 埋点日志接口body参数
309
+ * @property {string} appVersion App版本
310
+ * @property {string} areaCode 地区编码
311
+ * @property {string} cityCode 地市编码
312
+ * @property {string} internetState 手机所用网络
313
+ * @property {string} loginSessionId 登入session
314
+ * @property {string} opName 操作人
315
+ * @property {string} pageDesc 页面描述
316
+ * @property {string} pageID 页面ID
317
+ * @property {string} pagePath 页面路径
318
+ * @property {string} phoneKernel 手机内核
319
+ * @property {string} phoneOpVersion 手机操作系统版本
320
+ * @property {string} phonePlatformVersion 手机平台版本
321
+ * @property {string} phoneSwitched 设备名称
322
+ * @property {string} menuCode 菜单编码
323
+ * @property {string} date 时间戳
324
+ * @property {string} year 日期--年份
325
+ * @property {string} month 日期--月份
326
+ * @property {string} day 日期--天
327
+ * @property {string} source 数据来源
328
+ * @property {string} type 数据类型
329
+ * @property {string} serviceName 业务名称
330
+ * @property {string} yddStatus 移动盾连接状态
331
+ * @property {string} fivegStatus 5g网络状态
332
332
  */
333
333
 
334
- /**
335
- * 埋点日志接口
336
- * @param {BuryingSaveLogBody} body 埋点日志接口body参数
334
+ /**
335
+ * 埋点日志接口
336
+ * @param {BuryingSaveLogBody} body 埋点日志接口body参数
337
337
  */
338
338
 
339
339
 
@@ -501,6 +501,54 @@ var operationSaveLog = /*#__PURE__*/function () {
501
501
  return _ref9.apply(this, arguments);
502
502
  };
503
503
  }();
504
+ /**
505
+ * @typedef GroupBusinessPointBody 数字员工日志接口参数
506
+ * @property {string} uniqueId 业务办理ID
507
+ * @property {string} operType 操作类型
508
+ * @property {string} operDesc 操作描述
509
+ * @property {string} menuCode 菜单编号
510
+ * @property {string} menuName 菜单名称
511
+ * @property {string} moduleName 菜单二级页面
512
+ * @property {string} funcName 功能名称
513
+ * @property {string} subFuncName 子功能名称
514
+ * @property {string} appVersion 网格通APP版本
515
+ * @property {string} isDigitalEmployee 是否可定义为数字员工功能
516
+ * @property {string} digitalEmployeeCategoryCode 数字员工分类编码
517
+ * @property {number} operTime 时间戳
518
+ */
519
+
520
+ /**
521
+ * 数字员工添加日志
522
+ * @param {GroupBusinessPointBody} body 数字员工日志接口参数
523
+ */
524
+
525
+
526
+ var addGroupBusinessPoint = /*#__PURE__*/function () {
527
+ var _ref11 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee10(body) {
528
+ return _regeneratorRuntime.wrap(function _callee10$(_context10) {
529
+ while (1) {
530
+ switch (_context10.prev = _context10.next) {
531
+ case 0:
532
+ _context10.t0 = post;
533
+ _context10.next = 3;
534
+ return json(body, ["opId", "orgId", "cityCode", "opName"]);
535
+
536
+ case 3:
537
+ _context10.t1 = _context10.sent;
538
+ return _context10.abrupt("return", (0, _context10.t0)("/expension/group/business", _context10.t1));
539
+
540
+ case 5:
541
+ case "end":
542
+ return _context10.stop();
543
+ }
544
+ }
545
+ }, _callee10);
546
+ }));
547
+
548
+ return function addGroupBusinessPoint(_x15) {
549
+ return _ref11.apply(this, arguments);
550
+ };
551
+ }();
504
552
 
505
553
  var Http = {
506
554
  addOutForm: addOutForm,
@@ -511,7 +559,8 @@ var Http = {
511
559
  buryingSaveLog: buryingSaveLog,
512
560
  authMenuPageQuery: authMenuPageQuery,
513
561
  menuCanaryRedirect: menuCanaryRedirect,
514
- operationSaveLog: operationSaveLog
562
+ operationSaveLog: operationSaveLog,
563
+ addGroupBusinessPoint: addGroupBusinessPoint
515
564
  };
516
565
  Vue.prototype.$Http = Http;
517
566
  export default Http;
package/es/index.js CHANGED
@@ -91,7 +91,7 @@ import Tag from './tag';
91
91
  import Toast from './toast';
92
92
  import TreeSelect from './tree-select';
93
93
  import Uploader from './uploader';
94
- var version = '1.6.1';
94
+ var version = '1.6.3';
95
95
  var components = [ActionSheet, AddressPicker, Api, Badge, Biz, Button, Calendar, Card, Cell, CellGroup, Checkbox, CheckboxGroup, Circle, Col, Collapse, CollapseItem, CommonUtils, CountDown, DataProcess, DatePicker, DatetimePicker, Dialog, Directive, Divider, Drag, DropdownItem, DropdownMenu, Empty, Field, GoodsAction, GoodsActionButton, GoodsActionIcon, Grid, GridItem, Http, Icon, Image, ImagePreview, IndexAnchor, IndexBar, Info, List, Loading, Local, Menu, MenuIcon, MenuJump, Menus, NavBar, NoticeBar, Notify, Overlay, Pagination, Panel, PasswordInput, Picker, Popover, Popup, Progress, PullRefresh, Radio, RadioGroup, Rank, Rate, Row, SafeKeyboard, Search, Session, ShareSheet, Sidebar, SidebarItem, Slider, Step, Stepper, Steps, Sticky, Swipe, SwipeCell, SwipeItem, Switch, SwitchCell, Tab, Tabbar, TabbarItem, Table, TableColumn, Tabs, Tag, Toast, TreeSelect, Uploader];
96
96
 
97
97
  var install = function install(Vue) {