mcrm-mobile 1.9.1 → 1.9.4
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 +50 -21
- package/es/utils/http.js +0 -6
- package/es/utils/index.js +2 -1
- package/lib/index.js +1 -1
- package/lib/mcrm-mobile.js +53 -29
- package/lib/mcrm-mobile.min.js +2 -2
- package/lib/menu-jump/index.js +51 -21
- package/lib/utils/http.js +0 -6
- package/lib/utils/index.js +2 -1
- package/package.json +1 -1
- package/vetur/attributes.json +365 -365
- package/vetur/tags.json +121 -121
- package/vetur/web-types.json +2601 -2601
package/es/index.js
CHANGED
|
@@ -92,7 +92,7 @@ import Tag from './tag';
|
|
|
92
92
|
import Toast from './toast';
|
|
93
93
|
import TreeSelect from './tree-select';
|
|
94
94
|
import Uploader from './uploader';
|
|
95
|
-
var version = '1.9.
|
|
95
|
+
var version = '1.9.4';
|
|
96
96
|
var components = [ActionSheet, AddressPicker, Api, Badge, Biz, Button, Calendar, Card, Cell, CellGroup, Checkbox, CheckboxGroup, Circle, Col, Collapse, CollapseItem, CommonUtils, CountDown, DataProcess, DatePicker, DatetimePicker, Dialog, Directive, Divider, Drag, DropdownItem, DropdownMenu, Empty, Field, GoodsAction, GoodsActionButton, GoodsActionIcon, Grid, GridItem, Http, Icon, Image, ImagePreview, IndexAnchor, IndexBar, Info, List, Loading, Local, Menu, MenuIcon, MenuJump, Menus, NavBar, NoticeBar, Notify, Overlay, Pagination, Panel, PasswordInput, Picker, Popover, Popup, Progress, PullRefresh, Radio, RadioGroup, Rank, Rate, Row, SafeKeyboard, Search, Session, ShareSheet, Sidebar, SidebarItem, Slider, Step, Stepper, Steps, Sticky, Swipe, SwipeCell, SwipeItem, Switch, SwitchCell, System, Tab, Tabbar, TabbarItem, Table, TableColumn, Tabs, Tag, Toast, TreeSelect, Uploader];
|
|
97
97
|
|
|
98
98
|
var install = function install(Vue) {
|
package/es/menu-jump/index.js
CHANGED
|
@@ -1126,13 +1126,22 @@ var openPageWithLink = /*#__PURE__*/function () {
|
|
|
1126
1126
|
funcName: menuName,
|
|
1127
1127
|
onClose: onClose,
|
|
1128
1128
|
onSuccess: function onSuccess() {
|
|
1129
|
-
data.isGroupPoint
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1129
|
+
if (data.isGroupPoint) {
|
|
1130
|
+
Http.operationSaveLog({
|
|
1131
|
+
operationTypeName: "打开菜单",
|
|
1132
|
+
operationTypeCode: "openMenu",
|
|
1133
|
+
operationResult: 0,
|
|
1134
|
+
moduleNo: securePageCode || "",
|
|
1135
|
+
moduleName: menuName || ""
|
|
1136
|
+
});
|
|
1137
|
+
Http.operationSaveLog({
|
|
1138
|
+
operationTypeName: "查询",
|
|
1139
|
+
operationTypeCode: "query",
|
|
1140
|
+
operationResult: 0,
|
|
1141
|
+
moduleNo: securePageCode || "",
|
|
1142
|
+
moduleName: menuName + "\u6570\u636E\u4FE1\u606F" || ""
|
|
1143
|
+
});
|
|
1144
|
+
}
|
|
1136
1145
|
|
|
1137
1146
|
if (_onSuccess) {
|
|
1138
1147
|
serialNum ? _onSuccess({
|
|
@@ -1310,13 +1319,23 @@ var openOwnPage = /*#__PURE__*/function () {
|
|
|
1310
1319
|
onSuccess: onSuccess,
|
|
1311
1320
|
onFail: onFail
|
|
1312
1321
|
});
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1322
|
+
|
|
1323
|
+
if (data.isGroupPoint) {
|
|
1324
|
+
Http.operationSaveLog({
|
|
1325
|
+
operationTypeName: "打开菜单",
|
|
1326
|
+
operationTypeCode: "openMenu",
|
|
1327
|
+
operationResult: 0,
|
|
1328
|
+
moduleNo: menu.funcId || menuPageCode || "",
|
|
1329
|
+
moduleName: menuName || ""
|
|
1330
|
+
});
|
|
1331
|
+
Http.operationSaveLog({
|
|
1332
|
+
operationTypeName: "查询",
|
|
1333
|
+
operationTypeCode: "query",
|
|
1334
|
+
operationResult: 0,
|
|
1335
|
+
moduleNo: menu.funcId || menuPageCode || "",
|
|
1336
|
+
moduleName: menuName + "\u6570\u636E\u4FE1\u606F" || ""
|
|
1337
|
+
});
|
|
1338
|
+
}
|
|
1320
1339
|
} else {
|
|
1321
1340
|
onFail && onFail({
|
|
1322
1341
|
message: "非网格通环境,无法打开页面"
|
|
@@ -1334,13 +1353,23 @@ var openOwnPage = /*#__PURE__*/function () {
|
|
|
1334
1353
|
onSuccess: onSuccess,
|
|
1335
1354
|
onFail: onFail
|
|
1336
1355
|
});
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1356
|
+
|
|
1357
|
+
if (data.isGroupPoint) {
|
|
1358
|
+
Http.operationSaveLog({
|
|
1359
|
+
operationTypeName: "打开菜单",
|
|
1360
|
+
operationTypeCode: "openMenu",
|
|
1361
|
+
operationResult: 0,
|
|
1362
|
+
moduleNo: menu.funcId || menuPageCode || "",
|
|
1363
|
+
moduleName: menuName || ""
|
|
1364
|
+
});
|
|
1365
|
+
Http.operationSaveLog({
|
|
1366
|
+
operationTypeName: "查询",
|
|
1367
|
+
operationTypeCode: "query",
|
|
1368
|
+
operationResult: 0,
|
|
1369
|
+
moduleNo: menu.funcId || menuPageCode || "",
|
|
1370
|
+
moduleName: menuName + "\u6570\u636E\u4FE1\u606F" || ""
|
|
1371
|
+
});
|
|
1372
|
+
}
|
|
1344
1373
|
} else {
|
|
1345
1374
|
onFail && onFail({
|
|
1346
1375
|
message: "非网格通环境,无法打开页面"
|
package/es/utils/http.js
CHANGED
|
@@ -66,12 +66,6 @@ instanceJson.interceptors.request.use(function (config) {
|
|
|
66
66
|
|
|
67
67
|
var currentPageName = Session.get("currentPageName") || "mcrm_wgt";
|
|
68
68
|
|
|
69
|
-
if (opId && orgId) {
|
|
70
|
-
var AIPortal_Oper_OpId = base64Encrypt(opId);
|
|
71
|
-
var AIPortal_Oper_OrgId = base64Encrypt(orgId);
|
|
72
|
-
config.headers && (config.headers["Cookie"] = "AIPortal_Oper_OpId=" + AIPortal_Oper_OpId + ";AIPortal_Oper_OrgId=" + AIPortal_Oper_OrgId + ";");
|
|
73
|
-
}
|
|
74
|
-
|
|
75
69
|
if (config.url && config.url.endsWith("/addMenuBuryingPoint")) {
|
|
76
70
|
config.headers && (config.headers["x-secure-opt-log"] = config.data.body.invokeSessionId);
|
|
77
71
|
}
|
package/es/utils/index.js
CHANGED
|
@@ -99,7 +99,8 @@ var getExpInfo = /*#__PURE__*/function () {
|
|
|
99
99
|
return function getExpInfo() {
|
|
100
100
|
return _ref.apply(this, arguments);
|
|
101
101
|
};
|
|
102
|
-
}();
|
|
102
|
+
}(); // 安全序列化,自动解决循环引用
|
|
103
|
+
|
|
103
104
|
|
|
104
105
|
var cacheEncrypt = function cacheEncrypt(value) {
|
|
105
106
|
var data = JSON.stringify({
|
package/lib/index.js
CHANGED
|
@@ -377,7 +377,7 @@ var _uploader = _interopRequireDefault(require("./uploader"));
|
|
|
377
377
|
|
|
378
378
|
exports.Uploader = _uploader.default;
|
|
379
379
|
// This file is auto generated by build/build-entry.js
|
|
380
|
-
var version = '1.9.
|
|
380
|
+
var version = '1.9.4';
|
|
381
381
|
exports.version = version;
|
|
382
382
|
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, _system.default, _tab.default, _tabbar.default, _tabbarItem.default, _table.default, _tableColumn.default, _tabs.default, _tag.default, _toast.default, _treeSelect.default, _uploader.default];
|
|
383
383
|
|
package/lib/mcrm-mobile.js
CHANGED
|
@@ -223,7 +223,8 @@ var getExpInfo = /*#__PURE__*/function () {
|
|
|
223
223
|
return function getExpInfo() {
|
|
224
224
|
return _ref.apply(this, arguments);
|
|
225
225
|
};
|
|
226
|
-
}();
|
|
226
|
+
}(); // 安全序列化,自动解决循环引用
|
|
227
|
+
|
|
227
228
|
|
|
228
229
|
var cacheEncrypt = function cacheEncrypt(value) {
|
|
229
230
|
var data = JSON.stringify({
|
|
@@ -19223,12 +19224,6 @@ instanceJson.interceptors.request.use(function (config) {
|
|
|
19223
19224
|
|
|
19224
19225
|
var currentPageName = session["a" /* default */].get("currentPageName") || "mcrm_wgt";
|
|
19225
19226
|
|
|
19226
|
-
if (opId && orgId) {
|
|
19227
|
-
var AIPortal_Oper_OpId = base64_base64Encrypt(opId);
|
|
19228
|
-
var AIPortal_Oper_OrgId = base64_base64Encrypt(orgId);
|
|
19229
|
-
config.headers && (config.headers["Cookie"] = "AIPortal_Oper_OpId=" + AIPortal_Oper_OpId + ";AIPortal_Oper_OrgId=" + AIPortal_Oper_OrgId + ";");
|
|
19230
|
-
}
|
|
19231
|
-
|
|
19232
19227
|
if (config.url && config.url.endsWith("/addMenuBuryingPoint")) {
|
|
19233
19228
|
config.headers && (config.headers["x-secure-opt-log"] = config.data.body.invokeSessionId);
|
|
19234
19229
|
}
|
|
@@ -21672,13 +21667,22 @@ var openPageWithLink = /*#__PURE__*/function () {
|
|
|
21672
21667
|
funcName: menuName,
|
|
21673
21668
|
onClose: onClose,
|
|
21674
21669
|
onSuccess: function onSuccess() {
|
|
21675
|
-
data.isGroupPoint
|
|
21676
|
-
|
|
21677
|
-
|
|
21678
|
-
|
|
21679
|
-
|
|
21680
|
-
|
|
21681
|
-
|
|
21670
|
+
if (data.isGroupPoint) {
|
|
21671
|
+
http.operationSaveLog({
|
|
21672
|
+
operationTypeName: "打开菜单",
|
|
21673
|
+
operationTypeCode: "openMenu",
|
|
21674
|
+
operationResult: 0,
|
|
21675
|
+
moduleNo: securePageCode || "",
|
|
21676
|
+
moduleName: menuName || ""
|
|
21677
|
+
});
|
|
21678
|
+
http.operationSaveLog({
|
|
21679
|
+
operationTypeName: "查询",
|
|
21680
|
+
operationTypeCode: "query",
|
|
21681
|
+
operationResult: 0,
|
|
21682
|
+
moduleNo: securePageCode || "",
|
|
21683
|
+
moduleName: menuName + "\u6570\u636E\u4FE1\u606F" || false
|
|
21684
|
+
});
|
|
21685
|
+
}
|
|
21682
21686
|
|
|
21683
21687
|
if (_onSuccess) {
|
|
21684
21688
|
serialNum ? _onSuccess({
|
|
@@ -21856,13 +21860,23 @@ var openOwnPage = /*#__PURE__*/function () {
|
|
|
21856
21860
|
onSuccess: onSuccess,
|
|
21857
21861
|
onFail: onFail
|
|
21858
21862
|
});
|
|
21859
|
-
|
|
21860
|
-
|
|
21861
|
-
|
|
21862
|
-
|
|
21863
|
-
|
|
21864
|
-
|
|
21865
|
-
|
|
21863
|
+
|
|
21864
|
+
if (data.isGroupPoint) {
|
|
21865
|
+
http.operationSaveLog({
|
|
21866
|
+
operationTypeName: "打开菜单",
|
|
21867
|
+
operationTypeCode: "openMenu",
|
|
21868
|
+
operationResult: 0,
|
|
21869
|
+
moduleNo: menu.funcId || menuPageCode || "",
|
|
21870
|
+
moduleName: menuName || ""
|
|
21871
|
+
});
|
|
21872
|
+
http.operationSaveLog({
|
|
21873
|
+
operationTypeName: "查询",
|
|
21874
|
+
operationTypeCode: "query",
|
|
21875
|
+
operationResult: 0,
|
|
21876
|
+
moduleNo: menu.funcId || menuPageCode || "",
|
|
21877
|
+
moduleName: menuName + "\u6570\u636E\u4FE1\u606F" || false
|
|
21878
|
+
});
|
|
21879
|
+
}
|
|
21866
21880
|
} else {
|
|
21867
21881
|
onFail && onFail({
|
|
21868
21882
|
message: "非网格通环境,无法打开页面"
|
|
@@ -21880,13 +21894,23 @@ var openOwnPage = /*#__PURE__*/function () {
|
|
|
21880
21894
|
onSuccess: onSuccess,
|
|
21881
21895
|
onFail: onFail
|
|
21882
21896
|
});
|
|
21883
|
-
|
|
21884
|
-
|
|
21885
|
-
|
|
21886
|
-
|
|
21887
|
-
|
|
21888
|
-
|
|
21889
|
-
|
|
21897
|
+
|
|
21898
|
+
if (data.isGroupPoint) {
|
|
21899
|
+
http.operationSaveLog({
|
|
21900
|
+
operationTypeName: "打开菜单",
|
|
21901
|
+
operationTypeCode: "openMenu",
|
|
21902
|
+
operationResult: 0,
|
|
21903
|
+
moduleNo: menu.funcId || menuPageCode || "",
|
|
21904
|
+
moduleName: menuName || ""
|
|
21905
|
+
});
|
|
21906
|
+
http.operationSaveLog({
|
|
21907
|
+
operationTypeName: "查询",
|
|
21908
|
+
operationTypeCode: "query",
|
|
21909
|
+
operationResult: 0,
|
|
21910
|
+
moduleNo: menu.funcId || menuPageCode || "",
|
|
21911
|
+
moduleName: menuName + "\u6570\u636E\u4FE1\u606F" || false
|
|
21912
|
+
});
|
|
21913
|
+
}
|
|
21890
21914
|
} else {
|
|
21891
21915
|
onFail && onFail({
|
|
21892
21916
|
message: "非网格通环境,无法打开页面"
|
|
@@ -39072,7 +39096,7 @@ function isImageFile(item) {
|
|
|
39072
39096
|
|
|
39073
39097
|
|
|
39074
39098
|
|
|
39075
|
-
var version = '1.9.
|
|
39099
|
+
var version = '1.9.4';
|
|
39076
39100
|
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, 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, system, tab, tabbar, tabbar_item, table, table_column, tabs, tag, es_toast, tree_select, uploader];
|
|
39077
39101
|
|
|
39078
39102
|
var es_install = function install(Vue) {
|