mcrm-mobile 1.7.4 → 1.7.5
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 +5 -2
- package/es/utils/message.json +1 -1
- package/lib/index.js +1 -1
- package/lib/mcrm-mobile.js +73 -70
- package/lib/mcrm-mobile.min.js +2 -2
- package/lib/menu-jump/index.js +66 -66
- package/lib/utils/http.js +5 -2
- package/lib/utils/message.json +1 -1
- package/package.json +158 -158
- package/vetur/attributes.json +347 -347
- package/vetur/tags.json +100 -100
- package/vetur/web-types.json +869 -869
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.5';
|
|
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
|
@@ -57,6 +57,8 @@ instanceJson.interceptors.request.use(function (config) {
|
|
|
57
57
|
_ref$appVersion = _ref.appVersion,
|
|
58
58
|
appVersion = _ref$appVersion === void 0 ? "V1.0" : _ref$appVersion;
|
|
59
59
|
|
|
60
|
+
var currentPageName = Session.get("currentPageName") || "mcrm_wgt";
|
|
61
|
+
|
|
60
62
|
if (opId && orgId) {
|
|
61
63
|
var AIPortal_Oper_OpId = DataProcess.base64Encrypt(opId);
|
|
62
64
|
var AIPortal_Oper_OrgId = DataProcess.base64Encrypt(orgId);
|
|
@@ -70,6 +72,7 @@ instanceJson.interceptors.request.use(function (config) {
|
|
|
70
72
|
opId && config.headers && (config.headers["AIPortal_Oper_OpId"] = DataProcess.base64Encrypt(opId));
|
|
71
73
|
orgId && config.headers && (config.headers["AIPortal_Oper_OrgId"] = DataProcess.base64Encrypt(orgId));
|
|
72
74
|
cityCode && config.headers && (config.headers["AIPortal_Oper_RegionCode"] = DataProcess.base64Encrypt(cityCode));
|
|
75
|
+
currentPageName && config.headers && (config.headers["GatewayParams"] = "pageCode=" + currentPageName);
|
|
73
76
|
|
|
74
77
|
if (process.env.NODE_ENV !== "local" && config.baseURL && config.baseURL === backUrl && switchNames && switchNames.INTERFACE_IS_ENCRYPTION) {
|
|
75
78
|
config.headers && (config.headers["Secure-Version"] = appVersion);
|
|
@@ -143,10 +146,10 @@ instanceJson.interceptors.response.use(function (response) {
|
|
|
143
146
|
}, function (error) {
|
|
144
147
|
error.response && error.response.data && (error.response.data = DataProcess.aesDecryptHttp(error.response.data)); // 如果是json字符串则进行转义
|
|
145
148
|
|
|
146
|
-
typeof error.response.data === "string" && error.response.data !== "" && (error.response.data = JSON.parse(error.response.data));
|
|
149
|
+
error.response && typeof error.response.data === "string" && error.response.data !== "" && (error.response.data = JSON.parse(error.response.data));
|
|
147
150
|
|
|
148
151
|
if (error.code === "ECONNABORTED" && error.message && error.message.indexOf("timeout") >= 0) {
|
|
149
|
-
return Promise.reject("
|
|
152
|
+
return Promise.reject("请求超时,请检查网络。");
|
|
150
153
|
} else if (error.response && error.response.status === 500) {
|
|
151
154
|
var result = error.response.data;
|
|
152
155
|
|
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.5';
|
|
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 */
|
|
@@ -18880,6 +18880,8 @@ instanceJson.interceptors.request.use(function (config) {
|
|
|
18880
18880
|
_ref$appVersion = _ref.appVersion,
|
|
18881
18881
|
appVersion = _ref$appVersion === void 0 ? "V1.0" : _ref$appVersion;
|
|
18882
18882
|
|
|
18883
|
+
var currentPageName = session["a" /* default */].get("currentPageName") || "mcrm_wgt";
|
|
18884
|
+
|
|
18883
18885
|
if (opId && orgId) {
|
|
18884
18886
|
var AIPortal_Oper_OpId = data_process["a" /* default */].base64Encrypt(opId);
|
|
18885
18887
|
var AIPortal_Oper_OrgId = data_process["a" /* default */].base64Encrypt(orgId);
|
|
@@ -18893,6 +18895,7 @@ instanceJson.interceptors.request.use(function (config) {
|
|
|
18893
18895
|
opId && config.headers && (config.headers["AIPortal_Oper_OpId"] = data_process["a" /* default */].base64Encrypt(opId));
|
|
18894
18896
|
orgId && config.headers && (config.headers["AIPortal_Oper_OrgId"] = data_process["a" /* default */].base64Encrypt(orgId));
|
|
18895
18897
|
cityCode && config.headers && (config.headers["AIPortal_Oper_RegionCode"] = data_process["a" /* default */].base64Encrypt(cityCode));
|
|
18898
|
+
currentPageName && config.headers && (config.headers["GatewayParams"] = "pageCode=" + currentPageName);
|
|
18896
18899
|
|
|
18897
18900
|
if ( true && config.baseURL && config.baseURL === backUrl && switchNames && switchNames.INTERFACE_IS_ENCRYPTION) {
|
|
18898
18901
|
config.headers && (config.headers["Secure-Version"] = appVersion);
|
|
@@ -18966,10 +18969,10 @@ instanceJson.interceptors.response.use(function (response) {
|
|
|
18966
18969
|
}, function (error) {
|
|
18967
18970
|
error.response && error.response.data && (error.response.data = data_process["a" /* default */].aesDecryptHttp(error.response.data)); // 如果是json字符串则进行转义
|
|
18968
18971
|
|
|
18969
|
-
typeof error.response.data === "string" && error.response.data !== "" && (error.response.data = JSON.parse(error.response.data));
|
|
18972
|
+
error.response && typeof error.response.data === "string" && error.response.data !== "" && (error.response.data = JSON.parse(error.response.data));
|
|
18970
18973
|
|
|
18971
18974
|
if (error.code === "ECONNABORTED" && error.message && error.message.indexOf("timeout") >= 0) {
|
|
18972
|
-
return Promise.reject("
|
|
18975
|
+
return Promise.reject("请求超时,请检查网络。");
|
|
18973
18976
|
} else if (error.response && error.response.status === 500) {
|
|
18974
18977
|
var result = error.response.data;
|
|
18975
18978
|
|
|
@@ -20231,22 +20234,22 @@ var menu_jump_viewName = {
|
|
|
20231
20234
|
2001522: "网格通-装维人员",
|
|
20232
20235
|
2001521: "网格通-商客联盟"
|
|
20233
20236
|
};
|
|
20234
|
-
/**
|
|
20235
|
-
* 加密
|
|
20236
|
-
* @param context
|
|
20237
|
-
* @param envType
|
|
20238
|
-
* @return {string} 返回的是base64格式的密文
|
|
20237
|
+
/**
|
|
20238
|
+
* 加密
|
|
20239
|
+
* @param context
|
|
20240
|
+
* @param envType
|
|
20241
|
+
* @return {string} 返回的是base64格式的密文
|
|
20239
20242
|
*/
|
|
20240
20243
|
|
|
20241
20244
|
var menu_jump_aesEncrypt = function aesEncrypt(context, envType) {
|
|
20242
20245
|
var key = envType === "test" ? "6000001111737173" : "6000002087795174";
|
|
20243
20246
|
return data_process["a" /* default */].aesEncrypt(context, key, key);
|
|
20244
20247
|
};
|
|
20245
|
-
/**
|
|
20246
|
-
* 获取SerialNum
|
|
20247
|
-
* @param menu 菜单信息
|
|
20248
|
-
* @param sybInfo 网格通信息
|
|
20249
|
-
* @returns {Promise<string>}
|
|
20248
|
+
/**
|
|
20249
|
+
* 获取SerialNum
|
|
20250
|
+
* @param menu 菜单信息
|
|
20251
|
+
* @param sybInfo 网格通信息
|
|
20252
|
+
* @returns {Promise<string>}
|
|
20250
20253
|
*/
|
|
20251
20254
|
|
|
20252
20255
|
|
|
@@ -20267,27 +20270,27 @@ var getSerialNumNew = /*#__PURE__*/function () {
|
|
|
20267
20270
|
orgId = _yield$getExpInfo.orgId;
|
|
20268
20271
|
billId = sybInfo.billId;
|
|
20269
20272
|
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:通用宝码
|
|
20273
|
+
/*
|
|
20274
|
+
* 业务类型
|
|
20275
|
+
* 00:固话商机;
|
|
20276
|
+
* 01:营销案;
|
|
20277
|
+
* 02:终端;
|
|
20278
|
+
* 03:宽带新装;
|
|
20279
|
+
* 04:宽带续费;
|
|
20280
|
+
* 05:套卡;
|
|
20281
|
+
* 07:亲情网;
|
|
20282
|
+
* 08:虚拟网;
|
|
20283
|
+
* 09:融合业务专区;
|
|
20284
|
+
* 10:业务设置;
|
|
20285
|
+
* 11:政企号卡订单查询;
|
|
20286
|
+
* 12:统一支付;
|
|
20287
|
+
* 13:权益商城;
|
|
20288
|
+
* 14:营销案一键办理;
|
|
20289
|
+
* 15:套餐变更;
|
|
20290
|
+
* 16:业务大厅预约单详情;
|
|
20291
|
+
* 17:营销案(新);
|
|
20292
|
+
* 18:终端出库(新);
|
|
20293
|
+
* 99:通用宝码
|
|
20291
20294
|
* */
|
|
20292
20295
|
|
|
20293
20296
|
_context.t0 = menuCode;
|
|
@@ -20419,13 +20422,13 @@ var getSerialNumNew = /*#__PURE__*/function () {
|
|
|
20419
20422
|
return _ref.apply(this, arguments);
|
|
20420
20423
|
};
|
|
20421
20424
|
}();
|
|
20422
|
-
/**
|
|
20423
|
-
* spliceUrl 拼接url
|
|
20424
|
-
* @param data 接口返回数据
|
|
20425
|
-
* @param menu 菜单信息
|
|
20426
|
-
* @param sybInfo 网格通信息
|
|
20427
|
-
* @param extraParams 扩展参数
|
|
20428
|
-
* @returns {*} 拼接后的url
|
|
20425
|
+
/**
|
|
20426
|
+
* spliceUrl 拼接url
|
|
20427
|
+
* @param data 接口返回数据
|
|
20428
|
+
* @param menu 菜单信息
|
|
20429
|
+
* @param sybInfo 网格通信息
|
|
20430
|
+
* @param extraParams 扩展参数
|
|
20431
|
+
* @returns {*} 拼接后的url
|
|
20429
20432
|
*/
|
|
20430
20433
|
|
|
20431
20434
|
|
|
@@ -20941,13 +20944,13 @@ var spliceUrl = /*#__PURE__*/function () {
|
|
|
20941
20944
|
return _ref2.apply(this, arguments);
|
|
20942
20945
|
};
|
|
20943
20946
|
}();
|
|
20944
|
-
/**
|
|
20945
|
-
* 拼接原生入参
|
|
20946
|
-
* @param menu 菜单信息
|
|
20947
|
-
* @param data 接口返回的信息
|
|
20948
|
-
* @param sybInfo 网格通信息
|
|
20949
|
-
* @param extraParams 额外信息
|
|
20950
|
-
* @returns {{}}
|
|
20947
|
+
/**
|
|
20948
|
+
* 拼接原生入参
|
|
20949
|
+
* @param menu 菜单信息
|
|
20950
|
+
* @param data 接口返回的信息
|
|
20951
|
+
* @param sybInfo 网格通信息
|
|
20952
|
+
* @param extraParams 额外信息
|
|
20953
|
+
* @returns {{}}
|
|
20951
20954
|
*/
|
|
20952
20955
|
|
|
20953
20956
|
|
|
@@ -21064,8 +21067,8 @@ var spliceParams = /*#__PURE__*/function () {
|
|
|
21064
21067
|
return _ref5.apply(this, arguments);
|
|
21065
21068
|
};
|
|
21066
21069
|
}();
|
|
21067
|
-
/**
|
|
21068
|
-
* 整合操作日志数据
|
|
21070
|
+
/**
|
|
21071
|
+
* 整合操作日志数据
|
|
21069
21072
|
*/
|
|
21070
21073
|
|
|
21071
21074
|
|
|
@@ -21138,16 +21141,16 @@ var operLogData = /*#__PURE__*/function () {
|
|
|
21138
21141
|
return _ref6.apply(this, arguments);
|
|
21139
21142
|
};
|
|
21140
21143
|
}();
|
|
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 页面打开失败时,回调函数
|
|
21144
|
+
/**
|
|
21145
|
+
* 根据url打开页面
|
|
21146
|
+
* @param data 接口响应数据
|
|
21147
|
+
* @param menu 菜单信息
|
|
21148
|
+
* @param sybInfo 网格通信息
|
|
21149
|
+
* @param extraParams 额外参数
|
|
21150
|
+
* @param openParams 打开页面通过原生传递的参数
|
|
21151
|
+
* @param onClose 页面关闭时,回调函数
|
|
21152
|
+
* @param onSuccess 页面打开成功时,回调函数
|
|
21153
|
+
* @param onFail 页面打开失败时,回调函数
|
|
21151
21154
|
*/
|
|
21152
21155
|
|
|
21153
21156
|
|
|
@@ -21359,15 +21362,15 @@ var menu_jump_onAuth = function onAuth(menu, sybInfo) {
|
|
|
21359
21362
|
});
|
|
21360
21363
|
});
|
|
21361
21364
|
};
|
|
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} 页面打开失败时,回调函数
|
|
21365
|
+
/**
|
|
21366
|
+
* 打开网格通自己开发的页面
|
|
21367
|
+
* @param menu 菜单信息
|
|
21368
|
+
* @param data 接口响应数据
|
|
21369
|
+
* @param sybInfo {Object} 网格通信息
|
|
21370
|
+
* @param extraParams {Object} 额外参数
|
|
21371
|
+
* @param onClose {Function} 页面关闭时,回调函数
|
|
21372
|
+
* @param onSuccess {Function} 页面打开成功时,回调函数
|
|
21373
|
+
* @param onFail {Function} 页面打开失败时,回调函数
|
|
21371
21374
|
*/
|
|
21372
21375
|
|
|
21373
21376
|
|
|
@@ -37280,7 +37283,7 @@ function isImageFile(item) {
|
|
|
37280
37283
|
|
|
37281
37284
|
|
|
37282
37285
|
|
|
37283
|
-
var version = '1.7.
|
|
37286
|
+
var version = '1.7.5';
|
|
37284
37287
|
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
37288
|
|
|
37286
37289
|
var es_install = function install(Vue) {
|