eoss-ui 0.7.96 → 0.7.98

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 (187) hide show
  1. package/lib/button-group.js +1 -1
  2. package/lib/button.js +1 -1
  3. package/lib/calogin.js +1 -1
  4. package/lib/checkbox-group.js +1 -1
  5. package/lib/data-table-form.js +1 -1
  6. package/lib/data-table.js +9 -9
  7. package/lib/date-picker.js +1 -1
  8. package/lib/dialog.js +1 -1
  9. package/lib/eoss-ui.common.js +307 -301
  10. package/lib/flow-group.js +1 -1
  11. package/lib/flow-list.js +97 -97
  12. package/lib/flow.js +176 -175
  13. package/lib/form.js +1 -1
  14. package/lib/handle-user.js +1 -1
  15. package/lib/handler.js +1 -1
  16. package/lib/icon.js +1 -1
  17. package/lib/index.js +1 -1
  18. package/lib/input-number.js +1 -1
  19. package/lib/input.js +1 -1
  20. package/lib/login.js +1 -1
  21. package/lib/main.js +22 -17
  22. package/lib/nav.js +1 -1
  23. package/lib/page.js +1 -1
  24. package/lib/pagination.js +1 -1
  25. package/lib/player.js +1 -1
  26. package/lib/qr-code.js +1 -1
  27. package/lib/radio-group.js +1 -1
  28. package/lib/retrial-auth.js +1 -1
  29. package/lib/select-ganged.js +1 -1
  30. package/lib/select.js +1 -1
  31. package/lib/selector-panel.js +1 -1
  32. package/lib/selector.js +1 -1
  33. package/lib/sizer.js +1 -1
  34. package/lib/steps.js +1 -1
  35. package/lib/switch.js +1 -1
  36. package/lib/table-form.js +1 -1
  37. package/lib/tabs.js +1 -1
  38. package/lib/theme-chalk/index.css +1 -1
  39. package/lib/theme-chalk/login.css +1 -1
  40. package/lib/tips.js +1 -1
  41. package/lib/tree-group.js +1 -1
  42. package/lib/tree.js +1 -1
  43. package/lib/upload.js +1 -1
  44. package/lib/utils/util.js +1 -1
  45. package/lib/wujie.js +1 -1
  46. package/lib/wxlogin.js +1 -1
  47. package/package.json +1 -1
  48. package/packages/button-group/src/main.vue +346 -346
  49. package/packages/calogin/src/main.vue +412 -412
  50. package/packages/clients/src/main.vue +151 -151
  51. package/packages/data-table/src/column.vue +1 -1
  52. package/packages/flow/src/component/Circulate.vue +417 -417
  53. package/packages/flow/src/component/CommonOpinions.vue +376 -376
  54. package/packages/flow/src/component/CustomPreset.vue +324 -324
  55. package/packages/flow/src/component/FileList.vue +97 -97
  56. package/packages/flow/src/component/FreeCirculation.vue +3 -2
  57. package/packages/flow/src/component/Preset.vue +257 -257
  58. package/packages/flow/src/component/SendMsg.vue +242 -242
  59. package/packages/flow/src/component/SortFlow.vue +110 -110
  60. package/packages/flow/src/component/taskUnionExamine.vue +761 -761
  61. package/packages/flow/src/form.vue +123 -123
  62. package/packages/flow/src/freeStartFlow.vue +2855 -2855
  63. package/packages/flow/src/main.vue +1 -1
  64. package/packages/flow/src/processForm.vue +1680 -1680
  65. package/packages/flow/src/processReject.vue +309 -309
  66. package/packages/flow/src/reset.vue +946 -946
  67. package/packages/flow/src/startTaskRead.vue +695 -695
  68. package/packages/flow/src/supervise.vue +159 -159
  69. package/packages/flow/src/table.vue +58 -58
  70. package/packages/flow-list/src/main.vue +2337 -2337
  71. package/packages/form/src/main.vue +3901 -3901
  72. package/packages/form/src/table.vue +1512 -1512
  73. package/packages/icon/src/main.vue +104 -104
  74. package/packages/login/src/resetPassword.vue +557 -557
  75. package/packages/main/src/public/online.vue +89 -89
  76. package/packages/main/src/public/search.vue +464 -464
  77. package/packages/main/src/public/settings.vue +273 -273
  78. package/packages/main/src/simplicity/apps.vue +388 -388
  79. package/packages/main/src/simplicity/avatar.vue +82 -82
  80. package/packages/main/src/simplicity/handler.vue +158 -158
  81. package/packages/main/src/simplicity/menu-list.vue +135 -135
  82. package/packages/main/src/simplicity/message.vue +293 -293
  83. package/packages/main/src/simplicity/notice.vue +222 -222
  84. package/packages/main/src/simplicity/sub-menu.vue +276 -276
  85. package/packages/main/src/simplicity/user.vue +259 -259
  86. package/packages/main/src/simplicityTop/apps.vue +388 -388
  87. package/packages/main/src/simplicityTop/avatar.vue +82 -82
  88. package/packages/main/src/simplicityTop/handler.vue +215 -215
  89. package/packages/main/src/simplicityTop/index.vue +8 -3
  90. package/packages/main/src/simplicityTop/lists.vue +84 -84
  91. package/packages/main/src/simplicityTop/menu-list.vue +135 -135
  92. package/packages/main/src/simplicityTop/message.vue +293 -293
  93. package/packages/main/src/simplicityTop/notice.vue +222 -222
  94. package/packages/main/src/simplicityTop/router-page.vue +45 -45
  95. package/packages/main/src/simplicityTop/sub-menu.vue +274 -274
  96. package/packages/main/src/simplicityTop/user.vue +259 -259
  97. package/packages/menu/src/main.vue +595 -595
  98. package/packages/nav/src/main.vue +351 -351
  99. package/packages/selector/src/main.vue +761 -761
  100. package/packages/selector-panel/src/main.vue +1036 -1036
  101. package/packages/selector-panel/src/selection.vue +174 -174
  102. package/packages/switch/src/main.vue +170 -170
  103. package/packages/theme-chalk/lib/base.css +1 -0
  104. package/packages/theme-chalk/lib/button-group.css +1 -0
  105. package/packages/theme-chalk/lib/button.css +1 -0
  106. package/packages/theme-chalk/lib/calendar.css +1 -0
  107. package/packages/theme-chalk/lib/calogin.css +0 -0
  108. package/packages/theme-chalk/lib/card.css +1 -0
  109. package/packages/theme-chalk/lib/cascader.css +0 -0
  110. package/packages/theme-chalk/lib/checkbox-group.css +1 -0
  111. package/packages/theme-chalk/lib/clients.css +1 -0
  112. package/packages/theme-chalk/lib/data-table-form.css +1 -0
  113. package/packages/theme-chalk/lib/data-table.css +1 -0
  114. package/packages/theme-chalk/lib/date-picker.css +1 -0
  115. package/packages/theme-chalk/lib/dialog.css +1 -0
  116. package/packages/theme-chalk/lib/enable-drag.css +1 -0
  117. package/packages/theme-chalk/lib/enterprise.css +1 -0
  118. package/packages/theme-chalk/lib/error-page.css +1 -0
  119. package/packages/theme-chalk/lib/flow-chart.css +0 -0
  120. package/packages/theme-chalk/lib/flow-group.css +1 -0
  121. package/packages/theme-chalk/lib/flow-list.css +1 -0
  122. package/packages/theme-chalk/lib/flow.css +1 -0
  123. package/packages/theme-chalk/lib/fonts/iconfont.ttf +0 -0
  124. package/packages/theme-chalk/lib/fonts/iconfont.woff +0 -0
  125. package/packages/theme-chalk/lib/form.css +1 -0
  126. package/packages/theme-chalk/lib/handle-user.css +1 -0
  127. package/packages/theme-chalk/lib/handler.css +1 -0
  128. package/packages/theme-chalk/lib/icon.css +1 -0
  129. package/packages/theme-chalk/lib/icons.css +1 -0
  130. package/packages/theme-chalk/lib/index.css +1 -0
  131. package/packages/theme-chalk/lib/input-number.css +0 -0
  132. package/packages/theme-chalk/lib/input.css +1 -0
  133. package/packages/theme-chalk/lib/label.css +1 -0
  134. package/packages/theme-chalk/lib/layout.css +1 -0
  135. package/packages/theme-chalk/lib/login.css +1 -0
  136. package/packages/theme-chalk/lib/main.css +1 -0
  137. package/packages/theme-chalk/lib/menu.css +1 -0
  138. package/packages/theme-chalk/lib/nav.css +1 -0
  139. package/packages/theme-chalk/lib/notify.css +0 -0
  140. package/packages/theme-chalk/lib/page.css +1 -0
  141. package/packages/theme-chalk/lib/pagination.css +1 -0
  142. package/packages/theme-chalk/lib/player.css +1 -0
  143. package/packages/theme-chalk/lib/qr-code.css +1 -0
  144. package/packages/theme-chalk/lib/radio-group.css +1 -0
  145. package/packages/theme-chalk/lib/retrial-auth.css +1 -0
  146. package/packages/theme-chalk/lib/select-ganged.css +1 -0
  147. package/packages/theme-chalk/lib/select.css +1 -0
  148. package/packages/theme-chalk/lib/selector-panel.css +1 -0
  149. package/packages/theme-chalk/lib/selector.css +1 -0
  150. package/packages/theme-chalk/lib/simplicity-top.css +1 -0
  151. package/packages/theme-chalk/lib/simplicity.css +1 -0
  152. package/packages/theme-chalk/lib/sizer.css +1 -0
  153. package/packages/theme-chalk/lib/steps.css +1 -0
  154. package/packages/theme-chalk/lib/switch.css +1 -0
  155. package/packages/theme-chalk/lib/table-form.css +0 -0
  156. package/packages/theme-chalk/lib/tabs-panel.css +0 -0
  157. package/packages/theme-chalk/lib/tabs.css +1 -0
  158. package/packages/theme-chalk/lib/tips.css +1 -0
  159. package/packages/theme-chalk/lib/toolbar.css +1 -0
  160. package/packages/theme-chalk/lib/tree-group.css +1 -0
  161. package/packages/theme-chalk/lib/tree.css +1 -0
  162. package/packages/theme-chalk/lib/upload.css +1 -0
  163. package/packages/theme-chalk/lib/wujie.css +0 -0
  164. package/packages/theme-chalk/lib/wxlogin.css +1 -0
  165. package/packages/theme-chalk/src/data-table.scss +297 -297
  166. package/packages/theme-chalk/src/flow-list.scss +55 -55
  167. package/packages/theme-chalk/src/flow.scss +373 -373
  168. package/packages/theme-chalk/src/form.scss +501 -501
  169. package/packages/theme-chalk/src/handler.scss +148 -148
  170. package/packages/theme-chalk/src/icon.scss +3452 -3452
  171. package/packages/theme-chalk/src/login.scss +1006 -1006
  172. package/packages/theme-chalk/src/main.scss +664 -664
  173. package/packages/theme-chalk/src/menu.scss +224 -224
  174. package/packages/theme-chalk/src/selector.scss +114 -114
  175. package/packages/theme-chalk/src/simplicity-top.scss +1845 -1845
  176. package/packages/theme-chalk/src/simplicity.scss +1403 -1403
  177. package/packages/theme-chalk/src/tree.scss +165 -165
  178. package/packages/theme-chalk/src/upload.scss +172 -172
  179. package/packages/tips/src/main.vue +141 -141
  180. package/packages/toolbar/src/main.vue +430 -430
  181. package/packages/upload/src/main.vue +1344 -1344
  182. package/packages/wujie/src/main.vue +146 -146
  183. package/src/config/api.js +348 -348
  184. package/src/index.js +163 -163
  185. package/src/utils/rules.js +18 -18
  186. package/src/utils/util.js +18 -19
  187. package/packages/theme-chalk/gulpfile.js +0 -25
package/lib/flow-group.js CHANGED
@@ -2418,7 +2418,7 @@ var indexOfObj = function indexOfObj(arry, target, key) {
2418
2418
  return _i8;
2419
2419
  }
2420
2420
  } else if (target && (typeof target === 'undefined' ? 'undefined' : _typeof(target)) === 'object') {
2421
- if (currentItem[currentKey] === target[currentKey]) {
2421
+ if (currentItem[currentKey] !== undefined && currentItem[currentKey] === target[currentKey]) {
2422
2422
  return _i8;
2423
2423
  }
2424
2424
  }
package/lib/flow-list.js CHANGED
@@ -2418,7 +2418,7 @@ var indexOfObj = function indexOfObj(arry, target, key) {
2418
2418
  return _i8;
2419
2419
  }
2420
2420
  } else if (target && (typeof target === 'undefined' ? 'undefined' : _typeof(target)) === 'object') {
2421
- if (currentItem[currentKey] === target[currentKey]) {
2421
+ if (currentItem[currentKey] !== undefined && currentItem[currentKey] === target[currentKey]) {
2422
2422
  return _i8;
2423
2423
  }
2424
2424
  }
@@ -6583,11 +6583,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
6583
6583
 
6584
6584
 
6585
6585
  methods: {
6586
- /**
6587
- * handleBatchDelete
6588
- * @desc:批量删除
6589
- * @author liufan
6590
- * @date 2025年12月31日
6586
+ /**
6587
+ * handleBatchDelete
6588
+ * @desc:批量删除
6589
+ * @author liufan
6590
+ * @date 2025年12月31日
6591
6591
  **/
6592
6592
  handleBatchDelete: function handleBatchDelete() {
6593
6593
  var _this6 = this;
@@ -6884,12 +6884,12 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
6884
6884
  }
6885
6885
  },
6886
6886
 
6887
- /**
6888
- * handleFormSubmit
6889
- * @desc:删除节点点击事件
6890
- * @param {Object} formData 点击删除的form数据
6891
- * @author liufan
6892
- * @date 2022年11月29日
6887
+ /**
6888
+ * handleFormSubmit
6889
+ * @desc:删除节点点击事件
6890
+ * @param {Object} formData 点击删除的form数据
6891
+ * @author liufan
6892
+ * @date 2022年11月29日
6893
6893
  **/
6894
6894
  handleFormSubmit: function handleFormSubmit(formData) {
6895
6895
  var _this12 = this;
@@ -6925,12 +6925,12 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
6925
6925
  });
6926
6926
  },
6927
6927
 
6928
- /**
6929
- * del
6930
- * @desc:展示删除弹窗
6931
- * @param {String} id 当前点击数据id
6932
- * @author liufan
6933
- * @date 2022年11月29日
6928
+ /**
6929
+ * del
6930
+ * @desc:展示删除弹窗
6931
+ * @param {String} id 当前点击数据id
6932
+ * @author liufan
6933
+ * @date 2022年11月29日
6934
6934
  **/
6935
6935
  del: function del(id, type) {
6936
6936
  this.modalType = type;
@@ -6938,12 +6938,12 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
6938
6938
  this.showDel = true;
6939
6939
  },
6940
6940
 
6941
- /**
6942
- * handleCurrentChange
6943
- * @desc:监听页码变化
6944
- * @param {String} val 当前页
6945
- * @author liufan
6946
- * @date 2022年11月29日
6941
+ /**
6942
+ * handleCurrentChange
6943
+ * @desc:监听页码变化
6944
+ * @param {String} val 当前页
6945
+ * @author liufan
6946
+ * @date 2022年11月29日
6947
6947
  **/
6948
6948
  handleCurrentChange: function handleCurrentChange(val, type) {
6949
6949
  this.currentPage = val;
@@ -6952,12 +6952,12 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
6952
6952
  }
6953
6953
  },
6954
6954
 
6955
- /**
6956
- * handleSizeChange
6957
- * @desc:监听每页数据显示数量变化
6958
- * @param {String} val 每页展示数量
6959
- * @author liufan
6960
- * @date 2022年11月29日
6955
+ /**
6956
+ * handleSizeChange
6957
+ * @desc:监听每页数据显示数量变化
6958
+ * @param {String} val 每页展示数量
6959
+ * @author liufan
6960
+ * @date 2022年11月29日
6961
6961
  **/
6962
6962
  handleSizeChange: function handleSizeChange(val) {
6963
6963
  this.pageSize = val;
@@ -6966,12 +6966,12 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
6966
6966
  }
6967
6967
  },
6968
6968
 
6969
- /**
6970
- * sortChange
6971
- * @desc:监听排序变化
6972
- * @param {Object} info 需要排序的字段及排序方式
6973
- * @author liufan
6974
- * @date 2022年11月29日
6969
+ /**
6970
+ * sortChange
6971
+ * @desc:监听排序变化
6972
+ * @param {Object} info 需要排序的字段及排序方式
6973
+ * @author liufan
6974
+ * @date 2022年11月29日
6975
6975
  **/
6976
6976
  sortChange: function sortChange(info, type) {
6977
6977
  var prop = info.prop;
@@ -6987,11 +6987,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
6987
6987
  }
6988
6988
  },
6989
6989
 
6990
- /**
6991
- * getDeletList
6992
- * @desc:删除列表数据
6993
- * @author liufan
6994
- * @date 2025年12月30日
6990
+ /**
6991
+ * getDeletList
6992
+ * @desc:删除列表数据
6993
+ * @author liufan
6994
+ * @date 2025年12月30日
6995
6995
  **/
6996
6996
  getDeletList: function getDeletList() {
6997
6997
  var _this13 = this;
@@ -7020,11 +7020,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
7020
7020
  });
7021
7021
  },
7022
7022
 
7023
- /**
7024
- * getResetList
7025
- * @desc:重设列表数据
7026
- * @author liufan
7027
- * @date 2025年12月30日
7023
+ /**
7024
+ * getResetList
7025
+ * @desc:重设列表数据
7026
+ * @author liufan
7027
+ * @date 2025年12月30日
7028
7028
  **/
7029
7029
  getResetList: function getResetList() {
7030
7030
  var _this14 = this;
@@ -7054,11 +7054,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
7054
7054
  });
7055
7055
  },
7056
7056
 
7057
- /**
7058
- * getPressList
7059
- * @desc:催办列表数据
7060
- * @author liufan
7061
- * @date 2022年11月29日
7057
+ /**
7058
+ * getPressList
7059
+ * @desc:催办列表数据
7060
+ * @author liufan
7061
+ * @date 2022年11月29日
7062
7062
  **/
7063
7063
  getPressList: function getPressList() {
7064
7064
  var _this15 = this;
@@ -7088,12 +7088,12 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
7088
7088
  });
7089
7089
  },
7090
7090
 
7091
- /**
7092
- * goPress
7093
- * @desc:催办列表查看
7094
- * @param {String} id 催办列表id
7095
- * @author liufan
7096
- * @date 2022年11月29日
7091
+ /**
7092
+ * goPress
7093
+ * @desc:催办列表查看
7094
+ * @param {String} id 催办列表id
7095
+ * @author liufan
7096
+ * @date 2022年11月29日
7097
7097
  **/
7098
7098
  goPress: function goPress(id) {
7099
7099
  this.historyId = id;
@@ -7101,23 +7101,23 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
7101
7101
  this.getPressList();
7102
7102
  },
7103
7103
 
7104
- /**
7105
- * showFile
7106
- * @desc:附件查看
7107
- * @param {String} ownId 附件id
7108
- * @author liufan
7109
- * @date 2022年11月29日
7104
+ /**
7105
+ * showFile
7106
+ * @desc:附件查看
7107
+ * @param {String} ownId 附件id
7108
+ * @author liufan
7109
+ * @date 2022年11月29日
7110
7110
  **/
7111
7111
  showFile: function showFile(ownId) {
7112
7112
  this.wfpendingid = ownId;
7113
7113
  this.showFileList = true;
7114
7114
  },
7115
7115
 
7116
- /**
7117
- * handleChange
7118
- * @desc:切换排序方式
7119
- * @author liufan
7120
- * @date 2022年11月22日
7116
+ /**
7117
+ * handleChange
7118
+ * @desc:切换排序方式
7119
+ * @author liufan
7120
+ * @date 2022年11月22日
7121
7121
  **/
7122
7122
  handleChange: function handleChange(key, value) {
7123
7123
  if (value) {
@@ -7167,11 +7167,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
7167
7167
  }))();
7168
7168
  },
7169
7169
 
7170
- /**
7171
- * getFlowList
7172
- * @desc:获取流程列表
7173
- * @author liufan
7174
- * @date 2022年11月22日
7170
+ /**
7171
+ * getFlowList
7172
+ * @desc:获取流程列表
7173
+ * @author liufan
7174
+ * @date 2022年11月22日
7175
7175
  **/
7176
7176
  getFlowList: function getFlowList(type) {
7177
7177
  var _this17 = this;
@@ -7251,12 +7251,12 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
7251
7251
  });
7252
7252
  },
7253
7253
 
7254
- /**
7255
- * handleClick
7256
- * @desc:表单点击事件
7257
- * @param {Object} val 当前点击行数据及按钮
7258
- * @author liufan
7259
- * @date 2022年11月10日
7254
+ /**
7255
+ * handleClick
7256
+ * @desc:表单点击事件
7257
+ * @param {Object} val 当前点击行数据及按钮
7258
+ * @author liufan
7259
+ * @date 2022年11月10日
7260
7260
  **/
7261
7261
  handleClick: function handleClick(val) {
7262
7262
  var _this18 = this;
@@ -7302,13 +7302,13 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
7302
7302
  }
7303
7303
  },
7304
7304
 
7305
- /**
7306
- * getCodeValue
7307
- * @desc:获取代码表过滤后的值
7308
- * @param {String} value 展示数据的代码值
7309
- * @param {String} type 代码表类型
7310
- * @author liufan
7311
- * @date 2022年11月10日
7305
+ /**
7306
+ * getCodeValue
7307
+ * @desc:获取代码表过滤后的值
7308
+ * @param {String} value 展示数据的代码值
7309
+ * @param {String} type 代码表类型
7310
+ * @author liufan
7311
+ * @date 2022年11月10日
7312
7312
  **/
7313
7313
  getCodeValue: function getCodeValue(value, type) {
7314
7314
  var val = this[type].filter(function (item) {
@@ -7317,12 +7317,12 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
7317
7317
  return val[0].shortName;
7318
7318
  },
7319
7319
 
7320
- /**
7321
- * getSysInfo
7322
- * @desc:获取代码表
7323
- * @param {String} code 编码code值
7324
- * @author liufan
7325
- * @date 2022年11月10日
7320
+ /**
7321
+ * getSysInfo
7322
+ * @desc:获取代码表
7323
+ * @param {String} code 编码code值
7324
+ * @author liufan
7325
+ * @date 2022年11月10日
7326
7326
  **/
7327
7327
  getSysInfo: function getSysInfo(code) {
7328
7328
  var _this19 = this;
@@ -7344,11 +7344,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
7344
7344
  }).catch(function (e) {});
7345
7345
  },
7346
7346
 
7347
- /**
7348
- * getListInfo
7349
- * @desc:获取预设列表数据
7350
- * @author liufan
7351
- * @date 2022年11月10日
7347
+ /**
7348
+ * getListInfo
7349
+ * @desc:获取预设列表数据
7350
+ * @author liufan
7351
+ * @date 2022年11月10日
7352
7352
  **/
7353
7353
  getListInfo: function getListInfo() {
7354
7354
  var _this20 = this;