eoss-ui 0.4.21 → 0.4.23

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 (71) hide show
  1. package/lib/button-group.js +34 -34
  2. package/lib/button.js +37 -37
  3. package/lib/cascader.js +2 -2
  4. package/lib/checkbox-group.js +34 -34
  5. package/lib/config/api.js +1 -1
  6. package/lib/data-table-form.js +34 -34
  7. package/lib/data-table.js +48 -40
  8. package/lib/date-picker.js +36 -36
  9. package/lib/dialog.js +42 -39
  10. package/lib/eoss-ui.common.js +2284 -422
  11. package/lib/flow-group.js +42 -36
  12. package/lib/flow-list.js +35 -35
  13. package/lib/flow.js +120 -112
  14. package/lib/form.js +1082 -167
  15. package/lib/handle-user.js +34 -34
  16. package/lib/handler.js +34 -34
  17. package/lib/icon.js +436 -0
  18. package/lib/index.js +1 -1
  19. package/lib/input-number.js +36 -36
  20. package/lib/input.js +36 -36
  21. package/lib/label.js +2 -2
  22. package/lib/login.js +34 -34
  23. package/lib/main.js +584 -129
  24. package/lib/mainComp.js +54 -53
  25. package/lib/menu.js +2 -2
  26. package/lib/nav.js +36 -36
  27. package/lib/notify.js +36 -36
  28. package/lib/page.js +36 -36
  29. package/lib/pagination.js +2 -2
  30. package/lib/player.js +38 -38
  31. package/lib/qr-code.js +43 -43
  32. package/lib/radio-group.js +36 -36
  33. package/lib/select-ganged.js +36 -36
  34. package/lib/select.js +48 -46
  35. package/lib/selector-panel.js +34 -34
  36. package/lib/selector.js +36 -36
  37. package/lib/sizer.js +36 -36
  38. package/lib/steps.js +36 -36
  39. package/lib/switch.js +36 -36
  40. package/lib/table-form.js +295 -48
  41. package/lib/tabs-panel.js +2 -2
  42. package/lib/tabs.js +43 -39
  43. package/lib/theme-chalk/es-icon.css +1 -0
  44. package/lib/tips.js +36 -36
  45. package/lib/toolbar.js +2 -2
  46. package/lib/tree-group.js +36 -36
  47. package/lib/tree.js +36 -36
  48. package/lib/upload.js +37 -37
  49. package/lib/wujie.js +36 -36
  50. package/lib/wxlogin.js +36 -36
  51. package/package.json +1 -1
  52. package/packages/button/src/main.vue +7 -7
  53. package/packages/data-table/src/main.vue +9 -1
  54. package/packages/dialog/src/main.vue +3 -0
  55. package/packages/flow/src/component/taskUnionExamine.vue +3 -3
  56. package/packages/flow/src/main.vue +48 -17
  57. package/packages/flow/src/startTaskRead.vue +21 -24
  58. package/packages/flow-group/src/main.vue +5 -0
  59. package/packages/form/src/main.vue +209 -0
  60. package/packages/form/src/table.vue +150 -97
  61. package/packages/icon/index.js +5 -0
  62. package/packages/icon/src/main.vue +83 -0
  63. package/packages/main/src/async-component/index.vue +85 -0
  64. package/packages/main/src/main.vue +181 -12
  65. package/packages/mainComp/src/main.vue +1 -1
  66. package/packages/select/src/main.vue +7 -4
  67. package/packages/tabs/src/main.vue +1 -0
  68. package/packages/theme-chalk/lib/es-icon.css +1 -0
  69. package/packages/theme-chalk/src/es-icon.scss +99 -0
  70. package/src/config/api.js +1 -1
  71. package/src/index.js +4 -1
package/lib/flow.js CHANGED
@@ -2257,7 +2257,7 @@ var watermark = function watermark(option) {
2257
2257
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return doWechatQrLogin; });
2258
2258
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "V", function() { return mainConfig; });
2259
2259
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "R", function() { return initUserSet; });
2260
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Nb", function() { return updateUserInfo; });
2260
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Mb", function() { return updateUserInfo; });
2261
2261
  /* unused harmony export getUserImgUrl */
2262
2262
  /* unused harmony export getDoorIndex */
2263
2263
  /* unused harmony export refreshOnlineUsers */
@@ -2266,17 +2266,17 @@ var watermark = function watermark(option) {
2266
2266
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "x", function() { return getComplexApplications; });
2267
2267
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "y", function() { return getComplexApplicationsNew; });
2268
2268
  /* unused harmony export getUserCustomInfo */
2269
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Mb", function() { return updateUserCustomInfo; });
2269
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Lb", function() { return updateUserCustomInfo; });
2270
2270
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "lb", function() { return sysMsgPage; });
2271
2271
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "O", function() { return ignoreSysMsg; });
2272
2272
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "N", function() { return ignoreAllSysMsg; });
2273
2273
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "w", function() { return getAdjunctProperties; });
2274
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Rb", function() { return uploads; });
2275
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Pb", function() { return uploadOnlyOne; });
2274
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Qb", function() { return uploads; });
2275
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ob", function() { return uploadOnlyOne; });
2276
2276
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "v", function() { return getAdjunctFileInfos; });
2277
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Qb", function() { return uploadSort; });
2277
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Pb", function() { return uploadSort; });
2278
2278
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return downloadByAdjunctId; });
2279
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ob", function() { return uploadDownloads; });
2279
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Nb", function() { return uploadDownloads; });
2280
2280
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ab", function() { return previewAdjunct; });
2281
2281
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "bb", function() { return previewAdjunct2; });
2282
2282
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "cb", function() { return previewAdjunctOffice; });
@@ -2293,13 +2293,13 @@ var watermark = function watermark(option) {
2293
2293
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "L", function() { return gethelpdoc; });
2294
2294
  /* unused harmony export getCurrentuser */
2295
2295
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "W", function() { return mainDetail; });
2296
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "yb", function() { return toStartFlow; });
2297
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "vb", function() { return tempSave; });
2296
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "xb", function() { return toStartFlow; });
2297
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ub", function() { return tempSave; });
2298
2298
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return commonOpion; });
2299
2299
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return addCommonOpion; });
2300
2300
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "p", function() { return editCommonOpion; });
2301
2301
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fb", function() { return saveCommonOpinion; });
2302
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Lb", function() { return updateCommonOpinion; });
2302
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Kb", function() { return updateCommonOpinion; });
2303
2303
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return deleteCommonOpion; });
2304
2304
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "H", function() { return getProcessDefList; });
2305
2305
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "C", function() { return getNodeInfo; });
@@ -2307,46 +2307,46 @@ var watermark = function watermark(option) {
2307
2307
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return findSysCodes; });
2308
2308
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "D", function() { return getNotificationMsg; });
2309
2309
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "z", function() { return getHandleInfoHtml; });
2310
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "mb", function() { return taskHandleHtml; });
2310
+ /* unused harmony export taskHandleHtml */
2311
2311
  /* unused harmony export getView */
2312
2312
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "db", function() { return register; });
2313
2313
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "X", function() { return pendedhistoryList; });
2314
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Bb", function() { return toTaskRejectHtml; });
2315
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ob", function() { return taskRejectHtml; });
2316
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "zb", function() { return toStartTaskRead; });
2317
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ab", function() { return toStartTaskReadIndex; });
2318
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "nb", function() { return taskReadHtml; });
2314
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ab", function() { return toTaskRejectHtml; });
2315
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "nb", function() { return taskRejectHtml; });
2316
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "yb", function() { return toStartTaskRead; });
2317
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "zb", function() { return toStartTaskReadIndex; });
2318
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "mb", function() { return taskReadHtml; });
2319
2319
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "eb", function() { return rejectAndEnd; });
2320
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "xb", function() { return toSendMsg; });
2320
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "wb", function() { return toSendMsg; });
2321
2321
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "jb", function() { return sendMsg; });
2322
2322
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "q", function() { return endFlowHtml; });
2323
2323
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "M", function() { return handleInfo; });
2324
2324
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "T", function() { return loginUserInfo; });
2325
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Sb", function() { return wss; });
2326
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Jb", function() { return topic; });
2325
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Rb", function() { return wss; });
2326
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ib", function() { return topic; });
2327
2327
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "F", function() { return getPresetCustomInfo; });
2328
2328
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "G", function() { return getPresetNodeInfo; });
2329
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Fb", function() { return toTaskTransferIndex; });
2330
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sb", function() { return taskTransfer; });
2331
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "wb", function() { return toPresetInfoListIndex; });
2329
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Eb", function() { return toTaskTransferIndex; });
2330
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "rb", function() { return taskTransfer; });
2331
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "vb", function() { return toPresetInfoListIndex; });
2332
2332
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return deletePresetInfo; });
2333
2333
  /* unused harmony export historyListJson */
2334
2334
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Y", function() { return pendedhistoryListJson; });
2335
2335
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Z", function() { return pressListJson; });
2336
2336
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return deleteFlow; });
2337
2337
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "S", function() { return isCanStartSubFlow; });
2338
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Gb", function() { return toTaskUnionExamine; });
2339
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "tb", function() { return taskUnionExamine; });
2340
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Eb", function() { return toTaskTakeAdvice; });
2341
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "rb", function() { return taskTakeAdvice; });
2342
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Db", function() { return toTaskStartDraft; });
2343
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "qb", function() { return taskStartDraft; });
2344
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Cb", function() { return toTaskReview; });
2345
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "pb", function() { return taskReview; });
2346
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Hb", function() { return toTaskUnionSeal; });
2347
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ub", function() { return taskUnionSeal; });
2348
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ib", function() { return toTwoOfficesDispatch; });
2349
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Kb", function() { return twoOfficesDispatch; });
2338
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Fb", function() { return toTaskUnionExamine; });
2339
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sb", function() { return taskUnionExamine; });
2340
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Db", function() { return toTaskTakeAdvice; });
2341
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "qb", function() { return taskTakeAdvice; });
2342
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Cb", function() { return toTaskStartDraft; });
2343
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "pb", function() { return taskStartDraft; });
2344
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Bb", function() { return toTaskReview; });
2345
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ob", function() { return taskReview; });
2346
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Gb", function() { return toTaskUnionSeal; });
2347
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "tb", function() { return taskUnionSeal; });
2348
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Hb", function() { return toTwoOfficesDispatch; });
2349
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Jb", function() { return twoOfficesDispatch; });
2350
2350
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ib", function() { return sendList; });
2351
2351
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "hb", function() { return sendInfo; });
2352
2352
  /* unused harmony export sendSave */
@@ -2545,7 +2545,7 @@ var taskUnionSeal = '/bpm/task/taskHandle/taskUnionSeal.dhtml';
2545
2545
  // 报送两办
2546
2546
  var toTwoOfficesDispatch = '/bpm/bpmBackend/toTwoOfficesDispatch';
2547
2547
  // 报送两办提交
2548
- var twoOfficesDispatch = 'task/taskHandle/twoOfficesDispatch.dhtml';
2548
+ var twoOfficesDispatch = '/bpm/task/taskHandle/twoOfficesDispatch.dhtml';
2549
2549
 
2550
2550
  // notifySend 消息发送
2551
2551
  var sendList = '/notify2/notifySendRecord/listJson';
@@ -2895,7 +2895,7 @@ var component = Object(componentNormalizer["a" /* default */])(
2895
2895
  // ESM COMPAT FLAG
2896
2896
  __webpack_require__.r(__webpack_exports__);
2897
2897
 
2898
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=1cd64e1e&
2898
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=8bef2c20&
2899
2899
  var render = function () {
2900
2900
  var _vm = this
2901
2901
  var _h = _vm.$createElement
@@ -3990,6 +3990,7 @@ var render = function () {
3990
3990
  title: _vm.title,
3991
3991
  "close-on-click-modal": false,
3992
3992
  visible: _vm.handleVisible,
3993
+ closeParent: _vm.closeParent,
3993
3994
  height: "auto",
3994
3995
  },
3995
3996
  on: {
@@ -4219,7 +4220,7 @@ var staticRenderFns = []
4219
4220
  render._withStripped = true
4220
4221
 
4221
4222
 
4222
- // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=1cd64e1e&
4223
+ // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=8bef2c20&
4223
4224
 
4224
4225
  // EXTERNAL MODULE: external "babel-runtime/regenerator"
4225
4226
  var regenerator_ = __webpack_require__(9);
@@ -5093,7 +5094,7 @@ var _components;
5093
5094
  }
5094
5095
  this.loading = util["a" /* default */].loading(this.$loading, '提交中...');
5095
5096
  util["a" /* default */].ajax({
5096
- url: data.id ? api["Lb" /* updateCommonOpinion */] : api["fb" /* saveCommonOpinion */],
5097
+ url: data.id ? api["Kb" /* updateCommonOpinion */] : api["fb" /* saveCommonOpinion */],
5097
5098
  data: info,
5098
5099
  header: { 'Content-Type': 'multipart/form-data' },
5099
5100
  method: 'post'
@@ -7776,7 +7777,7 @@ var processFormvue_type_script_lang_js_components;
7776
7777
  businessId: this.businessId
7777
7778
  };
7778
7779
  // 获取节点
7779
- util["a" /* default */].ajax({ url: api["yb" /* toStartFlow */], params: params }).then(function (res) {
7780
+ util["a" /* default */].ajax({ url: api["xb" /* toStartFlow */], params: params }).then(function (res) {
7780
7781
  //pc接口返回数据处理
7781
7782
  var status = res.status,
7782
7783
  message = res.message,
@@ -8276,7 +8277,7 @@ SendMsgvue_type_template_id_7d374b0a_render._withStripped = true
8276
8277
 
8277
8278
  this.loading = true;
8278
8279
  util["a" /* default */].ajax({
8279
- url: api["xb" /* toSendMsg */],
8280
+ url: api["wb" /* toSendMsg */],
8280
8281
  params: { pendingId: this.$attrs.pendingId }
8281
8282
  }).then(function (res) {
8282
8283
  var status = res.status,
@@ -9091,7 +9092,7 @@ processRejectvue_type_template_id_4de07824_render._withStripped = true
9091
9092
  userId: util["a" /* default */].getStorage('userId'),
9092
9093
  nextNodeId: _this2.nextNode.nextNodeId
9093
9094
  };
9094
- util["a" /* default */].ajax({ url: api["ob" /* taskRejectHtml */], method: 'post', data: params }).then(function (res) {
9095
+ util["a" /* default */].ajax({ url: api["nb" /* taskRejectHtml */], method: 'post', data: params }).then(function (res) {
9095
9096
  var status = res.status,
9096
9097
  message = res.message;
9097
9098
 
@@ -9146,7 +9147,7 @@ processRejectvue_type_template_id_4de07824_render._withStripped = true
9146
9147
  isSinglePage: false,
9147
9148
  opinion: this.option
9148
9149
  };
9149
- util["a" /* default */].ajax({ url: api["Bb" /* toTaskRejectHtml */], params: params }).then(function (res) {
9150
+ util["a" /* default */].ajax({ url: api["Ab" /* toTaskRejectHtml */], params: params }).then(function (res) {
9150
9151
  var status = res.status,
9151
9152
  message = res.message,
9152
9153
  _res$data = res.data,
@@ -9209,8 +9210,8 @@ var processReject_component = Object(componentNormalizer["a" /* default */])(
9209
9210
  )
9210
9211
 
9211
9212
  /* harmony default export */ var processReject = (processReject_component.exports);
9212
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/startTaskRead.vue?vue&type=template&id=78b2ca32&
9213
- var startTaskReadvue_type_template_id_78b2ca32_render = function () {
9213
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/startTaskRead.vue?vue&type=template&id=0c8ae180&
9214
+ var startTaskReadvue_type_template_id_0c8ae180_render = function () {
9214
9215
  var _vm = this
9215
9216
  var _h = _vm.$createElement
9216
9217
  var _c = _vm._self._c || _h
@@ -9550,7 +9551,7 @@ var startTaskReadvue_type_template_id_78b2ca32_render = function () {
9550
9551
  _vm.configInfo.isCdjxjTaskHandle != "true" &&
9551
9552
  _vm.type == "transfer",
9552
9553
  expression:
9553
- "\n nextNode.noticeType.length != 0 &&\n configInfo.isCdjxjTaskHandle != 'true' &&\n type == 'transfer'\n ",
9554
+ "\n nextNode.noticeType.length != 0 &&\n configInfo.isCdjxjTaskHandle != 'true' &&\n type == 'transfer'\n ",
9554
9555
  },
9555
9556
  ],
9556
9557
  attrs: { prop: "nextNode", label: "通知消息" },
@@ -9585,11 +9586,11 @@ var startTaskReadvue_type_template_id_78b2ca32_render = function () {
9585
9586
  1
9586
9587
  )
9587
9588
  }
9588
- var startTaskReadvue_type_template_id_78b2ca32_staticRenderFns = []
9589
- startTaskReadvue_type_template_id_78b2ca32_render._withStripped = true
9589
+ var startTaskReadvue_type_template_id_0c8ae180_staticRenderFns = []
9590
+ startTaskReadvue_type_template_id_0c8ae180_render._withStripped = true
9590
9591
 
9591
9592
 
9592
- // CONCATENATED MODULE: ./packages/flow/src/startTaskRead.vue?vue&type=template&id=78b2ca32&
9593
+ // CONCATENATED MODULE: ./packages/flow/src/startTaskRead.vue?vue&type=template&id=0c8ae180&
9593
9594
 
9594
9595
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/startTaskRead.vue?vue&type=script&lang=js&
9595
9596
  var startTaskReadvue_type_script_lang_js_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
@@ -9818,7 +9819,7 @@ var startTaskReadvue_type_script_lang_js_components;
9818
9819
  taskExamine = this.taskExamine;
9819
9820
 
9820
9821
  var params = {
9821
- url: api["Fb" /* toTaskTransferIndex */],
9822
+ url: api["Eb" /* toTaskTransferIndex */],
9822
9823
  params: {
9823
9824
  opinion: opinion,
9824
9825
  pendingId: pendingId,
@@ -9943,7 +9944,7 @@ var startTaskReadvue_type_script_lang_js_components;
9943
9944
  var _this3 = this;
9944
9945
 
9945
9946
  var params = {
9946
- url: api["zb" /* toStartTaskRead */],
9947
+ url: api["yb" /* toStartTaskRead */],
9947
9948
  params: { pendingId: this.pendingId, taskAction: this.type }
9948
9949
  };
9949
9950
  if (this.type != 'taskReadAndEnd') delete params.params.taskAction;
@@ -10013,7 +10014,7 @@ var startTaskReadvue_type_script_lang_js_components;
10013
10014
  multiple = this.multiple;
10014
10015
 
10015
10016
  var params = {
10016
- url: api["sb" /* taskTransfer */],
10017
+ url: api["rb" /* taskTransfer */],
10017
10018
  data: {
10018
10019
  choiceDeptId: choiceDeptId,
10019
10020
  choiceOrgId: choiceOrgId,
@@ -10085,7 +10086,8 @@ var startTaskReadvue_type_script_lang_js_components;
10085
10086
  opinion: _this7.option, // 审批意见
10086
10087
  userId: util["a" /* default */].getStorage('userId'),
10087
10088
  nextReadUserId: _this7.mixList.join('|'),
10088
- noticeType: noticeType
10089
+ noticeType: noticeType,
10090
+ taskAction: _this7.type
10089
10091
  // nextNodeId: this.form.nextNodeId
10090
10092
  });
10091
10093
  delete params.nextUser;
@@ -10100,7 +10102,7 @@ var startTaskReadvue_type_script_lang_js_components;
10100
10102
  !download && delete params.isDownload;
10101
10103
  isCdjxjTaskHandle == 'true' && delete params.noticeType;
10102
10104
  util["a" /* default */].ajax({
10103
- url: api["nb" /* taskReadHtml */],
10105
+ url: api["mb" /* taskReadHtml */],
10104
10106
  params: { taskAction: _this7.type },
10105
10107
  headers: { Accept: 'application/json,text/plain' },
10106
10108
  method: 'post',
@@ -10175,8 +10177,8 @@ var startTaskReadvue_type_script_lang_js_components;
10175
10177
 
10176
10178
  var startTaskRead_component = Object(componentNormalizer["a" /* default */])(
10177
10179
  src_startTaskReadvue_type_script_lang_js_,
10178
- startTaskReadvue_type_template_id_78b2ca32_render,
10179
- startTaskReadvue_type_template_id_78b2ca32_staticRenderFns,
10180
+ startTaskReadvue_type_template_id_0c8ae180_render,
10181
+ startTaskReadvue_type_template_id_0c8ae180_staticRenderFns,
10180
10182
  false,
10181
10183
  null,
10182
10184
  null,
@@ -10185,8 +10187,8 @@ var startTaskRead_component = Object(componentNormalizer["a" /* default */])(
10185
10187
  )
10186
10188
 
10187
10189
  /* harmony default export */ var startTaskRead = (startTaskRead_component.exports);
10188
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=141fdde2&
10189
- var taskUnionExaminevue_type_template_id_141fdde2_render = function () {
10190
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=5c89b454&
10191
+ var taskUnionExaminevue_type_template_id_5c89b454_render = function () {
10190
10192
  var _vm = this
10191
10193
  var _h = _vm.$createElement
10192
10194
  var _c = _vm._self._c || _h
@@ -10401,11 +10403,11 @@ var taskUnionExaminevue_type_template_id_141fdde2_render = function () {
10401
10403
  1
10402
10404
  )
10403
10405
  }
10404
- var taskUnionExaminevue_type_template_id_141fdde2_staticRenderFns = []
10405
- taskUnionExaminevue_type_template_id_141fdde2_render._withStripped = true
10406
+ var taskUnionExaminevue_type_template_id_5c89b454_staticRenderFns = []
10407
+ taskUnionExaminevue_type_template_id_5c89b454_render._withStripped = true
10406
10408
 
10407
10409
 
10408
- // CONCATENATED MODULE: ./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=141fdde2&
10410
+ // CONCATENATED MODULE: ./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=5c89b454&
10409
10411
 
10410
10412
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/taskUnionExamine.vue?vue&type=script&lang=js&
10411
10413
  var taskUnionExaminevue_type_script_lang_js_components;
@@ -10592,9 +10594,9 @@ var taskUnionExaminevue_type_script_lang_js_components;
10592
10594
  pendingId = this.pendingId;
10593
10595
 
10594
10596
  var params = {
10595
- url: api["pb" /* taskReview */],
10597
+ url: api["ob" /* taskReview */],
10596
10598
  data: {
10597
- nextUserId: nextOtherOrgObj,
10599
+ nextUserId: nextOtherOrgObj.join(','),
10598
10600
  notificationType: noticeType.join(','),
10599
10601
  notificationMsg: noticeInfo,
10600
10602
  opinion: opinion,
@@ -10628,7 +10630,7 @@ var taskUnionExaminevue_type_script_lang_js_components;
10628
10630
  var _this2 = this;
10629
10631
 
10630
10632
  var params = {
10631
- url: api["Cb" /* toTaskReview */],
10633
+ url: api["Bb" /* toTaskReview */],
10632
10634
  params: { pendingId: this.pendingId }
10633
10635
  };
10634
10636
  util["a" /* default */].ajax(params).then(function (res) {
@@ -10663,7 +10665,7 @@ var taskUnionExaminevue_type_script_lang_js_components;
10663
10665
  var _this3 = this;
10664
10666
 
10665
10667
  var params = {
10666
- url: this.type == 'takeAdvice' ? api["Eb" /* toTaskTakeAdvice */] : this.type === 'startDraf' ? api["Db" /* toTaskStartDraft */] : this.type == 'unionSeal' ? api["Hb" /* toTaskUnionSeal */] : this.type == 'twoOfficesDispatch' ? api["Ib" /* toTwoOfficesDispatch */] : api["Gb" /* toTaskUnionExamine */],
10668
+ url: this.type == 'takeAdvice' ? api["Db" /* toTaskTakeAdvice */] : this.type === 'startDraf' ? api["Cb" /* toTaskStartDraft */] : this.type == 'unionSeal' ? api["Gb" /* toTaskUnionSeal */] : this.type == 'twoOfficesDispatch' ? api["Hb" /* toTwoOfficesDispatch */] : api["Fb" /* toTaskUnionExamine */],
10667
10669
  params: { pendingId: this.pendingId },
10668
10670
  headers: { Accept: 'application/json,text/plain' }
10669
10671
  };
@@ -10757,12 +10759,12 @@ var taskUnionExaminevue_type_script_lang_js_components;
10757
10759
  // if (this.type != 'startDraf' && this.type != 'unionSeal' && this.type != 'twoOfficesDispatch')
10758
10760
  // return this.$message.warning('暂未开放,敬请期待!');
10759
10761
  var param = {
10760
- url: this.type === 'startDraf' ? api["qb" /* taskStartDraft */] : this.type == 'unionSeal' ? api["ub" /* taskUnionSeal */] : this.type === 'twoOfficesDispatch' ? api["Kb" /* twoOfficesDispatch */] : this.type == 'takeAdvice' ? api["rb" /* taskTakeAdvice */] : api["tb" /* taskUnionExamine */],
10762
+ url: this.type === 'startDraf' ? api["pb" /* taskStartDraft */] : this.type == 'unionSeal' ? api["tb" /* taskUnionSeal */] : this.type === 'twoOfficesDispatch' ? api["Jb" /* twoOfficesDispatch */] : this.type == 'takeAdvice' ? api["qb" /* taskTakeAdvice */] : api["sb" /* taskUnionExamine */],
10761
10763
  data: {
10762
10764
  opinion: opinion,
10763
10765
  pendingId: pendingId,
10764
- nextOtherOrgObj: nextOtherOrgObj,
10765
- nextCurrentOrgObj: nextCurrentOrgObj,
10766
+ nextOtherOrgObj: nextOtherOrgObj.join(','),
10767
+ nextCurrentOrgObj: nextCurrentOrgObj.join(','),
10766
10768
  notificationMsg: noticeInfo,
10767
10769
  notificationType: noticeType.join(','),
10768
10770
  choiceDeptId: choiceDeptId,
@@ -10885,8 +10887,8 @@ var taskUnionExaminevue_type_script_lang_js_components;
10885
10887
 
10886
10888
  var taskUnionExamine_component = Object(componentNormalizer["a" /* default */])(
10887
10889
  component_taskUnionExaminevue_type_script_lang_js_,
10888
- taskUnionExaminevue_type_template_id_141fdde2_render,
10889
- taskUnionExaminevue_type_template_id_141fdde2_staticRenderFns,
10890
+ taskUnionExaminevue_type_template_id_5c89b454_render,
10891
+ taskUnionExaminevue_type_template_id_5c89b454_staticRenderFns,
10890
10892
  false,
10891
10893
  null,
10892
10894
  null,
@@ -11438,6 +11440,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
11438
11440
  //
11439
11441
  //
11440
11442
  //
11443
+ //
11441
11444
 
11442
11445
 
11443
11446
 
@@ -11477,7 +11480,8 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
11477
11480
  }
11478
11481
  },
11479
11482
  beforeSubmit: Function,
11480
- title: { type: String, default: '事务表单办理' }
11483
+ title: { type: String, default: '事务表单办理' },
11484
+ closeParent: Boolean
11481
11485
  },
11482
11486
  data: function data() {
11483
11487
  var _ref;
@@ -11491,6 +11495,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
11491
11495
  flowType: '',
11492
11496
  flowDisabled: false,
11493
11497
  activeNames: '',
11498
+ isEndUserTask: true,
11494
11499
  selectUserList: [],
11495
11500
  flowMultiple: true,
11496
11501
  isCustomUser: 0,
@@ -11765,7 +11770,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
11765
11770
  opinion: _this2.value
11766
11771
  };
11767
11772
  util["a" /* default */].ajax({
11768
- url: api["nb" /* taskReadHtml */],
11773
+ url: api["mb" /* taskReadHtml */],
11769
11774
  params: { taskAction: 'complete' },
11770
11775
  headers: { Accept: 'application/json,text/plain' },
11771
11776
  method: 'post',
@@ -11795,7 +11800,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
11795
11800
 
11796
11801
  this.loading = util["a" /* default */].loading(this.$loading, '加载中...');
11797
11802
  util["a" /* default */].ajax({
11798
- url: api["Ab" /* toStartTaskReadIndex */],
11803
+ url: api["zb" /* toStartTaskReadIndex */],
11799
11804
  params: { pendingId: this.pendingId }
11800
11805
  }).then(function (res) {
11801
11806
  var status = res.status,
@@ -11927,7 +11932,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
11927
11932
  pendingId: this.pendingId
11928
11933
  };
11929
11934
  this.loading = util["a" /* default */].loading(this.$loading, '保存中...');
11930
- util["a" /* default */].ajax({ url: api["vb" /* tempSave */], params: params }).then(function (res) {
11935
+ util["a" /* default */].ajax({ url: api["ub" /* tempSave */], params: params }).then(function (res) {
11931
11936
  var status = res.status,
11932
11937
  message = res.message;
11933
11938
 
@@ -12292,18 +12297,22 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
12292
12297
  _this12.multiple ? _this12.nextNode.nextUserId = [] : _this12.nextNode.nextUserId = '';
12293
12298
  if (_this12.multiple && data.nodeExtAttr.isDefSelectedObj == 1 && data.nextUserList !== undefined) {
12294
12299
  data.nextUserList.map(function (item) {
12295
- _this12.nextNode.nextUserId.push(item.userId);
12296
- _this12.selectUserList.push({
12297
- showname: item.username,
12298
- showid: item.userId
12299
- });
12300
+ if (item.userId && item.username) {
12301
+ _this12.nextNode.nextUserId.push(item.userId);
12302
+ _this12.selectUserList.push({
12303
+ showname: item.username,
12304
+ showid: item.userId
12305
+ });
12306
+ }
12300
12307
  });
12301
12308
  }
12302
12309
  data.nextUserList.map(function (item) {
12303
- _this12.options.push({
12304
- showname: item.username,
12305
- showid: item.userId
12306
- });
12310
+ if (item.userId && item.username) {
12311
+ _this12.options.push({
12312
+ showname: item.username,
12313
+ showid: item.userId
12314
+ });
12315
+ }
12307
12316
  });
12308
12317
  if (data.nodeExtAttr.presetEdit != 0) {
12309
12318
  _this12.radioList = _this12.options;
@@ -12450,6 +12459,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
12450
12459
  var status = res.status,
12451
12460
  message = res.message,
12452
12461
  _res$data2 = res.data,
12462
+ isEndUserTask = _res$data2.isEndUserTask,
12453
12463
  nextNodeList = _res$data2.nextNodeList,
12454
12464
  taskOperations = _res$data2.taskOperations,
12455
12465
  isCustomPreset = _res$data2.isCustomPreset,
@@ -12515,6 +12525,13 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
12515
12525
  // this.nextNode.nextNodeId = item.taskNodeList[0].nodeId;
12516
12526
  // }
12517
12527
  }
12528
+ if (taskOperations.length == 1) {
12529
+ _this14.nodeInfos = [];
12530
+ _this14.nextNode.nextOperate = taskOperations[0].key;
12531
+ if (taskOperations[0].taskNodeList != null) {
12532
+ _this14.nodeInfos = taskOperations[0].taskNodeList;
12533
+ }
12534
+ }
12518
12535
  });
12519
12536
  }
12520
12537
  _this14.operationList = taskOperations;
@@ -12524,7 +12541,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
12524
12541
  _this14.isBanInputOpinion = nodeInfoMap.nodeExtAttr.isBanInputOpinion;
12525
12542
  _this14.nodeDefaultRejectOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultRejectOpinion;
12526
12543
  _this14.isOpinionRequired = nodeInfoMap.nodeExtAttr.isOpinionRequired;
12527
- _this14.isChooseNextNode = nodeInfoMap.nodeExtAttr.isChooseNextNode;
12544
+ // this.isChooseNextNode = nodeInfoMap.nodeExtAttr.isChooseNextNode;
12528
12545
  _this14.defaultNextNode = nodeInfoMap.nodeExtAttr.defaultNextNode;
12529
12546
  if (nodeInfoMap.nodeExtAttr.defaultNextNode) {
12530
12547
  var defaultNode = _this14.nodeInfos.filter(function (item) {
@@ -12538,10 +12555,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
12538
12555
  } else if (_this14.nodeInfos.length > 0) {
12539
12556
  _this14.nextNode.nextNodeId = _this14.nodeInfos[0].nodeId;
12540
12557
  }
12541
- _this14.choiceOrgId = choiceOrgId;
12542
- _this14.choiceDeptId = choiceDeptId;
12543
- _this14.pOrgId = pOrgId;
12544
12558
  }
12559
+ _this14.choiceOrgId = choiceOrgId;
12560
+ _this14.choiceDeptId = choiceDeptId;
12561
+ _this14.pOrgId = pOrgId;
12562
+ _this14.isEndUserTask = isEndUserTask;
12545
12563
  if (JSON.stringify(taskExamine) != '{}' && taskExamine) {
12546
12564
  _this14.nodeInfo.nextNode = taskExamine.processDefinitionId;
12547
12565
  _this14.NodeName = taskExamine.nodeName;
@@ -12780,13 +12798,13 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
12780
12798
 
12781
12799
  this.$refs['nextNode'].validate(function () {
12782
12800
  var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator_default.a.mark(function _callee(valid) {
12783
- var nextUserId, addSignUserId, removeSignUserId, str, notificationType, params;
12801
+ var nextUserId, addSignUserId, removeSignUserId, str, notificationType, params, isEndUserTask, choiceOrgId, choiceDeptId, pOrgId, taskExamineInfo;
12784
12802
  return regenerator_default.a.wrap(function _callee$(_context) {
12785
12803
  while (1) {
12786
12804
  switch (_context.prev = _context.next) {
12787
12805
  case 0:
12788
12806
  if (!valid) {
12789
- _context.next = 44;
12807
+ _context.next = 56;
12790
12808
  break;
12791
12809
  }
12792
12810
 
@@ -12925,35 +12943,25 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
12925
12943
  if (_this18.nextNode.isAddSign != '1') {
12926
12944
  delete params.addSignUserId;
12927
12945
  }
12928
- // if(this.isSubmitButtonShowAgreeAndDisagree == 1){
12929
- // this.value = this.value
12930
- // }
12931
12946
  _this18.loading = util["a" /* default */].loading(_this18.$loading, '提交中...');
12932
- util["a" /* default */].ajax({ url: api["mb" /* taskHandleHtml */], method: 'post', data: params }).then(function (res) {
12933
- var status = res.status,
12934
- message = res.message;
12935
-
12936
- _this18.loading.close();
12937
- if (status === 'success') {
12938
- _this18.$message.success('提交成功');
12939
- _this18.$emit('success');
12940
- } else {
12941
- _this18.$message.error(message || '系统错误,请联系管理员!');
12942
- _this18.$emit('error');
12943
- }
12944
- }).catch(function (err) {
12945
- _this18.loading.close();
12946
- if (err.message && err.message !== 'canceled') {
12947
- _this18.$message.error(err.message);
12948
- }
12949
- });
12950
- _context.next = 45;
12951
- break;
12947
+ isEndUserTask = _this18.isEndUserTask, choiceOrgId = _this18.choiceOrgId, choiceDeptId = _this18.choiceDeptId, pOrgId = _this18.pOrgId, taskExamineInfo = _this18.taskExamineInfo;
12948
+
12949
+ params.isEndUserTask = isEndUserTask;
12950
+ params.choiceOrgId = choiceOrgId;
12951
+ params.choiceDeptId = choiceDeptId;
12952
+ params.pOrgId = pOrgId;
12953
+ params.processType = taskExamineInfo.processType;
12954
+ params.businessId = taskExamineInfo.businessId;
12955
+ params.appId = taskExamineInfo.appId;
12956
+ params.processDefinitionId = taskExamineInfo.processDefinitionId;
12957
+ params.isSubFlow = taskExamineInfo.isSubFlow;
12958
+ params.nodeId = taskExamineInfo.nodeId;
12959
+ return _context.abrupt('return');
12952
12960
 
12953
- case 44:
12961
+ case 56:
12954
12962
  return _context.abrupt('return', false);
12955
12963
 
12956
- case 45:
12964
+ case 57:
12957
12965
  case 'end':
12958
12966
  return _context.stop();
12959
12967
  }