eoss-mobiles 0.3.97 → 0.3.99

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 (213) hide show
  1. package/lib/checkbox.js +21 -0
  2. package/lib/eoss-mobile.common.js +284 -123
  3. package/lib/flow-btn.js +21 -0
  4. package/lib/flow-list.js +21 -0
  5. package/lib/flow.js +244 -83
  6. package/lib/index.js +1 -1
  7. package/lib/picker.js +27 -6
  8. package/lib/radio.js +26 -5
  9. package/lib/retrial-auth.js +21 -0
  10. package/lib/selector.js +49 -28
  11. package/lib/table-column.js +21 -0
  12. package/lib/table.js +21 -0
  13. package/lib/theme-chalk/fonts/iconfont.scss +98 -98
  14. package/lib/theme-chalk/fonts/iconfont1.scss +90 -90
  15. package/lib/uploader.js +21 -0
  16. package/lib/utils/util.js +21 -0
  17. package/package.json +1 -1
  18. package/packages/action-sheet/index.js +5 -5
  19. package/packages/action-sheet/src/main.vue +32 -32
  20. package/packages/button/index.js +5 -5
  21. package/packages/button/src/main.vue +15 -15
  22. package/packages/button-group/index.js +5 -5
  23. package/packages/button-group/src/main.vue +80 -80
  24. package/packages/calendar/index.js +5 -5
  25. package/packages/calendar/src/main.vue +34 -34
  26. package/packages/cascader/index.js +5 -5
  27. package/packages/cascader/src/main.vue +39 -39
  28. package/packages/cell/index.js +5 -5
  29. package/packages/cell/src/main.vue +77 -77
  30. package/packages/checkbox/index.js +5 -5
  31. package/packages/checkbox/src/main.vue +232 -232
  32. package/packages/circle/index.js +5 -5
  33. package/packages/circle/src/main.vue +27 -27
  34. package/packages/count-down/index.js +5 -5
  35. package/packages/count-down/src/main.vue +27 -27
  36. package/packages/date/index.js +5 -5
  37. package/packages/date/src/date-time.vue +290 -290
  38. package/packages/date/src/main.vue +401 -401
  39. package/packages/empty/index.js +5 -5
  40. package/packages/empty/src/main.vue +16 -16
  41. package/packages/esign/index.js +5 -5
  42. package/packages/esign/src/main.vue +144 -144
  43. package/packages/field/index.js +5 -5
  44. package/packages/flow/index.js +5 -5
  45. package/packages/flow/src/components/Circulate.vue +595 -595
  46. package/packages/flow/src/components/Handle.vue +2404 -2404
  47. package/packages/flow/src/components/Message.vue +208 -208
  48. package/packages/flow/src/components/ProcessSettings.vue +342 -342
  49. package/packages/flow/src/components/TaskRead.vue +100 -4
  50. package/packages/flow/src/components/supervise.vue +139 -139
  51. package/packages/flow/src/flowMix.js +288 -288
  52. package/packages/flow/src/main.vue +116 -116
  53. package/packages/flow-btn/index.js +5 -5
  54. package/packages/flow-btn/src/main.vue +494 -494
  55. package/packages/flow-list/index.js +5 -5
  56. package/packages/flow-list/src/main.vue +248 -248
  57. package/packages/form/index.js +5 -5
  58. package/packages/grid/index.js +5 -5
  59. package/packages/grid/src/main.vue +486 -486
  60. package/packages/grid-item/index.js +5 -5
  61. package/packages/grid-item/src/main.vue +16 -16
  62. package/packages/image/index.js +5 -5
  63. package/packages/image/src/main.vue +12 -12
  64. package/packages/image-preview/index.js +5 -5
  65. package/packages/list/index.js +5 -5
  66. package/packages/list/src/main.vue +32 -32
  67. package/packages/loading/index.js +5 -5
  68. package/packages/loading/src/main.vue +19 -19
  69. package/packages/nav-bar/index.js +5 -5
  70. package/packages/nav-bar/src/main.vue +24 -24
  71. package/packages/notice-bar/index.js +5 -5
  72. package/packages/notice-bar/src/main.vue +15 -15
  73. package/packages/pagination/index.js +5 -5
  74. package/packages/pagination/src/main.vue +73 -73
  75. package/packages/picker/index.js +5 -5
  76. package/packages/picker/src/main.vue +604 -604
  77. package/packages/popover/index.js +5 -5
  78. package/packages/popover/src/main.vue +32 -32
  79. package/packages/popup/index.js +5 -5
  80. package/packages/popup/src/main.vue +27 -27
  81. package/packages/pull-refresh/index.js +5 -5
  82. package/packages/pull-refresh/src/main.vue +31 -31
  83. package/packages/radio/index.js +5 -5
  84. package/packages/radio/src/main.vue +179 -179
  85. package/packages/rate/index.js +5 -5
  86. package/packages/rate/src/main.vue +26 -26
  87. package/packages/retrial-auth/index.js +5 -5
  88. package/packages/retrial-auth/src/main.vue +257 -257
  89. package/packages/search/index.js +5 -5
  90. package/packages/search/src/main.vue +39 -39
  91. package/packages/selector/index.js +5 -5
  92. package/packages/selector/src/main.vue +186 -186
  93. package/packages/selector/src/selector-tree.vue +1117 -1117
  94. package/packages/selector/src/tree.vue +405 -405
  95. package/packages/skeleton/index.js +5 -5
  96. package/packages/skeleton/src/main.vue +17 -17
  97. package/packages/stepper/index.js +5 -5
  98. package/packages/stepper/src/main.vue +25 -25
  99. package/packages/swipe/index.js +5 -5
  100. package/packages/swipe/src/main.vue +42 -42
  101. package/packages/switch/index.js +5 -5
  102. package/packages/switch/src/main.vue +38 -38
  103. package/packages/tab/index.js +5 -5
  104. package/packages/tab/src/main.vue +16 -16
  105. package/packages/table/index.js +5 -5
  106. package/packages/table/src/main.vue +1006 -1006
  107. package/packages/table-column/index.js +5 -5
  108. package/packages/table-column/src/main.vue +931 -931
  109. package/packages/table-column/src/mixins/table.js +12 -12
  110. package/packages/tabs/index.js +5 -5
  111. package/packages/tabs/src/main.vue +34 -34
  112. package/packages/tag/index.js +5 -5
  113. package/packages/tag/src/main.vue +16 -16
  114. package/packages/theme-chalk/gulpfile.js +25 -0
  115. package/packages/theme-chalk/src/base.scss +195 -195
  116. package/packages/theme-chalk/src/button-group.scss +25 -25
  117. package/packages/theme-chalk/src/button.scss +2 -2
  118. package/packages/theme-chalk/src/calendar.scss +11 -11
  119. package/packages/theme-chalk/src/cascader.scss +11 -11
  120. package/packages/theme-chalk/src/cell.scss +14 -14
  121. package/packages/theme-chalk/src/checkbox.scss +9 -9
  122. package/packages/theme-chalk/src/circle.scss +6 -6
  123. package/packages/theme-chalk/src/common/var.scss +1525 -1525
  124. package/packages/theme-chalk/src/esign.scss +51 -51
  125. package/packages/theme-chalk/src/field.scss +98 -98
  126. package/packages/theme-chalk/src/flow-btn.scss +99 -99
  127. package/packages/theme-chalk/src/flow-list.scss +122 -122
  128. package/packages/theme-chalk/src/fonts/iconfont.scss +98 -98
  129. package/packages/theme-chalk/src/fonts/iconfont1.scss +90 -90
  130. package/packages/theme-chalk/src/form.scss +33 -33
  131. package/packages/theme-chalk/src/grid-item.scss +16 -16
  132. package/packages/theme-chalk/src/grid.scss +46 -46
  133. package/packages/theme-chalk/src/icon.scss +1661 -1661
  134. package/packages/theme-chalk/src/mixins/color.scss +117 -117
  135. package/packages/theme-chalk/src/navbar.scss +5 -5
  136. package/packages/theme-chalk/src/pagination.scss +12 -12
  137. package/packages/theme-chalk/src/picker.scss +31 -31
  138. package/packages/theme-chalk/src/radio.scss +6 -6
  139. package/packages/theme-chalk/src/retrial-auth.scss +28 -28
  140. package/packages/theme-chalk/src/selector.scss +247 -247
  141. package/packages/theme-chalk/src/stepper.scss +9 -9
  142. package/packages/theme-chalk/src/switch.scss +5 -5
  143. package/packages/theme-chalk/src/table.scss +86 -86
  144. package/packages/theme-chalk/src/tabs.scss +31 -31
  145. package/packages/theme-chalk/src/tag.scss +12 -12
  146. package/packages/theme-chalk/src/theme.scss +1 -1
  147. package/packages/theme-chalk/src/tree.scss +127 -127
  148. package/packages/uploader/index.js +5 -5
  149. package/src/config/api.js +190 -190
  150. package/src/index.js +1 -1
  151. package/src/utils/axios.js +217 -217
  152. package/src/utils/date-util.js +312 -312
  153. package/src/utils/http.js +106 -106
  154. package/src/utils/rules.js +18 -18
  155. package/src/utils/store.js +21 -21
  156. package/src/utils/util.js +21 -0
  157. package/CHANGELOG.md +0 -95
  158. package/packages/theme-chalk/lib/action-sheet.css +0 -0
  159. package/packages/theme-chalk/lib/base.css +0 -1
  160. package/packages/theme-chalk/lib/button-group.css +0 -1
  161. package/packages/theme-chalk/lib/button.css +0 -1
  162. package/packages/theme-chalk/lib/calendar.css +0 -1
  163. package/packages/theme-chalk/lib/cascader.css +0 -1
  164. package/packages/theme-chalk/lib/cell.css +0 -1
  165. package/packages/theme-chalk/lib/checkbox.css +0 -1
  166. package/packages/theme-chalk/lib/circle.css +0 -1
  167. package/packages/theme-chalk/lib/count-down.css +0 -0
  168. package/packages/theme-chalk/lib/date.css +0 -0
  169. package/packages/theme-chalk/lib/empty.css +0 -0
  170. package/packages/theme-chalk/lib/esign.css +0 -1
  171. package/packages/theme-chalk/lib/field.css +0 -1
  172. package/packages/theme-chalk/lib/flow-btn.css +0 -1
  173. package/packages/theme-chalk/lib/flow-list-task-read.css +0 -1
  174. package/packages/theme-chalk/lib/flow-list.css +0 -1
  175. package/packages/theme-chalk/lib/flow.css +0 -1
  176. package/packages/theme-chalk/lib/fonts/iconfont.scss +0 -98
  177. package/packages/theme-chalk/lib/fonts/iconfont.ttf +0 -0
  178. package/packages/theme-chalk/lib/fonts/iconfont.woff +0 -0
  179. package/packages/theme-chalk/lib/fonts/iconfont1.scss +0 -90
  180. package/packages/theme-chalk/lib/form.css +0 -1
  181. package/packages/theme-chalk/lib/grid-item.css +0 -1
  182. package/packages/theme-chalk/lib/grid.css +0 -1
  183. package/packages/theme-chalk/lib/icon.css +0 -1
  184. package/packages/theme-chalk/lib/image-preview.css +0 -0
  185. package/packages/theme-chalk/lib/image.css +0 -0
  186. package/packages/theme-chalk/lib/index.css +0 -1
  187. package/packages/theme-chalk/lib/list.css +0 -0
  188. package/packages/theme-chalk/lib/loading.css +0 -0
  189. package/packages/theme-chalk/lib/nav-bar.css +0 -0
  190. package/packages/theme-chalk/lib/navbar.css +0 -1
  191. package/packages/theme-chalk/lib/notice-bar.css +0 -0
  192. package/packages/theme-chalk/lib/pagination.css +0 -1
  193. package/packages/theme-chalk/lib/picker.css +0 -1
  194. package/packages/theme-chalk/lib/popover.css +0 -0
  195. package/packages/theme-chalk/lib/popup.css +0 -0
  196. package/packages/theme-chalk/lib/pull-refresh.css +0 -0
  197. package/packages/theme-chalk/lib/radio.css +0 -1
  198. package/packages/theme-chalk/lib/rate.css +0 -0
  199. package/packages/theme-chalk/lib/retrial-auth.css +0 -1
  200. package/packages/theme-chalk/lib/search.css +0 -0
  201. package/packages/theme-chalk/lib/selector.css +0 -1
  202. package/packages/theme-chalk/lib/skeleton.css +0 -0
  203. package/packages/theme-chalk/lib/stepper.css +0 -1
  204. package/packages/theme-chalk/lib/swipe.css +0 -0
  205. package/packages/theme-chalk/lib/switch.css +0 -1
  206. package/packages/theme-chalk/lib/tab.css +0 -0
  207. package/packages/theme-chalk/lib/table-column.css +0 -0
  208. package/packages/theme-chalk/lib/table.css +0 -1
  209. package/packages/theme-chalk/lib/tabs.css +0 -1
  210. package/packages/theme-chalk/lib/tag.css +0 -1
  211. package/packages/theme-chalk/lib/theme.css +0 -0
  212. package/packages/theme-chalk/lib/tree.css +0 -1
  213. package/packages/theme-chalk/lib/uploader.css +0 -0
@@ -606,6 +606,26 @@ var getValues = function getValues(obj, flag) {
606
606
  return val;
607
607
  };
608
608
 
609
+ /**
610
+ * uuid
611
+ * @desc:唯一id
612
+ * @author huangbo
613
+ * @date 2022年5月7日
614
+ * @param {number} [len] - 长度
615
+ **/
616
+ var uuid = function uuid(len) {
617
+ len = len || 32;
618
+ var s = 4;
619
+ var str = '';
620
+ function S4() {
621
+ return ((1 + Math.random()) * 0x10000 | 0).toString(16).substring(1);
622
+ }
623
+ for (var i = 0; i < Math.ceil(len / s); i++) {
624
+ str += S4();
625
+ }
626
+ return str.substring(0, len);
627
+ };
628
+
609
629
  /**
610
630
  * loading 需全局引入element-ui
611
631
  * @desc:loading
@@ -1496,6 +1516,7 @@ var toFunction = function toFunction(str) {
1496
1516
  jsGoPayrollIndexAct: jsGoPayrollIndexAct,
1497
1517
  exportXls: exportXls,
1498
1518
  generateUUID: generateUUID,
1519
+ uuid: uuid,
1499
1520
  toFunction: toFunction
1500
1521
  });
1501
1522
 
@@ -4277,12 +4298,12 @@ var _props, _methods;
4277
4298
  });
4278
4299
  },
4279
4300
 
4280
- /**
4281
- * delteList
4282
- * @desc:删除选中的数据
4283
- * @date 2023年3月6日
4284
- * @author liufan
4285
- * @param {String,Number} i 点击数据的下标
4301
+ /**
4302
+ * delteList
4303
+ * @desc:删除选中的数据
4304
+ * @date 2023年3月6日
4305
+ * @author liufan
4306
+ * @param {String,Number} i 点击数据的下标
4286
4307
  */
4287
4308
  delteList: function delteList(i) {
4288
4309
  this.oldIsSearch = this.isSearch;
@@ -4305,11 +4326,11 @@ var _props, _methods;
4305
4326
  }
4306
4327
  },
4307
4328
 
4308
- /**
4309
- * onSearch
4310
- * @desc:条件搜索
4311
- * @date 2023年3月6日
4312
- * @author liufan
4329
+ /**
4330
+ * onSearch
4331
+ * @desc:条件搜索
4332
+ * @date 2023年3月6日
4333
+ * @author liufan
4313
4334
  */
4314
4335
  onSearch: function onSearch() {
4315
4336
  var _this5 = this;
@@ -4328,11 +4349,11 @@ var _props, _methods;
4328
4349
  }, 1000);
4329
4350
  },
4330
4351
 
4331
- /**
4332
- * getContent
4333
- * @desc:获取数据
4334
- * @date 2023年3月6日
4335
- * @author liufan
4352
+ /**
4353
+ * getContent
4354
+ * @desc:获取数据
4355
+ * @date 2023年3月6日
4356
+ * @author liufan
4336
4357
  */
4337
4358
  getContent: function getContent(name, isSearch) {
4338
4359
  var _this6 = this;
@@ -5309,12 +5330,12 @@ var selector_field_component = normalizeComponent(
5309
5330
  this.$emit('selector-click', this.showSelectorTree);
5310
5331
  },
5311
5332
 
5312
- /**
5313
- * handleDispose
5314
- * @desc:确认选人
5315
- * @date 2023年3月6日
5316
- * @author liufan
5317
- * @param {Object} val 选中的人员/单位
5333
+ /**
5334
+ * handleDispose
5335
+ * @desc:确认选人
5336
+ * @date 2023年3月6日
5337
+ * @author liufan
5338
+ * @param {Object} val 选中的人员/单位
5318
5339
  */
5319
5340
  handleDispose: function handleDispose(val) {
5320
5341
  this.inputValue = '';
@@ -5332,12 +5353,12 @@ var selector_field_component = normalizeComponent(
5332
5353
  this.$emit('selector-click', this.showSelectorTree);
5333
5354
  },
5334
5355
 
5335
- /**
5336
- * handleChangeSel
5337
- * @desc:输入框数据发生变化时
5338
- * @date 2023年3月6日
5339
- * @author liufan
5340
- * @param {Array} val 变化后的选中数据
5356
+ /**
5357
+ * handleChangeSel
5358
+ * @desc:输入框数据发生变化时
5359
+ * @date 2023年3月6日
5360
+ * @author liufan
5361
+ * @param {Array} val 变化后的选中数据
5341
5362
  */
5342
5363
  handleChangeSel: function handleChangeSel(val) {
5343
5364
  if (val) {
@@ -6002,11 +6023,11 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
6002
6023
  return util["a" /* default */].exclAttribute({ data: data, attrs: attrs });
6003
6024
  },
6004
6025
 
6005
- /**
6006
- * handleChange
6007
- * @desc:当绑定值变化时触发的事件
6008
- * @date 2023年3月6日
6009
- * @author liufan
6026
+ /**
6027
+ * handleChange
6028
+ * @desc:当绑定值变化时触发的事件
6029
+ * @date 2023年3月6日
6030
+ * @author liufan
6010
6031
  */
6011
6032
  // handleChange(val) {
6012
6033
  // this.$emit('change', val);
@@ -6817,12 +6838,12 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
6817
6838
  }
6818
6839
  },
6819
6840
 
6820
- /**
6821
- * deleteList
6822
- * @desc:删除选中的数据
6823
- * @date 2023年4月20日
6824
- * @author liufan
6825
- * @param {String} val 当前数据的下标
6841
+ /**
6842
+ * deleteList
6843
+ * @desc:删除选中的数据
6844
+ * @date 2023年4月20日
6845
+ * @author liufan
6846
+ * @param {String} val 当前数据的下标
6826
6847
  */
6827
6848
  deleteList: function deleteList(val, res) {
6828
6849
  if (this.disabled || this.readonly) return;
@@ -16655,8 +16676,8 @@ var StartFlow_component = normalizeComponent(
16655
16676
  )
16656
16677
 
16657
16678
  /* harmony default export */ var StartFlow = (StartFlow_component.exports);
16658
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Handle.vue?vue&type=template&id=4a8afaf6
16659
- var Handlevue_type_template_id_4a8afaf6_render = function () {
16679
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Handle.vue?vue&type=template&id=b58a476a
16680
+ var Handlevue_type_template_id_b58a476a_render = function () {
16660
16681
  var _vm = this
16661
16682
  var _h = _vm.$createElement
16662
16683
  var _c = _vm._self._c || _h
@@ -18271,11 +18292,11 @@ var Handlevue_type_template_id_4a8afaf6_render = function () {
18271
18292
  1
18272
18293
  )
18273
18294
  }
18274
- var Handlevue_type_template_id_4a8afaf6_staticRenderFns = []
18275
- Handlevue_type_template_id_4a8afaf6_render._withStripped = true
18295
+ var Handlevue_type_template_id_b58a476a_staticRenderFns = []
18296
+ Handlevue_type_template_id_b58a476a_render._withStripped = true
18276
18297
 
18277
18298
 
18278
- // CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=4a8afaf6
18299
+ // CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=b58a476a
18279
18300
 
18280
18301
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Reject.vue?vue&type=template&id=1f631c2c
18281
18302
  var Rejectvue_type_template_id_1f631c2c_render = function () {
@@ -20930,8 +20951,8 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
20930
20951
  _this10.showFlowBtn = true;
20931
20952
  if (status === 'success') {
20932
20953
  _this10.taskExamineInfo = taskExamine;
20933
- _this10.isCanFenyue = isCanFenyue;
20934
- _this10.taskReadOpinionRequired = taskReadOpinionRequired;
20954
+ _this10.isCanFenyue = isCanFenyue == 1;
20955
+ _this10.taskReadOpinionRequired = taskReadOpinionRequired == 'true';
20935
20956
  // if (this.nodeName) {
20936
20957
  _this10.processObj.taskExamine.nodeName = '分阅';
20937
20958
  _this10.submitButtonName = submitButtonName;
@@ -21121,8 +21142,8 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
21121
21142
 
21122
21143
  var Handle_component = normalizeComponent(
21123
21144
  components_Handlevue_type_script_lang_js,
21124
- Handlevue_type_template_id_4a8afaf6_render,
21125
- Handlevue_type_template_id_4a8afaf6_staticRenderFns,
21145
+ Handlevue_type_template_id_b58a476a_render,
21146
+ Handlevue_type_template_id_b58a476a_staticRenderFns,
21126
21147
  false,
21127
21148
  null,
21128
21149
  null,
@@ -21921,8 +21942,8 @@ var Circulate_component = normalizeComponent(
21921
21942
  )
21922
21943
 
21923
21944
  /* harmony default export */ var Circulate = (Circulate_component.exports);
21924
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/TaskRead.vue?vue&type=template&id=2d4c0a2e
21925
- var TaskReadvue_type_template_id_2d4c0a2e_render = function () {
21945
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/TaskRead.vue?vue&type=template&id=ecdb611c
21946
+ var TaskReadvue_type_template_id_ecdb611c_render = function () {
21926
21947
  var _vm = this
21927
21948
  var _h = _vm.$createElement
21928
21949
  var _c = _vm._self._c || _h
@@ -22151,6 +22172,50 @@ var TaskReadvue_type_template_id_2d4c0a2e_render = function () {
22151
22172
  1
22152
22173
  )
22153
22174
  : _vm._e(),
22175
+ _vm.withSubmitCurrentTaskReadEnabled
22176
+ ? _c(
22177
+ "div",
22178
+ { staticClass: "item" },
22179
+ [
22180
+ _c(
22181
+ "em-input",
22182
+ {
22183
+ staticClass: "read-type",
22184
+ attrs: { label: "同步提交", readonly: "" },
22185
+ },
22186
+ [
22187
+ _c("template", { slot: "input" }, [
22188
+ _c(
22189
+ "div",
22190
+ {
22191
+ staticClass: "template-input-two",
22192
+ staticStyle: { width: "100%" },
22193
+ },
22194
+ [
22195
+ _c("em-radio-group", {
22196
+ attrs: {
22197
+ data: _vm.withRadioData,
22198
+ direction: "horizontal",
22199
+ },
22200
+ model: {
22201
+ value: _vm.isWith,
22202
+ callback: function ($$v) {
22203
+ _vm.isWith = $$v
22204
+ },
22205
+ expression: "isWith",
22206
+ },
22207
+ }),
22208
+ ],
22209
+ 1
22210
+ ),
22211
+ ]),
22212
+ ],
22213
+ 2
22214
+ ),
22215
+ ],
22216
+ 1
22217
+ )
22218
+ : _vm._e(),
22154
22219
  _c(
22155
22220
  "div",
22156
22221
  { staticClass: "item" },
@@ -22198,11 +22263,11 @@ var TaskReadvue_type_template_id_2d4c0a2e_render = function () {
22198
22263
  ]),
22199
22264
  ])
22200
22265
  }
22201
- var TaskReadvue_type_template_id_2d4c0a2e_staticRenderFns = []
22202
- TaskReadvue_type_template_id_2d4c0a2e_render._withStripped = true
22266
+ var TaskReadvue_type_template_id_ecdb611c_staticRenderFns = []
22267
+ TaskReadvue_type_template_id_ecdb611c_render._withStripped = true
22203
22268
 
22204
22269
 
22205
- // CONCATENATED MODULE: ./packages/flow/src/components/TaskRead.vue?vue&type=template&id=2d4c0a2e
22270
+ // CONCATENATED MODULE: ./packages/flow/src/components/TaskRead.vue?vue&type=template&id=ecdb611c
22206
22271
 
22207
22272
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/TaskRead.vue?vue&type=script&lang=js
22208
22273
  var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
@@ -22332,6 +22397,20 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
22332
22397
  //
22333
22398
  //
22334
22399
  //
22400
+ //
22401
+ //
22402
+ //
22403
+ //
22404
+ //
22405
+ //
22406
+ //
22407
+ //
22408
+ //
22409
+ //
22410
+ //
22411
+ //
22412
+ //
22413
+
22335
22414
 
22336
22415
 
22337
22416
 
@@ -22341,9 +22420,13 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
22341
22420
  /* harmony default export */ var TaskReadvue_type_script_lang_js = ({
22342
22421
  data: function data() {
22343
22422
  return {
22423
+ withSubmitCurrentTaskReadEnabled: false,
22424
+ taskReadOpinionRequired: false,
22344
22425
  nextNode: {},
22345
22426
  isSync: '0',
22346
22427
  radioData: [{ name: '普通分阅', value: '0' }, { name: '同步办理', value: '1' }],
22428
+ isWith: '0',
22429
+ withRadioData: [{ name: '提交', value: '0' }, { name: '不提交', value: '1' }],
22347
22430
  isSyncCopy: false,
22348
22431
  readOnlyNotificationType: '',
22349
22432
  defaultNotificationMessage: '',
@@ -22374,6 +22457,10 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
22374
22457
  Opinion: Opinion
22375
22458
  },
22376
22459
  props: {
22460
+ opinionType: {
22461
+ type: String,
22462
+ default: 'picker'
22463
+ },
22377
22464
  appid: String,
22378
22465
  orgId: String,
22379
22466
  beforeSubmit: Function,
@@ -22382,6 +22469,10 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
22382
22469
  baseUrl: String,
22383
22470
  apiBaseUrl: String,
22384
22471
  type: String,
22472
+ taskAction: {
22473
+ type: String,
22474
+ default: ''
22475
+ },
22385
22476
  readParams: {
22386
22477
  type: Object,
22387
22478
  default: undefined
@@ -22460,6 +22551,69 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
22460
22551
 
22461
22552
 
22462
22553
  methods: {
22554
+ subRead: function subRead() {
22555
+ var _this = this;
22556
+
22557
+ var _taskExamine = this.taskExamine,
22558
+ businessId = _taskExamine.businessId,
22559
+ appId = _taskExamine.appId,
22560
+ processDefinitionId = _taskExamine.processDefinitionId,
22561
+ pendingId = _taskExamine.pendingId;
22562
+
22563
+ if (this.taskReadOpinionRequired == 'true' && !this.form.handleExplain) return this.$toast('分阅阅结必须输入意见!');
22564
+ var params = {
22565
+ businessId: businessId,
22566
+ appId: appId,
22567
+ processDefinitionId: processDefinitionId,
22568
+ pendingId: pendingId,
22569
+ opinion: this.form.handleExplain,
22570
+ taskAction: 'complete',
22571
+ mobileKey: util["a" /* default */].getStorage('deviceId') || '123',
22572
+ userId: this.userId || util["a" /* default */].getStorage('userId')
22573
+ };
22574
+ var formData = new FormData();
22575
+
22576
+ for (var key in params) {
22577
+ if (params[key] !== '' && params[key] !== undefined) {
22578
+ formData.append(key, params[key]);
22579
+ }
22580
+ }
22581
+ this.$toast.loading({
22582
+ message: '加载中...',
22583
+ forbidClick: true,
22584
+ loadingType: 'spinner',
22585
+ overlay: true,
22586
+ duration: 0
22587
+ });
22588
+ utils_http({
22589
+ url: this.baseUrl ? this.baseUrl + taskReadHtml : taskReadHtml,
22590
+ headers: {
22591
+ Accept: 'application/json,text/plain'
22592
+ },
22593
+ type: 'post',
22594
+ params: formData,
22595
+ format: false
22596
+ }).then(function (res) {
22597
+ var status = res.status,
22598
+ message = res.message;
22599
+
22600
+ _this.$toast.clear();
22601
+ if (status === 'success') {
22602
+ _this.$toast.success('提交成功');
22603
+ _this.$parent.$emit('success', 'submit');
22604
+ } else {
22605
+ _this.$toast(message || '系统错误,请联系管理员!');
22606
+ setTimeout(function () {
22607
+ _this.$parent.$emit('error');
22608
+ }, 1000);
22609
+ }
22610
+ }).catch(function (err) {
22611
+ _this.loading.close();
22612
+ if (err.message && err.message !== 'canceled') {
22613
+ _this.$toast(err.message);
22614
+ }
22615
+ });
22616
+ },
22463
22617
  handlePop: function handlePop(val) {
22464
22618
  this.$parent.$emit('opinion-change', val);
22465
22619
  },
@@ -22472,36 +22626,36 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
22472
22626
 
22473
22627
  //获取通知信息
22474
22628
  getMessage: function getMessage() {
22475
- var _this = this;
22629
+ var _this2 = this;
22476
22630
 
22477
22631
  var params = {
22478
22632
  appId: this.readParams.appId
22479
22633
  };
22480
22634
  utils_http({ url: api_getNotificationMsg, params: params, methods: 'post' }).then(function (res) {
22481
22635
  if (res.status === 'success') {
22482
- _this.defaultNotificationMessage = res.message;
22483
- _this.form.notificationMsg = res.message;
22636
+ _this2.defaultNotificationMessage = res.message;
22637
+ _this2.form.notificationMsg = res.message;
22484
22638
  }
22485
22639
  }).catch(function (err) {
22486
22640
  if (err.message && err.message !== 'canceled') {
22487
- _this.$toast(err.message);
22641
+ _this2.$toast(err.message);
22488
22642
  }
22489
22643
  });
22490
22644
  },
22491
22645
 
22492
22646
  // 转办提交
22493
22647
  subTaskTransfer: function subTaskTransfer() {
22494
- var _this2 = this;
22648
+ var _this3 = this;
22495
22649
 
22496
22650
  if (!this.nextReadUserSelectList || this.nextReadUserSelectList.length === 0) {
22497
22651
  this.$toast('请选择转办对象');
22498
22652
  return;
22499
22653
  }
22500
- var _taskExamine = this.taskExamine,
22501
- choiceDeptId = _taskExamine.choiceDeptId,
22502
- choiceOrgId = _taskExamine.choiceOrgId,
22503
- bCode = _taskExamine.bCode,
22504
- bName = _taskExamine.bName;
22654
+ var _taskExamine2 = this.taskExamine,
22655
+ choiceDeptId = _taskExamine2.choiceDeptId,
22656
+ choiceOrgId = _taskExamine2.choiceOrgId,
22657
+ bCode = _taskExamine2.bCode,
22658
+ bName = _taskExamine2.bName;
22505
22659
  var opinion = this.opinion,
22506
22660
  pendingId = this.pendingId;
22507
22661
 
@@ -22530,25 +22684,25 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
22530
22684
  duration: 0
22531
22685
  });
22532
22686
  utils_http(params).then(function (res) {
22533
- _this2.$toast.clear();
22687
+ _this3.$toast.clear();
22534
22688
  var message = res.message,
22535
22689
  status = res.status;
22536
22690
 
22537
22691
  if (status === 'success') {
22538
- _this2.$toast('操作成功');
22539
- _this2.$parent.$emit('success');
22692
+ _this3.$toast('操作成功');
22693
+ _this3.$parent.$emit('success');
22540
22694
  } else {
22541
- _this2.$toast(message || '系统错误,请联系管理员!');
22695
+ _this3.$toast(message || '系统错误,请联系管理员!');
22542
22696
  }
22543
22697
  }).catch(function (err) {
22544
- _this2.$toast.clear();
22698
+ _this3.$toast.clear();
22545
22699
  if (err.message && err.message !== 'canceled') {
22546
- _this2.$toast(err.message);
22700
+ _this3.$toast(err.message);
22547
22701
  }
22548
22702
  });
22549
22703
  },
22550
22704
  getFind: function getFind() {
22551
- var _this3 = this;
22705
+ var _this4 = this;
22552
22706
 
22553
22707
  this.$toast.loading({
22554
22708
  message: '加载中...',
@@ -22565,37 +22719,37 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
22565
22719
  data = res.data;
22566
22720
 
22567
22721
  if (status === 'success') {
22568
- if (_this3.hideMessage) return;
22569
- _this3.form.notificationMsgType = message.split(',');
22570
- _this3.defaultNotificationType = message.split(',');
22722
+ if (_this4.hideMessage) return;
22723
+ _this4.form.notificationMsgType = message.split(',');
22724
+ _this4.defaultNotificationType = message.split(',');
22571
22725
  if (data) {
22572
- _this3.notificationMessageReadOnly = data.notificationMessageReadOnly == 'true';
22573
- _this3.readOnlyNotificationType = data.readOnlyNotificationType;
22726
+ _this4.notificationMessageReadOnly = data.notificationMessageReadOnly == 'true';
22727
+ _this4.readOnlyNotificationType = data.readOnlyNotificationType;
22574
22728
  }
22575
22729
  } else {
22576
22730
  setTimeout(function () {
22577
- _this3.goBack();
22731
+ _this4.goBack();
22578
22732
  }, 1000);
22579
- _this3.$toast.error(message || '系统错误,请联系管理员!');
22733
+ _this4.$toast.error(message || '系统错误,请联系管理员!');
22580
22734
  }
22581
- if (_this3.type === 'transfer') {
22582
- _this3.toTaskTransfer();
22735
+ if (_this4.type === 'transfer') {
22736
+ _this4.toTaskTransfer();
22583
22737
  } else {
22584
- if (!_this3.readParams) {
22585
- _this3.getProcessObjNew();
22738
+ if (!_this4.readParams) {
22739
+ _this4.getProcessObjNew();
22586
22740
  } else {
22587
- _this3.$toast.clear();
22741
+ _this4.$toast.clear();
22588
22742
  }
22589
22743
  // this.getProcessObjNew();
22590
22744
  }
22591
22745
  }).catch(function (err) {
22592
22746
  if (err.message && err.message !== 'canceled') {
22593
- _this3.$message.error(err.message);
22747
+ _this4.$message.error(err.message);
22594
22748
  }
22595
22749
  });
22596
22750
  },
22597
22751
  toTaskTransfer: function toTaskTransfer() {
22598
- var _this4 = this;
22752
+ var _this5 = this;
22599
22753
 
22600
22754
  var opinion = this.opinion,
22601
22755
  pendingId = this.pendingId,
@@ -22623,20 +22777,20 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
22623
22777
  readOnlyNotificationType = _res$data.readOnlyNotificationType,
22624
22778
  notificationMessageReadOnly = _res$data.notificationMessageReadOnly;
22625
22779
 
22626
- _this4.$toast.clear();
22780
+ _this5.$toast.clear();
22627
22781
  if (status == 'success') {
22628
- _this4.isMultipleTransfer(nodeInfoMap.nodeExtAttr.userSelectionType, choiceOrgId, choiceDeptId);
22629
- _this4.nextNode.nodeName = taskExamine.nodeName;
22630
- _this4.transferInfo = taskExamine;
22782
+ _this5.isMultipleTransfer(nodeInfoMap.nodeExtAttr.userSelectionType, choiceOrgId, choiceDeptId);
22783
+ _this5.nextNode.nodeName = taskExamine.nodeName;
22784
+ _this5.transferInfo = taskExamine;
22631
22785
  } else {
22632
- _this4.$toast(message || '系统错误,请联系管理员!');
22786
+ _this5.$toast(message || '系统错误,请联系管理员!');
22633
22787
  setTimeout(function () {
22634
- _this4.goBack();
22788
+ _this5.goBack();
22635
22789
  }, 1000);
22636
22790
  }
22637
22791
  }).catch(function (err) {
22638
22792
  if (err.message && err.message !== 'canceled') {
22639
- _this4.$toast(err.message);
22793
+ _this5.$toast(err.message);
22640
22794
  }
22641
22795
  });
22642
22796
  },
@@ -22706,12 +22860,12 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
22706
22860
  this.form.notificationMsg = obj.notificationMsg;
22707
22861
  },
22708
22862
  getTaskRead: function getTaskRead() {
22709
- var _this5 = this;
22863
+ var _this6 = this;
22710
22864
 
22711
22865
  var params = {
22712
22866
  appId: this.processObj.taskExamine.appId,
22713
22867
  businessId: this.processObj.taskExamine.businessId,
22714
- // taskAction: this.newType,
22868
+ taskAction: this.taskAction,
22715
22869
  userId: this.userId,
22716
22870
  mobileKey: util["a" /* default */].getStorage('deviceId') || '123'
22717
22871
  };
@@ -22720,19 +22874,21 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
22720
22874
  params: params
22721
22875
  }).then(function (res) {
22722
22876
  if (res.status == 'success' || res.rCode == 0) {
22723
- _this5.selectPersonValue = res.data.selectPersonValue;
22724
- _this5.isSyncCopy = res.data.isSyncCopy == 1;
22877
+ _this6.selectPersonValue = res.data.selectPersonValue;
22878
+ _this6.withSubmitCurrentTaskReadEnabled = res.data.withSubmitCurrentTaskReadEnabled;
22879
+ _this6.isSyncCopy = res.data.isSyncCopy == 1;
22725
22880
  if (res.data.taskHandleReadUserSelectLabelName) {
22726
- _this5.radioData[1].name = res.data.taskHandleReadUserSelectLabelName;
22881
+ _this6.radioData[1].name = res.data.taskHandleReadUserSelectLabelName;
22727
22882
  }
22728
- _this5.isMultiple();
22883
+ _this6.isMultiple();
22729
22884
  }
22730
22885
  });
22731
22886
  },
22732
22887
  getProcessObjNew: function getProcessObjNew() {
22733
- var _this6 = this;
22888
+ var _this7 = this;
22734
22889
 
22735
22890
  var _that = this;
22891
+ console.log('pendingId', this.taskAction);
22736
22892
  var params = {
22737
22893
  pendingId: this.pendingId,
22738
22894
  taskAction: _that.newType,
@@ -22747,17 +22903,17 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
22747
22903
  }).then(function (res) {
22748
22904
  _that.$toast.clear();
22749
22905
  if (res.status == 'success') {
22750
- _this6.processObj = res.data;
22906
+ _this7.processObj = res.data;
22751
22907
  // this.notificationMsgType = res.data.defaultNotificationType.split(',');
22752
22908
  // this.isMultiple()
22753
-
22754
- _this6.getTaskRead();
22755
- _this6.taskExamine = res.data.taskExamine;
22909
+ _this7.taskReadOpinionRequired = res.data.taskReadOpinionRequired == 'true';
22910
+ _this7.getTaskRead();
22911
+ _this7.taskExamine = res.data.taskExamine;
22756
22912
  // console.log(this.taskExamine, 'taskExaminetaskExaminetaskExamine');
22757
22913
  } else {
22758
22914
  _that.$toast(res.message);
22759
22915
  setTimeout(function () {
22760
- _this6.goBack();
22916
+ _this7.goBack();
22761
22917
  }, 1000);
22762
22918
  }
22763
22919
  });
@@ -22789,7 +22945,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
22789
22945
  // }
22790
22946
  },
22791
22947
  onSubmitReadEndNew: function onSubmitReadEndNew() {
22792
- var _this7 = this;
22948
+ var _this8 = this;
22793
22949
 
22794
22950
  var _that = this;
22795
22951
  var params = {
@@ -22821,17 +22977,17 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
22821
22977
 
22822
22978
  utils_http(params).then(function (res) {
22823
22979
  if (res.rCode == 0) {
22824
- _this7.$toast('操作成功');
22825
- _this7.$parent.$emit('success');
22980
+ _this8.$toast('操作成功');
22981
+ _this8.$parent.$emit('success');
22826
22982
  } else {
22827
- _this7.$toast(res.msg);
22983
+ _this8.$toast(res.msg);
22828
22984
  }
22829
22985
  }).catch(function (err) {
22830
- _this7.$toast('数据返回失败');
22986
+ _this8.$toast('数据返回失败');
22831
22987
  });
22832
22988
  },
22833
22989
  getHandleInfoHtml: function getHandleInfoHtml() {
22834
- var _this8 = this;
22990
+ var _this9 = this;
22835
22991
 
22836
22992
  utils_http({
22837
22993
  url: this.baseUrl ? this.baseUrl + api_getHandleInfoHtml : api_getHandleInfoHtml,
@@ -22845,8 +23001,8 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
22845
23001
  defaultNotificationMessage = _res$data2.defaultNotificationMessage;
22846
23002
 
22847
23003
  if (status == 'success') {
22848
- _this8.defaultNotificationMessage = defaultNotificationMessage;
22849
- _this8.form.notificationMsg = defaultNotificationMessage;
23004
+ _this9.defaultNotificationMessage = defaultNotificationMessage;
23005
+ _this9.form.notificationMsg = defaultNotificationMessage;
22850
23006
  if (choiceDeptId) {
22851
23007
  taskExamine.choiceDeptId = choiceDeptId;
22852
23008
  }
@@ -22854,18 +23010,18 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
22854
23010
  taskExamine.choiceOrgId = choiceOrgId;
22855
23011
  }
22856
23012
  if (taskExamine) {
22857
- _this8.taskExamine = taskExamine;
23013
+ _this9.taskExamine = taskExamine;
22858
23014
  }
22859
23015
  } else {
22860
23016
  setTimeout(function () {
22861
- _this8.goBack();
23017
+ _this9.goBack();
22862
23018
  }, 1000);
22863
- _this8.$toast(res.message);
23019
+ _this9.$toast(res.message);
22864
23020
  }
22865
23021
  });
22866
23022
  },
22867
23023
  onSubmitReadNew: function onSubmitReadNew() {
22868
- var _this9 = this;
23024
+ var _this10 = this;
22869
23025
 
22870
23026
  var _that = this;
22871
23027
  if (!this.nextReadUserSelectList || this.nextReadUserSelectList.length === 0) {
@@ -22874,7 +23030,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
22874
23030
  }
22875
23031
  var ids = '';
22876
23032
  this.nextReadUserSelectList.map(function (r, i) {
22877
- ids = ids + r.showid + (i === _this9.nextReadUserSelectList.length - 1 ? '' : ',');
23033
+ ids = ids + r.showid + (i === _this10.nextReadUserSelectList.length - 1 ? '' : ',');
22878
23034
  });
22879
23035
  var appId = void 0,
22880
23036
  businessId = void 0,
@@ -22930,6 +23086,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
22930
23086
  this.beforeSubmit(params.params);
22931
23087
  return;
22932
23088
  }
23089
+
22933
23090
  this.$toast.loading({
22934
23091
  message: '加载中...',
22935
23092
  forbidClick: true,
@@ -22939,13 +23096,17 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
22939
23096
  });
22940
23097
  utils_http(params).then(function (res) {
22941
23098
  if (res.status == 'success') {
22942
- _this9.$toast('操作成功');
22943
- _this9.$parent.$emit('success');
23099
+ _this10.$toast('操作成功');
23100
+ if (_this10.isWith == '0' && _this10.withSubmitCurrentTaskReadEnabled) {
23101
+ _this10.subRead();
23102
+ } else {
23103
+ _this10.$parent.$emit('success');
23104
+ }
22944
23105
  } else {
22945
- _this9.$toast(res.message);
23106
+ _this10.$toast(res.message);
22946
23107
  }
22947
23108
  }).catch(function (err) {
22948
- _this9.$toast('数据返回失败');
23109
+ _this10.$toast('数据返回失败');
22949
23110
  });
22950
23111
  }
22951
23112
  }
@@ -22962,8 +23123,8 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
22962
23123
 
22963
23124
  var TaskRead_component = normalizeComponent(
22964
23125
  components_TaskReadvue_type_script_lang_js,
22965
- TaskReadvue_type_template_id_2d4c0a2e_render,
22966
- TaskReadvue_type_template_id_2d4c0a2e_staticRenderFns,
23126
+ TaskReadvue_type_template_id_ecdb611c_render,
23127
+ TaskReadvue_type_template_id_ecdb611c_staticRenderFns,
22967
23128
  false,
22968
23129
  null,
22969
23130
  null,
@@ -31409,7 +31570,7 @@ if (typeof window !== 'undefined' && window.Vue) {
31409
31570
  }
31410
31571
 
31411
31572
  /* harmony default export */ var src = __webpack_exports__["default"] = ({
31412
- version: '0.3.97',
31573
+ version: '0.3.99',
31413
31574
  install: install,
31414
31575
  Button: packages_button,
31415
31576
  ButtonGroup: button_group,