mcrm-mobile 1.4.9 → 1.5.0
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 +42 -42
- package/es/data-process/ark.js +14 -14
- package/es/data-process/index.js +36 -36
- package/es/directive/index.js +7 -3
- package/es/http/index.js +101 -99
- package/es/index.js +1 -1
- package/es/menu-jump/index.js +100 -89
- package/es/nav-bar/index.less +97 -97
- package/es/style/theme.less +1189 -1189
- package/es/tab/index.less +25 -25
- package/es/tabs/index.less +277 -277
- package/es/utils/create-request-body/json.js +4 -4
- package/es/utils/filter/index.js +1 -1
- package/es/utils/http.js +5 -1
- package/lib/data-process/ark.js +14 -14
- package/lib/data-process/index.js +36 -36
- package/lib/directive/index.js +7 -3
- package/lib/http/index.js +101 -99
- package/lib/index.js +1 -1
- package/lib/mcrm-mobile.js +270 -249
- package/lib/mcrm-mobile.min.js +1 -1
- package/lib/menu-jump/index.js +100 -89
- package/lib/nav-bar/index.less +97 -97
- package/lib/style/theme.less +1189 -1189
- package/lib/tab/index.less +25 -25
- package/lib/tabs/index.less +277 -277
- package/lib/utils/create-request-body/json.js +4 -4
- package/lib/utils/filter/index.js +1 -1
- package/lib/utils/http.js +5 -1
- package/package.json +1 -1
- package/types/common.d.ts +94 -94
- package/types/data-process.d.ts +18 -18
- package/vetur/attributes.json +287 -287
- package/vetur/tags.json +86 -86
- package/vetur/web-types.json +830 -830
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) 协议,请自由地享受和参与开源
|
package/es/data-process/ark.js
CHANGED
|
@@ -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
|
|
package/es/data-process/index.js
CHANGED
|
@@ -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) {
|
package/es/directive/index.js
CHANGED
|
@@ -10,7 +10,7 @@ var buriedPoint = {
|
|
|
10
10
|
inserted: function inserted(el, binding) {
|
|
11
11
|
el.addEventListener("click", /*#__PURE__*/function () {
|
|
12
12
|
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;
|
|
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
14
|
|
|
15
15
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
16
16
|
while (1) {
|
|
@@ -57,6 +57,8 @@ var buriedPoint = {
|
|
|
57
57
|
source = "mcrm";
|
|
58
58
|
type = menuCode ? "menu" : "locus";
|
|
59
59
|
serviceName = "BURYING_POINT";
|
|
60
|
+
yddStatus = Session.get('yddStatus') || '';
|
|
61
|
+
fivegStatus = Session.get('fivegStatus') || '';
|
|
60
62
|
|
|
61
63
|
if (isBuriedPoint || buriedPointLevel === "2" || buriedPointLevel === 2 || buriedPointLevel === "1" && menuCode || buriedPointLevel === 1 && menuCode) {
|
|
62
64
|
isBuriedPoint !== false && Http.buryingSaveLog(_extends({}, extraParams, {
|
|
@@ -80,7 +82,9 @@ var buriedPoint = {
|
|
|
80
82
|
day: year + "-" + month + "-" + day,
|
|
81
83
|
source: source,
|
|
82
84
|
type: type,
|
|
83
|
-
serviceName: serviceName
|
|
85
|
+
serviceName: serviceName,
|
|
86
|
+
yddStatus: yddStatus,
|
|
87
|
+
fivegStatus: fivegStatus
|
|
84
88
|
}));
|
|
85
89
|
} // const updateOrgInfoService = (data) => {
|
|
86
90
|
// if (data) {
|
|
@@ -104,7 +108,7 @@ var buriedPoint = {
|
|
|
104
108
|
// });
|
|
105
109
|
|
|
106
110
|
|
|
107
|
-
case
|
|
111
|
+
case 23:
|
|
108
112
|
case "end":
|
|
109
113
|
return _context.stop();
|
|
110
114
|
}
|
package/es/http/index.js
CHANGED
|
@@ -1,41 +1,41 @@
|
|
|
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";
|
|
9
9
|
import { json } from "../utils/create-request-body/json";
|
|
10
10
|
import mcrm from "mcrm-jsapi";
|
|
11
11
|
import Session from "../session";
|
|
12
|
-
/**
|
|
13
|
-
* 创建外部订单流水入参
|
|
14
|
-
* @typedef AddOutFormParams
|
|
15
|
-
* @property {string} billId 用户手机号
|
|
16
|
-
* @property {string} syscode 系统编号
|
|
17
|
-
* @property {string} sysName 系统名称
|
|
18
|
-
* @property {string} ordertype 业务类型 00 - 自助受理;01 - 营销案;02 - 终端;03 - 宽带新装;04 - 宽带续费;05 - 套卡激活
|
|
19
|
-
* @property {string} publishType 推送类型 0:不推送;1:按操作员推送;2.按组织推送;3:推送至客户
|
|
20
|
-
* @property {string} title 标题
|
|
21
|
-
* @property {string} content 内容
|
|
22
|
-
* @property {string} outOrderId 外部订单号 第三方传入的流水号
|
|
23
|
-
* @property {string} qrId 二维码 id
|
|
24
|
-
* @property {string} sourceCode 来源编码 生成规则:发起调用方的 pageCode + "_" + 要打开页面的 pageCode
|
|
25
|
-
* @property {OrderInfo} orderInfo 订单信息
|
|
12
|
+
/**
|
|
13
|
+
* 创建外部订单流水入参
|
|
14
|
+
* @typedef AddOutFormParams
|
|
15
|
+
* @property {string} billId 用户手机号
|
|
16
|
+
* @property {string} syscode 系统编号
|
|
17
|
+
* @property {string} sysName 系统名称
|
|
18
|
+
* @property {string} ordertype 业务类型 00 - 自助受理;01 - 营销案;02 - 终端;03 - 宽带新装;04 - 宽带续费;05 - 套卡激活
|
|
19
|
+
* @property {string} publishType 推送类型 0:不推送;1:按操作员推送;2.按组织推送;3:推送至客户
|
|
20
|
+
* @property {string} title 标题
|
|
21
|
+
* @property {string} content 内容
|
|
22
|
+
* @property {string} outOrderId 外部订单号 第三方传入的流水号
|
|
23
|
+
* @property {string} qrId 二维码 id
|
|
24
|
+
* @property {string} sourceCode 来源编码 生成规则:发起调用方的 pageCode + "_" + 要打开页面的 pageCode
|
|
25
|
+
* @property {OrderInfo} orderInfo 订单信息
|
|
26
26
|
*/
|
|
27
27
|
|
|
28
|
-
/**
|
|
29
|
-
* @typedef OrderInfo
|
|
30
|
-
* @property {string} kindId 档次 ID
|
|
31
|
-
* @property {string} verifyLogId 认证流水 认证流水号
|
|
32
|
-
* @property {string} printId 无纸化单号 无纸化单号
|
|
33
|
-
* @property {string} infoNo 免填单号 免填单号
|
|
28
|
+
/**
|
|
29
|
+
* @typedef OrderInfo
|
|
30
|
+
* @property {string} kindId 档次 ID
|
|
31
|
+
* @property {string} verifyLogId 认证流水 认证流水号
|
|
32
|
+
* @property {string} printId 无纸化单号 无纸化单号
|
|
33
|
+
* @property {string} infoNo 免填单号 免填单号
|
|
34
34
|
*/
|
|
35
35
|
|
|
36
|
-
/**
|
|
37
|
-
* 创建外部订单流水
|
|
38
|
-
* @param {AddOutFormParams} body 入参
|
|
36
|
+
/**
|
|
37
|
+
* 创建外部订单流水
|
|
38
|
+
* @param {AddOutFormParams} body 入参
|
|
39
39
|
*/
|
|
40
40
|
|
|
41
41
|
var addOutForm = /*#__PURE__*/function () {
|
|
@@ -64,24 +64,24 @@ var addOutForm = /*#__PURE__*/function () {
|
|
|
64
64
|
return _ref.apply(this, arguments);
|
|
65
65
|
};
|
|
66
66
|
}();
|
|
67
|
-
/**
|
|
68
|
-
* 菜单页面打开接口Body参数
|
|
69
|
-
* @typedef MenuPageOpenBody
|
|
70
|
-
* @property {string} funcId 认证编号
|
|
71
|
-
* @property {string} funcType 认证类型
|
|
72
|
-
* @property {string} verifyLogId 认证流水号
|
|
73
|
-
* @property {string} billId 用户号码
|
|
74
|
-
* @property {string} opVerifyLogId 操作员认证流水
|
|
75
|
-
* @property {string} opSys 操作系统 引流使用字段
|
|
76
|
-
* @property {string} appVersion APP版本号 引流使用字段
|
|
77
|
-
* @property {string} menuCode 菜单编号 地市专区不用传
|
|
78
|
-
* @property {string} pageCode 页面编号
|
|
79
|
-
* @property {string} pageType 页面类型 不传默认是外部页面,传cityZone是地市专区
|
|
67
|
+
/**
|
|
68
|
+
* 菜单页面打开接口Body参数
|
|
69
|
+
* @typedef MenuPageOpenBody
|
|
70
|
+
* @property {string} funcId 认证编号
|
|
71
|
+
* @property {string} funcType 认证类型
|
|
72
|
+
* @property {string} verifyLogId 认证流水号
|
|
73
|
+
* @property {string} billId 用户号码
|
|
74
|
+
* @property {string} opVerifyLogId 操作员认证流水
|
|
75
|
+
* @property {string} opSys 操作系统 引流使用字段
|
|
76
|
+
* @property {string} appVersion APP版本号 引流使用字段
|
|
77
|
+
* @property {string} menuCode 菜单编号 地市专区不用传
|
|
78
|
+
* @property {string} pageCode 页面编号
|
|
79
|
+
* @property {string} pageType 页面类型 不传默认是外部页面,传cityZone是地市专区
|
|
80
80
|
*/
|
|
81
81
|
|
|
82
|
-
/**
|
|
83
|
-
* 菜单页面打开接口
|
|
84
|
-
* @param {MenuPageOpenBody} body 入参
|
|
82
|
+
/**
|
|
83
|
+
* 菜单页面打开接口
|
|
84
|
+
* @param {MenuPageOpenBody} body 入参
|
|
85
85
|
*/
|
|
86
86
|
|
|
87
87
|
|
|
@@ -111,10 +111,10 @@ var menuPageOpen = /*#__PURE__*/function () {
|
|
|
111
111
|
return _ref2.apply(this, arguments);
|
|
112
112
|
};
|
|
113
113
|
}();
|
|
114
|
-
/**
|
|
115
|
-
* 菜单页面查询接口
|
|
116
|
-
* @param {string} pageCode 页面编号
|
|
117
|
-
* @param {string} pageType 页面类型
|
|
114
|
+
/**
|
|
115
|
+
* 菜单页面查询接口
|
|
116
|
+
* @param {string} pageCode 页面编号
|
|
117
|
+
* @param {string} pageType 页面类型
|
|
118
118
|
*/
|
|
119
119
|
|
|
120
120
|
|
|
@@ -147,10 +147,10 @@ var menuPageQuery = /*#__PURE__*/function () {
|
|
|
147
147
|
return _ref3.apply(this, arguments);
|
|
148
148
|
};
|
|
149
149
|
}();
|
|
150
|
-
/**
|
|
151
|
-
* 登录前菜单页面查询接口
|
|
152
|
-
* @param {string} pageCode 页面编号
|
|
153
|
-
* @param {string} pageType 页面类型
|
|
150
|
+
/**
|
|
151
|
+
* 登录前菜单页面查询接口
|
|
152
|
+
* @param {string} pageCode 页面编号
|
|
153
|
+
* @param {string} pageType 页面类型
|
|
154
154
|
*/
|
|
155
155
|
|
|
156
156
|
|
|
@@ -183,23 +183,23 @@ var authMenuPageQuery = /*#__PURE__*/function () {
|
|
|
183
183
|
return _ref4.apply(this, arguments);
|
|
184
184
|
};
|
|
185
185
|
}();
|
|
186
|
-
/**
|
|
187
|
-
* 菜单权限校验接口Body参数
|
|
188
|
-
* @typedef MenuPageVerifyBody
|
|
189
|
-
* @property {string} funcId 认证编号
|
|
190
|
-
* @property {string} funcType 认证类型
|
|
191
|
-
* @property {string} verifyLogId 认证流水号
|
|
192
|
-
* @property {string} custUniqueId 客户唯一标识
|
|
193
|
-
* @property {string} billId 用户号码
|
|
194
|
-
* @property {string} opVerifyLogId 操作员认证流水
|
|
195
|
-
* @property {string} opSys 操作系统 引流使用字段
|
|
196
|
-
* @property {string} appVersion APP版本号 引流使用字段
|
|
197
|
-
* @property {string} menuCode 菜单编号 地市专区不用传
|
|
186
|
+
/**
|
|
187
|
+
* 菜单权限校验接口Body参数
|
|
188
|
+
* @typedef MenuPageVerifyBody
|
|
189
|
+
* @property {string} funcId 认证编号
|
|
190
|
+
* @property {string} funcType 认证类型
|
|
191
|
+
* @property {string} verifyLogId 认证流水号
|
|
192
|
+
* @property {string} custUniqueId 客户唯一标识
|
|
193
|
+
* @property {string} billId 用户号码
|
|
194
|
+
* @property {string} opVerifyLogId 操作员认证流水
|
|
195
|
+
* @property {string} opSys 操作系统 引流使用字段
|
|
196
|
+
* @property {string} appVersion APP版本号 引流使用字段
|
|
197
|
+
* @property {string} menuCode 菜单编号 地市专区不用传
|
|
198
198
|
*/
|
|
199
199
|
|
|
200
|
-
/**
|
|
201
|
-
* 菜单权限校验接口
|
|
202
|
-
* @param {MenuPageVerifyBody} body 菜单权限校验接口Body参数
|
|
200
|
+
/**
|
|
201
|
+
* 菜单权限校验接口
|
|
202
|
+
* @param {MenuPageVerifyBody} body 菜单权限校验接口Body参数
|
|
203
203
|
*/
|
|
204
204
|
|
|
205
205
|
|
|
@@ -229,10 +229,10 @@ var menuPageVerify = /*#__PURE__*/function () {
|
|
|
229
229
|
return _ref5.apply(this, arguments);
|
|
230
230
|
};
|
|
231
231
|
}();
|
|
232
|
-
/**
|
|
233
|
-
* 引流菜单校验接口
|
|
234
|
-
* @param {string} menuCode 菜单编号
|
|
235
|
-
* @param {string} sourceSyscode 系统编号
|
|
232
|
+
/**
|
|
233
|
+
* 引流菜单校验接口
|
|
234
|
+
* @param {string} menuCode 菜单编号
|
|
235
|
+
* @param {string} sourceSyscode 系统编号
|
|
236
236
|
*/
|
|
237
237
|
|
|
238
238
|
|
|
@@ -265,11 +265,11 @@ var menuCanaryRedirect = /*#__PURE__*/function () {
|
|
|
265
265
|
return _ref6.apply(this, arguments);
|
|
266
266
|
};
|
|
267
267
|
}();
|
|
268
|
-
/**
|
|
269
|
-
* 引流地址查询接口
|
|
270
|
-
* @param {string} envTag 环境标识
|
|
271
|
-
* @param {string} opSys 操作系统
|
|
272
|
-
* @param {string} appVersion 应用版本号
|
|
268
|
+
/**
|
|
269
|
+
* 引流地址查询接口
|
|
270
|
+
* @param {string} envTag 环境标识
|
|
271
|
+
* @param {string} opSys 操作系统
|
|
272
|
+
* @param {string} appVersion 应用版本号
|
|
273
273
|
*/
|
|
274
274
|
|
|
275
275
|
|
|
@@ -303,34 +303,36 @@ var coreCanaryRedirect = /*#__PURE__*/function () {
|
|
|
303
303
|
return _ref7.apply(this, arguments);
|
|
304
304
|
};
|
|
305
305
|
}();
|
|
306
|
-
/**
|
|
307
|
-
* @typedef BuryingSaveLogBody 埋点日志接口body参数
|
|
308
|
-
* @property {string} appVersion App版本
|
|
309
|
-
* @property {string} areaCode 地区编码
|
|
310
|
-
* @property {string} cityCode 地市编码
|
|
311
|
-
* @property {string} internetState 手机所用网络
|
|
312
|
-
* @property {string} loginSessionId 登入session
|
|
313
|
-
* @property {string} opName 操作人
|
|
314
|
-
* @property {string} pageDesc 页面描述
|
|
315
|
-
* @property {string} pageID 页面ID
|
|
316
|
-
* @property {string} pagePath 页面路径
|
|
317
|
-
* @property {string} phoneKernel 手机内核
|
|
318
|
-
* @property {string} phoneOpVersion 手机操作系统版本
|
|
319
|
-
* @property {string} phonePlatformVersion 手机平台版本
|
|
320
|
-
* @property {string} phoneSwitched 设备名称
|
|
321
|
-
* @property {string} menuCode 菜单编码
|
|
322
|
-
* @property {string} date 时间戳
|
|
323
|
-
* @property {string} year 日期--年份
|
|
324
|
-
* @property {string} month 日期--月份
|
|
325
|
-
* @property {string} day 日期--天
|
|
326
|
-
* @property {string} source 数据来源
|
|
327
|
-
* @property {string} type 数据类型
|
|
328
|
-
* @property {string} serviceName 业务名称
|
|
306
|
+
/**
|
|
307
|
+
* @typedef BuryingSaveLogBody 埋点日志接口body参数
|
|
308
|
+
* @property {string} appVersion App版本
|
|
309
|
+
* @property {string} areaCode 地区编码
|
|
310
|
+
* @property {string} cityCode 地市编码
|
|
311
|
+
* @property {string} internetState 手机所用网络
|
|
312
|
+
* @property {string} loginSessionId 登入session
|
|
313
|
+
* @property {string} opName 操作人
|
|
314
|
+
* @property {string} pageDesc 页面描述
|
|
315
|
+
* @property {string} pageID 页面ID
|
|
316
|
+
* @property {string} pagePath 页面路径
|
|
317
|
+
* @property {string} phoneKernel 手机内核
|
|
318
|
+
* @property {string} phoneOpVersion 手机操作系统版本
|
|
319
|
+
* @property {string} phonePlatformVersion 手机平台版本
|
|
320
|
+
* @property {string} phoneSwitched 设备名称
|
|
321
|
+
* @property {string} menuCode 菜单编码
|
|
322
|
+
* @property {string} date 时间戳
|
|
323
|
+
* @property {string} year 日期--年份
|
|
324
|
+
* @property {string} month 日期--月份
|
|
325
|
+
* @property {string} day 日期--天
|
|
326
|
+
* @property {string} source 数据来源
|
|
327
|
+
* @property {string} type 数据类型
|
|
328
|
+
* @property {string} serviceName 业务名称
|
|
329
|
+
* @property {string} yddStatus 移动盾连接状态
|
|
330
|
+
* @property {string} fivegStatus 5g网络状态
|
|
329
331
|
*/
|
|
330
332
|
|
|
331
|
-
/**
|
|
332
|
-
* 埋点日志接口
|
|
333
|
-
* @param {BuryingSaveLogBody} body 埋点日志接口body参数
|
|
333
|
+
/**
|
|
334
|
+
* 埋点日志接口
|
|
335
|
+
* @param {BuryingSaveLogBody} body 埋点日志接口body参数
|
|
334
336
|
*/
|
|
335
337
|
|
|
336
338
|
|
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.
|
|
94
|
+
var version = '1.5.0';
|
|
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) {
|