eoss-ui 0.7.13 → 0.7.15

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.
@@ -27192,8 +27192,8 @@ form_src_main.install = function (Vue) {
27192
27192
  };
27193
27193
 
27194
27194
  /* harmony default export */ var packages_form = (form_src_main);
27195
- // 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=f8b78648&
27196
- var mainvue_type_template_id_f8b78648_render = function () {
27195
+ // 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=416e8ccb&
27196
+ var mainvue_type_template_id_416e8ccb_render = function () {
27197
27197
  var _vm = this
27198
27198
  var _h = _vm.$createElement
27199
27199
  var _c = _vm._self._c || _h
@@ -27285,34 +27285,36 @@ var mainvue_type_template_id_f8b78648_render = function () {
27285
27285
  ]
27286
27286
  ),
27287
27287
  ]),
27288
- _c("CommonOpinions", {
27289
- directives: [
27290
- {
27291
- name: "show",
27292
- rawName: "v-show",
27293
- value: !_vm.shrink,
27294
- expression: "!shrink",
27295
- },
27296
- ],
27297
- ref: "commonOpinions",
27298
- staticClass: "es-common-opinions",
27299
- attrs: {
27300
- opinion: _vm.value,
27301
- rows: _vm.rows,
27302
- placeholder: _vm.pendingItemHandleDescription,
27303
- pendingItemHandleDescription:
27304
- _vm.pendingItemHandleDescription,
27305
- required: _vm.isOpinionRequired == 1,
27306
- isBanInputOpinion: _vm.isBanInputOpinion,
27307
- nodeFixedOpinionSelectList:
27308
- _vm.nodeFixedOpinionSelectList,
27309
- },
27310
- on: {
27311
- change: function (val) {
27312
- return (_vm.value = val)
27313
- },
27314
- },
27315
- }),
27288
+ _vm.showOpinion
27289
+ ? _c("CommonOpinions", {
27290
+ directives: [
27291
+ {
27292
+ name: "show",
27293
+ rawName: "v-show",
27294
+ value: !_vm.shrink,
27295
+ expression: "!shrink",
27296
+ },
27297
+ ],
27298
+ ref: "commonOpinions",
27299
+ staticClass: "es-common-opinions",
27300
+ attrs: {
27301
+ opinion: _vm.value,
27302
+ rows: _vm.rows,
27303
+ placeholder: _vm.pendingItemHandleDescription,
27304
+ pendingItemHandleDescription:
27305
+ _vm.pendingItemHandleDescription,
27306
+ required: _vm.isOpinionRequired == 1,
27307
+ isBanInputOpinion: _vm.isBanInputOpinion,
27308
+ nodeFixedOpinionSelectList:
27309
+ _vm.nodeFixedOpinionSelectList,
27310
+ },
27311
+ on: {
27312
+ change: function (val) {
27313
+ return (_vm.value = val)
27314
+ },
27315
+ },
27316
+ })
27317
+ : _vm._e(),
27316
27318
  _c(
27317
27319
  "div",
27318
27320
  {
@@ -27463,6 +27465,7 @@ var mainvue_type_template_id_f8b78648_render = function () {
27463
27465
  attrs: {
27464
27466
  appId: _vm.resetAppId,
27465
27467
  params: _vm.param,
27468
+ showOther: _vm.showOther,
27466
27469
  formLabelPosition: _vm.formLabelPosition,
27467
27470
  simpleTips: _vm.simpleTips,
27468
27471
  },
@@ -27610,34 +27613,36 @@ var mainvue_type_template_id_f8b78648_render = function () {
27610
27613
  ),
27611
27614
  ]
27612
27615
  ),
27613
- _c("CommonOpinions", {
27614
- directives: [
27615
- {
27616
- name: "show",
27617
- rawName: "v-show",
27618
- value: !_vm.shrink,
27619
- expression: "!shrink",
27620
- },
27621
- ],
27622
- ref: "commonOpinions",
27623
- staticClass: "es-common-opinions",
27624
- attrs: {
27625
- opinion: _vm.value,
27626
- rows: _vm.rows,
27627
- pendingItemHandleDescription:
27628
- _vm.pendingItemHandleDescription,
27629
- placeholder: _vm.pendingItemHandleDescription,
27630
- required: _vm.isOpinionRequired == 1,
27631
- isBanInputOpinion: _vm.isBanInputOpinion,
27632
- nodeFixedOpinionSelectList:
27633
- _vm.nodeFixedOpinionSelectList,
27634
- },
27635
- on: {
27636
- change: function (val) {
27637
- return (_vm.value = val)
27638
- },
27639
- },
27640
- }),
27616
+ _vm.showOpinion
27617
+ ? _c("CommonOpinions", {
27618
+ directives: [
27619
+ {
27620
+ name: "show",
27621
+ rawName: "v-show",
27622
+ value: !_vm.shrink,
27623
+ expression: "!shrink",
27624
+ },
27625
+ ],
27626
+ ref: "commonOpinions",
27627
+ staticClass: "es-common-opinions",
27628
+ attrs: {
27629
+ opinion: _vm.value,
27630
+ rows: _vm.rows,
27631
+ pendingItemHandleDescription:
27632
+ _vm.pendingItemHandleDescription,
27633
+ placeholder: _vm.pendingItemHandleDescription,
27634
+ required: _vm.isOpinionRequired == 1,
27635
+ isBanInputOpinion: _vm.isBanInputOpinion,
27636
+ nodeFixedOpinionSelectList:
27637
+ _vm.nodeFixedOpinionSelectList,
27638
+ },
27639
+ on: {
27640
+ change: function (val) {
27641
+ return (_vm.value = val)
27642
+ },
27643
+ },
27644
+ })
27645
+ : _vm._e(),
27641
27646
  ],
27642
27647
  1
27643
27648
  ),
@@ -30092,14 +30097,14 @@ var mainvue_type_template_id_f8b78648_render = function () {
30092
30097
  )
30093
30098
  : _vm._e()
30094
30099
  }
30095
- var mainvue_type_template_id_f8b78648_staticRenderFns = []
30096
- mainvue_type_template_id_f8b78648_render._withStripped = true
30100
+ var mainvue_type_template_id_416e8ccb_staticRenderFns = []
30101
+ mainvue_type_template_id_416e8ccb_render._withStripped = true
30097
30102
 
30098
30103
 
30099
- // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=f8b78648&
30104
+ // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=416e8ccb&
30100
30105
 
30101
- // 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=19364a89&
30102
- var CommonOpinionsvue_type_template_id_19364a89_render = function () {
30106
+ // 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=4b7ad280&
30107
+ var CommonOpinionsvue_type_template_id_4b7ad280_render = function () {
30103
30108
  var _vm = this
30104
30109
  var _h = _vm.$createElement
30105
30110
  var _c = _vm._self._c || _h
@@ -30111,11 +30116,7 @@ var CommonOpinionsvue_type_template_id_19364a89_render = function () {
30111
30116
  "el-form",
30112
30117
  {
30113
30118
  ref: "ruleForm",
30114
- attrs: {
30115
- model: _vm.form,
30116
- rules: _vm.required ? _vm.rules : {},
30117
- "label-width": "0",
30118
- },
30119
+ attrs: { model: _vm.form, rules: _vm.rules, "label-width": "0" },
30119
30120
  },
30120
30121
  [
30121
30122
  _c(
@@ -30310,11 +30311,11 @@ var CommonOpinionsvue_type_template_id_19364a89_render = function () {
30310
30311
  1
30311
30312
  )
30312
30313
  }
30313
- var CommonOpinionsvue_type_template_id_19364a89_staticRenderFns = []
30314
- CommonOpinionsvue_type_template_id_19364a89_render._withStripped = true
30314
+ var CommonOpinionsvue_type_template_id_4b7ad280_staticRenderFns = []
30315
+ CommonOpinionsvue_type_template_id_4b7ad280_render._withStripped = true
30315
30316
 
30316
30317
 
30317
- // CONCATENATED MODULE: ./packages/flow/src/component/CommonOpinions.vue?vue&type=template&id=19364a89&
30318
+ // CONCATENATED MODULE: ./packages/flow/src/component/CommonOpinions.vue?vue&type=template&id=4b7ad280&
30318
30319
 
30319
30320
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/table.vue?vue&type=template&id=67f38db6&
30320
30321
  var tablevue_type_template_id_67f38db6_render = function () {
@@ -30847,8 +30848,6 @@ var CommonOpinionsvue_type_script_lang_js_components;
30847
30848
  //
30848
30849
  //
30849
30850
  //
30850
- //
30851
- //
30852
30851
 
30853
30852
 
30854
30853
 
@@ -30864,9 +30863,6 @@ var CommonOpinionsvue_type_script_lang_js_components;
30864
30863
  form: {
30865
30864
  value: ''
30866
30865
  },
30867
- rules: {
30868
- value: [{ required: true, message: '请输入意见', trigger: 'blur' }]
30869
- },
30870
30866
  input3: '',
30871
30867
  selectValue: '',
30872
30868
  optionList: [],
@@ -30904,6 +30900,17 @@ var CommonOpinionsvue_type_script_lang_js_components;
30904
30900
  },
30905
30901
  required: { type: Boolean, default: false }
30906
30902
  },
30903
+ computed: {
30904
+ rules: function rules() {
30905
+ return {
30906
+ value: [{
30907
+ required: this.required,
30908
+ message: '请输入意见',
30909
+ trigger: 'blur'
30910
+ }]
30911
+ };
30912
+ }
30913
+ },
30907
30914
  mounted: function mounted() {
30908
30915
  if (this.nodeFixedOpinionSelectList.length > 0) {
30909
30916
  this.optionList = this.nodeFixedOpinionSelectList;
@@ -31126,8 +31133,8 @@ var CommonOpinionsvue_type_script_lang_js_components;
31126
31133
 
31127
31134
  var CommonOpinions_component = normalizeComponent(
31128
31135
  component_CommonOpinionsvue_type_script_lang_js_,
31129
- CommonOpinionsvue_type_template_id_19364a89_render,
31130
- CommonOpinionsvue_type_template_id_19364a89_staticRenderFns,
31136
+ CommonOpinionsvue_type_template_id_4b7ad280_render,
31137
+ CommonOpinionsvue_type_template_id_4b7ad280_staticRenderFns,
31131
31138
  false,
31132
31139
  null,
31133
31140
  null,
@@ -45468,8 +45475,8 @@ var Circulate_component = normalizeComponent(
45468
45475
  )
45469
45476
 
45470
45477
  /* harmony default export */ var Circulate = (Circulate_component.exports);
45471
- // 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/FreeCirculation.vue?vue&type=template&id=521e2326&
45472
- var FreeCirculationvue_type_template_id_521e2326_render = function () {
45478
+ // 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/FreeCirculation.vue?vue&type=template&id=4ffe80dd&
45479
+ var FreeCirculationvue_type_template_id_4ffe80dd_render = function () {
45473
45480
  var _vm = this
45474
45481
  var _h = _vm.$createElement
45475
45482
  var _c = _vm._self._c || _h
@@ -45562,11 +45569,11 @@ var FreeCirculationvue_type_template_id_521e2326_render = function () {
45562
45569
  1
45563
45570
  )
45564
45571
  }
45565
- var FreeCirculationvue_type_template_id_521e2326_staticRenderFns = []
45566
- FreeCirculationvue_type_template_id_521e2326_render._withStripped = true
45572
+ var FreeCirculationvue_type_template_id_4ffe80dd_staticRenderFns = []
45573
+ FreeCirculationvue_type_template_id_4ffe80dd_render._withStripped = true
45567
45574
 
45568
45575
 
45569
- // CONCATENATED MODULE: ./packages/flow/src/component/FreeCirculation.vue?vue&type=template&id=521e2326&
45576
+ // CONCATENATED MODULE: ./packages/flow/src/component/FreeCirculation.vue?vue&type=template&id=4ffe80dd&
45570
45577
 
45571
45578
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/FreeCirculation.vue?vue&type=script&lang=js&
45572
45579
  //
@@ -45656,6 +45663,7 @@ FreeCirculationvue_type_template_id_521e2326_render._withStripped = true
45656
45663
  methods: {
45657
45664
  quit: function quit() {
45658
45665
  this.$emit('cancel');
45666
+ this.$parent.$emit('cancel');
45659
45667
  },
45660
45668
  subMit: function subMit() {
45661
45669
  var _this = this;
@@ -45672,8 +45680,9 @@ FreeCirculationvue_type_template_id_521e2326_render._withStripped = true
45672
45680
  };
45673
45681
  this.loading = utils_util["a" /* default */].loading(this.$loading, '加载中...');
45674
45682
  utils_util["a" /* default */].ajax(param).then(function (res) {
45683
+ _this.loading.close();
45675
45684
  if (res.rCode == 0 || res.status == 'success') {
45676
- _this.loading.close();
45685
+
45677
45686
  if (!_this.simpleTips) {
45678
45687
  _this.$alert('提交成功', '', {
45679
45688
  confirmButtonText: '确定',
@@ -45685,6 +45694,8 @@ FreeCirculationvue_type_template_id_521e2326_render._withStripped = true
45685
45694
  } else {
45686
45695
  _this.$parent.$emit('success');
45687
45696
  }
45697
+ } else {
45698
+ _this.$message.error(res.message || res.msg || '系统错误,请联系管理员!');
45688
45699
  }
45689
45700
  });
45690
45701
  },
@@ -45781,8 +45792,8 @@ FreeCirculationvue_type_template_id_521e2326_render._withStripped = true
45781
45792
 
45782
45793
  var FreeCirculation_component = normalizeComponent(
45783
45794
  component_FreeCirculationvue_type_script_lang_js_,
45784
- FreeCirculationvue_type_template_id_521e2326_render,
45785
- FreeCirculationvue_type_template_id_521e2326_staticRenderFns,
45795
+ FreeCirculationvue_type_template_id_4ffe80dd_render,
45796
+ FreeCirculationvue_type_template_id_4ffe80dd_staticRenderFns,
45786
45797
  false,
45787
45798
  null,
45788
45799
  null,
@@ -46926,6 +46937,9 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
46926
46937
  //
46927
46938
  //
46928
46939
  //
46940
+ //
46941
+ //
46942
+ //
46929
46943
 
46930
46944
 
46931
46945
 
@@ -47008,6 +47022,10 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
47008
47022
  type: [String, Number],
47009
47023
  default: 10
47010
47024
  },
47025
+ showOther: {
47026
+ type: Boolean,
47027
+ default: true
47028
+ },
47011
47029
  isEndMessage: { type: Boolean, default: false }
47012
47030
  },
47013
47031
  data: function data() {
@@ -47019,6 +47037,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
47019
47037
  endMessage: '',
47020
47038
  isHideTemporarySave: false,
47021
47039
  oldNextOperate: '',
47040
+ showOpinion: true,
47022
47041
  taskOperationShiftedNodeList: null,
47023
47042
  currentNodeEnableItemHandleDescription: false,
47024
47043
  startFlowPageEmbeddedIntoStartFlowIndex: false,
@@ -47250,7 +47269,8 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
47250
47269
  }
47251
47270
  }
47252
47271
  if (this.nodeInfo.nextNode) {
47253
- this.handleChange(this.nodeInfo.nextNode);
47272
+
47273
+ this.handleChange(this.nodeInfo.nextNode, true);
47254
47274
  }
47255
47275
  }
47256
47276
  },
@@ -47378,6 +47398,10 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
47378
47398
  // }
47379
47399
  _this3.optionsKey++;
47380
47400
  _this3.isOpinionRequired = res.data.nodeExtAttr.isOpinionRequired == 1;
47401
+ _this3.showOpinion = false;
47402
+ setTimeout(function () {
47403
+ _this3.showOpinion = true;
47404
+ }, 0);
47381
47405
  }
47382
47406
  });
47383
47407
  },
@@ -47427,8 +47451,8 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
47427
47451
  this.flowSuccess(true);
47428
47452
  // this.$emit('success');
47429
47453
  },
47430
- handleChange: function handleChange(val) {
47431
- this.getNodeInfoForStartFlow(val);
47454
+ handleChange: function handleChange(val, isForStartFlow) {
47455
+ this.getNodeInfoForStartFlow(val, isForStartFlow);
47432
47456
  this.$parent.$emit('flowChange', val);
47433
47457
  },
47434
47458
  getsubProcessColumns: function getsubProcessColumns() {
@@ -48922,7 +48946,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
48922
48946
  }
48923
48947
  }
48924
48948
  if (_this30.nodeInfo.nextNode) {
48925
- _this30.handleChange(_this30.nodeInfo.nextNode);
48949
+ _this30.handleChange(_this30.nodeInfo.nextNode, true);
48926
48950
  }
48927
48951
  if (_this30.showCirculate != undefined && !_this30.showCirculate && _this30.urgencyLevel) {
48928
48952
  _this30.getAdminMsgType();
@@ -49130,15 +49154,23 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
49130
49154
  switch (_context.prev = _context.next) {
49131
49155
  case 0:
49132
49156
  if (!valid) {
49133
- _context.next = 53;
49157
+ _context.next = 55;
49134
49158
  break;
49135
49159
  }
49136
49160
 
49137
49161
  if (!_this35.isFlow) {
49162
+ _context.next = 6;
49163
+ break;
49164
+ }
49165
+
49166
+ if (!(_this35.isOpinionRequired && !_this35.$refs.commonOpinions.validate())) {
49138
49167
  _context.next = 4;
49139
49168
  break;
49140
49169
  }
49141
49170
 
49171
+ return _context.abrupt('return');
49172
+
49173
+ case 4:
49142
49174
  if (_this35.directCreateCircularReadWhenFlowStarted) {
49143
49175
  _this35.circulateVisible = true;
49144
49176
  } else {
@@ -49146,7 +49178,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
49146
49178
  }
49147
49179
  return _context.abrupt('return');
49148
49180
 
49149
- case 4:
49181
+ case 6:
49150
49182
  nextUserId = [];
49151
49183
 
49152
49184
  if (_this35.multiple) {
@@ -49189,17 +49221,17 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
49189
49221
  }
49190
49222
 
49191
49223
  if (!(freetype != 'multiInsMidwayWithSubmitScene')) {
49192
- _context.next = 20;
49224
+ _context.next = 22;
49193
49225
  break;
49194
49226
  }
49195
49227
 
49196
- _context.next = 19;
49228
+ _context.next = 21;
49197
49229
  return _this35.saveInfo('subMit');
49198
49230
 
49199
- case 19:
49231
+ case 21:
49200
49232
  _this35.loading = utils_util["a" /* default */].loading(_this35.$loading, '加载中...');
49201
49233
 
49202
- case 20:
49234
+ case 22:
49203
49235
  notificationType = '';
49204
49236
 
49205
49237
  notificationType = _this35.nextNode.notificationType.join(',');
@@ -49237,7 +49269,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
49237
49269
  }
49238
49270
 
49239
49271
  if (!(freetype === 'multiInsMidwayWithSubmitScene')) {
49240
- _context.next = 34;
49272
+ _context.next = 36;
49241
49273
  break;
49242
49274
  }
49243
49275
 
@@ -49245,7 +49277,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
49245
49277
  _this35.taskParams = params;
49246
49278
  return _context.abrupt('return');
49247
49279
 
49248
- case 34:
49280
+ case 36:
49249
49281
  _this35.loading = utils_util["a" /* default */].loading(_this35.$loading, '提交中...');
49250
49282
  isEndUserTask = _this35.isEndUserTask, choiceOrgId = _this35.choiceOrgId, choiceDeptId = _this35.choiceDeptId, pOrgId = _this35.pOrgId, taskExamineInfo = _this35.taskExamineInfo, currentNodeIsCircularReadNode = _this35.currentNodeIsCircularReadNode, needRetrialAuth = _this35.needRetrialAuth, circularReadParamsMap = _this35.circularReadParamsMap, currentNodeEnableItemHandleDescription = _this35.currentNodeEnableItemHandleDescription;
49251
49283
 
@@ -49285,10 +49317,10 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
49285
49317
  }
49286
49318
  }));
49287
49319
 
49288
- case 53:
49320
+ case 55:
49289
49321
  return _context.abrupt('return', false);
49290
49322
 
49291
- case 54:
49323
+ case 56:
49292
49324
  case 'end':
49293
49325
  return _context.stop();
49294
49326
  }
@@ -49349,8 +49381,8 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
49349
49381
 
49350
49382
  var flow_src_main_component = normalizeComponent(
49351
49383
  packages_flow_src_mainvue_type_script_lang_js_,
49352
- mainvue_type_template_id_f8b78648_render,
49353
- mainvue_type_template_id_f8b78648_staticRenderFns,
49384
+ mainvue_type_template_id_416e8ccb_render,
49385
+ mainvue_type_template_id_416e8ccb_staticRenderFns,
49354
49386
  false,
49355
49387
  null,
49356
49388
  null,
@@ -92942,7 +92974,7 @@ if (typeof window !== 'undefined' && window.Vue) {
92942
92974
  }
92943
92975
 
92944
92976
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
92945
- version: '0.7.13',
92977
+ version: '0.7.15',
92946
92978
  install: install,
92947
92979
  Button: packages_button,
92948
92980
  ButtonGroup: button_group,