mcrm-mobile 1.9.6 → 1.9.8
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/es/http/index.js +121 -121
- package/es/index.js +1 -1
- package/es/menu-jump/index.js +221 -184
- package/es/tab/index.less +25 -25
- package/es/tabs/index.less +277 -277
- package/lib/http/index.js +121 -121
- package/lib/index.js +1 -1
- package/lib/mcrm-mobile.js +343 -306
- package/lib/mcrm-mobile.min.js +1 -1
- package/lib/menu-jump/index.js +221 -184
- package/lib/tab/index.less +25 -25
- package/lib/tabs/index.less +277 -277
- package/package.json +159 -159
- package/types/data-process.d.ts +20 -20
- package/vetur/attributes.json +635 -635
- package/vetur/tags.json +160 -160
- package/vetur/web-types.json +1413 -1413
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,9 +184,9 @@ var authMenuPageQuery = /*#__PURE__*/function () {
|
|
|
184
184
|
return _ref4.apply(this, arguments);
|
|
185
185
|
};
|
|
186
186
|
}();
|
|
187
|
-
/**
|
|
188
|
-
* 登录前菜单页面查询接口
|
|
189
|
-
* @param {string} menuCode 页面编号
|
|
187
|
+
/**
|
|
188
|
+
* 登录前菜单页面查询接口
|
|
189
|
+
* @param {string} menuCode 页面编号
|
|
190
190
|
*/
|
|
191
191
|
|
|
192
192
|
|
|
@@ -218,23 +218,23 @@ var menuPositionCheck = /*#__PURE__*/function () {
|
|
|
218
218
|
return _ref5.apply(this, arguments);
|
|
219
219
|
};
|
|
220
220
|
}();
|
|
221
|
-
/**
|
|
222
|
-
* 菜单权限校验接口Body参数
|
|
223
|
-
* @typedef MenuPageVerifyBody
|
|
224
|
-
* @property {string} funcId 认证编号
|
|
225
|
-
* @property {string} funcType 认证类型
|
|
226
|
-
* @property {string} verifyLogId 认证流水号
|
|
227
|
-
* @property {string} custUniqueId 客户唯一标识
|
|
228
|
-
* @property {string} billId 用户号码
|
|
229
|
-
* @property {string} opVerifyLogId 操作员认证流水
|
|
230
|
-
* @property {string} opSys 操作系统 引流使用字段
|
|
231
|
-
* @property {string} appVersion APP版本号 引流使用字段
|
|
232
|
-
* @property {string} menuCode 菜单编号 地市专区不用传
|
|
221
|
+
/**
|
|
222
|
+
* 菜单权限校验接口Body参数
|
|
223
|
+
* @typedef MenuPageVerifyBody
|
|
224
|
+
* @property {string} funcId 认证编号
|
|
225
|
+
* @property {string} funcType 认证类型
|
|
226
|
+
* @property {string} verifyLogId 认证流水号
|
|
227
|
+
* @property {string} custUniqueId 客户唯一标识
|
|
228
|
+
* @property {string} billId 用户号码
|
|
229
|
+
* @property {string} opVerifyLogId 操作员认证流水
|
|
230
|
+
* @property {string} opSys 操作系统 引流使用字段
|
|
231
|
+
* @property {string} appVersion APP版本号 引流使用字段
|
|
232
|
+
* @property {string} menuCode 菜单编号 地市专区不用传
|
|
233
233
|
*/
|
|
234
234
|
|
|
235
|
-
/**
|
|
236
|
-
* 菜单权限校验接口
|
|
237
|
-
* @param {MenuPageVerifyBody} body 菜单权限校验接口Body参数
|
|
235
|
+
/**
|
|
236
|
+
* 菜单权限校验接口
|
|
237
|
+
* @param {MenuPageVerifyBody} body 菜单权限校验接口Body参数
|
|
238
238
|
*/
|
|
239
239
|
|
|
240
240
|
|
|
@@ -264,10 +264,10 @@ var menuPageVerify = /*#__PURE__*/function () {
|
|
|
264
264
|
return _ref6.apply(this, arguments);
|
|
265
265
|
};
|
|
266
266
|
}();
|
|
267
|
-
/**
|
|
268
|
-
* 引流菜单校验接口
|
|
269
|
-
* @param {string} menuCode 菜单编号
|
|
270
|
-
* @param {string} sourceSyscode 系统编号
|
|
267
|
+
/**
|
|
268
|
+
* 引流菜单校验接口
|
|
269
|
+
* @param {string} menuCode 菜单编号
|
|
270
|
+
* @param {string} sourceSyscode 系统编号
|
|
271
271
|
*/
|
|
272
272
|
|
|
273
273
|
|
|
@@ -300,11 +300,11 @@ var menuCanaryRedirect = /*#__PURE__*/function () {
|
|
|
300
300
|
return _ref7.apply(this, arguments);
|
|
301
301
|
};
|
|
302
302
|
}();
|
|
303
|
-
/**
|
|
304
|
-
* 引流地址查询接口
|
|
305
|
-
* @param {string} envTag 环境标识
|
|
306
|
-
* @param {string} opSys 操作系统
|
|
307
|
-
* @param {string} appVersion 应用版本号
|
|
303
|
+
/**
|
|
304
|
+
* 引流地址查询接口
|
|
305
|
+
* @param {string} envTag 环境标识
|
|
306
|
+
* @param {string} opSys 操作系统
|
|
307
|
+
* @param {string} appVersion 应用版本号
|
|
308
308
|
*/
|
|
309
309
|
|
|
310
310
|
|
|
@@ -338,36 +338,36 @@ var coreCanaryRedirect = /*#__PURE__*/function () {
|
|
|
338
338
|
return _ref8.apply(this, arguments);
|
|
339
339
|
};
|
|
340
340
|
}();
|
|
341
|
-
/**
|
|
342
|
-
* @typedef BuryingSaveLogBody 埋点日志接口body参数
|
|
343
|
-
* @property {string} appVersion App版本
|
|
344
|
-
* @property {string} areaCode 地区编码
|
|
345
|
-
* @property {string} cityCode 地市编码
|
|
346
|
-
* @property {string} internetState 手机所用网络
|
|
347
|
-
* @property {string} loginSessionId 登入session
|
|
348
|
-
* @property {string} opName 操作人
|
|
349
|
-
* @property {string} pageDesc 页面描述
|
|
350
|
-
* @property {string} pageID 页面ID
|
|
351
|
-
* @property {string} pagePath 页面路径
|
|
352
|
-
* @property {string} phoneKernel 手机内核
|
|
353
|
-
* @property {string} phoneOpVersion 手机操作系统版本
|
|
354
|
-
* @property {string} phonePlatformVersion 手机平台版本
|
|
355
|
-
* @property {string} phoneSwitched 设备名称
|
|
356
|
-
* @property {string} menuCode 菜单编码
|
|
357
|
-
* @property {string} date 时间戳
|
|
358
|
-
* @property {string} year 日期--年份
|
|
359
|
-
* @property {string} month 日期--月份
|
|
360
|
-
* @property {string} day 日期--天
|
|
361
|
-
* @property {string} source 数据来源
|
|
362
|
-
* @property {string} type 数据类型
|
|
363
|
-
* @property {string} serviceName 业务名称
|
|
364
|
-
* @property {string} yddStatus 移动盾连接状态
|
|
365
|
-
* @property {string} fivegStatus 5g网络状态
|
|
341
|
+
/**
|
|
342
|
+
* @typedef BuryingSaveLogBody 埋点日志接口body参数
|
|
343
|
+
* @property {string} appVersion App版本
|
|
344
|
+
* @property {string} areaCode 地区编码
|
|
345
|
+
* @property {string} cityCode 地市编码
|
|
346
|
+
* @property {string} internetState 手机所用网络
|
|
347
|
+
* @property {string} loginSessionId 登入session
|
|
348
|
+
* @property {string} opName 操作人
|
|
349
|
+
* @property {string} pageDesc 页面描述
|
|
350
|
+
* @property {string} pageID 页面ID
|
|
351
|
+
* @property {string} pagePath 页面路径
|
|
352
|
+
* @property {string} phoneKernel 手机内核
|
|
353
|
+
* @property {string} phoneOpVersion 手机操作系统版本
|
|
354
|
+
* @property {string} phonePlatformVersion 手机平台版本
|
|
355
|
+
* @property {string} phoneSwitched 设备名称
|
|
356
|
+
* @property {string} menuCode 菜单编码
|
|
357
|
+
* @property {string} date 时间戳
|
|
358
|
+
* @property {string} year 日期--年份
|
|
359
|
+
* @property {string} month 日期--月份
|
|
360
|
+
* @property {string} day 日期--天
|
|
361
|
+
* @property {string} source 数据来源
|
|
362
|
+
* @property {string} type 数据类型
|
|
363
|
+
* @property {string} serviceName 业务名称
|
|
364
|
+
* @property {string} yddStatus 移动盾连接状态
|
|
365
|
+
* @property {string} fivegStatus 5g网络状态
|
|
366
366
|
*/
|
|
367
367
|
|
|
368
|
-
/**
|
|
369
|
-
* 埋点日志接口
|
|
370
|
-
* @param {BuryingSaveLogBody} body 埋点日志接口body参数
|
|
368
|
+
/**
|
|
369
|
+
* 埋点日志接口
|
|
370
|
+
* @param {BuryingSaveLogBody} body 埋点日志接口body参数
|
|
371
371
|
*/
|
|
372
372
|
|
|
373
373
|
|
|
@@ -543,25 +543,25 @@ var operationSaveLog = /*#__PURE__*/function () {
|
|
|
543
543
|
return _ref10.apply(this, arguments);
|
|
544
544
|
};
|
|
545
545
|
}();
|
|
546
|
-
/**
|
|
547
|
-
* @typedef GroupBusinessPointBody 数字员工日志接口参数
|
|
548
|
-
* @property {string} uniqueId 业务办理ID
|
|
549
|
-
* @property {string} operType 操作类型
|
|
550
|
-
* @property {string} operDesc 操作描述
|
|
551
|
-
* @property {string} menuCode 菜单编号
|
|
552
|
-
* @property {string} menuName 菜单名称
|
|
553
|
-
* @property {string} moduleName 菜单二级页面
|
|
554
|
-
* @property {string} funcName 功能名称
|
|
555
|
-
* @property {string} subFuncName 子功能名称
|
|
556
|
-
* @property {string} appVersion 网格通APP版本
|
|
557
|
-
* @property {string} isDigitalEmployee 是否可定义为数字员工功能
|
|
558
|
-
* @property {string} digitalEmployeeCategoryCode 数字员工分类编码
|
|
559
|
-
* @property {number} operTime 时间戳
|
|
546
|
+
/**
|
|
547
|
+
* @typedef GroupBusinessPointBody 数字员工日志接口参数
|
|
548
|
+
* @property {string} uniqueId 业务办理ID
|
|
549
|
+
* @property {string} operType 操作类型
|
|
550
|
+
* @property {string} operDesc 操作描述
|
|
551
|
+
* @property {string} menuCode 菜单编号
|
|
552
|
+
* @property {string} menuName 菜单名称
|
|
553
|
+
* @property {string} moduleName 菜单二级页面
|
|
554
|
+
* @property {string} funcName 功能名称
|
|
555
|
+
* @property {string} subFuncName 子功能名称
|
|
556
|
+
* @property {string} appVersion 网格通APP版本
|
|
557
|
+
* @property {string} isDigitalEmployee 是否可定义为数字员工功能
|
|
558
|
+
* @property {string} digitalEmployeeCategoryCode 数字员工分类编码
|
|
559
|
+
* @property {number} operTime 时间戳
|
|
560
560
|
*/
|
|
561
561
|
|
|
562
|
-
/**
|
|
563
|
-
* 数字员工添加日志
|
|
564
|
-
* @param {GroupBusinessPointBody} body 数字员工日志接口参数
|
|
562
|
+
/**
|
|
563
|
+
* 数字员工添加日志
|
|
564
|
+
* @param {GroupBusinessPointBody} body 数字员工日志接口参数
|
|
565
565
|
*/
|
|
566
566
|
|
|
567
567
|
|
package/es/index.js
CHANGED
|
@@ -92,7 +92,7 @@ import Tag from './tag';
|
|
|
92
92
|
import Toast from './toast';
|
|
93
93
|
import TreeSelect from './tree-select';
|
|
94
94
|
import Uploader from './uploader';
|
|
95
|
-
var version = '1.9.
|
|
95
|
+
var version = '1.9.8';
|
|
96
96
|
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, System, Tab, Tabbar, TabbarItem, Table, TableColumn, Tabs, Tag, Toast, TreeSelect, Uploader];
|
|
97
97
|
|
|
98
98
|
var install = function install(Vue) {
|