eoss-mobiles 0.2.98 → 0.2.99

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/flow.js CHANGED
@@ -1608,43 +1608,44 @@ function normalizeComponent(
1608
1608
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1609
1609
 
1610
1610
  "use strict";
1611
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return initRetrialAuth; });
1612
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return getRetrialAuthCode; });
1611
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return initRetrialAuth; });
1612
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return getRetrialAuthCode; });
1613
1613
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return codeRetrialAuth; });
1614
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "q", function() { return selectObject; });
1614
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "r", function() { return selectObject; });
1615
1615
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return findSysCode; });
1616
1616
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return commonOpion; });
1617
1617
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return getHandleInfoHtml; });
1618
1618
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return getNodeInfoHtml; });
1619
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "r", function() { return taskHandleHtml; });
1620
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "s", function() { return taskHandleHtmlImg; });
1621
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "p", function() { return registerNew; });
1619
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "s", function() { return taskHandleHtml; });
1620
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return taskHandleHtmlImg; });
1621
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "q", function() { return registerNew; });
1622
1622
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return getNodeInfo; });
1623
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "A", function() { return toStartFlow; });
1624
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "u", function() { return taskRejectHtml; });
1625
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "C", function() { return toTaskRejectHtml; });
1626
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return handleTaskRead; });
1627
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return taskReadHtml; });
1623
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "B", function() { return toStartFlow; });
1624
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "v", function() { return taskRejectHtml; });
1625
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "D", function() { return toTaskRejectHtml; });
1626
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return handleTaskRead; });
1627
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "u", function() { return taskReadHtml; });
1628
1628
  /* unused harmony export toStartTaskRead */
1629
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "B", function() { return toStartTaskReadHtml; });
1630
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "F", function() { return toTaskTransferIndex; });
1631
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "x", function() { return taskTransfer; });
1629
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "C", function() { return toStartTaskReadHtml; });
1630
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "G", function() { return toTaskTransferIndex; });
1631
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "y", function() { return taskTransfer; });
1632
1632
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return findSysCodes; });
1633
1633
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return getNotificationMsg; });
1634
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "G", function() { return toTaskUnionExamine; });
1635
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "y", function() { return taskUnionExamine; });
1636
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "E", function() { return toTaskTakeAdvice; });
1637
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "w", function() { return taskTakeAdvice; });
1638
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "D", function() { return toTaskStartDraft; });
1639
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "v", function() { return taskStartDraft; });
1640
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "H", function() { return toTaskUnionSeal; });
1641
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "z", function() { return taskUnionSeal; });
1634
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "H", function() { return toTaskUnionExamine; });
1635
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "z", function() { return taskUnionExamine; });
1636
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "F", function() { return toTaskTakeAdvice; });
1637
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "x", function() { return taskTakeAdvice; });
1638
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "E", function() { return toTaskStartDraft; });
1639
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "w", function() { return taskStartDraft; });
1640
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "I", function() { return toTaskUnionSeal; });
1641
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "A", function() { return taskUnionSeal; });
1642
1642
  /* unused harmony export toTwoOfficesDispatch */
1643
1643
  /* unused harmony export twoOfficesDispatch */
1644
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return isCanStartSubFlow; });
1645
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return pendedhistoryList; });
1644
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return isCanStartSubFlow; });
1645
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return getPresetCustomInfo; });
1646
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "p", function() { return pendedhistoryList; });
1646
1647
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return getHandleButtonHtml; });
1647
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return getSysParam; });
1648
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return getSysParam; });
1648
1649
  /* harmony import */ var _utils_util__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
1649
1650
 
1650
1651
  var activiti = '/bpm';
@@ -1733,6 +1734,8 @@ var toTwoOfficesDispatch = activiti + mecp + '/bpmBackend/toTwoOfficesDispatch';
1733
1734
  var twoOfficesDispatch = activiti + '/task/taskHandle/twoOfficesDispatch.dhtml';
1734
1735
  // 是否允许启动子流程(必经节点)
1735
1736
  var isCanStartSubFlow = activiti + '/task/taskHandle/isCanStartSubFlow.dhtml';
1737
+ // 流程预设获取
1738
+ var getPresetCustomInfo = activiti + '/task/taskHandle/getPresetCustomInfo.dhtml';
1736
1739
  // 流程列表
1737
1740
  var pendedhistoryList = '/api/v1/mecpIpending/pendedhistoryList.json';
1738
1741
  // 获取流程按钮
@@ -2894,8 +2897,8 @@ var component = Object(componentNormalizer["a" /* default */])(
2894
2897
  )
2895
2898
 
2896
2899
  /* harmony default export */ var Opinion = (component.exports);
2897
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Message.vue?vue&type=template&id=434d110c
2898
- var Messagevue_type_template_id_434d110c_render = function () {
2900
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Message.vue?vue&type=template&id=50bf1a6c
2901
+ var Messagevue_type_template_id_50bf1a6c_render = function () {
2899
2902
  var _vm = this
2900
2903
  var _h = _vm.$createElement
2901
2904
  var _c = _vm._self._c || _h
@@ -2918,8 +2921,7 @@ var Messagevue_type_template_id_434d110c_render = function () {
2918
2921
  _c("em-checkbox-group", {
2919
2922
  attrs: {
2920
2923
  direction: "horizontal",
2921
- sysAppCode: _vm.code,
2922
- baseUrl: _vm.baseUrl,
2924
+ data: _vm.newList,
2923
2925
  disabledValue: _vm.readOnlyNotificationType,
2924
2926
  labelKey: "shortName",
2925
2927
  valueKey: "cciValue",
@@ -2945,7 +2947,7 @@ var Messagevue_type_template_id_434d110c_render = function () {
2945
2947
  _vm.form.notificationType &&
2946
2948
  _vm.form.notificationType.length > 0,
2947
2949
  expression:
2948
- "\n showMsg &&\n form.notificationType &&\n form.notificationType.length > 0\n ",
2950
+ "\n showMsg &&\n form.notificationType &&\n form.notificationType.length > 0\n ",
2949
2951
  },
2950
2952
  ],
2951
2953
  staticClass: "msg",
@@ -2982,11 +2984,11 @@ var Messagevue_type_template_id_434d110c_render = function () {
2982
2984
  1
2983
2985
  )
2984
2986
  }
2985
- var Messagevue_type_template_id_434d110c_staticRenderFns = []
2986
- Messagevue_type_template_id_434d110c_render._withStripped = true
2987
+ var Messagevue_type_template_id_50bf1a6c_staticRenderFns = []
2988
+ Messagevue_type_template_id_50bf1a6c_render._withStripped = true
2987
2989
 
2988
2990
 
2989
- // CONCATENATED MODULE: ./packages/flow/src/components/Message.vue?vue&type=template&id=434d110c
2991
+ // CONCATENATED MODULE: ./packages/flow/src/components/Message.vue?vue&type=template&id=50bf1a6c
2990
2992
 
2991
2993
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Message.vue?vue&type=script&lang=js
2992
2994
  //
@@ -3027,7 +3029,8 @@ Messagevue_type_template_id_434d110c_render._withStripped = true
3027
3029
  //
3028
3030
  //
3029
3031
  //
3030
- //
3032
+
3033
+
3031
3034
 
3032
3035
  /* harmony default export */ var Messagevue_type_script_lang_js = ({
3033
3036
  name: 'Message',
@@ -3044,7 +3047,7 @@ Messagevue_type_template_id_434d110c_render._withStripped = true
3044
3047
  },
3045
3048
  code: {
3046
3049
  type: String,
3047
- default: "notification_type" // 代码表默认参数
3050
+ default: 'notification_type' // 代码表默认参数
3048
3051
  },
3049
3052
  defaultNotificationMsg: String, //通知消息默认值
3050
3053
  defaultNotificationType: {
@@ -3053,7 +3056,7 @@ Messagevue_type_template_id_434d110c_render._withStripped = true
3053
3056
  }, //通知消息默认值
3054
3057
  label: {
3055
3058
  type: String,
3056
- default: "通知方式" // 代码表默认参数
3059
+ default: '通知方式' // 代码表默认参数
3057
3060
  },
3058
3061
  required: {
3059
3062
  type: Boolean,
@@ -3070,6 +3073,9 @@ Messagevue_type_template_id_434d110c_render._withStripped = true
3070
3073
  default: ''
3071
3074
  }
3072
3075
  },
3076
+ mounted: function mounted() {
3077
+ this.getSysCode();
3078
+ },
3073
3079
  data: function data() {
3074
3080
  return {
3075
3081
  form: {
@@ -3094,13 +3100,66 @@ Messagevue_type_template_id_434d110c_render._withStripped = true
3094
3100
  // 监听默认消息类型
3095
3101
  defaultNotificationType: function defaultNotificationType(val) {
3096
3102
  if (val) {
3097
- this.form.notificationType = val;
3103
+ var arr = [];
3104
+ this.newList.map(function (item) {
3105
+ val.map(function (x) {
3106
+ if (x == item.cciValue) {
3107
+ arr.push(x);
3108
+ }
3109
+ });
3110
+ });
3111
+ this.form.notificationType = arr;
3112
+ this.$emit('onInputMsg', this.form);
3098
3113
  }
3099
3114
  }
3100
3115
  },
3101
3116
  methods: {
3117
+ getSysCode: function getSysCode() {
3118
+ var _this = this;
3119
+
3120
+ var params = {
3121
+ url: this.baseUrl ? this.baseUrl + api["c" /* findSysCode */] : api["c" /* findSysCode */],
3122
+ type: 'get',
3123
+ params: {
3124
+ ccCode: this.code
3125
+ }
3126
+ };
3127
+ Object(http["a" /* default */])(params).then(function (res) {
3128
+ var status = res.status,
3129
+ data = res.data,
3130
+ message = res.message,
3131
+ rCode = res.rCode,
3132
+ results = res.results;
3133
+
3134
+ if (status == 'success' || rCode === 0 || status === true) {
3135
+ [].concat(data || results).map(function (item) {
3136
+ item.name = item['shortName'];
3137
+
3138
+ item.value = item['cciValue'];
3139
+ item.disabled = _this.readOnlyNotificationType.indexOf(item.value) != -1;
3140
+ });
3141
+ _this.newList = data || results;
3142
+ if (_this.defaultNotificationType && _this.defaultNotificationType.length > 0) {
3143
+ var arr = [];
3144
+ _this.newList.map(function (item) {
3145
+ _this.defaultNotificationType.map(function (x) {
3146
+ if (x == item.cciValue) {
3147
+ arr.push(x);
3148
+ }
3149
+ });
3150
+ });
3151
+ _this.form.notificationType = arr;
3152
+ _this.$emit('onInputMsg', _this.form);
3153
+ }
3154
+ } else {
3155
+ _this.$toast(message);
3156
+ }
3157
+ }).catch(function (err) {
3158
+ _this.$toast(err.message);
3159
+ });
3160
+ },
3102
3161
  onInput: function onInput() {
3103
- this.$emit("onInputMsg", this.form);
3162
+ this.$emit('onInputMsg', this.form);
3104
3163
  }
3105
3164
  }
3106
3165
  });
@@ -3116,8 +3175,8 @@ Messagevue_type_template_id_434d110c_render._withStripped = true
3116
3175
 
3117
3176
  var Message_component = Object(componentNormalizer["a" /* default */])(
3118
3177
  components_Messagevue_type_script_lang_js,
3119
- Messagevue_type_template_id_434d110c_render,
3120
- Messagevue_type_template_id_434d110c_staticRenderFns,
3178
+ Messagevue_type_template_id_50bf1a6c_render,
3179
+ Messagevue_type_template_id_50bf1a6c_staticRenderFns,
3121
3180
  false,
3122
3181
  null,
3123
3182
  null,
@@ -3452,7 +3511,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
3452
3511
  });
3453
3512
  var _that = this;
3454
3513
  Object(http["a" /* default */])({
3455
- url: _that.apiBaseUrl ? _that.apiBaseUrl + api["p" /* registerNew */] : api["p" /* registerNew */],
3514
+ url: _that.apiBaseUrl ? _that.apiBaseUrl + api["q" /* registerNew */] : api["q" /* registerNew */],
3456
3515
  type: 'get',
3457
3516
  params: { params: info
3458
3517
  // format: false
@@ -3560,7 +3619,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
3560
3619
  var that = this;
3561
3620
  return new Promise(function (resolve, reiect) {
3562
3621
  Object(http["a" /* default */])({
3563
- url: that.apiBaseUrl ? that.apiBaseUrl + api["A" /* toStartFlow */] : api["A" /* toStartFlow */],
3622
+ url: that.apiBaseUrl ? that.apiBaseUrl + api["B" /* toStartFlow */] : api["B" /* toStartFlow */],
3564
3623
  params: {
3565
3624
  params: _extends({}, res, {
3566
3625
  userId: that.userId || util["a" /* default */].getStorage('userId')
@@ -3693,8 +3752,8 @@ var StartFlow_component = Object(componentNormalizer["a" /* default */])(
3693
3752
  )
3694
3753
 
3695
3754
  /* harmony default export */ var StartFlow = (StartFlow_component.exports);
3696
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Handle.vue?vue&type=template&id=21e4c619
3697
- var Handlevue_type_template_id_21e4c619_render = function () {
3755
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Handle.vue?vue&type=template&id=548395aa
3756
+ var Handlevue_type_template_id_548395aa_render = function () {
3698
3757
  var _vm = this
3699
3758
  var _h = _vm.$createElement
3700
3759
  var _c = _vm._self._c || _h
@@ -4663,6 +4722,27 @@ var Handlevue_type_template_id_21e4c619_render = function () {
4663
4722
  ],
4664
4723
  1
4665
4724
  ),
4725
+ _vm.isCustomPreset
4726
+ ? _c("ProcessSetting", {
4727
+ ref: "processSetting",
4728
+ attrs: {
4729
+ processDefinitionId:
4730
+ _vm.taskExamineInfo
4731
+ .processDefinitionId,
4732
+ nodeId: _vm.form.nextNodeId,
4733
+ taskId:
4734
+ _vm.processObj.taskExamine.taskId,
4735
+ pendingId: _vm.pendingId,
4736
+ businessId:
4737
+ _vm.taskExamineInfo.businessId,
4738
+ apiBaseUrl: _vm.apiBaseUrl,
4739
+ paddingTop: _vm.paddingTop,
4740
+ choiceOrgId: _vm.choiceOrgId,
4741
+ pOrgId: _vm.pOrgId,
4742
+ choiceDeptId: _vm.choiceDeptId,
4743
+ },
4744
+ })
4745
+ : _vm._e(),
4666
4746
  _vm.isLimitedTimeHandling
4667
4747
  ? _c(
4668
4748
  "div",
@@ -4779,11 +4859,11 @@ var Handlevue_type_template_id_21e4c619_render = function () {
4779
4859
  1
4780
4860
  )
4781
4861
  }
4782
- var Handlevue_type_template_id_21e4c619_staticRenderFns = []
4783
- Handlevue_type_template_id_21e4c619_render._withStripped = true
4862
+ var Handlevue_type_template_id_548395aa_staticRenderFns = []
4863
+ Handlevue_type_template_id_548395aa_render._withStripped = true
4784
4864
 
4785
4865
 
4786
- // CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=21e4c619
4866
+ // CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=548395aa
4787
4867
 
4788
4868
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Reject.vue?vue&type=template&id=4fdaf365
4789
4869
  var Rejectvue_type_template_id_4fdaf365_render = function () {
@@ -5066,7 +5146,7 @@ var Rejectvue_type_script_lang_js_extends = Object.assign || function (target) {
5066
5146
  });
5067
5147
  var _that = this;
5068
5148
  Object(http["a" /* default */])({
5069
- url: _that.baseUrl ? _that.baseUrl + api["u" /* taskRejectHtml */] : api["u" /* taskRejectHtml */],
5149
+ url: _that.baseUrl ? _that.baseUrl + api["v" /* taskRejectHtml */] : api["v" /* taskRejectHtml */],
5070
5150
  type: 'post',
5071
5151
  params: this.form.isImageOpinion == 1 ? formData : this.form,
5072
5152
  format: false
@@ -5099,7 +5179,7 @@ var Rejectvue_type_script_lang_js_extends = Object.assign || function (target) {
5099
5179
  duration: 0
5100
5180
  });
5101
5181
  Object(http["a" /* default */])({
5102
- url: _that.baseUrl ? _that.baseUrl + api["C" /* toTaskRejectHtml */] : api["C" /* toTaskRejectHtml */],
5182
+ url: _that.baseUrl ? _that.baseUrl + api["D" /* toTaskRejectHtml */] : api["D" /* toTaskRejectHtml */],
5103
5183
  params: {
5104
5184
  pendingId: this.pendingId,
5105
5185
  isSinglePage: false,
@@ -5179,6 +5259,439 @@ var Reject_component = Object(componentNormalizer["a" /* default */])(
5179
5259
  )
5180
5260
 
5181
5261
  /* harmony default export */ var Reject = (Reject_component.exports);
5262
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/ProcessSettings.vue?vue&type=template&id=50a06dbd
5263
+ var ProcessSettingsvue_type_template_id_50a06dbd_render = function () {
5264
+ var _vm = this
5265
+ var _h = _vm.$createElement
5266
+ var _c = _vm._self._c || _h
5267
+ return _c(
5268
+ "div",
5269
+ { staticClass: "em-flow-setting" },
5270
+ [
5271
+ _c(
5272
+ "van-collapse",
5273
+ {
5274
+ model: {
5275
+ value: _vm.active,
5276
+ callback: function ($$v) {
5277
+ _vm.active = $$v
5278
+ },
5279
+ expression: "active",
5280
+ },
5281
+ },
5282
+ [
5283
+ _c(
5284
+ "van-collapse-item",
5285
+ {
5286
+ attrs: { title: "预设自定义节点信息(折叠不作处理)", name: "1" },
5287
+ },
5288
+ _vm._l(_vm.flowList, function (item, index) {
5289
+ return _c(
5290
+ "div",
5291
+ { key: index, staticClass: "em-flow-setting-item" },
5292
+ [
5293
+ _c("em-picker", {
5294
+ attrs: {
5295
+ title: "节点" + (index + 1),
5296
+ label: "节点" + (index + 1),
5297
+ "show-toolbar": "",
5298
+ columns: item.nodeList,
5299
+ "value-key": "nodeId",
5300
+ "label-key": "nodeName",
5301
+ },
5302
+ on: {
5303
+ confirm: function ($event) {
5304
+ _vm.onConfirmNextNode($event, index)
5305
+ },
5306
+ },
5307
+ model: {
5308
+ value: item.nodeId,
5309
+ callback: function ($$v) {
5310
+ _vm.$set(item, "nodeId", $$v)
5311
+ },
5312
+ expression: "item.nodeId",
5313
+ },
5314
+ }),
5315
+ _c("em-selector", {
5316
+ directives: [
5317
+ {
5318
+ name: "show",
5319
+ rawName: "v-show",
5320
+ value: item.showSelectUser,
5321
+ expression: "item.showSelectUser",
5322
+ },
5323
+ ],
5324
+ attrs: {
5325
+ multiple: !item.isRadio,
5326
+ nextUserList: item.nextUserList,
5327
+ label: "办理人",
5328
+ objType: item.objType,
5329
+ param: {
5330
+ pid: item.pid,
5331
+ },
5332
+ required: item.nodeId != "",
5333
+ tabs: "employee,persongroup",
5334
+ baseUrl: _vm.apiBaseUrl,
5335
+ paddingTop: _vm.paddingTop,
5336
+ },
5337
+ model: {
5338
+ value: item.nextUserSelectList,
5339
+ callback: function ($$v) {
5340
+ _vm.$set(item, "nextUserSelectList", $$v)
5341
+ },
5342
+ expression: "item.nextUserSelectList",
5343
+ },
5344
+ }),
5345
+ _c("van-icon", {
5346
+ directives: [
5347
+ {
5348
+ name: "show",
5349
+ rawName: "v-show",
5350
+ value: index + 1 != _vm.flowList.length,
5351
+ expression: "index + 1 != flowList.length",
5352
+ },
5353
+ ],
5354
+ staticStyle: { "margin-top": "10px" },
5355
+ attrs: { name: "down" },
5356
+ }),
5357
+ ],
5358
+ 1
5359
+ )
5360
+ }),
5361
+ 0
5362
+ ),
5363
+ ],
5364
+ 1
5365
+ ),
5366
+ ],
5367
+ 1
5368
+ )
5369
+ }
5370
+ var ProcessSettingsvue_type_template_id_50a06dbd_staticRenderFns = []
5371
+ ProcessSettingsvue_type_template_id_50a06dbd_render._withStripped = true
5372
+
5373
+
5374
+ // CONCATENATED MODULE: ./packages/flow/src/components/ProcessSettings.vue?vue&type=template&id=50a06dbd
5375
+
5376
+ // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/ProcessSettings.vue?vue&type=script&lang=js
5377
+ var ProcessSettingsvue_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; };
5378
+
5379
+ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
5380
+
5381
+ //
5382
+ //
5383
+ //
5384
+ //
5385
+ //
5386
+ //
5387
+ //
5388
+ //
5389
+ //
5390
+ //
5391
+ //
5392
+ //
5393
+ //
5394
+ //
5395
+ //
5396
+ //
5397
+ //
5398
+ //
5399
+ //
5400
+ //
5401
+ //
5402
+ //
5403
+ //
5404
+ //
5405
+ //
5406
+ //
5407
+ //
5408
+ //
5409
+ //
5410
+ //
5411
+ //
5412
+ //
5413
+ //
5414
+ //
5415
+ //
5416
+ //
5417
+ //
5418
+ //
5419
+ //
5420
+ //
5421
+ //
5422
+ //
5423
+ //
5424
+ //
5425
+
5426
+
5427
+
5428
+ /* harmony default export */ var ProcessSettingsvue_type_script_lang_js = ({
5429
+ props: {
5430
+ processDefinitionId: {
5431
+ type: String,
5432
+ default: ''
5433
+ },
5434
+ nodeId: {
5435
+ type: String,
5436
+ default: ''
5437
+ },
5438
+ businessId: {
5439
+ type: String,
5440
+ default: ''
5441
+ },
5442
+ taskId: {
5443
+ type: String,
5444
+ default: ''
5445
+ },
5446
+ pendingId: {
5447
+ type: String,
5448
+ default: ''
5449
+ },
5450
+ apiBaseUrl: {
5451
+ type: String,
5452
+ default: ''
5453
+ },
5454
+ paddingTop: {
5455
+ type: Number,
5456
+ default: 0
5457
+ },
5458
+ choiceOrgId: {
5459
+ type: String,
5460
+ default: ''
5461
+ },
5462
+ pOrgId: {
5463
+ type: String,
5464
+ default: ''
5465
+ },
5466
+ choiceDeptId: {
5467
+ type: String,
5468
+ default: ''
5469
+ }
5470
+ },
5471
+ data: function data() {
5472
+ return {
5473
+ name: '',
5474
+ pid: 'root',
5475
+ objType: 'enterprise',
5476
+ selectType: 'employee',
5477
+ active: ['1'],
5478
+ flowList: [],
5479
+ selectList: [],
5480
+ isRadio: true,
5481
+ nodeList: []
5482
+ };
5483
+ },
5484
+
5485
+ watch: {
5486
+ nodeId: {
5487
+ handler: function handler(val) {
5488
+ if (val) {
5489
+ // this.getProList(val);
5490
+ this.getNodeInfo(val);
5491
+ }
5492
+ },
5493
+
5494
+ immediate: true,
5495
+ deep: true
5496
+ }
5497
+ },
5498
+ methods: {
5499
+ getValue: function getValue() {
5500
+ var _this = this;
5501
+
5502
+ var pass = true;
5503
+ var PresetData = [];
5504
+ var newFlowList = this.flowList.filter(function (x) {
5505
+ return x.nodeId;
5506
+ });
5507
+ for (var i = 0; i < newFlowList.length; i++) {
5508
+ if (newFlowList[i].nextUserSelectList.length == 0 && newFlowList[i].showSelectUser) {
5509
+ pass = false;
5510
+ this.$toast('\u8BF7\u9009\u62E9\u8282\u70B9' + (i + 1) + '\u7684\u529E\u7406\u4EBA');
5511
+ return false;
5512
+ }
5513
+ }
5514
+ if (pass) {
5515
+ newFlowList.map(function (x, i) {
5516
+ PresetData.push({
5517
+ name: _typeof(x.nodeId) == 'object' ? x.nodeId.nodeId : x.nodeId,
5518
+ value: x.nextUserSelectList.map(function (y) {
5519
+ return y.showid;
5520
+ }).join(','),
5521
+ lastName: i == 0 ? _this.nodeId : PresetData[i - 1].name,
5522
+ sequence: i + 1 + ''
5523
+ });
5524
+ });
5525
+ }
5526
+ return JSON.stringify(PresetData);
5527
+ },
5528
+
5529
+ // 根据返回的办理人类型来判断 选择人员树的范围
5530
+ changePidObjtype: function changePidObjtype(val, choiceOrgId, choiceDeptId, pOrgId, obj) {
5531
+ if (val === 1 || val === 2) {
5532
+ obj.pid = choiceOrgId || this.orgId;
5533
+ obj.objType = 'enterprise';
5534
+ obj.selectType = 'employee';
5535
+ } else if (val === 3 || val === 4) {
5536
+ obj.pid = 'root';
5537
+ obj.objType = 'employee';
5538
+ } else if (val === 5 || val === 6) {
5539
+ obj.pid = choiceDeptId || this.depId;
5540
+ obj.objType = 'department';
5541
+ } else if (val === 11 || val === 12) {
5542
+ obj.selectType = 'employee';
5543
+ obj.objType = 'enterprise';
5544
+ } else if (val === 13) {
5545
+ obj.pid = choiceDeptId || this.depId;
5546
+ obj.selectType = 'employee';
5547
+ obj.objType = 'department';
5548
+ } else if (val === 14) {
5549
+ obj.pid = pOrgId || this.orgId;
5550
+ obj.selectType = 'employee';
5551
+ } else if (val === 15 || val === 16) {
5552
+ obj.pid = pOrgId || this.orgId;
5553
+ obj.selectType = 'employee';
5554
+ }
5555
+ // userSelectionType 机构内单选人1,机构内多选人2,所有机构单选人3,所有部门多选人4,本部门单选人5,本部门多选人6,本单位单选部门7,本单位多选部门8,单选单位9,多选单位10,单选机构11,多选机构12,本部门角色13,本单位角色14
5556
+ val == 2 || val == 4 || val == 6 || val == 8 || val == 10 || val == 11 || val == 12 ? obj.isRadio = false : obj.isRadio = true; //判断办理人单选多选
5557
+ },
5558
+
5559
+ // 修改默认办理人
5560
+ changeDefPeople: function changeDefPeople(def, all, data) {
5561
+ var _this2 = this;
5562
+
5563
+ data.nextUserSelectList = [];
5564
+ if (def == 1 && all == 1 || def == 0 && all == 1) {
5565
+ var ids = '';
5566
+ data.nextUserList.map(function (r, i) {
5567
+ r.showid = r.userId;
5568
+ r.showname = r.username;
5569
+ _this2.$set(r, 'checked', true);
5570
+ data.nextUserSelectList.push(r);
5571
+ ids += r.userId + (i === data.nextUserList.length - 1 ? '' : ',');
5572
+ });
5573
+ // this.form.nextUserId = ids;
5574
+ } else if (def == 1 && (!all || all == 0) && data.nextUserList.length > 0) {
5575
+ data.nextUserList[0].showid = data.nextUserList[0].userId;
5576
+ data.nextUserList[0].showname = data.nextUserList[0].username;
5577
+ this.$set(data.nextUserList[0], 'checked', true);
5578
+ data.nextUserSelectList.push(data.nextUserList[0]);
5579
+ // this.form.nextUserId = this.nextUserSelectList[0].userId;
5580
+ }
5581
+ },
5582
+ onConfirmNextNode: function onConfirmNextNode(val, i) {
5583
+ this.flowList = this.flowList.splice(0, i + 1);
5584
+ if (val.nodeId == '-2') {
5585
+ this.flowList[i].nextUserList = [];
5586
+ this.flowList[i].nextUserSelectList = [];
5587
+ } else {
5588
+ this.getNodeInfo(val.nodeId, i);
5589
+ }
5590
+ },
5591
+ getNodeInfo: function getNodeInfo(nodeId, i) {
5592
+ var _this3 = this;
5593
+
5594
+ this.$toast.loading({
5595
+ message: '加载中...',
5596
+ forbidClick: true,
5597
+ loadingType: 'spinner',
5598
+ overlay: true,
5599
+ duration: 0
5600
+ });
5601
+ Object(http["a" /* default */])({
5602
+ url: api["h" /* getNodeInfoHtml */],
5603
+ params: {
5604
+ processDefinitionId: this.processDefinitionId,
5605
+ nextNodeId: nodeId,
5606
+ businessId: this.businessId,
5607
+ taskId: this.taskId,
5608
+ pendingId: this.pendingId
5609
+ }
5610
+ }).then(function (res) {
5611
+ if (res.status == 'success') {
5612
+ // this.nodeList = res.data.taskNodeMap;
5613
+ var obj = {};
5614
+ if (i != undefined) {
5615
+ res.data.nextUserList.map(function (res) {
5616
+ res.checked = false;
5617
+ });
5618
+
5619
+ _this3.flowList[i].nextUserList = res.data.nextUserList || [];
5620
+ _this3.flowList[i].nextUserSelectList = res.data.nextUserList || [];
5621
+ _this3.changeDefPeople(res.data.nodeExtAttr.isDefSelectedObj, res.data.nodeExtAttr.isSelectedAllObj, _this3.flowList[i]);
5622
+ _this3.changePidObjtype(res.data.nodeExtAttr.userSelectionType, _this3.choiceOrgId, _this3.choiceDeptId, _this3.pOrgId, _this3.flowList[i]);
5623
+ } else {
5624
+ obj.nextUserList = res.data.nextUserList || [];
5625
+ obj.nextUserSelectList = res.data.nextUserList || [];
5626
+ _this3.changeDefPeople(res.data.nodeExtAttr.isDefSelectedObj, res.data.nodeExtAttr.isSelectedAllObj, obj);
5627
+ _this3.changePidObjtype(res.data.nodeExtAttr.userSelectionType, _this3.choiceOrgId, _this3.choiceDeptId, _this3.pOrgId, obj);
5628
+ }
5629
+ _this3.getProList(nodeId, obj);
5630
+ }
5631
+ });
5632
+ },
5633
+ getProList: function getProList(nodeId, obj) {
5634
+ var _this4 = this;
5635
+
5636
+ Object(http["a" /* default */])({
5637
+ url: api["j" /* getPresetCustomInfo */],
5638
+ params: {
5639
+ processDefinitionId: this.processDefinitionId,
5640
+ nodeId: nodeId,
5641
+ taskAction: 'withExtendData'
5642
+ }
5643
+ }).then(function (res) {
5644
+ _this4.$toast.clear();
5645
+ if (res.status == 'success') {
5646
+ var _extends2;
5647
+
5648
+ var arr = [{ nodeId: '-2', nodeName: '请选择' }];
5649
+ var isEnd = false;
5650
+ if (res.data.taskNodeMap) {
5651
+ for (var i in res.data.taskNodeMap || res.data || {}) {
5652
+ var _obj = {
5653
+ nodeId: i,
5654
+ nodeName: res.data.taskNodeMap[i]
5655
+ };
5656
+ isEnd = i == 'endEvent';
5657
+ arr.push(_obj);
5658
+ }
5659
+ }
5660
+ if (isEnd) {
5661
+ arr = arr.slice(1);
5662
+ }
5663
+ obj = ProcessSettingsvue_type_script_lang_js_extends({}, obj, (_extends2 = {
5664
+ nodeList: arr,
5665
+ nodeId: ''
5666
+ }, _extends2['nodeId'] = isEnd ? arr[0].nodeId : '', _extends2.showSelectUser = !isEnd, _extends2));
5667
+ _this4.flowList.push(obj);
5668
+ }
5669
+ });
5670
+ }
5671
+ }
5672
+ });
5673
+ // CONCATENATED MODULE: ./packages/flow/src/components/ProcessSettings.vue?vue&type=script&lang=js
5674
+ /* harmony default export */ var components_ProcessSettingsvue_type_script_lang_js = (ProcessSettingsvue_type_script_lang_js);
5675
+ // CONCATENATED MODULE: ./packages/flow/src/components/ProcessSettings.vue
5676
+
5677
+
5678
+
5679
+
5680
+
5681
+ /* normalize component */
5682
+
5683
+ var ProcessSettings_component = Object(componentNormalizer["a" /* default */])(
5684
+ components_ProcessSettingsvue_type_script_lang_js,
5685
+ ProcessSettingsvue_type_template_id_50a06dbd_render,
5686
+ ProcessSettingsvue_type_template_id_50a06dbd_staticRenderFns,
5687
+ false,
5688
+ null,
5689
+ null,
5690
+ null
5691
+
5692
+ )
5693
+
5694
+ /* harmony default export */ var ProcessSettings = (ProcessSettings_component.exports);
5182
5695
  // CONCATENATED MODULE: ./packages/flow/src/flowMix.js
5183
5696
 
5184
5697
 
@@ -5198,7 +5711,7 @@ var Reject_component = Object(componentNormalizer["a" /* default */])(
5198
5711
  duration: 0
5199
5712
  });
5200
5713
  Object(http["a" /* default */])({
5201
- url: _that.baseUrl ? _that.baseUrl + api["C" /* toTaskRejectHtml */] : api["C" /* toTaskRejectHtml */],
5714
+ url: _that.baseUrl ? _that.baseUrl + api["D" /* toTaskRejectHtml */] : api["D" /* toTaskRejectHtml */],
5202
5715
  params: {
5203
5716
  appid: this.appid,
5204
5717
  pendingId: this.pendingId,
@@ -5338,7 +5851,7 @@ var Reject_component = Object(componentNormalizer["a" /* default */])(
5338
5851
 
5339
5852
  var _that = this;
5340
5853
  var params = {
5341
- url: _that.baseUrl ? _that.baseUrl + api["l" /* handleTaskRead */] : api["l" /* handleTaskRead */],
5854
+ url: _that.baseUrl ? _that.baseUrl + api["m" /* handleTaskRead */] : api["m" /* handleTaskRead */],
5342
5855
  params: {
5343
5856
  pendingId: this.pendingId,
5344
5857
  businessId: this.businessId,
@@ -5384,7 +5897,7 @@ var Reject_component = Object(componentNormalizer["a" /* default */])(
5384
5897
  ids = ids + r.showid + (i === _this3.nextReadUserSelectList.length - 1 ? '' : ',');
5385
5898
  });
5386
5899
  var params = {
5387
- url: _that.baseUrl ? _that.baseUrl + api["t" /* taskReadHtml */] : api["t" /* taskReadHtml */],
5900
+ url: _that.baseUrl ? _that.baseUrl + api["u" /* taskReadHtml */] : api["u" /* taskReadHtml */],
5388
5901
  params: {
5389
5902
  pendingId: this.pendingId,
5390
5903
  appId: this.appid,
@@ -5423,7 +5936,7 @@ var Reject_component = Object(componentNormalizer["a" /* default */])(
5423
5936
 
5424
5937
  var _that = this;
5425
5938
  Object(http["a" /* default */])({
5426
- url: _that.baseUrl ? _that.baseUrl + api["B" /* toStartTaskReadHtml */] : api["B" /* toStartTaskReadHtml */],
5939
+ url: _that.baseUrl ? _that.baseUrl + api["C" /* toStartTaskReadHtml */] : api["C" /* toStartTaskReadHtml */],
5427
5940
  params: {
5428
5941
  appId: this.appid,
5429
5942
  pendingId: this.pendingId,
@@ -5439,7 +5952,7 @@ var Reject_component = Object(componentNormalizer["a" /* default */])(
5439
5952
  }
5440
5953
  });
5441
5954
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Handle.vue?vue&type=script&lang=js
5442
- var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
5955
+ var Handlevue_type_script_lang_js_typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
5443
5956
 
5444
5957
  var Handlevue_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; };
5445
5958
 
@@ -5900,6 +6413,20 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
5900
6413
  //
5901
6414
  //
5902
6415
  //
6416
+ //
6417
+ //
6418
+ //
6419
+ //
6420
+ //
6421
+ //
6422
+ //
6423
+ //
6424
+ //
6425
+ //
6426
+ //
6427
+ //
6428
+ //
6429
+
5903
6430
 
5904
6431
 
5905
6432
 
@@ -5914,6 +6441,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
5914
6441
  components: {
5915
6442
  Opinion: Opinion,
5916
6443
  Reject: Reject,
6444
+ ProcessSetting: ProcessSettings,
5917
6445
  Message: Message
5918
6446
  },
5919
6447
  mixins: [flowMix],
@@ -6016,7 +6544,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
6016
6544
  advanceNoticeType: [] //催办通知方式
6017
6545
  },
6018
6546
  isCanFenyue: '0'
6019
- }, _ref['isChooseNextNode'] = 1, _ref.isOpinionRequired = 0, _ref.isBanInputOpinion = 0, _ref.showTimeList = false, _ref.timeList = [], _ref.nextUserList = [], _ref.nextCurrentOrgObjSelect = [], _ref.nextOtherOrgObjSelect = [], _ref.nextReadUserSelectList = [], _ref.addSignUserSelectList = [], _ref.removeSignUserSelectList = [], _ref.nextUserSelectList = [], _ref.showAppUser = false, _ref.showNextOperate = false, _ref.showNextNodeList = false, _ref.nodeList = [], _ref.selectList = [], _ref.opinionList = [], _ref.processObj = { taskExamine: { nodeName: undefined } }, _ref.peopleObj = {}, _ref.userInfo = {}, _ref.isCanAddSign = false, _ref.isCanRemoveSign = false, _ref.isSpecial = true, _ref.taskOperations = [], _ref.countersignaturetypeCode = false, _ref.countersignaturetypeText = undefined, _ref.isCustomPreset = true, _ref.isHideCurrentOrg = false, _ref.isHideOtherOrg = false, _ref.isHandleExplain = false, _ref.isTaskread = false, _ref.defaultNotificationType = undefined, _ref.selectUnitType = 'department', _ref.isHiddenNextStepInfo = false, _ref.presetEdit = true, _ref.isLimitedTimeHandling = false, _ref.userSelectionType = undefined, _ref.orgSelectionType = undefined, _ref.notificationType = undefined, _ref.nodeType = undefined, _ref.deptRoleCode = undefined, _ref.orgRoleCode = undefined, _ref.appointNotUserIds = undefined, _ref.handleRoleId = undefined, _ref.nextRole = undefined, _ref.filterCandinateIds = undefined, _ref.selectorDefShowDeptId = undefined, _ref.isRadio = true, _ref.otherOrgName = undefined, _ref.currentOrgName = undefined, _ref.isMainSubProcess = false, _ref.isNextUser = false, _ref.isDealObject = false, _ref.isDealRole = false, _ref.nextUserflag = false, _ref.isSubmitButtonShowAgreeAndDisagree = 0, _ref.isCustomUserClick = false, _ref.timeListLable = undefined, _ref.nodeDefaultSubmitOpinion = undefined, _ref.isCustomUser = 0, _ref.choiceOrgId = '', _ref.choiceDeptId = '', _ref.taskExamineInfo = {}, _ref.nodeInfoMapInfo = {}, _ref.file = '', _ref.isEndUserTask = '', _ref.tagKey = '', _ref.pOrgId = '', _ref.needRetrialAuth = false, _ref;
6547
+ }, _ref['isChooseNextNode'] = 1, _ref.isOpinionRequired = 0, _ref.isBanInputOpinion = 0, _ref.showTimeList = false, _ref.timeList = [], _ref.nextUserList = [], _ref.nextCurrentOrgObjSelect = [], _ref.nextOtherOrgObjSelect = [], _ref.nextReadUserSelectList = [], _ref.addSignUserSelectList = [], _ref.removeSignUserSelectList = [], _ref.nextUserSelectList = [], _ref.showAppUser = false, _ref.showNextOperate = false, _ref.showNextNodeList = false, _ref.nodeList = [], _ref.selectList = [], _ref.opinionList = [], _ref.processObj = { taskExamine: { nodeName: undefined } }, _ref.peopleObj = {}, _ref.userInfo = {}, _ref.isCanAddSign = false, _ref.isCanRemoveSign = false, _ref.isSpecial = true, _ref.taskOperations = [], _ref.countersignaturetypeCode = false, _ref.countersignaturetypeText = undefined, _ref.isCustomPreset = false, _ref.isHideCurrentOrg = false, _ref.isHideOtherOrg = false, _ref.isHandleExplain = false, _ref.isTaskread = false, _ref.defaultNotificationType = undefined, _ref.selectUnitType = 'department', _ref.isHiddenNextStepInfo = false, _ref.presetEdit = true, _ref.isLimitedTimeHandling = false, _ref.userSelectionType = undefined, _ref.orgSelectionType = undefined, _ref.notificationType = undefined, _ref.nodeType = undefined, _ref.deptRoleCode = undefined, _ref.orgRoleCode = undefined, _ref.appointNotUserIds = undefined, _ref.handleRoleId = undefined, _ref.nextRole = undefined, _ref.filterCandinateIds = undefined, _ref.selectorDefShowDeptId = undefined, _ref.isRadio = true, _ref.otherOrgName = undefined, _ref.currentOrgName = undefined, _ref.isMainSubProcess = false, _ref.isNextUser = false, _ref.isDealObject = false, _ref.isDealRole = false, _ref.nextUserflag = false, _ref.isSubmitButtonShowAgreeAndDisagree = 0, _ref.isCustomUserClick = false, _ref.timeListLable = undefined, _ref.nodeDefaultSubmitOpinion = undefined, _ref.isCustomUser = 0, _ref.choiceOrgId = '', _ref.choiceDeptId = '', _ref.taskExamineInfo = {}, _ref.nodeInfoMapInfo = {}, _ref.file = '', _ref.isEndUserTask = '', _ref.tagKey = '', _ref.pOrgId = '', _ref.needRetrialAuth = false, _ref;
6020
6548
  },
6021
6549
  created: function created() {
6022
6550
  var _this2 = this;
@@ -6141,7 +6669,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
6141
6669
  duration: 0
6142
6670
  });
6143
6671
  Object(http["a" /* default */])({
6144
- url: this.baseUrl ? this.baseUrl + api["t" /* taskReadHtml */] : api["t" /* taskReadHtml */],
6672
+ url: this.baseUrl ? this.baseUrl + api["u" /* taskReadHtml */] : api["u" /* taskReadHtml */],
6145
6673
  headers: {
6146
6674
  Accept: 'application/json,text/plain'
6147
6675
  },
@@ -6241,9 +6769,21 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
6241
6769
  this.beforeSubmit(Handlevue_type_script_lang_js_extends({ pendingId: this.pendingId }, this.form));
6242
6770
  return;
6243
6771
  }
6244
- if (this.isMainSubProcess && _typeof(this.form.mainSubId) == 'object') {
6772
+ if (this.isMainSubProcess && Handlevue_type_script_lang_js_typeof(this.form.mainSubId) == 'object') {
6245
6773
  this.form.mainSubId = this.form.mainSubId.value;
6246
6774
  }
6775
+ if (this.isCustomPreset) {
6776
+ if (this.$refs.processSetting.active.length != 0) {
6777
+ if (!this.$refs.processSetting.getValue()) return;
6778
+ this.form.customPresetUserJson = this.$refs.processSetting.getValue();
6779
+ this.form.isCustomPreset = true;
6780
+ this.form.presetUserJson = JSON.stringify([]);
6781
+ } else {
6782
+ delete this.form.customPresetUserJson;
6783
+ delete this.form.isCustomPreset;
6784
+ delete this.form.presetUserJson;
6785
+ }
6786
+ }
6247
6787
  this.$toast.loading({
6248
6788
  message: '加载中...',
6249
6789
  forbidClick: true,
@@ -6288,7 +6828,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
6288
6828
  }
6289
6829
  }
6290
6830
  Object(http["a" /* default */])({
6291
- url: _that.baseUrl ? _that.baseUrl + (_that.form.isImageOpinion == 1 ? api["s" /* taskHandleHtmlImg */] : api["r" /* taskHandleHtml */]) : _that.form.isImageOpinion == 1 ? api["s" /* taskHandleHtmlImg */] : api["r" /* taskHandleHtml */],
6831
+ url: _that.baseUrl ? _that.baseUrl + (_that.form.isImageOpinion == 1 ? api["t" /* taskHandleHtmlImg */] : api["s" /* taskHandleHtml */]) : _that.form.isImageOpinion == 1 ? api["t" /* taskHandleHtmlImg */] : api["s" /* taskHandleHtml */],
6292
6832
  type: 'post',
6293
6833
  params: formData,
6294
6834
  format: false
@@ -6696,7 +7236,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
6696
7236
  var _this5 = this;
6697
7237
 
6698
7238
  Object(http["a" /* default */])({
6699
- url: this.baseUrl ? this.baseUrl + api["B" /* toStartTaskReadHtml */] : api["B" /* toStartTaskReadHtml */],
7239
+ url: this.baseUrl ? this.baseUrl + api["C" /* toStartTaskReadHtml */] : api["C" /* toStartTaskReadHtml */],
6700
7240
  params: { pendingId: this.pendingId, userId: this.userId }
6701
7241
  }).then(function (res) {
6702
7242
  var status = res.status,
@@ -6882,8 +7422,8 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
6882
7422
 
6883
7423
  var Handle_component = Object(componentNormalizer["a" /* default */])(
6884
7424
  components_Handlevue_type_script_lang_js,
6885
- Handlevue_type_template_id_21e4c619_render,
6886
- Handlevue_type_template_id_21e4c619_staticRenderFns,
7425
+ Handlevue_type_template_id_548395aa_render,
7426
+ Handlevue_type_template_id_548395aa_staticRenderFns,
6887
7427
  false,
6888
7428
  null,
6889
7429
  null,
@@ -7333,7 +7873,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
7333
7873
  pendingId = this.pendingId;
7334
7874
 
7335
7875
  var params = {
7336
- url: api["x" /* taskTransfer */],
7876
+ url: api["y" /* taskTransfer */],
7337
7877
  params: {
7338
7878
  choiceDeptId: choiceDeptId,
7339
7879
  choiceOrgId: choiceOrgId,
@@ -7428,7 +7968,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
7428
7968
  taskExamine = this.taskExamine;
7429
7969
 
7430
7970
  var params = {
7431
- url: this.baseUrl ? this.baseUrl + api["F" /* toTaskTransferIndex */] : api["F" /* toTaskTransferIndex */],
7971
+ url: this.baseUrl ? this.baseUrl + api["G" /* toTaskTransferIndex */] : api["G" /* toTaskTransferIndex */],
7432
7972
  params: {
7433
7973
  opinion: opinion,
7434
7974
  pendingId: pendingId,
@@ -7536,7 +8076,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
7536
8076
  if (_that.newType != 'taskReadAndEnd') delete params.taskAction;
7537
8077
 
7538
8078
  Object(http["a" /* default */])({
7539
- url: _that.baseUrl ? _that.baseUrl + api["B" /* toStartTaskReadHtml */] : api["B" /* toStartTaskReadHtml */],
8079
+ url: _that.baseUrl ? _that.baseUrl + api["C" /* toStartTaskReadHtml */] : api["C" /* toStartTaskReadHtml */],
7540
8080
  params: params
7541
8081
  }).then(function (res) {
7542
8082
  _that.$toast.clear();
@@ -7584,7 +8124,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
7584
8124
 
7585
8125
  var _that = this;
7586
8126
  var params = {
7587
- url: _that.apiBaseUrl ? _that.apiBaseUrl + api["l" /* handleTaskRead */] : api["l" /* handleTaskRead */],
8127
+ url: _that.apiBaseUrl ? _that.apiBaseUrl + api["m" /* handleTaskRead */] : api["m" /* handleTaskRead */],
7588
8128
  params: {
7589
8129
  pendingId: this.pendingId,
7590
8130
  businessId: this.businessId,
@@ -7672,7 +8212,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
7672
8212
  processDefinitionId = _taskExamine2.processDefinitionId;
7673
8213
 
7674
8214
  var params = {
7675
- url: _that.baseUrl ? _that.baseUrl + api["t" /* taskReadHtml */] : api["t" /* taskReadHtml */],
8215
+ url: _that.baseUrl ? _that.baseUrl + api["u" /* taskReadHtml */] : api["u" /* taskReadHtml */],
7676
8216
  type: 'post',
7677
8217
  params: TaskReadvue_type_script_lang_js_extends({}, this.form, {
7678
8218
  pendingId: this.pendingId,
@@ -8102,7 +8642,7 @@ taskUnionExaminevue_type_template_id_0caaa8c0_render._withStripped = true
8102
8642
  var _this = this;
8103
8643
 
8104
8644
  var params = {
8105
- url: api["n" /* isCanStartSubFlow */],
8645
+ url: api["o" /* isCanStartSubFlow */],
8106
8646
  params: {
8107
8647
  appId: this.appId,
8108
8648
  inevitableNode: this.inevitableNode,
@@ -8223,7 +8763,7 @@ taskUnionExaminevue_type_template_id_0caaa8c0_render._withStripped = true
8223
8763
  var _this5 = this;
8224
8764
 
8225
8765
  var params = {
8226
- url: this.type == 'takeAdvice' ? api["E" /* toTaskTakeAdvice */] : this.type === 'startDraf' ? api["D" /* toTaskStartDraft */] : this.type == 'unionSeal' ? api["H" /* toTaskUnionSeal */] : this.type == 'twoOfficesDispatch' ? toTwoOfficesDispatch : api["G" /* toTaskUnionExamine */],
8766
+ url: this.type == 'takeAdvice' ? api["F" /* toTaskTakeAdvice */] : this.type === 'startDraf' ? api["E" /* toTaskStartDraft */] : this.type == 'unionSeal' ? api["I" /* toTaskUnionSeal */] : this.type == 'twoOfficesDispatch' ? toTwoOfficesDispatch : api["H" /* toTaskUnionExamine */],
8227
8767
  params: { pendingId: this.pendingId, userId: this.userId },
8228
8768
  headers: { Accept: 'application/json,text/plain' }
8229
8769
  };
@@ -8370,7 +8910,7 @@ taskUnionExaminevue_type_template_id_0caaa8c0_render._withStripped = true
8370
8910
  // if (this.type != 'startDraf' && this.type != 'unionSeal' && this.type != 'twoOfficesDispatch')
8371
8911
  // return this.$toast('暂未开放,敬请期待!');
8372
8912
  var param = {
8373
- url: this.type === 'startDraf' ? api["v" /* taskStartDraft */] : this.type == 'unionSeal' ? api["z" /* taskUnionSeal */] : this.type === 'twoOfficesDispatch' ? twoOfficesDispatch : this.type == 'takeAdvice' ? api["w" /* taskTakeAdvice */] : api["y" /* taskUnionExamine */],
8913
+ url: this.type === 'startDraf' ? api["w" /* taskStartDraft */] : this.type == 'unionSeal' ? api["A" /* taskUnionSeal */] : this.type === 'twoOfficesDispatch' ? twoOfficesDispatch : this.type == 'takeAdvice' ? api["x" /* taskTakeAdvice */] : api["z" /* taskUnionExamine */],
8374
8914
  params: isImageOpinion == 1 ? formData : info,
8375
8915
  headers: { Accept: 'application/json,text/plain' },
8376
8916
  type: 'post',
@@ -8419,7 +8959,7 @@ taskUnionExaminevue_type_template_id_0caaa8c0_render._withStripped = true
8419
8959
  // duration: 0
8420
8960
  // });
8421
8961
  Object(http["a" /* default */])({
8422
- url: _that.baseUrl ? _that.baseUrl + api["G" /* toTaskUnionExamine */] : api["G" /* toTaskUnionExamine */],
8962
+ url: _that.baseUrl ? _that.baseUrl + api["H" /* toTaskUnionExamine */] : api["H" /* toTaskUnionExamine */],
8423
8963
  params: {
8424
8964
  pendingId: this.pendingId
8425
8965
  }