eoss-ui 0.6.20 → 0.6.22

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 (100) hide show
  1. package/lib/eoss-ui.common.js +439 -420
  2. package/lib/flow.js +118 -118
  3. package/lib/form.js +3 -3
  4. package/lib/index.js +1 -1
  5. package/lib/login.js +69 -60
  6. package/lib/main.js +220 -210
  7. package/lib/qr-code.js +13 -13
  8. package/lib/theme-chalk/index.css +1 -1
  9. package/lib/theme-chalk/login.css +1 -1
  10. package/lib/theme-chalk/selector.css +1 -1
  11. package/package.json +157 -157
  12. package/packages/.DS_Store +0 -0
  13. package/packages/button/src/main.vue +418 -418
  14. package/packages/button-group/src/main.vue +298 -298
  15. package/packages/checkbox-group/.DS_Store +0 -0
  16. package/packages/checkbox-group/src/main.vue +333 -333
  17. package/packages/clients/src/main.vue +144 -144
  18. package/packages/data-table/.DS_Store +0 -0
  19. package/packages/data-table/src/children.vue +39 -39
  20. package/packages/data-table/src/column.vue +983 -983
  21. package/packages/data-table/src/main.vue +1812 -1812
  22. package/packages/data-table/src/sizer.vue +195 -195
  23. package/packages/date-picker/src/main.vue +236 -236
  24. package/packages/dialog/.DS_Store +0 -0
  25. package/packages/flow/src/main.vue +2731 -2731
  26. package/packages/flow-group/src/main.vue +684 -684
  27. package/packages/form/src/main.vue +3582 -3582
  28. package/packages/form/src/table.vue +1420 -1420
  29. package/packages/handle-user/src/main.vue +134 -134
  30. package/packages/handler/.DS_Store +0 -0
  31. package/packages/handler/src/main.vue +374 -374
  32. package/packages/icon/src/main.vue +101 -101
  33. package/packages/input/src/main.vue +356 -356
  34. package/packages/login/.DS_Store +0 -0
  35. package/packages/login/src/main.vue +1857 -1851
  36. package/packages/login/src/resetPassword.vue +562 -557
  37. package/packages/main/.DS_Store +0 -0
  38. package/packages/main/src/.DS_Store +0 -0
  39. package/packages/main/src/default/message.vue +249 -249
  40. package/packages/main/src/default/notice.vue +157 -157
  41. package/packages/main/src/default/userinfo.vue +494 -494
  42. package/packages/main/src/main.vue +65 -57
  43. package/packages/main/src/public/online.vue +89 -89
  44. package/packages/main/src/public/search.vue +454 -454
  45. package/packages/main/src/public/settings.vue +221 -221
  46. package/packages/main/src/simplicity/apps.vue +388 -388
  47. package/packages/main/src/simplicity/avatar.vue +82 -82
  48. package/packages/main/src/simplicity/handler.vue +183 -183
  49. package/packages/main/src/simplicity/index.vue +1931 -1930
  50. package/packages/main/src/simplicity/lists.vue +84 -84
  51. package/packages/main/src/simplicity/menu-list.vue +128 -128
  52. package/packages/main/src/simplicity/message.vue +259 -259
  53. package/packages/main/src/simplicity/notice.vue +190 -190
  54. package/packages/main/src/simplicity/router-page.vue +45 -45
  55. package/packages/main/src/simplicity/sub-menu.vue +241 -241
  56. package/packages/main/src/simplicity/user.vue +248 -248
  57. package/packages/main/src/simplicity/userinfo.vue +306 -304
  58. package/packages/menu/src/main.vue +536 -536
  59. package/packages/pagination/src/main.vue +96 -96
  60. package/packages/qr-code/src/main.vue +170 -170
  61. package/packages/radio-group/src/main.vue +319 -319
  62. package/packages/select/src/main.vue +761 -761
  63. package/packages/selector/src/main.vue +677 -677
  64. package/packages/selector-panel/src/main.vue +1020 -1020
  65. package/packages/selector-panel/src/selection.vue +160 -160
  66. package/packages/tabs/src/main.vue +788 -788
  67. package/packages/theme-chalk/lib/index.css +1 -1
  68. package/packages/theme-chalk/lib/login.css +1 -1
  69. package/packages/theme-chalk/lib/selector.css +1 -1
  70. package/packages/theme-chalk/src/.DS_Store +0 -0
  71. package/packages/theme-chalk/src/base.scss +260 -260
  72. package/packages/theme-chalk/src/button-group.scss +175 -175
  73. package/packages/theme-chalk/src/calendar.scss +113 -113
  74. package/packages/theme-chalk/src/clients.scss +87 -87
  75. package/packages/theme-chalk/src/common/var.scss +4 -1
  76. package/packages/theme-chalk/src/data-table.scss +276 -276
  77. package/packages/theme-chalk/src/dialog.scss +77 -77
  78. package/packages/theme-chalk/src/flow-group.scss +110 -110
  79. package/packages/theme-chalk/src/form.scss +496 -496
  80. package/packages/theme-chalk/src/handler.scss +133 -133
  81. package/packages/theme-chalk/src/icon.scss +1745 -1745
  82. package/packages/theme-chalk/src/icons.scss +99 -99
  83. package/packages/theme-chalk/src/login.scss +928 -917
  84. package/packages/theme-chalk/src/main.scss +632 -632
  85. package/packages/theme-chalk/src/menu.scss +222 -222
  86. package/packages/theme-chalk/src/nav.scss +125 -125
  87. package/packages/theme-chalk/src/pagination.scss +29 -29
  88. package/packages/theme-chalk/src/selector-panel.scss +204 -204
  89. package/packages/theme-chalk/src/selector.scss +1 -1
  90. package/packages/theme-chalk/src/simplicity.scss +1246 -1246
  91. package/packages/theme-chalk/src/tabs.scss +87 -87
  92. package/packages/theme-chalk/src/toolbar.scss +179 -179
  93. package/packages/theme-chalk/src/tree-group.scss +72 -72
  94. package/packages/theme-chalk/src/tree.scss +165 -165
  95. package/packages/upload/src/main.vue +1313 -1313
  96. package/packages/wujie/src/main.vue +145 -145
  97. package/src/.DS_Store +0 -0
  98. package/src/config/api.js +236 -236
  99. package/src/config/image.js +2 -2
  100. package/src/index.js +157 -157
package/lib/flow.js CHANGED
@@ -14331,11 +14331,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
14331
14331
  });
14332
14332
  },
14333
14333
 
14334
- /**
14335
- * saveInfo
14336
- * @desc:暂存
14337
- * @author liufan
14338
- * @date 2022年9月9日
14334
+ /**
14335
+ * saveInfo
14336
+ * @desc:暂存
14337
+ * @author liufan
14338
+ * @date 2022年9月9日
14339
14339
  **/
14340
14340
  saveInfo: function saveInfo(type, btn) {
14341
14341
  var _this6 = this;
@@ -14397,11 +14397,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
14397
14397
  });
14398
14398
  },
14399
14399
 
14400
- /**
14401
- * rejectBtn
14402
- * @desc:点击驳回
14403
- * @author liufan
14404
- * @date 2022年5月25日
14400
+ /**
14401
+ * rejectBtn
14402
+ * @desc:点击驳回
14403
+ * @author liufan
14404
+ * @date 2022年5月25日
14405
14405
  **/
14406
14406
  rejectBtn: function rejectBtn() {
14407
14407
  var _this8 = this;
@@ -14419,11 +14419,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
14419
14419
  }
14420
14420
  },
14421
14421
 
14422
- /**
14423
- * taskReadBtn
14424
- * @desc:点击分阅
14425
- * @author liufan
14426
- * @date 2022年5月25日
14422
+ /**
14423
+ * taskReadBtn
14424
+ * @desc:点击分阅
14425
+ * @author liufan
14426
+ * @date 2022年5月25日
14427
14427
  **/
14428
14428
  taskReadBtn: function taskReadBtn() {
14429
14429
  var _this9 = this;
@@ -14442,11 +14442,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
14442
14442
  }
14443
14443
  },
14444
14444
 
14445
- /**
14446
- * getFind
14447
- * @desc:获取通知方式
14448
- * @author liufan
14449
- * @date 2022年5月25日
14445
+ /**
14446
+ * getFind
14447
+ * @desc:获取通知方式
14448
+ * @author liufan
14449
+ * @date 2022年5月25日
14450
14450
  **/
14451
14451
  getFind: function getFind() {
14452
14452
  var _this10 = this;
@@ -14476,12 +14476,12 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
14476
14476
  });
14477
14477
  },
14478
14478
 
14479
- /**
14480
- * endFlows
14481
- * @desc:直接办结
14482
- * @author liufan
14483
- * @param {Object} res 直接办结数据
14484
- * @date 2022年5月25日
14479
+ /**
14480
+ * endFlows
14481
+ * @desc:直接办结
14482
+ * @author liufan
14483
+ * @param {Object} res 直接办结数据
14484
+ * @date 2022年5月25日
14485
14485
  **/
14486
14486
  endFlows: function endFlows(res) {
14487
14487
  var _this11 = this;
@@ -14535,12 +14535,12 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
14535
14535
  }).catch(function (e) {});
14536
14536
  },
14537
14537
 
14538
- /**
14539
- * goView
14540
- * @desc:更多流程按钮操作
14541
- * @author liufan
14542
- * @param {Object} res 当前点击操作按钮数据
14543
- * @date 2022年5月25日
14538
+ /**
14539
+ * goView
14540
+ * @desc:更多流程按钮操作
14541
+ * @author liufan
14542
+ * @param {Object} res 当前点击操作按钮数据
14543
+ * @date 2022年5月25日
14544
14544
  **/
14545
14545
  goView: function goView(res) {
14546
14546
  // 驳回并办结:rejectAndEndHtml
@@ -14617,11 +14617,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
14617
14617
  // isCanStartSubFlow
14618
14618
  },
14619
14619
 
14620
- /**
14621
- * toTakeAdvice
14622
- * @desc:征求意见
14623
- * @author liufan
14624
- * @date 2022年9月29日
14620
+ /**
14621
+ * toTakeAdvice
14622
+ * @desc:征求意见
14623
+ * @author liufan
14624
+ * @date 2022年9月29日
14625
14625
  **/
14626
14626
  toTakeAdvice: function toTakeAdvice(res) {
14627
14627
  var _this13 = this;
@@ -14665,11 +14665,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
14665
14665
  });
14666
14666
  },
14667
14667
 
14668
- /**
14669
- * toStartDraf
14670
- * @desc: 稿件递送、联合审核、复核
14671
- * @author liufan
14672
- * @date 2022年9月29日
14668
+ /**
14669
+ * toStartDraf
14670
+ * @desc: 稿件递送、联合审核、复核
14671
+ * @author liufan
14672
+ * @date 2022年9月29日
14673
14673
  **/
14674
14674
  toStartDraf: function toStartDraf(res) {
14675
14675
  var _this15 = this;
@@ -14683,11 +14683,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
14683
14683
  }
14684
14684
  },
14685
14685
 
14686
- /**
14687
- * toSendMsg
14688
- * @desc:核稿通知
14689
- * @author liufan
14690
- * @date 2022年9月29日
14686
+ /**
14687
+ * toSendMsg
14688
+ * @desc:核稿通知
14689
+ * @author liufan
14690
+ * @date 2022年9月29日
14691
14691
  **/
14692
14692
  toSendMsg: function toSendMsg(res) {
14693
14693
  var _this16 = this;
@@ -14701,11 +14701,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
14701
14701
  }
14702
14702
  },
14703
14703
 
14704
- /**
14705
- * toTaskReadAndEnd
14706
- * @desc:分阅并办结
14707
- * @author liufan
14708
- * @date 2022年9月29日
14704
+ /**
14705
+ * toTaskReadAndEnd
14706
+ * @desc:分阅并办结
14707
+ * @author liufan
14708
+ * @date 2022年9月29日
14709
14709
  **/
14710
14710
  toTaskReadAndEnd: function toTaskReadAndEnd(res) {
14711
14711
  var _this17 = this;
@@ -14723,11 +14723,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
14723
14723
  }
14724
14724
  },
14725
14725
 
14726
- /**
14727
- * rejectAndEnd
14728
- * @desc:驳回并办结
14729
- * @author liufan
14730
- * @date 2022年9月29日
14726
+ /**
14727
+ * rejectAndEnd
14728
+ * @desc:驳回并办结
14729
+ * @author liufan
14730
+ * @date 2022年9月29日
14731
14731
  **/
14732
14732
  rejectAndEnd: function rejectAndEnd(res) {
14733
14733
  var _this18 = this;
@@ -14782,11 +14782,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
14782
14782
  });
14783
14783
  },
14784
14784
 
14785
- /**
14786
- * toTransfer
14787
- * @desc:转办
14788
- * @author liufan
14789
- * @date 2022年9月29日
14785
+ /**
14786
+ * toTransfer
14787
+ * @desc:转办
14788
+ * @author liufan
14789
+ * @date 2022年9月29日
14790
14790
  **/
14791
14791
  toTransfer: function toTransfer(res) {
14792
14792
  var _this20 = this;
@@ -14802,11 +14802,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
14802
14802
  }
14803
14803
  },
14804
14804
 
14805
- /**
14806
- * getNodeInfo
14807
- * @desc:获取节点信息
14808
- * @author liufan
14809
- * @date 2022年5月25日
14805
+ /**
14806
+ * getNodeInfo
14807
+ * @desc:获取节点信息
14808
+ * @author liufan
14809
+ * @date 2022年5月25日
14810
14810
  **/
14811
14811
  getNodeInfo: function getNodeInfo() {
14812
14812
  var _this21 = this;
@@ -14903,12 +14903,12 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
14903
14903
  });
14904
14904
  },
14905
14905
 
14906
- /**
14907
- * selecNext
14908
- * @desc:下步节点变化时更新数据
14909
- * @author liufan
14910
- * @param {String} val 当前选中值
14911
- * @date 2022年5月25日
14906
+ /**
14907
+ * selecNext
14908
+ * @desc:下步节点变化时更新数据
14909
+ * @author liufan
14910
+ * @param {String} val 当前选中值
14911
+ * @date 2022年5月25日
14912
14912
  **/
14913
14913
  selecNext: function selecNext(val, type, isDef) {
14914
14914
  var _this22 = this;
@@ -15017,11 +15017,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
15017
15017
  if (isDef !== true) this.getNodeInfo();
15018
15018
  },
15019
15019
 
15020
- /**
15021
- * isMultiple
15022
- * @desc:是否多选
15023
- * @author liufan
15024
- * @date 2022年9月13日
15020
+ /**
15021
+ * isMultiple
15022
+ * @desc:是否多选
15023
+ * @author liufan
15024
+ * @date 2022年9月13日
15025
15025
  **/
15026
15026
  isMultiple: function isMultiple(val, choiceOrgId, choiceDeptId, pOrgId) {
15027
15027
  if (val == 2 || val == 4 || val == 6 || val == 16) {
@@ -15053,11 +15053,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
15053
15053
  }
15054
15054
  },
15055
15055
 
15056
- /**
15057
- * getHedInfo
15058
- * @desc:获取审核页面数据
15059
- * @author liufan
15060
- * @date 2022年5月25日
15056
+ /**
15057
+ * getHedInfo
15058
+ * @desc:获取审核页面数据
15059
+ * @author liufan
15060
+ * @date 2022年5月25日
15061
15061
  **/
15062
15062
  getHedInfo: function getHedInfo() {
15063
15063
  var _this23 = this;
@@ -15291,13 +15291,13 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
15291
15291
  });
15292
15292
  },
15293
15293
 
15294
- /**
15295
- * closeProcess
15296
- * @desc:关闭弹窗
15297
- * @author liufan
15298
- * @param {boolean} val 当前是否办理流程
15299
- * @param {String} type 当前点击的弹窗类型
15300
- * @date 2022年5月25日
15294
+ /**
15295
+ * closeProcess
15296
+ * @desc:关闭弹窗
15297
+ * @author liufan
15298
+ * @param {boolean} val 当前是否办理流程
15299
+ * @param {String} type 当前点击的弹窗类型
15300
+ * @date 2022年5月25日
15301
15301
  **/
15302
15302
  closeProcess: function closeProcess(val, type, closeParent) {
15303
15303
  if (closeParent) {
@@ -15310,23 +15310,23 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
15310
15310
  }
15311
15311
  },
15312
15312
 
15313
- /**
15314
- * selectChange
15315
- * @desc:常用语选择
15316
- * @author liufan
15317
- * @param {String} val 选中值
15318
- * @date 2022年5月25日
15313
+ /**
15314
+ * selectChange
15315
+ * @desc:常用语选择
15316
+ * @author liufan
15317
+ * @param {String} val 选中值
15318
+ * @date 2022年5月25日
15319
15319
  **/
15320
15320
  selectChange: function selectChange(val) {
15321
15321
  this.value = val;
15322
15322
  },
15323
15323
 
15324
- /**
15325
- * upDate
15326
- * @desc:修改常用语
15327
- * @author liufan
15328
- * @param {Object} val 修改值
15329
- * @date 2022年5月25日
15324
+ /**
15325
+ * upDate
15326
+ * @desc:修改常用语
15327
+ * @author liufan
15328
+ * @param {Object} val 修改值
15329
+ * @date 2022年5月25日
15330
15330
  **/
15331
15331
  upDate: function upDate(val) {
15332
15332
  this.FormData.id = val.id;
@@ -15334,11 +15334,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
15334
15334
  },
15335
15335
 
15336
15336
 
15337
- /**
15338
- * getProcess
15339
- * @desc:获取选择流程
15340
- * @author liufan
15341
- * @date 2022年5月25日
15337
+ /**
15338
+ * getProcess
15339
+ * @desc:获取选择流程
15340
+ * @author liufan
15341
+ * @date 2022年5月25日
15342
15342
  **/
15343
15343
  getProcess: function getProcess() {
15344
15344
  var _this24 = this;
@@ -15391,11 +15391,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
15391
15391
  });
15392
15392
  },
15393
15393
 
15394
- /**
15395
- * getPendedhistoryList
15396
- * @desc:获取流程列表
15397
- * @author liufan
15398
- * @date 2022年5月25日
15394
+ /**
15395
+ * getPendedhistoryList
15396
+ * @desc:获取流程列表
15397
+ * @author liufan
15398
+ * @date 2022年5月25日
15399
15399
  **/
15400
15400
  getPendedhistoryList: function getPendedhistoryList() {
15401
15401
  var _this25 = this;
@@ -15427,12 +15427,12 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
15427
15427
  },
15428
15428
 
15429
15429
  // 提交流程
15430
- /**
15431
- * subProcess
15432
- * @desc:提交流程
15433
- * @author liufan
15434
- * @param {String} formName 当前form表单ref值
15435
- * @date 2022年5月25日
15430
+ /**
15431
+ * subProcess
15432
+ * @desc:提交流程
15433
+ * @author liufan
15434
+ * @param {String} formName 当前form表单ref值
15435
+ * @date 2022年5月25日
15436
15436
  **/
15437
15437
  subProcess: function subProcess(val) {
15438
15438
  var _this26 = this;
package/lib/form.js CHANGED
@@ -4001,7 +4001,7 @@ var bankCard = { pattern: new RegExp('^([1-9]{1})(\\d{14}|\\d{18})$'), message:
4001
4001
  // ESM COMPAT FLAG
4002
4002
  __webpack_require__.r(__webpack_exports__);
4003
4003
 
4004
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/main.vue?vue&type=template&id=58ccba00&
4004
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/main.vue?vue&type=template&id=5fc1e786&
4005
4005
  var render = function () {
4006
4006
  var _vm = this
4007
4007
  var _h = _vm.$createElement
@@ -10015,7 +10015,7 @@ var staticRenderFns = []
10015
10015
  render._withStripped = true
10016
10016
 
10017
10017
 
10018
- // CONCATENATED MODULE: ./packages/form/src/main.vue?vue&type=template&id=58ccba00&
10018
+ // CONCATENATED MODULE: ./packages/form/src/main.vue?vue&type=template&id=5fc1e786&
10019
10019
 
10020
10020
  // EXTERNAL MODULE: external "babel-runtime/regenerator"
10021
10021
  var regenerator_ = __webpack_require__(13);
@@ -12982,7 +12982,7 @@ var pageView = util["a" /* default */].getParams('pageView');
12982
12982
  }
12983
12983
  } else if (res.event === 'submit' || res.event === 'confirm' || res.type === 'submit') {
12984
12984
  if (this.action) {
12985
- this.submitData(res);
12985
+ this.submitData(res).catch(function (err) {});
12986
12986
  } else {
12987
12987
  this.$refs.esForm.validate(function () {
12988
12988
  var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator_default.a.mark(function _callee2(valid, fields, triggers) {