mcrm-mobile 1.7.4 → 1.7.6
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/index.js +1 -1
- package/es/menu-jump/index.js +66 -66
- package/es/utils/http.js +14 -8
- package/es/utils/message.json +1 -1
- package/lib/index.js +1 -1
- package/lib/mcrm-mobile.js +82 -76
- package/lib/mcrm-mobile.min.js +2 -2
- package/lib/menu-jump/index.js +66 -66
- package/lib/utils/http.js +14 -8
- package/lib/utils/message.json +1 -1
- package/package.json +158 -158
- package/vetur/attributes.json +355 -355
- package/vetur/tags.json +108 -108
- package/vetur/web-types.json +1088 -1088
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.7.
|
|
94
|
+
var version = '1.7.6';
|
|
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) {
|
package/es/menu-jump/index.js
CHANGED
|
@@ -39,22 +39,22 @@ var viewName = {
|
|
|
39
39
|
2001522: "网格通-装维人员",
|
|
40
40
|
2001521: "网格通-商客联盟"
|
|
41
41
|
};
|
|
42
|
-
/**
|
|
43
|
-
* 加密
|
|
44
|
-
* @param context
|
|
45
|
-
* @param envType
|
|
46
|
-
* @return {string} 返回的是base64格式的密文
|
|
42
|
+
/**
|
|
43
|
+
* 加密
|
|
44
|
+
* @param context
|
|
45
|
+
* @param envType
|
|
46
|
+
* @return {string} 返回的是base64格式的密文
|
|
47
47
|
*/
|
|
48
48
|
|
|
49
49
|
var aesEncrypt = function aesEncrypt(context, envType) {
|
|
50
50
|
var key = envType === "test" ? "6000001111737173" : "6000002087795174";
|
|
51
51
|
return DataProcess.aesEncrypt(context, key, key);
|
|
52
52
|
};
|
|
53
|
-
/**
|
|
54
|
-
* 获取SerialNum
|
|
55
|
-
* @param menu 菜单信息
|
|
56
|
-
* @param sybInfo 网格通信息
|
|
57
|
-
* @returns {Promise<string>}
|
|
53
|
+
/**
|
|
54
|
+
* 获取SerialNum
|
|
55
|
+
* @param menu 菜单信息
|
|
56
|
+
* @param sybInfo 网格通信息
|
|
57
|
+
* @returns {Promise<string>}
|
|
58
58
|
*/
|
|
59
59
|
|
|
60
60
|
|
|
@@ -75,27 +75,27 @@ var getSerialNumNew = /*#__PURE__*/function () {
|
|
|
75
75
|
orgId = _yield$getExpInfo.orgId;
|
|
76
76
|
billId = sybInfo.billId;
|
|
77
77
|
menuCode = menu.menuCode, menuPageCode = menu.menuPageCode;
|
|
78
|
-
/*
|
|
79
|
-
* 业务类型
|
|
80
|
-
* 00:固话商机;
|
|
81
|
-
* 01:营销案;
|
|
82
|
-
* 02:终端;
|
|
83
|
-
* 03:宽带新装;
|
|
84
|
-
* 04:宽带续费;
|
|
85
|
-
* 05:套卡;
|
|
86
|
-
* 07:亲情网;
|
|
87
|
-
* 08:虚拟网;
|
|
88
|
-
* 09:融合业务专区;
|
|
89
|
-
* 10:业务设置;
|
|
90
|
-
* 11:政企号卡订单查询;
|
|
91
|
-
* 12:统一支付;
|
|
92
|
-
* 13:权益商城;
|
|
93
|
-
* 14:营销案一键办理;
|
|
94
|
-
* 15:套餐变更;
|
|
95
|
-
* 16:业务大厅预约单详情;
|
|
96
|
-
* 17:营销案(新);
|
|
97
|
-
* 18:终端出库(新);
|
|
98
|
-
* 99:通用宝码
|
|
78
|
+
/*
|
|
79
|
+
* 业务类型
|
|
80
|
+
* 00:固话商机;
|
|
81
|
+
* 01:营销案;
|
|
82
|
+
* 02:终端;
|
|
83
|
+
* 03:宽带新装;
|
|
84
|
+
* 04:宽带续费;
|
|
85
|
+
* 05:套卡;
|
|
86
|
+
* 07:亲情网;
|
|
87
|
+
* 08:虚拟网;
|
|
88
|
+
* 09:融合业务专区;
|
|
89
|
+
* 10:业务设置;
|
|
90
|
+
* 11:政企号卡订单查询;
|
|
91
|
+
* 12:统一支付;
|
|
92
|
+
* 13:权益商城;
|
|
93
|
+
* 14:营销案一键办理;
|
|
94
|
+
* 15:套餐变更;
|
|
95
|
+
* 16:业务大厅预约单详情;
|
|
96
|
+
* 17:营销案(新);
|
|
97
|
+
* 18:终端出库(新);
|
|
98
|
+
* 99:通用宝码
|
|
99
99
|
* */
|
|
100
100
|
|
|
101
101
|
_context.t0 = menuCode;
|
|
@@ -227,13 +227,13 @@ var getSerialNumNew = /*#__PURE__*/function () {
|
|
|
227
227
|
return _ref.apply(this, arguments);
|
|
228
228
|
};
|
|
229
229
|
}();
|
|
230
|
-
/**
|
|
231
|
-
* spliceUrl 拼接url
|
|
232
|
-
* @param data 接口返回数据
|
|
233
|
-
* @param menu 菜单信息
|
|
234
|
-
* @param sybInfo 网格通信息
|
|
235
|
-
* @param extraParams 扩展参数
|
|
236
|
-
* @returns {*} 拼接后的url
|
|
230
|
+
/**
|
|
231
|
+
* spliceUrl 拼接url
|
|
232
|
+
* @param data 接口返回数据
|
|
233
|
+
* @param menu 菜单信息
|
|
234
|
+
* @param sybInfo 网格通信息
|
|
235
|
+
* @param extraParams 扩展参数
|
|
236
|
+
* @returns {*} 拼接后的url
|
|
237
237
|
*/
|
|
238
238
|
|
|
239
239
|
|
|
@@ -749,13 +749,13 @@ var spliceUrl = /*#__PURE__*/function () {
|
|
|
749
749
|
return _ref2.apply(this, arguments);
|
|
750
750
|
};
|
|
751
751
|
}();
|
|
752
|
-
/**
|
|
753
|
-
* 拼接原生入参
|
|
754
|
-
* @param menu 菜单信息
|
|
755
|
-
* @param data 接口返回的信息
|
|
756
|
-
* @param sybInfo 网格通信息
|
|
757
|
-
* @param extraParams 额外信息
|
|
758
|
-
* @returns {{}}
|
|
752
|
+
/**
|
|
753
|
+
* 拼接原生入参
|
|
754
|
+
* @param menu 菜单信息
|
|
755
|
+
* @param data 接口返回的信息
|
|
756
|
+
* @param sybInfo 网格通信息
|
|
757
|
+
* @param extraParams 额外信息
|
|
758
|
+
* @returns {{}}
|
|
759
759
|
*/
|
|
760
760
|
|
|
761
761
|
|
|
@@ -872,8 +872,8 @@ var spliceParams = /*#__PURE__*/function () {
|
|
|
872
872
|
return _ref5.apply(this, arguments);
|
|
873
873
|
};
|
|
874
874
|
}();
|
|
875
|
-
/**
|
|
876
|
-
* 整合操作日志数据
|
|
875
|
+
/**
|
|
876
|
+
* 整合操作日志数据
|
|
877
877
|
*/
|
|
878
878
|
|
|
879
879
|
|
|
@@ -946,16 +946,16 @@ var operLogData = /*#__PURE__*/function () {
|
|
|
946
946
|
return _ref6.apply(this, arguments);
|
|
947
947
|
};
|
|
948
948
|
}();
|
|
949
|
-
/**
|
|
950
|
-
* 根据url打开页面
|
|
951
|
-
* @param data 接口响应数据
|
|
952
|
-
* @param menu 菜单信息
|
|
953
|
-
* @param sybInfo 网格通信息
|
|
954
|
-
* @param extraParams 额外参数
|
|
955
|
-
* @param openParams 打开页面通过原生传递的参数
|
|
956
|
-
* @param onClose 页面关闭时,回调函数
|
|
957
|
-
* @param onSuccess 页面打开成功时,回调函数
|
|
958
|
-
* @param onFail 页面打开失败时,回调函数
|
|
949
|
+
/**
|
|
950
|
+
* 根据url打开页面
|
|
951
|
+
* @param data 接口响应数据
|
|
952
|
+
* @param menu 菜单信息
|
|
953
|
+
* @param sybInfo 网格通信息
|
|
954
|
+
* @param extraParams 额外参数
|
|
955
|
+
* @param openParams 打开页面通过原生传递的参数
|
|
956
|
+
* @param onClose 页面关闭时,回调函数
|
|
957
|
+
* @param onSuccess 页面打开成功时,回调函数
|
|
958
|
+
* @param onFail 页面打开失败时,回调函数
|
|
959
959
|
*/
|
|
960
960
|
|
|
961
961
|
|
|
@@ -1167,15 +1167,15 @@ var onAuth = function onAuth(menu, sybInfo) {
|
|
|
1167
1167
|
});
|
|
1168
1168
|
});
|
|
1169
1169
|
};
|
|
1170
|
-
/**
|
|
1171
|
-
* 打开网格通自己开发的页面
|
|
1172
|
-
* @param menu 菜单信息
|
|
1173
|
-
* @param data 接口响应数据
|
|
1174
|
-
* @param sybInfo {Object} 网格通信息
|
|
1175
|
-
* @param extraParams {Object} 额外参数
|
|
1176
|
-
* @param onClose {Function} 页面关闭时,回调函数
|
|
1177
|
-
* @param onSuccess {Function} 页面打开成功时,回调函数
|
|
1178
|
-
* @param onFail {Function} 页面打开失败时,回调函数
|
|
1170
|
+
/**
|
|
1171
|
+
* 打开网格通自己开发的页面
|
|
1172
|
+
* @param menu 菜单信息
|
|
1173
|
+
* @param data 接口响应数据
|
|
1174
|
+
* @param sybInfo {Object} 网格通信息
|
|
1175
|
+
* @param extraParams {Object} 额外参数
|
|
1176
|
+
* @param onClose {Function} 页面关闭时,回调函数
|
|
1177
|
+
* @param onSuccess {Function} 页面打开成功时,回调函数
|
|
1178
|
+
* @param onFail {Function} 页面打开失败时,回调函数
|
|
1179
1179
|
*/
|
|
1180
1180
|
|
|
1181
1181
|
|
package/es/utils/http.js
CHANGED
|
@@ -8,7 +8,7 @@ import Http from "../http";
|
|
|
8
8
|
import CommonUtils from "../common-utils";
|
|
9
9
|
import Toast from "../toast";
|
|
10
10
|
|
|
11
|
-
var logoutAlert = function logoutAlert(message) {
|
|
11
|
+
var logoutAlert = function logoutAlert(message, type) {
|
|
12
12
|
Toast.clear();
|
|
13
13
|
|
|
14
14
|
if (!Session.get("isLoginOutStatus")) {
|
|
@@ -30,7 +30,10 @@ var logoutAlert = function logoutAlert(message) {
|
|
|
30
30
|
});
|
|
31
31
|
} else {
|
|
32
32
|
mcrm.util.common({
|
|
33
|
-
action: "logout"
|
|
33
|
+
action: "logout",
|
|
34
|
+
params: {
|
|
35
|
+
type: type
|
|
36
|
+
}
|
|
34
37
|
});
|
|
35
38
|
}
|
|
36
39
|
}
|
|
@@ -57,6 +60,8 @@ instanceJson.interceptors.request.use(function (config) {
|
|
|
57
60
|
_ref$appVersion = _ref.appVersion,
|
|
58
61
|
appVersion = _ref$appVersion === void 0 ? "V1.0" : _ref$appVersion;
|
|
59
62
|
|
|
63
|
+
var currentPageName = Session.get("currentPageName") || "mcrm_wgt";
|
|
64
|
+
|
|
60
65
|
if (opId && orgId) {
|
|
61
66
|
var AIPortal_Oper_OpId = DataProcess.base64Encrypt(opId);
|
|
62
67
|
var AIPortal_Oper_OrgId = DataProcess.base64Encrypt(orgId);
|
|
@@ -70,6 +75,7 @@ instanceJson.interceptors.request.use(function (config) {
|
|
|
70
75
|
opId && config.headers && (config.headers["AIPortal_Oper_OpId"] = DataProcess.base64Encrypt(opId));
|
|
71
76
|
orgId && config.headers && (config.headers["AIPortal_Oper_OrgId"] = DataProcess.base64Encrypt(orgId));
|
|
72
77
|
cityCode && config.headers && (config.headers["AIPortal_Oper_RegionCode"] = DataProcess.base64Encrypt(cityCode));
|
|
78
|
+
currentPageName && config.headers && (config.headers["GatewayParams"] = "pageCode=" + currentPageName);
|
|
73
79
|
|
|
74
80
|
if (process.env.NODE_ENV !== "local" && config.baseURL && config.baseURL === backUrl && switchNames && switchNames.INTERFACE_IS_ENCRYPTION) {
|
|
75
81
|
config.headers && (config.headers["Secure-Version"] = appVersion);
|
|
@@ -135,7 +141,7 @@ instanceJson.interceptors.response.use(function (response) {
|
|
|
135
141
|
if (resData.code === 200 || resData.code === "200" || resData.msg && resData.msg.code === 200 || resData.msg && resData.msg.code === "200") {
|
|
136
142
|
return resData.data;
|
|
137
143
|
} else if (resData.code === 402 || resData.code === "402" || resData.msg && resData.msg.code === 402 || resData.msg && resData.msg.code === "402") {
|
|
138
|
-
logoutAlert(resData.message || resData.msg.message);
|
|
144
|
+
logoutAlert(resData.message || resData.msg.message, 1);
|
|
139
145
|
return Promise.reject(resData.message || resData.msg.message);
|
|
140
146
|
} else {
|
|
141
147
|
return Promise.reject(resData.message || resData.msg.message);
|
|
@@ -143,10 +149,10 @@ instanceJson.interceptors.response.use(function (response) {
|
|
|
143
149
|
}, function (error) {
|
|
144
150
|
error.response && error.response.data && (error.response.data = DataProcess.aesDecryptHttp(error.response.data)); // 如果是json字符串则进行转义
|
|
145
151
|
|
|
146
|
-
typeof error.response.data === "string" && error.response.data !== "" && (error.response.data = JSON.parse(error.response.data));
|
|
152
|
+
error.response && typeof error.response.data === "string" && error.response.data !== "" && (error.response.data = JSON.parse(error.response.data));
|
|
147
153
|
|
|
148
154
|
if (error.code === "ECONNABORTED" && error.message && error.message.indexOf("timeout") >= 0) {
|
|
149
|
-
return Promise.reject("
|
|
155
|
+
return Promise.reject("请求超时,请检查网络。");
|
|
150
156
|
} else if (error.response && error.response.status === 500) {
|
|
151
157
|
var result = error.response.data;
|
|
152
158
|
|
|
@@ -157,7 +163,7 @@ instanceJson.interceptors.response.use(function (response) {
|
|
|
157
163
|
var res = JSON.parse(resultMCRMReturn || "");
|
|
158
164
|
|
|
159
165
|
if (res.msg.code === "0") {
|
|
160
|
-
logoutAlert(res.msg.message);
|
|
166
|
+
logoutAlert(res.msg.message, 2);
|
|
161
167
|
}
|
|
162
168
|
|
|
163
169
|
return Promise.reject(res.msg.message);
|
|
@@ -165,7 +171,7 @@ instanceJson.interceptors.response.use(function (response) {
|
|
|
165
171
|
return Promise.reject(Message.INTERFACE_ERROR_500);
|
|
166
172
|
}
|
|
167
173
|
} else if (error.response && error.response.status === 401) {
|
|
168
|
-
logoutAlert(error.response.data.msg.message);
|
|
174
|
+
logoutAlert(error.response.data.msg.message, 1);
|
|
169
175
|
return Promise.reject("");
|
|
170
176
|
} else if (error.response && error.response.status === 403) {
|
|
171
177
|
try {
|
|
@@ -183,7 +189,7 @@ instanceJson.interceptors.response.use(function (response) {
|
|
|
183
189
|
moduleName: "登录",
|
|
184
190
|
operationResult: 0
|
|
185
191
|
});
|
|
186
|
-
logoutAlert("您的登录会话已失效,请重新登录。");
|
|
192
|
+
logoutAlert("您的登录会话已失效,请重新登录。", 2);
|
|
187
193
|
}
|
|
188
194
|
} catch (e) {
|
|
189
195
|
console.error(e);
|
package/es/utils/message.json
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"NAME_IS_NOT_STANDARD": "身份证名称不符合规范,是否继续进行?",
|
|
23
23
|
"SUCCESS_CODES" : ["1", "200", 1, 200],
|
|
24
24
|
"FAIL_CODES" : ["101", "102", "103", "104", 101, 102, 103, 104],
|
|
25
|
-
"INTERFACE_ERROR_0": "
|
|
25
|
+
"INTERFACE_ERROR_0": "服务调用失败,请检查网络!",
|
|
26
26
|
"INTERFACE_ERROR_500": "服务接口异常(错误代码:500),请联系管理员!",
|
|
27
27
|
"INTERFACE_ERROR_404": "服务调用异常(错误代码:404),请联系管理员!"
|
|
28
28
|
}
|
package/lib/index.js
CHANGED
|
@@ -373,7 +373,7 @@ var _uploader = _interopRequireDefault(require("./uploader"));
|
|
|
373
373
|
|
|
374
374
|
exports.Uploader = _uploader.default;
|
|
375
375
|
// This file is auto generated by build/build-entry.js
|
|
376
|
-
var version = '1.7.
|
|
376
|
+
var version = '1.7.6';
|
|
377
377
|
exports.version = version;
|
|
378
378
|
var components = [_actionSheet.default, _addressPicker.default, _api.default, _badge.default, _biz.default, _button.default, _calendar.default, _card.default, _cell.default, _cellGroup.default, _checkbox.default, _checkboxGroup.default, _circle.default, _col.default, _collapse.default, _collapseItem.default, _commonUtils.default, _countDown.default, _dataProcess.default, _datePicker.default, _datetimePicker.default, _dialog.default, _directive.default, _divider.default, _drag.default, _dropdownItem.default, _dropdownMenu.default, _empty.default, _field.default, _goodsAction.default, _goodsActionButton.default, _goodsActionIcon.default, _grid.default, _gridItem.default, _http.default, _icon.default, _image.default, _imagePreview.default, _indexAnchor.default, _indexBar.default, _info.default, _list.default, _loading.default, _local.default, _menu.default, _menuIcon.default, _menuJump.default, _menus.default, _navBar.default, _noticeBar.default, _notify.default, _overlay.default, _pagination.default, _panel.default, _passwordInput.default, _picker.default, _popover.default, _popup.default, _progress.default, _pullRefresh.default, _radio.default, _radioGroup.default, _rank.default, _rate.default, _row.default, _safeKeyboard.default, _search.default, _session.default, _shareSheet.default, _sidebar.default, _sidebarItem.default, _slider.default, _step.default, _stepper.default, _steps.default, _sticky.default, _swipe.default, _swipeCell.default, _swipeItem.default, _switch.default, _switchCell.default, _tab.default, _tabbar.default, _tabbarItem.default, _table.default, _tableColumn.default, _tabs.default, _tag.default, _toast.default, _treeSelect.default, _uploader.default];
|
|
379
379
|
|
package/lib/mcrm-mobile.js
CHANGED
|
@@ -4444,7 +4444,7 @@ external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_default.a.prototype.$DataPr
|
|
|
4444
4444
|
/* 15 */
|
|
4445
4445
|
/***/ (function(module) {
|
|
4446
4446
|
|
|
4447
|
-
module.exports = JSON.parse("{\"TIME_PICKER_MESSAGE\":\"结束时间不能小于开始时间\",\"INTERFACE_ERROR\":\"接口异常\",\"SUCCESS\":\"成功\",\"GOTO_POSITION\":\"跳转位置信息页面\",\"INTERFACE_TIMEOUT\":\"接口超时\",\"INTERFACE_LOADING\":\"正在加载接口\",\"INCONSISTENT\":\"身份证信息不一致\",\"POSITIONING_FAILED\":\"定位失败,请重新定位\",\"READ_FAILED\":\"读取证件失败,请重新读取\",\"RETAKE_PHOTO\":\"相机调用失败,请重新拍照\",\"BROADBAND_ACCOUNT_CAN_NOT_HANDLE_BUSINESS\":\"亲,您是宽带账号进入,此业务暂未上线,请耐心等待。\",\"ANDROID\":\"目前蓝牙写卡设备仅支持安卓,请使用安卓手机办理相关业务\",\"IN_PERFECTION_PLEASE_WAIT\":\"亲,还在完善中,请耐心等待哦~\",\"FACEVERIFIED\":\"请先进行人脸识别!\",\"UNCONFIGURATION\":\"未配置相对应权限跳转!\",\"NO_REAL_NAME_HAS_BEEN_REGISTERED1\":\"非实名用户,请到营业厅补录实名资料。\",\"REAL_NAME_HAS_BEEN_REGISTERED\":\"亲,你已经实名登记过。\",\"REAL_NAME_HAS_BEEN_REGISTERED1\":\"已实名用户无需办理。\",\"ID_CARD_EXPIRED\":\"亲,身份证的有效期已过,请使用有效证件。\",\"NAME_IS_NOT_STANDARD\":\"身份证名称不符合规范,是否继续进行?\",\"SUCCESS_CODES\":[\"1\",\"200\",1,200],\"FAIL_CODES\":[\"101\",\"102\",\"103\",\"104\",101,102,103,104],\"INTERFACE_ERROR_0\":\"
|
|
4447
|
+
module.exports = JSON.parse("{\"TIME_PICKER_MESSAGE\":\"结束时间不能小于开始时间\",\"INTERFACE_ERROR\":\"接口异常\",\"SUCCESS\":\"成功\",\"GOTO_POSITION\":\"跳转位置信息页面\",\"INTERFACE_TIMEOUT\":\"接口超时\",\"INTERFACE_LOADING\":\"正在加载接口\",\"INCONSISTENT\":\"身份证信息不一致\",\"POSITIONING_FAILED\":\"定位失败,请重新定位\",\"READ_FAILED\":\"读取证件失败,请重新读取\",\"RETAKE_PHOTO\":\"相机调用失败,请重新拍照\",\"BROADBAND_ACCOUNT_CAN_NOT_HANDLE_BUSINESS\":\"亲,您是宽带账号进入,此业务暂未上线,请耐心等待。\",\"ANDROID\":\"目前蓝牙写卡设备仅支持安卓,请使用安卓手机办理相关业务\",\"IN_PERFECTION_PLEASE_WAIT\":\"亲,还在完善中,请耐心等待哦~\",\"FACEVERIFIED\":\"请先进行人脸识别!\",\"UNCONFIGURATION\":\"未配置相对应权限跳转!\",\"NO_REAL_NAME_HAS_BEEN_REGISTERED1\":\"非实名用户,请到营业厅补录实名资料。\",\"REAL_NAME_HAS_BEEN_REGISTERED\":\"亲,你已经实名登记过。\",\"REAL_NAME_HAS_BEEN_REGISTERED1\":\"已实名用户无需办理。\",\"ID_CARD_EXPIRED\":\"亲,身份证的有效期已过,请使用有效证件。\",\"NAME_IS_NOT_STANDARD\":\"身份证名称不符合规范,是否继续进行?\",\"SUCCESS_CODES\":[\"1\",\"200\",1,200],\"FAIL_CODES\":[\"101\",\"102\",\"103\",\"104\",101,102,103,104],\"INTERFACE_ERROR_0\":\"服务调用失败,请检查网络!\",\"INTERFACE_ERROR_500\":\"服务接口异常(错误代码:500),请联系管理员!\",\"INTERFACE_ERROR_404\":\"服务调用异常(错误代码:404),请联系管理员!\"}");
|
|
4448
4448
|
|
|
4449
4449
|
/***/ }),
|
|
4450
4450
|
/* 16 */
|
|
@@ -18838,7 +18838,7 @@ external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_default.a.prototype.$toast
|
|
|
18838
18838
|
|
|
18839
18839
|
|
|
18840
18840
|
|
|
18841
|
-
var http_logoutAlert = function logoutAlert(message) {
|
|
18841
|
+
var http_logoutAlert = function logoutAlert(message, type) {
|
|
18842
18842
|
es_toast.clear();
|
|
18843
18843
|
|
|
18844
18844
|
if (!session["a" /* default */].get("isLoginOutStatus")) {
|
|
@@ -18853,7 +18853,10 @@ var http_logoutAlert = function logoutAlert(message) {
|
|
|
18853
18853
|
|
|
18854
18854
|
if (false) {} else {
|
|
18855
18855
|
external_mcrm_default.a.util.common({
|
|
18856
|
-
action: "logout"
|
|
18856
|
+
action: "logout",
|
|
18857
|
+
params: {
|
|
18858
|
+
type: type
|
|
18859
|
+
}
|
|
18857
18860
|
});
|
|
18858
18861
|
}
|
|
18859
18862
|
}
|
|
@@ -18880,6 +18883,8 @@ instanceJson.interceptors.request.use(function (config) {
|
|
|
18880
18883
|
_ref$appVersion = _ref.appVersion,
|
|
18881
18884
|
appVersion = _ref$appVersion === void 0 ? "V1.0" : _ref$appVersion;
|
|
18882
18885
|
|
|
18886
|
+
var currentPageName = session["a" /* default */].get("currentPageName") || "mcrm_wgt";
|
|
18887
|
+
|
|
18883
18888
|
if (opId && orgId) {
|
|
18884
18889
|
var AIPortal_Oper_OpId = data_process["a" /* default */].base64Encrypt(opId);
|
|
18885
18890
|
var AIPortal_Oper_OrgId = data_process["a" /* default */].base64Encrypt(orgId);
|
|
@@ -18893,6 +18898,7 @@ instanceJson.interceptors.request.use(function (config) {
|
|
|
18893
18898
|
opId && config.headers && (config.headers["AIPortal_Oper_OpId"] = data_process["a" /* default */].base64Encrypt(opId));
|
|
18894
18899
|
orgId && config.headers && (config.headers["AIPortal_Oper_OrgId"] = data_process["a" /* default */].base64Encrypt(orgId));
|
|
18895
18900
|
cityCode && config.headers && (config.headers["AIPortal_Oper_RegionCode"] = data_process["a" /* default */].base64Encrypt(cityCode));
|
|
18901
|
+
currentPageName && config.headers && (config.headers["GatewayParams"] = "pageCode=" + currentPageName);
|
|
18896
18902
|
|
|
18897
18903
|
if ( true && config.baseURL && config.baseURL === backUrl && switchNames && switchNames.INTERFACE_IS_ENCRYPTION) {
|
|
18898
18904
|
config.headers && (config.headers["Secure-Version"] = appVersion);
|
|
@@ -18958,7 +18964,7 @@ instanceJson.interceptors.response.use(function (response) {
|
|
|
18958
18964
|
if (resData.code === 200 || resData.code === "200" || resData.msg && resData.msg.code === 200 || resData.msg && resData.msg.code === "200") {
|
|
18959
18965
|
return resData.data;
|
|
18960
18966
|
} else if (resData.code === 402 || resData.code === "402" || resData.msg && resData.msg.code === 402 || resData.msg && resData.msg.code === "402") {
|
|
18961
|
-
http_logoutAlert(resData.message || resData.msg.message);
|
|
18967
|
+
http_logoutAlert(resData.message || resData.msg.message, 1);
|
|
18962
18968
|
return Promise.reject(resData.message || resData.msg.message);
|
|
18963
18969
|
} else {
|
|
18964
18970
|
return Promise.reject(resData.message || resData.msg.message);
|
|
@@ -18966,10 +18972,10 @@ instanceJson.interceptors.response.use(function (response) {
|
|
|
18966
18972
|
}, function (error) {
|
|
18967
18973
|
error.response && error.response.data && (error.response.data = data_process["a" /* default */].aesDecryptHttp(error.response.data)); // 如果是json字符串则进行转义
|
|
18968
18974
|
|
|
18969
|
-
typeof error.response.data === "string" && error.response.data !== "" && (error.response.data = JSON.parse(error.response.data));
|
|
18975
|
+
error.response && typeof error.response.data === "string" && error.response.data !== "" && (error.response.data = JSON.parse(error.response.data));
|
|
18970
18976
|
|
|
18971
18977
|
if (error.code === "ECONNABORTED" && error.message && error.message.indexOf("timeout") >= 0) {
|
|
18972
|
-
return Promise.reject("
|
|
18978
|
+
return Promise.reject("请求超时,请检查网络。");
|
|
18973
18979
|
} else if (error.response && error.response.status === 500) {
|
|
18974
18980
|
var result = error.response.data;
|
|
18975
18981
|
|
|
@@ -18980,7 +18986,7 @@ instanceJson.interceptors.response.use(function (response) {
|
|
|
18980
18986
|
var res = JSON.parse(resultMCRMReturn || "");
|
|
18981
18987
|
|
|
18982
18988
|
if (res.msg.code === "0") {
|
|
18983
|
-
http_logoutAlert(res.msg.message);
|
|
18989
|
+
http_logoutAlert(res.msg.message, 2);
|
|
18984
18990
|
}
|
|
18985
18991
|
|
|
18986
18992
|
return Promise.reject(res.msg.message);
|
|
@@ -18988,7 +18994,7 @@ instanceJson.interceptors.response.use(function (response) {
|
|
|
18988
18994
|
return Promise.reject(utils_message.INTERFACE_ERROR_500);
|
|
18989
18995
|
}
|
|
18990
18996
|
} else if (error.response && error.response.status === 401) {
|
|
18991
|
-
http_logoutAlert(error.response.data.msg.message);
|
|
18997
|
+
http_logoutAlert(error.response.data.msg.message, 1);
|
|
18992
18998
|
return Promise.reject("");
|
|
18993
18999
|
} else if (error.response && error.response.status === 403) {
|
|
18994
19000
|
try {
|
|
@@ -19006,7 +19012,7 @@ instanceJson.interceptors.response.use(function (response) {
|
|
|
19006
19012
|
moduleName: "登录",
|
|
19007
19013
|
operationResult: 0
|
|
19008
19014
|
});
|
|
19009
|
-
http_logoutAlert("您的登录会话已失效,请重新登录。");
|
|
19015
|
+
http_logoutAlert("您的登录会话已失效,请重新登录。", 2);
|
|
19010
19016
|
}
|
|
19011
19017
|
} catch (e) {
|
|
19012
19018
|
console.error(e);
|
|
@@ -20231,22 +20237,22 @@ var menu_jump_viewName = {
|
|
|
20231
20237
|
2001522: "网格通-装维人员",
|
|
20232
20238
|
2001521: "网格通-商客联盟"
|
|
20233
20239
|
};
|
|
20234
|
-
/**
|
|
20235
|
-
* 加密
|
|
20236
|
-
* @param context
|
|
20237
|
-
* @param envType
|
|
20238
|
-
* @return {string} 返回的是base64格式的密文
|
|
20240
|
+
/**
|
|
20241
|
+
* 加密
|
|
20242
|
+
* @param context
|
|
20243
|
+
* @param envType
|
|
20244
|
+
* @return {string} 返回的是base64格式的密文
|
|
20239
20245
|
*/
|
|
20240
20246
|
|
|
20241
20247
|
var menu_jump_aesEncrypt = function aesEncrypt(context, envType) {
|
|
20242
20248
|
var key = envType === "test" ? "6000001111737173" : "6000002087795174";
|
|
20243
20249
|
return data_process["a" /* default */].aesEncrypt(context, key, key);
|
|
20244
20250
|
};
|
|
20245
|
-
/**
|
|
20246
|
-
* 获取SerialNum
|
|
20247
|
-
* @param menu 菜单信息
|
|
20248
|
-
* @param sybInfo 网格通信息
|
|
20249
|
-
* @returns {Promise<string>}
|
|
20251
|
+
/**
|
|
20252
|
+
* 获取SerialNum
|
|
20253
|
+
* @param menu 菜单信息
|
|
20254
|
+
* @param sybInfo 网格通信息
|
|
20255
|
+
* @returns {Promise<string>}
|
|
20250
20256
|
*/
|
|
20251
20257
|
|
|
20252
20258
|
|
|
@@ -20267,27 +20273,27 @@ var getSerialNumNew = /*#__PURE__*/function () {
|
|
|
20267
20273
|
orgId = _yield$getExpInfo.orgId;
|
|
20268
20274
|
billId = sybInfo.billId;
|
|
20269
20275
|
menuCode = menu.menuCode, menuPageCode = menu.menuPageCode;
|
|
20270
|
-
/*
|
|
20271
|
-
* 业务类型
|
|
20272
|
-
* 00:固话商机;
|
|
20273
|
-
* 01:营销案;
|
|
20274
|
-
* 02:终端;
|
|
20275
|
-
* 03:宽带新装;
|
|
20276
|
-
* 04:宽带续费;
|
|
20277
|
-
* 05:套卡;
|
|
20278
|
-
* 07:亲情网;
|
|
20279
|
-
* 08:虚拟网;
|
|
20280
|
-
* 09:融合业务专区;
|
|
20281
|
-
* 10:业务设置;
|
|
20282
|
-
* 11:政企号卡订单查询;
|
|
20283
|
-
* 12:统一支付;
|
|
20284
|
-
* 13:权益商城;
|
|
20285
|
-
* 14:营销案一键办理;
|
|
20286
|
-
* 15:套餐变更;
|
|
20287
|
-
* 16:业务大厅预约单详情;
|
|
20288
|
-
* 17:营销案(新);
|
|
20289
|
-
* 18:终端出库(新);
|
|
20290
|
-
* 99:通用宝码
|
|
20276
|
+
/*
|
|
20277
|
+
* 业务类型
|
|
20278
|
+
* 00:固话商机;
|
|
20279
|
+
* 01:营销案;
|
|
20280
|
+
* 02:终端;
|
|
20281
|
+
* 03:宽带新装;
|
|
20282
|
+
* 04:宽带续费;
|
|
20283
|
+
* 05:套卡;
|
|
20284
|
+
* 07:亲情网;
|
|
20285
|
+
* 08:虚拟网;
|
|
20286
|
+
* 09:融合业务专区;
|
|
20287
|
+
* 10:业务设置;
|
|
20288
|
+
* 11:政企号卡订单查询;
|
|
20289
|
+
* 12:统一支付;
|
|
20290
|
+
* 13:权益商城;
|
|
20291
|
+
* 14:营销案一键办理;
|
|
20292
|
+
* 15:套餐变更;
|
|
20293
|
+
* 16:业务大厅预约单详情;
|
|
20294
|
+
* 17:营销案(新);
|
|
20295
|
+
* 18:终端出库(新);
|
|
20296
|
+
* 99:通用宝码
|
|
20291
20297
|
* */
|
|
20292
20298
|
|
|
20293
20299
|
_context.t0 = menuCode;
|
|
@@ -20419,13 +20425,13 @@ var getSerialNumNew = /*#__PURE__*/function () {
|
|
|
20419
20425
|
return _ref.apply(this, arguments);
|
|
20420
20426
|
};
|
|
20421
20427
|
}();
|
|
20422
|
-
/**
|
|
20423
|
-
* spliceUrl 拼接url
|
|
20424
|
-
* @param data 接口返回数据
|
|
20425
|
-
* @param menu 菜单信息
|
|
20426
|
-
* @param sybInfo 网格通信息
|
|
20427
|
-
* @param extraParams 扩展参数
|
|
20428
|
-
* @returns {*} 拼接后的url
|
|
20428
|
+
/**
|
|
20429
|
+
* spliceUrl 拼接url
|
|
20430
|
+
* @param data 接口返回数据
|
|
20431
|
+
* @param menu 菜单信息
|
|
20432
|
+
* @param sybInfo 网格通信息
|
|
20433
|
+
* @param extraParams 扩展参数
|
|
20434
|
+
* @returns {*} 拼接后的url
|
|
20429
20435
|
*/
|
|
20430
20436
|
|
|
20431
20437
|
|
|
@@ -20941,13 +20947,13 @@ var spliceUrl = /*#__PURE__*/function () {
|
|
|
20941
20947
|
return _ref2.apply(this, arguments);
|
|
20942
20948
|
};
|
|
20943
20949
|
}();
|
|
20944
|
-
/**
|
|
20945
|
-
* 拼接原生入参
|
|
20946
|
-
* @param menu 菜单信息
|
|
20947
|
-
* @param data 接口返回的信息
|
|
20948
|
-
* @param sybInfo 网格通信息
|
|
20949
|
-
* @param extraParams 额外信息
|
|
20950
|
-
* @returns {{}}
|
|
20950
|
+
/**
|
|
20951
|
+
* 拼接原生入参
|
|
20952
|
+
* @param menu 菜单信息
|
|
20953
|
+
* @param data 接口返回的信息
|
|
20954
|
+
* @param sybInfo 网格通信息
|
|
20955
|
+
* @param extraParams 额外信息
|
|
20956
|
+
* @returns {{}}
|
|
20951
20957
|
*/
|
|
20952
20958
|
|
|
20953
20959
|
|
|
@@ -21064,8 +21070,8 @@ var spliceParams = /*#__PURE__*/function () {
|
|
|
21064
21070
|
return _ref5.apply(this, arguments);
|
|
21065
21071
|
};
|
|
21066
21072
|
}();
|
|
21067
|
-
/**
|
|
21068
|
-
* 整合操作日志数据
|
|
21073
|
+
/**
|
|
21074
|
+
* 整合操作日志数据
|
|
21069
21075
|
*/
|
|
21070
21076
|
|
|
21071
21077
|
|
|
@@ -21138,16 +21144,16 @@ var operLogData = /*#__PURE__*/function () {
|
|
|
21138
21144
|
return _ref6.apply(this, arguments);
|
|
21139
21145
|
};
|
|
21140
21146
|
}();
|
|
21141
|
-
/**
|
|
21142
|
-
* 根据url打开页面
|
|
21143
|
-
* @param data 接口响应数据
|
|
21144
|
-
* @param menu 菜单信息
|
|
21145
|
-
* @param sybInfo 网格通信息
|
|
21146
|
-
* @param extraParams 额外参数
|
|
21147
|
-
* @param openParams 打开页面通过原生传递的参数
|
|
21148
|
-
* @param onClose 页面关闭时,回调函数
|
|
21149
|
-
* @param onSuccess 页面打开成功时,回调函数
|
|
21150
|
-
* @param onFail 页面打开失败时,回调函数
|
|
21147
|
+
/**
|
|
21148
|
+
* 根据url打开页面
|
|
21149
|
+
* @param data 接口响应数据
|
|
21150
|
+
* @param menu 菜单信息
|
|
21151
|
+
* @param sybInfo 网格通信息
|
|
21152
|
+
* @param extraParams 额外参数
|
|
21153
|
+
* @param openParams 打开页面通过原生传递的参数
|
|
21154
|
+
* @param onClose 页面关闭时,回调函数
|
|
21155
|
+
* @param onSuccess 页面打开成功时,回调函数
|
|
21156
|
+
* @param onFail 页面打开失败时,回调函数
|
|
21151
21157
|
*/
|
|
21152
21158
|
|
|
21153
21159
|
|
|
@@ -21359,15 +21365,15 @@ var menu_jump_onAuth = function onAuth(menu, sybInfo) {
|
|
|
21359
21365
|
});
|
|
21360
21366
|
});
|
|
21361
21367
|
};
|
|
21362
|
-
/**
|
|
21363
|
-
* 打开网格通自己开发的页面
|
|
21364
|
-
* @param menu 菜单信息
|
|
21365
|
-
* @param data 接口响应数据
|
|
21366
|
-
* @param sybInfo {Object} 网格通信息
|
|
21367
|
-
* @param extraParams {Object} 额外参数
|
|
21368
|
-
* @param onClose {Function} 页面关闭时,回调函数
|
|
21369
|
-
* @param onSuccess {Function} 页面打开成功时,回调函数
|
|
21370
|
-
* @param onFail {Function} 页面打开失败时,回调函数
|
|
21368
|
+
/**
|
|
21369
|
+
* 打开网格通自己开发的页面
|
|
21370
|
+
* @param menu 菜单信息
|
|
21371
|
+
* @param data 接口响应数据
|
|
21372
|
+
* @param sybInfo {Object} 网格通信息
|
|
21373
|
+
* @param extraParams {Object} 额外参数
|
|
21374
|
+
* @param onClose {Function} 页面关闭时,回调函数
|
|
21375
|
+
* @param onSuccess {Function} 页面打开成功时,回调函数
|
|
21376
|
+
* @param onFail {Function} 页面打开失败时,回调函数
|
|
21371
21377
|
*/
|
|
21372
21378
|
|
|
21373
21379
|
|
|
@@ -37280,7 +37286,7 @@ function isImageFile(item) {
|
|
|
37280
37286
|
|
|
37281
37287
|
|
|
37282
37288
|
|
|
37283
|
-
var version = '1.7.
|
|
37289
|
+
var version = '1.7.6';
|
|
37284
37290
|
var components = [action_sheet, address_picker, api, badge, biz, es_button, calendar, card, es_cell, cell_group, es_checkbox, checkbox_group, circle, col, collapse, collapse_item, common_utils, count_down, data_process["a" /* default */], date_picker, datetime_picker, dialog, directive, divider, drag, dropdown_item, dropdown_menu, empty, field, goods_action, goods_action_button, goods_action_icon, grid, grid_item, http, icon, es_image, image_preview, index_anchor, index_bar, es_info, list, loading, local, es_menu, menu_icon, menu_jump, es_menus, nav_bar, notice_bar, notify, es_overlay, pagination, panel, password_input, es_picker, popover, es_popup, es_progress, pull_refresh, es_radio, radio_group, rank, es_rate, row, safe_keyboard, search, session["a" /* default */], share_sheet, sidebar, sidebar_item, slider, es_step, stepper, steps, sticky, swipe, swipe_cell, swipe_item, es_switch, switch_cell, tab, tabbar, tabbar_item, table, table_column, tabs, tag, es_toast, tree_select, uploader];
|
|
37285
37291
|
|
|
37286
37292
|
var es_install = function install(Vue) {
|