eoss-ui 0.6.93 → 0.6.94

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/flow.js CHANGED
@@ -4485,7 +4485,7 @@ var component = Object(componentNormalizer["a" /* default */])(
4485
4485
  // ESM COMPAT FLAG
4486
4486
  __webpack_require__.r(__webpack_exports__);
4487
4487
 
4488
- // 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=2181006a&
4488
+ // 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=531ac436&
4489
4489
  var render = function () {
4490
4490
  var _vm = this
4491
4491
  var _h = _vm.$createElement
@@ -6308,6 +6308,7 @@ var render = function () {
6308
6308
  _vm.freeStartFlowNextNode ||
6309
6309
  _vm.nodeInfo.nextNode,
6310
6310
  opinion: _vm.value,
6311
+ keyCount: _vm.msgTypeCount,
6311
6312
  pendingId: _vm.pendingId,
6312
6313
  taskExamineParam:
6313
6314
  _vm.freeStartFlowParams
@@ -6350,7 +6351,7 @@ var render = function () {
6350
6351
  },
6351
6352
  })
6352
6353
  : _vm._e(),
6353
- !_vm.isFlow && _vm.isSpecial
6354
+ !_vm.isFlow && _vm.isSpecial && _vm.newsList.length > 0
6354
6355
  ? _c(
6355
6356
  "div",
6356
6357
  {
@@ -7149,7 +7150,7 @@ var render = function () {
7149
7150
  },
7150
7151
  on: {
7151
7152
  cancel: function ($event) {
7152
- _vm.closeProcess(true, "showReject")
7153
+ _vm.closeProcess($event, "showReject")
7153
7154
  },
7154
7155
  },
7155
7156
  }),
@@ -7373,7 +7374,7 @@ var staticRenderFns = []
7373
7374
  render._withStripped = true
7374
7375
 
7375
7376
 
7376
- // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=2181006a&
7377
+ // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=531ac436&
7377
7378
 
7378
7379
  // EXTERNAL MODULE: external "babel-runtime/regenerator"
7379
7380
  var regenerator_ = __webpack_require__(4);
@@ -8426,8 +8427,8 @@ var CommonOpinions_component = Object(componentNormalizer["a" /* default */])(
8426
8427
  )
8427
8428
 
8428
8429
  /* harmony default export */ var CommonOpinions = (CommonOpinions_component.exports);
8429
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processForm.vue?vue&type=template&id=1672698e&
8430
- var processFormvue_type_template_id_1672698e_render = function () {
8430
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processForm.vue?vue&type=template&id=e536b88e&
8431
+ var processFormvue_type_template_id_e536b88e_render = function () {
8431
8432
  var _vm = this
8432
8433
  var _h = _vm.$createElement
8433
8434
  var _c = _vm._self._c || _h
@@ -8899,8 +8900,8 @@ var processFormvue_type_template_id_1672698e_render = function () {
8899
8900
  {
8900
8901
  name: "show",
8901
8902
  rawName: "v-show",
8902
- value: _vm.showBtn,
8903
- expression: "showBtn",
8903
+ value: _vm.showBtn && _vm.nextNode.noticeList.length > 0,
8904
+ expression: "showBtn && nextNode.noticeList.length>0",
8904
8905
  },
8905
8906
  ],
8906
8907
  attrs: { prop: "noticeType", label: "通知方式" },
@@ -9087,7 +9088,7 @@ var processFormvue_type_template_id_1672698e_render = function () {
9087
9088
  ],
9088
9089
  1
9089
9090
  ),
9090
- !_vm.showBtn
9091
+ !_vm.showBtn && _vm.nextNode.noticeList.length > 0
9091
9092
  ? _c("div", { staticStyle: { padding: "5px", background: "#fff" } }, [
9092
9093
  _c(
9093
9094
  "div",
@@ -9184,11 +9185,11 @@ var processFormvue_type_template_id_1672698e_render = function () {
9184
9185
  1
9185
9186
  )
9186
9187
  }
9187
- var processFormvue_type_template_id_1672698e_staticRenderFns = []
9188
- processFormvue_type_template_id_1672698e_render._withStripped = true
9188
+ var processFormvue_type_template_id_e536b88e_staticRenderFns = []
9189
+ processFormvue_type_template_id_e536b88e_render._withStripped = true
9189
9190
 
9190
9191
 
9191
- // CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=1672698e&
9192
+ // CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=e536b88e&
9192
9193
 
9193
9194
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/selectUser.vue?vue&type=template&id=3d8ca42d&
9194
9195
  var selectUservue_type_template_id_3d8ca42d_render = function () {
@@ -11122,6 +11123,10 @@ var processFormvue_type_script_lang_js_components;
11122
11123
  urgencyLevel: {
11123
11124
  type: [Number, String],
11124
11125
  default: ''
11126
+ },
11127
+ keyCount: {
11128
+ type: [Number, String],
11129
+ default: 0
11125
11130
  }
11126
11131
  },
11127
11132
  data: function data() {
@@ -11224,7 +11229,7 @@ var processFormvue_type_script_lang_js_components;
11224
11229
  handler: function handler(val) {
11225
11230
  var _this = this;
11226
11231
 
11227
- if (val.length > 0 && this.urgencyLevel && this.msgTypeCount != 0) {
11232
+ if (this.urgencyLevel) {
11228
11233
  this.nextNode.noticeList = val;
11229
11234
  var arr = [];
11230
11235
  this.nextNode.noticeList.map(function (item) {
@@ -11280,7 +11285,9 @@ var processFormvue_type_script_lang_js_components;
11280
11285
  this.getUserInfo();
11281
11286
  },
11282
11287
  mounted: function mounted() {
11283
- this.getNodeType();
11288
+ if (!this.urgencyLevel) {
11289
+ this.getNodeType();
11290
+ }
11284
11291
  this.getStartFlow(this.processDefinitionId);
11285
11292
  if (this.copyHistory) {
11286
11293
  this.nextNode.newOpinion = this.opinion;
@@ -11907,8 +11914,8 @@ var processFormvue_type_script_lang_js_components;
11907
11914
 
11908
11915
  var processForm_component = Object(componentNormalizer["a" /* default */])(
11909
11916
  src_processFormvue_type_script_lang_js_,
11910
- processFormvue_type_template_id_1672698e_render,
11911
- processFormvue_type_template_id_1672698e_staticRenderFns,
11917
+ processFormvue_type_template_id_e536b88e_render,
11918
+ processFormvue_type_template_id_e536b88e_staticRenderFns,
11912
11919
  false,
11913
11920
  null,
11914
11921
  null,
@@ -11920,8 +11927,8 @@ var processForm_component = Object(componentNormalizer["a" /* default */])(
11920
11927
  // EXTERNAL MODULE: ./packages/flow/src/component/FileList.vue + 4 modules
11921
11928
  var FileList = __webpack_require__(18);
11922
11929
 
11923
- // 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/SendMsg.vue?vue&type=template&id=5cb986c6&
11924
- var SendMsgvue_type_template_id_5cb986c6_render = function () {
11930
+ // 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/SendMsg.vue?vue&type=template&id=511ef65e&
11931
+ var SendMsgvue_type_template_id_511ef65e_render = function () {
11925
11932
  var _vm = this
11926
11933
  var _h = _vm.$createElement
11927
11934
  var _c = _vm._self._c || _h
@@ -11952,17 +11959,15 @@ var SendMsgvue_type_template_id_5cb986c6_render = function () {
11952
11959
  _c(
11953
11960
  "el-form-item",
11954
11961
  {
11955
- attrs: {
11956
- prop: "notificationType",
11957
- label: "通知方式",
11958
- rules: [
11959
- {
11960
- required: false,
11961
- message: "请选择通知方式",
11962
- trigger: "blur",
11963
- },
11964
- ],
11965
- },
11962
+ directives: [
11963
+ {
11964
+ name: "show",
11965
+ rawName: "v-show",
11966
+ value: _vm.notificationList.length != 0,
11967
+ expression: "notificationList.length != 0",
11968
+ },
11969
+ ],
11970
+ attrs: { prop: "notificationType", label: "通知方式" },
11966
11971
  },
11967
11972
  [
11968
11973
  _c(
@@ -12005,7 +12010,17 @@ var SendMsgvue_type_template_id_5cb986c6_render = function () {
12005
12010
  ),
12006
12011
  _c(
12007
12012
  "el-form-item",
12008
- { attrs: { prop: "nextNode", label: "通知消息" } },
12013
+ {
12014
+ directives: [
12015
+ {
12016
+ name: "show",
12017
+ rawName: "v-show",
12018
+ value: _vm.notificationList.length != 0,
12019
+ expression: "notificationList.length != 0",
12020
+ },
12021
+ ],
12022
+ attrs: { prop: "nextNode", label: "通知消息" },
12023
+ },
12009
12024
  [
12010
12025
  _c("el-input", {
12011
12026
  attrs: {
@@ -12126,11 +12141,11 @@ var SendMsgvue_type_template_id_5cb986c6_render = function () {
12126
12141
  1
12127
12142
  )
12128
12143
  }
12129
- var SendMsgvue_type_template_id_5cb986c6_staticRenderFns = []
12130
- SendMsgvue_type_template_id_5cb986c6_render._withStripped = true
12144
+ var SendMsgvue_type_template_id_511ef65e_staticRenderFns = []
12145
+ SendMsgvue_type_template_id_511ef65e_render._withStripped = true
12131
12146
 
12132
12147
 
12133
- // CONCATENATED MODULE: ./packages/flow/src/component/SendMsg.vue?vue&type=template&id=5cb986c6&
12148
+ // CONCATENATED MODULE: ./packages/flow/src/component/SendMsg.vue?vue&type=template&id=511ef65e&
12134
12149
 
12135
12150
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/SendMsg.vue?vue&type=script&lang=js&
12136
12151
  //
@@ -12225,6 +12240,7 @@ SendMsgvue_type_template_id_5cb986c6_render._withStripped = true
12225
12240
  //
12226
12241
  //
12227
12242
  //
12243
+ //
12228
12244
 
12229
12245
 
12230
12246
 
@@ -12387,8 +12403,8 @@ SendMsgvue_type_template_id_5cb986c6_render._withStripped = true
12387
12403
 
12388
12404
  var SendMsg_component = Object(componentNormalizer["a" /* default */])(
12389
12405
  component_SendMsgvue_type_script_lang_js_,
12390
- SendMsgvue_type_template_id_5cb986c6_render,
12391
- SendMsgvue_type_template_id_5cb986c6_staticRenderFns,
12406
+ SendMsgvue_type_template_id_511ef65e_render,
12407
+ SendMsgvue_type_template_id_511ef65e_staticRenderFns,
12392
12408
  false,
12393
12409
  null,
12394
12410
  null,
@@ -12796,8 +12812,8 @@ var TimeLimit_component = Object(componentNormalizer["a" /* default */])(
12796
12812
  )
12797
12813
 
12798
12814
  /* harmony default export */ var TimeLimit = (TimeLimit_component.exports);
12799
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processReject.vue?vue&type=template&id=9d3463f6&
12800
- var processRejectvue_type_template_id_9d3463f6_render = function () {
12815
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processReject.vue?vue&type=template&id=4cc2d6c6&
12816
+ var processRejectvue_type_template_id_4cc2d6c6_render = function () {
12801
12817
  var _vm = this
12802
12818
  var _h = _vm.$createElement
12803
12819
  var _c = _vm._self._c || _h
@@ -12907,17 +12923,15 @@ var processRejectvue_type_template_id_9d3463f6_render = function () {
12907
12923
  _c(
12908
12924
  "el-form-item",
12909
12925
  {
12910
- attrs: {
12911
- prop: "noticeType",
12912
- label: "通知方式",
12913
- rules: [
12914
- {
12915
- required: false,
12916
- message: "请选择通知方式",
12917
- trigger: "blur",
12918
- },
12919
- ],
12920
- },
12926
+ directives: [
12927
+ {
12928
+ name: "show",
12929
+ rawName: "v-show",
12930
+ value: _vm.nextNode.noticeList.lemgth != 0,
12931
+ expression: "nextNode.noticeList.lemgth != 0",
12932
+ },
12933
+ ],
12934
+ attrs: { prop: "noticeType", label: "通知方式" },
12921
12935
  },
12922
12936
  [
12923
12937
  _c(
@@ -13022,11 +13036,11 @@ var processRejectvue_type_template_id_9d3463f6_render = function () {
13022
13036
  1
13023
13037
  )
13024
13038
  }
13025
- var processRejectvue_type_template_id_9d3463f6_staticRenderFns = []
13026
- processRejectvue_type_template_id_9d3463f6_render._withStripped = true
13039
+ var processRejectvue_type_template_id_4cc2d6c6_staticRenderFns = []
13040
+ processRejectvue_type_template_id_4cc2d6c6_render._withStripped = true
13027
13041
 
13028
13042
 
13029
- // CONCATENATED MODULE: ./packages/flow/src/processReject.vue?vue&type=template&id=9d3463f6&
13043
+ // CONCATENATED MODULE: ./packages/flow/src/processReject.vue?vue&type=template&id=4cc2d6c6&
13030
13044
 
13031
13045
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processReject.vue?vue&type=script&lang=js&
13032
13046
  //
@@ -13115,6 +13129,7 @@ processRejectvue_type_template_id_9d3463f6_render._withStripped = true
13115
13129
  //
13116
13130
  //
13117
13131
  //
13132
+ //
13118
13133
 
13119
13134
 
13120
13135
 
@@ -13224,6 +13239,7 @@ processRejectvue_type_template_id_9d3463f6_render._withStripped = true
13224
13239
  _this2.simpleTips && _this2.$message.success('操作成功');
13225
13240
  } else {
13226
13241
  _this2.$message.error(message || '系统错误,请联系管理员!');
13242
+ _this2.quit(false);
13227
13243
  }
13228
13244
  }).catch(function (err) {
13229
13245
  _this2.loading = false;
@@ -13279,17 +13295,17 @@ processRejectvue_type_template_id_9d3463f6_render._withStripped = true
13279
13295
  opinion: this.option
13280
13296
  };
13281
13297
  util["a" /* default */].ajax({ url: api["gc" /* toTaskRejectHtml */], params: params }).then(function (res) {
13282
- var status = res.status,
13283
- message = res.message,
13284
- _res$data = res.data,
13285
- rejectTaskNodes = _res$data.rejectTaskNodes,
13286
- taskExamine = _res$data.taskExamine,
13287
- nodeInfoMap = _res$data.nodeInfoMap,
13288
- notificationMessageReadOnly = _res$data.notificationMessageReadOnly,
13289
- readOnlyNotificationType = _res$data.readOnlyNotificationType;
13290
13298
 
13299
+ console.log(res, 'resssss');
13291
13300
  _this4.loading = false;
13292
- if (status === 'success') {
13301
+ if (res.status === 'success') {
13302
+ var _res$data = res.data,
13303
+ rejectTaskNodes = _res$data.rejectTaskNodes,
13304
+ taskExamine = _res$data.taskExamine,
13305
+ nodeInfoMap = _res$data.nodeInfoMap,
13306
+ notificationMessageReadOnly = _res$data.notificationMessageReadOnly,
13307
+ readOnlyNotificationType = _res$data.readOnlyNotificationType;
13308
+
13293
13309
  _this4.isOpinionRequired = nodeInfoMap.nodeExtAttr.isOpinionRequired;
13294
13310
  _this4.readOnlyNotificationType = readOnlyNotificationType;
13295
13311
  _this4.notificationMessageReadOnly = notificationMessageReadOnly == 'true';
@@ -13310,7 +13326,8 @@ processRejectvue_type_template_id_9d3463f6_render._withStripped = true
13310
13326
  _this4.rejectObj.length != 0 && (_this4.nextNode.nextNodeId = _this4.rejectObj[0].id);
13311
13327
  }
13312
13328
  } else {
13313
- _this4.$message.error(message || '系统错误,请联系管理员!');
13329
+ _this4.$message.error(res.message || '系统错误,请联系管理员!');
13330
+ _this4.quit(false);
13314
13331
  }
13315
13332
  }).catch(function (err) {
13316
13333
  _this4.loading = false;
@@ -13334,8 +13351,8 @@ processRejectvue_type_template_id_9d3463f6_render._withStripped = true
13334
13351
 
13335
13352
  var processReject_component = Object(componentNormalizer["a" /* default */])(
13336
13353
  src_processRejectvue_type_script_lang_js_,
13337
- processRejectvue_type_template_id_9d3463f6_render,
13338
- processRejectvue_type_template_id_9d3463f6_staticRenderFns,
13354
+ processRejectvue_type_template_id_4cc2d6c6_render,
13355
+ processRejectvue_type_template_id_4cc2d6c6_staticRenderFns,
13339
13356
  false,
13340
13357
  null,
13341
13358
  null,
@@ -13344,8 +13361,8 @@ var processReject_component = Object(componentNormalizer["a" /* default */])(
13344
13361
  )
13345
13362
 
13346
13363
  /* harmony default export */ var processReject = (processReject_component.exports);
13347
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/startTaskRead.vue?vue&type=template&id=4f33d988&
13348
- var startTaskReadvue_type_template_id_4f33d988_render = function () {
13364
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/startTaskRead.vue?vue&type=template&id=709ac034&
13365
+ var startTaskReadvue_type_template_id_709ac034_render = function () {
13349
13366
  var _vm = this
13350
13367
  var _h = _vm.$createElement
13351
13368
  var _c = _vm._self._c || _h
@@ -13642,22 +13659,11 @@ var startTaskReadvue_type_template_id_4f33d988_render = function () {
13642
13659
  1
13643
13660
  )
13644
13661
  : _vm._e(),
13645
- _vm.configInfo.isCdjxjTaskHandle != "true"
13662
+ _vm.configInfo.isCdjxjTaskHandle != "true" &&
13663
+ _vm.noticeList.length > 0
13646
13664
  ? _c(
13647
13665
  "el-form-item",
13648
- {
13649
- attrs: {
13650
- prop: "noticeType",
13651
- label: "通知方式",
13652
- rules: [
13653
- {
13654
- required: false,
13655
- message: "请选择通知方式",
13656
- trigger: "blur",
13657
- },
13658
- ],
13659
- },
13660
- },
13666
+ { attrs: { prop: "noticeType", label: "通知方式" } },
13661
13667
  [
13662
13668
  _c(
13663
13669
  "el-checkbox-group",
@@ -13770,11 +13776,11 @@ var startTaskReadvue_type_template_id_4f33d988_render = function () {
13770
13776
  1
13771
13777
  )
13772
13778
  }
13773
- var startTaskReadvue_type_template_id_4f33d988_staticRenderFns = []
13774
- startTaskReadvue_type_template_id_4f33d988_render._withStripped = true
13779
+ var startTaskReadvue_type_template_id_709ac034_staticRenderFns = []
13780
+ startTaskReadvue_type_template_id_709ac034_render._withStripped = true
13775
13781
 
13776
13782
 
13777
- // CONCATENATED MODULE: ./packages/flow/src/startTaskRead.vue?vue&type=template&id=4f33d988&
13783
+ // CONCATENATED MODULE: ./packages/flow/src/startTaskRead.vue?vue&type=template&id=709ac034&
13778
13784
 
13779
13785
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/startTaskRead.vue?vue&type=script&lang=js&
13780
13786
  var startTaskReadvue_type_script_lang_js_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
@@ -13947,9 +13953,6 @@ var startTaskReadvue_type_script_lang_js_components;
13947
13953
  //
13948
13954
  //
13949
13955
  //
13950
- //
13951
- //
13952
- //
13953
13956
 
13954
13957
 
13955
13958
 
@@ -14491,8 +14494,8 @@ var startTaskReadvue_type_script_lang_js_components;
14491
14494
 
14492
14495
  var startTaskRead_component = Object(componentNormalizer["a" /* default */])(
14493
14496
  src_startTaskReadvue_type_script_lang_js_,
14494
- startTaskReadvue_type_template_id_4f33d988_render,
14495
- startTaskReadvue_type_template_id_4f33d988_staticRenderFns,
14497
+ startTaskReadvue_type_template_id_709ac034_render,
14498
+ startTaskReadvue_type_template_id_709ac034_staticRenderFns,
14496
14499
  false,
14497
14500
  null,
14498
14501
  null,
@@ -14501,8 +14504,8 @@ var startTaskRead_component = Object(componentNormalizer["a" /* default */])(
14501
14504
  )
14502
14505
 
14503
14506
  /* harmony default export */ var startTaskRead = (startTaskRead_component.exports);
14504
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/reset.vue?vue&type=template&id=56dca055&
14505
- var resetvue_type_template_id_56dca055_render = function () {
14507
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/reset.vue?vue&type=template&id=f85d1446&
14508
+ var resetvue_type_template_id_f85d1446_render = function () {
14506
14509
  var _vm = this
14507
14510
  var _h = _vm.$createElement
14508
14511
  var _c = _vm._self._c || _h
@@ -14863,7 +14866,17 @@ var resetvue_type_template_id_56dca055_render = function () {
14863
14866
  : _vm._e(),
14864
14867
  _c(
14865
14868
  "el-form-item",
14866
- { attrs: { prop: "noticeType", label: "通知方式" } },
14869
+ {
14870
+ directives: [
14871
+ {
14872
+ name: "show",
14873
+ rawName: "v-show",
14874
+ value: _vm.nextNode.noticeList.length != 0,
14875
+ expression: "nextNode.noticeList.length != 0",
14876
+ },
14877
+ ],
14878
+ attrs: { prop: "noticeType", label: "通知方式" },
14879
+ },
14867
14880
  [
14868
14881
  _vm.showNoticeType
14869
14882
  ? _c(
@@ -14978,11 +14991,11 @@ var resetvue_type_template_id_56dca055_render = function () {
14978
14991
  1
14979
14992
  )
14980
14993
  }
14981
- var resetvue_type_template_id_56dca055_staticRenderFns = []
14982
- resetvue_type_template_id_56dca055_render._withStripped = true
14994
+ var resetvue_type_template_id_f85d1446_staticRenderFns = []
14995
+ resetvue_type_template_id_f85d1446_render._withStripped = true
14983
14996
 
14984
14997
 
14985
- // CONCATENATED MODULE: ./packages/flow/src/reset.vue?vue&type=template&id=56dca055&
14998
+ // CONCATENATED MODULE: ./packages/flow/src/reset.vue?vue&type=template&id=f85d1446&
14986
14999
 
14987
15000
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/reset.vue?vue&type=script&lang=js&
14988
15001
  var resetvue_type_script_lang_js_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
@@ -15522,10 +15535,10 @@ var resetvue_type_script_lang_js_components;
15522
15535
  nextRoleId = _nextNode.nextRoleId,
15523
15536
  nextOperate = _nextNode.nextOperate,
15524
15537
  newOpinion = _nextNode.newOpinion;
15538
+ // if (noticeType.length === 0) {
15539
+ // return this.$message.warning('请选择通知方式');
15540
+ // }
15525
15541
 
15526
- if (noticeType.length === 0) {
15527
- return _this4.$message.warning('请选择通知方式');
15528
- }
15529
15542
  if (_this4.nodeInfoExtAttr.nodeType != 1 && _this4.nodeInfoExtAttr.nodeType != 2 && !_this4.showRoleUser) {
15530
15543
  if (_this4.isShowNextUser) {
15531
15544
  if (nextUser == '' || _this4.multiple && nextUser.length == 0) {
@@ -15883,8 +15896,8 @@ var resetvue_type_script_lang_js_components;
15883
15896
 
15884
15897
  var reset_component = Object(componentNormalizer["a" /* default */])(
15885
15898
  src_resetvue_type_script_lang_js_,
15886
- resetvue_type_template_id_56dca055_render,
15887
- resetvue_type_template_id_56dca055_staticRenderFns,
15899
+ resetvue_type_template_id_f85d1446_render,
15900
+ resetvue_type_template_id_f85d1446_staticRenderFns,
15888
15901
  false,
15889
15902
  null,
15890
15903
  null,
@@ -15893,8 +15906,8 @@ var reset_component = Object(componentNormalizer["a" /* default */])(
15893
15906
  )
15894
15907
 
15895
15908
  /* harmony default export */ var src_reset = (reset_component.exports);
15896
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=36d478ba&
15897
- var taskUnionExaminevue_type_template_id_36d478ba_render = function () {
15909
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=7cff7406&
15910
+ var taskUnionExaminevue_type_template_id_7cff7406_render = function () {
15898
15911
  var _vm = this
15899
15912
  var _h = _vm.$createElement
15900
15913
  var _c = _vm._self._c || _h
@@ -16039,17 +16052,15 @@ var taskUnionExaminevue_type_template_id_36d478ba_render = function () {
16039
16052
  _c(
16040
16053
  "el-form-item",
16041
16054
  {
16042
- attrs: {
16043
- prop: "noticeType",
16044
- label: "通知方式",
16045
- rules: [
16046
- {
16047
- required: false,
16048
- message: "请选择通知方式",
16049
- trigger: "blur",
16050
- },
16051
- ],
16052
- },
16055
+ directives: [
16056
+ {
16057
+ name: "show",
16058
+ rawName: "v-show",
16059
+ value: _vm.infoList.noticeList.length != 0,
16060
+ expression: "infoList.noticeList.length != 0",
16061
+ },
16062
+ ],
16063
+ attrs: { prop: "noticeType", label: "通知方式" },
16053
16064
  },
16054
16065
  [
16055
16066
  _c(
@@ -16153,11 +16164,11 @@ var taskUnionExaminevue_type_template_id_36d478ba_render = function () {
16153
16164
  1
16154
16165
  )
16155
16166
  }
16156
- var taskUnionExaminevue_type_template_id_36d478ba_staticRenderFns = []
16157
- taskUnionExaminevue_type_template_id_36d478ba_render._withStripped = true
16167
+ var taskUnionExaminevue_type_template_id_7cff7406_staticRenderFns = []
16168
+ taskUnionExaminevue_type_template_id_7cff7406_render._withStripped = true
16158
16169
 
16159
16170
 
16160
- // CONCATENATED MODULE: ./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=36d478ba&
16171
+ // CONCATENATED MODULE: ./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=7cff7406&
16161
16172
 
16162
16173
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/taskUnionExamine.vue?vue&type=script&lang=js&
16163
16174
  var taskUnionExaminevue_type_script_lang_js_components;
@@ -16294,6 +16305,7 @@ var taskUnionExaminevue_type_script_lang_js_components;
16294
16305
  //
16295
16306
  //
16296
16307
  //
16308
+ //
16297
16309
 
16298
16310
 
16299
16311
 
@@ -16742,8 +16754,8 @@ var taskUnionExaminevue_type_script_lang_js_components;
16742
16754
 
16743
16755
  var taskUnionExamine_component = Object(componentNormalizer["a" /* default */])(
16744
16756
  component_taskUnionExaminevue_type_script_lang_js_,
16745
- taskUnionExaminevue_type_template_id_36d478ba_render,
16746
- taskUnionExaminevue_type_template_id_36d478ba_staticRenderFns,
16757
+ taskUnionExaminevue_type_template_id_7cff7406_render,
16758
+ taskUnionExaminevue_type_template_id_7cff7406_staticRenderFns,
16747
16759
  false,
16748
16760
  null,
16749
16761
  null,
@@ -21554,8 +21566,8 @@ var freeStartFlow_component = Object(componentNormalizer["a" /* default */])(
21554
21566
  )
21555
21567
 
21556
21568
  /* harmony default export */ var freeStartFlow = (freeStartFlow_component.exports);
21557
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/supervise.vue?vue&type=template&id=5fbd4d48&
21558
- var supervisevue_type_template_id_5fbd4d48_render = function () {
21569
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/supervise.vue?vue&type=template&id=8ef7a708&
21570
+ var supervisevue_type_template_id_8ef7a708_render = function () {
21559
21571
  var _vm = this
21560
21572
  var _h = _vm.$createElement
21561
21573
  var _c = _vm._self._c || _h
@@ -21628,7 +21640,17 @@ var supervisevue_type_template_id_5fbd4d48_render = function () {
21628
21640
  ),
21629
21641
  _c(
21630
21642
  "el-form-item",
21631
- { attrs: { prop: "noticeType", label: "通知方式" } },
21643
+ {
21644
+ directives: [
21645
+ {
21646
+ name: "show",
21647
+ rawName: "v-show",
21648
+ value: _vm.nextNode.notificationType.length > 0,
21649
+ expression: "nextNode.notificationType.length > 0",
21650
+ },
21651
+ ],
21652
+ attrs: { prop: "noticeType", label: "通知方式" },
21653
+ },
21632
21654
  [
21633
21655
  _c(
21634
21656
  "el-checkbox-group",
@@ -21659,7 +21681,17 @@ var supervisevue_type_template_id_5fbd4d48_render = function () {
21659
21681
  ),
21660
21682
  _c(
21661
21683
  "el-form-item",
21662
- { attrs: { prop: "notifyMessage", label: "通知消息" } },
21684
+ {
21685
+ directives: [
21686
+ {
21687
+ name: "show",
21688
+ rawName: "v-show",
21689
+ value: _vm.nextNode.noticeType.length != 0,
21690
+ expression: "nextNode.noticeType.length != 0",
21691
+ },
21692
+ ],
21693
+ attrs: { prop: "notifyMessage", label: "通知消息" },
21694
+ },
21663
21695
  [
21664
21696
  _c("es-input", {
21665
21697
  staticStyle: {
@@ -21708,11 +21740,11 @@ var supervisevue_type_template_id_5fbd4d48_render = function () {
21708
21740
  1
21709
21741
  )
21710
21742
  }
21711
- var supervisevue_type_template_id_5fbd4d48_staticRenderFns = []
21712
- supervisevue_type_template_id_5fbd4d48_render._withStripped = true
21743
+ var supervisevue_type_template_id_8ef7a708_staticRenderFns = []
21744
+ supervisevue_type_template_id_8ef7a708_render._withStripped = true
21713
21745
 
21714
21746
 
21715
- // CONCATENATED MODULE: ./packages/flow/src/supervise.vue?vue&type=template&id=5fbd4d48&
21747
+ // CONCATENATED MODULE: ./packages/flow/src/supervise.vue?vue&type=template&id=8ef7a708&
21716
21748
 
21717
21749
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/supervise.vue?vue&type=script&lang=js&
21718
21750
  var supervisevue_type_script_lang_js_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
@@ -21809,11 +21841,11 @@ var supervisevue_type_script_lang_js_extends = Object.assign || function (target
21809
21841
  subProcess: function subProcess() {
21810
21842
  var _this = this;
21811
21843
 
21812
- if (this.nextNode.noticeType.length == 0) {
21813
- this.$message.warning('请选择通知方式');
21814
- return;
21815
- }
21816
- if (!this.nextNode.notifyMessage) {
21844
+ // if (this.nextNode.noticeType.length == 0) {
21845
+ // this.$message.warning('请选择通知方式');
21846
+ // return;
21847
+ // }
21848
+ if (this.nextNode.noticeType.length != 0 && !this.nextNode.notifyMessage) {
21817
21849
  this.$message.warning('请填写通知消息内容');
21818
21850
  return;
21819
21851
  }
@@ -21857,12 +21889,19 @@ var supervisevue_type_script_lang_js_extends = Object.assign || function (target
21857
21889
  }
21858
21890
  }).then(function (res) {
21859
21891
  _this2.loading.close();
21860
- if (res.rCode == 0) {
21892
+ if (res.rCode == 0 || res.status == "success") {
21861
21893
  _this2.nextNode = supervisevue_type_script_lang_js_extends({}, _this2.nextNode, res.results);
21894
+ var arr = [];
21862
21895
  _this2.nextNode.noticeType = res.results.defaultNotificationType.split(',');
21896
+ _this2.nextNode.notificationType.map(function (x) {
21897
+ if (_this2.nextNode.noticeType.indexOf(x.cciValue) != -1) {
21898
+ arr.push(x.cciValue);
21899
+ }
21900
+ });
21901
+ _this2.nextNode.noticeType = arr;
21863
21902
  } else {
21864
21903
  _this2.$message({
21865
- message: res.rMsg,
21904
+ message: res.msg || res.message,
21866
21905
  type: 'error'
21867
21906
  });
21868
21907
  _this2.$emit('cancel');
@@ -21883,8 +21922,8 @@ var supervisevue_type_script_lang_js_extends = Object.assign || function (target
21883
21922
 
21884
21923
  var supervise_component = Object(componentNormalizer["a" /* default */])(
21885
21924
  src_supervisevue_type_script_lang_js_,
21886
- supervisevue_type_template_id_5fbd4d48_render,
21887
- supervisevue_type_template_id_5fbd4d48_staticRenderFns,
21925
+ supervisevue_type_template_id_8ef7a708_render,
21926
+ supervisevue_type_template_id_8ef7a708_staticRenderFns,
21888
21927
  false,
21889
21928
  null,
21890
21929
  null,
@@ -21893,8 +21932,8 @@ var supervise_component = Object(componentNormalizer["a" /* default */])(
21893
21932
  )
21894
21933
 
21895
21934
  /* harmony default export */ var supervise = (supervise_component.exports);
21896
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/Circulate.vue?vue&type=template&id=858cd6e2&
21897
- var Circulatevue_type_template_id_858cd6e2_render = function () {
21935
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/Circulate.vue?vue&type=template&id=46ad7cd0&
21936
+ var Circulatevue_type_template_id_46ad7cd0_render = function () {
21898
21937
  var _vm = this
21899
21938
  var _h = _vm.$createElement
21900
21939
  var _c = _vm._self._c || _h
@@ -21970,17 +22009,15 @@ var Circulatevue_type_template_id_858cd6e2_render = function () {
21970
22009
  _c(
21971
22010
  "el-form-item",
21972
22011
  {
21973
- attrs: {
21974
- prop: "noticeType",
21975
- label: "通知方式",
21976
- rules: [
21977
- {
21978
- required: false,
21979
- message: "请选择通知方式",
21980
- trigger: "blur",
21981
- },
21982
- ],
21983
- },
22012
+ directives: [
22013
+ {
22014
+ name: "show",
22015
+ rawName: "v-show",
22016
+ value: _vm.infoList.noticeList != 0,
22017
+ expression: "infoList.noticeList != 0",
22018
+ },
22019
+ ],
22020
+ attrs: { prop: "noticeType", label: "通知方式" },
21984
22021
  },
21985
22022
  [
21986
22023
  _c(
@@ -22087,11 +22124,11 @@ var Circulatevue_type_template_id_858cd6e2_render = function () {
22087
22124
  1
22088
22125
  )
22089
22126
  }
22090
- var Circulatevue_type_template_id_858cd6e2_staticRenderFns = []
22091
- Circulatevue_type_template_id_858cd6e2_render._withStripped = true
22127
+ var Circulatevue_type_template_id_46ad7cd0_staticRenderFns = []
22128
+ Circulatevue_type_template_id_46ad7cd0_render._withStripped = true
22092
22129
 
22093
22130
 
22094
- // CONCATENATED MODULE: ./packages/flow/src/component/Circulate.vue?vue&type=template&id=858cd6e2&
22131
+ // CONCATENATED MODULE: ./packages/flow/src/component/Circulate.vue?vue&type=template&id=46ad7cd0&
22095
22132
 
22096
22133
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/Circulate.vue?vue&type=script&lang=js&
22097
22134
  var Circulatevue_type_script_lang_js_components;
@@ -22181,6 +22218,8 @@ var Circulatevue_type_script_lang_js_components;
22181
22218
  //
22182
22219
  //
22183
22220
  //
22221
+ //
22222
+ //
22184
22223
 
22185
22224
 
22186
22225
 
@@ -22405,7 +22444,8 @@ var Circulatevue_type_script_lang_js_components;
22405
22444
  params: {
22406
22445
  ccCode: 'notification_type',
22407
22446
  userId: util["a" /* default */].getStorage('userId'),
22408
- pendingId: this.pendingId
22447
+ pendingId: this.pendingId,
22448
+ startCircularRead: true
22409
22449
  }
22410
22450
  }).then(function (res) {
22411
22451
  var status = res.status,
@@ -22497,8 +22537,8 @@ var Circulatevue_type_script_lang_js_components;
22497
22537
 
22498
22538
  var Circulate_component = Object(componentNormalizer["a" /* default */])(
22499
22539
  component_Circulatevue_type_script_lang_js_,
22500
- Circulatevue_type_template_id_858cd6e2_render,
22501
- Circulatevue_type_template_id_858cd6e2_staticRenderFns,
22540
+ Circulatevue_type_template_id_46ad7cd0_render,
22541
+ Circulatevue_type_template_id_46ad7cd0_staticRenderFns,
22502
22542
  false,
22503
22543
  null,
22504
22544
  null,
@@ -23625,6 +23665,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
23625
23665
  //
23626
23666
  //
23627
23667
  //
23668
+ //
23628
23669
 
23629
23670
 
23630
23671
 
@@ -23898,6 +23939,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
23898
23939
  isCirculate: {
23899
23940
  handler: function handler(val) {
23900
23941
  if (!val && this.showCirculate != undefined) {
23942
+ this.showCirculate = val;
23901
23943
  this.getInfo();
23902
23944
  }
23903
23945
  this.showCirculate = val;
@@ -24026,7 +24068,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
24026
24068
  },
24027
24069
  getInfo: function getInfo() {
24028
24070
  if (this.typeCode == 'supervise' || this.typeCode == 'read') return;
24029
- this.getNodeType();
24071
+ if (this.showCirculate != undefined && !this.showCirculate && this.urgencyLevel) {
24072
+ this.getAdminMsgType();
24073
+ } else {
24074
+ this.getNodeType();
24075
+ }
24030
24076
  !this.isFlow && (this.newTypeCode = this.typeCode || this.$route.query.typecode);
24031
24077
  if (this.isFlow) {
24032
24078
  this.businessId && this.getProcess();
@@ -24398,14 +24444,15 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
24398
24444
  getNodeType: function getNodeType() {
24399
24445
  var _this9 = this;
24400
24446
 
24401
- util["a" /* default */].ajax({
24447
+ var params = {
24402
24448
  url: api["z" /* findCodeValues */],
24403
24449
  params: {
24404
24450
  ccCode: 'notification_type',
24405
24451
  userId: util["a" /* default */].getStorage('userId'),
24406
24452
  pendingId: this.pendingId
24407
24453
  }
24408
- }).then(function (res) {
24454
+ };
24455
+ util["a" /* default */].ajax(params).then(function (res) {
24409
24456
  var status = res.status,
24410
24457
  data = res.data;
24411
24458
 
@@ -25606,6 +25653,9 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
25606
25653
  if (_this29.nodeInfo.nextNode) {
25607
25654
  _this29.handleChange(_this29.nodeInfo.nextNode);
25608
25655
  }
25656
+ if (_this29.showCirculate != undefined && !_this29.showCirculate && _this29.urgencyLevel) {
25657
+ _this29.getAdminMsgType();
25658
+ }
25609
25659
  }
25610
25660
  } else {
25611
25661
  _this29.$message.error(message || '系统错误,请联系管理员!');