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/flow-list.js CHANGED
@@ -82,12 +82,11 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 35);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 15);
86
86
  /******/ })
87
87
  /************************************************************************/
88
- /******/ ({
89
-
90
- /***/ 0:
88
+ /******/ ([
89
+ /* 0 */
91
90
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
92
91
 
93
92
  "use strict";
@@ -1501,8 +1500,7 @@ var toFunction = function toFunction(str) {
1501
1500
  });
1502
1501
 
1503
1502
  /***/ }),
1504
-
1505
- /***/ 1:
1503
+ /* 1 */
1506
1504
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1507
1505
 
1508
1506
  "use strict";
@@ -1606,65 +1604,68 @@ function normalizeComponent(
1606
1604
 
1607
1605
 
1608
1606
  /***/ }),
1609
-
1610
- /***/ 2:
1607
+ /* 2 */
1611
1608
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1612
1609
 
1613
1610
  "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; });
1611
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "s", function() { return initRetrialAuth; });
1612
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "p", function() { return getRetrialAuthCode; });
1613
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return codeRetrialAuth; });
1614
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "x", function() { return selectObject; });
1615
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return findSysCode; });
1616
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return commonOpion; });
1617
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return getHandleInfoHtml; });
1618
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return getNodeInfoHtml; });
1619
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "A", function() { return taskHandleHtml; });
1620
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "B", function() { return taskHandleHtmlImg; });
1621
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "v", function() { return registerNew; });
1622
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return getNodeInfo; });
1623
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "L", function() { return toStartFlow; });
1624
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return findUserBaseInfo; });
1625
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "E", function() { return taskRejectHtml; });
1626
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "O", function() { return toTaskRejectHtml; });
1627
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "r", function() { return handleTaskRead; });
1628
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "C", function() { return taskReadHtml; });
1632
1629
  /* 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; });
1630
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "M", function() { return toStartTaskReadHtml; });
1631
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "T", function() { return toTaskTransferIndex; });
1632
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "H", function() { return taskTransfer; });
1633
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return findSysCodes; });
1634
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return getNotificationMsg; });
1635
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "U", function() { return toTaskUnionExamine; });
1636
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "I", function() { return taskUnionExamine; });
1637
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "S", function() { return toTaskTakeAdvice; });
1638
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "G", function() { return taskTakeAdvice; });
1639
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "P", function() { return toTaskStartDraft; });
1640
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "F", function() { return taskStartDraft; });
1641
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "V", function() { return toTaskUnionSeal; });
1642
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "J", function() { return taskUnionSeal; });
1646
1643
  /* unused harmony export toTwoOfficesDispatch */
1647
1644
  /* 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; });
1645
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return isCanStartSubFlow; });
1646
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return getPresetCustomInfo; });
1647
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "u", function() { return pendedhistoryList; });
1648
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return getHandleButtonHtml; });
1649
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "q", function() { return getSysParam; });
1650
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return getFreeStartFlowParams; });
1651
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return getProcessDefList; });
1652
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "y", function() { return startReadTransferHandleFlowWithTaskReadEnd; });
1653
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return freeStartFlowWithSubmitTask; });
1654
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Q", function() { return toTaskSupervise; });
1655
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "R", function() { return toTaskSuperviseSub; });
1656
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "K", function() { return toResetProcessIndex; });
1657
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "w", function() { return resetProcess; });
1658
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "N", function() { return toTaskContinuationIndex; });
1659
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "z", function() { return taskContinuation; });
1660
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "D", function() { return taskReadList; });
1661
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return cancelTaskRead; });
1662
+ /* unused harmony export officeHandleRemark */
1663
1663
  /* harmony import */ var _utils_util__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
1664
1664
 
1665
1665
  var activiti = '/bpm';
1666
1666
  var pending = '/bpm';
1667
1667
  var mecp = _utils_util__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"].getStorage('flowPath') || '';
1668
+ var flowPendingPrefix = window.flowPendingPrefix || localStorage.getItem('flowPendingPrefix') || '/bpm';
1668
1669
  var initRetrialAuth = '/sso2/retrialAuth/initRetrialAuth'; // 初始化二级身份权限验证页面
1669
1670
  var getRetrialAuthCode = '/sso2/retrialAuth/getRetrialAuthCode'; // 获取二级身份验证验证码
1670
1671
  var codeRetrialAuth = '/sso2/retrialAuth/codeRetrialAuth'; // 二级身份验证-验证码验证
@@ -1752,7 +1753,8 @@ var isCanStartSubFlow = activiti + '/task/taskHandle/isCanStartSubFlow.dhtml';
1752
1753
  // 流程预设获取
1753
1754
  var getPresetCustomInfo = activiti + '/task/taskHandle/getPresetCustomInfo.dhtml';
1754
1755
  // 流程列表
1755
- var pendedhistoryList = '/api/v1/mecpIpending/pendedhistoryList.json';
1756
+ var pendedhistoryList = flowPendingPrefix + '/pendedhistoryManager/pendedhistoryListJson';
1757
+ // export const pendedhistoryList = '/api/v1/mecpIpending/pendedhistoryList.json';
1756
1758
  // 获取流程按钮
1757
1759
  var getHandleButtonHtml = '/api/mecp/v1/mecpItask/getHandleButtonHtml.json';
1758
1760
  // 获取系统参数
@@ -1777,10 +1779,15 @@ var resetProcess = '/bpm/task/taskHandle/resetProcess.dhtml';
1777
1779
  var toTaskContinuationIndex = '/bpm/bpmBackend/toTaskContinuationIndex';
1778
1780
  // 续办提交
1779
1781
  var taskContinuation = '/bpm/task/taskHandle/taskContinuation.dhtml';
1782
+ // 分阅情况
1783
+ var taskReadList = '/bpm/pendedhistoryManager/fyListJson.dhtml';
1784
+ // 撤销分阅
1785
+ var cancelTaskRead = '/bpm/bpmBackend/taskReadWithDraw';
1786
+ // 获取公文办理消息
1787
+ var officeHandleRemark = '/archives/task/taskHandle/getDefaultNotificationType.dhtml';
1780
1788
 
1781
1789
  /***/ }),
1782
-
1783
- /***/ 3:
1790
+ /* 3 */
1784
1791
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1785
1792
 
1786
1793
  "use strict";
@@ -2077,24 +2084,72 @@ var http_request = function request(options) {
2077
2084
  // export default request;
2078
2085
 
2079
2086
  /***/ }),
2087
+ /* 4 */
2088
+ /***/ (function(module, exports) {
2089
+
2090
+ module.exports = require("eoss-mobile-vant");
2091
+
2092
+ /***/ }),
2093
+ /* 5 */
2094
+ /***/ (function(module, exports) {
2095
+
2096
+ module.exports = require("@eoss-design/color");
2097
+
2098
+ /***/ }),
2099
+ /* 6 */
2100
+ /***/ (function(module, exports) {
2101
+
2102
+ module.exports = require("axios");
2103
+
2104
+ /***/ }),
2105
+ /* 7 */
2106
+ /***/ (function(module, exports) {
2080
2107
 
2081
- /***/ 35:
2108
+ module.exports = require("qs");
2109
+
2110
+ /***/ }),
2111
+ /* 8 */
2112
+ /***/ (function(module, exports) {
2113
+
2114
+ module.exports = require("sm-crypto");
2115
+
2116
+ /***/ }),
2117
+ /* 9 */,
2118
+ /* 10 */,
2119
+ /* 11 */,
2120
+ /* 12 */,
2121
+ /* 13 */,
2122
+ /* 14 */,
2123
+ /* 15 */
2082
2124
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2083
2125
 
2084
2126
  "use strict";
2085
2127
  // ESM COMPAT FLAG
2086
2128
  __webpack_require__.r(__webpack_exports__);
2087
2129
 
2088
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-list/src/main.vue?vue&type=template&id=6967523c
2130
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-list/src/main.vue?vue&type=template&id=2c980f0e
2089
2131
  var render = function () {
2090
2132
  var _vm = this
2091
2133
  var _h = _vm.$createElement
2092
2134
  var _c = _vm._self._c || _h
2093
2135
  return _c(
2094
2136
  "div",
2095
- { staticClass: "em-flow-list" },
2137
+ {
2138
+ staticClass: "em-flow-list",
2139
+ style: "background:" + (_vm.type == "3" ? "unset" : "#fff"),
2140
+ },
2096
2141
  [
2097
- _vm.isgw && _vm.processList.length > 0
2142
+ _vm.type == "3" || _vm.type == "4"
2143
+ ? _c(
2144
+ "TaskRead",
2145
+ _vm._b(
2146
+ { attrs: { businessId: _vm.businessId, type: _vm.type } },
2147
+ "TaskRead",
2148
+ _vm.$attrs,
2149
+ false
2150
+ )
2151
+ )
2152
+ : _vm.isgw && _vm.processList.length > 0
2098
2153
  ? _c(
2099
2154
  "div",
2100
2155
  { staticClass: "list" },
@@ -2150,7 +2205,7 @@ var render = function () {
2150
2205
  x.handleInfo
2151
2206
  ? _c(
2152
2207
  "span",
2153
- { staticStyle: { color: "#ADADA5" } },
2208
+ { staticStyle: { color: "#adada5" } },
2154
2209
  [
2155
2210
  _vm._v(
2156
2211
  _vm._s(
@@ -2299,7 +2354,7 @@ var render = function () {
2299
2354
  })
2300
2355
  : _c("span", [_vm._v(_vm._s(item.doresult))]),
2301
2356
  item.handleInfo
2302
- ? _c("span", { staticStyle: { color: "#ADADA5" } }, [
2357
+ ? _c("span", { staticStyle: { color: "#adada5" } }, [
2303
2358
  _vm._v(
2304
2359
  _vm._s(
2305
2360
  (item.doresult ? "&" : "") + item.handleInfo
@@ -2387,7 +2442,7 @@ var staticRenderFns = []
2387
2442
  render._withStripped = true
2388
2443
 
2389
2444
 
2390
- // CONCATENATED MODULE: ./packages/flow-list/src/main.vue?vue&type=template&id=6967523c
2445
+ // CONCATENATED MODULE: ./packages/flow-list/src/main.vue?vue&type=template&id=2c980f0e
2391
2446
 
2392
2447
  // EXTERNAL MODULE: ./src/config/api.js
2393
2448
  var api = __webpack_require__(2);
@@ -2395,11 +2450,549 @@ var api = __webpack_require__(2);
2395
2450
  // EXTERNAL MODULE: ./src/utils/http.js + 1 modules
2396
2451
  var http = __webpack_require__(3);
2397
2452
 
2453
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-list/src/taskRead.vue?vue&type=template&id=16c364a2
2454
+ var taskReadvue_type_template_id_16c364a2_render = function () {
2455
+ var _vm = this
2456
+ var _h = _vm.$createElement
2457
+ var _c = _vm._self._c || _h
2458
+ return _c("div", { staticClass: "process-page" }, [
2459
+ _c("div", { staticClass: "main" }, [
2460
+ _vm.type == 4
2461
+ ? _c("div", { staticClass: "box" }, [
2462
+ _c("div", { staticClass: "title" }, [
2463
+ _vm._v("\n 流程列表\n "),
2464
+ _vm.handleUserList.length
2465
+ ? _c(
2466
+ "div",
2467
+ {
2468
+ staticClass: "check-btn",
2469
+ on: { click: _vm.handleToggel },
2470
+ },
2471
+ [
2472
+ _c(
2473
+ "van-checkbox",
2474
+ {
2475
+ model: {
2476
+ value: _vm.isSelectAll,
2477
+ callback: function ($$v) {
2478
+ _vm.isSelectAll = $$v
2479
+ },
2480
+ expression: "isSelectAll",
2481
+ },
2482
+ },
2483
+ [_vm._v("全选")]
2484
+ ),
2485
+ ],
2486
+ 1
2487
+ )
2488
+ : _vm._e(),
2489
+ ]),
2490
+ _vm.isLoad && !_vm.handleUserList.length
2491
+ ? _c("div", { staticClass: "no-data" }, [
2492
+ _vm._v("\n 暂无数据\n "),
2493
+ ])
2494
+ : _vm._e(),
2495
+ _c(
2496
+ "div",
2497
+ { staticClass: "list-area" },
2498
+ [
2499
+ _c(
2500
+ "van-checkbox-group",
2501
+ {
2502
+ on: { change: _vm.handleSelectChange },
2503
+ model: {
2504
+ value: _vm.selectedIds,
2505
+ callback: function ($$v) {
2506
+ _vm.selectedIds = $$v
2507
+ },
2508
+ expression: "selectedIds",
2509
+ },
2510
+ },
2511
+ _vm._l(_vm.handleUserList, function (item, index) {
2512
+ return _c(
2513
+ "van-checkbox",
2514
+ {
2515
+ key: index,
2516
+ staticClass: "list-item",
2517
+ attrs: { name: item.id },
2518
+ },
2519
+ [
2520
+ _c("p", { staticClass: "name-area" }, [
2521
+ _c("span", { staticClass: "handle-name-flow" }, [
2522
+ _vm._v(_vm._s(item.userName)),
2523
+ ]),
2524
+ _c("span", { staticClass: "user-name-flow" }, [
2525
+ _vm._v(_vm._s(item.itemname)),
2526
+ ]),
2527
+ _c(
2528
+ "span",
2529
+ {
2530
+ class:
2531
+ "handle-status " +
2532
+ (item.pendstate == 1 ? "success" : ""),
2533
+ },
2534
+ [_vm._v(_vm._s(item.querykeywords))]
2535
+ ),
2536
+ ]),
2537
+ _c("p", { staticClass: "time" }, [
2538
+ _vm._v(_vm._s(item.createtime)),
2539
+ ]),
2540
+ ]
2541
+ )
2542
+ }),
2543
+ 1
2544
+ ),
2545
+ ],
2546
+ 1
2547
+ ),
2548
+ ])
2549
+ : _vm._e(),
2550
+ _vm.type == 3
2551
+ ? _c("div", { staticClass: "box" }, [
2552
+ _c("div", { staticClass: "title" }, [
2553
+ _vm._v("\n 未处理分阅列表\n "),
2554
+ _vm.handleUserList.length
2555
+ ? _c(
2556
+ "div",
2557
+ {
2558
+ staticClass: "check-btn",
2559
+ on: { click: _vm.handleToggel },
2560
+ },
2561
+ [
2562
+ _c(
2563
+ "van-checkbox",
2564
+ {
2565
+ model: {
2566
+ value: _vm.isSelectAll,
2567
+ callback: function ($$v) {
2568
+ _vm.isSelectAll = $$v
2569
+ },
2570
+ expression: "isSelectAll",
2571
+ },
2572
+ },
2573
+ [_vm._v("全选")]
2574
+ ),
2575
+ ],
2576
+ 1
2577
+ )
2578
+ : _vm._e(),
2579
+ ]),
2580
+ _vm.isLoad && !_vm.handleUserList.length
2581
+ ? _c("div", { staticClass: "no-data" }, [
2582
+ _vm._v("\n 暂无数据\n "),
2583
+ ])
2584
+ : _vm._e(),
2585
+ _c(
2586
+ "div",
2587
+ { staticClass: "list-area" },
2588
+ [
2589
+ _c(
2590
+ "van-checkbox-group",
2591
+ {
2592
+ on: { change: _vm.handleSelectChange },
2593
+ model: {
2594
+ value: _vm.selectedIds,
2595
+ callback: function ($$v) {
2596
+ _vm.selectedIds = $$v
2597
+ },
2598
+ expression: "selectedIds",
2599
+ },
2600
+ },
2601
+ _vm._l(_vm.handleUserList, function (item, index) {
2602
+ return _c(
2603
+ "van-checkbox",
2604
+ {
2605
+ key: index,
2606
+ staticClass: "list-item",
2607
+ attrs: { name: item.id },
2608
+ },
2609
+ [
2610
+ _c("p", { staticClass: "name-area" }, [
2611
+ _c("span", { staticClass: "user-name" }, [
2612
+ _vm._v(_vm._s(item.itemname)),
2613
+ ]),
2614
+ _c("span", { staticClass: "handle-name" }, [
2615
+ _vm._v(_vm._s(item.userName)),
2616
+ ]),
2617
+ _c("span", { staticClass: "handle-status" }, [
2618
+ _vm._v(_vm._s(item.pendstate)),
2619
+ ]),
2620
+ ]),
2621
+ _c("p", { staticClass: "time" }, [
2622
+ _vm._v("创建时间:" + _vm._s(item.createtime)),
2623
+ ]),
2624
+ ]
2625
+ )
2626
+ }),
2627
+ 1
2628
+ ),
2629
+ ],
2630
+ 1
2631
+ ),
2632
+ ])
2633
+ : _vm._e(),
2634
+ _vm.type == 3
2635
+ ? _c(
2636
+ "div",
2637
+ { staticClass: "box", staticStyle: { "margin-top": "12px" } },
2638
+ [
2639
+ _c("div", { staticClass: "title" }, [_vm._v("已处理分阅列表")]),
2640
+ _vm.isLoad && !_vm.hadDoUserList.length
2641
+ ? _c("div", { staticClass: "no-data" }, [
2642
+ _vm._v("\n 暂无数据\n "),
2643
+ ])
2644
+ : _vm._e(),
2645
+ _c(
2646
+ "div",
2647
+ { staticClass: "list-area list-area2" },
2648
+ _vm._l(_vm.hadDoUserList, function (item, index) {
2649
+ return _c(
2650
+ "div",
2651
+ { key: index, staticClass: "list-item list-item2" },
2652
+ [
2653
+ _c("p", { staticClass: "name-area" }, [
2654
+ _c("span", { staticClass: "user-name" }, [
2655
+ _vm._v(_vm._s(item.itemname)),
2656
+ ]),
2657
+ _c("span", { staticClass: "handle-name" }, [
2658
+ _vm._v(_vm._s(item.userName)),
2659
+ ]),
2660
+ _c("span", { staticClass: "handle-status success" }, [
2661
+ _vm._v("已办理"),
2662
+ ]),
2663
+ ]),
2664
+ _c("p", { staticClass: "time" }, [
2665
+ _vm._v(
2666
+ "办理时间:" + _vm._s(item.doendtime || item.doetime)
2667
+ ),
2668
+ ]),
2669
+ _c("p", { staticClass: "time" }, [
2670
+ _vm._v(
2671
+ "代办人:" + _vm._s(item.doUserName || item.doetime)
2672
+ ),
2673
+ ]),
2674
+ _c("p", { staticClass: "time" }, [
2675
+ _vm._v("意见:" + _vm._s(item.doresult)),
2676
+ ]),
2677
+ ]
2678
+ )
2679
+ }),
2680
+ 0
2681
+ ),
2682
+ ]
2683
+ )
2684
+ : _vm._e(),
2685
+ ]),
2686
+ _vm.showBtn
2687
+ ? _c(
2688
+ "div",
2689
+ { staticClass: "btn-area" },
2690
+ [
2691
+ _c(
2692
+ "van-button",
2693
+ {
2694
+ staticClass: "btn",
2695
+ attrs: { round: "" },
2696
+ on: { click: _vm.handleClose },
2697
+ },
2698
+ [_vm._v("取消")]
2699
+ ),
2700
+ _c(
2701
+ "van-button",
2702
+ {
2703
+ staticClass: "btn",
2704
+ attrs: { type: "primary", round: "" },
2705
+ on: { click: _vm.handleConfirm },
2706
+ },
2707
+ [_vm._v("撤销分阅")]
2708
+ ),
2709
+ ],
2710
+ 1
2711
+ )
2712
+ : _vm._e(),
2713
+ ])
2714
+ }
2715
+ var taskReadvue_type_template_id_16c364a2_staticRenderFns = []
2716
+ taskReadvue_type_template_id_16c364a2_render._withStripped = true
2717
+
2718
+
2719
+ // CONCATENATED MODULE: ./packages/flow-list/src/taskRead.vue?vue&type=template&id=16c364a2
2720
+
2721
+ // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-list/src/taskRead.vue?vue&type=script&lang=js
2722
+ //
2723
+ //
2724
+ //
2725
+ //
2726
+ //
2727
+ //
2728
+ //
2729
+ //
2730
+ //
2731
+ //
2732
+ //
2733
+ //
2734
+ //
2735
+ //
2736
+ //
2737
+ //
2738
+ //
2739
+ //
2740
+ //
2741
+ //
2742
+ //
2743
+ //
2744
+ //
2745
+ //
2746
+ //
2747
+ //
2748
+ //
2749
+ //
2750
+ //
2751
+ //
2752
+ //
2753
+ //
2754
+ //
2755
+ //
2756
+ //
2757
+ //
2758
+ //
2759
+ //
2760
+ //
2761
+ //
2762
+ //
2763
+ //
2764
+ //
2765
+ //
2766
+ //
2767
+ //
2768
+ //
2769
+ //
2770
+ //
2771
+ //
2772
+ //
2773
+ //
2774
+ //
2775
+ //
2776
+ //
2777
+ //
2778
+ //
2779
+ //
2780
+ //
2781
+ //
2782
+ //
2783
+ //
2784
+ //
2785
+ //
2786
+ //
2787
+ //
2788
+ //
2789
+ //
2790
+ //
2791
+ //
2792
+ //
2793
+ //
2794
+ //
2795
+ //
2796
+ //
2797
+ //
2798
+ //
2799
+ //
2800
+ //
2801
+ //
2802
+ //
2803
+ //
2804
+ //
2805
+ //
2806
+ //
2807
+ //
2808
+ //
2809
+ //
2810
+ //
2811
+ //
2812
+ //
2813
+ //
2814
+ //
2815
+ //
2816
+ //
2817
+ //
2818
+ //
2819
+ //
2820
+ //
2821
+ //
2822
+ //
2823
+ //
2824
+ //
2825
+ //
2826
+ //
2827
+
2828
+
2829
+
2830
+ /* harmony default export */ var taskReadvue_type_script_lang_js = ({
2831
+ props: {
2832
+ businessId: {
2833
+ type: String,
2834
+ default: ''
2835
+ },
2836
+ type: {
2837
+ type: String,
2838
+ default: '3'
2839
+ },
2840
+ showBtn: {
2841
+ type: Boolean,
2842
+ default: true
2843
+ }
2844
+ },
2845
+ data: function data() {
2846
+ return {
2847
+ isLoad: false,
2848
+ hadDoUserList: [],
2849
+ handleUserList: [],
2850
+ isSelectAll: false,
2851
+ selectedIds: [],
2852
+ selectedData: []
2853
+ };
2854
+ },
2855
+ mounted: function mounted() {
2856
+ if (this.type == 3) {
2857
+ this.getReadData(1);
2858
+ this.getReadData(2);
2859
+ } else if (this.type == 4) {
2860
+ this.getpendedhistoryList();
2861
+ }
2862
+ },
2863
+
2864
+ methods: {
2865
+ getpendedhistoryList: function getpendedhistoryList() {
2866
+ var _this = this;
2867
+
2868
+ Object(http["a" /* default */])({
2869
+ url: api["u" /* pendedhistoryList */],
2870
+ type: 'post',
2871
+ params: {
2872
+ type: 0,
2873
+ apprecordid: this.businessId
2874
+ }
2875
+ }).then(function (res) {
2876
+ var status = res.status,
2877
+ data = res.data;
2878
+
2879
+ if (status == 'success') {
2880
+ _this.handleUserList = data.wfHistoryList.filter(function (x) {
2881
+ return x.pendstate == 0 || x.pendstate == 1;
2882
+ });
2883
+ } else {
2884
+ _this.$toast(msg);
2885
+ }
2886
+ });
2887
+ },
2888
+ getReadData: function getReadData(status) {
2889
+ var _this2 = this;
2890
+
2891
+ Object(http["a" /* default */])({
2892
+ url: api["D" /* taskReadList */],
2893
+ params: {
2894
+ appRecordId: this.businessId,
2895
+ status: status
2896
+ }
2897
+ }).then(function (res) {
2898
+ _this2.isLoad = true;
2899
+ if (status == 1) {
2900
+ _this2.handleUserList = res.data || [];
2901
+ } else {
2902
+ _this2.hadDoUserList = res.data || [];
2903
+ }
2904
+ });
2905
+ },
2906
+ handleConfirm: function handleConfirm() {
2907
+ var _this3 = this;
2908
+
2909
+ if (!this.selectedIds.length) {
2910
+ this.$toast('请选择需要撤销的分阅数据!');
2911
+ return;
2912
+ }
2913
+ this.$toast.loading({
2914
+ message: '提交中...',
2915
+ forbidClick: true,
2916
+ loadingType: 'spinner',
2917
+ overlay: true,
2918
+ duration: 0
2919
+ });
2920
+ Object(http["a" /* default */])({
2921
+ url: api["a" /* cancelTaskRead */],
2922
+ params: {
2923
+ appRecordId: this.businessId,
2924
+ pendingIds: this.selectedIds.join(',')
2925
+ }
2926
+ }).then(function (res) {
2927
+ _this3.$toast.clear();
2928
+ if (res.rCode == 0) {
2929
+ _this3.$toast('操作成功');
2930
+ _this3.selectedIds = [];
2931
+ _this3.selectedData = [];
2932
+ _this3.getReadData(1);
2933
+ _this3.getReadData(2);
2934
+ } else {
2935
+ _this3.$toast(res.msg);
2936
+ }
2937
+ });
2938
+ },
2939
+ handleClose: function handleClose() {
2940
+ this.$parent.$emit('close');
2941
+ },
2942
+ handleSelectChange: function handleSelectChange(val) {
2943
+ console.log(val, '点击了');
2944
+ this.selectedData = this.handleUserList.filter(function (x) {
2945
+ return val.includes(x.id);
2946
+ });
2947
+ if (this.selectedIds.length === this.handleUserList.length) {
2948
+ this.isSelectAll = true;
2949
+ } else {
2950
+ this.isSelectAll = false;
2951
+ }
2952
+ },
2953
+ handleToggel: function handleToggel() {
2954
+ if (!this.isSelectAll) {
2955
+ this.selectedIds = this.handleUserList.map(function (i) {
2956
+ return i.id;
2957
+ });
2958
+ this.selectedData = this.handleUserList;
2959
+ } else {
2960
+ this.selectedIds = [];
2961
+ this.selectedData = [];
2962
+ }
2963
+ }
2964
+ }
2965
+ });
2966
+ // CONCATENATED MODULE: ./packages/flow-list/src/taskRead.vue?vue&type=script&lang=js
2967
+ /* harmony default export */ var src_taskReadvue_type_script_lang_js = (taskReadvue_type_script_lang_js);
2968
+ // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
2969
+ var componentNormalizer = __webpack_require__(1);
2970
+
2971
+ // CONCATENATED MODULE: ./packages/flow-list/src/taskRead.vue
2972
+
2973
+
2974
+
2975
+
2976
+
2977
+ /* normalize component */
2978
+
2979
+ var component = Object(componentNormalizer["a" /* default */])(
2980
+ src_taskReadvue_type_script_lang_js,
2981
+ taskReadvue_type_template_id_16c364a2_render,
2982
+ taskReadvue_type_template_id_16c364a2_staticRenderFns,
2983
+ false,
2984
+ null,
2985
+ null,
2986
+ null
2987
+
2988
+ )
2989
+
2990
+ /* harmony default export */ var taskRead = (component.exports);
2398
2991
  // EXTERNAL MODULE: ./src/utils/util.js
2399
2992
  var util = __webpack_require__(0);
2400
2993
 
2401
2994
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-list/src/main.vue?vue&type=script&lang=js
2402
- var _name$props$filters$d;
2995
+ var _name$props$component;
2403
2996
 
2404
2997
  //
2405
2998
  //
@@ -2554,11 +3147,24 @@ var _name$props$filters$d;
2554
3147
  //
2555
3148
  //
2556
3149
  //
3150
+ //
3151
+ //
3152
+ //
3153
+ //
3154
+ //
3155
+ //
3156
+ //
3157
+ //
3158
+ //
3159
+ //
3160
+ //
3161
+ //
3162
+
2557
3163
 
2558
3164
 
2559
3165
 
2560
3166
 
2561
- /* harmony default export */ var mainvue_type_script_lang_js = (_name$props$filters$d = {
3167
+ /* harmony default export */ var mainvue_type_script_lang_js = (_name$props$component = {
2562
3168
  name: 'EmFlowList',
2563
3169
  props: {
2564
3170
  businessId: {
@@ -2580,6 +3186,9 @@ var _name$props$filters$d;
2580
3186
  default: false
2581
3187
  }
2582
3188
  },
3189
+ components: {
3190
+ TaskRead: taskRead
3191
+ },
2583
3192
  filters: {
2584
3193
  transformTimestamp: function transformTimestamp(val) {
2585
3194
  return util["a" /* default */].formatDate(Number(val), 'yyyy-MM-dd');
@@ -2599,6 +3208,7 @@ var _name$props$filters$d;
2599
3208
  watch: {
2600
3209
  businessId: {
2601
3210
  handler: function handler(val) {
3211
+ if (this.type == 3 || this.type == 4) return;
2602
3212
  if (val && this.data.length === 0) {
2603
3213
  this.getFlowList(val);
2604
3214
  } else {
@@ -2611,24 +3221,23 @@ var _name$props$filters$d;
2611
3221
  }
2612
3222
  },
2613
3223
  methods: {}
2614
- }, _name$props$filters$d['methods'] = {
3224
+ }, _name$props$component['methods'] = {
2615
3225
  getFlowList: function getFlowList(apprecordId) {
2616
3226
  var _this = this;
2617
3227
 
2618
3228
  Object(http["a" /* default */])({
2619
- url: api["t" /* pendedhistoryList */],
3229
+ url: api["u" /* pendedhistoryList */],
2620
3230
  type: 'post',
2621
3231
  params: {
2622
3232
  type: this.type,
2623
- apprecordId: apprecordId
3233
+ apprecordid: apprecordId
2624
3234
  }
2625
3235
  }).then(function (res) {
2626
- var rCode = res.rCode,
2627
- msg = res.msg,
2628
- results = res.results;
3236
+ var status = res.status,
3237
+ data = res.data;
2629
3238
 
2630
- if (rCode === 0) {
2631
- _this.processList = results;
3239
+ if (status == 'success') {
3240
+ _this.processList = _this.type == '0' ? data.wfHistoryList : data.fyHistoryList;
2632
3241
  } else {
2633
3242
  _this.$toast(msg);
2634
3243
  }
@@ -2637,12 +3246,9 @@ var _name$props$filters$d;
2637
3246
  changeMore: function changeMore(i) {
2638
3247
  this.$emit('changeMore', i);
2639
3248
  }
2640
- }, _name$props$filters$d);
3249
+ }, _name$props$component);
2641
3250
  // CONCATENATED MODULE: ./packages/flow-list/src/main.vue?vue&type=script&lang=js
2642
3251
  /* harmony default export */ var src_mainvue_type_script_lang_js = (mainvue_type_script_lang_js);
2643
- // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
2644
- var componentNormalizer = __webpack_require__(1);
2645
-
2646
3252
  // CONCATENATED MODULE: ./packages/flow-list/src/main.vue
2647
3253
 
2648
3254
 
@@ -2651,7 +3257,7 @@ var componentNormalizer = __webpack_require__(1);
2651
3257
 
2652
3258
  /* normalize component */
2653
3259
 
2654
- var component = Object(componentNormalizer["a" /* default */])(
3260
+ var main_component = Object(componentNormalizer["a" /* default */])(
2655
3261
  src_mainvue_type_script_lang_js,
2656
3262
  render,
2657
3263
  staticRenderFns,
@@ -2662,7 +3268,7 @@ var component = Object(componentNormalizer["a" /* default */])(
2662
3268
 
2663
3269
  )
2664
3270
 
2665
- /* harmony default export */ var main = (component.exports);
3271
+ /* harmony default export */ var main = (main_component.exports);
2666
3272
  // CONCATENATED MODULE: ./packages/flow-list/index.js
2667
3273
 
2668
3274
 
@@ -2672,41 +3278,5 @@ main.install = function (Vue) {
2672
3278
 
2673
3279
  /* harmony default export */ var flow_list = __webpack_exports__["default"] = (main);
2674
3280
 
2675
- /***/ }),
2676
-
2677
- /***/ 4:
2678
- /***/ (function(module, exports) {
2679
-
2680
- module.exports = require("eoss-mobile-vant");
2681
-
2682
- /***/ }),
2683
-
2684
- /***/ 5:
2685
- /***/ (function(module, exports) {
2686
-
2687
- module.exports = require("@eoss-design/color");
2688
-
2689
- /***/ }),
2690
-
2691
- /***/ 6:
2692
- /***/ (function(module, exports) {
2693
-
2694
- module.exports = require("axios");
2695
-
2696
- /***/ }),
2697
-
2698
- /***/ 7:
2699
- /***/ (function(module, exports) {
2700
-
2701
- module.exports = require("qs");
2702
-
2703
- /***/ }),
2704
-
2705
- /***/ 8:
2706
- /***/ (function(module, exports) {
2707
-
2708
- module.exports = require("sm-crypto");
2709
-
2710
3281
  /***/ })
2711
-
2712
- /******/ });
3282
+ /******/ ]);