eoss-ui 0.7.86 → 0.7.88

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 (226) hide show
  1. package/lib/calogin.js +233 -233
  2. package/lib/eoss-ui.common.js +564 -518
  3. package/lib/flow-list.js +123 -93
  4. package/lib/flow.js +151 -147
  5. package/lib/handler.js +10 -3
  6. package/lib/index.js +1 -1
  7. package/lib/main.js +16 -11
  8. package/lib/qr-code.js +13 -13
  9. package/lib/theme-chalk/index.css +1 -1
  10. package/lib/theme-chalk/login.css +1 -1
  11. package/package.json +1 -1
  12. package/packages/button/index.js +5 -5
  13. package/packages/button/src/main.vue +418 -418
  14. package/packages/button-group/index.js +5 -5
  15. package/packages/calendar/index.js +5 -5
  16. package/packages/calogin/index.js +5 -5
  17. package/packages/calogin/src/plugin.js +915 -915
  18. package/packages/card/index.js +5 -5
  19. package/packages/card/src/main.vue +156 -156
  20. package/packages/cascader/index.js +5 -5
  21. package/packages/cascader/src/main.vue +168 -168
  22. package/packages/checkbox-group/index.js +5 -5
  23. package/packages/checkbox-group/src/main.vue +333 -333
  24. package/packages/clients/index.js +5 -5
  25. package/packages/data-table/index.js +5 -5
  26. package/packages/data-table/src/children.vue +39 -39
  27. package/packages/data-table/src/sizer.vue +195 -195
  28. package/packages/data-table-form/index.js +5 -5
  29. package/packages/data-table-form/src/checkbox.vue +101 -101
  30. package/packages/data-table-form/src/colgroup.vue +17 -17
  31. package/packages/data-table-form/src/main.vue +181 -181
  32. package/packages/data-table-form/src/radio.vue +65 -65
  33. package/packages/data-table-form/src/table.vue +233 -233
  34. package/packages/data-table-form/src/tbody.vue +336 -336
  35. package/packages/data-table-form/src/thead.vue +68 -68
  36. package/packages/date-picker/index.js +5 -5
  37. package/packages/date-picker/src/main.vue +236 -236
  38. package/packages/dialog/index.js +5 -5
  39. package/packages/enable-drag/index.js +5 -5
  40. package/packages/enterprise/index.js +5 -5
  41. package/packages/enterprise/src/main.vue +66 -66
  42. package/packages/error-page/index.js +5 -5
  43. package/packages/error-page/src/main.vue +44 -44
  44. package/packages/flow/index.js +5 -5
  45. package/packages/flow/src/component/TimeLimit.vue +190 -190
  46. package/packages/flow/src/component/taskUnionExamine.vue +1 -1
  47. package/packages/flow/src/main.vue +4144 -4139
  48. package/packages/flow/src/processForm.vue +9 -0
  49. package/packages/flow/src/selectUser.vue +1 -5
  50. package/packages/flow-group/index.js +5 -5
  51. package/packages/flow-list/index.js +5 -5
  52. package/packages/flow-list/src/main.vue +36 -5
  53. package/packages/form/index.js +5 -5
  54. package/packages/handle-user/index.js +5 -5
  55. package/packages/handler/index.js +5 -5
  56. package/packages/handler/src/main.vue +497 -496
  57. package/packages/icon/index.js +5 -5
  58. package/packages/icons/index.js +5 -5
  59. package/packages/icons/src/main.vue +81 -81
  60. package/packages/input/index.js +5 -5
  61. package/packages/input/src/main.vue +356 -356
  62. package/packages/input-number/index.js +5 -5
  63. package/packages/input-number/src/main.vue +106 -106
  64. package/packages/label/index.js +5 -5
  65. package/packages/label/src/main.vue +457 -457
  66. package/packages/layout/index.js +5 -5
  67. package/packages/layout/src/item.vue +152 -152
  68. package/packages/layout/src/main.vue +31 -31
  69. package/packages/login/index.js +5 -5
  70. package/packages/main/index.js +5 -5
  71. package/packages/main/src/default/index.vue +3 -2
  72. package/packages/main/src/default/message.vue +249 -249
  73. package/packages/main/src/default/notice.vue +157 -157
  74. package/packages/main/src/main.vue +1 -0
  75. package/packages/main/src/simplicity/lists.vue +84 -84
  76. package/packages/main/src/simplicity/router-page.vue +45 -45
  77. package/packages/menu/index.js +5 -5
  78. package/packages/nav/index.js +5 -5
  79. package/packages/notify/index.js +5 -5
  80. package/packages/notify/src/main.vue +538 -538
  81. package/packages/page/index.js +5 -5
  82. package/packages/page/src/main.vue +167 -167
  83. package/packages/pagination/index.js +5 -5
  84. package/packages/pagination/src/main.vue +96 -96
  85. package/packages/player/index.js +5 -5
  86. package/packages/player/src/main.vue +194 -194
  87. package/packages/qr-code/index.js +5 -5
  88. package/packages/qr-code/src/main.vue +170 -170
  89. package/packages/radio-group/index.js +6 -6
  90. package/packages/radio-group/src/main.vue +319 -319
  91. package/packages/retrial-auth/index.js +5 -5
  92. package/packages/retrial-auth/src/main.vue +280 -280
  93. package/packages/select/index.js +5 -5
  94. package/packages/select-ganged/index.js +5 -5
  95. package/packages/select-ganged/src/main.vue +724 -724
  96. package/packages/selector/index.js +5 -5
  97. package/packages/selector-panel/index.js +5 -5
  98. package/packages/selector-panel/src/tree.vue +129 -129
  99. package/packages/sizer/index.js +5 -5
  100. package/packages/sizer/src/main.vue +254 -254
  101. package/packages/steps/index.js +5 -5
  102. package/packages/steps/src/main.vue +181 -181
  103. package/packages/switch/index.js +5 -5
  104. package/packages/table-form/index.js +5 -5
  105. package/packages/tabs/index.js +5 -5
  106. package/packages/tabs/src/main.vue +788 -788
  107. package/packages/tabs-panel/index.js +5 -5
  108. package/packages/tabs-panel/src/main.vue +29 -29
  109. package/packages/theme-chalk/lib/base.css +1 -0
  110. package/packages/theme-chalk/lib/button-group.css +1 -0
  111. package/packages/theme-chalk/lib/button.css +1 -0
  112. package/packages/theme-chalk/lib/calendar.css +1 -0
  113. package/packages/theme-chalk/lib/calogin.css +0 -0
  114. package/packages/theme-chalk/lib/card.css +1 -0
  115. package/packages/theme-chalk/lib/cascader.css +0 -0
  116. package/packages/theme-chalk/lib/checkbox-group.css +1 -0
  117. package/packages/theme-chalk/lib/clients.css +1 -0
  118. package/packages/theme-chalk/lib/data-table-form.css +1 -0
  119. package/packages/theme-chalk/lib/data-table.css +1 -0
  120. package/packages/theme-chalk/lib/date-picker.css +1 -0
  121. package/packages/theme-chalk/lib/dialog.css +1 -0
  122. package/packages/theme-chalk/lib/enable-drag.css +1 -0
  123. package/packages/theme-chalk/lib/enterprise.css +1 -0
  124. package/packages/theme-chalk/lib/error-page.css +1 -0
  125. package/packages/theme-chalk/lib/flow-chart.css +0 -0
  126. package/packages/theme-chalk/lib/flow-group.css +1 -0
  127. package/packages/theme-chalk/lib/flow-list.css +1 -0
  128. package/packages/theme-chalk/lib/flow.css +1 -0
  129. package/packages/theme-chalk/lib/fonts/iconfont.ttf +0 -0
  130. package/packages/theme-chalk/lib/fonts/iconfont.woff +0 -0
  131. package/packages/theme-chalk/lib/form.css +1 -0
  132. package/packages/theme-chalk/lib/handle-user.css +1 -0
  133. package/packages/theme-chalk/lib/handler.css +1 -0
  134. package/packages/theme-chalk/lib/icon.css +1 -0
  135. package/packages/theme-chalk/lib/icons.css +1 -0
  136. package/packages/theme-chalk/lib/index.css +1 -0
  137. package/packages/theme-chalk/lib/input-number.css +0 -0
  138. package/packages/theme-chalk/lib/input.css +1 -0
  139. package/packages/theme-chalk/lib/label.css +1 -0
  140. package/packages/theme-chalk/lib/layout.css +1 -0
  141. package/packages/theme-chalk/lib/login.css +1 -0
  142. package/packages/theme-chalk/lib/main.css +1 -0
  143. package/packages/theme-chalk/lib/menu.css +1 -0
  144. package/packages/theme-chalk/lib/nav.css +1 -0
  145. package/packages/theme-chalk/lib/notify.css +0 -0
  146. package/packages/theme-chalk/lib/page.css +1 -0
  147. package/packages/theme-chalk/lib/pagination.css +1 -0
  148. package/packages/theme-chalk/lib/player.css +1 -0
  149. package/packages/theme-chalk/lib/qr-code.css +1 -0
  150. package/packages/theme-chalk/lib/radio-group.css +1 -0
  151. package/packages/theme-chalk/lib/retrial-auth.css +1 -0
  152. package/packages/theme-chalk/lib/select-ganged.css +1 -0
  153. package/packages/theme-chalk/lib/select.css +1 -0
  154. package/packages/theme-chalk/lib/selector-panel.css +1 -0
  155. package/packages/theme-chalk/lib/selector.css +1 -0
  156. package/packages/theme-chalk/lib/simplicity-top.css +1 -0
  157. package/packages/theme-chalk/lib/simplicity.css +1 -0
  158. package/packages/theme-chalk/lib/sizer.css +1 -0
  159. package/packages/theme-chalk/lib/steps.css +1 -0
  160. package/packages/theme-chalk/lib/switch.css +1 -0
  161. package/packages/theme-chalk/lib/table-form.css +0 -0
  162. package/packages/theme-chalk/lib/tabs-panel.css +0 -0
  163. package/packages/theme-chalk/lib/tabs.css +1 -0
  164. package/packages/theme-chalk/lib/tips.css +1 -0
  165. package/packages/theme-chalk/lib/toolbar.css +1 -0
  166. package/packages/theme-chalk/lib/tree-group.css +1 -0
  167. package/packages/theme-chalk/lib/tree.css +1 -0
  168. package/packages/theme-chalk/lib/upload.css +1 -0
  169. package/packages/theme-chalk/lib/wujie.css +0 -0
  170. package/packages/theme-chalk/lib/wxlogin.css +1 -0
  171. package/packages/theme-chalk/src/base.scss +261 -261
  172. package/packages/theme-chalk/src/button-group.scss +176 -176
  173. package/packages/theme-chalk/src/button.scss +24 -24
  174. package/packages/theme-chalk/src/calendar.scss +113 -113
  175. package/packages/theme-chalk/src/card.scss +99 -99
  176. package/packages/theme-chalk/src/checkbox-group.scss +8 -8
  177. package/packages/theme-chalk/src/clients.scss +87 -87
  178. package/packages/theme-chalk/src/data-table-form.scss +67 -67
  179. package/packages/theme-chalk/src/date-picker.scss +7 -7
  180. package/packages/theme-chalk/src/dialog.scss +77 -77
  181. package/packages/theme-chalk/src/enable-drag.scss +181 -181
  182. package/packages/theme-chalk/src/enterprise.scss +5 -5
  183. package/packages/theme-chalk/src/error-page.scss +18 -18
  184. package/packages/theme-chalk/src/flow-group.scss +110 -110
  185. package/packages/theme-chalk/src/handle-user.scss +40 -40
  186. package/packages/theme-chalk/src/icons.scss +99 -99
  187. package/packages/theme-chalk/src/input.scss +9 -9
  188. package/packages/theme-chalk/src/label.scss +24 -24
  189. package/packages/theme-chalk/src/layout.scss +46 -46
  190. package/packages/theme-chalk/src/mixins/color.scss +117 -117
  191. package/packages/theme-chalk/src/nav.scss +111 -111
  192. package/packages/theme-chalk/src/page.scss +3 -3
  193. package/packages/theme-chalk/src/pagination.scss +29 -29
  194. package/packages/theme-chalk/src/player.scss +9 -9
  195. package/packages/theme-chalk/src/qr-code.scss +17 -17
  196. package/packages/theme-chalk/src/radio-group.scss +9 -9
  197. package/packages/theme-chalk/src/retrial-auth.scss +38 -38
  198. package/packages/theme-chalk/src/select-ganged.scss +8 -8
  199. package/packages/theme-chalk/src/select.scss +8 -8
  200. package/packages/theme-chalk/src/selector-panel.scss +204 -204
  201. package/packages/theme-chalk/src/sizer.scss +36 -36
  202. package/packages/theme-chalk/src/steps.scss +88 -88
  203. package/packages/theme-chalk/src/switch.scss +3 -3
  204. package/packages/theme-chalk/src/table-form.scss +1 -1
  205. package/packages/theme-chalk/src/tabs.scss +87 -87
  206. package/packages/theme-chalk/src/tips.scss +7 -7
  207. package/packages/theme-chalk/src/toolbar.scss +179 -179
  208. package/packages/theme-chalk/src/tree-group.scss +72 -72
  209. package/packages/theme-chalk/src/wxlogin.scss +3 -3
  210. package/packages/tips/index.js +5 -5
  211. package/packages/toolbar/index.js +5 -5
  212. package/packages/tree/index.js +5 -5
  213. package/packages/tree-group/index.js +5 -5
  214. package/packages/upload/index.js +5 -5
  215. package/packages/upload/src/picture.js +15 -15
  216. package/packages/wujie/index.js +5 -5
  217. package/packages/wxlogin/index.js +5 -5
  218. package/packages/wxlogin/src/main.vue +128 -128
  219. package/src/config/image.js +2 -2
  220. package/src/index.js +1 -1
  221. package/src/utils/bus.js +3 -3
  222. package/src/utils/date-util.js +312 -312
  223. package/src/utils/http.js +50 -50
  224. package/src/utils/store.js +21 -21
  225. package/src/utils/webSocket.js +107 -107
  226. package/packages/theme-chalk/gulpfile.js +0 -25
package/lib/flow-list.js CHANGED
@@ -4726,8 +4726,8 @@ module.exports = require("qs");
4726
4726
  // ESM COMPAT FLAG
4727
4727
  __webpack_require__.r(__webpack_exports__);
4728
4728
 
4729
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-list/src/main.vue?vue&type=template&id=dfc18528&
4730
- var mainvue_type_template_id_dfc18528_render = function () {
4729
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-list/src/main.vue?vue&type=template&id=7e636ba0&
4730
+ var mainvue_type_template_id_7e636ba0_render = function () {
4731
4731
  var _vm = this
4732
4732
  var _h = _vm.$createElement
4733
4733
  var _c = _vm._self._c || _h
@@ -5159,10 +5159,10 @@ var mainvue_type_template_id_dfc18528_render = function () {
5159
5159
  )
5160
5160
  }
5161
5161
  var staticRenderFns = []
5162
- mainvue_type_template_id_dfc18528_render._withStripped = true
5162
+ mainvue_type_template_id_7e636ba0_render._withStripped = true
5163
5163
 
5164
5164
 
5165
- // CONCATENATED MODULE: ./packages/flow-list/src/main.vue?vue&type=template&id=dfc18528&
5165
+ // CONCATENATED MODULE: ./packages/flow-list/src/main.vue?vue&type=template&id=7e636ba0&
5166
5166
 
5167
5167
  // EXTERNAL MODULE: external "babel-runtime/regenerator"
5168
5168
  var regenerator_ = __webpack_require__(4);
@@ -5789,7 +5789,6 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
5789
5789
  _this.batchdeleteTableList = _this.flowData.filter(function (x) {
5790
5790
  return x.pendstate == 2;
5791
5791
  });
5792
- console.log(res, '批量删除');
5793
5792
  // }
5794
5793
  }
5795
5794
  }, {
@@ -5802,7 +5801,6 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
5802
5801
  _this.currentPage = 1;
5803
5802
  _this.pageSize = 20;
5804
5803
  _this.getResetList();
5805
- console.log(res, '重设记录');
5806
5804
  // }
5807
5805
  }
5808
5806
  }]
@@ -6549,7 +6547,6 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
6549
6547
  method: 'POST',
6550
6548
  data: { ids: ids, reason: this.batchdeletereason }
6551
6549
  };
6552
- console.log(params);
6553
6550
  this.$confirm('您确定要批量删除勾选上的流程历史数据吗?', {
6554
6551
  confirmButtonText: '确定',
6555
6552
  cancelButtonText: '取消',
@@ -6686,7 +6683,6 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
6686
6683
  handleSelectionChange: function handleSelectionChange(val, type) {
6687
6684
  if (type == 'batchDelete') {
6688
6685
  this.batchDeleteSelectList = val;
6689
- console.log(this.batchDeleteSelectList, 'this.batchDeleteSelectList');
6690
6686
  } else {
6691
6687
  this.selectList = val;
6692
6688
  }
@@ -6780,6 +6776,8 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
6780
6776
  }
6781
6777
  },
6782
6778
  handleBtnClick: function handleBtnClick(data) {
6779
+ var _this11 = this;
6780
+
6783
6781
  // recallRead
6784
6782
  var handle = data.handle,
6785
6783
  row = data.row;
@@ -6789,6 +6787,39 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
6789
6787
  this.del(row.id, handle.text == '删除' ? 'del' : 'modify');
6790
6788
  } else if (handle.fun == 'recallRead') {
6791
6789
  this[handle.fun]();
6790
+ } else if (handle.text == '置为失效') {
6791
+ if (row.status == 0) {
6792
+ this.$confirm('您确定要置为失效吗?').then(function () {
6793
+ _this11.loading = util["a" /* default */].loading(_this11.$loading, '提交中...');
6794
+ var param = {
6795
+ url: api["n" /* deletePresetInfo */],
6796
+ headers: { Accept: 'application/json,text/plain' },
6797
+ method: 'post',
6798
+ data: { id: row.id }
6799
+ };
6800
+ util["a" /* default */].ajax(param).then(function (res) {
6801
+ var status = res.status,
6802
+ message = res.message;
6803
+
6804
+ _this11.loading.close();
6805
+ if (status === 'success') {
6806
+ _this11.$message.success('操作成功');
6807
+ _this11.getListInfo();
6808
+ } else {
6809
+ _this11.$message.error(message || '系统错误,请联系管理员!');
6810
+ }
6811
+ }).catch(function (err) {
6812
+ _this11.loading.close();
6813
+ if (err.message && err.message !== 'canceled') {
6814
+ _this11.$message.error(err.message);
6815
+ }
6816
+ });
6817
+ }).catch(function (e) {
6818
+ // on cancel
6819
+ });
6820
+ } else {
6821
+ this.$message.warning('当前数据已为失效状态');
6822
+ }
6792
6823
  }
6793
6824
  },
6794
6825
 
@@ -6800,7 +6831,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
6800
6831
  * @date 2022年11月29日
6801
6832
  **/
6802
6833
  handleFormSubmit: function handleFormSubmit(formData) {
6803
- var _this11 = this;
6834
+ var _this12 = this;
6804
6835
 
6805
6836
  this.delLoading = true;
6806
6837
  var params = {
@@ -6817,18 +6848,18 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
6817
6848
  var status = res.status,
6818
6849
  message = res.message;
6819
6850
 
6820
- _this11.delLoading = false;
6851
+ _this12.delLoading = false;
6821
6852
  if (status === 'success') {
6822
- _this11.$message.success((_this11.modalType == 'del' ? '删除' : '修改') + '\u6210\u529F');
6823
- _this11.showDel = false;
6824
- _this11.handleChange();
6853
+ _this12.$message.success((_this12.modalType == 'del' ? '删除' : '修改') + '\u6210\u529F');
6854
+ _this12.showDel = false;
6855
+ _this12.handleChange();
6825
6856
  } else {
6826
- _this11.$message.error(message || '系统错误,请联系管理员!');
6857
+ _this12.$message.error(message || '系统错误,请联系管理员!');
6827
6858
  }
6828
6859
  }).catch(function (err) {
6829
- _this11.delLoading = false;
6860
+ _this12.delLoading = false;
6830
6861
  if (err.message && err.message !== 'canceled') {
6831
- _this11.$message.error(err.message);
6862
+ _this12.$message.error(err.message);
6832
6863
  }
6833
6864
  });
6834
6865
  },
@@ -6882,7 +6913,6 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
6882
6913
  * @date 2022年11月29日
6883
6914
  **/
6884
6915
  sortChange: function sortChange(info, type) {
6885
- console.log(info);
6886
6916
  var prop = info.prop;
6887
6917
 
6888
6918
  this.sidx = prop;
@@ -6903,7 +6933,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
6903
6933
  * @date 2025年12月30日
6904
6934
  **/
6905
6935
  getDeletList: function getDeletList() {
6906
- var _this12 = this;
6936
+ var _this13 = this;
6907
6937
 
6908
6938
  var pageSize = this.pageSize,
6909
6939
  sidx = this.sidx,
@@ -6918,13 +6948,13 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
6918
6948
  data: { page: currentPage, rows: pageSize, sidx: sidx, sord: sord }
6919
6949
  };
6920
6950
  util["a" /* default */].ajax(params).then(function (res) {
6921
- _this12.deleteTableList = res.data;
6922
- _this12.total = res.totalrecords;
6923
- _this12.deleteLoading = false;
6951
+ _this13.deleteTableList = res.data;
6952
+ _this13.total = res.totalrecords;
6953
+ _this13.deleteLoading = false;
6924
6954
  }).catch(function (err) {
6925
- _this12.deleteLoading = false;
6955
+ _this13.deleteLoading = false;
6926
6956
  if (err.message && err.message !== 'canceled') {
6927
- _this12.$message.error(err.message);
6957
+ _this13.$message.error(err.message);
6928
6958
  }
6929
6959
  });
6930
6960
  },
@@ -6936,7 +6966,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
6936
6966
  * @date 2025年12月30日
6937
6967
  **/
6938
6968
  getResetList: function getResetList() {
6939
- var _this13 = this;
6969
+ var _this14 = this;
6940
6970
 
6941
6971
  var pageSize = this.pageSize,
6942
6972
  sidx = this.sidx,
@@ -6952,13 +6982,13 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
6952
6982
  data: { page: currentPage, rows: pageSize, sidx: sidx, sord: sord }
6953
6983
  };
6954
6984
  util["a" /* default */].ajax(params).then(function (res) {
6955
- _this13.resetTableList = res.data;
6956
- _this13.total = res.totalrecords;
6957
- _this13.resetLoading = false;
6985
+ _this14.resetTableList = res.data;
6986
+ _this14.total = res.totalrecords;
6987
+ _this14.resetLoading = false;
6958
6988
  }).catch(function (err) {
6959
- _this13.resetLoading = false;
6989
+ _this14.resetLoading = false;
6960
6990
  if (err.message && err.message !== 'canceled') {
6961
- _this13.$message.error(err.message);
6991
+ _this14.$message.error(err.message);
6962
6992
  }
6963
6993
  });
6964
6994
  },
@@ -6970,7 +7000,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
6970
7000
  * @date 2022年11月29日
6971
7001
  **/
6972
7002
  getPressList: function getPressList() {
6973
- var _this14 = this;
7003
+ var _this15 = this;
6974
7004
 
6975
7005
  var historyId = this.historyId,
6976
7006
  pageSize = this.pageSize,
@@ -6986,13 +7016,13 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
6986
7016
  data: { page: currentPage, rows: pageSize, sidx: sidx, sord: sord, historyId: historyId }
6987
7017
  };
6988
7018
  util["a" /* default */].ajax(params).then(function (res) {
6989
- _this14.pressTableList = res.data;
6990
- _this14.total = res.totalrecords;
6991
- _this14.pressLoading = false;
7019
+ _this15.pressTableList = res.data;
7020
+ _this15.total = res.totalrecords;
7021
+ _this15.pressLoading = false;
6992
7022
  }).catch(function (err) {
6993
- _this14.pressLoading = false;
7023
+ _this15.pressLoading = false;
6994
7024
  if (err.message && err.message !== 'canceled') {
6995
- _this14.$message.error(err.message);
7025
+ _this15.$message.error(err.message);
6996
7026
  }
6997
7027
  });
6998
7028
  },
@@ -7037,7 +7067,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
7037
7067
  this.getFlowList();
7038
7068
  },
7039
7069
  getFyListJson: function getFyListJson(type) {
7040
- var _this15 = this;
7070
+ var _this16 = this;
7041
7071
 
7042
7072
  return _asyncToGenerator( /*#__PURE__*/regenerator_default.a.mark(function _callee3() {
7043
7073
  var params;
@@ -7048,20 +7078,20 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
7048
7078
  params = {
7049
7079
  url: api["J" /* fyListJson */],
7050
7080
  params: {
7051
- appRecordId: _this15.businessId,
7081
+ appRecordId: _this16.businessId,
7052
7082
  status: type
7053
7083
  }
7054
7084
  };
7055
7085
  _context3.next = 3;
7056
7086
  return util["a" /* default */].ajax(params).then(function (res) {
7057
7087
  if (type == 1) {
7058
- _this15.untreatedReadData = res.data;
7059
- _this15.untreatedReadData.map(function (x, i) {
7088
+ _this16.untreatedReadData = res.data;
7089
+ _this16.untreatedReadData.map(function (x, i) {
7060
7090
  x.sort = i + 1;
7061
7091
  });
7062
7092
  } else {
7063
- _this15.processedReadData = res.data;
7064
- _this15.processedReadData.map(function (x, i) {
7093
+ _this16.processedReadData = res.data;
7094
+ _this16.processedReadData.map(function (x, i) {
7065
7095
  x.sort = i + 1;
7066
7096
  });
7067
7097
  }
@@ -7072,7 +7102,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
7072
7102
  return _context3.stop();
7073
7103
  }
7074
7104
  }
7075
- }, _callee3, _this15);
7105
+ }, _callee3, _this16);
7076
7106
  }))();
7077
7107
  },
7078
7108
 
@@ -7083,7 +7113,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
7083
7113
  * @date 2022年11月22日
7084
7114
  **/
7085
7115
  getFlowList: function getFlowList(type) {
7086
- var _this16 = this;
7116
+ var _this17 = this;
7087
7117
 
7088
7118
  var params = {
7089
7119
  url: api["Cb" /* pendedhistoryListJson */],
@@ -7110,53 +7140,53 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
7110
7140
  isShowReset = _res$data.isShowReset,
7111
7141
  taskReadName = _res$data.taskReadName;
7112
7142
 
7113
- _this16.loading.close();
7143
+ _this17.loading.close();
7114
7144
  if (status == 'success') {
7115
- _this16.flowTableInfo.adjunctCode = adjunctCode;
7116
- _this16.flowTableInfo.hasAgent = hasAgent;
7117
- _this16.attachmentPaperClipCssStyle = res.data.attachmentPaperClipCssStyle;
7118
- _this16.isShort = isShort;
7119
- _this16.taskReadName = taskReadName;
7120
- _this16.flowData = wfHistoryList;
7121
- _this16.flowData.map(function (x, i) {
7145
+ _this17.flowTableInfo.adjunctCode = adjunctCode;
7146
+ _this17.flowTableInfo.hasAgent = hasAgent;
7147
+ _this17.attachmentPaperClipCssStyle = res.data.attachmentPaperClipCssStyle;
7148
+ _this17.isShort = isShort;
7149
+ _this17.taskReadName = taskReadName;
7150
+ _this17.flowData = wfHistoryList;
7151
+ _this17.flowData.map(function (x, i) {
7122
7152
  x.sort = i + 1;
7123
7153
  if (!x.deptid) {
7124
7154
  x.deptid = x.deptName;
7125
7155
  }
7126
7156
  });
7127
- _this16.splitReadingData = fyHistoryList;
7128
- _this16.splitReadingData.map(function (x, i) {
7157
+ _this17.splitReadingData = fyHistoryList;
7158
+ _this17.splitReadingData.map(function (x, i) {
7129
7159
  x.sort = i + 1;
7130
7160
  });
7131
- _this16.modify = modify;
7132
- _this16.canDelete = canDelete;
7133
- _this16.canBatchDelete = canBatchDelete;
7134
- _this16.isSuperRole = isSuperRole;
7135
- _this16.isShowReset = isShowReset;
7136
- _this16.show = true;
7137
- if (_this16.height == 'auto') {
7138
- _this16.$nextTick(function () {
7139
- _this16.content.map(function (x) {
7140
- _this16[x.type + 'Height'] = _this16.$refs[x.type][0].offsetHeight;
7161
+ _this17.modify = modify;
7162
+ _this17.canDelete = canDelete;
7163
+ _this17.canBatchDelete = canBatchDelete;
7164
+ _this17.isSuperRole = isSuperRole;
7165
+ _this17.isShowReset = isShowReset;
7166
+ _this17.show = true;
7167
+ if (_this17.height == 'auto') {
7168
+ _this17.$nextTick(function () {
7169
+ _this17.content.map(function (x) {
7170
+ _this17[x.type + 'Height'] = _this17.$refs[x.type][0].offsetHeight;
7141
7171
  });
7142
7172
  });
7143
7173
  }
7144
- if (_this16.contents.indexOf('circular') != -1) {
7145
- _this16.getCircularReadList();
7174
+ if (_this17.contents.indexOf('circular') != -1) {
7175
+ _this17.getCircularReadList();
7146
7176
  } else {
7147
- _this16.$nextTick(function () {
7148
- _this16.getListCount(_this16.flowListCount);
7177
+ _this17.$nextTick(function () {
7178
+ _this17.getListCount(_this17.flowListCount);
7149
7179
  });
7150
7180
  }
7151
7181
  } else {
7152
- _this16.$message.error(message || '系统错误,请联系管理员!');
7182
+ _this17.$message.error(message || '系统错误,请联系管理员!');
7153
7183
  }
7154
7184
  }).catch(function (err) {
7155
- _this16.loading.close();
7185
+ _this17.loading.close();
7156
7186
  if (err.message && err.message !== 'canceled') {
7157
- _this16.$message.error(err.message);
7187
+ _this17.$message.error(err.message);
7158
7188
  }
7159
- _this16.show = true;
7189
+ _this17.show = true;
7160
7190
  });
7161
7191
  },
7162
7192
 
@@ -7168,7 +7198,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
7168
7198
  * @date 2022年11月10日
7169
7199
  **/
7170
7200
  handleClick: function handleClick(val) {
7171
- var _this17 = this;
7201
+ var _this18 = this;
7172
7202
 
7173
7203
  var text = val.handle.text,
7174
7204
  _val$row = val.row,
@@ -7178,7 +7208,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
7178
7208
  if (text === '置为失效') {
7179
7209
  if (status == 0) {
7180
7210
  this.$confirm('您确定要置为失效吗?').then(function () {
7181
- _this17.loading = util["a" /* default */].loading(_this17.$loading, '提交中...');
7211
+ _this18.loading = util["a" /* default */].loading(_this18.$loading, '提交中...');
7182
7212
  var param = {
7183
7213
  url: api["n" /* deletePresetInfo */],
7184
7214
  headers: { Accept: 'application/json,text/plain' },
@@ -7189,17 +7219,17 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
7189
7219
  var status = res.status,
7190
7220
  message = res.message;
7191
7221
 
7192
- _this17.loading.close();
7222
+ _this18.loading.close();
7193
7223
  if (status === 'success') {
7194
- _this17.$message.success('操作成功');
7195
- _this17.getListInfo();
7224
+ _this18.$message.success('操作成功');
7225
+ _this18.getListInfo();
7196
7226
  } else {
7197
- _this17.$message.error(message || '系统错误,请联系管理员!');
7227
+ _this18.$message.error(message || '系统错误,请联系管理员!');
7198
7228
  }
7199
7229
  }).catch(function (err) {
7200
- _this17.loading.close();
7230
+ _this18.loading.close();
7201
7231
  if (err.message && err.message !== 'canceled') {
7202
- _this17.$message.error(err.message);
7232
+ _this18.$message.error(err.message);
7203
7233
  }
7204
7234
  });
7205
7235
  }).catch(function (e) {
@@ -7234,7 +7264,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
7234
7264
  * @date 2022年11月10日
7235
7265
  **/
7236
7266
  getSysInfo: function getSysInfo(code) {
7237
- var _this18 = this;
7267
+ var _this19 = this;
7238
7268
 
7239
7269
  var params = {
7240
7270
  url: api["B" /* findCodeValues */],
@@ -7246,9 +7276,9 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
7246
7276
  data = res.data;
7247
7277
 
7248
7278
  if (status == 'success') {
7249
- _this18[code] = data;
7279
+ _this19[code] = data;
7250
7280
  } else {
7251
- _this18.$message.error(message || '系统错误,请联系管理员!');
7281
+ _this19.$message.error(message || '系统错误,请联系管理员!');
7252
7282
  }
7253
7283
  }).catch(function (e) {});
7254
7284
  },
@@ -7260,7 +7290,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
7260
7290
  * @date 2022年11月10日
7261
7291
  **/
7262
7292
  getListInfo: function getListInfo() {
7263
- var _this19 = this;
7293
+ var _this20 = this;
7264
7294
 
7265
7295
  var param = {
7266
7296
  url: api["pc" /* toPresetInfoListIndex */],
@@ -7275,24 +7305,24 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
7275
7305
  canDelete = _res$data2.canDelete,
7276
7306
  currentUserHasPresetInfoAuth = _res$data2.currentUserHasPresetInfoAuth;
7277
7307
 
7278
- _this19.loading.close();
7308
+ _this20.loading.close();
7279
7309
  if (status == 'success') {
7280
7310
  if (presetInfoList) {
7281
- _this19.presetData = presetInfoList;
7282
- _this19.presetData.map(function (x, i) {
7311
+ _this20.presetData = presetInfoList;
7312
+ _this20.presetData.map(function (x, i) {
7283
7313
  x.sort = i + 1;
7284
7314
  });
7285
7315
  }
7286
- _this19.presetInfoListHiddenColumns = presetInfoListHiddenColumns;
7287
- _this19.currentUserHasPresetInfoAuth = currentUserHasPresetInfoAuth;
7288
- _this19.canDelete = canDelete;
7316
+ _this20.presetInfoListHiddenColumns = presetInfoListHiddenColumns;
7317
+ _this20.currentUserHasPresetInfoAuth = currentUserHasPresetInfoAuth;
7318
+ _this20.canDelete = canDelete;
7289
7319
  } else {
7290
- _this19.$message.error(message || '系统错误,请联系管理员!');
7320
+ _this20.$message.error(message || '系统错误,请联系管理员!');
7291
7321
  }
7292
7322
  }).catch(function (err) {
7293
- _this19.loading.close();
7323
+ _this20.loading.close();
7294
7324
  if (err.message && err.message !== 'canceled') {
7295
- _this19.$message.error(err.message);
7325
+ _this20.$message.error(err.message);
7296
7326
  }
7297
7327
  });
7298
7328
  }
@@ -7313,7 +7343,7 @@ var componentNormalizer = __webpack_require__(3);
7313
7343
 
7314
7344
  var component = Object(componentNormalizer["a" /* default */])(
7315
7345
  src_mainvue_type_script_lang_js_,
7316
- mainvue_type_template_id_dfc18528_render,
7346
+ mainvue_type_template_id_7e636ba0_render,
7317
7347
  staticRenderFns,
7318
7348
  false,
7319
7349
  null,