mcrm-mobile 1.5.6 → 1.5.7
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/index.js +8 -10
- package/es/menu-jump/index.js +71 -70
- package/lib/index.js +1 -1
- package/lib/mcrm-mobile.js +80 -81
- package/lib/mcrm-mobile.min.js +1 -1
- package/lib/menu/index.js +8 -10
- package/lib/menu-jump/index.js +71 -70
- package/package.json +158 -158
- package/vetur/attributes.json +253 -253
- package/vetur/tags.json +63 -63
- package/vetur/web-types.json +627 -627
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.5.
|
|
94
|
+
var version = '1.5.7';
|
|
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/index.js
CHANGED
|
@@ -127,14 +127,13 @@ export default create({
|
|
|
127
127
|
_this.$emit("click", menu);
|
|
128
128
|
} else {
|
|
129
129
|
if (isRoute) {
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
logMenusFilter(menuCode) && Http.operationSaveLog((_Http$operationSaveLo = {
|
|
130
|
+
logMenusFilter(menuCode) && Http.operationSaveLog({
|
|
133
131
|
operationTypeName: "打开菜单",
|
|
134
132
|
operationTypeCode: "openMenu",
|
|
135
133
|
operationResult: 0,
|
|
136
|
-
moduleNo: menuPageCode || ""
|
|
137
|
-
|
|
134
|
+
moduleNo: menu.funcId || menuPageCode || "",
|
|
135
|
+
moduleName: menuName || ""
|
|
136
|
+
});
|
|
138
137
|
|
|
139
138
|
_this.$router.push({
|
|
140
139
|
name: menuPageCode
|
|
@@ -147,15 +146,14 @@ export default create({
|
|
|
147
146
|
});
|
|
148
147
|
}
|
|
149
148
|
}, function (error) {
|
|
150
|
-
var _Http$operationSaveLo2;
|
|
151
|
-
|
|
152
149
|
Toast.clear();
|
|
153
|
-
logMenusFilter(menuCode) && Http.operationSaveLog(
|
|
150
|
+
logMenusFilter(menuCode) && Http.operationSaveLog({
|
|
154
151
|
operationTypeName: "打开菜单",
|
|
155
152
|
operationTypeCode: "openMenu",
|
|
156
153
|
operationResult: 1,
|
|
157
|
-
moduleNo: menuPageCode || ""
|
|
158
|
-
|
|
154
|
+
moduleNo: menu.funcId || menuPageCode || "",
|
|
155
|
+
moduleName: menuName || ""
|
|
156
|
+
});
|
|
159
157
|
error && error.message && Toast(error.message);
|
|
160
158
|
|
|
161
159
|
_this.$emit("fail", {
|
package/es/menu-jump/index.js
CHANGED
|
@@ -28,22 +28,22 @@ var viewObj = {
|
|
|
28
28
|
2001517: "GRID_VIEW",
|
|
29
29
|
2001520: "COMMUNITY_MANAGER_VIEW"
|
|
30
30
|
};
|
|
31
|
-
/**
|
|
32
|
-
* 加密
|
|
33
|
-
* @param context
|
|
34
|
-
* @param envType
|
|
35
|
-
* @return {string} 返回的是base64格式的密文
|
|
31
|
+
/**
|
|
32
|
+
* 加密
|
|
33
|
+
* @param context
|
|
34
|
+
* @param envType
|
|
35
|
+
* @return {string} 返回的是base64格式的密文
|
|
36
36
|
*/
|
|
37
37
|
|
|
38
38
|
var aesEncrypt = function aesEncrypt(context, envType) {
|
|
39
39
|
var key = envType === "test" ? "6000001111737173" : "6000002087795174";
|
|
40
40
|
return DataProcess.aesEncrypt(context, key, key);
|
|
41
41
|
};
|
|
42
|
-
/**
|
|
43
|
-
* 获取SerialNum
|
|
44
|
-
* @param menu 菜单信息
|
|
45
|
-
* @param sybInfo 网格通信息
|
|
46
|
-
* @returns {Promise<string>}
|
|
42
|
+
/**
|
|
43
|
+
* 获取SerialNum
|
|
44
|
+
* @param menu 菜单信息
|
|
45
|
+
* @param sybInfo 网格通信息
|
|
46
|
+
* @returns {Promise<string>}
|
|
47
47
|
*/
|
|
48
48
|
|
|
49
49
|
|
|
@@ -64,27 +64,27 @@ var getSerialNumNew = /*#__PURE__*/function () {
|
|
|
64
64
|
orgId = _yield$getExpInfo.orgId;
|
|
65
65
|
billId = sybInfo.billId;
|
|
66
66
|
menuCode = menu.menuCode, menuPageCode = menu.menuPageCode;
|
|
67
|
-
/*
|
|
68
|
-
* 业务类型
|
|
69
|
-
* 00:固话商机;
|
|
70
|
-
* 01:营销案;
|
|
71
|
-
* 02:终端;
|
|
72
|
-
* 03:宽带新装;
|
|
73
|
-
* 04:宽带续费;
|
|
74
|
-
* 05:套卡;
|
|
75
|
-
* 07:亲情网;
|
|
76
|
-
* 08:虚拟网;
|
|
77
|
-
* 09:融合业务专区;
|
|
78
|
-
* 10:业务设置;
|
|
79
|
-
* 11:政企号卡订单查询;
|
|
80
|
-
* 12:统一支付;
|
|
81
|
-
* 13:权益商城;
|
|
82
|
-
* 14:营销案一键办理;
|
|
83
|
-
* 15:套餐变更;
|
|
84
|
-
* 16:业务大厅预约单详情;
|
|
85
|
-
* 17:营销案(新);
|
|
86
|
-
* 18:终端出库(新);
|
|
87
|
-
* 99:通用宝码
|
|
67
|
+
/*
|
|
68
|
+
* 业务类型
|
|
69
|
+
* 00:固话商机;
|
|
70
|
+
* 01:营销案;
|
|
71
|
+
* 02:终端;
|
|
72
|
+
* 03:宽带新装;
|
|
73
|
+
* 04:宽带续费;
|
|
74
|
+
* 05:套卡;
|
|
75
|
+
* 07:亲情网;
|
|
76
|
+
* 08:虚拟网;
|
|
77
|
+
* 09:融合业务专区;
|
|
78
|
+
* 10:业务设置;
|
|
79
|
+
* 11:政企号卡订单查询;
|
|
80
|
+
* 12:统一支付;
|
|
81
|
+
* 13:权益商城;
|
|
82
|
+
* 14:营销案一键办理;
|
|
83
|
+
* 15:套餐变更;
|
|
84
|
+
* 16:业务大厅预约单详情;
|
|
85
|
+
* 17:营销案(新);
|
|
86
|
+
* 18:终端出库(新);
|
|
87
|
+
* 99:通用宝码
|
|
88
88
|
* */
|
|
89
89
|
|
|
90
90
|
_context.t0 = menuCode;
|
|
@@ -216,13 +216,13 @@ var getSerialNumNew = /*#__PURE__*/function () {
|
|
|
216
216
|
return _ref.apply(this, arguments);
|
|
217
217
|
};
|
|
218
218
|
}();
|
|
219
|
-
/**
|
|
220
|
-
* spliceUrl 拼接url
|
|
221
|
-
* @param data 接口返回数据
|
|
222
|
-
* @param menu 菜单信息
|
|
223
|
-
* @param sybInfo 网格通信息
|
|
224
|
-
* @param extraParams 扩展参数
|
|
225
|
-
* @returns {*} 拼接后的url
|
|
219
|
+
/**
|
|
220
|
+
* spliceUrl 拼接url
|
|
221
|
+
* @param data 接口返回数据
|
|
222
|
+
* @param menu 菜单信息
|
|
223
|
+
* @param sybInfo 网格通信息
|
|
224
|
+
* @param extraParams 扩展参数
|
|
225
|
+
* @returns {*} 拼接后的url
|
|
226
226
|
*/
|
|
227
227
|
|
|
228
228
|
|
|
@@ -729,13 +729,13 @@ var spliceUrl = /*#__PURE__*/function () {
|
|
|
729
729
|
return _ref2.apply(this, arguments);
|
|
730
730
|
};
|
|
731
731
|
}();
|
|
732
|
-
/**
|
|
733
|
-
* 拼接原生入参
|
|
734
|
-
* @param menu 菜单信息
|
|
735
|
-
* @param data 接口返回的信息
|
|
736
|
-
* @param sybInfo 网格通信息
|
|
737
|
-
* @param extraParams 额外信息
|
|
738
|
-
* @returns {{}}
|
|
732
|
+
/**
|
|
733
|
+
* 拼接原生入参
|
|
734
|
+
* @param menu 菜单信息
|
|
735
|
+
* @param data 接口返回的信息
|
|
736
|
+
* @param sybInfo 网格通信息
|
|
737
|
+
* @param extraParams 额外信息
|
|
738
|
+
* @returns {{}}
|
|
739
739
|
*/
|
|
740
740
|
|
|
741
741
|
|
|
@@ -852,8 +852,8 @@ var spliceParams = /*#__PURE__*/function () {
|
|
|
852
852
|
return _ref5.apply(this, arguments);
|
|
853
853
|
};
|
|
854
854
|
}();
|
|
855
|
-
/**
|
|
856
|
-
* 整合操作日志数据
|
|
855
|
+
/**
|
|
856
|
+
* 整合操作日志数据
|
|
857
857
|
*/
|
|
858
858
|
|
|
859
859
|
|
|
@@ -920,16 +920,16 @@ var operLogData = /*#__PURE__*/function () {
|
|
|
920
920
|
return _ref6.apply(this, arguments);
|
|
921
921
|
};
|
|
922
922
|
}();
|
|
923
|
-
/**
|
|
924
|
-
* 根据url打开页面
|
|
925
|
-
* @param data 接口响应数据
|
|
926
|
-
* @param menu 菜单信息
|
|
927
|
-
* @param sybInfo 网格通信息
|
|
928
|
-
* @param extraParams 额外参数
|
|
929
|
-
* @param openParams 打开页面通过原生传递的参数
|
|
930
|
-
* @param onClose 页面关闭时,回调函数
|
|
931
|
-
* @param onSuccess 页面打开成功时,回调函数
|
|
932
|
-
* @param onFail 页面打开失败时,回调函数
|
|
923
|
+
/**
|
|
924
|
+
* 根据url打开页面
|
|
925
|
+
* @param data 接口响应数据
|
|
926
|
+
* @param menu 菜单信息
|
|
927
|
+
* @param sybInfo 网格通信息
|
|
928
|
+
* @param extraParams 额外参数
|
|
929
|
+
* @param openParams 打开页面通过原生传递的参数
|
|
930
|
+
* @param onClose 页面关闭时,回调函数
|
|
931
|
+
* @param onSuccess 页面打开成功时,回调函数
|
|
932
|
+
* @param onFail 页面打开失败时,回调函数
|
|
933
933
|
*/
|
|
934
934
|
|
|
935
935
|
|
|
@@ -1139,21 +1139,21 @@ var onAuth = function onAuth(menu, sybInfo) {
|
|
|
1139
1139
|
});
|
|
1140
1140
|
});
|
|
1141
1141
|
};
|
|
1142
|
-
/**
|
|
1143
|
-
* 打开网格通自己开发的页面
|
|
1144
|
-
* @param menu 菜单信息
|
|
1145
|
-
* @param data 接口响应数据
|
|
1146
|
-
* @param sybInfo {Object} 网格通信息
|
|
1147
|
-
* @param extraParams {Object} 额外参数
|
|
1148
|
-
* @param onClose {Function} 页面关闭时,回调函数
|
|
1149
|
-
* @param onSuccess {Function} 页面打开成功时,回调函数
|
|
1150
|
-
* @param onFail {Function} 页面打开失败时,回调函数
|
|
1142
|
+
/**
|
|
1143
|
+
* 打开网格通自己开发的页面
|
|
1144
|
+
* @param menu 菜单信息
|
|
1145
|
+
* @param data 接口响应数据
|
|
1146
|
+
* @param sybInfo {Object} 网格通信息
|
|
1147
|
+
* @param extraParams {Object} 额外参数
|
|
1148
|
+
* @param onClose {Function} 页面关闭时,回调函数
|
|
1149
|
+
* @param onSuccess {Function} 页面打开成功时,回调函数
|
|
1150
|
+
* @param onFail {Function} 页面打开失败时,回调函数
|
|
1151
1151
|
*/
|
|
1152
1152
|
|
|
1153
1153
|
|
|
1154
1154
|
var openOwnPage = /*#__PURE__*/function () {
|
|
1155
1155
|
var _ref10 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee7(menu, data, sybInfo, extraParams, onClose, onSuccess, onFail) {
|
|
1156
|
-
var params, _data$pageInfo3, pageInfo, sessId, menuType, menuCode, hideHeader, menuName, menuPageCode, arr, name
|
|
1156
|
+
var params, _data$pageInfo3, pageInfo, sessId, menuType, menuCode, hideHeader, menuName, menuPageCode, arr, name;
|
|
1157
1157
|
|
|
1158
1158
|
return _regeneratorRuntime.wrap(function _callee7$(_context7) {
|
|
1159
1159
|
while (1) {
|
|
@@ -1190,12 +1190,13 @@ var openOwnPage = /*#__PURE__*/function () {
|
|
|
1190
1190
|
onSuccess: onSuccess,
|
|
1191
1191
|
onFail: onFail
|
|
1192
1192
|
});
|
|
1193
|
-
logMenusFilter(menuCode) && Http.operationSaveLog(
|
|
1193
|
+
logMenusFilter(menuCode) && Http.operationSaveLog({
|
|
1194
1194
|
operationTypeName: "打开菜单",
|
|
1195
1195
|
operationTypeCode: "openMenu",
|
|
1196
1196
|
operationResult: 0,
|
|
1197
|
-
moduleNo: menuPageCode || ""
|
|
1198
|
-
|
|
1197
|
+
moduleNo: menu.funcId || menuPageCode || "",
|
|
1198
|
+
moduleName: menuName || ""
|
|
1199
|
+
});
|
|
1199
1200
|
} else {
|
|
1200
1201
|
onFail && onFail({
|
|
1201
1202
|
message: "非网格通环境,无法打开页面"
|
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.5.
|
|
376
|
+
var version = '1.5.7';
|
|
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
|
@@ -20014,22 +20014,22 @@ var viewObj = {
|
|
|
20014
20014
|
2001517: "GRID_VIEW",
|
|
20015
20015
|
2001520: "COMMUNITY_MANAGER_VIEW"
|
|
20016
20016
|
};
|
|
20017
|
-
/**
|
|
20018
|
-
* 加密
|
|
20019
|
-
* @param context
|
|
20020
|
-
* @param envType
|
|
20021
|
-
* @return {string} 返回的是base64格式的密文
|
|
20017
|
+
/**
|
|
20018
|
+
* 加密
|
|
20019
|
+
* @param context
|
|
20020
|
+
* @param envType
|
|
20021
|
+
* @return {string} 返回的是base64格式的密文
|
|
20022
20022
|
*/
|
|
20023
20023
|
|
|
20024
20024
|
var menu_jump_aesEncrypt = function aesEncrypt(context, envType) {
|
|
20025
20025
|
var key = envType === "test" ? "6000001111737173" : "6000002087795174";
|
|
20026
20026
|
return data_process["a" /* default */].aesEncrypt(context, key, key);
|
|
20027
20027
|
};
|
|
20028
|
-
/**
|
|
20029
|
-
* 获取SerialNum
|
|
20030
|
-
* @param menu 菜单信息
|
|
20031
|
-
* @param sybInfo 网格通信息
|
|
20032
|
-
* @returns {Promise<string>}
|
|
20028
|
+
/**
|
|
20029
|
+
* 获取SerialNum
|
|
20030
|
+
* @param menu 菜单信息
|
|
20031
|
+
* @param sybInfo 网格通信息
|
|
20032
|
+
* @returns {Promise<string>}
|
|
20033
20033
|
*/
|
|
20034
20034
|
|
|
20035
20035
|
|
|
@@ -20050,27 +20050,27 @@ var getSerialNumNew = /*#__PURE__*/function () {
|
|
|
20050
20050
|
orgId = _yield$getExpInfo.orgId;
|
|
20051
20051
|
billId = sybInfo.billId;
|
|
20052
20052
|
menuCode = menu.menuCode, menuPageCode = menu.menuPageCode;
|
|
20053
|
-
/*
|
|
20054
|
-
* 业务类型
|
|
20055
|
-
* 00:固话商机;
|
|
20056
|
-
* 01:营销案;
|
|
20057
|
-
* 02:终端;
|
|
20058
|
-
* 03:宽带新装;
|
|
20059
|
-
* 04:宽带续费;
|
|
20060
|
-
* 05:套卡;
|
|
20061
|
-
* 07:亲情网;
|
|
20062
|
-
* 08:虚拟网;
|
|
20063
|
-
* 09:融合业务专区;
|
|
20064
|
-
* 10:业务设置;
|
|
20065
|
-
* 11:政企号卡订单查询;
|
|
20066
|
-
* 12:统一支付;
|
|
20067
|
-
* 13:权益商城;
|
|
20068
|
-
* 14:营销案一键办理;
|
|
20069
|
-
* 15:套餐变更;
|
|
20070
|
-
* 16:业务大厅预约单详情;
|
|
20071
|
-
* 17:营销案(新);
|
|
20072
|
-
* 18:终端出库(新);
|
|
20073
|
-
* 99:通用宝码
|
|
20053
|
+
/*
|
|
20054
|
+
* 业务类型
|
|
20055
|
+
* 00:固话商机;
|
|
20056
|
+
* 01:营销案;
|
|
20057
|
+
* 02:终端;
|
|
20058
|
+
* 03:宽带新装;
|
|
20059
|
+
* 04:宽带续费;
|
|
20060
|
+
* 05:套卡;
|
|
20061
|
+
* 07:亲情网;
|
|
20062
|
+
* 08:虚拟网;
|
|
20063
|
+
* 09:融合业务专区;
|
|
20064
|
+
* 10:业务设置;
|
|
20065
|
+
* 11:政企号卡订单查询;
|
|
20066
|
+
* 12:统一支付;
|
|
20067
|
+
* 13:权益商城;
|
|
20068
|
+
* 14:营销案一键办理;
|
|
20069
|
+
* 15:套餐变更;
|
|
20070
|
+
* 16:业务大厅预约单详情;
|
|
20071
|
+
* 17:营销案(新);
|
|
20072
|
+
* 18:终端出库(新);
|
|
20073
|
+
* 99:通用宝码
|
|
20074
20074
|
* */
|
|
20075
20075
|
|
|
20076
20076
|
_context.t0 = menuCode;
|
|
@@ -20202,13 +20202,13 @@ var getSerialNumNew = /*#__PURE__*/function () {
|
|
|
20202
20202
|
return _ref.apply(this, arguments);
|
|
20203
20203
|
};
|
|
20204
20204
|
}();
|
|
20205
|
-
/**
|
|
20206
|
-
* spliceUrl 拼接url
|
|
20207
|
-
* @param data 接口返回数据
|
|
20208
|
-
* @param menu 菜单信息
|
|
20209
|
-
* @param sybInfo 网格通信息
|
|
20210
|
-
* @param extraParams 扩展参数
|
|
20211
|
-
* @returns {*} 拼接后的url
|
|
20205
|
+
/**
|
|
20206
|
+
* spliceUrl 拼接url
|
|
20207
|
+
* @param data 接口返回数据
|
|
20208
|
+
* @param menu 菜单信息
|
|
20209
|
+
* @param sybInfo 网格通信息
|
|
20210
|
+
* @param extraParams 扩展参数
|
|
20211
|
+
* @returns {*} 拼接后的url
|
|
20212
20212
|
*/
|
|
20213
20213
|
|
|
20214
20214
|
|
|
@@ -20715,13 +20715,13 @@ var spliceUrl = /*#__PURE__*/function () {
|
|
|
20715
20715
|
return _ref2.apply(this, arguments);
|
|
20716
20716
|
};
|
|
20717
20717
|
}();
|
|
20718
|
-
/**
|
|
20719
|
-
* 拼接原生入参
|
|
20720
|
-
* @param menu 菜单信息
|
|
20721
|
-
* @param data 接口返回的信息
|
|
20722
|
-
* @param sybInfo 网格通信息
|
|
20723
|
-
* @param extraParams 额外信息
|
|
20724
|
-
* @returns {{}}
|
|
20718
|
+
/**
|
|
20719
|
+
* 拼接原生入参
|
|
20720
|
+
* @param menu 菜单信息
|
|
20721
|
+
* @param data 接口返回的信息
|
|
20722
|
+
* @param sybInfo 网格通信息
|
|
20723
|
+
* @param extraParams 额外信息
|
|
20724
|
+
* @returns {{}}
|
|
20725
20725
|
*/
|
|
20726
20726
|
|
|
20727
20727
|
|
|
@@ -20838,8 +20838,8 @@ var spliceParams = /*#__PURE__*/function () {
|
|
|
20838
20838
|
return _ref5.apply(this, arguments);
|
|
20839
20839
|
};
|
|
20840
20840
|
}();
|
|
20841
|
-
/**
|
|
20842
|
-
* 整合操作日志数据
|
|
20841
|
+
/**
|
|
20842
|
+
* 整合操作日志数据
|
|
20843
20843
|
*/
|
|
20844
20844
|
|
|
20845
20845
|
|
|
@@ -20906,16 +20906,16 @@ var operLogData = /*#__PURE__*/function () {
|
|
|
20906
20906
|
return _ref6.apply(this, arguments);
|
|
20907
20907
|
};
|
|
20908
20908
|
}();
|
|
20909
|
-
/**
|
|
20910
|
-
* 根据url打开页面
|
|
20911
|
-
* @param data 接口响应数据
|
|
20912
|
-
* @param menu 菜单信息
|
|
20913
|
-
* @param sybInfo 网格通信息
|
|
20914
|
-
* @param extraParams 额外参数
|
|
20915
|
-
* @param openParams 打开页面通过原生传递的参数
|
|
20916
|
-
* @param onClose 页面关闭时,回调函数
|
|
20917
|
-
* @param onSuccess 页面打开成功时,回调函数
|
|
20918
|
-
* @param onFail 页面打开失败时,回调函数
|
|
20909
|
+
/**
|
|
20910
|
+
* 根据url打开页面
|
|
20911
|
+
* @param data 接口响应数据
|
|
20912
|
+
* @param menu 菜单信息
|
|
20913
|
+
* @param sybInfo 网格通信息
|
|
20914
|
+
* @param extraParams 额外参数
|
|
20915
|
+
* @param openParams 打开页面通过原生传递的参数
|
|
20916
|
+
* @param onClose 页面关闭时,回调函数
|
|
20917
|
+
* @param onSuccess 页面打开成功时,回调函数
|
|
20918
|
+
* @param onFail 页面打开失败时,回调函数
|
|
20919
20919
|
*/
|
|
20920
20920
|
|
|
20921
20921
|
|
|
@@ -21125,21 +21125,21 @@ var menu_jump_onAuth = function onAuth(menu, sybInfo) {
|
|
|
21125
21125
|
});
|
|
21126
21126
|
});
|
|
21127
21127
|
};
|
|
21128
|
-
/**
|
|
21129
|
-
* 打开网格通自己开发的页面
|
|
21130
|
-
* @param menu 菜单信息
|
|
21131
|
-
* @param data 接口响应数据
|
|
21132
|
-
* @param sybInfo {Object} 网格通信息
|
|
21133
|
-
* @param extraParams {Object} 额外参数
|
|
21134
|
-
* @param onClose {Function} 页面关闭时,回调函数
|
|
21135
|
-
* @param onSuccess {Function} 页面打开成功时,回调函数
|
|
21136
|
-
* @param onFail {Function} 页面打开失败时,回调函数
|
|
21128
|
+
/**
|
|
21129
|
+
* 打开网格通自己开发的页面
|
|
21130
|
+
* @param menu 菜单信息
|
|
21131
|
+
* @param data 接口响应数据
|
|
21132
|
+
* @param sybInfo {Object} 网格通信息
|
|
21133
|
+
* @param extraParams {Object} 额外参数
|
|
21134
|
+
* @param onClose {Function} 页面关闭时,回调函数
|
|
21135
|
+
* @param onSuccess {Function} 页面打开成功时,回调函数
|
|
21136
|
+
* @param onFail {Function} 页面打开失败时,回调函数
|
|
21137
21137
|
*/
|
|
21138
21138
|
|
|
21139
21139
|
|
|
21140
21140
|
var openOwnPage = /*#__PURE__*/function () {
|
|
21141
21141
|
var _ref10 = asyncToGenerator_default()( /*#__PURE__*/regenerator_default.a.mark(function _callee7(menu, data, sybInfo, extraParams, onClose, onSuccess, onFail) {
|
|
21142
|
-
var params, _data$pageInfo3, pageInfo, sessId, menuType, menuCode, hideHeader, menuName, menuPageCode, arr, name
|
|
21142
|
+
var params, _data$pageInfo3, pageInfo, sessId, menuType, menuCode, hideHeader, menuName, menuPageCode, arr, name;
|
|
21143
21143
|
|
|
21144
21144
|
return regenerator_default.a.wrap(function _callee7$(_context7) {
|
|
21145
21145
|
while (1) {
|
|
@@ -21176,12 +21176,13 @@ var openOwnPage = /*#__PURE__*/function () {
|
|
|
21176
21176
|
onSuccess: onSuccess,
|
|
21177
21177
|
onFail: onFail
|
|
21178
21178
|
});
|
|
21179
|
-
logMenusFilter(menuCode) && http.operationSaveLog(
|
|
21179
|
+
logMenusFilter(menuCode) && http.operationSaveLog({
|
|
21180
21180
|
operationTypeName: "打开菜单",
|
|
21181
21181
|
operationTypeCode: "openMenu",
|
|
21182
21182
|
operationResult: 0,
|
|
21183
|
-
moduleNo: menuPageCode || ""
|
|
21184
|
-
|
|
21183
|
+
moduleNo: menu.funcId || menuPageCode || "",
|
|
21184
|
+
moduleName: menuName || ""
|
|
21185
|
+
});
|
|
21185
21186
|
} else {
|
|
21186
21187
|
onFail && onFail({
|
|
21187
21188
|
message: "非网格通环境,无法打开页面"
|
|
@@ -22058,14 +22059,13 @@ external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_default.a.prototype.$MenuJu
|
|
|
22058
22059
|
_this.$emit("click", menu);
|
|
22059
22060
|
} else {
|
|
22060
22061
|
if (isRoute) {
|
|
22061
|
-
|
|
22062
|
-
|
|
22063
|
-
logMenusFilter(menuCode) && http.operationSaveLog((_Http$operationSaveLo = {
|
|
22062
|
+
logMenusFilter(menuCode) && http.operationSaveLog({
|
|
22064
22063
|
operationTypeName: "打开菜单",
|
|
22065
22064
|
operationTypeCode: "openMenu",
|
|
22066
22065
|
operationResult: 0,
|
|
22067
|
-
moduleNo: menuPageCode || ""
|
|
22068
|
-
|
|
22066
|
+
moduleNo: menu.funcId || menuPageCode || "",
|
|
22067
|
+
moduleName: menuName || ""
|
|
22068
|
+
});
|
|
22069
22069
|
|
|
22070
22070
|
_this.$router.push({
|
|
22071
22071
|
name: menuPageCode
|
|
@@ -22078,15 +22078,14 @@ external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_default.a.prototype.$MenuJu
|
|
|
22078
22078
|
});
|
|
22079
22079
|
}
|
|
22080
22080
|
}, function (error) {
|
|
22081
|
-
var _Http$operationSaveLo2;
|
|
22082
|
-
|
|
22083
22081
|
es_toast.clear();
|
|
22084
|
-
logMenusFilter(menuCode) && http.operationSaveLog(
|
|
22082
|
+
logMenusFilter(menuCode) && http.operationSaveLog({
|
|
22085
22083
|
operationTypeName: "打开菜单",
|
|
22086
22084
|
operationTypeCode: "openMenu",
|
|
22087
22085
|
operationResult: 1,
|
|
22088
|
-
moduleNo: menuPageCode || ""
|
|
22089
|
-
|
|
22086
|
+
moduleNo: menu.funcId || menuPageCode || "",
|
|
22087
|
+
moduleName: menuName || ""
|
|
22088
|
+
});
|
|
22090
22089
|
error && error.message && es_toast(error.message);
|
|
22091
22090
|
|
|
22092
22091
|
_this.$emit("fail", {
|
|
@@ -37026,7 +37025,7 @@ function isImageFile(item) {
|
|
|
37026
37025
|
|
|
37027
37026
|
|
|
37028
37027
|
|
|
37029
|
-
var version = '1.5.
|
|
37028
|
+
var version = '1.5.7';
|
|
37030
37029
|
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];
|
|
37031
37030
|
|
|
37032
37031
|
var es_install = function install(Vue) {
|