eoss-ui 0.5.87 → 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.
Files changed (40) hide show
  1. package/lib/data-table.js +104 -26
  2. package/lib/eoss-ui.common.js +5434 -5128
  3. package/lib/flow.js +26 -3
  4. package/lib/form.js +5199 -5031
  5. package/lib/index.js +1 -1
  6. package/lib/main.js +55 -20
  7. package/lib/theme-chalk/base.css +1 -1
  8. package/lib/theme-chalk/data-table.css +1 -1
  9. package/lib/theme-chalk/flow.css +1 -1
  10. package/lib/theme-chalk/index.css +1 -1
  11. package/lib/theme-chalk/main.css +1 -1
  12. package/lib/theme-chalk/menu.css +1 -1
  13. package/lib/theme-chalk/simplicity.css +1 -1
  14. package/lib/theme-chalk/sizer.css +1 -1
  15. package/lib/theme-chalk/toolbar.css +1 -1
  16. package/lib/theme-chalk/upload.css +1 -1
  17. package/lib/upload.js +10 -8
  18. package/package.json +2 -2
  19. package/packages/data-table/src/main.vue +72 -14
  20. package/packages/data-table/src/sizer.vue +5 -1
  21. package/packages/flow/src/main.vue +10 -1
  22. package/packages/form/src/main.vue +1079 -1055
  23. package/packages/main/src/default/index.vue +1 -0
  24. package/packages/main/src/public/search.vue +19 -5
  25. package/packages/theme-chalk/lib/base.css +1 -1
  26. package/packages/theme-chalk/lib/data-table.css +1 -1
  27. package/packages/theme-chalk/lib/flow.css +1 -1
  28. package/packages/theme-chalk/lib/index.css +1 -1
  29. package/packages/theme-chalk/lib/main.css +1 -1
  30. package/packages/theme-chalk/lib/menu.css +1 -1
  31. package/packages/theme-chalk/lib/simplicity.css +1 -1
  32. package/packages/theme-chalk/lib/sizer.css +1 -1
  33. package/packages/theme-chalk/lib/toolbar.css +1 -1
  34. package/packages/theme-chalk/lib/upload.css +1 -1
  35. package/packages/theme-chalk/src/common/var.scss +2 -2
  36. package/packages/theme-chalk/src/data-table.scss +8 -0
  37. package/packages/theme-chalk/src/flow.scss +3 -0
  38. package/packages/theme-chalk/src/toolbar.scss +17 -3
  39. package/packages/upload/src/main.vue +5 -7
  40. package/src/index.js +1 -1
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 {