eoss-mobiles 0.3.20 → 0.3.21

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.
Files changed (47) hide show
  1. package/lib/button-group.js +2 -2
  2. package/lib/button.js +2 -2
  3. package/lib/cell.js +2 -2
  4. package/lib/checkbox.js +59 -48
  5. package/lib/circle.js +2 -2
  6. package/lib/config/api.js +11 -3
  7. package/lib/empty.js +2 -2
  8. package/lib/eoss-mobile.common.js +643 -76
  9. package/lib/field.js +2 -2
  10. package/lib/flow-btn.js +60 -49
  11. package/lib/flow-list.js +687 -117
  12. package/lib/flow.js +149 -143
  13. package/lib/grid-item.js +2 -2
  14. package/lib/grid.js +2 -2
  15. package/lib/index.js +1 -1
  16. package/lib/list.js +2 -2
  17. package/lib/loading.js +2 -2
  18. package/lib/nav-bar.js +2 -2
  19. package/lib/picker.js +62 -50
  20. package/lib/radio.js +62 -50
  21. package/lib/retrial-auth.js +61 -50
  22. package/lib/search.js +2 -2
  23. package/lib/selector.js +77 -66
  24. package/lib/switch.js +2 -2
  25. package/lib/tab.js +2 -2
  26. package/lib/table-column.js +62 -50
  27. package/lib/tabs.js +2 -2
  28. package/lib/tag.js +2 -2
  29. package/lib/theme-chalk/flow-list-task-read.css +1 -0
  30. package/lib/theme-chalk/flow-list.css +1 -1
  31. package/lib/theme-chalk/flow.css +1 -1
  32. package/lib/theme-chalk/index.css +1 -1
  33. package/lib/uploader.js +2 -2
  34. package/package.json +1 -1
  35. package/packages/flow/src/components/Message.vue +7 -3
  36. package/packages/flow/src/components/supervise.vue +72 -64
  37. package/packages/flow-list/src/main.vue +42 -23
  38. package/packages/flow-list/src/taskRead.vue +234 -0
  39. package/packages/theme-chalk/lib/flow-list-task-read.css +1 -0
  40. package/packages/theme-chalk/lib/flow-list.css +1 -1
  41. package/packages/theme-chalk/lib/flow.css +1 -1
  42. package/packages/theme-chalk/lib/index.css +1 -1
  43. package/packages/theme-chalk/src/flow-list-task-read.scss +112 -0
  44. package/packages/theme-chalk/src/flow-list.scss +2 -2
  45. package/packages/theme-chalk/src/flow.scss +5 -0
  46. package/src/config/api.js +13 -2
  47. package/src/index.js +1 -1
package/lib/field.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 19);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 20);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -192,7 +192,7 @@ function normalizeComponent(
192
192
 
193
193
  /***/ }),
194
194
 
195
- /***/ 19:
195
+ /***/ 20:
196
196
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
197
197
 
198
198
  "use strict";
package/lib/flow-btn.js CHANGED
@@ -1611,60 +1611,64 @@ function normalizeComponent(
1611
1611
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1612
1612
 
1613
1613
  "use strict";
1614
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "r", function() { return initRetrialAuth; });
1615
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return getRetrialAuthCode; });
1616
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return codeRetrialAuth; });
1617
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "w", function() { return selectObject; });
1618
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return findSysCode; });
1619
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return commonOpion; });
1620
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return getHandleInfoHtml; });
1621
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return getNodeInfoHtml; });
1622
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "z", function() { return taskHandleHtml; });
1623
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "A", function() { return taskHandleHtmlImg; });
1624
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "u", function() { return registerNew; });
1625
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return getNodeInfo; });
1626
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "J", function() { return toStartFlow; });
1627
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return findUserBaseInfo; });
1628
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "C", function() { return taskRejectHtml; });
1629
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "M", function() { return toTaskRejectHtml; });
1630
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "q", function() { return handleTaskRead; });
1631
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "B", function() { return taskReadHtml; });
1614
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "s", function() { return initRetrialAuth; });
1615
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "p", function() { return getRetrialAuthCode; });
1616
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return codeRetrialAuth; });
1617
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "x", function() { return selectObject; });
1618
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return findSysCode; });
1619
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return commonOpion; });
1620
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return getHandleInfoHtml; });
1621
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return getNodeInfoHtml; });
1622
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "A", function() { return taskHandleHtml; });
1623
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "B", function() { return taskHandleHtmlImg; });
1624
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "v", function() { return registerNew; });
1625
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return getNodeInfo; });
1626
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "L", function() { return toStartFlow; });
1627
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return findUserBaseInfo; });
1628
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "E", function() { return taskRejectHtml; });
1629
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "O", function() { return toTaskRejectHtml; });
1630
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "r", function() { return handleTaskRead; });
1631
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "C", function() { return taskReadHtml; });
1632
1632
  /* unused harmony export toStartTaskRead */
1633
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "K", function() { return toStartTaskReadHtml; });
1634
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "R", function() { return toTaskTransferIndex; });
1635
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "F", function() { return taskTransfer; });
1636
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return findSysCodes; });
1637
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return getNotificationMsg; });
1638
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "S", function() { return toTaskUnionExamine; });
1639
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "G", function() { return taskUnionExamine; });
1640
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Q", function() { return toTaskTakeAdvice; });
1641
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "E", function() { return taskTakeAdvice; });
1642
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "N", function() { return toTaskStartDraft; });
1643
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "D", function() { return taskStartDraft; });
1644
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "T", function() { return toTaskUnionSeal; });
1645
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "H", function() { return taskUnionSeal; });
1633
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "M", function() { return toStartTaskReadHtml; });
1634
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "T", function() { return toTaskTransferIndex; });
1635
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "H", function() { return taskTransfer; });
1636
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return findSysCodes; });
1637
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return getNotificationMsg; });
1638
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "U", function() { return toTaskUnionExamine; });
1639
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "I", function() { return taskUnionExamine; });
1640
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "S", function() { return toTaskTakeAdvice; });
1641
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "G", function() { return taskTakeAdvice; });
1642
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "P", function() { return toTaskStartDraft; });
1643
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "F", function() { return taskStartDraft; });
1644
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "V", function() { return toTaskUnionSeal; });
1645
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "J", function() { return taskUnionSeal; });
1646
1646
  /* unused harmony export toTwoOfficesDispatch */
1647
1647
  /* unused harmony export twoOfficesDispatch */
1648
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "s", function() { return isCanStartSubFlow; });
1649
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return getPresetCustomInfo; });
1650
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return pendedhistoryList; });
1651
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return getHandleButtonHtml; });
1652
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "p", function() { return getSysParam; });
1653
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return getFreeStartFlowParams; });
1654
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return getProcessDefList; });
1655
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "x", function() { return startReadTransferHandleFlowWithTaskReadEnd; });
1656
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return freeStartFlowWithSubmitTask; });
1657
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "O", function() { return toTaskSupervise; });
1658
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "P", function() { return toTaskSuperviseSub; });
1659
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "I", function() { return toResetProcessIndex; });
1660
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "v", function() { return resetProcess; });
1661
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "L", function() { return toTaskContinuationIndex; });
1662
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "y", function() { return taskContinuation; });
1648
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return isCanStartSubFlow; });
1649
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return getPresetCustomInfo; });
1650
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "u", function() { return pendedhistoryList; });
1651
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return getHandleButtonHtml; });
1652
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "q", function() { return getSysParam; });
1653
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return getFreeStartFlowParams; });
1654
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return getProcessDefList; });
1655
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "y", function() { return startReadTransferHandleFlowWithTaskReadEnd; });
1656
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return freeStartFlowWithSubmitTask; });
1657
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Q", function() { return toTaskSupervise; });
1658
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "R", function() { return toTaskSuperviseSub; });
1659
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "K", function() { return toResetProcessIndex; });
1660
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "w", function() { return resetProcess; });
1661
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "N", function() { return toTaskContinuationIndex; });
1662
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "z", function() { return taskContinuation; });
1663
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "D", function() { return taskReadList; });
1664
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return cancelTaskRead; });
1665
+ /* unused harmony export officeHandleRemark */
1663
1666
  /* harmony import */ var _utils_util__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
1664
1667
 
1665
1668
  var activiti = '/bpm';
1666
1669
  var pending = '/bpm';
1667
1670
  var mecp = _utils_util__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"].getStorage('flowPath') || '';
1671
+ var flowPendingPrefix = window.flowPendingPrefix || localStorage.getItem('flowPendingPrefix') || '/bpm';
1668
1672
  var initRetrialAuth = '/sso2/retrialAuth/initRetrialAuth'; // 初始化二级身份权限验证页面
1669
1673
  var getRetrialAuthCode = '/sso2/retrialAuth/getRetrialAuthCode'; // 获取二级身份验证验证码
1670
1674
  var codeRetrialAuth = '/sso2/retrialAuth/codeRetrialAuth'; // 二级身份验证-验证码验证
@@ -1752,7 +1756,8 @@ var isCanStartSubFlow = activiti + '/task/taskHandle/isCanStartSubFlow.dhtml';
1752
1756
  // 流程预设获取
1753
1757
  var getPresetCustomInfo = activiti + '/task/taskHandle/getPresetCustomInfo.dhtml';
1754
1758
  // 流程列表
1755
- var pendedhistoryList = '/api/v1/mecpIpending/pendedhistoryList.json';
1759
+ var pendedhistoryList = flowPendingPrefix + '/pendedhistoryManager/pendedhistoryListJson';
1760
+ // export const pendedhistoryList = '/api/v1/mecpIpending/pendedhistoryList.json';
1756
1761
  // 获取流程按钮
1757
1762
  var getHandleButtonHtml = '/api/mecp/v1/mecpItask/getHandleButtonHtml.json';
1758
1763
  // 获取系统参数
@@ -1777,6 +1782,12 @@ var resetProcess = '/bpm/task/taskHandle/resetProcess.dhtml';
1777
1782
  var toTaskContinuationIndex = '/bpm/bpmBackend/toTaskContinuationIndex';
1778
1783
  // 续办提交
1779
1784
  var taskContinuation = '/bpm/task/taskHandle/taskContinuation.dhtml';
1785
+ // 分阅情况
1786
+ var taskReadList = '/bpm/pendedhistoryManager/fyListJson.dhtml';
1787
+ // 撤销分阅
1788
+ var cancelTaskRead = '/bpm/bpmBackend/taskReadWithDraw';
1789
+ // 获取公文办理消息
1790
+ var officeHandleRemark = '/archives/task/taskHandle/getDefaultNotificationType.dhtml';
1780
1791
 
1781
1792
  /***/ }),
1782
1793
 
@@ -2411,7 +2422,7 @@ var http = __webpack_require__(3);
2411
2422
 
2412
2423
  return new Promise(function (resolve, reject) {
2413
2424
  Object(http["a" /* default */])({
2414
- url: api["p" /* getSysParam */],
2425
+ url: api["q" /* getSysParam */],
2415
2426
  params: {
2416
2427
  name: 'app_MECP_appNonSupportNode'
2417
2428
  }
@@ -2452,7 +2463,7 @@ var http = __webpack_require__(3);
2452
2463
 
2453
2464
  return new Promise(function (resolve, reject) {
2454
2465
  Object(http["a" /* default */])({
2455
- url: api["h" /* getHandleButtonHtml */],
2466
+ url: api["i" /* getHandleButtonHtml */],
2456
2467
  params: {
2457
2468
  pendingId: _this3.pendingId
2458
2469
  }