eoss-mobiles 0.2.97 → 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';
@@ -1673,7 +1674,6 @@ var getNodeInfoHtml = pending + '/task/taskHandle/getNodeInfo.dhtml';
1673
1674
  // export const taskHandleHtml = '/api/mecp/v1/mecpItask/taskHandleHtml.json';
1674
1675
  var taskHandleHtml = pending + '/task/taskHandle/taskHandle.dhtml';
1675
1676
  var taskHandleHtmlImg = pending + '/task/taskHandle/taskHandleWithHandwrittenOpinion.dhtml';
1676
-
1677
1677
  // 发起流程
1678
1678
  // export const registerNew = '/api/v1/mecpItask/registerNew.json';
1679
1679
  var registerNew = '/bpm/v1/mecpItask/registerNew.json';
@@ -1734,6 +1734,8 @@ var toTwoOfficesDispatch = activiti + mecp + '/bpmBackend/toTwoOfficesDispatch';
1734
1734
  var twoOfficesDispatch = activiti + '/task/taskHandle/twoOfficesDispatch.dhtml';
1735
1735
  // 是否允许启动子流程(必经节点)
1736
1736
  var isCanStartSubFlow = activiti + '/task/taskHandle/isCanStartSubFlow.dhtml';
1737
+ // 流程预设获取
1738
+ var getPresetCustomInfo = activiti + '/task/taskHandle/getPresetCustomInfo.dhtml';
1737
1739
  // 流程列表
1738
1740
  var pendedhistoryList = '/api/v1/mecpIpending/pendedhistoryList.json';
1739
1741
  // 获取流程按钮
@@ -2895,8 +2897,8 @@ var component = Object(componentNormalizer["a" /* default */])(
2895
2897
  )
2896
2898
 
2897
2899
  /* harmony default export */ var Opinion = (component.exports);
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/components/Message.vue?vue&type=template&id=434d110c
2899
- 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 () {
2900
2902
  var _vm = this
2901
2903
  var _h = _vm.$createElement
2902
2904
  var _c = _vm._self._c || _h
@@ -2919,8 +2921,7 @@ var Messagevue_type_template_id_434d110c_render = function () {
2919
2921
  _c("em-checkbox-group", {
2920
2922
  attrs: {
2921
2923
  direction: "horizontal",
2922
- sysAppCode: _vm.code,
2923
- baseUrl: _vm.baseUrl,
2924
+ data: _vm.newList,
2924
2925
  disabledValue: _vm.readOnlyNotificationType,
2925
2926
  labelKey: "shortName",
2926
2927
  valueKey: "cciValue",
@@ -2946,7 +2947,7 @@ var Messagevue_type_template_id_434d110c_render = function () {
2946
2947
  _vm.form.notificationType &&
2947
2948
  _vm.form.notificationType.length > 0,
2948
2949
  expression:
2949
- "\n showMsg &&\n form.notificationType &&\n form.notificationType.length > 0\n ",
2950
+ "\n showMsg &&\n form.notificationType &&\n form.notificationType.length > 0\n ",
2950
2951
  },
2951
2952
  ],
2952
2953
  staticClass: "msg",
@@ -2983,11 +2984,11 @@ var Messagevue_type_template_id_434d110c_render = function () {
2983
2984
  1
2984
2985
  )
2985
2986
  }
2986
- var Messagevue_type_template_id_434d110c_staticRenderFns = []
2987
- 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
2988
2989
 
2989
2990
 
2990
- // 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
2991
2992
 
2992
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
2993
2994
  //
@@ -3028,7 +3029,8 @@ Messagevue_type_template_id_434d110c_render._withStripped = true
3028
3029
  //
3029
3030
  //
3030
3031
  //
3031
- //
3032
+
3033
+
3032
3034
 
3033
3035
  /* harmony default export */ var Messagevue_type_script_lang_js = ({
3034
3036
  name: 'Message',
@@ -3045,7 +3047,7 @@ Messagevue_type_template_id_434d110c_render._withStripped = true
3045
3047
  },
3046
3048
  code: {
3047
3049
  type: String,
3048
- default: "notification_type" // 代码表默认参数
3050
+ default: 'notification_type' // 代码表默认参数
3049
3051
  },
3050
3052
  defaultNotificationMsg: String, //通知消息默认值
3051
3053
  defaultNotificationType: {
@@ -3054,7 +3056,7 @@ Messagevue_type_template_id_434d110c_render._withStripped = true
3054
3056
  }, //通知消息默认值
3055
3057
  label: {
3056
3058
  type: String,
3057
- default: "通知方式" // 代码表默认参数
3059
+ default: '通知方式' // 代码表默认参数
3058
3060
  },
3059
3061
  required: {
3060
3062
  type: Boolean,
@@ -3071,6 +3073,9 @@ Messagevue_type_template_id_434d110c_render._withStripped = true
3071
3073
  default: ''
3072
3074
  }
3073
3075
  },
3076
+ mounted: function mounted() {
3077
+ this.getSysCode();
3078
+ },
3074
3079
  data: function data() {
3075
3080
  return {
3076
3081
  form: {
@@ -3095,13 +3100,66 @@ Messagevue_type_template_id_434d110c_render._withStripped = true
3095
3100
  // 监听默认消息类型
3096
3101
  defaultNotificationType: function defaultNotificationType(val) {
3097
3102
  if (val) {
3098
- 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);
3099
3113
  }
3100
3114
  }
3101
3115
  },
3102
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
+ },
3103
3161
  onInput: function onInput() {
3104
- this.$emit("onInputMsg", this.form);
3162
+ this.$emit('onInputMsg', this.form);
3105
3163
  }
3106
3164
  }
3107
3165
  });
@@ -3117,8 +3175,8 @@ Messagevue_type_template_id_434d110c_render._withStripped = true
3117
3175
 
3118
3176
  var Message_component = Object(componentNormalizer["a" /* default */])(
3119
3177
  components_Messagevue_type_script_lang_js,
3120
- Messagevue_type_template_id_434d110c_render,
3121
- Messagevue_type_template_id_434d110c_staticRenderFns,
3178
+ Messagevue_type_template_id_50bf1a6c_render,
3179
+ Messagevue_type_template_id_50bf1a6c_staticRenderFns,
3122
3180
  false,
3123
3181
  null,
3124
3182
  null,
@@ -3453,7 +3511,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
3453
3511
  });
3454
3512
  var _that = this;
3455
3513
  Object(http["a" /* default */])({
3456
- url: _that.apiBaseUrl ? _that.apiBaseUrl + api["p" /* registerNew */] : api["p" /* registerNew */],
3514
+ url: _that.apiBaseUrl ? _that.apiBaseUrl + api["q" /* registerNew */] : api["q" /* registerNew */],
3457
3515
  type: 'get',
3458
3516
  params: { params: info
3459
3517
  // format: false
@@ -3561,7 +3619,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
3561
3619
  var that = this;
3562
3620
  return new Promise(function (resolve, reiect) {
3563
3621
  Object(http["a" /* default */])({
3564
- url: that.apiBaseUrl ? that.apiBaseUrl + api["A" /* toStartFlow */] : api["A" /* toStartFlow */],
3622
+ url: that.apiBaseUrl ? that.apiBaseUrl + api["B" /* toStartFlow */] : api["B" /* toStartFlow */],
3565
3623
  params: {
3566
3624
  params: _extends({}, res, {
3567
3625
  userId: that.userId || util["a" /* default */].getStorage('userId')
@@ -3694,8 +3752,8 @@ var StartFlow_component = Object(componentNormalizer["a" /* default */])(
3694
3752
  )
3695
3753
 
3696
3754
  /* harmony default export */ var StartFlow = (StartFlow_component.exports);
3697
- // 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
3698
- 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 () {
3699
3757
  var _vm = this
3700
3758
  var _h = _vm.$createElement
3701
3759
  var _c = _vm._self._c || _h
@@ -4664,6 +4722,27 @@ var Handlevue_type_template_id_21e4c619_render = function () {
4664
4722
  ],
4665
4723
  1
4666
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(),
4667
4746
  _vm.isLimitedTimeHandling
4668
4747
  ? _c(
4669
4748
  "div",
@@ -4780,11 +4859,11 @@ var Handlevue_type_template_id_21e4c619_render = function () {
4780
4859
  1
4781
4860
  )
4782
4861
  }
4783
- var Handlevue_type_template_id_21e4c619_staticRenderFns = []
4784
- 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
4785
4864
 
4786
4865
 
4787
- // 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
4788
4867
 
4789
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
4790
4869
  var Rejectvue_type_template_id_4fdaf365_render = function () {
@@ -5067,7 +5146,7 @@ var Rejectvue_type_script_lang_js_extends = Object.assign || function (target) {
5067
5146
  });
5068
5147
  var _that = this;
5069
5148
  Object(http["a" /* default */])({
5070
- url: _that.baseUrl ? _that.baseUrl + api["u" /* taskRejectHtml */] : api["u" /* taskRejectHtml */],
5149
+ url: _that.baseUrl ? _that.baseUrl + api["v" /* taskRejectHtml */] : api["v" /* taskRejectHtml */],
5071
5150
  type: 'post',
5072
5151
  params: this.form.isImageOpinion == 1 ? formData : this.form,
5073
5152
  format: false
@@ -5100,7 +5179,7 @@ var Rejectvue_type_script_lang_js_extends = Object.assign || function (target) {
5100
5179
  duration: 0
5101
5180
  });
5102
5181
  Object(http["a" /* default */])({
5103
- url: _that.baseUrl ? _that.baseUrl + api["C" /* toTaskRejectHtml */] : api["C" /* toTaskRejectHtml */],
5182
+ url: _that.baseUrl ? _that.baseUrl + api["D" /* toTaskRejectHtml */] : api["D" /* toTaskRejectHtml */],
5104
5183
  params: {
5105
5184
  pendingId: this.pendingId,
5106
5185
  isSinglePage: false,
@@ -5180,6 +5259,439 @@ var Reject_component = Object(componentNormalizer["a" /* default */])(
5180
5259
  )
5181
5260
 
5182
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);
5183
5695
  // CONCATENATED MODULE: ./packages/flow/src/flowMix.js
5184
5696
 
5185
5697
 
@@ -5199,7 +5711,7 @@ var Reject_component = Object(componentNormalizer["a" /* default */])(
5199
5711
  duration: 0
5200
5712
  });
5201
5713
  Object(http["a" /* default */])({
5202
- url: _that.baseUrl ? _that.baseUrl + api["C" /* toTaskRejectHtml */] : api["C" /* toTaskRejectHtml */],
5714
+ url: _that.baseUrl ? _that.baseUrl + api["D" /* toTaskRejectHtml */] : api["D" /* toTaskRejectHtml */],
5203
5715
  params: {
5204
5716
  appid: this.appid,
5205
5717
  pendingId: this.pendingId,
@@ -5339,7 +5851,7 @@ var Reject_component = Object(componentNormalizer["a" /* default */])(
5339
5851
 
5340
5852
  var _that = this;
5341
5853
  var params = {
5342
- url: _that.baseUrl ? _that.baseUrl + api["l" /* handleTaskRead */] : api["l" /* handleTaskRead */],
5854
+ url: _that.baseUrl ? _that.baseUrl + api["m" /* handleTaskRead */] : api["m" /* handleTaskRead */],
5343
5855
  params: {
5344
5856
  pendingId: this.pendingId,
5345
5857
  businessId: this.businessId,
@@ -5385,7 +5897,7 @@ var Reject_component = Object(componentNormalizer["a" /* default */])(
5385
5897
  ids = ids + r.showid + (i === _this3.nextReadUserSelectList.length - 1 ? '' : ',');
5386
5898
  });
5387
5899
  var params = {
5388
- url: _that.baseUrl ? _that.baseUrl + api["t" /* taskReadHtml */] : api["t" /* taskReadHtml */],
5900
+ url: _that.baseUrl ? _that.baseUrl + api["u" /* taskReadHtml */] : api["u" /* taskReadHtml */],
5389
5901
  params: {
5390
5902
  pendingId: this.pendingId,
5391
5903
  appId: this.appid,
@@ -5424,7 +5936,7 @@ var Reject_component = Object(componentNormalizer["a" /* default */])(
5424
5936
 
5425
5937
  var _that = this;
5426
5938
  Object(http["a" /* default */])({
5427
- url: _that.baseUrl ? _that.baseUrl + api["B" /* toStartTaskReadHtml */] : api["B" /* toStartTaskReadHtml */],
5939
+ url: _that.baseUrl ? _that.baseUrl + api["C" /* toStartTaskReadHtml */] : api["C" /* toStartTaskReadHtml */],
5428
5940
  params: {
5429
5941
  appId: this.appid,
5430
5942
  pendingId: this.pendingId,
@@ -5440,7 +5952,7 @@ var Reject_component = Object(componentNormalizer["a" /* default */])(
5440
5952
  }
5441
5953
  });
5442
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
5443
- 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; };
5444
5956
 
5445
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; };
5446
5958
 
@@ -5901,6 +6413,20 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
5901
6413
  //
5902
6414
  //
5903
6415
  //
6416
+ //
6417
+ //
6418
+ //
6419
+ //
6420
+ //
6421
+ //
6422
+ //
6423
+ //
6424
+ //
6425
+ //
6426
+ //
6427
+ //
6428
+ //
6429
+
5904
6430
 
5905
6431
 
5906
6432
 
@@ -5915,6 +6441,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
5915
6441
  components: {
5916
6442
  Opinion: Opinion,
5917
6443
  Reject: Reject,
6444
+ ProcessSetting: ProcessSettings,
5918
6445
  Message: Message
5919
6446
  },
5920
6447
  mixins: [flowMix],
@@ -6017,7 +6544,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
6017
6544
  advanceNoticeType: [] //催办通知方式
6018
6545
  },
6019
6546
  isCanFenyue: '0'
6020
- }, _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;
6021
6548
  },
6022
6549
  created: function created() {
6023
6550
  var _this2 = this;
@@ -6142,7 +6669,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
6142
6669
  duration: 0
6143
6670
  });
6144
6671
  Object(http["a" /* default */])({
6145
- url: this.baseUrl ? this.baseUrl + api["t" /* taskReadHtml */] : api["t" /* taskReadHtml */],
6672
+ url: this.baseUrl ? this.baseUrl + api["u" /* taskReadHtml */] : api["u" /* taskReadHtml */],
6146
6673
  headers: {
6147
6674
  Accept: 'application/json,text/plain'
6148
6675
  },
@@ -6242,9 +6769,21 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
6242
6769
  this.beforeSubmit(Handlevue_type_script_lang_js_extends({ pendingId: this.pendingId }, this.form));
6243
6770
  return;
6244
6771
  }
6245
- if (this.isMainSubProcess && _typeof(this.form.mainSubId) == 'object') {
6772
+ if (this.isMainSubProcess && Handlevue_type_script_lang_js_typeof(this.form.mainSubId) == 'object') {
6246
6773
  this.form.mainSubId = this.form.mainSubId.value;
6247
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
+ }
6248
6787
  this.$toast.loading({
6249
6788
  message: '加载中...',
6250
6789
  forbidClick: true,
@@ -6289,7 +6828,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
6289
6828
  }
6290
6829
  }
6291
6830
  Object(http["a" /* default */])({
6292
- 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 */],
6293
6832
  type: 'post',
6294
6833
  params: formData,
6295
6834
  format: false
@@ -6697,7 +7236,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
6697
7236
  var _this5 = this;
6698
7237
 
6699
7238
  Object(http["a" /* default */])({
6700
- url: this.baseUrl ? this.baseUrl + api["B" /* toStartTaskReadHtml */] : api["B" /* toStartTaskReadHtml */],
7239
+ url: this.baseUrl ? this.baseUrl + api["C" /* toStartTaskReadHtml */] : api["C" /* toStartTaskReadHtml */],
6701
7240
  params: { pendingId: this.pendingId, userId: this.userId }
6702
7241
  }).then(function (res) {
6703
7242
  var status = res.status,
@@ -6883,8 +7422,8 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
6883
7422
 
6884
7423
  var Handle_component = Object(componentNormalizer["a" /* default */])(
6885
7424
  components_Handlevue_type_script_lang_js,
6886
- Handlevue_type_template_id_21e4c619_render,
6887
- Handlevue_type_template_id_21e4c619_staticRenderFns,
7425
+ Handlevue_type_template_id_548395aa_render,
7426
+ Handlevue_type_template_id_548395aa_staticRenderFns,
6888
7427
  false,
6889
7428
  null,
6890
7429
  null,
@@ -6893,8 +7432,8 @@ var Handle_component = Object(componentNormalizer["a" /* default */])(
6893
7432
  )
6894
7433
 
6895
7434
  /* harmony default export */ var Handle = (Handle_component.exports);
6896
- // 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/TaskRead.vue?vue&type=template&id=5194ed24
6897
- var TaskReadvue_type_template_id_5194ed24_render = function () {
7435
+ // 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/TaskRead.vue?vue&type=template&id=161443d3
7436
+ var TaskReadvue_type_template_id_161443d3_render = function () {
6898
7437
  var _vm = this
6899
7438
  var _h = _vm.$createElement
6900
7439
  var _c = _vm._self._c || _h
@@ -7095,11 +7634,11 @@ var TaskReadvue_type_template_id_5194ed24_render = function () {
7095
7634
  ]),
7096
7635
  ])
7097
7636
  }
7098
- var TaskReadvue_type_template_id_5194ed24_staticRenderFns = []
7099
- TaskReadvue_type_template_id_5194ed24_render._withStripped = true
7637
+ var TaskReadvue_type_template_id_161443d3_staticRenderFns = []
7638
+ TaskReadvue_type_template_id_161443d3_render._withStripped = true
7100
7639
 
7101
7640
 
7102
- // CONCATENATED MODULE: ./packages/flow/src/components/TaskRead.vue?vue&type=template&id=5194ed24
7641
+ // CONCATENATED MODULE: ./packages/flow/src/components/TaskRead.vue?vue&type=template&id=161443d3
7103
7642
 
7104
7643
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/TaskRead.vue?vue&type=script&lang=js
7105
7644
  var TaskReadvue_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; };
@@ -7334,7 +7873,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
7334
7873
  pendingId = this.pendingId;
7335
7874
 
7336
7875
  var params = {
7337
- url: api["x" /* taskTransfer */],
7876
+ url: api["y" /* taskTransfer */],
7338
7877
  params: {
7339
7878
  choiceDeptId: choiceDeptId,
7340
7879
  choiceOrgId: choiceOrgId,
@@ -7392,7 +7931,6 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
7392
7931
  message = res.message,
7393
7932
  data = res.data;
7394
7933
 
7395
- _this3.loading = false;
7396
7934
  if (status === 'success') {
7397
7935
  _this3.form.notificationMsgType = message.split(',');
7398
7936
  _this3.defaultNotificationType = message.split(',');
@@ -7417,7 +7955,6 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
7417
7955
  // this.getProcessObjNew();
7418
7956
  }
7419
7957
  }).catch(function (err) {
7420
- _this3.loading = false;
7421
7958
  if (err.message && err.message !== 'canceled') {
7422
7959
  _this3.$message.error(err.message);
7423
7960
  }
@@ -7431,7 +7968,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
7431
7968
  taskExamine = this.taskExamine;
7432
7969
 
7433
7970
  var params = {
7434
- url: this.baseUrl ? this.baseUrl + api["F" /* toTaskTransferIndex */] : api["F" /* toTaskTransferIndex */],
7971
+ url: this.baseUrl ? this.baseUrl + api["G" /* toTaskTransferIndex */] : api["G" /* toTaskTransferIndex */],
7435
7972
  params: {
7436
7973
  opinion: opinion,
7437
7974
  pendingId: pendingId,
@@ -7464,7 +8001,6 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
7464
8001
  }, 1000);
7465
8002
  }
7466
8003
  }).catch(function (err) {
7467
- _this4.loading = false;
7468
8004
  if (err.message && err.message !== 'canceled') {
7469
8005
  _this4.$toast(err.message);
7470
8006
  }
@@ -7540,7 +8076,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
7540
8076
  if (_that.newType != 'taskReadAndEnd') delete params.taskAction;
7541
8077
 
7542
8078
  Object(http["a" /* default */])({
7543
- url: _that.baseUrl ? _that.baseUrl + api["B" /* toStartTaskReadHtml */] : api["B" /* toStartTaskReadHtml */],
8079
+ url: _that.baseUrl ? _that.baseUrl + api["C" /* toStartTaskReadHtml */] : api["C" /* toStartTaskReadHtml */],
7544
8080
  params: params
7545
8081
  }).then(function (res) {
7546
8082
  _that.$toast.clear();
@@ -7588,7 +8124,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
7588
8124
 
7589
8125
  var _that = this;
7590
8126
  var params = {
7591
- url: _that.apiBaseUrl ? _that.apiBaseUrl + api["l" /* handleTaskRead */] : api["l" /* handleTaskRead */],
8127
+ url: _that.apiBaseUrl ? _that.apiBaseUrl + api["m" /* handleTaskRead */] : api["m" /* handleTaskRead */],
7592
8128
  params: {
7593
8129
  pendingId: this.pendingId,
7594
8130
  businessId: this.businessId,
@@ -7676,7 +8212,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
7676
8212
  processDefinitionId = _taskExamine2.processDefinitionId;
7677
8213
 
7678
8214
  var params = {
7679
- url: _that.baseUrl ? _that.baseUrl + api["t" /* taskReadHtml */] : api["t" /* taskReadHtml */],
8215
+ url: _that.baseUrl ? _that.baseUrl + api["u" /* taskReadHtml */] : api["u" /* taskReadHtml */],
7680
8216
  type: 'post',
7681
8217
  params: TaskReadvue_type_script_lang_js_extends({}, this.form, {
7682
8218
  pendingId: this.pendingId,
@@ -7738,8 +8274,8 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
7738
8274
 
7739
8275
  var TaskRead_component = Object(componentNormalizer["a" /* default */])(
7740
8276
  components_TaskReadvue_type_script_lang_js,
7741
- TaskReadvue_type_template_id_5194ed24_render,
7742
- TaskReadvue_type_template_id_5194ed24_staticRenderFns,
8277
+ TaskReadvue_type_template_id_161443d3_render,
8278
+ TaskReadvue_type_template_id_161443d3_staticRenderFns,
7743
8279
  false,
7744
8280
  null,
7745
8281
  null,
@@ -8106,7 +8642,7 @@ taskUnionExaminevue_type_template_id_0caaa8c0_render._withStripped = true
8106
8642
  var _this = this;
8107
8643
 
8108
8644
  var params = {
8109
- url: api["n" /* isCanStartSubFlow */],
8645
+ url: api["o" /* isCanStartSubFlow */],
8110
8646
  params: {
8111
8647
  appId: this.appId,
8112
8648
  inevitableNode: this.inevitableNode,
@@ -8227,7 +8763,7 @@ taskUnionExaminevue_type_template_id_0caaa8c0_render._withStripped = true
8227
8763
  var _this5 = this;
8228
8764
 
8229
8765
  var params = {
8230
- 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 */],
8231
8767
  params: { pendingId: this.pendingId, userId: this.userId },
8232
8768
  headers: { Accept: 'application/json,text/plain' }
8233
8769
  };
@@ -8374,7 +8910,7 @@ taskUnionExaminevue_type_template_id_0caaa8c0_render._withStripped = true
8374
8910
  // if (this.type != 'startDraf' && this.type != 'unionSeal' && this.type != 'twoOfficesDispatch')
8375
8911
  // return this.$toast('暂未开放,敬请期待!');
8376
8912
  var param = {
8377
- 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 */],
8378
8914
  params: isImageOpinion == 1 ? formData : info,
8379
8915
  headers: { Accept: 'application/json,text/plain' },
8380
8916
  type: 'post',
@@ -8423,7 +8959,7 @@ taskUnionExaminevue_type_template_id_0caaa8c0_render._withStripped = true
8423
8959
  // duration: 0
8424
8960
  // });
8425
8961
  Object(http["a" /* default */])({
8426
- url: _that.baseUrl ? _that.baseUrl + api["G" /* toTaskUnionExamine */] : api["G" /* toTaskUnionExamine */],
8962
+ url: _that.baseUrl ? _that.baseUrl + api["H" /* toTaskUnionExamine */] : api["H" /* toTaskUnionExamine */],
8427
8963
  params: {
8428
8964
  pendingId: this.pendingId
8429
8965
  }