eoss-ui 0.5.88 → 0.5.89

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.
@@ -24058,8 +24058,8 @@ form_src_main.install = function (Vue) {
24058
24058
  };
24059
24059
 
24060
24060
  /* harmony default export */ var packages_form = (form_src_main);
24061
- // 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=44d35e77&
24062
- var mainvue_type_template_id_44d35e77_render = function () {
24061
+ // 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=242d804b&
24062
+ var mainvue_type_template_id_242d804b_render = function () {
24063
24063
  var _vm = this
24064
24064
  var _h = _vm.$createElement
24065
24065
  var _c = _vm._self._c || _h
@@ -24251,6 +24251,10 @@ var mainvue_type_template_id_44d35e77_render = function () {
24251
24251
  "el-input",
24252
24252
  {
24253
24253
  staticClass: "input-with-select select-process",
24254
+ class: {
24255
+ "hide-flow-char":
24256
+ _vm.isStartFlowChartView != "true",
24257
+ },
24254
24258
  attrs: { placeholder: "请输入内容" },
24255
24259
  },
24256
24260
  [
@@ -24284,6 +24288,15 @@ var mainvue_type_template_id_44d35e77_render = function () {
24284
24288
  1
24285
24289
  ),
24286
24290
  _c("el-button", {
24291
+ directives: [
24292
+ {
24293
+ name: "show",
24294
+ rawName: "v-show",
24295
+ value: _vm.isStartFlowChartView == "true",
24296
+ expression:
24297
+ "isStartFlowChartView == 'true'",
24298
+ },
24299
+ ],
24287
24300
  attrs: {
24288
24301
  slot: "append",
24289
24302
  icon: "el-icon-picture",
@@ -25838,11 +25851,11 @@ var mainvue_type_template_id_44d35e77_render = function () {
25838
25851
  )
25839
25852
  : _vm._e()
25840
25853
  }
25841
- var mainvue_type_template_id_44d35e77_staticRenderFns = []
25842
- mainvue_type_template_id_44d35e77_render._withStripped = true
25854
+ var mainvue_type_template_id_242d804b_staticRenderFns = []
25855
+ mainvue_type_template_id_242d804b_render._withStripped = true
25843
25856
 
25844
25857
 
25845
- // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=44d35e77&
25858
+ // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=242d804b&
25846
25859
 
25847
25860
  // 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=28c062bc&
25848
25861
  var CommonOpinionsvue_type_template_id_28c062bc_render = function () {
@@ -33531,6 +33544,8 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
33531
33544
  //
33532
33545
  //
33533
33546
  //
33547
+ //
33548
+ //
33534
33549
 
33535
33550
 
33536
33551
 
@@ -33585,6 +33600,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
33585
33600
  styles: {},
33586
33601
  userModel: {},
33587
33602
  isCanPreAddSign: false,
33603
+ isStartFlowChartView: undefined,
33588
33604
  nextOtherOrgObjSelect: [],
33589
33605
  subProcessColumns: [],
33590
33606
  nextCurrentOrgObjSelect: [],
@@ -33592,6 +33608,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
33592
33608
  newTypeCode: '',
33593
33609
  NodeName: '', // 当前节点值
33594
33610
  radioList: [],
33611
+ taskReadOpinionRequired: undefined,
33595
33612
  value: '',
33596
33613
  nodeFixedOpinionSelectList: [],
33597
33614
  customPresetHintMessage: '', //流程预设标题
@@ -33910,6 +33927,9 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
33910
33927
  taskRead: function taskRead() {
33911
33928
  var _this2 = this;
33912
33929
 
33930
+ if (this.taskReadOpinionRequired == 'true' && !this.value) {
33931
+ if (!this.$refs.commonOpinions.validate()) return;
33932
+ }
33913
33933
  this.$confirm('确认提交?', '提示', {
33914
33934
  confirmButtonText: '确定',
33915
33935
  cancelButtonText: '取消',
@@ -33970,10 +33990,12 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
33970
33990
  message = res.message,
33971
33991
  _res$data = res.data,
33972
33992
  isCanFenyue = _res$data.isCanFenyue,
33973
- taskExamine = _res$data.taskExamine;
33993
+ taskExamine = _res$data.taskExamine,
33994
+ taskReadOpinionRequired = _res$data.taskReadOpinionRequired;
33974
33995
 
33975
33996
  if (status === 'success') {
33976
33997
  _this3.taskExamineInfo = taskExamine;
33998
+ _this3.taskReadOpinionRequired = taskReadOpinionRequired;
33977
33999
  _this3.isCanFenyue = isCanFenyue;
33978
34000
  if (_this3.nodeName) {
33979
34001
  _this3.NodeName = _this3.nodeName;
@@ -35064,6 +35086,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
35064
35086
 
35065
35087
  _this24.loading.close();
35066
35088
  if (status === 'success') {
35089
+ _this24.isStartFlowChartView = data.isStartFlowChartView;
35067
35090
  if (!Object.keys(data).length || data.definitionList && !data.definitionList.length) {
35068
35091
  _this24.$message.error('流程不存在或未关联对应流程!');
35069
35092
  } else {
@@ -35386,8 +35409,8 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
35386
35409
 
35387
35410
  var flow_src_main_component = normalizeComponent(
35388
35411
  packages_flow_src_mainvue_type_script_lang_js_,
35389
- mainvue_type_template_id_44d35e77_render,
35390
- mainvue_type_template_id_44d35e77_staticRenderFns,
35412
+ mainvue_type_template_id_242d804b_render,
35413
+ mainvue_type_template_id_242d804b_staticRenderFns,
35391
35414
  false,
35392
35415
  null,
35393
35416
  null,
@@ -76213,7 +76236,7 @@ if (typeof window !== 'undefined' && window.Vue) {
76213
76236
  }
76214
76237
 
76215
76238
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
76216
- version: '0.5.88',
76239
+ version: '0.5.89',
76217
76240
  install: install,
76218
76241
  Button: packages_button,
76219
76242
  ButtonGroup: button_group,
package/lib/flow.js CHANGED
@@ -4108,7 +4108,7 @@ var component = Object(componentNormalizer["a" /* default */])(
4108
4108
  // ESM COMPAT FLAG
4109
4109
  __webpack_require__.r(__webpack_exports__);
4110
4110
 
4111
- // 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=44d35e77&
4111
+ // 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=242d804b&
4112
4112
  var render = function () {
4113
4113
  var _vm = this
4114
4114
  var _h = _vm.$createElement
@@ -4301,6 +4301,10 @@ var render = function () {
4301
4301
  "el-input",
4302
4302
  {
4303
4303
  staticClass: "input-with-select select-process",
4304
+ class: {
4305
+ "hide-flow-char":
4306
+ _vm.isStartFlowChartView != "true",
4307
+ },
4304
4308
  attrs: { placeholder: "请输入内容" },
4305
4309
  },
4306
4310
  [
@@ -4334,6 +4338,15 @@ var render = function () {
4334
4338
  1
4335
4339
  ),
4336
4340
  _c("el-button", {
4341
+ directives: [
4342
+ {
4343
+ name: "show",
4344
+ rawName: "v-show",
4345
+ value: _vm.isStartFlowChartView == "true",
4346
+ expression:
4347
+ "isStartFlowChartView == 'true'",
4348
+ },
4349
+ ],
4337
4350
  attrs: {
4338
4351
  slot: "append",
4339
4352
  icon: "el-icon-picture",
@@ -5892,7 +5905,7 @@ var staticRenderFns = []
5892
5905
  render._withStripped = true
5893
5906
 
5894
5907
 
5895
- // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=44d35e77&
5908
+ // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=242d804b&
5896
5909
 
5897
5910
  // EXTERNAL MODULE: external "babel-runtime/regenerator"
5898
5911
  var regenerator_ = __webpack_require__(13);
@@ -13437,6 +13450,8 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
13437
13450
  //
13438
13451
  //
13439
13452
  //
13453
+ //
13454
+ //
13440
13455
 
13441
13456
 
13442
13457
 
@@ -13491,6 +13506,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
13491
13506
  styles: {},
13492
13507
  userModel: {},
13493
13508
  isCanPreAddSign: false,
13509
+ isStartFlowChartView: undefined,
13494
13510
  nextOtherOrgObjSelect: [],
13495
13511
  subProcessColumns: [],
13496
13512
  nextCurrentOrgObjSelect: [],
@@ -13498,6 +13514,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
13498
13514
  newTypeCode: '',
13499
13515
  NodeName: '', // 当前节点值
13500
13516
  radioList: [],
13517
+ taskReadOpinionRequired: undefined,
13501
13518
  value: '',
13502
13519
  nodeFixedOpinionSelectList: [],
13503
13520
  customPresetHintMessage: '', //流程预设标题
@@ -13816,6 +13833,9 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
13816
13833
  taskRead: function taskRead() {
13817
13834
  var _this2 = this;
13818
13835
 
13836
+ if (this.taskReadOpinionRequired == 'true' && !this.value) {
13837
+ if (!this.$refs.commonOpinions.validate()) return;
13838
+ }
13819
13839
  this.$confirm('确认提交?', '提示', {
13820
13840
  confirmButtonText: '确定',
13821
13841
  cancelButtonText: '取消',
@@ -13876,10 +13896,12 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
13876
13896
  message = res.message,
13877
13897
  _res$data = res.data,
13878
13898
  isCanFenyue = _res$data.isCanFenyue,
13879
- taskExamine = _res$data.taskExamine;
13899
+ taskExamine = _res$data.taskExamine,
13900
+ taskReadOpinionRequired = _res$data.taskReadOpinionRequired;
13880
13901
 
13881
13902
  if (status === 'success') {
13882
13903
  _this3.taskExamineInfo = taskExamine;
13904
+ _this3.taskReadOpinionRequired = taskReadOpinionRequired;
13883
13905
  _this3.isCanFenyue = isCanFenyue;
13884
13906
  if (_this3.nodeName) {
13885
13907
  _this3.NodeName = _this3.nodeName;
@@ -14970,6 +14992,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
14970
14992
 
14971
14993
  _this24.loading.close();
14972
14994
  if (status === 'success') {
14995
+ _this24.isStartFlowChartView = data.isStartFlowChartView;
14973
14996
  if (!Object.keys(data).length || data.definitionList && !data.definitionList.length) {
14974
14997
  _this24.$message.error('流程不存在或未关联对应流程!');
14975
14998
  } else {