eoss-ui 0.8.11 → 0.8.12

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=5f0c32cd&
28421
+ var mainvue_type_template_id_5f0c32cd_render = function () {
28422
28422
  var _vm = this
28423
28423
  var _h = _vm.$createElement
28424
28424
  var _c = _vm._self._c || _h
@@ -28744,7 +28744,12 @@ var mainvue_type_template_id_70db76e0_render = function () {
28744
28744
  })
28745
28745
  : _c(
28746
28746
  "div",
28747
- { staticClass: "es-flow-content" },
28747
+ {
28748
+ staticClass: "es-flow-content",
28749
+ style: {
28750
+ "justify-content": _vm.fullFlow ? "space-between" : "unset",
28751
+ },
28752
+ },
28748
28753
  [
28749
28754
  _c(
28750
28755
  "div",
@@ -31476,11 +31481,11 @@ var mainvue_type_template_id_70db76e0_render = function () {
31476
31481
  )
31477
31482
  : _vm._e()
31478
31483
  }
31479
- var mainvue_type_template_id_70db76e0_staticRenderFns = []
31480
- mainvue_type_template_id_70db76e0_render._withStripped = true
31484
+ var mainvue_type_template_id_5f0c32cd_staticRenderFns = []
31485
+ mainvue_type_template_id_5f0c32cd_render._withStripped = true
31481
31486
 
31482
31487
 
31483
- // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=70db76e0&
31488
+ // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=5f0c32cd&
31484
31489
 
31485
31490
  // 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
31491
  var CommonOpinionsvue_type_template_id_7b4f1542_render = function () {
@@ -49473,6 +49478,14 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
49473
49478
  return {};
49474
49479
  }
49475
49480
  },
49481
+ fullFlow: {
49482
+ type: Boolean,
49483
+ default: true
49484
+ },
49485
+ showReadConfirm: {
49486
+ type: Boolean,
49487
+ default: true
49488
+ },
49476
49489
  width: {
49477
49490
  type: String
49478
49491
  },
@@ -50117,63 +50130,72 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50117
50130
  this.loading.close();
50118
50131
  }
50119
50132
  },
50120
- taskRead: function taskRead() {
50133
+ subRead: function subRead() {
50121
50134
  var _this8 = this;
50122
50135
 
50136
+ this.loading = utils_util.loading(this.$loading, '加载中...');
50137
+ var _taskExamineInfo2 = this.taskExamineInfo,
50138
+ businessId = _taskExamineInfo2.businessId,
50139
+ appId = _taskExamineInfo2.appId,
50140
+ processDefinitionId = _taskExamineInfo2.processDefinitionId,
50141
+ pendingId = _taskExamineInfo2.pendingId;
50142
+
50143
+ var params = {
50144
+ businessId: businessId,
50145
+ appId: appId,
50146
+ processDefinitionId: processDefinitionId,
50147
+ pendingId: pendingId,
50148
+ opinion: this.value,
50149
+ taskAction: 'complete'
50150
+ };
50151
+ utils_util.ajax({
50152
+ url: taskReadHtml,
50153
+ params: { taskAction: 'complete' },
50154
+ headers: {
50155
+ Accept: 'application/json,text/plain'
50156
+ },
50157
+ method: 'post',
50158
+ data: params
50159
+ }).then(function (res) {
50160
+ var status = res.status,
50161
+ message = res.message;
50162
+
50163
+ _this8.loading.close();
50164
+ if (status === 'success') {
50165
+ _this8.flowSuccess();
50166
+ // this.$message.success('提交成功');
50167
+ // this.$emit('success');
50168
+ } else {
50169
+ _this8.$message.error(message || '系统错误,请联系管理员!');
50170
+ _this8.$emit('error');
50171
+ }
50172
+ }).catch(function (err) {
50173
+ _this8.loading.close();
50174
+ if (err.message && err.message !== 'canceled') {
50175
+ _this8.$message.error(err.message);
50176
+ }
50177
+ });
50178
+ },
50179
+ taskRead: function taskRead() {
50180
+ var _this9 = this;
50181
+
50123
50182
  if (this.taskReadOpinionRequired == 'true' && !this.value) {
50124
50183
  if (!this.$refs.commonOpinions.validate()) return;
50125
50184
  }
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 () {});
50185
+ if (this.showReadConfirm) {
50186
+ this.$confirm('确认提交?', '提示', {
50187
+ confirmButtonText: '确定',
50188
+ cancelButtonText: '取消',
50189
+ type: 'warning'
50190
+ }).then(function () {
50191
+ _this9.subRead();
50192
+ }).catch(function () {});
50193
+ } else {
50194
+ this.subRead();
50195
+ }
50174
50196
  },
50175
50197
  validReadTransferHandle: function validReadTransferHandle(readTransferHandleBusinessId, readTransferHandleProcessKey) {
50176
- var _this9 = this;
50198
+ var _this10 = this;
50177
50199
 
50178
50200
  var params = {
50179
50201
  url: checkBusinessIdStartedReadTransferHandle,
@@ -50184,14 +50206,14 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50184
50206
  }
50185
50207
  };
50186
50208
  utils_util.ajax(params).then(function (res) {
50187
- _this9.loading.close();
50209
+ _this10.loading.close();
50188
50210
  if (res.rCode == 0) {
50189
- _this9.readTransferHandleDisabled = !res.results.canReadTransferHandle;
50211
+ _this10.readTransferHandleDisabled = !res.results.canReadTransferHandle;
50190
50212
  }
50191
50213
  });
50192
50214
  },
50193
50215
  getTaskReadFlow: function getTaskReadFlow() {
50194
- var _this10 = this;
50216
+ var _this11 = this;
50195
50217
 
50196
50218
  this.loading = utils_util.loading(this.$loading, '加载中...');
50197
50219
  utils_util.ajax({
@@ -50208,32 +50230,32 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50208
50230
  defaultNotificationMessage = _res$data.defaultNotificationMessage;
50209
50231
 
50210
50232
  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();
50233
+ _this11.taskExamineInfo = taskExamine;
50234
+ _this11.nodeName = _this11.nodename || taskExamine.nodeName || '分阅';
50235
+ _this11.taskReadOpinionRequired = taskReadOpinionRequired;
50236
+ _this11.nextNode.notificationMsg = defaultNotificationMessage;
50237
+ _this11.isCanReadTransferHandle = isCanReadTransferHandle;
50238
+ _this11.isCanFenyue = isCanFenyue;
50239
+ if (_this11.nodeName) {
50240
+ _this11.NodeName = _this11.nodeName;
50241
+ }
50242
+ if (_this11.isCanReadTransferHandle) {
50243
+ _this11.validReadTransferHandle(taskExamine.businessId, taskExamine.processDefinitionId);
50244
+ }
50245
+ _this11.getNodeType();
50224
50246
  } else {
50225
- _this10.$message.error(message || '系统错误,请联系管理员!');
50247
+ _this11.$message.error(message || '系统错误,请联系管理员!');
50226
50248
  }
50227
- _this10.loading.close();
50249
+ _this11.loading.close();
50228
50250
  }).catch(function (err) {
50229
- _this10.loading.close();
50251
+ _this11.loading.close();
50230
50252
  if (err.message && err.message !== 'canceled') {
50231
- _this10.$message.error(err.message);
50253
+ _this11.$message.error(err.message);
50232
50254
  }
50233
50255
  });
50234
50256
  },
50235
50257
  getUserInfo: function getUserInfo() {
50236
- var _this11 = this;
50258
+ var _this12 = this;
50237
50259
 
50238
50260
  var mainConfig = utils_util.getStorage('mainConfig');
50239
50261
  if (mainConfig) {
@@ -50244,14 +50266,14 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50244
50266
  data = res.data;
50245
50267
 
50246
50268
  if (status == 'success') {
50247
- _this11.userModel = data;
50269
+ _this12.userModel = data;
50248
50270
  } else {
50249
50271
  var msg = res.msg || '系统错误,请联系管理员!';
50250
- _this11.$message.error(msg);
50272
+ _this12.$message.error(msg);
50251
50273
  }
50252
50274
  }).catch(function (err) {
50253
50275
  if (err.message && err.message !== 'canceled') {
50254
- _this11.$message.error(err.message);
50276
+ _this12.$message.error(err.message);
50255
50277
  }
50256
50278
  });
50257
50279
  }
@@ -50271,7 +50293,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50271
50293
  }
50272
50294
  },
50273
50295
  getNodeType: function getNodeType() {
50274
- var _this12 = this;
50296
+ var _this13 = this;
50275
50297
 
50276
50298
  var params = {
50277
50299
  url: findCodeValues,
@@ -50286,11 +50308,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50286
50308
  data = res.data;
50287
50309
 
50288
50310
  if (status === 'success') {
50289
- _this12.newsList = data;
50311
+ _this13.newsList = data;
50290
50312
  }
50291
50313
  }).catch(function (err) {
50292
50314
  if (err.message && err.message !== 'canceled') {
50293
- _this12.$message.error(err.message);
50315
+ _this13.$message.error(err.message);
50294
50316
  }
50295
50317
  });
50296
50318
  },
@@ -50302,17 +50324,17 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50302
50324
  * @date 2022年9月9日
50303
50325
  **/
50304
50326
  saveInfo: function saveInfo(type, btn) {
50305
- var _this13 = this;
50327
+ var _this14 = this;
50306
50328
 
50307
50329
  if (this.isFlow) {
50308
50330
  if (!type) {
50309
50331
  if (btn && btn.before) {
50310
50332
  btn.before(Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 1).then(function (next) {
50311
- _this13.$emit('save', _this13.businessIds);
50333
+ _this14.$emit('save', _this14.businessIds);
50312
50334
  }).catch(function (e) {});
50313
50335
  } else if (this.beforeSubmit != undefined) {
50314
50336
  this.beforeSubmit(btn && Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 1).then(function (next) {
50315
- _this13.$emit('save', _this13.businessIds);
50337
+ _this14.$emit('save', _this14.businessIds);
50316
50338
  }).catch(function (e) {});
50317
50339
  } else {
50318
50340
  this.$emit('save', this.businessIds);
@@ -50321,13 +50343,13 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50321
50343
  } else {
50322
50344
  if (btn && btn.before && !type) {
50323
50345
  btn.before(Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 2).then(function (next) {
50324
- _this13.saveFlowInfo();
50346
+ _this14.saveFlowInfo();
50325
50347
  }).catch(function (e) {});
50326
50348
  } else if (this.beforeSubmit == undefined && !type) {
50327
50349
  this.subFun(this.saveFlowInfo);
50328
50350
  } else if (!type && this.beforeSubmit != undefined) {
50329
50351
  this.beforeSubmit(btn && Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 2).then(function (next) {
50330
- _this13.saveFlowInfo();
50352
+ _this14.saveFlowInfo();
50331
50353
  }).catch(function (e) {});
50332
50354
  } else {
50333
50355
  this.saveFlowInfo(type);
@@ -50335,7 +50357,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50335
50357
  }
50336
50358
  },
50337
50359
  saveFlowInfo: function saveFlowInfo(isSave) {
50338
- var _this14 = this;
50360
+ var _this15 = this;
50339
50361
 
50340
50362
  var params = {
50341
50363
  opinion: this.value,
@@ -50346,17 +50368,17 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50346
50368
  var status = res.status,
50347
50369
  message = res.message;
50348
50370
 
50349
- if (!isSave) _this14.loading.close();
50371
+ if (!isSave) _this15.loading.close();
50350
50372
  if (status == 'success') {
50351
50373
  // this.$message.success('暂存成功');
50352
- !isSave && _this14.$emit('save', _this14.businessIds);
50374
+ !isSave && _this15.$emit('save', _this15.businessIds);
50353
50375
  } else {
50354
- _this14.$message.error(message || '系统错误,请联系管理员!');
50376
+ _this15.$message.error(message || '系统错误,请联系管理员!');
50355
50377
  }
50356
50378
  }).catch(function (err) {
50357
- if (!isSave) _this14.loading.close();
50379
+ if (!isSave) _this15.loading.close();
50358
50380
  if (err.message && err.message !== 'canceled') {
50359
- _this14.$message.error(err.message);
50381
+ _this15.$message.error(err.message);
50360
50382
  }
50361
50383
  });
50362
50384
  },
@@ -50368,7 +50390,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50368
50390
  * @date 2022年5月25日
50369
50391
  **/
50370
50392
  rejectBtn: function rejectBtn() {
50371
- var _this15 = this;
50393
+ var _this16 = this;
50372
50394
 
50373
50395
  if (this.value === '') this.value = this.nodeDefaultRejectOpinion;
50374
50396
  if (!this.value) {
@@ -50376,7 +50398,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50376
50398
  }
50377
50399
  if (this.beforeSubmit != undefined) {
50378
50400
  this.beforeSubmit(0).then(function (next) {
50379
- _this15.showReject = true;
50401
+ _this16.showReject = true;
50380
50402
  }).catch(function (e) {});
50381
50403
  } else {
50382
50404
  this.showReject = true;
@@ -50390,14 +50412,14 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50390
50412
  * @date 2022年5月25日
50391
50413
  **/
50392
50414
  taskReadBtn: function taskReadBtn() {
50393
- var _this16 = this;
50415
+ var _this17 = this;
50394
50416
 
50395
50417
  // return this.$message.warning('暂未开放!敬请期待');
50396
50418
  if (this.beforeSubmit != undefined) {
50397
50419
  this.beforeSubmit().then(function (next) {
50398
- if (_this16.value === '') _this16.value = _this16.nodeDefaultRejectOpinion;
50399
- _this16.taskReadType = 'create';
50400
- _this16.showTaskRead = true;
50420
+ if (_this17.value === '') _this17.value = _this17.nodeDefaultRejectOpinion;
50421
+ _this17.taskReadType = 'create';
50422
+ _this17.showTaskRead = true;
50401
50423
  }).catch(function (e) {});
50402
50424
  } else {
50403
50425
  if (this.value === '') this.value = this.nodeDefaultRejectOpinion;
@@ -50413,7 +50435,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50413
50435
  * @date 2022年5月25日
50414
50436
  **/
50415
50437
  getFind: function getFind() {
50416
- var _this17 = this;
50438
+ var _this18 = this;
50417
50439
 
50418
50440
  utils_util.ajax({
50419
50441
  url: findSysCodes
@@ -50422,26 +50444,26 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50422
50444
  message = res.message;
50423
50445
 
50424
50446
  if (status === 'success') {
50425
- if (_this17.hideMessage) return;
50426
- _this17.nextNode.notificationType = message.split(',');
50447
+ if (_this18.hideMessage) return;
50448
+ _this18.nextNode.notificationType = message.split(',');
50427
50449
  var arr = [];
50428
- _this17.newsList.map(function (item) {
50429
- _this17.nextNode.notificationType.map(function (x) {
50450
+ _this18.newsList.map(function (item) {
50451
+ _this18.nextNode.notificationType.map(function (x) {
50430
50452
  if (x == item.cciValue) {
50431
50453
  arr.push(x);
50432
50454
  }
50433
50455
  });
50434
50456
  });
50435
- _this17.nextNode.notificationType = arr;
50457
+ _this18.nextNode.notificationType = arr;
50436
50458
  }
50437
50459
  }).catch(function (err) {
50438
50460
  if (err.message && err.message !== 'canceled') {
50439
- _this17.$message.error(err.message);
50461
+ _this18.$message.error(err.message);
50440
50462
  }
50441
50463
  });
50442
50464
  },
50443
50465
  getFreeStartParams: function getFreeStartParams() {
50444
- var _this18 = this;
50466
+ var _this19 = this;
50445
50467
 
50446
50468
  var _endFlowInfo = this.endFlowInfo,
50447
50469
  businessId = _endFlowInfo.businessId,
@@ -50459,20 +50481,20 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50459
50481
  };
50460
50482
  this.loading = utils_util.loading(this.$loading, '加载中...');
50461
50483
  utils_util.ajax(param).then(function (res) {
50462
- _this18.loading.close();
50484
+ _this19.loading.close();
50463
50485
  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('未找到流程定义!');
50486
+ _this19.freeStartFlowParams = res.results;
50487
+ if (res.results.useScene === 'multiInsMidwayWithSubmitScene') _this19.subProcess('同意。', res.results.useScene);
50488
+ if (!_this19.freeValid) return;
50489
+ if (res.results.startFlowIndexProcessKeys && res.results.startFlowIndexProcessKeys.length == 0 || !res.results.startFlowIndexProcessKeys) return _this19.$message.warning('未找到流程定义!');
50468
50490
  if (res.results.startFlowIndexProcessKeys.length == 1) {
50469
- _this18.freeStartFlowNextNode = res.results.startFlowIndexProcessKeys[0];
50470
- _this18.handleVisible = true;
50491
+ _this19.freeStartFlowNextNode = res.results.startFlowIndexProcessKeys[0];
50492
+ _this19.handleVisible = true;
50471
50493
  } else {
50472
- _this18.showFreeStartFlow = true;
50494
+ _this19.showFreeStartFlow = true;
50473
50495
  }
50474
50496
  } else {
50475
- _this18.$message.error(res.message || '系统错误,请联系管理员!');
50497
+ _this19.$message.error(res.message || '系统错误,请联系管理员!');
50476
50498
  }
50477
50499
  });
50478
50500
  },
@@ -50485,53 +50507,53 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50485
50507
  * @date 2022年5月25日
50486
50508
  **/
50487
50509
  endFlows: function endFlows(res) {
50488
- var _this19 = this;
50510
+ var _this20 = this;
50489
50511
 
50490
50512
  if (this.beforeSubmit != undefined) {
50491
50513
  this.beforeSubmit().then(function (next) {
50492
- _this19.saveEndFlows(res);
50514
+ _this20.saveEndFlows(res);
50493
50515
  }).catch(function (e) {});
50494
50516
  } else {
50495
50517
  this.saveEndFlows(res);
50496
50518
  }
50497
50519
  },
50498
50520
  saveEndFlows: function saveEndFlows(res) {
50499
- var _this20 = this;
50521
+ var _this21 = this;
50500
50522
 
50501
50523
  this.$confirm('确认' + res.value + '?').then(function () {
50502
50524
  var params = {
50503
50525
  url: endFlowHtml,
50504
50526
  headers: { Accept: 'application/json,text/plain' },
50505
50527
  method: 'post',
50506
- data: flow_src_mainvue_type_script_lang_js_extends({}, _this20.endFlowInfo, _this20.nextNode, {
50507
- opinion: _this20.value,
50528
+ data: flow_src_mainvue_type_script_lang_js_extends({}, _this21.endFlowInfo, _this21.nextNode, {
50529
+ opinion: _this21.value,
50508
50530
  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(',')
50531
+ nextUserId: _this21.multiple ? _this21.nextNode.nextUserId.join(',') : _this21.nextNode.nextUserId,
50532
+ addSignUserId: _this21.nextNode.addSignUserId.join(','),
50533
+ customPresetUserJson: JSON.stringify(_this21.presetList),
50534
+ presetUserJson: JSON.stringify(_this21.presetUserJson),
50535
+ removeSignUserId: _this21.nextNode.removeSignUserId.join(','),
50536
+ notificationType: _this21.nextNode.notificationType.join(',')
50515
50537
  })
50516
50538
  };
50517
- _this20.loading = utils_util.loading(_this20.$loading, '加载中...');
50539
+ _this21.loading = utils_util.loading(_this21.$loading, '加载中...');
50518
50540
  utils_util.ajax(params).then(function (res) {
50519
50541
  var status = res.status,
50520
50542
  message = res.message;
50521
50543
 
50522
- _this20.loading.close();
50544
+ _this21.loading.close();
50523
50545
  if (status === 'success') {
50524
- _this20.flowSuccess();
50546
+ _this21.flowSuccess();
50525
50547
  // this.$message.success('提交成功');
50526
50548
  // this.$emit('success');
50527
50549
  } else {
50528
- _this20.$message.error(message || '系统错误,请联系管理员!');
50529
- _this20.$emit('error');
50550
+ _this21.$message.error(message || '系统错误,请联系管理员!');
50551
+ _this21.$emit('error');
50530
50552
  }
50531
50553
  }).catch(function (err) {
50532
- _this20.loading.close();
50554
+ _this21.loading.close();
50533
50555
  if (err.message && err.message !== 'canceled') {
50534
- _this20.$message.error(err.message);
50556
+ _this21.$message.error(err.message);
50535
50557
  }
50536
50558
  });
50537
50559
  }).catch(function (e) {});
@@ -50636,11 +50658,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50636
50658
  * @date 2022年9月29日
50637
50659
  **/
50638
50660
  toTakeAdvice: function toTakeAdvice(res) {
50639
- var _this21 = this;
50661
+ var _this22 = this;
50640
50662
 
50641
50663
  if (this.beforeSubmit != undefined) {
50642
50664
  this.beforeSubmit().then(function (next) {
50643
- _this21.saveToTakeAdvice(res);
50665
+ _this22.saveToTakeAdvice(res);
50644
50666
  }).catch(function (e) {});
50645
50667
  } else {
50646
50668
  this.saveToTakeAdvice(res);
@@ -50648,7 +50670,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50648
50670
  // return this.$message.warning('暂未开放!敬请期待');
50649
50671
  },
50650
50672
  saveToTakeAdvice: function saveToTakeAdvice(res) {
50651
- var _this22 = this;
50673
+ var _this23 = this;
50652
50674
 
50653
50675
  var params = {
50654
50676
  url: isCanStartSubFlow,
@@ -50663,16 +50685,16 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50663
50685
  utils_util.ajax(params).then(function (res) {
50664
50686
  var message = res.message;
50665
50687
 
50666
- _this22.loading.close();
50688
+ _this23.loading.close();
50667
50689
  if (message == 'success') {
50668
- _this22.showTaskUnionExamine = true;
50690
+ _this23.showTaskUnionExamine = true;
50669
50691
  } else {
50670
- _this22.$message.error(message || '系统错误,请联系管理员!');
50692
+ _this23.$message.error(message || '系统错误,请联系管理员!');
50671
50693
  }
50672
50694
  }).catch(function (err) {
50673
- _this22.loading.close();
50695
+ _this23.loading.close();
50674
50696
  if (err.message && err.message !== 'canceled') {
50675
- _this22.$message.error(err.message);
50697
+ _this23.$message.error(err.message);
50676
50698
  }
50677
50699
  });
50678
50700
  },
@@ -50684,11 +50706,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50684
50706
  * @date 2022年9月29日
50685
50707
  **/
50686
50708
  toStartDraf: function toStartDraf(res) {
50687
- var _this23 = this;
50709
+ var _this24 = this;
50688
50710
 
50689
50711
  if (this.beforeSubmit != undefined) {
50690
50712
  this.beforeSubmit().then(function (next) {
50691
- _this23.showTaskUnionExamine = true;
50713
+ _this24.showTaskUnionExamine = true;
50692
50714
  }).catch(function (e) {});
50693
50715
  } else {
50694
50716
  this.showTaskUnionExamine = true;
@@ -50702,11 +50724,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50702
50724
  * @date 2022年9月29日
50703
50725
  **/
50704
50726
  toSendMsg: function toSendMsg(res) {
50705
- var _this24 = this;
50727
+ var _this25 = this;
50706
50728
 
50707
50729
  if (this.beforeSubmit != undefined) {
50708
50730
  this.beforeSubmit().then(function (next) {
50709
- _this24.showSendMsg = true;
50731
+ _this25.showSendMsg = true;
50710
50732
  }).catch(function (e) {});
50711
50733
  } else {
50712
50734
  this.showSendMsg = true;
@@ -50720,13 +50742,13 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50720
50742
  * @date 2022年9月29日
50721
50743
  **/
50722
50744
  toTaskReadAndEnd: function toTaskReadAndEnd(res) {
50723
- var _this25 = this;
50745
+ var _this26 = this;
50724
50746
 
50725
50747
  if (this.beforeSubmit != undefined) {
50726
50748
  this.beforeSubmit().then(function (next) {
50727
- if (_this25.value === '') _this25.value = _this25.nodeDefaultRejectOpinion;
50728
- _this25.taskReadType = 'taskReadAndEnd';
50729
- _this25.showTaskRead = true;
50749
+ if (_this26.value === '') _this26.value = _this26.nodeDefaultRejectOpinion;
50750
+ _this26.taskReadType = 'taskReadAndEnd';
50751
+ _this26.showTaskRead = true;
50730
50752
  }).catch(function (e) {});
50731
50753
  } else {
50732
50754
  if (this.value === '') this.value = this.nodeDefaultRejectOpinion;
@@ -50742,21 +50764,21 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50742
50764
  * @date 2022年9月29日
50743
50765
  **/
50744
50766
  rejectAndEnd: function rejectAndEnd(res) {
50745
- var _this26 = this;
50767
+ var _this27 = this;
50746
50768
 
50747
50769
  if (this.isOpinionRequired == 1 && (this.value == '' || !this.value)) {
50748
50770
  if (!this.$refs.commonOpinions.validate()) return;
50749
50771
  }
50750
50772
  if (this.beforeSubmit != undefined) {
50751
50773
  this.beforeSubmit().then(function (next) {
50752
- _this26.saveRejectAndEnd(res);
50774
+ _this27.saveRejectAndEnd(res);
50753
50775
  }).catch(function (e) {});
50754
50776
  } else {
50755
50777
  this.saveRejectAndEnd(res);
50756
50778
  }
50757
50779
  },
50758
50780
  saveRejectAndEnd: function saveRejectAndEnd(res) {
50759
- var _this27 = this;
50781
+ var _this28 = this;
50760
50782
 
50761
50783
  this.$confirm('确认' + res.value + '?').then(function () {
50762
50784
  // return this.$message.warning('请填写意见');
@@ -50765,29 +50787,29 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50765
50787
  headers: { Accept: 'application/json,text/plain' },
50766
50788
  method: 'post',
50767
50789
  data: {
50768
- opinion: _this27.value,
50769
- pendingId: _this27.pendingId,
50790
+ opinion: _this28.value,
50791
+ pendingId: _this28.pendingId,
50770
50792
  isSinglePage: false
50771
50793
  }
50772
50794
  };
50773
- _this27.loading = utils_util.loading(_this27.$loading, '加载中...');
50795
+ _this28.loading = utils_util.loading(_this28.$loading, '加载中...');
50774
50796
  utils_util.ajax(params).then(function (res) {
50775
50797
  var status = res.status,
50776
50798
  message = res.message;
50777
50799
 
50778
- _this27.loading.close();
50800
+ _this28.loading.close();
50779
50801
  if (status === 'success') {
50780
- _this27.flowSuccess();
50802
+ _this28.flowSuccess();
50781
50803
  // this.$message.success('提交成功');
50782
50804
  // this.$emit('success');
50783
50805
  } else {
50784
- _this27.$message.error(message || '系统错误,请联系管理员!');
50785
- _this27.$emit('error');
50806
+ _this28.$message.error(message || '系统错误,请联系管理员!');
50807
+ _this28.$emit('error');
50786
50808
  }
50787
50809
  }).catch(function (err) {
50788
- _this27.loading.close();
50810
+ _this28.loading.close();
50789
50811
  if (err.message && err.message !== 'canceled') {
50790
- _this27.$message.error(err.message);
50812
+ _this28.$message.error(err.message);
50791
50813
  }
50792
50814
  });
50793
50815
  }).catch(function () {
@@ -50802,12 +50824,12 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50802
50824
  * @date 2022年9月29日
50803
50825
  **/
50804
50826
  toTransfer: function toTransfer(res) {
50805
- var _this28 = this;
50827
+ var _this29 = this;
50806
50828
 
50807
50829
  if (this.beforeSubmit != undefined) {
50808
50830
  this.beforeSubmit(0).then(function (next) {
50809
- _this28.taskReadType = 'transfer';
50810
- _this28.showTaskRead = true;
50831
+ _this29.taskReadType = 'transfer';
50832
+ _this29.showTaskRead = true;
50811
50833
  }).catch(function (e) {});
50812
50834
  } else {
50813
50835
  this.taskReadType = 'transfer';
@@ -50825,7 +50847,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50825
50847
  * @date 2022年5月25日
50826
50848
  **/
50827
50849
  getNodeInfo: function getNodeInfo() {
50828
- var _this29 = this;
50850
+ var _this30 = this;
50829
50851
 
50830
50852
  var params = {
50831
50853
  processDefinitionId: this.nodeInfo.nextNode,
@@ -50840,53 +50862,53 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50840
50862
  message = res.message,
50841
50863
  data = res.data;
50842
50864
 
50843
- _this29.loading.close();
50865
+ _this30.loading.close();
50844
50866
  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 + '';
50867
+ _this30.isCurrentNodeForbiddenChangeCandidate = data.nodeExtAttr.isCurrentNodeForbiddenChangeCandidate;
50868
+ _this30.currentNodeEnableItemHandleDescription = data.nodeExtAttr.currentNodeEnableItemHandleDescription == 1;
50869
+ _this30.enableCustomLimitTimeSetting = data.nodeExtAttr.enableCustomLimitTimeSetting == 1;
50870
+ if (_this30.enableCustomLimitTimeSetting && data.nodeMoreInfo.defaultCustomLimitDays) {
50871
+ _this30.nextNode.customLimitTime = _this30.nextNode.customLimitTimeText = data.nodeMoreInfo.defaultCustomLimitDays + '';
50850
50872
  }
50851
50873
  if (data.nodeMoreInfo.chooseCurrentOrgUserCandidateNeedForbiddenSubDept === true) {
50852
- _this29.params.only_filid = true;
50874
+ _this30.params.only_filid = true;
50853
50875
  }
50854
- data.otherOrgDisabledObjId && (_this29.otherOrgDisabledObjId = data.otherOrgDisabledObjId.split(','));
50855
- data.currentOrgDisabledObjId && (_this29.currentOrgDisabledObjId = data.currentOrgDisabledObjId.split(','));
50876
+ data.otherOrgDisabledObjId && (_this30.otherOrgDisabledObjId = data.otherOrgDisabledObjId.split(','));
50877
+ data.currentOrgDisabledObjId && (_this30.currentOrgDisabledObjId = data.currentOrgDisabledObjId.split(','));
50856
50878
  if (data != null) {
50857
50879
  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);
50880
+ _this30.getIsShowNextUser(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
50859
50881
  } else {
50860
- _this29.isMultiple(data.nodeExtAttr && data.nodeExtAttr.userSelectionType, _this29.choiceOrgId, _this29.choiceDeptId, _this29.pOrgId);
50882
+ _this30.isMultiple(data.nodeExtAttr && data.nodeExtAttr.userSelectionType, _this30.choiceOrgId, _this30.choiceDeptId, _this30.pOrgId);
50861
50883
  }
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;
50884
+ _this30.isReadMultiple(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
50885
+ _this30.isTaskread = data.nodeExtAttr.isTaskread;
50886
+ _this30.isHandleExplain = data.nodeExtAttr.isHandleExplain;
50887
+ _this30.isLimitedTimeHandling = data.nodeExtAttr.isLimitedTimeHandling;
50888
+ _this30.nodeType = data.nodeExtAttr.nodeType;
50867
50889
  //如果当前为承办节点/会签节点,则展示本单位外单位办理人选择
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; //判断是否隐藏外单位
50890
+ if (_this30.nodeType === 1 || _this30.nodeType === 2) {
50891
+ _this30.isMainSubProcess === true ? _this30.isNodeShowProcess = true : _this30.isNodeShowProcess = false;
50892
+ _this30.isMainSubProcess === true ? _this30.isMainSubProcess = true : _this30.isMainSubProcess = false;
50893
+ _this30.isNextUser = false;
50894
+ _this30.isHideCurrentOrg = res.data.nodeExtAttr.isHideCurrentOrg == 1 ? false : true; //判断是否隐藏本单位
50895
+ _this30.isHideOtherOrg = res.data.nodeExtAttr.isHideOtherOrg == 1 ? false : true; //判断是否隐藏外单位
50874
50896
  } else {
50875
- _this29.isHideCurrentOrg = false;
50876
- _this29.isHideOtherOrg = false;
50877
- _this29.isNodeShowProcess = false;
50878
- _this29.isMainSubProcess = false;
50879
- _this29.isNextUser = _this29.nextNode.nextOperate != 9;
50897
+ _this30.isHideCurrentOrg = false;
50898
+ _this30.isHideOtherOrg = false;
50899
+ _this30.isNodeShowProcess = false;
50900
+ _this30.isMainSubProcess = false;
50901
+ _this30.isNextUser = _this30.nextNode.nextOperate != 9;
50880
50902
  // this.isMainSubProcess === true
50881
50903
  // ? (this.isMainSubProcess = true)
50882
50904
  // : (this.isMainSubProcess = false);
50883
50905
  }
50884
- _this29.multiple ? _this29.nextNode.nextUserId = [] : _this29.nextNode.nextUserId = '';
50885
- if (_this29.multiple && data.nodeExtAttr.isDefSelectedObj == 1 && data.nextUserList !== undefined) {
50906
+ _this30.multiple ? _this30.nextNode.nextUserId = [] : _this30.nextNode.nextUserId = '';
50907
+ if (_this30.multiple && data.nodeExtAttr.isDefSelectedObj == 1 && data.nextUserList !== undefined) {
50886
50908
  data.nextUserList.map(function (item) {
50887
50909
  if (item.userId && item.username) {
50888
- _this29.nextNode.nextUserId.push(item.userId);
50889
- _this29.selectUserList.push({
50910
+ _this30.nextNode.nextUserId.push(item.userId);
50911
+ _this30.selectUserList.push({
50890
50912
  showname: item.username,
50891
50913
  showid: item.userId
50892
50914
  });
@@ -50895,40 +50917,40 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50895
50917
  }
50896
50918
  data.nextUserList.map(function (item) {
50897
50919
  if (item.userId && item.username) {
50898
- _this29.options.push({
50920
+ _this30.options.push({
50899
50921
  showname: item.username,
50900
50922
  showid: item.userId
50901
50923
  });
50902
50924
  }
50903
50925
  });
50904
50926
  if (data.nodeExtAttr.presetEdit != 0) {
50905
- _this29.radioList = _this29.options;
50927
+ _this30.radioList = _this30.options;
50906
50928
  }
50907
- if (!_this29.multiple && data.nextUserList.length > 0 && data.nodeExtAttr.isDefSelectedObj == 1) {
50908
- _this29.nextNode.nextUserId = data.nextUserList[0].userId;
50909
- _this29.selectUserList.push({
50929
+ if (!_this30.multiple && data.nextUserList.length > 0 && data.nodeExtAttr.isDefSelectedObj == 1) {
50930
+ _this30.nextNode.nextUserId = data.nextUserList[0].userId;
50931
+ _this30.selectUserList.push({
50910
50932
  showname: data.nextUserList[0].username,
50911
50933
  showid: data.nextUserList[0].userId
50912
50934
  });
50913
50935
  }
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;
50936
+ _this30.isLimitedTimeHandling = data.nodeExtAttr.isLimitedTimeHandling;
50937
+ _this30.isCustomUser = data.nodeExtAttr.isCustomUser;
50938
+ _this30.presetEdit = data.nodeExtAttr.presetEdit;
50939
+ _this30.countersignaturetypeCode = data.countersignaturetypeCode; //是否展示处理方式
50940
+ _this30.handleMode = data.countersignaturetypeText;
50919
50941
  if (data.globalNodeType === 'endEvent') {
50920
- _this29.isNextUser = data.globalNodeType != 'endEvent';
50921
- data.globalNodeType === 'endEvent' ? _this29.endFlow = true : '';
50942
+ _this30.isNextUser = data.globalNodeType != 'endEvent';
50943
+ data.globalNodeType === 'endEvent' ? _this30.endFlow = true : '';
50922
50944
  }
50923
50945
  }
50924
- _this29.isCustomPreset && _this29.$refs.customPreset.getPresetFlowInfo(_this29.nextNode.nextNodeId, _this29.nodeInfo.nextNode, true);
50946
+ _this30.isCustomPreset && _this30.$refs.customPreset.getPresetFlowInfo(_this30.nextNode.nextNodeId, _this30.nodeInfo.nextNode, true);
50925
50947
  } else {
50926
- _this29.$message.error(message || '系统错误,请联系管理员!');
50948
+ _this30.$message.error(message || '系统错误,请联系管理员!');
50927
50949
  }
50928
50950
  }).catch(function (err) {
50929
- _this29.loading.close();
50951
+ _this30.loading.close();
50930
50952
  if (err.message && err.message !== 'canceled') {
50931
- _this29.$message.error(err.message);
50953
+ _this30.$message.error(err.message);
50932
50954
  }
50933
50955
  });
50934
50956
  },
@@ -50941,7 +50963,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50941
50963
  * @date 2022年5月25日
50942
50964
  **/
50943
50965
  selecNext: function selecNext(val, type, isDef) {
50944
- var _this30 = this;
50966
+ var _this31 = this;
50945
50967
 
50946
50968
  var isNextNode = false;
50947
50969
  if (type && val && this.operationList.length > 0) {
@@ -50991,13 +51013,13 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50991
51013
  this.operationList.forEach(function (item) {
50992
51014
  if (item.key === val) {
50993
51015
  if (!item.taskNodeList) {
50994
- _this30.nodeInfos = [];
51016
+ _this31.nodeInfos = [];
50995
51017
  } else {
50996
- _this30.nodeInfos = item.taskNodeList;
51018
+ _this31.nodeInfos = item.taskNodeList;
50997
51019
 
50998
- if (_this30.taskOperationShiftedNodeList) {
50999
- _this30.nodeInfos = item.taskNodeList.filter(function (x) {
51000
- return _this30.taskOperationShiftedNodeList.indexOf(x.nodeId) == -1;
51020
+ if (_this31.taskOperationShiftedNodeList) {
51021
+ _this31.nodeInfos = item.taskNodeList.filter(function (x) {
51022
+ return _this31.taskOperationShiftedNodeList.indexOf(x.nodeId) == -1;
51001
51023
  });
51002
51024
  }
51003
51025
  }
@@ -51006,7 +51028,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
51006
51028
  });
51007
51029
  if (this.defaultNextNode) {
51008
51030
  var defaultNode = this.nodeInfos.filter(function (item) {
51009
- return item.nodeId == _this30.defaultNextNode;
51031
+ return item.nodeId == _this31.defaultNextNode;
51010
51032
  });
51011
51033
  if (this.nodeInfos.length > 0 && defaultNode.length == 0) {
51012
51034
  this.nextNode.nextNodeId = this.nodeInfos[0].nodeId;
@@ -51121,7 +51143,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
51121
51143
  * @date 2022年5月25日
51122
51144
  **/
51123
51145
  getHedInfo: function getHedInfo() {
51124
- var _this31 = this;
51146
+ var _this32 = this;
51125
51147
 
51126
51148
  this.loading = utils_util.loading(this.$loading, '加载中...');
51127
51149
  var params = {
@@ -51131,7 +51153,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
51131
51153
  utils_util.ajax({ url: getHandleInfoHtml, params: params }).then(function (res) {
51132
51154
  //pc返回数据
51133
51155
 
51134
- _this31.loading.close();
51156
+ _this32.loading.close();
51135
51157
 
51136
51158
  if (res.status === 'success') {
51137
51159
  var _res$data2 = res.data,
@@ -51173,17 +51195,17 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
51173
51195
  isCanPreAddSign = _res$data2.isCanPreAddSign;
51174
51196
 
51175
51197
  if (temporarySaveButtonName) {
51176
- _this31.saveButtonName = temporarySaveButtonName;
51198
+ _this32.saveButtonName = temporarySaveButtonName;
51177
51199
  }
51178
51200
  if (simpleTips != undefined) {
51179
- _this31.simpleTips = simpleTips;
51201
+ _this32.simpleTips = simpleTips;
51180
51202
  }
51181
- _this31.$emit('startTaskRead', res);
51182
- _this31.$emit('start-task-read', res);
51203
+ _this32.$emit('startTaskRead', res);
51204
+ _this32.$emit('start-task-read', res);
51183
51205
  if (taskOperationShiftedNodeList && taskOperationShiftedNodeList.length > 0) {
51184
- _this31.taskOperationShiftedNodeList = [];
51206
+ _this32.taskOperationShiftedNodeList = [];
51185
51207
  taskOperationShiftedNodeList.map(function (x) {
51186
- _this31.taskOperationShiftedNodeList.push(x.nodeId);
51208
+ _this32.taskOperationShiftedNodeList.push(x.nodeId);
51187
51209
  taskOperations.push({
51188
51210
  key: x.nodeId,
51189
51211
  value: x.nodeName,
@@ -51192,158 +51214,158 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
51192
51214
  });
51193
51215
  });
51194
51216
  }
51195
- _this31.isHideTemporarySave = nodeInfoMap.nodeExtAttr.isHideTemporarySave == 1;
51196
- _this31.pendingItemHandleDescription = pendingItemHandleDescription;
51217
+ _this32.isHideTemporarySave = nodeInfoMap.nodeExtAttr.isHideTemporarySave == 1;
51218
+ _this32.pendingItemHandleDescription = pendingItemHandleDescription;
51197
51219
  if (currentOrgSelectorParams.enableCurrentOrgConfig == 'true') {
51198
- _this31.currentOrgSelectorTabs = currentOrgSelectorParams.currentOrgType.split(',');
51220
+ _this32.currentOrgSelectorTabs = currentOrgSelectorParams.currentOrgType.split(',');
51199
51221
  var currentOrgparams = currentOrgSelectorParams.currentOrgRange.split(',');
51200
- _this31.currentOrgSelectorTabs.map(function (x, i) {
51201
- _this31.currentOrgSelectorParams[x] = {
51222
+ _this32.currentOrgSelectorTabs.map(function (x, i) {
51223
+ _this32.currentOrgSelectorParams[x] = {
51202
51224
  filid: currentOrgparams[i] == 'my' ? choiceOrgId : currentOrgparams[i],
51203
51225
  only_filid: true
51204
51226
  };
51205
51227
  });
51206
51228
  }
51207
51229
  if (currentOrgSelectorParams.enableForeignOrgConfig == 'true') {
51208
- _this31.foreignOrgSelectorTabs = currentOrgSelectorParams.foreignOrgType.split(',');
51230
+ _this32.foreignOrgSelectorTabs = currentOrgSelectorParams.foreignOrgType.split(',');
51209
51231
  var foreignOrgparams = currentOrgSelectorParams.foreignOrgRange.split(',');
51210
- _this31.foreignOrgSelectorTabs.map(function (x, i) {
51211
- _this31.foreignOrgSelectorParams[x] = {
51232
+ _this32.foreignOrgSelectorTabs.map(function (x, i) {
51233
+ _this32.foreignOrgSelectorParams[x] = {
51212
51234
  filid: foreignOrgparams[i] == 'my' ? choiceOrgId : x == 'filgroup' ? '' : foreignOrgparams[i] == 'nofilidorg' || foreignOrgparams[i] == 'nofiliddept' ? 'all' : foreignOrgparams[i],
51213
51235
  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
51236
+ roleid: _this32.circularReadParamsMap.circularReadOrgRoleCode || _this32.foreignOrgSelectorParams.roleid
51215
51237
  };
51216
51238
  });
51217
51239
  }
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;
51240
+ _this32.circularReadParamsMap = circularReadParamsMap || {};
51241
+ if (_this32.circularReadParamsMap.circularReadOrgRoleCode) {
51242
+ _this32.foreignOrgSelectorParams.roleid = _this32.circularReadParamsMap.circularReadOrgRoleCode;
51243
+ }
51244
+ _this32.currentOrgName = currentOrgName;
51245
+ _this32.nextOperateCheckType = nextOperateCheckType || 'select';
51246
+ _this32.currentNodeIsCircularReadNode = nodeInfoMap.nodeExtAttr.currentNodeIsCircularReadNode == 1;
51247
+
51248
+ _this32.submitButtonFunKey = nodeInfoMap.nodeExtAttr.submitButtonFunKey;
51249
+ _this32.taskNodeButtons = nodeInfoMap.nodeExtAttr.taskNodeButtons;
51250
+ _this32.readOnlyNotificationType = readOnlyNotificationType;
51251
+
51252
+ _this32.readOnlyNotificationType = readOnlyNotificationType;
51253
+ _this32.isSpecial = isSpecial;
51254
+ _this32.notificationMessageReadOnly = notificationMessageReadOnly == 'true';
51255
+ _this32.otherOrgName = otherOrgName;
51256
+ _this32.isCanPreAddSign = isCanPreAddSign;
51257
+ _this32.endFlowInfo.choiceOrgId = choiceOrgId;
51258
+ _this32.endFlowInfo.choiceDeptId = choiceDeptId;
51259
+ _this32.endFlowInfo.pendingId = _this32.pendingId;
51260
+ _this32.attachedCode = attachedCode;
51261
+ _this32.endFlowInfo.pOrgId = pOrgId;
51262
+ _this32.canPresetRead = canPresetRead;
51263
+ _this32.isCdjxjTaskHandle = isCdjxjTaskHandle;
51264
+ nextNodeCheckType && (_this32.nextNodeCheckType = nextNodeCheckType);
51265
+ _this32.operationList = taskOperations || [];
51266
+ _this32.customPresetHintMessage = customPresetHintMessage;
51245
51267
  if (canPresetRead) {
51246
51268
  var ids = nodeInfoMap.nodeExtAttr.presetReadCandinateIds.split(',');
51247
51269
  var names = nodeInfoMap.nodeExtAttr.presetReadCandinateNames.split(',');
51248
51270
  ids.map(function (item, index) {
51249
- _this31.presetReadUserId.push({
51271
+ _this32.presetReadUserId.push({
51250
51272
  showid: item,
51251
51273
  showname: names[index]
51252
51274
  });
51253
- _this31.selectPresetUserList.push({
51275
+ _this32.selectPresetUserList.push({
51254
51276
  showid: item,
51255
51277
  showname: names[index]
51256
51278
  });
51257
- _this31.nextNode.presetReadUserId.push(item);
51279
+ _this32.nextNode.presetReadUserId.push(item);
51258
51280
  });
51259
51281
  }
51260
- if (!_this31.isFlow) _this31.getFile(_this31.pendingId, attachedCode);
51282
+ if (!_this32.isFlow) _this32.getFile(_this32.pendingId, attachedCode);
51261
51283
  if (nextNodeList && nextNodeList.length != 0) {
51262
- _this31.nextNodeList = nextNodeList;
51284
+ _this32.nextNodeList = nextNodeList;
51263
51285
  if (nextNodeList[0].nodeType === 'endEvent') {
51264
- _this31.isNextUser = nextNodeList[0].nodeType != 'endEvent';
51265
- nextNodeList[0].nodeType === 'endEvent' ? _this31.endFlow = true : '';
51286
+ _this32.isNextUser = nextNodeList[0].nodeType != 'endEvent';
51287
+ nextNodeList[0].nodeType === 'endEvent' ? _this32.endFlow = true : '';
51266
51288
  }
51267
51289
  }
51268
51290
 
51269
- if (canRemoveSignUserList && canRemoveSignUserList.length != 0) _this31.removeUsers = canRemoveSignUserList;
51291
+ if (canRemoveSignUserList && canRemoveSignUserList.length != 0) _this32.removeUsers = canRemoveSignUserList;
51270
51292
  if (taskOperations && taskOperations.length != 0) {
51271
51293
  var isSelected = false;
51272
51294
  taskOperations.map(function (item) {
51273
- if (item.key === 9) _this31.isReject = true;
51295
+ if (item.key === 9) _this32.isReject = true;
51274
51296
  if (item.isSelected) {
51275
- _this31.nodeInfos = [];
51276
- _this31.nextNode.nextOperate = item.key;
51297
+ _this32.nodeInfos = [];
51298
+ _this32.nextNode.nextOperate = item.key;
51277
51299
  if (item.taskNodeList != null) {
51278
- _this31.nodeInfos = item.taskNodeList;
51300
+ _this32.nodeInfos = item.taskNodeList;
51279
51301
  }
51280
51302
  isSelected = true;
51281
51303
  }
51282
51304
  });
51283
51305
  if (taskOperations.length > 0 && !isSelected) {
51284
- _this31.nodeInfos = [];
51285
- _this31.nextNode.nextOperate = taskOperations[0].key;
51306
+ _this32.nodeInfos = [];
51307
+ _this32.nextNode.nextOperate = taskOperations[0].key;
51286
51308
  if (taskOperations[0].taskNodeList != null) {
51287
- _this31.nodeInfos = taskOperations[0].taskNodeList;
51309
+ _this32.nodeInfos = taskOperations[0].taskNodeList;
51288
51310
  }
51289
51311
  }
51290
51312
  }
51291
51313
  if (nodeInfoMap && JSON.stringify(nodeInfoMap) != '{}') {
51292
- _this31.needRetrialAuth = !!nodeInfoMap.nodeExtAttr.isCurrentNodeSubmitNeedRetrialAuth;
51314
+ _this32.needRetrialAuth = !!nodeInfoMap.nodeExtAttr.isCurrentNodeSubmitNeedRetrialAuth;
51293
51315
  if (nodeInfoMap.nodeExtAttr.nodeFixedOpinionSelectList) {
51294
51316
  var notice = JSON.parse(nodeInfoMap.nodeExtAttr.nodeFixedOpinionSelectList);
51295
51317
  notice.map(function (x) {
51296
- _this31.nodeFixedOpinionSelectList.push({ content: x });
51318
+ _this32.nodeFixedOpinionSelectList.push({ content: x });
51297
51319
  });
51298
51320
  }
51299
51321
 
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;
51322
+ _this32.value = opinion || '';
51323
+ _this32.nodeDefaultSubmitOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultSubmitOpinion;
51324
+ _this32.isSubmitButtonShowAgreeAndDisagree = nodeInfoMap.nodeExtAttr.isSubmitButtonShowAgreeAndDisagree;
51325
+ _this32.isBanInputOpinion = nodeInfoMap.nodeExtAttr.isBanInputOpinion;
51326
+ _this32.nodeDefaultRejectOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultRejectOpinion;
51327
+ _this32.isOpinionRequired = nodeInfoMap.nodeExtAttr.isOpinionRequired;
51328
+ _this32.isChooseNextNode = nodeInfoMap.nodeExtAttr.isChooseNextNode;
51307
51329
  // this.isHideDefaultOperation =
51308
51330
  // nodeInfoMap.nodeExtAttr.isHideDefaultOperation == 1;
51309
- _this31.defaultNextNode = nodeInfoMap.nodeExtAttr.defaultNextNode;
51331
+ _this32.defaultNextNode = nodeInfoMap.nodeExtAttr.defaultNextNode;
51310
51332
  if (nodeInfoMap.nodeExtAttr.defaultNextNode) {
51311
- var defaultNode = _this31.nodeInfos.filter(function (item) {
51333
+ var defaultNode = _this32.nodeInfos.filter(function (item) {
51312
51334
  return item.nodeId == nodeInfoMap.nodeExtAttr.defaultNextNode;
51313
51335
  });
51314
- if (_this31.nodeInfos.length > 0 && defaultNode.length == 0) {
51315
- _this31.nextNode.nextNodeId = _this31.nodeInfos[0].nodeId;
51336
+ if (_this32.nodeInfos.length > 0 && defaultNode.length == 0) {
51337
+ _this32.nextNode.nextNodeId = _this32.nodeInfos[0].nodeId;
51316
51338
  } else {
51317
- _this31.nextNode.nextNodeId = nodeInfoMap.nodeExtAttr.defaultNextNode;
51339
+ _this32.nextNode.nextNodeId = nodeInfoMap.nodeExtAttr.defaultNextNode;
51318
51340
  }
51319
- } else if (_this31.nodeInfos.length > 0) {
51320
- _this31.nextNode.nextNodeId = _this31.nodeInfos[0].nodeId;
51341
+ } else if (_this32.nodeInfos.length > 0) {
51342
+ _this32.nextNode.nextNodeId = _this32.nodeInfos[0].nodeId;
51321
51343
  }
51322
- _this31.isForceDisplayDefaultOptionForPrefix = nodeInfoMap.nodeExtAttr.isForceDisplayDefaultOptionForPrefix == 1;
51344
+ _this32.isForceDisplayDefaultOptionForPrefix = nodeInfoMap.nodeExtAttr.isForceDisplayDefaultOptionForPrefix == 1;
51323
51345
  if (nodeInfoMap.nodeExtAttr.submitText) {
51324
- _this31.btnList.map(function (x) {
51346
+ _this32.btnList.map(function (x) {
51325
51347
  if (x.event === 'sub') {
51326
51348
  x.text = nodeInfoMap.nodeExtAttr.submitText;
51327
51349
  }
51328
51350
  });
51329
51351
  }
51330
51352
  }
51331
- _this31.choiceOrgId = choiceOrgId;
51332
- _this31.choiceDeptId = choiceDeptId;
51333
- _this31.pOrgId = pOrgId;
51353
+ _this32.choiceOrgId = choiceOrgId;
51354
+ _this32.choiceDeptId = choiceDeptId;
51355
+ _this32.pOrgId = pOrgId;
51334
51356
  if (res.data && res.data.isEndUserTask != undefined) {
51335
- _this31.isEndUserTask = res.data.isEndUserTask;
51357
+ _this32.isEndUserTask = res.data.isEndUserTask;
51336
51358
  }
51337
51359
  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;
51360
+ _this32.nodeInfo.nextNode = taskExamine.processDefinitionId;
51361
+ _this32.NodeName = taskExamine.nodeName;
51362
+ _this32.taskId = taskExamine.taskId;
51363
+ _this32.businessIds = taskExamine.businessId;
51364
+ _this32.appId = taskExamine.appId;
51365
+ _this32.taskExamineInfo = taskExamine;
51366
+ _this32.taskExamineInfo.choiceOrgId = choiceOrgId;
51367
+ _this32.taskExamineInfo.choiceDeptId = choiceDeptId;
51368
+ _this32.endFlowInfo.processType = taskExamine.processType;
51347
51369
  // this.endFlowInfo.isReturnSubmitter =
51348
51370
  // taskExamine.isReturnSubmitter;
51349
51371
  // this.nextNode.isReturnSubmitter = taskExamine.isReturnSubmitter;
@@ -51355,81 +51377,81 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
51355
51377
  // this.nextNode.isReadDealEnd = taskExamine.isReadDealEnd;
51356
51378
  // this.nextNode.isReturnRejectNode = taskExamine.isReturnRejectNode;
51357
51379
  // 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;
51380
+ _this32.endFlowInfo.isSubFlow = taskExamine.isSubFlow;
51381
+ _this32.endFlowInfo.isUndertakeReply = taskExamine.isUndertakeReply;
51382
+ _this32.endFlowInfo.isUndertakeEnd = taskExamine.isUndertakeEnd;
51383
+ _this32.endFlowInfo.isTakeAdviceEnd = taskExamine.isTakeAdviceEnd;
51384
+ _this32.endFlowInfo.isTakeAdviceReply = taskExamine.isTakeAdviceReply;
51385
+ _this32.endFlowInfo.isReadDealEnd = taskExamine.isReadDealEnd;
51386
+ _this32.endFlowInfo.isReadDealReply = taskExamine.isReadDealReply;
51387
+ _this32.endFlowInfo.isReturnRejectNode = taskExamine.isReturnRejectNode;
51388
+ _this32.endFlowInfo.isSerialSubmit = taskExamine.isSerialSubmit;
51367
51389
  // this.endFlowInfo.isReadDealReply =
51368
51390
  // 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;
51391
+ _this32.endFlowInfo.appId = taskExamine.appId;
51392
+ _this32.endFlowInfo.businessId = taskExamine.businessId;
51393
+ _this32.endFlowInfo.processDefinitionId = taskExamine.processDefinitionId;
51394
+ _this32.endFlowInfo.nodeId = taskExamine.nodeId;
51373
51395
  }
51374
51396
  if (extendData && extendData.pendingData && extendData.pendingData.itemname) {
51375
- _this31.NodeName = extendData.pendingData.itemname;
51397
+ _this32.NodeName = extendData.pendingData.itemname;
51376
51398
  }
51377
- if (_this31.nodeName) {
51378
- _this31.NodeName = _this31.nodeName;
51399
+ if (_this32.nodeName) {
51400
+ _this32.NodeName = _this32.nodeName;
51379
51401
  }
51380
- _this31.isCanAddSign = isCanAddSign;
51381
- _this31.processObj = res.data;
51382
- if (_this31.isCanAddSign) {
51383
- _this31.nextNode.isAddSign = '2';
51402
+ _this32.isCanAddSign = isCanAddSign;
51403
+ _this32.processObj = res.data;
51404
+ if (_this32.isCanAddSign) {
51405
+ _this32.nextNode.isAddSign = '2';
51384
51406
  }
51385
- _this31.isCanRemoveSign = isCanRemoveSign;
51386
- if (_this31.isCanRemoveSign) {
51387
- _this31.nextNode.isRemoveSign = '2';
51407
+ _this32.isCanRemoveSign = isCanRemoveSign;
51408
+ if (_this32.isCanRemoveSign) {
51409
+ _this32.nextNode.isRemoveSign = '2';
51388
51410
  }
51389
51411
 
51390
- if (!_this31.isOpinionRequired) {
51391
- _this31.isOpinionRequired = 0;
51412
+ if (!_this32.isOpinionRequired) {
51413
+ _this32.isOpinionRequired = 0;
51392
51414
  }
51393
51415
  // opinion && (this.value = opinion);
51394
- _this31.nextNode.notificationMsg = defaultNotificationMessage;
51395
- _this31.moreList = [];
51416
+ _this32.nextNode.notificationMsg = defaultNotificationMessage;
51417
+ _this32.moreList = [];
51396
51418
  if (taskButtonList && taskButtonList.length != 0) {
51397
51419
  taskButtonList.map(function (item) {
51398
51420
  if (item.fun === 'reject()') {
51399
- _this31.rejectObj = item;
51421
+ _this32.rejectObj = item;
51400
51422
  } else if (item.fun === 'toStartTaskRead()') {
51401
- _this31.pointsReadingObj = item;
51423
+ _this32.pointsReadingObj = item;
51402
51424
  } else {
51403
- _this31.moreList.push(item);
51425
+ _this32.moreList.push(item);
51404
51426
  }
51405
51427
  });
51406
51428
  }
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);
51429
+ _this32.isMainSubProcess = res.data.isMainSubProcess == 'true';
51430
+ _this32.isCustomPreset = isCustomPreset;
51431
+ _this32.isPreset = isPreset;
51432
+ _this32.presetTaskNodeMap = presetTaskNodeMap;
51433
+ _this32.presetTaskNodeKeyStr = presetTaskNodeKeyStr;
51434
+ _this32.getFind();
51435
+ _this32.selecNext(_this32.nextNode.nextOperate, true, true);
51414
51436
  // this.getNodeInfo();
51415
- _this31.StartTaskReadKey++;
51437
+ _this32.StartTaskReadKey++;
51416
51438
  } else {
51417
51439
  if (res.status === 'taskCompleted') {
51418
- _this31.$emit('shrink', true);
51419
- _this31.shrinkAbled = true;
51420
- _this31.$message.warning(res.message || '系统错误,请联系管理员!');
51440
+ _this32.$emit('shrink', true);
51441
+ _this32.shrinkAbled = true;
51442
+ _this32.$message.warning(res.message || '系统错误,请联系管理员!');
51421
51443
  } else {
51422
- _this31.$message.error(res.message || '系统错误,请联系管理员!');
51444
+ _this32.$message.error(res.message || '系统错误,请联系管理员!');
51423
51445
  }
51424
51446
  }
51425
- _this31.showOpinion = false;
51447
+ _this32.showOpinion = false;
51426
51448
  setTimeout(function () {
51427
- _this31.showOpinion = true;
51449
+ _this32.showOpinion = true;
51428
51450
  }, 0);
51429
51451
  }).catch(function (err) {
51430
- _this31.loading.close();
51452
+ _this32.loading.close();
51431
51453
  if (err.message && err.message !== 'canceled') {
51432
- _this31.$message.error(err.message);
51454
+ _this32.$message.error(err.message);
51433
51455
  }
51434
51456
  });
51435
51457
  },
@@ -51491,7 +51513,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
51491
51513
  * @date 2022年5月25日
51492
51514
  **/
51493
51515
  getProcess: function getProcess(val) {
51494
- var _this32 = this;
51516
+ var _this33 = this;
51495
51517
 
51496
51518
  var params = flow_src_mainvue_type_script_lang_js_extends({
51497
51519
  businessId: this.businessId,
@@ -51506,44 +51528,44 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
51506
51528
  message = res.message,
51507
51529
  data = res.data;
51508
51530
 
51509
- _this32.loading.close();
51531
+ _this33.loading.close();
51510
51532
  if (status === 'success') {
51511
51533
  if (data.simpleTips != undefined) {
51512
- _this32.simpleTips = data.simpleTips;
51534
+ _this33.simpleTips = data.simpleTips;
51513
51535
  }
51514
- _this32.isStartFlowChartView = data.isStartFlowChartView;
51536
+ _this33.isStartFlowChartView = data.isStartFlowChartView;
51515
51537
  if (!Object.keys(data).length || data.definitionList && !data.definitionList.length) {
51516
- _this32.$message.error('流程不存在或未关联对应流程!');
51538
+ _this33.$message.error('流程不存在或未关联对应流程!');
51517
51539
  } 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;
51540
+ _this33.startFlowPageEmbeddedIntoStartFlowIndex = data.startFlowPageEmbeddedIntoStartFlowIndex;
51541
+ _this33.activitiDefinitionSort = data.activitiDefinitionSort;
51542
+ _this33.nodeInfo.option = data.definitionList;
51543
+ _this33.nodeInfo.nextNode = data.definitionList.filter(function (item) {
51544
+ return item.processDefKey == _this33.defaultProcessKey;
51523
51545
  });
51524
- if (_this32.nodeInfo.nextNode.length) {
51525
- _this32.nodeInfo.nextNode = _this32.nodeInfo.nextNode[0].processDefId;
51546
+ if (_this33.nodeInfo.nextNode.length) {
51547
+ _this33.nodeInfo.nextNode = _this33.nodeInfo.nextNode[0].processDefId;
51526
51548
  } else {
51527
51549
  if (data.definitionList.length != 0) {
51528
- _this32.nodeInfo.nextNode = data.definitionList[0].processDefId;
51550
+ _this33.nodeInfo.nextNode = data.definitionList[0].processDefId;
51529
51551
  } else {
51530
- _this32.nodeInfo.nextNode = '';
51552
+ _this33.nodeInfo.nextNode = '';
51531
51553
  }
51532
51554
  }
51533
- if (_this32.nodeInfo.nextNode) {
51534
- _this32.handleChange(_this32.nodeInfo.nextNode, true);
51555
+ if (_this33.nodeInfo.nextNode) {
51556
+ _this33.handleChange(_this33.nodeInfo.nextNode, true);
51535
51557
  }
51536
- if (_this32.showCirculate != undefined && !_this32.showCirculate && _this32.urgencyLevel) {
51537
- _this32.getAdminMsgType();
51558
+ if (_this33.showCirculate != undefined && !_this33.showCirculate && _this33.urgencyLevel) {
51559
+ _this33.getAdminMsgType();
51538
51560
  }
51539
51561
  }
51540
51562
  } else {
51541
- _this32.$message.error(message || '系统错误,请联系管理员!');
51563
+ _this33.$message.error(message || '系统错误,请联系管理员!');
51542
51564
  }
51543
51565
  }).catch(function (err) {
51544
- _this32.loading.close();
51566
+ _this33.loading.close();
51545
51567
  if (err.message && err.message !== 'canceled') {
51546
- _this32.$message.error(err.message);
51568
+ _this33.$message.error(err.message);
51547
51569
  }
51548
51570
  });
51549
51571
  },
@@ -51555,7 +51577,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
51555
51577
  * @date 2022年5月25日
51556
51578
  **/
51557
51579
  getPendedhistoryList: function getPendedhistoryList() {
51558
- var _this33 = this;
51580
+ var _this34 = this;
51559
51581
 
51560
51582
  var params = {
51561
51583
  apprecordId: this.businessIds,
@@ -51568,22 +51590,22 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
51568
51590
  results = res.results;
51569
51591
 
51570
51592
  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();
51593
+ _this34.nextNode.nextUserId = [];
51594
+ _this34.showNews = false;
51595
+ _this34.nextNode.notificationType = [];
51596
+ _this34.pendingId = results[results.length - 1].attachId;
51597
+ _this34.getHedInfo();
51576
51598
  } else {
51577
- _this33.$message.error(msg || '系统错误,请联系管理员!');
51599
+ _this34.$message.error(msg || '系统错误,请联系管理员!');
51578
51600
  }
51579
51601
  }).catch(function (err) {
51580
51602
  if (err.message && err.message !== 'canceled') {
51581
- _this33.$message.error(err.message);
51603
+ _this34.$message.error(err.message);
51582
51604
  }
51583
51605
  });
51584
51606
  },
51585
51607
  reqCircularRead: function reqCircularRead(type) {
51586
- var _this34 = this;
51608
+ var _this35 = this;
51587
51609
 
51588
51610
  var _that = this;
51589
51611
  var params = {
@@ -51597,7 +51619,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
51597
51619
  };
51598
51620
  this.loading = utils_util.loading(this.$loading, '提交中...');
51599
51621
  utils_util.ajax(params).then(function (res) {
51600
- _this34.loading.close();
51622
+ _this35.loading.close();
51601
51623
  if (res.rCode == 0) {
51602
51624
  if (res.results.alert) {
51603
51625
  _that.$confirm(res.results.message, {
@@ -51631,20 +51653,20 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
51631
51653
  * @date 2022年5月25日
51632
51654
  **/
51633
51655
  subProcess: function subProcess(val, type) {
51634
- var _this35 = this;
51656
+ var _this36 = this;
51635
51657
 
51636
51658
  return this.$refs['nextNode'].validate(function (valid) {
51637
51659
  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;
51660
+ if (_this36.isSubmitButtonShowAgreeAndDisagree == 1) {
51661
+ _this36.value = _this36.value.replace(RegExp('不同意。', 'g'), '');
51662
+ _this36.value = _this36.value.replace(RegExp('同意。', 'g'), '');
51663
+ _this36.value = val + _this36.value;
51642
51664
  }
51643
- if (!_this35.validInfo()) {
51644
- _this35.freeValid = false;
51665
+ if (!_this36.validInfo()) {
51666
+ _this36.freeValid = false;
51645
51667
  return;
51646
51668
  } else {
51647
- _this35.freeValid = true;
51669
+ _this36.freeValid = true;
51648
51670
  }
51649
51671
  // if (
51650
51672
  // this.currentNodeIsCircularReadNode &&
@@ -51653,28 +51675,28 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
51653
51675
  // this.reqCircularRead(type);
51654
51676
  // return;
51655
51677
  // }
51656
- if (_this35.submitButtonFunKey) {
51657
- var btnInfo = _this35.taskNodeButtons.filter(function (x) {
51658
- return x.key === _this35.submitButtonFunKey;
51678
+ if (_this36.submitButtonFunKey) {
51679
+ var btnInfo = _this36.taskNodeButtons.filter(function (x) {
51680
+ return x.key === _this36.submitButtonFunKey;
51659
51681
  });
51660
51682
  if (btnInfo.length > 0) {
51661
51683
  if (btnInfo[0].type == 4) {
51662
- _this35.$emit('buttonClick', { fun: btnInfo[0].fun, opinion: _this35.value }, _this35.sendData);
51684
+ _this36.$emit('buttonClick', { fun: btnInfo[0].fun, opinion: _this36.value }, _this36.sendData);
51663
51685
  } else if (btnInfo[0].type == 2) {
51664
- _this35.goView(btnInfo[0]);
51686
+ _this36.goView(btnInfo[0]);
51665
51687
  }
51666
51688
  }
51667
51689
  return;
51668
51690
  }
51669
51691
  if (type == 'multiInsMidwayWithSubmitScene') {
51670
- _this35.sendData(type);
51692
+ _this36.sendData(type);
51671
51693
  return;
51672
51694
  }
51673
- if (_this35.beforeSubmit == undefined) {
51674
- _this35.subFun(_this35.sendData);
51695
+ if (_this36.beforeSubmit == undefined) {
51696
+ _this36.subFun(_this36.sendData);
51675
51697
  } else {
51676
- _this35.beforeSubmit(1).then(function (next) {
51677
- _this35.sendData();
51698
+ _this36.beforeSubmit(1).then(function (next) {
51699
+ _this36.sendData();
51678
51700
  }).catch(function (e) {});
51679
51701
  }
51680
51702
  }
@@ -51719,14 +51741,14 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
51719
51741
  return true;
51720
51742
  },
51721
51743
  flowSuccess: function flowSuccess(hideMessage) {
51722
- var _this36 = this;
51744
+ var _this37 = this;
51723
51745
 
51724
51746
  if (!this.simpleTips) {
51725
51747
  this.$alert('提交成功', '', {
51726
51748
  confirmButtonText: '确定',
51727
51749
  type: 'success',
51728
51750
  callback: function callback(action) {
51729
- _this36.$emit('success');
51751
+ _this37.$emit('success');
51730
51752
  }
51731
51753
  });
51732
51754
  } else {
@@ -51737,7 +51759,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
51737
51759
  }
51738
51760
  },
51739
51761
  sendData: function sendData(freetype) {
51740
- var _this37 = this;
51762
+ var _this38 = this;
51741
51763
 
51742
51764
  if (this.isFlow && this.nodeInfo.nextNode && this.startFlowPageEmbeddedIntoStartFlowIndex) {
51743
51765
  if (this.directCreateCircularReadWhenFlowStarted) {
@@ -51759,75 +51781,75 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
51759
51781
  break;
51760
51782
  }
51761
51783
 
51762
- if (!_this37.isFlow) {
51784
+ if (!_this38.isFlow) {
51763
51785
  _context2.next = 7;
51764
51786
  break;
51765
51787
  }
51766
51788
 
51767
- if (!(_this37.isOpinionRequired && !_this37.$refs.commonOpinions.validate())) {
51789
+ if (!(_this38.isOpinionRequired && !_this38.$refs.commonOpinions.validate())) {
51768
51790
  _context2.next = 5;
51769
51791
  break;
51770
51792
  }
51771
51793
 
51772
- _this37.$message.warning('请输入审批意见');
51794
+ _this38.$message.warning('请输入审批意见');
51773
51795
  return _context2.abrupt('return');
51774
51796
 
51775
51797
  case 5:
51776
- if (_this37.directCreateCircularReadWhenFlowStarted) {
51777
- _this37.circulateVisible = true;
51798
+ if (_this38.directCreateCircularReadWhenFlowStarted) {
51799
+ _this38.circulateVisible = true;
51778
51800
  } else {
51779
- _this37.handleVisible = true;
51801
+ _this38.handleVisible = true;
51780
51802
  }
51781
51803
  return _context2.abrupt('return');
51782
51804
 
51783
51805
  case 7:
51784
51806
  nextUserId = [];
51785
51807
 
51786
- if (_this37.multiple) {
51787
- _this37.nextNode.nextUserId && _this37.nextNode.nextUserId.map(function (item) {
51808
+ if (_this38.multiple) {
51809
+ _this38.nextNode.nextUserId && _this38.nextNode.nextUserId.map(function (item) {
51788
51810
  return nextUserId.push(item);
51789
51811
  });
51790
51812
  }
51791
51813
  addSignUserId = [];
51792
51814
 
51793
- if (_this37.isCanAddSign && _this37.nextNode.isAddSign == '1') {
51794
- _this37.nextNode.addSignUserId.map(function (item) {
51815
+ if (_this38.isCanAddSign && _this38.nextNode.isAddSign == '1') {
51816
+ _this38.nextNode.addSignUserId.map(function (item) {
51795
51817
  addSignUserId.push(item);
51796
51818
  });
51797
51819
  }
51798
51820
  removeSignUserId = [];
51799
51821
 
51800
- if (_this37.isCanRemoveSign && _this37.nextNode.isRemoveSign == '1') {
51801
- _this37.nextNode.removeSignUserId.map(function (item) {
51822
+ if (_this38.isCanRemoveSign && _this38.nextNode.isRemoveSign == '1') {
51823
+ _this38.nextNode.removeSignUserId.map(function (item) {
51802
51824
  removeSignUserId.push(item);
51803
51825
  });
51804
51826
  }
51805
51827
  str = '';
51806
51828
 
51807
- if (_this37.value) {
51808
- str = _this37.value.replace(/\s+/g, '');
51829
+ if (_this38.value) {
51830
+ str = _this38.value.replace(/\s+/g, '');
51809
51831
  }
51810
- if ((!_this37.value || str === '') && _this37.nodeDefaultSubmitOpinion) {
51811
- _this37.value = _this37.nodeDefaultSubmitOpinion;
51832
+ if ((!_this38.value || str === '') && _this38.nodeDefaultSubmitOpinion) {
51833
+ _this38.value = _this38.nodeDefaultSubmitOpinion;
51812
51834
  }
51813
- if (!_this37.isSpecial) {
51814
- delete _this37.nextNode.nextOperate;
51815
- delete _this37.nextNode.nextNodeId;
51835
+ if (!_this38.isSpecial) {
51836
+ delete _this38.nextNode.nextOperate;
51837
+ delete _this38.nextNode.nextNodeId;
51816
51838
  }
51817
- if (_this37.nextNode.nextOperate === 9 || _this37.oldNextOperate == 9) {
51818
- _this37.nextNode.isReturnRejectNode = 1;
51819
- _this37.nextNode.processDefinitionId = _this37.processObj.taskExamine.processDefinitionId;
51839
+ if (_this38.nextNode.nextOperate === 9 || _this38.oldNextOperate == 9) {
51840
+ _this38.nextNode.isReturnRejectNode = 1;
51841
+ _this38.nextNode.processDefinitionId = _this38.processObj.taskExamine.processDefinitionId;
51820
51842
  }
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;
51843
+ if (_this38.nextNode.nextOperate != 0 && _this38.nextNode.nextOperate != 1 && _this38.oldNextOperate === '' || _this38.oldNextOperate !== '' && _this38.oldNextOperate != 0 && _this38.oldNextOperate != 1) {
51844
+ delete _this38.nextNode.nextNodeId;
51823
51845
  }
51824
51846
 
51825
- if (!_this37.isCancelSecondConfirmationType) {
51847
+ if (!_this38.isCancelSecondConfirmationType) {
51826
51848
  _context2.next = 22;
51827
51849
  break;
51828
51850
  }
51829
51851
 
51830
- _this37.$confirm('确认提交吗?', '提示', {
51852
+ _this38.$confirm('确认提交吗?', '提示', {
51831
51853
  confirmButtonText: '确定',
51832
51854
  cancelButtonText: '取消',
51833
51855
  type: 'warning'
@@ -51843,46 +51865,46 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
51843
51865
  }
51844
51866
 
51845
51867
  _context.next = 3;
51846
- return _this37.saveInfo('subMit');
51868
+ return _this38.saveInfo('subMit');
51847
51869
 
51848
51870
  case 3:
51849
- _this37.loading = utils_util.loading(_this37.$loading, '加载中...');
51871
+ _this38.loading = utils_util.loading(_this38.$loading, '加载中...');
51850
51872
 
51851
51873
  case 4:
51852
51874
  notificationType = '';
51853
51875
 
51854
- notificationType = _this37.nextNode.notificationType.join(',');
51876
+ notificationType = _this38.nextNode.notificationType.join(',');
51855
51877
  addSignUserId = addSignUserId.join(',');
51856
51878
  removeSignUserId = removeSignUserId.join(',');
51857
- if (!_this37.isCanPreAddSign || _this37.nextNode.isAddSign != '1') {
51858
- delete _this37.nextNode.addSignMode;
51879
+ if (!_this38.isCanPreAddSign || _this38.nextNode.isAddSign != '1') {
51880
+ delete _this38.nextNode.addSignMode;
51859
51881
  }
51860
51882
 
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,
51883
+ params = flow_src_mainvue_type_script_lang_js_extends({}, _this38.nextNode, {
51884
+ nextOperate: _this38.oldNextOperate !== '' ? _this38.oldNextOperate : _this38.nextNode.nextOperate,
51885
+ pendingId: _this38.pendingId,
51886
+ opinion: _this38.isForceDisplayDefaultOptionForPrefix && !_this38.value.startsWith(_this38.nodeDefaultSubmitOpinion) ? _this38.nodeDefaultSubmitOpinion + _this38.value : _this38.value,
51865
51887
  userId: utils_util.getStorage('userId'),
51866
- nextUserId: _this37.multiple ? nextUserId.join(',') : _this37.nextNode.nextUserId,
51888
+ nextUserId: _this38.multiple ? nextUserId.join(',') : _this38.nextNode.nextUserId,
51867
51889
  addSignUserId: addSignUserId,
51868
- customPresetUserJson: JSON.stringify(_this37.presetList),
51869
- presetUserJson: JSON.stringify(_this37.presetUserJson),
51890
+ customPresetUserJson: JSON.stringify(_this38.presetList),
51891
+ presetUserJson: JSON.stringify(_this38.presetUserJson),
51870
51892
  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(','),
51893
+ nextReadUserId: _this38.readMultiple ? _this38.mixReadList && _this38.mixReadList.join('|') : _this38.nextNode.nextReadUserId,
51894
+ nextOrgId: !_this38.isShowNextUser ? _this38.multiple ? _this38.mixOrgIdList && _this38.mixOrgIdList.join('|') : _this38.nextNode.nextOrgId : '',
51895
+ presetReadUserId: _this38.mixPresetList && _this38.mixPresetList.length > 0 ? _this38.mixPresetList.join('|') : _this38.nextNode.presetReadUserId.join(','),
51874
51896
  notificationType: notificationType
51875
51897
  });
51876
51898
 
51877
- if (_this37.activeNames != '1') delete params.customPresetUserJson;
51899
+ if (_this38.activeNames != '1') delete params.customPresetUserJson;
51878
51900
  delete params.customLimitTimeText;
51879
- if (_this37.nextNode.isRemoveSign != '1') {
51901
+ if (_this38.nextNode.isRemoveSign != '1') {
51880
51902
  delete params.removeSignUserId;
51881
51903
  }
51882
- if (_this37.nextNode.isAddSign != '1') {
51904
+ if (_this38.nextNode.isAddSign != '1') {
51883
51905
  delete params.addSignUserId;
51884
51906
  }
51885
- if (!_this37.isSpecial) {
51907
+ if (!_this38.isSpecial) {
51886
51908
  delete params.nextUserId;
51887
51909
  }
51888
51910
 
@@ -51891,13 +51913,13 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
51891
51913
  break;
51892
51914
  }
51893
51915
 
51894
- params.isSubFlow = _this37.taskExamineInfo.isSubFlow;
51895
- _this37.taskParams = params;
51916
+ params.isSubFlow = _this38.taskExamineInfo.isSubFlow;
51917
+ _this38.taskParams = params;
51896
51918
  return _context.abrupt('return');
51897
51919
 
51898
51920
  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;
51921
+ _this38.loading = utils_util.loading(_this38.$loading, '提交中...');
51922
+ 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
51923
 
51902
51924
  params.isEndUserTask = isEndUserTask;
51903
51925
  params.choiceOrgId = choiceOrgId;
@@ -51921,17 +51943,17 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
51921
51943
  var status = res.status,
51922
51944
  message = res.message;
51923
51945
 
51924
- _this37.loading.close();
51946
+ _this38.loading.close();
51925
51947
  if (status === 'success') {
51926
- _this37.flowSuccess();
51948
+ _this38.flowSuccess();
51927
51949
  } else {
51928
- _this37.$message.error(message || '系统错误,请联系管理员!');
51929
- _this37.$emit('error');
51950
+ _this38.$message.error(message || '系统错误,请联系管理员!');
51951
+ _this38.$emit('error');
51930
51952
  }
51931
51953
  }).catch(function (err) {
51932
- _this37.loading.close();
51954
+ _this38.loading.close();
51933
51955
  if (err.message && err.message !== 'canceled') {
51934
- _this37.$message.error(err.message);
51956
+ _this38.$message.error(err.message);
51935
51957
  }
51936
51958
  }));
51937
51959
 
@@ -51940,7 +51962,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
51940
51962
  return _context.stop();
51941
51963
  }
51942
51964
  }
51943
- }, _callee, _this37);
51965
+ }, _callee, _this38);
51944
51966
  })));
51945
51967
  return _context2.abrupt('return');
51946
51968
 
@@ -51951,46 +51973,46 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
51951
51973
  }
51952
51974
 
51953
51975
  _context2.next = 25;
51954
- return _this37.saveInfo('subMit');
51976
+ return _this38.saveInfo('subMit');
51955
51977
 
51956
51978
  case 25:
51957
- _this37.loading = utils_util.loading(_this37.$loading, '加载中...');
51979
+ _this38.loading = utils_util.loading(_this38.$loading, '加载中...');
51958
51980
 
51959
51981
  case 26:
51960
51982
  notificationType = '';
51961
51983
 
51962
- notificationType = _this37.nextNode.notificationType.join(',');
51984
+ notificationType = _this38.nextNode.notificationType.join(',');
51963
51985
  addSignUserId = addSignUserId.join(',');
51964
51986
  removeSignUserId = removeSignUserId.join(',');
51965
- if (!_this37.isCanPreAddSign || _this37.nextNode.isAddSign != '1') {
51966
- delete _this37.nextNode.addSignMode;
51987
+ if (!_this38.isCanPreAddSign || _this38.nextNode.isAddSign != '1') {
51988
+ delete _this38.nextNode.addSignMode;
51967
51989
  }
51968
51990
 
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,
51991
+ params = flow_src_mainvue_type_script_lang_js_extends({}, _this38.nextNode, {
51992
+ nextOperate: _this38.oldNextOperate !== '' ? _this38.oldNextOperate : _this38.nextNode.nextOperate,
51993
+ pendingId: _this38.pendingId,
51994
+ opinion: _this38.isForceDisplayDefaultOptionForPrefix && !_this38.value.startsWith(_this38.nodeDefaultSubmitOpinion) ? _this38.nodeDefaultSubmitOpinion + _this38.value : _this38.value,
51973
51995
  userId: utils_util.getStorage('userId'),
51974
- nextUserId: _this37.multiple ? nextUserId.join(',') : _this37.nextNode.nextUserId,
51996
+ nextUserId: _this38.multiple ? nextUserId.join(',') : _this38.nextNode.nextUserId,
51975
51997
  addSignUserId: addSignUserId,
51976
- customPresetUserJson: JSON.stringify(_this37.presetList),
51977
- presetUserJson: JSON.stringify(_this37.presetUserJson),
51998
+ customPresetUserJson: JSON.stringify(_this38.presetList),
51999
+ presetUserJson: JSON.stringify(_this38.presetUserJson),
51978
52000
  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(','),
52001
+ nextReadUserId: _this38.readMultiple ? _this38.mixReadList && _this38.mixReadList.join('|') : _this38.nextNode.nextReadUserId,
52002
+ nextOrgId: !_this38.isShowNextUser ? _this38.multiple ? _this38.mixOrgIdList && _this38.mixOrgIdList.join('|') : _this38.nextNode.nextOrgId : '',
52003
+ presetReadUserId: _this38.mixPresetList && _this38.mixPresetList.length > 0 ? _this38.mixPresetList.join('|') : _this38.nextNode.presetReadUserId.join(','),
51982
52004
  notificationType: notificationType
51983
52005
  });
51984
52006
 
51985
- if (_this37.activeNames != '1') delete params.customPresetUserJson;
52007
+ if (_this38.activeNames != '1') delete params.customPresetUserJson;
51986
52008
  delete params.customLimitTimeText;
51987
- if (_this37.nextNode.isRemoveSign != '1') {
52009
+ if (_this38.nextNode.isRemoveSign != '1') {
51988
52010
  delete params.removeSignUserId;
51989
52011
  }
51990
- if (_this37.nextNode.isAddSign != '1') {
52012
+ if (_this38.nextNode.isAddSign != '1') {
51991
52013
  delete params.addSignUserId;
51992
52014
  }
51993
- if (!_this37.isSpecial) {
52015
+ if (!_this38.isSpecial) {
51994
52016
  delete params.nextUserId;
51995
52017
  }
51996
52018
 
@@ -51999,13 +52021,13 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
51999
52021
  break;
52000
52022
  }
52001
52023
 
52002
- params.isSubFlow = _this37.taskExamineInfo.isSubFlow;
52003
- _this37.taskParams = params;
52024
+ params.isSubFlow = _this38.taskExamineInfo.isSubFlow;
52025
+ _this38.taskParams = params;
52004
52026
  return _context2.abrupt('return');
52005
52027
 
52006
52028
  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;
52029
+ _this38.loading = utils_util.loading(_this38.$loading, '提交中...');
52030
+ 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
52031
 
52010
52032
  params.isEndUserTask = isEndUserTask;
52011
52033
  params.choiceOrgId = choiceOrgId;
@@ -52029,17 +52051,17 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
52029
52051
  var status = res.status,
52030
52052
  message = res.message;
52031
52053
 
52032
- _this37.loading.close();
52054
+ _this38.loading.close();
52033
52055
  if (status === 'success') {
52034
- _this37.flowSuccess();
52056
+ _this38.flowSuccess();
52035
52057
  } else {
52036
- _this37.$message.error(message || '系统错误,请联系管理员!');
52037
- _this37.$emit('error');
52058
+ _this38.$message.error(message || '系统错误,请联系管理员!');
52059
+ _this38.$emit('error');
52038
52060
  }
52039
52061
  }).catch(function (err) {
52040
- _this37.loading.close();
52062
+ _this38.loading.close();
52041
52063
  if (err.message && err.message !== 'canceled') {
52042
- _this37.$message.error(err.message);
52064
+ _this38.$message.error(err.message);
52043
52065
  }
52044
52066
  }));
52045
52067
 
@@ -52051,7 +52073,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
52051
52073
  return _context2.stop();
52052
52074
  }
52053
52075
  }
52054
- }, _callee2, _this37);
52076
+ }, _callee2, _this38);
52055
52077
  }));
52056
52078
 
52057
52079
  return function (_x) {
@@ -52107,8 +52129,8 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
52107
52129
 
52108
52130
  var flow_src_main_component = normalizeComponent(
52109
52131
  packages_flow_src_mainvue_type_script_lang_js_,
52110
- mainvue_type_template_id_70db76e0_render,
52111
- mainvue_type_template_id_70db76e0_staticRenderFns,
52132
+ mainvue_type_template_id_5f0c32cd_render,
52133
+ mainvue_type_template_id_5f0c32cd_staticRenderFns,
52112
52134
  false,
52113
52135
  null,
52114
52136
  null,
@@ -102944,7 +102966,7 @@ if (typeof window !== 'undefined' && window.Vue) {
102944
102966
  }
102945
102967
 
102946
102968
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
102947
- version: '0.8.11',
102969
+ version: '0.8.12',
102948
102970
  install: install,
102949
102971
  Button: packages_button,
102950
102972
  ButtonGroup: button_group,