eoss-ui 0.7.13 → 0.7.14

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,
@@ -46926,6 +46933,9 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
46926
46933
  //
46927
46934
  //
46928
46935
  //
46936
+ //
46937
+ //
46938
+ //
46929
46939
 
46930
46940
 
46931
46941
 
@@ -47008,6 +47018,10 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
47008
47018
  type: [String, Number],
47009
47019
  default: 10
47010
47020
  },
47021
+ showOther: {
47022
+ type: Boolean,
47023
+ default: true
47024
+ },
47011
47025
  isEndMessage: { type: Boolean, default: false }
47012
47026
  },
47013
47027
  data: function data() {
@@ -47019,6 +47033,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
47019
47033
  endMessage: '',
47020
47034
  isHideTemporarySave: false,
47021
47035
  oldNextOperate: '',
47036
+ showOpinion: true,
47022
47037
  taskOperationShiftedNodeList: null,
47023
47038
  currentNodeEnableItemHandleDescription: false,
47024
47039
  startFlowPageEmbeddedIntoStartFlowIndex: false,
@@ -47250,7 +47265,8 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
47250
47265
  }
47251
47266
  }
47252
47267
  if (this.nodeInfo.nextNode) {
47253
- this.handleChange(this.nodeInfo.nextNode);
47268
+
47269
+ this.handleChange(this.nodeInfo.nextNode, true);
47254
47270
  }
47255
47271
  }
47256
47272
  },
@@ -47378,6 +47394,10 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
47378
47394
  // }
47379
47395
  _this3.optionsKey++;
47380
47396
  _this3.isOpinionRequired = res.data.nodeExtAttr.isOpinionRequired == 1;
47397
+ _this3.showOpinion = false;
47398
+ setTimeout(function () {
47399
+ _this3.showOpinion = true;
47400
+ }, 0);
47381
47401
  }
47382
47402
  });
47383
47403
  },
@@ -47427,8 +47447,8 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
47427
47447
  this.flowSuccess(true);
47428
47448
  // this.$emit('success');
47429
47449
  },
47430
- handleChange: function handleChange(val) {
47431
- this.getNodeInfoForStartFlow(val);
47450
+ handleChange: function handleChange(val, isForStartFlow) {
47451
+ this.getNodeInfoForStartFlow(val, isForStartFlow);
47432
47452
  this.$parent.$emit('flowChange', val);
47433
47453
  },
47434
47454
  getsubProcessColumns: function getsubProcessColumns() {
@@ -48922,7 +48942,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
48922
48942
  }
48923
48943
  }
48924
48944
  if (_this30.nodeInfo.nextNode) {
48925
- _this30.handleChange(_this30.nodeInfo.nextNode);
48945
+ _this30.handleChange(_this30.nodeInfo.nextNode, true);
48926
48946
  }
48927
48947
  if (_this30.showCirculate != undefined && !_this30.showCirculate && _this30.urgencyLevel) {
48928
48948
  _this30.getAdminMsgType();
@@ -49130,15 +49150,23 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
49130
49150
  switch (_context.prev = _context.next) {
49131
49151
  case 0:
49132
49152
  if (!valid) {
49133
- _context.next = 53;
49153
+ _context.next = 55;
49134
49154
  break;
49135
49155
  }
49136
49156
 
49137
49157
  if (!_this35.isFlow) {
49158
+ _context.next = 6;
49159
+ break;
49160
+ }
49161
+
49162
+ if (!(_this35.isOpinionRequired && !_this35.$refs.commonOpinions.validate())) {
49138
49163
  _context.next = 4;
49139
49164
  break;
49140
49165
  }
49141
49166
 
49167
+ return _context.abrupt('return');
49168
+
49169
+ case 4:
49142
49170
  if (_this35.directCreateCircularReadWhenFlowStarted) {
49143
49171
  _this35.circulateVisible = true;
49144
49172
  } else {
@@ -49146,7 +49174,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
49146
49174
  }
49147
49175
  return _context.abrupt('return');
49148
49176
 
49149
- case 4:
49177
+ case 6:
49150
49178
  nextUserId = [];
49151
49179
 
49152
49180
  if (_this35.multiple) {
@@ -49189,17 +49217,17 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
49189
49217
  }
49190
49218
 
49191
49219
  if (!(freetype != 'multiInsMidwayWithSubmitScene')) {
49192
- _context.next = 20;
49220
+ _context.next = 22;
49193
49221
  break;
49194
49222
  }
49195
49223
 
49196
- _context.next = 19;
49224
+ _context.next = 21;
49197
49225
  return _this35.saveInfo('subMit');
49198
49226
 
49199
- case 19:
49227
+ case 21:
49200
49228
  _this35.loading = utils_util["a" /* default */].loading(_this35.$loading, '加载中...');
49201
49229
 
49202
- case 20:
49230
+ case 22:
49203
49231
  notificationType = '';
49204
49232
 
49205
49233
  notificationType = _this35.nextNode.notificationType.join(',');
@@ -49237,7 +49265,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
49237
49265
  }
49238
49266
 
49239
49267
  if (!(freetype === 'multiInsMidwayWithSubmitScene')) {
49240
- _context.next = 34;
49268
+ _context.next = 36;
49241
49269
  break;
49242
49270
  }
49243
49271
 
@@ -49245,7 +49273,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
49245
49273
  _this35.taskParams = params;
49246
49274
  return _context.abrupt('return');
49247
49275
 
49248
- case 34:
49276
+ case 36:
49249
49277
  _this35.loading = utils_util["a" /* default */].loading(_this35.$loading, '提交中...');
49250
49278
  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
49279
 
@@ -49285,10 +49313,10 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
49285
49313
  }
49286
49314
  }));
49287
49315
 
49288
- case 53:
49316
+ case 55:
49289
49317
  return _context.abrupt('return', false);
49290
49318
 
49291
- case 54:
49319
+ case 56:
49292
49320
  case 'end':
49293
49321
  return _context.stop();
49294
49322
  }
@@ -49349,8 +49377,8 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
49349
49377
 
49350
49378
  var flow_src_main_component = normalizeComponent(
49351
49379
  packages_flow_src_mainvue_type_script_lang_js_,
49352
- mainvue_type_template_id_f8b78648_render,
49353
- mainvue_type_template_id_f8b78648_staticRenderFns,
49380
+ mainvue_type_template_id_416e8ccb_render,
49381
+ mainvue_type_template_id_416e8ccb_staticRenderFns,
49354
49382
  false,
49355
49383
  null,
49356
49384
  null,
@@ -92942,7 +92970,7 @@ if (typeof window !== 'undefined' && window.Vue) {
92942
92970
  }
92943
92971
 
92944
92972
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
92945
- version: '0.7.13',
92973
+ version: '0.7.14',
92946
92974
  install: install,
92947
92975
  Button: packages_button,
92948
92976
  ButtonGroup: button_group,