eoss-ui 0.8.11 → 0.8.13

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.
@@ -28417,8 +28417,8 @@ form_src_main.install = function (Vue) {
28417
28417
  };
28418
28418
 
28419
28419
  /* harmony default export */ var packages_form = (form_src_main);
28420
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=70db76e0&
28421
- var mainvue_type_template_id_70db76e0_render = function () {
28420
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=8f765236&
28421
+ var mainvue_type_template_id_8f765236_render = function () {
28422
28422
  var _vm = this
28423
28423
  var _h = _vm.$createElement
28424
28424
  var _c = _vm._self._c || _h
@@ -28548,104 +28548,121 @@ var mainvue_type_template_id_70db76e0_render = function () {
28548
28548
  (_vm.formLabelPosition == "left"
28549
28549
  ? "form-left"
28550
28550
  : "form-right"),
28551
+ style: { flex: _vm.fullFlow ? "1" : "unset" },
28551
28552
  },
28552
28553
  [
28553
- _c(
28554
- "el-form",
28555
- {
28556
- ref: "form",
28557
- attrs: {
28558
- model: _vm.circulateForm,
28559
- "label-width": "120px",
28560
- "label-position": _vm.formLabelPosition,
28561
- },
28562
- },
28563
- [
28564
- _c(
28565
- "el-form-item",
28554
+ _vm.showCirculate
28555
+ ? _c(
28556
+ "el-form",
28566
28557
  {
28567
- staticStyle: { "margin-top": "20px" },
28568
- attrs: { prop: "nextNodeId", label: "下步节点" },
28558
+ ref: "form",
28559
+ attrs: {
28560
+ model: _vm.circulateForm,
28561
+ "label-width": "120px",
28562
+ "label-position": _vm.formLabelPosition,
28563
+ },
28569
28564
  },
28570
28565
  [
28571
- _vm.nextNodeCheckType == "select"
28572
- ? _c(
28573
- "el-select",
28574
- {
28575
- staticStyle: { width: "100% !important" },
28576
- attrs: { placeholder: "请选择下步节点" },
28577
- model: {
28578
- value: _vm.circulateForm.nextNodeId,
28579
- callback: function ($$v) {
28580
- _vm.$set(
28581
- _vm.circulateForm,
28582
- "nextNodeId",
28583
- $$v
28584
- )
28566
+ _c(
28567
+ "el-form-item",
28568
+ {
28569
+ staticStyle: { "margin-top": "20px" },
28570
+ attrs: {
28571
+ prop: "nextNodeId",
28572
+ label: "下步节点",
28573
+ },
28574
+ },
28575
+ [
28576
+ _vm.nextNodeCheckType == "select"
28577
+ ? _c(
28578
+ "el-select",
28579
+ {
28580
+ staticStyle: {
28581
+ width: "100% !important",
28582
+ },
28583
+ attrs: {
28584
+ placeholder: "请选择下步节点",
28585
+ },
28586
+ model: {
28587
+ value: _vm.circulateForm.nextNodeId,
28588
+ callback: function ($$v) {
28589
+ _vm.$set(
28590
+ _vm.circulateForm,
28591
+ "nextNodeId",
28592
+ $$v
28593
+ )
28594
+ },
28595
+ expression:
28596
+ "circulateForm.nextNodeId",
28597
+ },
28585
28598
  },
28586
- expression: "circulateForm.nextNodeId",
28587
- },
28588
- },
28589
- [
28590
- _c("el-option", {
28591
- attrs: { label: "传阅", value: "111" },
28592
- }),
28593
- ],
28594
- 1
28595
- )
28596
- : _vm.nextNodeCheckType == "radio"
28597
- ? _c("es-radio-group", {
28598
- attrs: {
28599
- data: [
28600
- { nodeId: "111", nodeName: "传阅" },
28601
- ],
28602
- "value-key": "nodeId",
28603
- "label-key": "nodeName",
28604
- },
28605
- model: {
28606
- value: _vm.circulateForm.nextNodeId,
28607
- callback: function ($$v) {
28608
- _vm.$set(
28609
- _vm.circulateForm,
28610
- "nextNodeId",
28611
- $$v
28612
- )
28613
- },
28614
- expression: "circulateForm.nextNodeId",
28615
- },
28616
- })
28617
- : _vm._e(),
28599
+ [
28600
+ _c("el-option", {
28601
+ attrs: {
28602
+ label: "传阅",
28603
+ value: "111",
28604
+ },
28605
+ }),
28606
+ ],
28607
+ 1
28608
+ )
28609
+ : _vm.nextNodeCheckType == "radio"
28610
+ ? _c("es-radio-group", {
28611
+ attrs: {
28612
+ data: [
28613
+ { nodeId: "111", nodeName: "传阅" },
28614
+ ],
28615
+ "value-key": "nodeId",
28616
+ "label-key": "nodeName",
28617
+ },
28618
+ model: {
28619
+ value: _vm.circulateForm.nextNodeId,
28620
+ callback: function ($$v) {
28621
+ _vm.$set(
28622
+ _vm.circulateForm,
28623
+ "nextNodeId",
28624
+ $$v
28625
+ )
28626
+ },
28627
+ expression:
28628
+ "circulateForm.nextNodeId",
28629
+ },
28630
+ })
28631
+ : _vm._e(),
28632
+ ],
28633
+ 1
28634
+ ),
28618
28635
  ],
28619
28636
  1
28620
- ),
28621
- ],
28622
- 1
28623
- ),
28624
- _c("circulate", {
28625
- ref: "circulate",
28626
- staticStyle: { "margin-top": "10px" },
28627
- attrs: {
28628
- businessId: _vm.businessIds,
28629
- "label-position": _vm.formLabelPosition,
28630
- showTooltip: _vm.showTooltip,
28631
- selectorParams: _vm.selectorParams,
28632
- "pending-id": _vm.pendingId,
28633
- showBtn: false,
28634
- formTitle: _vm.formTitle,
28635
- flowLabelConfig: _vm.flowLabelConfig,
28636
- hideMessage: _vm.hideMessage,
28637
- startFlowPageEmbeddedIntoStartFlowIndex:
28638
- _vm.startFlowPageEmbeddedIntoStartFlowIndex,
28639
- processDefinitionId: _vm.nodeInfo.nextNode,
28640
- simpleTips: _vm.simpleTips,
28641
- oldOption: _vm.value,
28642
- },
28643
- on: {
28644
- cancel: function ($event) {
28645
- _vm.closeProcess($event, "circulateVisible")
28646
- },
28647
- },
28648
- }),
28637
+ )
28638
+ : _vm._e(),
28639
+ _vm.showCirculate
28640
+ ? _c("circulate", {
28641
+ ref: "circulate",
28642
+ staticStyle: { "margin-top": "10px" },
28643
+ attrs: {
28644
+ businessId: _vm.businessIds,
28645
+ "label-position": _vm.formLabelPosition,
28646
+ showTooltip: _vm.showTooltip,
28647
+ selectorParams: _vm.selectorParams,
28648
+ "pending-id": _vm.pendingId,
28649
+ showBtn: false,
28650
+ formTitle: _vm.formTitle,
28651
+ flowLabelConfig: _vm.flowLabelConfig,
28652
+ hideMessage: _vm.hideMessage,
28653
+ startFlowPageEmbeddedIntoStartFlowIndex:
28654
+ _vm.startFlowPageEmbeddedIntoStartFlowIndex,
28655
+ processDefinitionId: _vm.nodeInfo.nextNode,
28656
+ simpleTips: _vm.simpleTips,
28657
+ oldOption: _vm.value,
28658
+ },
28659
+ on: {
28660
+ cancel: function ($event) {
28661
+ _vm.closeProcess($event, "circulateVisible")
28662
+ },
28663
+ },
28664
+ })
28665
+ : _vm._e(),
28649
28666
  ],
28650
28667
  1
28651
28668
  ),
@@ -28744,7 +28761,12 @@ var mainvue_type_template_id_70db76e0_render = function () {
28744
28761
  })
28745
28762
  : _c(
28746
28763
  "div",
28747
- { staticClass: "es-flow-content" },
28764
+ {
28765
+ staticClass: "es-flow-content",
28766
+ style: {
28767
+ "justify-content": _vm.fullFlow ? "space-between" : "unset",
28768
+ },
28769
+ },
28748
28770
  [
28749
28771
  _c(
28750
28772
  "div",
@@ -29002,6 +29024,7 @@ var mainvue_type_template_id_70db76e0_render = function () {
29002
29024
  (_vm.formLabelPosition == "left"
29003
29025
  ? "form-left"
29004
29026
  : "form-right"),
29027
+ style: { flex: _vm.fullFlow ? "1" : "unset" },
29005
29028
  },
29006
29029
  [
29007
29030
  _c(
@@ -29030,11 +29053,7 @@ var mainvue_type_template_id_70db76e0_render = function () {
29030
29053
  prop: "nextNode",
29031
29054
  label: "选择流程",
29032
29055
  rules: [
29033
- {
29034
- required: true,
29035
- message: "请选择流程",
29036
- trigger: "blur",
29037
- },
29056
+ // { required: true, message: `请选择流程`, trigger: 'blur' }
29038
29057
  ],
29039
29058
  },
29040
29059
  },
@@ -31476,11 +31495,11 @@ var mainvue_type_template_id_70db76e0_render = function () {
31476
31495
  )
31477
31496
  : _vm._e()
31478
31497
  }
31479
- var mainvue_type_template_id_70db76e0_staticRenderFns = []
31480
- mainvue_type_template_id_70db76e0_render._withStripped = true
31498
+ var mainvue_type_template_id_8f765236_staticRenderFns = []
31499
+ mainvue_type_template_id_8f765236_render._withStripped = true
31481
31500
 
31482
31501
 
31483
- // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=70db76e0&
31502
+ // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=8f765236&
31484
31503
 
31485
31504
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/CommonOpinions.vue?vue&type=template&id=7b4f1542&
31486
31505
  var CommonOpinionsvue_type_template_id_7b4f1542_render = function () {
@@ -46974,8 +46993,8 @@ var supervise_component = normalizeComponent(
46974
46993
  )
46975
46994
 
46976
46995
  /* harmony default export */ var supervise = (supervise_component.exports);
46977
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/Circulate.vue?vue&type=template&id=535aafac&
46978
- var Circulatevue_type_template_id_535aafac_render = function () {
46996
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/Circulate.vue?vue&type=template&id=6d27b4d0&
46997
+ var Circulatevue_type_template_id_6d27b4d0_render = function () {
46979
46998
  var _vm = this
46980
46999
  var _h = _vm.$createElement
46981
47000
  var _c = _vm._self._c || _h
@@ -47163,11 +47182,11 @@ var Circulatevue_type_template_id_535aafac_render = function () {
47163
47182
  1
47164
47183
  )
47165
47184
  }
47166
- var Circulatevue_type_template_id_535aafac_staticRenderFns = []
47167
- Circulatevue_type_template_id_535aafac_render._withStripped = true
47185
+ var Circulatevue_type_template_id_6d27b4d0_staticRenderFns = []
47186
+ Circulatevue_type_template_id_6d27b4d0_render._withStripped = true
47168
47187
 
47169
47188
 
47170
- // CONCATENATED MODULE: ./packages/flow/src/component/Circulate.vue?vue&type=template&id=535aafac&
47189
+ // CONCATENATED MODULE: ./packages/flow/src/component/Circulate.vue?vue&type=template&id=6d27b4d0&
47171
47190
 
47172
47191
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/Circulate.vue?vue&type=script&lang=js&
47173
47192
  var Circulatevue_type_script_lang_js_components;
@@ -47309,6 +47328,7 @@ var Circulatevue_type_script_lang_js_components;
47309
47328
  nextOtherOrgObj: [],
47310
47329
  nextCurrentOrgObj: [],
47311
47330
  noticeType: [],
47331
+ noticeList: [],
47312
47332
  noticeInfo: '',
47313
47333
  opinion: ''
47314
47334
  },
@@ -47587,8 +47607,8 @@ var Circulatevue_type_script_lang_js_components;
47587
47607
 
47588
47608
  var Circulate_component = normalizeComponent(
47589
47609
  component_Circulatevue_type_script_lang_js_,
47590
- Circulatevue_type_template_id_535aafac_render,
47591
- Circulatevue_type_template_id_535aafac_staticRenderFns,
47610
+ Circulatevue_type_template_id_6d27b4d0_render,
47611
+ Circulatevue_type_template_id_6d27b4d0_staticRenderFns,
47592
47612
  false,
47593
47613
  null,
47594
47614
  null,
@@ -49392,6 +49412,9 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
49392
49412
  //
49393
49413
  //
49394
49414
  //
49415
+ //
49416
+ //
49417
+ //
49395
49418
 
49396
49419
 
49397
49420
 
@@ -49473,6 +49496,14 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
49473
49496
  return {};
49474
49497
  }
49475
49498
  },
49499
+ fullFlow: {
49500
+ type: Boolean,
49501
+ default: true
49502
+ },
49503
+ showReadConfirm: {
49504
+ type: Boolean,
49505
+ default: true
49506
+ },
49476
49507
  width: {
49477
49508
  type: String
49478
49509
  },
@@ -50117,63 +50148,72 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50117
50148
  this.loading.close();
50118
50149
  }
50119
50150
  },
50120
- taskRead: function taskRead() {
50151
+ subRead: function subRead() {
50121
50152
  var _this8 = this;
50122
50153
 
50154
+ this.loading = utils_util.loading(this.$loading, '加载中...');
50155
+ var _taskExamineInfo2 = this.taskExamineInfo,
50156
+ businessId = _taskExamineInfo2.businessId,
50157
+ appId = _taskExamineInfo2.appId,
50158
+ processDefinitionId = _taskExamineInfo2.processDefinitionId,
50159
+ pendingId = _taskExamineInfo2.pendingId;
50160
+
50161
+ var params = {
50162
+ businessId: businessId,
50163
+ appId: appId,
50164
+ processDefinitionId: processDefinitionId,
50165
+ pendingId: pendingId,
50166
+ opinion: this.value,
50167
+ taskAction: 'complete'
50168
+ };
50169
+ utils_util.ajax({
50170
+ url: taskReadHtml,
50171
+ params: { taskAction: 'complete' },
50172
+ headers: {
50173
+ Accept: 'application/json,text/plain'
50174
+ },
50175
+ method: 'post',
50176
+ data: params
50177
+ }).then(function (res) {
50178
+ var status = res.status,
50179
+ message = res.message;
50180
+
50181
+ _this8.loading.close();
50182
+ if (status === 'success') {
50183
+ _this8.flowSuccess();
50184
+ // this.$message.success('提交成功');
50185
+ // this.$emit('success');
50186
+ } else {
50187
+ _this8.$message.error(message || '系统错误,请联系管理员!');
50188
+ _this8.$emit('error');
50189
+ }
50190
+ }).catch(function (err) {
50191
+ _this8.loading.close();
50192
+ if (err.message && err.message !== 'canceled') {
50193
+ _this8.$message.error(err.message);
50194
+ }
50195
+ });
50196
+ },
50197
+ taskRead: function taskRead() {
50198
+ var _this9 = this;
50199
+
50123
50200
  if (this.taskReadOpinionRequired == 'true' && !this.value) {
50124
50201
  if (!this.$refs.commonOpinions.validate()) return;
50125
50202
  }
50126
- this.$confirm('确认提交?', '提示', {
50127
- confirmButtonText: '确定',
50128
- cancelButtonText: '取消',
50129
- type: 'warning'
50130
- }).then(function () {
50131
- _this8.loading = utils_util.loading(_this8.$loading, '加载中...');
50132
- var _taskExamineInfo2 = _this8.taskExamineInfo,
50133
- businessId = _taskExamineInfo2.businessId,
50134
- appId = _taskExamineInfo2.appId,
50135
- processDefinitionId = _taskExamineInfo2.processDefinitionId,
50136
- pendingId = _taskExamineInfo2.pendingId;
50137
-
50138
- var params = {
50139
- businessId: businessId,
50140
- appId: appId,
50141
- processDefinitionId: processDefinitionId,
50142
- pendingId: pendingId,
50143
- opinion: _this8.value,
50144
- taskAction: 'complete'
50145
- };
50146
- utils_util.ajax({
50147
- url: taskReadHtml,
50148
- params: { taskAction: 'complete' },
50149
- headers: {
50150
- Accept: 'application/json,text/plain'
50151
- },
50152
- method: 'post',
50153
- data: params
50154
- }).then(function (res) {
50155
- var status = res.status,
50156
- message = res.message;
50157
-
50158
- _this8.loading.close();
50159
- if (status === 'success') {
50160
- _this8.flowSuccess();
50161
- // this.$message.success('提交成功');
50162
- // this.$emit('success');
50163
- } else {
50164
- _this8.$message.error(message || '系统错误,请联系管理员!');
50165
- _this8.$emit('error');
50166
- }
50167
- }).catch(function (err) {
50168
- _this8.loading.close();
50169
- if (err.message && err.message !== 'canceled') {
50170
- _this8.$message.error(err.message);
50171
- }
50172
- });
50173
- }).catch(function () {});
50203
+ if (this.showReadConfirm) {
50204
+ this.$confirm('确认提交?', '提示', {
50205
+ confirmButtonText: '确定',
50206
+ cancelButtonText: '取消',
50207
+ type: 'warning'
50208
+ }).then(function () {
50209
+ _this9.subRead();
50210
+ }).catch(function () {});
50211
+ } else {
50212
+ this.subRead();
50213
+ }
50174
50214
  },
50175
50215
  validReadTransferHandle: function validReadTransferHandle(readTransferHandleBusinessId, readTransferHandleProcessKey) {
50176
- var _this9 = this;
50216
+ var _this10 = this;
50177
50217
 
50178
50218
  var params = {
50179
50219
  url: checkBusinessIdStartedReadTransferHandle,
@@ -50184,14 +50224,14 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50184
50224
  }
50185
50225
  };
50186
50226
  utils_util.ajax(params).then(function (res) {
50187
- _this9.loading.close();
50227
+ _this10.loading.close();
50188
50228
  if (res.rCode == 0) {
50189
- _this9.readTransferHandleDisabled = !res.results.canReadTransferHandle;
50229
+ _this10.readTransferHandleDisabled = !res.results.canReadTransferHandle;
50190
50230
  }
50191
50231
  });
50192
50232
  },
50193
50233
  getTaskReadFlow: function getTaskReadFlow() {
50194
- var _this10 = this;
50234
+ var _this11 = this;
50195
50235
 
50196
50236
  this.loading = utils_util.loading(this.$loading, '加载中...');
50197
50237
  utils_util.ajax({
@@ -50208,32 +50248,32 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50208
50248
  defaultNotificationMessage = _res$data.defaultNotificationMessage;
50209
50249
 
50210
50250
  if (status === 'success') {
50211
- _this10.taskExamineInfo = taskExamine;
50212
- _this10.nodeName = _this10.nodename || taskExamine.nodeName || '分阅';
50213
- _this10.taskReadOpinionRequired = taskReadOpinionRequired;
50214
- _this10.nextNode.notificationMsg = defaultNotificationMessage;
50215
- _this10.isCanReadTransferHandle = isCanReadTransferHandle;
50216
- _this10.isCanFenyue = isCanFenyue;
50217
- if (_this10.nodeName) {
50218
- _this10.NodeName = _this10.nodeName;
50219
- }
50220
- if (_this10.isCanReadTransferHandle) {
50221
- _this10.validReadTransferHandle(taskExamine.businessId, taskExamine.processDefinitionId);
50222
- }
50223
- _this10.getNodeType();
50251
+ _this11.taskExamineInfo = taskExamine;
50252
+ _this11.nodeName = _this11.nodename || taskExamine.nodeName || '分阅';
50253
+ _this11.taskReadOpinionRequired = taskReadOpinionRequired;
50254
+ _this11.nextNode.notificationMsg = defaultNotificationMessage;
50255
+ _this11.isCanReadTransferHandle = isCanReadTransferHandle;
50256
+ _this11.isCanFenyue = isCanFenyue;
50257
+ if (_this11.nodeName) {
50258
+ _this11.NodeName = _this11.nodeName;
50259
+ }
50260
+ if (_this11.isCanReadTransferHandle) {
50261
+ _this11.validReadTransferHandle(taskExamine.businessId, taskExamine.processDefinitionId);
50262
+ }
50263
+ _this11.getNodeType();
50224
50264
  } else {
50225
- _this10.$message.error(message || '系统错误,请联系管理员!');
50265
+ _this11.$message.error(message || '系统错误,请联系管理员!');
50226
50266
  }
50227
- _this10.loading.close();
50267
+ _this11.loading.close();
50228
50268
  }).catch(function (err) {
50229
- _this10.loading.close();
50269
+ _this11.loading.close();
50230
50270
  if (err.message && err.message !== 'canceled') {
50231
- _this10.$message.error(err.message);
50271
+ _this11.$message.error(err.message);
50232
50272
  }
50233
50273
  });
50234
50274
  },
50235
50275
  getUserInfo: function getUserInfo() {
50236
- var _this11 = this;
50276
+ var _this12 = this;
50237
50277
 
50238
50278
  var mainConfig = utils_util.getStorage('mainConfig');
50239
50279
  if (mainConfig) {
@@ -50244,14 +50284,14 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50244
50284
  data = res.data;
50245
50285
 
50246
50286
  if (status == 'success') {
50247
- _this11.userModel = data;
50287
+ _this12.userModel = data;
50248
50288
  } else {
50249
50289
  var msg = res.msg || '系统错误,请联系管理员!';
50250
- _this11.$message.error(msg);
50290
+ _this12.$message.error(msg);
50251
50291
  }
50252
50292
  }).catch(function (err) {
50253
50293
  if (err.message && err.message !== 'canceled') {
50254
- _this11.$message.error(err.message);
50294
+ _this12.$message.error(err.message);
50255
50295
  }
50256
50296
  });
50257
50297
  }
@@ -50271,7 +50311,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50271
50311
  }
50272
50312
  },
50273
50313
  getNodeType: function getNodeType() {
50274
- var _this12 = this;
50314
+ var _this13 = this;
50275
50315
 
50276
50316
  var params = {
50277
50317
  url: findCodeValues,
@@ -50286,11 +50326,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50286
50326
  data = res.data;
50287
50327
 
50288
50328
  if (status === 'success') {
50289
- _this12.newsList = data;
50329
+ _this13.newsList = data;
50290
50330
  }
50291
50331
  }).catch(function (err) {
50292
50332
  if (err.message && err.message !== 'canceled') {
50293
- _this12.$message.error(err.message);
50333
+ _this13.$message.error(err.message);
50294
50334
  }
50295
50335
  });
50296
50336
  },
@@ -50302,17 +50342,17 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50302
50342
  * @date 2022年9月9日
50303
50343
  **/
50304
50344
  saveInfo: function saveInfo(type, btn) {
50305
- var _this13 = this;
50345
+ var _this14 = this;
50306
50346
 
50307
50347
  if (this.isFlow) {
50308
50348
  if (!type) {
50309
50349
  if (btn && btn.before) {
50310
50350
  btn.before(Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 1).then(function (next) {
50311
- _this13.$emit('save', _this13.businessIds);
50351
+ _this14.$emit('save', _this14.businessIds);
50312
50352
  }).catch(function (e) {});
50313
50353
  } else if (this.beforeSubmit != undefined) {
50314
50354
  this.beforeSubmit(btn && Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 1).then(function (next) {
50315
- _this13.$emit('save', _this13.businessIds);
50355
+ _this14.$emit('save', _this14.businessIds);
50316
50356
  }).catch(function (e) {});
50317
50357
  } else {
50318
50358
  this.$emit('save', this.businessIds);
@@ -50321,13 +50361,13 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50321
50361
  } else {
50322
50362
  if (btn && btn.before && !type) {
50323
50363
  btn.before(Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 2).then(function (next) {
50324
- _this13.saveFlowInfo();
50364
+ _this14.saveFlowInfo();
50325
50365
  }).catch(function (e) {});
50326
50366
  } else if (this.beforeSubmit == undefined && !type) {
50327
50367
  this.subFun(this.saveFlowInfo);
50328
50368
  } else if (!type && this.beforeSubmit != undefined) {
50329
50369
  this.beforeSubmit(btn && Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 2).then(function (next) {
50330
- _this13.saveFlowInfo();
50370
+ _this14.saveFlowInfo();
50331
50371
  }).catch(function (e) {});
50332
50372
  } else {
50333
50373
  this.saveFlowInfo(type);
@@ -50335,7 +50375,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50335
50375
  }
50336
50376
  },
50337
50377
  saveFlowInfo: function saveFlowInfo(isSave) {
50338
- var _this14 = this;
50378
+ var _this15 = this;
50339
50379
 
50340
50380
  var params = {
50341
50381
  opinion: this.value,
@@ -50346,17 +50386,17 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50346
50386
  var status = res.status,
50347
50387
  message = res.message;
50348
50388
 
50349
- if (!isSave) _this14.loading.close();
50389
+ if (!isSave) _this15.loading.close();
50350
50390
  if (status == 'success') {
50351
50391
  // this.$message.success('暂存成功');
50352
- !isSave && _this14.$emit('save', _this14.businessIds);
50392
+ !isSave && _this15.$emit('save', _this15.businessIds);
50353
50393
  } else {
50354
- _this14.$message.error(message || '系统错误,请联系管理员!');
50394
+ _this15.$message.error(message || '系统错误,请联系管理员!');
50355
50395
  }
50356
50396
  }).catch(function (err) {
50357
- if (!isSave) _this14.loading.close();
50397
+ if (!isSave) _this15.loading.close();
50358
50398
  if (err.message && err.message !== 'canceled') {
50359
- _this14.$message.error(err.message);
50399
+ _this15.$message.error(err.message);
50360
50400
  }
50361
50401
  });
50362
50402
  },
@@ -50368,7 +50408,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50368
50408
  * @date 2022年5月25日
50369
50409
  **/
50370
50410
  rejectBtn: function rejectBtn() {
50371
- var _this15 = this;
50411
+ var _this16 = this;
50372
50412
 
50373
50413
  if (this.value === '') this.value = this.nodeDefaultRejectOpinion;
50374
50414
  if (!this.value) {
@@ -50376,7 +50416,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50376
50416
  }
50377
50417
  if (this.beforeSubmit != undefined) {
50378
50418
  this.beforeSubmit(0).then(function (next) {
50379
- _this15.showReject = true;
50419
+ _this16.showReject = true;
50380
50420
  }).catch(function (e) {});
50381
50421
  } else {
50382
50422
  this.showReject = true;
@@ -50390,14 +50430,14 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50390
50430
  * @date 2022年5月25日
50391
50431
  **/
50392
50432
  taskReadBtn: function taskReadBtn() {
50393
- var _this16 = this;
50433
+ var _this17 = this;
50394
50434
 
50395
50435
  // return this.$message.warning('暂未开放!敬请期待');
50396
50436
  if (this.beforeSubmit != undefined) {
50397
50437
  this.beforeSubmit().then(function (next) {
50398
- if (_this16.value === '') _this16.value = _this16.nodeDefaultRejectOpinion;
50399
- _this16.taskReadType = 'create';
50400
- _this16.showTaskRead = true;
50438
+ if (_this17.value === '') _this17.value = _this17.nodeDefaultRejectOpinion;
50439
+ _this17.taskReadType = 'create';
50440
+ _this17.showTaskRead = true;
50401
50441
  }).catch(function (e) {});
50402
50442
  } else {
50403
50443
  if (this.value === '') this.value = this.nodeDefaultRejectOpinion;
@@ -50413,7 +50453,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50413
50453
  * @date 2022年5月25日
50414
50454
  **/
50415
50455
  getFind: function getFind() {
50416
- var _this17 = this;
50456
+ var _this18 = this;
50417
50457
 
50418
50458
  utils_util.ajax({
50419
50459
  url: findSysCodes
@@ -50422,26 +50462,26 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50422
50462
  message = res.message;
50423
50463
 
50424
50464
  if (status === 'success') {
50425
- if (_this17.hideMessage) return;
50426
- _this17.nextNode.notificationType = message.split(',');
50465
+ if (_this18.hideMessage) return;
50466
+ _this18.nextNode.notificationType = message.split(',');
50427
50467
  var arr = [];
50428
- _this17.newsList.map(function (item) {
50429
- _this17.nextNode.notificationType.map(function (x) {
50468
+ _this18.newsList.map(function (item) {
50469
+ _this18.nextNode.notificationType.map(function (x) {
50430
50470
  if (x == item.cciValue) {
50431
50471
  arr.push(x);
50432
50472
  }
50433
50473
  });
50434
50474
  });
50435
- _this17.nextNode.notificationType = arr;
50475
+ _this18.nextNode.notificationType = arr;
50436
50476
  }
50437
50477
  }).catch(function (err) {
50438
50478
  if (err.message && err.message !== 'canceled') {
50439
- _this17.$message.error(err.message);
50479
+ _this18.$message.error(err.message);
50440
50480
  }
50441
50481
  });
50442
50482
  },
50443
50483
  getFreeStartParams: function getFreeStartParams() {
50444
- var _this18 = this;
50484
+ var _this19 = this;
50445
50485
 
50446
50486
  var _endFlowInfo = this.endFlowInfo,
50447
50487
  businessId = _endFlowInfo.businessId,
@@ -50459,20 +50499,20 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50459
50499
  };
50460
50500
  this.loading = utils_util.loading(this.$loading, '加载中...');
50461
50501
  utils_util.ajax(param).then(function (res) {
50462
- _this18.loading.close();
50502
+ _this19.loading.close();
50463
50503
  if (res.rCode == 0 || res.status == 'success') {
50464
- _this18.freeStartFlowParams = res.results;
50465
- if (res.results.useScene === 'multiInsMidwayWithSubmitScene') _this18.subProcess('同意。', res.results.useScene);
50466
- if (!_this18.freeValid) return;
50467
- if (res.results.startFlowIndexProcessKeys && res.results.startFlowIndexProcessKeys.length == 0 || !res.results.startFlowIndexProcessKeys) return _this18.$message.warning('未找到流程定义!');
50504
+ _this19.freeStartFlowParams = res.results;
50505
+ if (res.results.useScene === 'multiInsMidwayWithSubmitScene') _this19.subProcess('同意。', res.results.useScene);
50506
+ if (!_this19.freeValid) return;
50507
+ if (res.results.startFlowIndexProcessKeys && res.results.startFlowIndexProcessKeys.length == 0 || !res.results.startFlowIndexProcessKeys) return _this19.$message.warning('未找到流程定义!');
50468
50508
  if (res.results.startFlowIndexProcessKeys.length == 1) {
50469
- _this18.freeStartFlowNextNode = res.results.startFlowIndexProcessKeys[0];
50470
- _this18.handleVisible = true;
50509
+ _this19.freeStartFlowNextNode = res.results.startFlowIndexProcessKeys[0];
50510
+ _this19.handleVisible = true;
50471
50511
  } else {
50472
- _this18.showFreeStartFlow = true;
50512
+ _this19.showFreeStartFlow = true;
50473
50513
  }
50474
50514
  } else {
50475
- _this18.$message.error(res.message || '系统错误,请联系管理员!');
50515
+ _this19.$message.error(res.message || '系统错误,请联系管理员!');
50476
50516
  }
50477
50517
  });
50478
50518
  },
@@ -50485,53 +50525,53 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50485
50525
  * @date 2022年5月25日
50486
50526
  **/
50487
50527
  endFlows: function endFlows(res) {
50488
- var _this19 = this;
50528
+ var _this20 = this;
50489
50529
 
50490
50530
  if (this.beforeSubmit != undefined) {
50491
50531
  this.beforeSubmit().then(function (next) {
50492
- _this19.saveEndFlows(res);
50532
+ _this20.saveEndFlows(res);
50493
50533
  }).catch(function (e) {});
50494
50534
  } else {
50495
50535
  this.saveEndFlows(res);
50496
50536
  }
50497
50537
  },
50498
50538
  saveEndFlows: function saveEndFlows(res) {
50499
- var _this20 = this;
50539
+ var _this21 = this;
50500
50540
 
50501
50541
  this.$confirm('确认' + res.value + '?').then(function () {
50502
50542
  var params = {
50503
50543
  url: endFlowHtml,
50504
50544
  headers: { Accept: 'application/json,text/plain' },
50505
50545
  method: 'post',
50506
- data: flow_src_mainvue_type_script_lang_js_extends({}, _this20.endFlowInfo, _this20.nextNode, {
50507
- opinion: _this20.value,
50546
+ data: flow_src_mainvue_type_script_lang_js_extends({}, _this21.endFlowInfo, _this21.nextNode, {
50547
+ opinion: _this21.value,
50508
50548
  userId: utils_util.getStorage('userId'),
50509
- nextUserId: _this20.multiple ? _this20.nextNode.nextUserId.join(',') : _this20.nextNode.nextUserId,
50510
- addSignUserId: _this20.nextNode.addSignUserId.join(','),
50511
- customPresetUserJson: JSON.stringify(_this20.presetList),
50512
- presetUserJson: JSON.stringify(_this20.presetUserJson),
50513
- removeSignUserId: _this20.nextNode.removeSignUserId.join(','),
50514
- notificationType: _this20.nextNode.notificationType.join(',')
50549
+ nextUserId: _this21.multiple ? _this21.nextNode.nextUserId.join(',') : _this21.nextNode.nextUserId,
50550
+ addSignUserId: _this21.nextNode.addSignUserId.join(','),
50551
+ customPresetUserJson: JSON.stringify(_this21.presetList),
50552
+ presetUserJson: JSON.stringify(_this21.presetUserJson),
50553
+ removeSignUserId: _this21.nextNode.removeSignUserId.join(','),
50554
+ notificationType: _this21.nextNode.notificationType.join(',')
50515
50555
  })
50516
50556
  };
50517
- _this20.loading = utils_util.loading(_this20.$loading, '加载中...');
50557
+ _this21.loading = utils_util.loading(_this21.$loading, '加载中...');
50518
50558
  utils_util.ajax(params).then(function (res) {
50519
50559
  var status = res.status,
50520
50560
  message = res.message;
50521
50561
 
50522
- _this20.loading.close();
50562
+ _this21.loading.close();
50523
50563
  if (status === 'success') {
50524
- _this20.flowSuccess();
50564
+ _this21.flowSuccess();
50525
50565
  // this.$message.success('提交成功');
50526
50566
  // this.$emit('success');
50527
50567
  } else {
50528
- _this20.$message.error(message || '系统错误,请联系管理员!');
50529
- _this20.$emit('error');
50568
+ _this21.$message.error(message || '系统错误,请联系管理员!');
50569
+ _this21.$emit('error');
50530
50570
  }
50531
50571
  }).catch(function (err) {
50532
- _this20.loading.close();
50572
+ _this21.loading.close();
50533
50573
  if (err.message && err.message !== 'canceled') {
50534
- _this20.$message.error(err.message);
50574
+ _this21.$message.error(err.message);
50535
50575
  }
50536
50576
  });
50537
50577
  }).catch(function (e) {});
@@ -50636,11 +50676,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50636
50676
  * @date 2022年9月29日
50637
50677
  **/
50638
50678
  toTakeAdvice: function toTakeAdvice(res) {
50639
- var _this21 = this;
50679
+ var _this22 = this;
50640
50680
 
50641
50681
  if (this.beforeSubmit != undefined) {
50642
50682
  this.beforeSubmit().then(function (next) {
50643
- _this21.saveToTakeAdvice(res);
50683
+ _this22.saveToTakeAdvice(res);
50644
50684
  }).catch(function (e) {});
50645
50685
  } else {
50646
50686
  this.saveToTakeAdvice(res);
@@ -50648,7 +50688,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50648
50688
  // return this.$message.warning('暂未开放!敬请期待');
50649
50689
  },
50650
50690
  saveToTakeAdvice: function saveToTakeAdvice(res) {
50651
- var _this22 = this;
50691
+ var _this23 = this;
50652
50692
 
50653
50693
  var params = {
50654
50694
  url: isCanStartSubFlow,
@@ -50663,16 +50703,16 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50663
50703
  utils_util.ajax(params).then(function (res) {
50664
50704
  var message = res.message;
50665
50705
 
50666
- _this22.loading.close();
50706
+ _this23.loading.close();
50667
50707
  if (message == 'success') {
50668
- _this22.showTaskUnionExamine = true;
50708
+ _this23.showTaskUnionExamine = true;
50669
50709
  } else {
50670
- _this22.$message.error(message || '系统错误,请联系管理员!');
50710
+ _this23.$message.error(message || '系统错误,请联系管理员!');
50671
50711
  }
50672
50712
  }).catch(function (err) {
50673
- _this22.loading.close();
50713
+ _this23.loading.close();
50674
50714
  if (err.message && err.message !== 'canceled') {
50675
- _this22.$message.error(err.message);
50715
+ _this23.$message.error(err.message);
50676
50716
  }
50677
50717
  });
50678
50718
  },
@@ -50684,11 +50724,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50684
50724
  * @date 2022年9月29日
50685
50725
  **/
50686
50726
  toStartDraf: function toStartDraf(res) {
50687
- var _this23 = this;
50727
+ var _this24 = this;
50688
50728
 
50689
50729
  if (this.beforeSubmit != undefined) {
50690
50730
  this.beforeSubmit().then(function (next) {
50691
- _this23.showTaskUnionExamine = true;
50731
+ _this24.showTaskUnionExamine = true;
50692
50732
  }).catch(function (e) {});
50693
50733
  } else {
50694
50734
  this.showTaskUnionExamine = true;
@@ -50702,11 +50742,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50702
50742
  * @date 2022年9月29日
50703
50743
  **/
50704
50744
  toSendMsg: function toSendMsg(res) {
50705
- var _this24 = this;
50745
+ var _this25 = this;
50706
50746
 
50707
50747
  if (this.beforeSubmit != undefined) {
50708
50748
  this.beforeSubmit().then(function (next) {
50709
- _this24.showSendMsg = true;
50749
+ _this25.showSendMsg = true;
50710
50750
  }).catch(function (e) {});
50711
50751
  } else {
50712
50752
  this.showSendMsg = true;
@@ -50720,13 +50760,13 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50720
50760
  * @date 2022年9月29日
50721
50761
  **/
50722
50762
  toTaskReadAndEnd: function toTaskReadAndEnd(res) {
50723
- var _this25 = this;
50763
+ var _this26 = this;
50724
50764
 
50725
50765
  if (this.beforeSubmit != undefined) {
50726
50766
  this.beforeSubmit().then(function (next) {
50727
- if (_this25.value === '') _this25.value = _this25.nodeDefaultRejectOpinion;
50728
- _this25.taskReadType = 'taskReadAndEnd';
50729
- _this25.showTaskRead = true;
50767
+ if (_this26.value === '') _this26.value = _this26.nodeDefaultRejectOpinion;
50768
+ _this26.taskReadType = 'taskReadAndEnd';
50769
+ _this26.showTaskRead = true;
50730
50770
  }).catch(function (e) {});
50731
50771
  } else {
50732
50772
  if (this.value === '') this.value = this.nodeDefaultRejectOpinion;
@@ -50742,21 +50782,21 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50742
50782
  * @date 2022年9月29日
50743
50783
  **/
50744
50784
  rejectAndEnd: function rejectAndEnd(res) {
50745
- var _this26 = this;
50785
+ var _this27 = this;
50746
50786
 
50747
50787
  if (this.isOpinionRequired == 1 && (this.value == '' || !this.value)) {
50748
50788
  if (!this.$refs.commonOpinions.validate()) return;
50749
50789
  }
50750
50790
  if (this.beforeSubmit != undefined) {
50751
50791
  this.beforeSubmit().then(function (next) {
50752
- _this26.saveRejectAndEnd(res);
50792
+ _this27.saveRejectAndEnd(res);
50753
50793
  }).catch(function (e) {});
50754
50794
  } else {
50755
50795
  this.saveRejectAndEnd(res);
50756
50796
  }
50757
50797
  },
50758
50798
  saveRejectAndEnd: function saveRejectAndEnd(res) {
50759
- var _this27 = this;
50799
+ var _this28 = this;
50760
50800
 
50761
50801
  this.$confirm('确认' + res.value + '?').then(function () {
50762
50802
  // return this.$message.warning('请填写意见');
@@ -50765,29 +50805,29 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50765
50805
  headers: { Accept: 'application/json,text/plain' },
50766
50806
  method: 'post',
50767
50807
  data: {
50768
- opinion: _this27.value,
50769
- pendingId: _this27.pendingId,
50808
+ opinion: _this28.value,
50809
+ pendingId: _this28.pendingId,
50770
50810
  isSinglePage: false
50771
50811
  }
50772
50812
  };
50773
- _this27.loading = utils_util.loading(_this27.$loading, '加载中...');
50813
+ _this28.loading = utils_util.loading(_this28.$loading, '加载中...');
50774
50814
  utils_util.ajax(params).then(function (res) {
50775
50815
  var status = res.status,
50776
50816
  message = res.message;
50777
50817
 
50778
- _this27.loading.close();
50818
+ _this28.loading.close();
50779
50819
  if (status === 'success') {
50780
- _this27.flowSuccess();
50820
+ _this28.flowSuccess();
50781
50821
  // this.$message.success('提交成功');
50782
50822
  // this.$emit('success');
50783
50823
  } else {
50784
- _this27.$message.error(message || '系统错误,请联系管理员!');
50785
- _this27.$emit('error');
50824
+ _this28.$message.error(message || '系统错误,请联系管理员!');
50825
+ _this28.$emit('error');
50786
50826
  }
50787
50827
  }).catch(function (err) {
50788
- _this27.loading.close();
50828
+ _this28.loading.close();
50789
50829
  if (err.message && err.message !== 'canceled') {
50790
- _this27.$message.error(err.message);
50830
+ _this28.$message.error(err.message);
50791
50831
  }
50792
50832
  });
50793
50833
  }).catch(function () {
@@ -50802,12 +50842,12 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50802
50842
  * @date 2022年9月29日
50803
50843
  **/
50804
50844
  toTransfer: function toTransfer(res) {
50805
- var _this28 = this;
50845
+ var _this29 = this;
50806
50846
 
50807
50847
  if (this.beforeSubmit != undefined) {
50808
50848
  this.beforeSubmit(0).then(function (next) {
50809
- _this28.taskReadType = 'transfer';
50810
- _this28.showTaskRead = true;
50849
+ _this29.taskReadType = 'transfer';
50850
+ _this29.showTaskRead = true;
50811
50851
  }).catch(function (e) {});
50812
50852
  } else {
50813
50853
  this.taskReadType = 'transfer';
@@ -50825,7 +50865,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50825
50865
  * @date 2022年5月25日
50826
50866
  **/
50827
50867
  getNodeInfo: function getNodeInfo() {
50828
- var _this29 = this;
50868
+ var _this30 = this;
50829
50869
 
50830
50870
  var params = {
50831
50871
  processDefinitionId: this.nodeInfo.nextNode,
@@ -50840,53 +50880,53 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50840
50880
  message = res.message,
50841
50881
  data = res.data;
50842
50882
 
50843
- _this29.loading.close();
50883
+ _this30.loading.close();
50844
50884
  if (status === 'success') {
50845
- _this29.isCurrentNodeForbiddenChangeCandidate = data.nodeExtAttr.isCurrentNodeForbiddenChangeCandidate;
50846
- _this29.currentNodeEnableItemHandleDescription = data.nodeExtAttr.currentNodeEnableItemHandleDescription == 1;
50847
- _this29.enableCustomLimitTimeSetting = data.nodeExtAttr.enableCustomLimitTimeSetting == 1;
50848
- if (_this29.enableCustomLimitTimeSetting && data.nodeMoreInfo.defaultCustomLimitDays) {
50849
- _this29.nextNode.customLimitTime = _this29.nextNode.customLimitTimeText = data.nodeMoreInfo.defaultCustomLimitDays + '';
50885
+ _this30.isCurrentNodeForbiddenChangeCandidate = data.nodeExtAttr.isCurrentNodeForbiddenChangeCandidate;
50886
+ _this30.currentNodeEnableItemHandleDescription = data.nodeExtAttr.currentNodeEnableItemHandleDescription == 1;
50887
+ _this30.enableCustomLimitTimeSetting = data.nodeExtAttr.enableCustomLimitTimeSetting == 1;
50888
+ if (_this30.enableCustomLimitTimeSetting && data.nodeMoreInfo.defaultCustomLimitDays) {
50889
+ _this30.nextNode.customLimitTime = _this30.nextNode.customLimitTimeText = data.nodeMoreInfo.defaultCustomLimitDays + '';
50850
50890
  }
50851
50891
  if (data.nodeMoreInfo.chooseCurrentOrgUserCandidateNeedForbiddenSubDept === true) {
50852
- _this29.params.only_filid = true;
50892
+ _this30.params.only_filid = true;
50853
50893
  }
50854
- data.otherOrgDisabledObjId && (_this29.otherOrgDisabledObjId = data.otherOrgDisabledObjId.split(','));
50855
- data.currentOrgDisabledObjId && (_this29.currentOrgDisabledObjId = data.currentOrgDisabledObjId.split(','));
50894
+ data.otherOrgDisabledObjId && (_this30.otherOrgDisabledObjId = data.otherOrgDisabledObjId.split(','));
50895
+ data.currentOrgDisabledObjId && (_this30.currentOrgDisabledObjId = data.currentOrgDisabledObjId.split(','));
50856
50896
  if (data != null) {
50857
50897
  if (data.nodeExtAttr.userSelectionType == 7 || data.nodeExtAttr.userSelectionType == 8 || data.nodeExtAttr.userSelectionType == 9 || data.nodeExtAttr.userSelectionType == 10 || data.nodeExtAttr.userSelectionType == 11 || data.nodeExtAttr.userSelectionType == 12) {
50858
- _this29.getIsShowNextUser(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
50898
+ _this30.getIsShowNextUser(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
50859
50899
  } else {
50860
- _this29.isMultiple(data.nodeExtAttr && data.nodeExtAttr.userSelectionType, _this29.choiceOrgId, _this29.choiceDeptId, _this29.pOrgId);
50900
+ _this30.isMultiple(data.nodeExtAttr && data.nodeExtAttr.userSelectionType, _this30.choiceOrgId, _this30.choiceDeptId, _this30.pOrgId);
50861
50901
  }
50862
- _this29.isReadMultiple(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
50863
- _this29.isTaskread = data.nodeExtAttr.isTaskread;
50864
- _this29.isHandleExplain = data.nodeExtAttr.isHandleExplain;
50865
- _this29.isLimitedTimeHandling = data.nodeExtAttr.isLimitedTimeHandling;
50866
- _this29.nodeType = data.nodeExtAttr.nodeType;
50902
+ _this30.isReadMultiple(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
50903
+ _this30.isTaskread = data.nodeExtAttr.isTaskread;
50904
+ _this30.isHandleExplain = data.nodeExtAttr.isHandleExplain;
50905
+ _this30.isLimitedTimeHandling = data.nodeExtAttr.isLimitedTimeHandling;
50906
+ _this30.nodeType = data.nodeExtAttr.nodeType;
50867
50907
  //如果当前为承办节点/会签节点,则展示本单位外单位办理人选择
50868
- if (_this29.nodeType === 1 || _this29.nodeType === 2) {
50869
- _this29.isMainSubProcess === true ? _this29.isNodeShowProcess = true : _this29.isNodeShowProcess = false;
50870
- _this29.isMainSubProcess === true ? _this29.isMainSubProcess = true : _this29.isMainSubProcess = false;
50871
- _this29.isNextUser = false;
50872
- _this29.isHideCurrentOrg = res.data.nodeExtAttr.isHideCurrentOrg == 1 ? false : true; //判断是否隐藏本单位
50873
- _this29.isHideOtherOrg = res.data.nodeExtAttr.isHideOtherOrg == 1 ? false : true; //判断是否隐藏外单位
50908
+ if (_this30.nodeType === 1 || _this30.nodeType === 2) {
50909
+ _this30.isMainSubProcess === true ? _this30.isNodeShowProcess = true : _this30.isNodeShowProcess = false;
50910
+ _this30.isMainSubProcess === true ? _this30.isMainSubProcess = true : _this30.isMainSubProcess = false;
50911
+ _this30.isNextUser = false;
50912
+ _this30.isHideCurrentOrg = res.data.nodeExtAttr.isHideCurrentOrg == 1 ? false : true; //判断是否隐藏本单位
50913
+ _this30.isHideOtherOrg = res.data.nodeExtAttr.isHideOtherOrg == 1 ? false : true; //判断是否隐藏外单位
50874
50914
  } else {
50875
- _this29.isHideCurrentOrg = false;
50876
- _this29.isHideOtherOrg = false;
50877
- _this29.isNodeShowProcess = false;
50878
- _this29.isMainSubProcess = false;
50879
- _this29.isNextUser = _this29.nextNode.nextOperate != 9;
50915
+ _this30.isHideCurrentOrg = false;
50916
+ _this30.isHideOtherOrg = false;
50917
+ _this30.isNodeShowProcess = false;
50918
+ _this30.isMainSubProcess = false;
50919
+ _this30.isNextUser = _this30.nextNode.nextOperate != 9;
50880
50920
  // this.isMainSubProcess === true
50881
50921
  // ? (this.isMainSubProcess = true)
50882
50922
  // : (this.isMainSubProcess = false);
50883
50923
  }
50884
- _this29.multiple ? _this29.nextNode.nextUserId = [] : _this29.nextNode.nextUserId = '';
50885
- if (_this29.multiple && data.nodeExtAttr.isDefSelectedObj == 1 && data.nextUserList !== undefined) {
50924
+ _this30.multiple ? _this30.nextNode.nextUserId = [] : _this30.nextNode.nextUserId = '';
50925
+ if (_this30.multiple && data.nodeExtAttr.isDefSelectedObj == 1 && data.nextUserList !== undefined) {
50886
50926
  data.nextUserList.map(function (item) {
50887
50927
  if (item.userId && item.username) {
50888
- _this29.nextNode.nextUserId.push(item.userId);
50889
- _this29.selectUserList.push({
50928
+ _this30.nextNode.nextUserId.push(item.userId);
50929
+ _this30.selectUserList.push({
50890
50930
  showname: item.username,
50891
50931
  showid: item.userId
50892
50932
  });
@@ -50895,40 +50935,40 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50895
50935
  }
50896
50936
  data.nextUserList.map(function (item) {
50897
50937
  if (item.userId && item.username) {
50898
- _this29.options.push({
50938
+ _this30.options.push({
50899
50939
  showname: item.username,
50900
50940
  showid: item.userId
50901
50941
  });
50902
50942
  }
50903
50943
  });
50904
50944
  if (data.nodeExtAttr.presetEdit != 0) {
50905
- _this29.radioList = _this29.options;
50945
+ _this30.radioList = _this30.options;
50906
50946
  }
50907
- if (!_this29.multiple && data.nextUserList.length > 0 && data.nodeExtAttr.isDefSelectedObj == 1) {
50908
- _this29.nextNode.nextUserId = data.nextUserList[0].userId;
50909
- _this29.selectUserList.push({
50947
+ if (!_this30.multiple && data.nextUserList.length > 0 && data.nodeExtAttr.isDefSelectedObj == 1) {
50948
+ _this30.nextNode.nextUserId = data.nextUserList[0].userId;
50949
+ _this30.selectUserList.push({
50910
50950
  showname: data.nextUserList[0].username,
50911
50951
  showid: data.nextUserList[0].userId
50912
50952
  });
50913
50953
  }
50914
- _this29.isLimitedTimeHandling = data.nodeExtAttr.isLimitedTimeHandling;
50915
- _this29.isCustomUser = data.nodeExtAttr.isCustomUser;
50916
- _this29.presetEdit = data.nodeExtAttr.presetEdit;
50917
- _this29.countersignaturetypeCode = data.countersignaturetypeCode; //是否展示处理方式
50918
- _this29.handleMode = data.countersignaturetypeText;
50954
+ _this30.isLimitedTimeHandling = data.nodeExtAttr.isLimitedTimeHandling;
50955
+ _this30.isCustomUser = data.nodeExtAttr.isCustomUser;
50956
+ _this30.presetEdit = data.nodeExtAttr.presetEdit;
50957
+ _this30.countersignaturetypeCode = data.countersignaturetypeCode; //是否展示处理方式
50958
+ _this30.handleMode = data.countersignaturetypeText;
50919
50959
  if (data.globalNodeType === 'endEvent') {
50920
- _this29.isNextUser = data.globalNodeType != 'endEvent';
50921
- data.globalNodeType === 'endEvent' ? _this29.endFlow = true : '';
50960
+ _this30.isNextUser = data.globalNodeType != 'endEvent';
50961
+ data.globalNodeType === 'endEvent' ? _this30.endFlow = true : '';
50922
50962
  }
50923
50963
  }
50924
- _this29.isCustomPreset && _this29.$refs.customPreset.getPresetFlowInfo(_this29.nextNode.nextNodeId, _this29.nodeInfo.nextNode, true);
50964
+ _this30.isCustomPreset && _this30.$refs.customPreset.getPresetFlowInfo(_this30.nextNode.nextNodeId, _this30.nodeInfo.nextNode, true);
50925
50965
  } else {
50926
- _this29.$message.error(message || '系统错误,请联系管理员!');
50966
+ _this30.$message.error(message || '系统错误,请联系管理员!');
50927
50967
  }
50928
50968
  }).catch(function (err) {
50929
- _this29.loading.close();
50969
+ _this30.loading.close();
50930
50970
  if (err.message && err.message !== 'canceled') {
50931
- _this29.$message.error(err.message);
50971
+ _this30.$message.error(err.message);
50932
50972
  }
50933
50973
  });
50934
50974
  },
@@ -50941,7 +50981,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50941
50981
  * @date 2022年5月25日
50942
50982
  **/
50943
50983
  selecNext: function selecNext(val, type, isDef) {
50944
- var _this30 = this;
50984
+ var _this31 = this;
50945
50985
 
50946
50986
  var isNextNode = false;
50947
50987
  if (type && val && this.operationList.length > 0) {
@@ -50991,13 +51031,13 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50991
51031
  this.operationList.forEach(function (item) {
50992
51032
  if (item.key === val) {
50993
51033
  if (!item.taskNodeList) {
50994
- _this30.nodeInfos = [];
51034
+ _this31.nodeInfos = [];
50995
51035
  } else {
50996
- _this30.nodeInfos = item.taskNodeList;
51036
+ _this31.nodeInfos = item.taskNodeList;
50997
51037
 
50998
- if (_this30.taskOperationShiftedNodeList) {
50999
- _this30.nodeInfos = item.taskNodeList.filter(function (x) {
51000
- return _this30.taskOperationShiftedNodeList.indexOf(x.nodeId) == -1;
51038
+ if (_this31.taskOperationShiftedNodeList) {
51039
+ _this31.nodeInfos = item.taskNodeList.filter(function (x) {
51040
+ return _this31.taskOperationShiftedNodeList.indexOf(x.nodeId) == -1;
51001
51041
  });
51002
51042
  }
51003
51043
  }
@@ -51006,7 +51046,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
51006
51046
  });
51007
51047
  if (this.defaultNextNode) {
51008
51048
  var defaultNode = this.nodeInfos.filter(function (item) {
51009
- return item.nodeId == _this30.defaultNextNode;
51049
+ return item.nodeId == _this31.defaultNextNode;
51010
51050
  });
51011
51051
  if (this.nodeInfos.length > 0 && defaultNode.length == 0) {
51012
51052
  this.nextNode.nextNodeId = this.nodeInfos[0].nodeId;
@@ -51121,7 +51161,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
51121
51161
  * @date 2022年5月25日
51122
51162
  **/
51123
51163
  getHedInfo: function getHedInfo() {
51124
- var _this31 = this;
51164
+ var _this32 = this;
51125
51165
 
51126
51166
  this.loading = utils_util.loading(this.$loading, '加载中...');
51127
51167
  var params = {
@@ -51131,7 +51171,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
51131
51171
  utils_util.ajax({ url: getHandleInfoHtml, params: params }).then(function (res) {
51132
51172
  //pc返回数据
51133
51173
 
51134
- _this31.loading.close();
51174
+ _this32.loading.close();
51135
51175
 
51136
51176
  if (res.status === 'success') {
51137
51177
  var _res$data2 = res.data,
@@ -51173,17 +51213,17 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
51173
51213
  isCanPreAddSign = _res$data2.isCanPreAddSign;
51174
51214
 
51175
51215
  if (temporarySaveButtonName) {
51176
- _this31.saveButtonName = temporarySaveButtonName;
51216
+ _this32.saveButtonName = temporarySaveButtonName;
51177
51217
  }
51178
51218
  if (simpleTips != undefined) {
51179
- _this31.simpleTips = simpleTips;
51219
+ _this32.simpleTips = simpleTips;
51180
51220
  }
51181
- _this31.$emit('startTaskRead', res);
51182
- _this31.$emit('start-task-read', res);
51221
+ _this32.$emit('startTaskRead', res);
51222
+ _this32.$emit('start-task-read', res);
51183
51223
  if (taskOperationShiftedNodeList && taskOperationShiftedNodeList.length > 0) {
51184
- _this31.taskOperationShiftedNodeList = [];
51224
+ _this32.taskOperationShiftedNodeList = [];
51185
51225
  taskOperationShiftedNodeList.map(function (x) {
51186
- _this31.taskOperationShiftedNodeList.push(x.nodeId);
51226
+ _this32.taskOperationShiftedNodeList.push(x.nodeId);
51187
51227
  taskOperations.push({
51188
51228
  key: x.nodeId,
51189
51229
  value: x.nodeName,
@@ -51192,158 +51232,160 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
51192
51232
  });
51193
51233
  });
51194
51234
  }
51195
- _this31.isHideTemporarySave = nodeInfoMap.nodeExtAttr.isHideTemporarySave == 1;
51196
- _this31.pendingItemHandleDescription = pendingItemHandleDescription;
51235
+ _this32.isHideTemporarySave = nodeInfoMap.nodeExtAttr.isHideTemporarySave == 1;
51236
+ _this32.pendingItemHandleDescription = pendingItemHandleDescription;
51197
51237
  if (currentOrgSelectorParams.enableCurrentOrgConfig == 'true') {
51198
- _this31.currentOrgSelectorTabs = currentOrgSelectorParams.currentOrgType.split(',');
51238
+ _this32.currentOrgSelectorTabs = currentOrgSelectorParams.currentOrgType.split(',');
51199
51239
  var currentOrgparams = currentOrgSelectorParams.currentOrgRange.split(',');
51200
- _this31.currentOrgSelectorTabs.map(function (x, i) {
51201
- _this31.currentOrgSelectorParams[x] = {
51240
+ _this32.currentOrgSelectorTabs.map(function (x, i) {
51241
+ _this32.currentOrgSelectorParams[x] = {
51202
51242
  filid: currentOrgparams[i] == 'my' ? choiceOrgId : currentOrgparams[i],
51203
51243
  only_filid: true
51204
51244
  };
51205
51245
  });
51206
51246
  }
51207
51247
  if (currentOrgSelectorParams.enableForeignOrgConfig == 'true') {
51208
- _this31.foreignOrgSelectorTabs = currentOrgSelectorParams.foreignOrgType.split(',');
51248
+ _this32.foreignOrgSelectorTabs = currentOrgSelectorParams.foreignOrgType.split(',');
51209
51249
  var foreignOrgparams = currentOrgSelectorParams.foreignOrgRange.split(',');
51210
- _this31.foreignOrgSelectorTabs.map(function (x, i) {
51211
- _this31.foreignOrgSelectorParams[x] = {
51250
+ _this32.foreignOrgSelectorTabs.map(function (x, i) {
51251
+ _this32.foreignOrgSelectorParams[x] = {
51212
51252
  filid: foreignOrgparams[i] == 'my' ? choiceOrgId : x == 'filgroup' ? '' : foreignOrgparams[i] == 'nofilidorg' || foreignOrgparams[i] == 'nofiliddept' ? 'all' : foreignOrgparams[i],
51213
51253
  nofilid: foreignOrgparams[i] == 'nofilidorg' ? sessionStorage.getItem('orgId') : foreignOrgparams[i] == 'nofiliddept' ? sessionStorage.getItem('depId') : foreignOrgparams[i] == 'other' ? 1 : 0,
51214
- roleid: _this31.circularReadParamsMap.circularReadOrgRoleCode || _this31.foreignOrgSelectorParams.roleid
51254
+ roleid: _this32.circularReadParamsMap.circularReadOrgRoleCode || _this32.foreignOrgSelectorParams.roleid
51215
51255
  };
51216
51256
  });
51217
51257
  }
51218
- _this31.circularReadParamsMap = circularReadParamsMap || {};
51219
- if (_this31.circularReadParamsMap.circularReadOrgRoleCode) {
51220
- _this31.foreignOrgSelectorParams.roleid = _this31.circularReadParamsMap.circularReadOrgRoleCode;
51221
- }
51222
- _this31.currentOrgName = currentOrgName;
51223
- _this31.nextOperateCheckType = nextOperateCheckType || 'select';
51224
- _this31.currentNodeIsCircularReadNode = nodeInfoMap.nodeExtAttr.currentNodeIsCircularReadNode == 1;
51225
-
51226
- _this31.submitButtonFunKey = nodeInfoMap.nodeExtAttr.submitButtonFunKey;
51227
- _this31.taskNodeButtons = nodeInfoMap.nodeExtAttr.taskNodeButtons;
51228
- _this31.readOnlyNotificationType = readOnlyNotificationType;
51229
-
51230
- _this31.readOnlyNotificationType = readOnlyNotificationType;
51231
- _this31.isSpecial = isSpecial;
51232
- _this31.notificationMessageReadOnly = notificationMessageReadOnly == 'true';
51233
- _this31.otherOrgName = otherOrgName;
51234
- _this31.isCanPreAddSign = isCanPreAddSign;
51235
- _this31.endFlowInfo.choiceOrgId = choiceOrgId;
51236
- _this31.endFlowInfo.choiceDeptId = choiceDeptId;
51237
- _this31.endFlowInfo.pendingId = _this31.pendingId;
51238
- _this31.attachedCode = attachedCode;
51239
- _this31.endFlowInfo.pOrgId = pOrgId;
51240
- _this31.canPresetRead = canPresetRead;
51241
- _this31.isCdjxjTaskHandle = isCdjxjTaskHandle;
51242
- nextNodeCheckType && (_this31.nextNodeCheckType = nextNodeCheckType);
51243
- _this31.operationList = taskOperations || [];
51244
- _this31.customPresetHintMessage = customPresetHintMessage;
51258
+ _this32.circularReadParamsMap = circularReadParamsMap || {};
51259
+ if (_this32.circularReadParamsMap.circularReadOrgRoleCode) {
51260
+ _this32.foreignOrgSelectorParams.roleid = _this32.circularReadParamsMap.circularReadOrgRoleCode;
51261
+ }
51262
+ _this32.currentOrgName = currentOrgName;
51263
+ _this32.nextOperateCheckType = nextOperateCheckType || 'select';
51264
+ _this32.currentNodeIsCircularReadNode = nodeInfoMap.nodeExtAttr.currentNodeIsCircularReadNode == 1;
51265
+
51266
+ _this32.submitButtonFunKey = nodeInfoMap.nodeExtAttr.submitButtonFunKey;
51267
+ _this32.taskNodeButtons = nodeInfoMap.nodeExtAttr.taskNodeButtons;
51268
+ _this32.readOnlyNotificationType = readOnlyNotificationType;
51269
+
51270
+ _this32.readOnlyNotificationType = readOnlyNotificationType;
51271
+ _this32.isSpecial = isSpecial;
51272
+ _this32.notificationMessageReadOnly = notificationMessageReadOnly == 'true';
51273
+ _this32.otherOrgName = otherOrgName;
51274
+ _this32.isCanPreAddSign = isCanPreAddSign;
51275
+ _this32.endFlowInfo.choiceOrgId = choiceOrgId;
51276
+ _this32.endFlowInfo.choiceDeptId = choiceDeptId;
51277
+ _this32.endFlowInfo.pendingId = _this32.pendingId;
51278
+ _this32.attachedCode = attachedCode;
51279
+ _this32.endFlowInfo.pOrgId = pOrgId;
51280
+ _this32.canPresetRead = canPresetRead;
51281
+ _this32.isCdjxjTaskHandle = isCdjxjTaskHandle;
51282
+ nextNodeCheckType && (_this32.nextNodeCheckType = nextNodeCheckType);
51283
+ _this32.operationList = taskOperations || [];
51284
+ _this32.customPresetHintMessage = customPresetHintMessage;
51245
51285
  if (canPresetRead) {
51246
51286
  var ids = nodeInfoMap.nodeExtAttr.presetReadCandinateIds.split(',');
51247
51287
  var names = nodeInfoMap.nodeExtAttr.presetReadCandinateNames.split(',');
51248
51288
  ids.map(function (item, index) {
51249
- _this31.presetReadUserId.push({
51289
+ _this32.presetReadUserId.push({
51250
51290
  showid: item,
51251
51291
  showname: names[index]
51252
51292
  });
51253
- _this31.selectPresetUserList.push({
51293
+ _this32.selectPresetUserList.push({
51254
51294
  showid: item,
51255
51295
  showname: names[index]
51256
51296
  });
51257
- _this31.nextNode.presetReadUserId.push(item);
51297
+ _this32.nextNode.presetReadUserId.push(item);
51258
51298
  });
51259
51299
  }
51260
- if (!_this31.isFlow) _this31.getFile(_this31.pendingId, attachedCode);
51300
+ if (!_this32.isFlow) _this32.getFile(_this32.pendingId, attachedCode);
51261
51301
  if (nextNodeList && nextNodeList.length != 0) {
51262
- _this31.nextNodeList = nextNodeList;
51263
- if (nextNodeList[0].nodeType === 'endEvent') {
51264
- _this31.isNextUser = nextNodeList[0].nodeType != 'endEvent';
51265
- nextNodeList[0].nodeType === 'endEvent' ? _this31.endFlow = true : '';
51266
- }
51302
+ _this32.nextNodeList = nextNodeList;
51303
+ // if (nextNodeList[0].nodeType === 'endEvent') {
51304
+ // this.isNextUser = nextNodeList[0].nodeType != 'endEvent';
51305
+ // nextNodeList[0].nodeType === 'endEvent'
51306
+ // ? (this.endFlow = true)
51307
+ // : '';
51308
+ // }
51267
51309
  }
51268
51310
 
51269
- if (canRemoveSignUserList && canRemoveSignUserList.length != 0) _this31.removeUsers = canRemoveSignUserList;
51311
+ if (canRemoveSignUserList && canRemoveSignUserList.length != 0) _this32.removeUsers = canRemoveSignUserList;
51270
51312
  if (taskOperations && taskOperations.length != 0) {
51271
51313
  var isSelected = false;
51272
51314
  taskOperations.map(function (item) {
51273
- if (item.key === 9) _this31.isReject = true;
51315
+ if (item.key === 9) _this32.isReject = true;
51274
51316
  if (item.isSelected) {
51275
- _this31.nodeInfos = [];
51276
- _this31.nextNode.nextOperate = item.key;
51317
+ _this32.nodeInfos = [];
51318
+ _this32.nextNode.nextOperate = item.key;
51277
51319
  if (item.taskNodeList != null) {
51278
- _this31.nodeInfos = item.taskNodeList;
51320
+ _this32.nodeInfos = item.taskNodeList;
51279
51321
  }
51280
51322
  isSelected = true;
51281
51323
  }
51282
51324
  });
51283
51325
  if (taskOperations.length > 0 && !isSelected) {
51284
- _this31.nodeInfos = [];
51285
- _this31.nextNode.nextOperate = taskOperations[0].key;
51326
+ _this32.nodeInfos = [];
51327
+ _this32.nextNode.nextOperate = taskOperations[0].key;
51286
51328
  if (taskOperations[0].taskNodeList != null) {
51287
- _this31.nodeInfos = taskOperations[0].taskNodeList;
51329
+ _this32.nodeInfos = taskOperations[0].taskNodeList;
51288
51330
  }
51289
51331
  }
51290
51332
  }
51291
51333
  if (nodeInfoMap && JSON.stringify(nodeInfoMap) != '{}') {
51292
- _this31.needRetrialAuth = !!nodeInfoMap.nodeExtAttr.isCurrentNodeSubmitNeedRetrialAuth;
51334
+ _this32.needRetrialAuth = !!nodeInfoMap.nodeExtAttr.isCurrentNodeSubmitNeedRetrialAuth;
51293
51335
  if (nodeInfoMap.nodeExtAttr.nodeFixedOpinionSelectList) {
51294
51336
  var notice = JSON.parse(nodeInfoMap.nodeExtAttr.nodeFixedOpinionSelectList);
51295
51337
  notice.map(function (x) {
51296
- _this31.nodeFixedOpinionSelectList.push({ content: x });
51338
+ _this32.nodeFixedOpinionSelectList.push({ content: x });
51297
51339
  });
51298
51340
  }
51299
51341
 
51300
- _this31.value = opinion || '';
51301
- _this31.nodeDefaultSubmitOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultSubmitOpinion;
51302
- _this31.isSubmitButtonShowAgreeAndDisagree = nodeInfoMap.nodeExtAttr.isSubmitButtonShowAgreeAndDisagree;
51303
- _this31.isBanInputOpinion = nodeInfoMap.nodeExtAttr.isBanInputOpinion;
51304
- _this31.nodeDefaultRejectOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultRejectOpinion;
51305
- _this31.isOpinionRequired = nodeInfoMap.nodeExtAttr.isOpinionRequired;
51306
- _this31.isChooseNextNode = nodeInfoMap.nodeExtAttr.isChooseNextNode;
51342
+ _this32.value = opinion || '';
51343
+ _this32.nodeDefaultSubmitOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultSubmitOpinion;
51344
+ _this32.isSubmitButtonShowAgreeAndDisagree = nodeInfoMap.nodeExtAttr.isSubmitButtonShowAgreeAndDisagree;
51345
+ _this32.isBanInputOpinion = nodeInfoMap.nodeExtAttr.isBanInputOpinion;
51346
+ _this32.nodeDefaultRejectOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultRejectOpinion;
51347
+ _this32.isOpinionRequired = nodeInfoMap.nodeExtAttr.isOpinionRequired;
51348
+ _this32.isChooseNextNode = nodeInfoMap.nodeExtAttr.isChooseNextNode;
51307
51349
  // this.isHideDefaultOperation =
51308
51350
  // nodeInfoMap.nodeExtAttr.isHideDefaultOperation == 1;
51309
- _this31.defaultNextNode = nodeInfoMap.nodeExtAttr.defaultNextNode;
51351
+ _this32.defaultNextNode = nodeInfoMap.nodeExtAttr.defaultNextNode;
51310
51352
  if (nodeInfoMap.nodeExtAttr.defaultNextNode) {
51311
- var defaultNode = _this31.nodeInfos.filter(function (item) {
51353
+ var defaultNode = _this32.nodeInfos.filter(function (item) {
51312
51354
  return item.nodeId == nodeInfoMap.nodeExtAttr.defaultNextNode;
51313
51355
  });
51314
- if (_this31.nodeInfos.length > 0 && defaultNode.length == 0) {
51315
- _this31.nextNode.nextNodeId = _this31.nodeInfos[0].nodeId;
51356
+ if (_this32.nodeInfos.length > 0 && defaultNode.length == 0) {
51357
+ _this32.nextNode.nextNodeId = _this32.nodeInfos[0].nodeId;
51316
51358
  } else {
51317
- _this31.nextNode.nextNodeId = nodeInfoMap.nodeExtAttr.defaultNextNode;
51359
+ _this32.nextNode.nextNodeId = nodeInfoMap.nodeExtAttr.defaultNextNode;
51318
51360
  }
51319
- } else if (_this31.nodeInfos.length > 0) {
51320
- _this31.nextNode.nextNodeId = _this31.nodeInfos[0].nodeId;
51361
+ } else if (_this32.nodeInfos.length > 0) {
51362
+ _this32.nextNode.nextNodeId = _this32.nodeInfos[0].nodeId;
51321
51363
  }
51322
- _this31.isForceDisplayDefaultOptionForPrefix = nodeInfoMap.nodeExtAttr.isForceDisplayDefaultOptionForPrefix == 1;
51364
+ _this32.isForceDisplayDefaultOptionForPrefix = nodeInfoMap.nodeExtAttr.isForceDisplayDefaultOptionForPrefix == 1;
51323
51365
  if (nodeInfoMap.nodeExtAttr.submitText) {
51324
- _this31.btnList.map(function (x) {
51366
+ _this32.btnList.map(function (x) {
51325
51367
  if (x.event === 'sub') {
51326
51368
  x.text = nodeInfoMap.nodeExtAttr.submitText;
51327
51369
  }
51328
51370
  });
51329
51371
  }
51330
51372
  }
51331
- _this31.choiceOrgId = choiceOrgId;
51332
- _this31.choiceDeptId = choiceDeptId;
51333
- _this31.pOrgId = pOrgId;
51373
+ _this32.choiceOrgId = choiceOrgId;
51374
+ _this32.choiceDeptId = choiceDeptId;
51375
+ _this32.pOrgId = pOrgId;
51334
51376
  if (res.data && res.data.isEndUserTask != undefined) {
51335
- _this31.isEndUserTask = res.data.isEndUserTask;
51377
+ _this32.isEndUserTask = res.data.isEndUserTask;
51336
51378
  }
51337
51379
  if (JSON.stringify(taskExamine) != '{}' && taskExamine) {
51338
- _this31.nodeInfo.nextNode = taskExamine.processDefinitionId;
51339
- _this31.NodeName = taskExamine.nodeName;
51340
- _this31.taskId = taskExamine.taskId;
51341
- _this31.businessIds = taskExamine.businessId;
51342
- _this31.appId = taskExamine.appId;
51343
- _this31.taskExamineInfo = taskExamine;
51344
- _this31.taskExamineInfo.choiceOrgId = choiceOrgId;
51345
- _this31.taskExamineInfo.choiceDeptId = choiceDeptId;
51346
- _this31.endFlowInfo.processType = taskExamine.processType;
51380
+ _this32.nodeInfo.nextNode = taskExamine.processDefinitionId;
51381
+ _this32.NodeName = taskExamine.nodeName;
51382
+ _this32.taskId = taskExamine.taskId;
51383
+ _this32.businessIds = taskExamine.businessId;
51384
+ _this32.appId = taskExamine.appId;
51385
+ _this32.taskExamineInfo = taskExamine;
51386
+ _this32.taskExamineInfo.choiceOrgId = choiceOrgId;
51387
+ _this32.taskExamineInfo.choiceDeptId = choiceDeptId;
51388
+ _this32.endFlowInfo.processType = taskExamine.processType;
51347
51389
  // this.endFlowInfo.isReturnSubmitter =
51348
51390
  // taskExamine.isReturnSubmitter;
51349
51391
  // this.nextNode.isReturnSubmitter = taskExamine.isReturnSubmitter;
@@ -51355,81 +51397,81 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
51355
51397
  // this.nextNode.isReadDealEnd = taskExamine.isReadDealEnd;
51356
51398
  // this.nextNode.isReturnRejectNode = taskExamine.isReturnRejectNode;
51357
51399
  // this.nextNode.isSerialSubmit = taskExamine.isSerialSubmit;
51358
- _this31.endFlowInfo.isSubFlow = taskExamine.isSubFlow;
51359
- _this31.endFlowInfo.isUndertakeReply = taskExamine.isUndertakeReply;
51360
- _this31.endFlowInfo.isUndertakeEnd = taskExamine.isUndertakeEnd;
51361
- _this31.endFlowInfo.isTakeAdviceEnd = taskExamine.isTakeAdviceEnd;
51362
- _this31.endFlowInfo.isTakeAdviceReply = taskExamine.isTakeAdviceReply;
51363
- _this31.endFlowInfo.isReadDealEnd = taskExamine.isReadDealEnd;
51364
- _this31.endFlowInfo.isReadDealReply = taskExamine.isReadDealReply;
51365
- _this31.endFlowInfo.isReturnRejectNode = taskExamine.isReturnRejectNode;
51366
- _this31.endFlowInfo.isSerialSubmit = taskExamine.isSerialSubmit;
51400
+ _this32.endFlowInfo.isSubFlow = taskExamine.isSubFlow;
51401
+ _this32.endFlowInfo.isUndertakeReply = taskExamine.isUndertakeReply;
51402
+ _this32.endFlowInfo.isUndertakeEnd = taskExamine.isUndertakeEnd;
51403
+ _this32.endFlowInfo.isTakeAdviceEnd = taskExamine.isTakeAdviceEnd;
51404
+ _this32.endFlowInfo.isTakeAdviceReply = taskExamine.isTakeAdviceReply;
51405
+ _this32.endFlowInfo.isReadDealEnd = taskExamine.isReadDealEnd;
51406
+ _this32.endFlowInfo.isReadDealReply = taskExamine.isReadDealReply;
51407
+ _this32.endFlowInfo.isReturnRejectNode = taskExamine.isReturnRejectNode;
51408
+ _this32.endFlowInfo.isSerialSubmit = taskExamine.isSerialSubmit;
51367
51409
  // this.endFlowInfo.isReadDealReply =
51368
51410
  // taskExamine.isReadDealReplybusinessId;
51369
- _this31.endFlowInfo.appId = taskExamine.appId;
51370
- _this31.endFlowInfo.businessId = taskExamine.businessId;
51371
- _this31.endFlowInfo.processDefinitionId = taskExamine.processDefinitionId;
51372
- _this31.endFlowInfo.nodeId = taskExamine.nodeId;
51411
+ _this32.endFlowInfo.appId = taskExamine.appId;
51412
+ _this32.endFlowInfo.businessId = taskExamine.businessId;
51413
+ _this32.endFlowInfo.processDefinitionId = taskExamine.processDefinitionId;
51414
+ _this32.endFlowInfo.nodeId = taskExamine.nodeId;
51373
51415
  }
51374
51416
  if (extendData && extendData.pendingData && extendData.pendingData.itemname) {
51375
- _this31.NodeName = extendData.pendingData.itemname;
51417
+ _this32.NodeName = extendData.pendingData.itemname;
51376
51418
  }
51377
- if (_this31.nodeName) {
51378
- _this31.NodeName = _this31.nodeName;
51419
+ if (_this32.nodeName) {
51420
+ _this32.NodeName = _this32.nodeName;
51379
51421
  }
51380
- _this31.isCanAddSign = isCanAddSign;
51381
- _this31.processObj = res.data;
51382
- if (_this31.isCanAddSign) {
51383
- _this31.nextNode.isAddSign = '2';
51422
+ _this32.isCanAddSign = isCanAddSign;
51423
+ _this32.processObj = res.data;
51424
+ if (_this32.isCanAddSign) {
51425
+ _this32.nextNode.isAddSign = '2';
51384
51426
  }
51385
- _this31.isCanRemoveSign = isCanRemoveSign;
51386
- if (_this31.isCanRemoveSign) {
51387
- _this31.nextNode.isRemoveSign = '2';
51427
+ _this32.isCanRemoveSign = isCanRemoveSign;
51428
+ if (_this32.isCanRemoveSign) {
51429
+ _this32.nextNode.isRemoveSign = '2';
51388
51430
  }
51389
51431
 
51390
- if (!_this31.isOpinionRequired) {
51391
- _this31.isOpinionRequired = 0;
51432
+ if (!_this32.isOpinionRequired) {
51433
+ _this32.isOpinionRequired = 0;
51392
51434
  }
51393
51435
  // opinion && (this.value = opinion);
51394
- _this31.nextNode.notificationMsg = defaultNotificationMessage;
51395
- _this31.moreList = [];
51436
+ _this32.nextNode.notificationMsg = defaultNotificationMessage;
51437
+ _this32.moreList = [];
51396
51438
  if (taskButtonList && taskButtonList.length != 0) {
51397
51439
  taskButtonList.map(function (item) {
51398
51440
  if (item.fun === 'reject()') {
51399
- _this31.rejectObj = item;
51441
+ _this32.rejectObj = item;
51400
51442
  } else if (item.fun === 'toStartTaskRead()') {
51401
- _this31.pointsReadingObj = item;
51443
+ _this32.pointsReadingObj = item;
51402
51444
  } else {
51403
- _this31.moreList.push(item);
51445
+ _this32.moreList.push(item);
51404
51446
  }
51405
51447
  });
51406
51448
  }
51407
- _this31.isMainSubProcess = res.data.isMainSubProcess == 'true';
51408
- _this31.isCustomPreset = isCustomPreset;
51409
- _this31.isPreset = isPreset;
51410
- _this31.presetTaskNodeMap = presetTaskNodeMap;
51411
- _this31.presetTaskNodeKeyStr = presetTaskNodeKeyStr;
51412
- _this31.getFind();
51413
- _this31.selecNext(_this31.nextNode.nextOperate, true, true);
51449
+ _this32.isMainSubProcess = res.data.isMainSubProcess == 'true';
51450
+ _this32.isCustomPreset = isCustomPreset;
51451
+ _this32.isPreset = isPreset;
51452
+ _this32.presetTaskNodeMap = presetTaskNodeMap;
51453
+ _this32.presetTaskNodeKeyStr = presetTaskNodeKeyStr;
51454
+ _this32.getFind();
51455
+ _this32.selecNext(_this32.nextNode.nextOperate, true, true);
51414
51456
  // this.getNodeInfo();
51415
- _this31.StartTaskReadKey++;
51457
+ _this32.StartTaskReadKey++;
51416
51458
  } else {
51417
51459
  if (res.status === 'taskCompleted') {
51418
- _this31.$emit('shrink', true);
51419
- _this31.shrinkAbled = true;
51420
- _this31.$message.warning(res.message || '系统错误,请联系管理员!');
51460
+ _this32.$emit('shrink', true);
51461
+ _this32.shrinkAbled = true;
51462
+ _this32.$message.warning(res.message || '系统错误,请联系管理员!');
51421
51463
  } else {
51422
- _this31.$message.error(res.message || '系统错误,请联系管理员!');
51464
+ _this32.$message.error(res.message || '系统错误,请联系管理员!');
51423
51465
  }
51424
51466
  }
51425
- _this31.showOpinion = false;
51467
+ _this32.showOpinion = false;
51426
51468
  setTimeout(function () {
51427
- _this31.showOpinion = true;
51469
+ _this32.showOpinion = true;
51428
51470
  }, 0);
51429
51471
  }).catch(function (err) {
51430
- _this31.loading.close();
51472
+ _this32.loading.close();
51431
51473
  if (err.message && err.message !== 'canceled') {
51432
- _this31.$message.error(err.message);
51474
+ _this32.$message.error(err.message);
51433
51475
  }
51434
51476
  });
51435
51477
  },
@@ -51491,7 +51533,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
51491
51533
  * @date 2022年5月25日
51492
51534
  **/
51493
51535
  getProcess: function getProcess(val) {
51494
- var _this32 = this;
51536
+ var _this33 = this;
51495
51537
 
51496
51538
  var params = flow_src_mainvue_type_script_lang_js_extends({
51497
51539
  businessId: this.businessId,
@@ -51506,44 +51548,44 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
51506
51548
  message = res.message,
51507
51549
  data = res.data;
51508
51550
 
51509
- _this32.loading.close();
51551
+ _this33.loading.close();
51510
51552
  if (status === 'success') {
51511
51553
  if (data.simpleTips != undefined) {
51512
- _this32.simpleTips = data.simpleTips;
51554
+ _this33.simpleTips = data.simpleTips;
51513
51555
  }
51514
- _this32.isStartFlowChartView = data.isStartFlowChartView;
51556
+ _this33.isStartFlowChartView = data.isStartFlowChartView;
51515
51557
  if (!Object.keys(data).length || data.definitionList && !data.definitionList.length) {
51516
- _this32.$message.error('流程不存在或未关联对应流程!');
51558
+ _this33.$message.error('流程不存在或未关联对应流程!');
51517
51559
  } else {
51518
- _this32.startFlowPageEmbeddedIntoStartFlowIndex = data.startFlowPageEmbeddedIntoStartFlowIndex;
51519
- _this32.activitiDefinitionSort = data.activitiDefinitionSort;
51520
- _this32.nodeInfo.option = data.definitionList;
51521
- _this32.nodeInfo.nextNode = data.definitionList.filter(function (item) {
51522
- return item.processDefKey == _this32.defaultProcessKey;
51560
+ _this33.startFlowPageEmbeddedIntoStartFlowIndex = data.startFlowPageEmbeddedIntoStartFlowIndex;
51561
+ _this33.activitiDefinitionSort = data.activitiDefinitionSort;
51562
+ _this33.nodeInfo.option = data.definitionList;
51563
+ _this33.nodeInfo.nextNode = data.definitionList.filter(function (item) {
51564
+ return item.processDefKey == _this33.defaultProcessKey;
51523
51565
  });
51524
- if (_this32.nodeInfo.nextNode.length) {
51525
- _this32.nodeInfo.nextNode = _this32.nodeInfo.nextNode[0].processDefId;
51566
+ if (_this33.nodeInfo.nextNode.length) {
51567
+ _this33.nodeInfo.nextNode = _this33.nodeInfo.nextNode[0].processDefId;
51526
51568
  } else {
51527
51569
  if (data.definitionList.length != 0) {
51528
- _this32.nodeInfo.nextNode = data.definitionList[0].processDefId;
51570
+ _this33.nodeInfo.nextNode = data.definitionList[0].processDefId;
51529
51571
  } else {
51530
- _this32.nodeInfo.nextNode = '';
51572
+ _this33.nodeInfo.nextNode = '';
51531
51573
  }
51532
51574
  }
51533
- if (_this32.nodeInfo.nextNode) {
51534
- _this32.handleChange(_this32.nodeInfo.nextNode, true);
51575
+ if (_this33.nodeInfo.nextNode) {
51576
+ _this33.handleChange(_this33.nodeInfo.nextNode, true);
51535
51577
  }
51536
- if (_this32.showCirculate != undefined && !_this32.showCirculate && _this32.urgencyLevel) {
51537
- _this32.getAdminMsgType();
51578
+ if (_this33.showCirculate != undefined && !_this33.showCirculate && _this33.urgencyLevel) {
51579
+ _this33.getAdminMsgType();
51538
51580
  }
51539
51581
  }
51540
51582
  } else {
51541
- _this32.$message.error(message || '系统错误,请联系管理员!');
51583
+ _this33.$message.error(message || '系统错误,请联系管理员!');
51542
51584
  }
51543
51585
  }).catch(function (err) {
51544
- _this32.loading.close();
51586
+ _this33.loading.close();
51545
51587
  if (err.message && err.message !== 'canceled') {
51546
- _this32.$message.error(err.message);
51588
+ _this33.$message.error(err.message);
51547
51589
  }
51548
51590
  });
51549
51591
  },
@@ -51555,7 +51597,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
51555
51597
  * @date 2022年5月25日
51556
51598
  **/
51557
51599
  getPendedhistoryList: function getPendedhistoryList() {
51558
- var _this33 = this;
51600
+ var _this34 = this;
51559
51601
 
51560
51602
  var params = {
51561
51603
  apprecordId: this.businessIds,
@@ -51568,22 +51610,22 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
51568
51610
  results = res.results;
51569
51611
 
51570
51612
  if (!rCode) {
51571
- _this33.nextNode.nextUserId = [];
51572
- _this33.showNews = false;
51573
- _this33.nextNode.notificationType = [];
51574
- _this33.pendingId = results[results.length - 1].attachId;
51575
- _this33.getHedInfo();
51613
+ _this34.nextNode.nextUserId = [];
51614
+ _this34.showNews = false;
51615
+ _this34.nextNode.notificationType = [];
51616
+ _this34.pendingId = results[results.length - 1].attachId;
51617
+ _this34.getHedInfo();
51576
51618
  } else {
51577
- _this33.$message.error(msg || '系统错误,请联系管理员!');
51619
+ _this34.$message.error(msg || '系统错误,请联系管理员!');
51578
51620
  }
51579
51621
  }).catch(function (err) {
51580
51622
  if (err.message && err.message !== 'canceled') {
51581
- _this33.$message.error(err.message);
51623
+ _this34.$message.error(err.message);
51582
51624
  }
51583
51625
  });
51584
51626
  },
51585
51627
  reqCircularRead: function reqCircularRead(type) {
51586
- var _this34 = this;
51628
+ var _this35 = this;
51587
51629
 
51588
51630
  var _that = this;
51589
51631
  var params = {
@@ -51597,7 +51639,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
51597
51639
  };
51598
51640
  this.loading = utils_util.loading(this.$loading, '提交中...');
51599
51641
  utils_util.ajax(params).then(function (res) {
51600
- _this34.loading.close();
51642
+ _this35.loading.close();
51601
51643
  if (res.rCode == 0) {
51602
51644
  if (res.results.alert) {
51603
51645
  _that.$confirm(res.results.message, {
@@ -51631,20 +51673,20 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
51631
51673
  * @date 2022年5月25日
51632
51674
  **/
51633
51675
  subProcess: function subProcess(val, type) {
51634
- var _this35 = this;
51676
+ var _this36 = this;
51635
51677
 
51636
51678
  return this.$refs['nextNode'].validate(function (valid) {
51637
51679
  if (valid) {
51638
- if (_this35.isSubmitButtonShowAgreeAndDisagree == 1) {
51639
- _this35.value = _this35.value.replace(RegExp('不同意。', 'g'), '');
51640
- _this35.value = _this35.value.replace(RegExp('同意。', 'g'), '');
51641
- _this35.value = val + _this35.value;
51680
+ if (_this36.isSubmitButtonShowAgreeAndDisagree == 1) {
51681
+ _this36.value = _this36.value.replace(RegExp('不同意。', 'g'), '');
51682
+ _this36.value = _this36.value.replace(RegExp('同意。', 'g'), '');
51683
+ _this36.value = val + _this36.value;
51642
51684
  }
51643
- if (!_this35.validInfo()) {
51644
- _this35.freeValid = false;
51685
+ if (!_this36.validInfo()) {
51686
+ _this36.freeValid = false;
51645
51687
  return;
51646
51688
  } else {
51647
- _this35.freeValid = true;
51689
+ _this36.freeValid = true;
51648
51690
  }
51649
51691
  // if (
51650
51692
  // this.currentNodeIsCircularReadNode &&
@@ -51653,28 +51695,28 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
51653
51695
  // this.reqCircularRead(type);
51654
51696
  // return;
51655
51697
  // }
51656
- if (_this35.submitButtonFunKey) {
51657
- var btnInfo = _this35.taskNodeButtons.filter(function (x) {
51658
- return x.key === _this35.submitButtonFunKey;
51698
+ if (_this36.submitButtonFunKey) {
51699
+ var btnInfo = _this36.taskNodeButtons.filter(function (x) {
51700
+ return x.key === _this36.submitButtonFunKey;
51659
51701
  });
51660
51702
  if (btnInfo.length > 0) {
51661
51703
  if (btnInfo[0].type == 4) {
51662
- _this35.$emit('buttonClick', { fun: btnInfo[0].fun, opinion: _this35.value }, _this35.sendData);
51704
+ _this36.$emit('buttonClick', { fun: btnInfo[0].fun, opinion: _this36.value }, _this36.sendData);
51663
51705
  } else if (btnInfo[0].type == 2) {
51664
- _this35.goView(btnInfo[0]);
51706
+ _this36.goView(btnInfo[0]);
51665
51707
  }
51666
51708
  }
51667
51709
  return;
51668
51710
  }
51669
51711
  if (type == 'multiInsMidwayWithSubmitScene') {
51670
- _this35.sendData(type);
51712
+ _this36.sendData(type);
51671
51713
  return;
51672
51714
  }
51673
- if (_this35.beforeSubmit == undefined) {
51674
- _this35.subFun(_this35.sendData);
51715
+ if (_this36.beforeSubmit == undefined) {
51716
+ _this36.subFun(_this36.sendData);
51675
51717
  } else {
51676
- _this35.beforeSubmit(1).then(function (next) {
51677
- _this35.sendData();
51718
+ _this36.beforeSubmit(1).then(function (next) {
51719
+ _this36.sendData();
51678
51720
  }).catch(function (e) {});
51679
51721
  }
51680
51722
  }
@@ -51719,14 +51761,14 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
51719
51761
  return true;
51720
51762
  },
51721
51763
  flowSuccess: function flowSuccess(hideMessage) {
51722
- var _this36 = this;
51764
+ var _this37 = this;
51723
51765
 
51724
51766
  if (!this.simpleTips) {
51725
51767
  this.$alert('提交成功', '', {
51726
51768
  confirmButtonText: '确定',
51727
51769
  type: 'success',
51728
51770
  callback: function callback(action) {
51729
- _this36.$emit('success');
51771
+ _this37.$emit('success');
51730
51772
  }
51731
51773
  });
51732
51774
  } else {
@@ -51737,8 +51779,12 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
51737
51779
  }
51738
51780
  },
51739
51781
  sendData: function sendData(freetype) {
51740
- var _this37 = this;
51782
+ var _this38 = this;
51741
51783
 
51784
+ if (this.isFlow && !this.nodeInfo.nextNode) {
51785
+ this.$message.warning('请选择流程');
51786
+ return;
51787
+ }
51742
51788
  if (this.isFlow && this.nodeInfo.nextNode && this.startFlowPageEmbeddedIntoStartFlowIndex) {
51743
51789
  if (this.directCreateCircularReadWhenFlowStarted) {
51744
51790
  this.$refs.flowCirculate.subMit();
@@ -51759,75 +51805,75 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
51759
51805
  break;
51760
51806
  }
51761
51807
 
51762
- if (!_this37.isFlow) {
51808
+ if (!_this38.isFlow) {
51763
51809
  _context2.next = 7;
51764
51810
  break;
51765
51811
  }
51766
51812
 
51767
- if (!(_this37.isOpinionRequired && !_this37.$refs.commonOpinions.validate())) {
51813
+ if (!(_this38.isOpinionRequired && !_this38.$refs.commonOpinions.validate())) {
51768
51814
  _context2.next = 5;
51769
51815
  break;
51770
51816
  }
51771
51817
 
51772
- _this37.$message.warning('请输入审批意见');
51818
+ _this38.$message.warning('请输入审批意见');
51773
51819
  return _context2.abrupt('return');
51774
51820
 
51775
51821
  case 5:
51776
- if (_this37.directCreateCircularReadWhenFlowStarted) {
51777
- _this37.circulateVisible = true;
51822
+ if (_this38.directCreateCircularReadWhenFlowStarted) {
51823
+ _this38.circulateVisible = true;
51778
51824
  } else {
51779
- _this37.handleVisible = true;
51825
+ _this38.handleVisible = true;
51780
51826
  }
51781
51827
  return _context2.abrupt('return');
51782
51828
 
51783
51829
  case 7:
51784
51830
  nextUserId = [];
51785
51831
 
51786
- if (_this37.multiple) {
51787
- _this37.nextNode.nextUserId && _this37.nextNode.nextUserId.map(function (item) {
51832
+ if (_this38.multiple) {
51833
+ _this38.nextNode.nextUserId && _this38.nextNode.nextUserId.map(function (item) {
51788
51834
  return nextUserId.push(item);
51789
51835
  });
51790
51836
  }
51791
51837
  addSignUserId = [];
51792
51838
 
51793
- if (_this37.isCanAddSign && _this37.nextNode.isAddSign == '1') {
51794
- _this37.nextNode.addSignUserId.map(function (item) {
51839
+ if (_this38.isCanAddSign && _this38.nextNode.isAddSign == '1') {
51840
+ _this38.nextNode.addSignUserId.map(function (item) {
51795
51841
  addSignUserId.push(item);
51796
51842
  });
51797
51843
  }
51798
51844
  removeSignUserId = [];
51799
51845
 
51800
- if (_this37.isCanRemoveSign && _this37.nextNode.isRemoveSign == '1') {
51801
- _this37.nextNode.removeSignUserId.map(function (item) {
51846
+ if (_this38.isCanRemoveSign && _this38.nextNode.isRemoveSign == '1') {
51847
+ _this38.nextNode.removeSignUserId.map(function (item) {
51802
51848
  removeSignUserId.push(item);
51803
51849
  });
51804
51850
  }
51805
51851
  str = '';
51806
51852
 
51807
- if (_this37.value) {
51808
- str = _this37.value.replace(/\s+/g, '');
51853
+ if (_this38.value) {
51854
+ str = _this38.value.replace(/\s+/g, '');
51809
51855
  }
51810
- if ((!_this37.value || str === '') && _this37.nodeDefaultSubmitOpinion) {
51811
- _this37.value = _this37.nodeDefaultSubmitOpinion;
51856
+ if ((!_this38.value || str === '') && _this38.nodeDefaultSubmitOpinion) {
51857
+ _this38.value = _this38.nodeDefaultSubmitOpinion;
51812
51858
  }
51813
- if (!_this37.isSpecial) {
51814
- delete _this37.nextNode.nextOperate;
51815
- delete _this37.nextNode.nextNodeId;
51859
+ if (!_this38.isSpecial) {
51860
+ delete _this38.nextNode.nextOperate;
51861
+ delete _this38.nextNode.nextNodeId;
51816
51862
  }
51817
- if (_this37.nextNode.nextOperate === 9 || _this37.oldNextOperate == 9) {
51818
- _this37.nextNode.isReturnRejectNode = 1;
51819
- _this37.nextNode.processDefinitionId = _this37.processObj.taskExamine.processDefinitionId;
51863
+ if (_this38.nextNode.nextOperate === 9 || _this38.oldNextOperate == 9) {
51864
+ _this38.nextNode.isReturnRejectNode = 1;
51865
+ _this38.nextNode.processDefinitionId = _this38.processObj.taskExamine.processDefinitionId;
51820
51866
  }
51821
- if (_this37.nextNode.nextOperate != 0 && _this37.nextNode.nextOperate != 1 && _this37.oldNextOperate === '' || _this37.oldNextOperate !== '' && _this37.oldNextOperate != 0 && _this37.oldNextOperate != 1) {
51822
- delete _this37.nextNode.nextNodeId;
51867
+ if (_this38.nextNode.nextOperate != 0 && _this38.nextNode.nextOperate != 1 && _this38.oldNextOperate === '' || _this38.oldNextOperate !== '' && _this38.oldNextOperate != 0 && _this38.oldNextOperate != 1) {
51868
+ delete _this38.nextNode.nextNodeId;
51823
51869
  }
51824
51870
 
51825
- if (!_this37.isCancelSecondConfirmationType) {
51871
+ if (!_this38.isCancelSecondConfirmationType) {
51826
51872
  _context2.next = 22;
51827
51873
  break;
51828
51874
  }
51829
51875
 
51830
- _this37.$confirm('确认提交吗?', '提示', {
51876
+ _this38.$confirm('确认提交吗?', '提示', {
51831
51877
  confirmButtonText: '确定',
51832
51878
  cancelButtonText: '取消',
51833
51879
  type: 'warning'
@@ -51843,46 +51889,46 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
51843
51889
  }
51844
51890
 
51845
51891
  _context.next = 3;
51846
- return _this37.saveInfo('subMit');
51892
+ return _this38.saveInfo('subMit');
51847
51893
 
51848
51894
  case 3:
51849
- _this37.loading = utils_util.loading(_this37.$loading, '加载中...');
51895
+ _this38.loading = utils_util.loading(_this38.$loading, '加载中...');
51850
51896
 
51851
51897
  case 4:
51852
51898
  notificationType = '';
51853
51899
 
51854
- notificationType = _this37.nextNode.notificationType.join(',');
51900
+ notificationType = _this38.nextNode.notificationType.join(',');
51855
51901
  addSignUserId = addSignUserId.join(',');
51856
51902
  removeSignUserId = removeSignUserId.join(',');
51857
- if (!_this37.isCanPreAddSign || _this37.nextNode.isAddSign != '1') {
51858
- delete _this37.nextNode.addSignMode;
51903
+ if (!_this38.isCanPreAddSign || _this38.nextNode.isAddSign != '1') {
51904
+ delete _this38.nextNode.addSignMode;
51859
51905
  }
51860
51906
 
51861
- params = flow_src_mainvue_type_script_lang_js_extends({}, _this37.nextNode, {
51862
- nextOperate: _this37.oldNextOperate !== '' ? _this37.oldNextOperate : _this37.nextNode.nextOperate,
51863
- pendingId: _this37.pendingId,
51864
- opinion: _this37.isForceDisplayDefaultOptionForPrefix && !_this37.value.startsWith(_this37.nodeDefaultSubmitOpinion) ? _this37.nodeDefaultSubmitOpinion + _this37.value : _this37.value,
51907
+ params = flow_src_mainvue_type_script_lang_js_extends({}, _this38.nextNode, {
51908
+ nextOperate: _this38.oldNextOperate !== '' ? _this38.oldNextOperate : _this38.nextNode.nextOperate,
51909
+ pendingId: _this38.pendingId,
51910
+ opinion: _this38.isForceDisplayDefaultOptionForPrefix && !_this38.value.startsWith(_this38.nodeDefaultSubmitOpinion) ? _this38.nodeDefaultSubmitOpinion + _this38.value : _this38.value,
51865
51911
  userId: utils_util.getStorage('userId'),
51866
- nextUserId: _this37.multiple ? nextUserId.join(',') : _this37.nextNode.nextUserId,
51912
+ nextUserId: _this38.multiple ? nextUserId.join(',') : _this38.nextNode.nextUserId,
51867
51913
  addSignUserId: addSignUserId,
51868
- customPresetUserJson: JSON.stringify(_this37.presetList),
51869
- presetUserJson: JSON.stringify(_this37.presetUserJson),
51914
+ customPresetUserJson: JSON.stringify(_this38.presetList),
51915
+ presetUserJson: JSON.stringify(_this38.presetUserJson),
51870
51916
  removeSignUserId: removeSignUserId,
51871
- nextReadUserId: _this37.readMultiple ? _this37.mixReadList && _this37.mixReadList.join('|') : _this37.nextNode.nextReadUserId,
51872
- nextOrgId: !_this37.isShowNextUser ? _this37.multiple ? _this37.mixOrgIdList && _this37.mixOrgIdList.join('|') : _this37.nextNode.nextOrgId : '',
51873
- presetReadUserId: _this37.mixPresetList && _this37.mixPresetList.length > 0 ? _this37.mixPresetList.join('|') : _this37.nextNode.presetReadUserId.join(','),
51917
+ nextReadUserId: _this38.readMultiple ? _this38.mixReadList && _this38.mixReadList.join('|') : _this38.nextNode.nextReadUserId,
51918
+ nextOrgId: !_this38.isShowNextUser ? _this38.multiple ? _this38.mixOrgIdList && _this38.mixOrgIdList.join('|') : _this38.nextNode.nextOrgId : '',
51919
+ presetReadUserId: _this38.mixPresetList && _this38.mixPresetList.length > 0 ? _this38.mixPresetList.join('|') : _this38.nextNode.presetReadUserId.join(','),
51874
51920
  notificationType: notificationType
51875
51921
  });
51876
51922
 
51877
- if (_this37.activeNames != '1') delete params.customPresetUserJson;
51923
+ if (_this38.activeNames != '1') delete params.customPresetUserJson;
51878
51924
  delete params.customLimitTimeText;
51879
- if (_this37.nextNode.isRemoveSign != '1') {
51925
+ if (_this38.nextNode.isRemoveSign != '1') {
51880
51926
  delete params.removeSignUserId;
51881
51927
  }
51882
- if (_this37.nextNode.isAddSign != '1') {
51928
+ if (_this38.nextNode.isAddSign != '1') {
51883
51929
  delete params.addSignUserId;
51884
51930
  }
51885
- if (!_this37.isSpecial) {
51931
+ if (!_this38.isSpecial) {
51886
51932
  delete params.nextUserId;
51887
51933
  }
51888
51934
 
@@ -51891,13 +51937,13 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
51891
51937
  break;
51892
51938
  }
51893
51939
 
51894
- params.isSubFlow = _this37.taskExamineInfo.isSubFlow;
51895
- _this37.taskParams = params;
51940
+ params.isSubFlow = _this38.taskExamineInfo.isSubFlow;
51941
+ _this38.taskParams = params;
51896
51942
  return _context.abrupt('return');
51897
51943
 
51898
51944
  case 19:
51899
- _this37.loading = utils_util.loading(_this37.$loading, '提交中...');
51900
- isEndUserTask = _this37.isEndUserTask, choiceOrgId = _this37.choiceOrgId, choiceDeptId = _this37.choiceDeptId, pOrgId = _this37.pOrgId, taskExamineInfo = _this37.taskExamineInfo, currentNodeIsCircularReadNode = _this37.currentNodeIsCircularReadNode, needRetrialAuth = _this37.needRetrialAuth, circularReadParamsMap = _this37.circularReadParamsMap, currentNodeEnableItemHandleDescription = _this37.currentNodeEnableItemHandleDescription;
51945
+ _this38.loading = utils_util.loading(_this38.$loading, '提交中...');
51946
+ isEndUserTask = _this38.isEndUserTask, choiceOrgId = _this38.choiceOrgId, choiceDeptId = _this38.choiceDeptId, pOrgId = _this38.pOrgId, taskExamineInfo = _this38.taskExamineInfo, currentNodeIsCircularReadNode = _this38.currentNodeIsCircularReadNode, needRetrialAuth = _this38.needRetrialAuth, circularReadParamsMap = _this38.circularReadParamsMap, currentNodeEnableItemHandleDescription = _this38.currentNodeEnableItemHandleDescription;
51901
51947
 
51902
51948
  params.isEndUserTask = isEndUserTask;
51903
51949
  params.choiceOrgId = choiceOrgId;
@@ -51921,17 +51967,17 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
51921
51967
  var status = res.status,
51922
51968
  message = res.message;
51923
51969
 
51924
- _this37.loading.close();
51970
+ _this38.loading.close();
51925
51971
  if (status === 'success') {
51926
- _this37.flowSuccess();
51972
+ _this38.flowSuccess();
51927
51973
  } else {
51928
- _this37.$message.error(message || '系统错误,请联系管理员!');
51929
- _this37.$emit('error');
51974
+ _this38.$message.error(message || '系统错误,请联系管理员!');
51975
+ _this38.$emit('error');
51930
51976
  }
51931
51977
  }).catch(function (err) {
51932
- _this37.loading.close();
51978
+ _this38.loading.close();
51933
51979
  if (err.message && err.message !== 'canceled') {
51934
- _this37.$message.error(err.message);
51980
+ _this38.$message.error(err.message);
51935
51981
  }
51936
51982
  }));
51937
51983
 
@@ -51940,7 +51986,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
51940
51986
  return _context.stop();
51941
51987
  }
51942
51988
  }
51943
- }, _callee, _this37);
51989
+ }, _callee, _this38);
51944
51990
  })));
51945
51991
  return _context2.abrupt('return');
51946
51992
 
@@ -51951,46 +51997,46 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
51951
51997
  }
51952
51998
 
51953
51999
  _context2.next = 25;
51954
- return _this37.saveInfo('subMit');
52000
+ return _this38.saveInfo('subMit');
51955
52001
 
51956
52002
  case 25:
51957
- _this37.loading = utils_util.loading(_this37.$loading, '加载中...');
52003
+ _this38.loading = utils_util.loading(_this38.$loading, '加载中...');
51958
52004
 
51959
52005
  case 26:
51960
52006
  notificationType = '';
51961
52007
 
51962
- notificationType = _this37.nextNode.notificationType.join(',');
52008
+ notificationType = _this38.nextNode.notificationType.join(',');
51963
52009
  addSignUserId = addSignUserId.join(',');
51964
52010
  removeSignUserId = removeSignUserId.join(',');
51965
- if (!_this37.isCanPreAddSign || _this37.nextNode.isAddSign != '1') {
51966
- delete _this37.nextNode.addSignMode;
52011
+ if (!_this38.isCanPreAddSign || _this38.nextNode.isAddSign != '1') {
52012
+ delete _this38.nextNode.addSignMode;
51967
52013
  }
51968
52014
 
51969
- params = flow_src_mainvue_type_script_lang_js_extends({}, _this37.nextNode, {
51970
- nextOperate: _this37.oldNextOperate !== '' ? _this37.oldNextOperate : _this37.nextNode.nextOperate,
51971
- pendingId: _this37.pendingId,
51972
- opinion: _this37.isForceDisplayDefaultOptionForPrefix && !_this37.value.startsWith(_this37.nodeDefaultSubmitOpinion) ? _this37.nodeDefaultSubmitOpinion + _this37.value : _this37.value,
52015
+ params = flow_src_mainvue_type_script_lang_js_extends({}, _this38.nextNode, {
52016
+ nextOperate: _this38.oldNextOperate !== '' ? _this38.oldNextOperate : _this38.nextNode.nextOperate,
52017
+ pendingId: _this38.pendingId,
52018
+ opinion: _this38.isForceDisplayDefaultOptionForPrefix && !_this38.value.startsWith(_this38.nodeDefaultSubmitOpinion) ? _this38.nodeDefaultSubmitOpinion + _this38.value : _this38.value,
51973
52019
  userId: utils_util.getStorage('userId'),
51974
- nextUserId: _this37.multiple ? nextUserId.join(',') : _this37.nextNode.nextUserId,
52020
+ nextUserId: _this38.multiple ? nextUserId.join(',') : _this38.nextNode.nextUserId,
51975
52021
  addSignUserId: addSignUserId,
51976
- customPresetUserJson: JSON.stringify(_this37.presetList),
51977
- presetUserJson: JSON.stringify(_this37.presetUserJson),
52022
+ customPresetUserJson: JSON.stringify(_this38.presetList),
52023
+ presetUserJson: JSON.stringify(_this38.presetUserJson),
51978
52024
  removeSignUserId: removeSignUserId,
51979
- nextReadUserId: _this37.readMultiple ? _this37.mixReadList && _this37.mixReadList.join('|') : _this37.nextNode.nextReadUserId,
51980
- nextOrgId: !_this37.isShowNextUser ? _this37.multiple ? _this37.mixOrgIdList && _this37.mixOrgIdList.join('|') : _this37.nextNode.nextOrgId : '',
51981
- presetReadUserId: _this37.mixPresetList && _this37.mixPresetList.length > 0 ? _this37.mixPresetList.join('|') : _this37.nextNode.presetReadUserId.join(','),
52025
+ nextReadUserId: _this38.readMultiple ? _this38.mixReadList && _this38.mixReadList.join('|') : _this38.nextNode.nextReadUserId,
52026
+ nextOrgId: !_this38.isShowNextUser ? _this38.multiple ? _this38.mixOrgIdList && _this38.mixOrgIdList.join('|') : _this38.nextNode.nextOrgId : '',
52027
+ presetReadUserId: _this38.mixPresetList && _this38.mixPresetList.length > 0 ? _this38.mixPresetList.join('|') : _this38.nextNode.presetReadUserId.join(','),
51982
52028
  notificationType: notificationType
51983
52029
  });
51984
52030
 
51985
- if (_this37.activeNames != '1') delete params.customPresetUserJson;
52031
+ if (_this38.activeNames != '1') delete params.customPresetUserJson;
51986
52032
  delete params.customLimitTimeText;
51987
- if (_this37.nextNode.isRemoveSign != '1') {
52033
+ if (_this38.nextNode.isRemoveSign != '1') {
51988
52034
  delete params.removeSignUserId;
51989
52035
  }
51990
- if (_this37.nextNode.isAddSign != '1') {
52036
+ if (_this38.nextNode.isAddSign != '1') {
51991
52037
  delete params.addSignUserId;
51992
52038
  }
51993
- if (!_this37.isSpecial) {
52039
+ if (!_this38.isSpecial) {
51994
52040
  delete params.nextUserId;
51995
52041
  }
51996
52042
 
@@ -51999,13 +52045,13 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
51999
52045
  break;
52000
52046
  }
52001
52047
 
52002
- params.isSubFlow = _this37.taskExamineInfo.isSubFlow;
52003
- _this37.taskParams = params;
52048
+ params.isSubFlow = _this38.taskExamineInfo.isSubFlow;
52049
+ _this38.taskParams = params;
52004
52050
  return _context2.abrupt('return');
52005
52051
 
52006
52052
  case 41:
52007
- _this37.loading = utils_util.loading(_this37.$loading, '提交中...');
52008
- isEndUserTask = _this37.isEndUserTask, choiceOrgId = _this37.choiceOrgId, choiceDeptId = _this37.choiceDeptId, pOrgId = _this37.pOrgId, taskExamineInfo = _this37.taskExamineInfo, currentNodeIsCircularReadNode = _this37.currentNodeIsCircularReadNode, needRetrialAuth = _this37.needRetrialAuth, circularReadParamsMap = _this37.circularReadParamsMap, currentNodeEnableItemHandleDescription = _this37.currentNodeEnableItemHandleDescription;
52053
+ _this38.loading = utils_util.loading(_this38.$loading, '提交中...');
52054
+ isEndUserTask = _this38.isEndUserTask, choiceOrgId = _this38.choiceOrgId, choiceDeptId = _this38.choiceDeptId, pOrgId = _this38.pOrgId, taskExamineInfo = _this38.taskExamineInfo, currentNodeIsCircularReadNode = _this38.currentNodeIsCircularReadNode, needRetrialAuth = _this38.needRetrialAuth, circularReadParamsMap = _this38.circularReadParamsMap, currentNodeEnableItemHandleDescription = _this38.currentNodeEnableItemHandleDescription;
52009
52055
 
52010
52056
  params.isEndUserTask = isEndUserTask;
52011
52057
  params.choiceOrgId = choiceOrgId;
@@ -52029,17 +52075,17 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
52029
52075
  var status = res.status,
52030
52076
  message = res.message;
52031
52077
 
52032
- _this37.loading.close();
52078
+ _this38.loading.close();
52033
52079
  if (status === 'success') {
52034
- _this37.flowSuccess();
52080
+ _this38.flowSuccess();
52035
52081
  } else {
52036
- _this37.$message.error(message || '系统错误,请联系管理员!');
52037
- _this37.$emit('error');
52082
+ _this38.$message.error(message || '系统错误,请联系管理员!');
52083
+ _this38.$emit('error');
52038
52084
  }
52039
52085
  }).catch(function (err) {
52040
- _this37.loading.close();
52086
+ _this38.loading.close();
52041
52087
  if (err.message && err.message !== 'canceled') {
52042
- _this37.$message.error(err.message);
52088
+ _this38.$message.error(err.message);
52043
52089
  }
52044
52090
  }));
52045
52091
 
@@ -52051,7 +52097,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
52051
52097
  return _context2.stop();
52052
52098
  }
52053
52099
  }
52054
- }, _callee2, _this37);
52100
+ }, _callee2, _this38);
52055
52101
  }));
52056
52102
 
52057
52103
  return function (_x) {
@@ -52107,8 +52153,8 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
52107
52153
 
52108
52154
  var flow_src_main_component = normalizeComponent(
52109
52155
  packages_flow_src_mainvue_type_script_lang_js_,
52110
- mainvue_type_template_id_70db76e0_render,
52111
- mainvue_type_template_id_70db76e0_staticRenderFns,
52156
+ mainvue_type_template_id_8f765236_render,
52157
+ mainvue_type_template_id_8f765236_staticRenderFns,
52112
52158
  false,
52113
52159
  null,
52114
52160
  null,
@@ -102944,7 +102990,7 @@ if (typeof window !== 'undefined' && window.Vue) {
102944
102990
  }
102945
102991
 
102946
102992
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
102947
- version: '0.8.11',
102993
+ version: '0.8.13',
102948
102994
  install: install,
102949
102995
  Button: packages_button,
102950
102996
  ButtonGroup: button_group,