eoss-mobiles 0.3.98 → 0.4.0

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 (204) hide show
  1. package/lib/eoss-mobile.common.js +265 -122
  2. package/lib/flow.js +225 -82
  3. package/lib/index.js +1 -1
  4. package/lib/picker.js +6 -6
  5. package/lib/radio.js +5 -5
  6. package/lib/selector.js +28 -28
  7. package/lib/theme-chalk/fonts/iconfont.scss +98 -98
  8. package/lib/theme-chalk/fonts/iconfont1.scss +90 -90
  9. package/package.json +1 -1
  10. package/packages/action-sheet/index.js +5 -5
  11. package/packages/action-sheet/src/main.vue +32 -32
  12. package/packages/button/index.js +5 -5
  13. package/packages/button/src/main.vue +15 -15
  14. package/packages/button-group/index.js +5 -5
  15. package/packages/button-group/src/main.vue +80 -80
  16. package/packages/calendar/index.js +5 -5
  17. package/packages/calendar/src/main.vue +34 -34
  18. package/packages/cascader/index.js +5 -5
  19. package/packages/cascader/src/main.vue +39 -39
  20. package/packages/cell/index.js +5 -5
  21. package/packages/cell/src/main.vue +77 -77
  22. package/packages/checkbox/index.js +5 -5
  23. package/packages/checkbox/src/main.vue +232 -232
  24. package/packages/circle/index.js +5 -5
  25. package/packages/circle/src/main.vue +27 -27
  26. package/packages/count-down/index.js +5 -5
  27. package/packages/count-down/src/main.vue +27 -27
  28. package/packages/date/index.js +5 -5
  29. package/packages/date/src/date-time.vue +290 -290
  30. package/packages/date/src/main.vue +401 -401
  31. package/packages/empty/index.js +5 -5
  32. package/packages/empty/src/main.vue +16 -16
  33. package/packages/esign/index.js +5 -5
  34. package/packages/esign/src/main.vue +144 -144
  35. package/packages/field/index.js +5 -5
  36. package/packages/flow/index.js +5 -5
  37. package/packages/flow/src/components/Circulate.vue +595 -595
  38. package/packages/flow/src/components/Handle.vue +2404 -2404
  39. package/packages/flow/src/components/Message.vue +208 -208
  40. package/packages/flow/src/components/ProcessSettings.vue +342 -342
  41. package/packages/flow/src/components/TaskRead.vue +102 -3
  42. package/packages/flow/src/components/supervise.vue +139 -139
  43. package/packages/flow/src/flowMix.js +288 -288
  44. package/packages/flow/src/main.vue +116 -116
  45. package/packages/flow-btn/index.js +5 -5
  46. package/packages/flow-btn/src/main.vue +494 -494
  47. package/packages/flow-list/index.js +5 -5
  48. package/packages/flow-list/src/main.vue +248 -248
  49. package/packages/form/index.js +5 -5
  50. package/packages/grid/index.js +5 -5
  51. package/packages/grid/src/main.vue +486 -486
  52. package/packages/grid-item/index.js +5 -5
  53. package/packages/grid-item/src/main.vue +16 -16
  54. package/packages/image/index.js +5 -5
  55. package/packages/image/src/main.vue +12 -12
  56. package/packages/image-preview/index.js +5 -5
  57. package/packages/list/index.js +5 -5
  58. package/packages/list/src/main.vue +32 -32
  59. package/packages/loading/index.js +5 -5
  60. package/packages/loading/src/main.vue +19 -19
  61. package/packages/nav-bar/index.js +5 -5
  62. package/packages/nav-bar/src/main.vue +24 -24
  63. package/packages/notice-bar/index.js +5 -5
  64. package/packages/notice-bar/src/main.vue +15 -15
  65. package/packages/pagination/index.js +5 -5
  66. package/packages/pagination/src/main.vue +73 -73
  67. package/packages/picker/index.js +5 -5
  68. package/packages/picker/src/main.vue +604 -604
  69. package/packages/popover/index.js +5 -5
  70. package/packages/popover/src/main.vue +32 -32
  71. package/packages/popup/index.js +5 -5
  72. package/packages/popup/src/main.vue +27 -27
  73. package/packages/pull-refresh/index.js +5 -5
  74. package/packages/pull-refresh/src/main.vue +31 -31
  75. package/packages/radio/index.js +5 -5
  76. package/packages/radio/src/main.vue +179 -179
  77. package/packages/rate/index.js +5 -5
  78. package/packages/rate/src/main.vue +26 -26
  79. package/packages/retrial-auth/index.js +5 -5
  80. package/packages/retrial-auth/src/main.vue +257 -257
  81. package/packages/search/index.js +5 -5
  82. package/packages/search/src/main.vue +39 -39
  83. package/packages/selector/index.js +5 -5
  84. package/packages/selector/src/main.vue +186 -186
  85. package/packages/selector/src/selector-tree.vue +1117 -1117
  86. package/packages/selector/src/tree.vue +405 -405
  87. package/packages/skeleton/index.js +5 -5
  88. package/packages/skeleton/src/main.vue +17 -17
  89. package/packages/stepper/index.js +5 -5
  90. package/packages/stepper/src/main.vue +25 -25
  91. package/packages/swipe/index.js +5 -5
  92. package/packages/swipe/src/main.vue +42 -42
  93. package/packages/switch/index.js +5 -5
  94. package/packages/switch/src/main.vue +38 -38
  95. package/packages/tab/index.js +5 -5
  96. package/packages/tab/src/main.vue +16 -16
  97. package/packages/table/index.js +5 -5
  98. package/packages/table/src/main.vue +1006 -1006
  99. package/packages/table-column/index.js +5 -5
  100. package/packages/table-column/src/main.vue +931 -931
  101. package/packages/table-column/src/mixins/table.js +12 -12
  102. package/packages/tabs/index.js +5 -5
  103. package/packages/tabs/src/main.vue +34 -34
  104. package/packages/tag/index.js +5 -5
  105. package/packages/tag/src/main.vue +16 -16
  106. package/packages/theme-chalk/gulpfile.js +25 -0
  107. package/packages/theme-chalk/src/base.scss +195 -195
  108. package/packages/theme-chalk/src/button-group.scss +25 -25
  109. package/packages/theme-chalk/src/button.scss +2 -2
  110. package/packages/theme-chalk/src/calendar.scss +11 -11
  111. package/packages/theme-chalk/src/cascader.scss +11 -11
  112. package/packages/theme-chalk/src/cell.scss +14 -14
  113. package/packages/theme-chalk/src/checkbox.scss +9 -9
  114. package/packages/theme-chalk/src/circle.scss +6 -6
  115. package/packages/theme-chalk/src/common/var.scss +1525 -1525
  116. package/packages/theme-chalk/src/esign.scss +51 -51
  117. package/packages/theme-chalk/src/field.scss +98 -98
  118. package/packages/theme-chalk/src/flow-btn.scss +99 -99
  119. package/packages/theme-chalk/src/flow-list.scss +122 -122
  120. package/packages/theme-chalk/src/fonts/iconfont.scss +98 -98
  121. package/packages/theme-chalk/src/fonts/iconfont1.scss +90 -90
  122. package/packages/theme-chalk/src/form.scss +33 -33
  123. package/packages/theme-chalk/src/grid-item.scss +16 -16
  124. package/packages/theme-chalk/src/grid.scss +46 -46
  125. package/packages/theme-chalk/src/icon.scss +1661 -1661
  126. package/packages/theme-chalk/src/mixins/color.scss +117 -117
  127. package/packages/theme-chalk/src/navbar.scss +5 -5
  128. package/packages/theme-chalk/src/pagination.scss +12 -12
  129. package/packages/theme-chalk/src/picker.scss +31 -31
  130. package/packages/theme-chalk/src/radio.scss +6 -6
  131. package/packages/theme-chalk/src/retrial-auth.scss +28 -28
  132. package/packages/theme-chalk/src/selector.scss +247 -247
  133. package/packages/theme-chalk/src/stepper.scss +9 -9
  134. package/packages/theme-chalk/src/switch.scss +5 -5
  135. package/packages/theme-chalk/src/table.scss +86 -86
  136. package/packages/theme-chalk/src/tabs.scss +31 -31
  137. package/packages/theme-chalk/src/tag.scss +12 -12
  138. package/packages/theme-chalk/src/theme.scss +1 -1
  139. package/packages/theme-chalk/src/tree.scss +127 -127
  140. package/packages/uploader/index.js +5 -5
  141. package/src/config/api.js +190 -190
  142. package/src/index.js +1 -1
  143. package/src/utils/axios.js +217 -217
  144. package/src/utils/date-util.js +312 -312
  145. package/src/utils/http.js +106 -106
  146. package/src/utils/rules.js +18 -18
  147. package/src/utils/store.js +21 -21
  148. package/CHANGELOG.md +0 -95
  149. package/packages/theme-chalk/lib/action-sheet.css +0 -0
  150. package/packages/theme-chalk/lib/base.css +0 -1
  151. package/packages/theme-chalk/lib/button-group.css +0 -1
  152. package/packages/theme-chalk/lib/button.css +0 -1
  153. package/packages/theme-chalk/lib/calendar.css +0 -1
  154. package/packages/theme-chalk/lib/cascader.css +0 -1
  155. package/packages/theme-chalk/lib/cell.css +0 -1
  156. package/packages/theme-chalk/lib/checkbox.css +0 -1
  157. package/packages/theme-chalk/lib/circle.css +0 -1
  158. package/packages/theme-chalk/lib/count-down.css +0 -0
  159. package/packages/theme-chalk/lib/date.css +0 -0
  160. package/packages/theme-chalk/lib/empty.css +0 -0
  161. package/packages/theme-chalk/lib/esign.css +0 -1
  162. package/packages/theme-chalk/lib/field.css +0 -1
  163. package/packages/theme-chalk/lib/flow-btn.css +0 -1
  164. package/packages/theme-chalk/lib/flow-list-task-read.css +0 -1
  165. package/packages/theme-chalk/lib/flow-list.css +0 -1
  166. package/packages/theme-chalk/lib/flow.css +0 -1
  167. package/packages/theme-chalk/lib/fonts/iconfont.scss +0 -98
  168. package/packages/theme-chalk/lib/fonts/iconfont.ttf +0 -0
  169. package/packages/theme-chalk/lib/fonts/iconfont.woff +0 -0
  170. package/packages/theme-chalk/lib/fonts/iconfont1.scss +0 -90
  171. package/packages/theme-chalk/lib/form.css +0 -1
  172. package/packages/theme-chalk/lib/grid-item.css +0 -1
  173. package/packages/theme-chalk/lib/grid.css +0 -1
  174. package/packages/theme-chalk/lib/icon.css +0 -1
  175. package/packages/theme-chalk/lib/image-preview.css +0 -0
  176. package/packages/theme-chalk/lib/image.css +0 -0
  177. package/packages/theme-chalk/lib/index.css +0 -1
  178. package/packages/theme-chalk/lib/list.css +0 -0
  179. package/packages/theme-chalk/lib/loading.css +0 -0
  180. package/packages/theme-chalk/lib/nav-bar.css +0 -0
  181. package/packages/theme-chalk/lib/navbar.css +0 -1
  182. package/packages/theme-chalk/lib/notice-bar.css +0 -0
  183. package/packages/theme-chalk/lib/pagination.css +0 -1
  184. package/packages/theme-chalk/lib/picker.css +0 -1
  185. package/packages/theme-chalk/lib/popover.css +0 -0
  186. package/packages/theme-chalk/lib/popup.css +0 -0
  187. package/packages/theme-chalk/lib/pull-refresh.css +0 -0
  188. package/packages/theme-chalk/lib/radio.css +0 -1
  189. package/packages/theme-chalk/lib/rate.css +0 -0
  190. package/packages/theme-chalk/lib/retrial-auth.css +0 -1
  191. package/packages/theme-chalk/lib/search.css +0 -0
  192. package/packages/theme-chalk/lib/selector.css +0 -1
  193. package/packages/theme-chalk/lib/skeleton.css +0 -0
  194. package/packages/theme-chalk/lib/stepper.css +0 -1
  195. package/packages/theme-chalk/lib/swipe.css +0 -0
  196. package/packages/theme-chalk/lib/switch.css +0 -1
  197. package/packages/theme-chalk/lib/tab.css +0 -0
  198. package/packages/theme-chalk/lib/table-column.css +0 -0
  199. package/packages/theme-chalk/lib/table.css +0 -1
  200. package/packages/theme-chalk/lib/tabs.css +0 -1
  201. package/packages/theme-chalk/lib/tag.css +0 -1
  202. package/packages/theme-chalk/lib/theme.css +0 -0
  203. package/packages/theme-chalk/lib/tree.css +0 -1
  204. package/packages/theme-chalk/lib/uploader.css +0 -0
@@ -4298,12 +4298,12 @@ var _props, _methods;
4298
4298
  });
4299
4299
  },
4300
4300
 
4301
- /**
4302
- * delteList
4303
- * @desc:删除选中的数据
4304
- * @date 2023年3月6日
4305
- * @author liufan
4306
- * @param {String,Number} i 点击数据的下标
4301
+ /**
4302
+ * delteList
4303
+ * @desc:删除选中的数据
4304
+ * @date 2023年3月6日
4305
+ * @author liufan
4306
+ * @param {String,Number} i 点击数据的下标
4307
4307
  */
4308
4308
  delteList: function delteList(i) {
4309
4309
  this.oldIsSearch = this.isSearch;
@@ -4326,11 +4326,11 @@ var _props, _methods;
4326
4326
  }
4327
4327
  },
4328
4328
 
4329
- /**
4330
- * onSearch
4331
- * @desc:条件搜索
4332
- * @date 2023年3月6日
4333
- * @author liufan
4329
+ /**
4330
+ * onSearch
4331
+ * @desc:条件搜索
4332
+ * @date 2023年3月6日
4333
+ * @author liufan
4334
4334
  */
4335
4335
  onSearch: function onSearch() {
4336
4336
  var _this5 = this;
@@ -4349,11 +4349,11 @@ var _props, _methods;
4349
4349
  }, 1000);
4350
4350
  },
4351
4351
 
4352
- /**
4353
- * getContent
4354
- * @desc:获取数据
4355
- * @date 2023年3月6日
4356
- * @author liufan
4352
+ /**
4353
+ * getContent
4354
+ * @desc:获取数据
4355
+ * @date 2023年3月6日
4356
+ * @author liufan
4357
4357
  */
4358
4358
  getContent: function getContent(name, isSearch) {
4359
4359
  var _this6 = this;
@@ -5330,12 +5330,12 @@ var selector_field_component = normalizeComponent(
5330
5330
  this.$emit('selector-click', this.showSelectorTree);
5331
5331
  },
5332
5332
 
5333
- /**
5334
- * handleDispose
5335
- * @desc:确认选人
5336
- * @date 2023年3月6日
5337
- * @author liufan
5338
- * @param {Object} val 选中的人员/单位
5333
+ /**
5334
+ * handleDispose
5335
+ * @desc:确认选人
5336
+ * @date 2023年3月6日
5337
+ * @author liufan
5338
+ * @param {Object} val 选中的人员/单位
5339
5339
  */
5340
5340
  handleDispose: function handleDispose(val) {
5341
5341
  this.inputValue = '';
@@ -5353,12 +5353,12 @@ var selector_field_component = normalizeComponent(
5353
5353
  this.$emit('selector-click', this.showSelectorTree);
5354
5354
  },
5355
5355
 
5356
- /**
5357
- * handleChangeSel
5358
- * @desc:输入框数据发生变化时
5359
- * @date 2023年3月6日
5360
- * @author liufan
5361
- * @param {Array} val 变化后的选中数据
5356
+ /**
5357
+ * handleChangeSel
5358
+ * @desc:输入框数据发生变化时
5359
+ * @date 2023年3月6日
5360
+ * @author liufan
5361
+ * @param {Array} val 变化后的选中数据
5362
5362
  */
5363
5363
  handleChangeSel: function handleChangeSel(val) {
5364
5364
  if (val) {
@@ -6023,11 +6023,11 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
6023
6023
  return util["a" /* default */].exclAttribute({ data: data, attrs: attrs });
6024
6024
  },
6025
6025
 
6026
- /**
6027
- * handleChange
6028
- * @desc:当绑定值变化时触发的事件
6029
- * @date 2023年3月6日
6030
- * @author liufan
6026
+ /**
6027
+ * handleChange
6028
+ * @desc:当绑定值变化时触发的事件
6029
+ * @date 2023年3月6日
6030
+ * @author liufan
6031
6031
  */
6032
6032
  // handleChange(val) {
6033
6033
  // this.$emit('change', val);
@@ -6838,12 +6838,12 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
6838
6838
  }
6839
6839
  },
6840
6840
 
6841
- /**
6842
- * deleteList
6843
- * @desc:删除选中的数据
6844
- * @date 2023年4月20日
6845
- * @author liufan
6846
- * @param {String} val 当前数据的下标
6841
+ /**
6842
+ * deleteList
6843
+ * @desc:删除选中的数据
6844
+ * @date 2023年4月20日
6845
+ * @author liufan
6846
+ * @param {String} val 当前数据的下标
6847
6847
  */
6848
6848
  deleteList: function deleteList(val, res) {
6849
6849
  if (this.disabled || this.readonly) return;
@@ -16676,8 +16676,8 @@ var StartFlow_component = normalizeComponent(
16676
16676
  )
16677
16677
 
16678
16678
  /* harmony default export */ var StartFlow = (StartFlow_component.exports);
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=4a8afaf6
16680
- 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 () {
16681
16681
  var _vm = this
16682
16682
  var _h = _vm.$createElement
16683
16683
  var _c = _vm._self._c || _h
@@ -18292,11 +18292,11 @@ var Handlevue_type_template_id_4a8afaf6_render = function () {
18292
18292
  1
18293
18293
  )
18294
18294
  }
18295
- var Handlevue_type_template_id_4a8afaf6_staticRenderFns = []
18296
- 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
18297
18297
 
18298
18298
 
18299
- // 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
18300
18300
 
18301
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
18302
18302
  var Rejectvue_type_template_id_1f631c2c_render = function () {
@@ -20951,8 +20951,8 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
20951
20951
  _this10.showFlowBtn = true;
20952
20952
  if (status === 'success') {
20953
20953
  _this10.taskExamineInfo = taskExamine;
20954
- _this10.isCanFenyue = isCanFenyue;
20955
- _this10.taskReadOpinionRequired = taskReadOpinionRequired;
20954
+ _this10.isCanFenyue = isCanFenyue == 1;
20955
+ _this10.taskReadOpinionRequired = taskReadOpinionRequired == 'true';
20956
20956
  // if (this.nodeName) {
20957
20957
  _this10.processObj.taskExamine.nodeName = '分阅';
20958
20958
  _this10.submitButtonName = submitButtonName;
@@ -21142,8 +21142,8 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
21142
21142
 
21143
21143
  var Handle_component = normalizeComponent(
21144
21144
  components_Handlevue_type_script_lang_js,
21145
- Handlevue_type_template_id_4a8afaf6_render,
21146
- Handlevue_type_template_id_4a8afaf6_staticRenderFns,
21145
+ Handlevue_type_template_id_b58a476a_render,
21146
+ Handlevue_type_template_id_b58a476a_staticRenderFns,
21147
21147
  false,
21148
21148
  null,
21149
21149
  null,
@@ -21942,8 +21942,8 @@ var Circulate_component = normalizeComponent(
21942
21942
  )
21943
21943
 
21944
21944
  /* harmony default export */ var Circulate = (Circulate_component.exports);
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=2d4c0a2e
21946
- 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=31d4dea7
21946
+ var TaskReadvue_type_template_id_31d4dea7_render = function () {
21947
21947
  var _vm = this
21948
21948
  var _h = _vm.$createElement
21949
21949
  var _c = _vm._self._c || _h
@@ -22172,6 +22172,50 @@ var TaskReadvue_type_template_id_2d4c0a2e_render = function () {
22172
22172
  1
22173
22173
  )
22174
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(),
22175
22219
  _c(
22176
22220
  "div",
22177
22221
  { staticClass: "item" },
@@ -22219,11 +22263,11 @@ var TaskReadvue_type_template_id_2d4c0a2e_render = function () {
22219
22263
  ]),
22220
22264
  ])
22221
22265
  }
22222
- var TaskReadvue_type_template_id_2d4c0a2e_staticRenderFns = []
22223
- TaskReadvue_type_template_id_2d4c0a2e_render._withStripped = true
22266
+ var TaskReadvue_type_template_id_31d4dea7_staticRenderFns = []
22267
+ TaskReadvue_type_template_id_31d4dea7_render._withStripped = true
22224
22268
 
22225
22269
 
22226
- // 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=31d4dea7
22227
22271
 
22228
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
22229
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; };
@@ -22353,6 +22397,20 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
22353
22397
  //
22354
22398
  //
22355
22399
  //
22400
+ //
22401
+ //
22402
+ //
22403
+ //
22404
+ //
22405
+ //
22406
+ //
22407
+ //
22408
+ //
22409
+ //
22410
+ //
22411
+ //
22412
+ //
22413
+
22356
22414
 
22357
22415
 
22358
22416
 
@@ -22362,9 +22420,13 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
22362
22420
  /* harmony default export */ var TaskReadvue_type_script_lang_js = ({
22363
22421
  data: function data() {
22364
22422
  return {
22423
+ withSubmitCurrentTaskReadEnabled: false,
22424
+ taskReadOpinionRequired: false,
22365
22425
  nextNode: {},
22366
22426
  isSync: '0',
22367
22427
  radioData: [{ name: '普通分阅', value: '0' }, { name: '同步办理', value: '1' }],
22428
+ isWith: '0',
22429
+ withRadioData: [{ name: '提交', value: '0' }, { name: '不提交', value: '1' }],
22368
22430
  isSyncCopy: false,
22369
22431
  readOnlyNotificationType: '',
22370
22432
  defaultNotificationMessage: '',
@@ -22395,6 +22457,10 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
22395
22457
  Opinion: Opinion
22396
22458
  },
22397
22459
  props: {
22460
+ opinionType: {
22461
+ type: String,
22462
+ default: 'picker'
22463
+ },
22398
22464
  appid: String,
22399
22465
  orgId: String,
22400
22466
  beforeSubmit: Function,
@@ -22403,6 +22469,10 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
22403
22469
  baseUrl: String,
22404
22470
  apiBaseUrl: String,
22405
22471
  type: String,
22472
+ taskAction: {
22473
+ type: String,
22474
+ default: ''
22475
+ },
22406
22476
  readParams: {
22407
22477
  type: Object,
22408
22478
  default: undefined
@@ -22449,6 +22519,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
22449
22519
  return this.processObj.rereadButtonName || '确定';
22450
22520
  },
22451
22521
  params: function params() {
22522
+ console.log(this.isSync != 1, this.isSync, his.taskReadType == '分阅', this.isOrg, '123');
22452
22523
  return {
22453
22524
  pid: this.taskReadType == '分阅' && this.isSync != 1 && !this.isOrg ? 'root' : util["a" /* default */].getStorage('orgId') || this.orgId
22454
22525
  };
@@ -22481,6 +22552,69 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
22481
22552
 
22482
22553
 
22483
22554
  methods: {
22555
+ subRead: function subRead() {
22556
+ var _this = this;
22557
+
22558
+ var _taskExamine = this.taskExamine,
22559
+ businessId = _taskExamine.businessId,
22560
+ appId = _taskExamine.appId,
22561
+ processDefinitionId = _taskExamine.processDefinitionId,
22562
+ pendingId = _taskExamine.pendingId;
22563
+
22564
+ if (this.taskReadOpinionRequired && !this.form.handleExplain) return this.$toast('分阅阅结必须输入意见!');
22565
+ var params = {
22566
+ businessId: businessId,
22567
+ appId: appId,
22568
+ processDefinitionId: processDefinitionId,
22569
+ pendingId: pendingId,
22570
+ opinion: this.form.handleExplain,
22571
+ taskAction: 'complete',
22572
+ mobileKey: util["a" /* default */].getStorage('deviceId') || '123',
22573
+ userId: this.userId || util["a" /* default */].getStorage('userId')
22574
+ };
22575
+ var formData = new FormData();
22576
+
22577
+ for (var key in params) {
22578
+ if (params[key] !== '' && params[key] !== undefined) {
22579
+ formData.append(key, params[key]);
22580
+ }
22581
+ }
22582
+ this.$toast.loading({
22583
+ message: '加载中...',
22584
+ forbidClick: true,
22585
+ loadingType: 'spinner',
22586
+ overlay: true,
22587
+ duration: 0
22588
+ });
22589
+ utils_http({
22590
+ url: this.baseUrl ? this.baseUrl + taskReadHtml : taskReadHtml,
22591
+ headers: {
22592
+ Accept: 'application/json,text/plain'
22593
+ },
22594
+ type: 'post',
22595
+ params: formData,
22596
+ format: false
22597
+ }).then(function (res) {
22598
+ var status = res.status,
22599
+ message = res.message;
22600
+
22601
+ _this.$toast.clear();
22602
+ if (status === 'success') {
22603
+ _this.$toast.success('提交成功');
22604
+ _this.$parent.$emit('success', 'submit');
22605
+ } else {
22606
+ _this.$toast(message || '系统错误,请联系管理员!');
22607
+ setTimeout(function () {
22608
+ _this.$parent.$emit('error');
22609
+ }, 1000);
22610
+ }
22611
+ }).catch(function (err) {
22612
+ _this.loading.close();
22613
+ if (err.message && err.message !== 'canceled') {
22614
+ _this.$toast(err.message);
22615
+ }
22616
+ });
22617
+ },
22484
22618
  handlePop: function handlePop(val) {
22485
22619
  this.$parent.$emit('opinion-change', val);
22486
22620
  },
@@ -22493,36 +22627,36 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
22493
22627
 
22494
22628
  //获取通知信息
22495
22629
  getMessage: function getMessage() {
22496
- var _this = this;
22630
+ var _this2 = this;
22497
22631
 
22498
22632
  var params = {
22499
22633
  appId: this.readParams.appId
22500
22634
  };
22501
22635
  utils_http({ url: api_getNotificationMsg, params: params, methods: 'post' }).then(function (res) {
22502
22636
  if (res.status === 'success') {
22503
- _this.defaultNotificationMessage = res.message;
22504
- _this.form.notificationMsg = res.message;
22637
+ _this2.defaultNotificationMessage = res.message;
22638
+ _this2.form.notificationMsg = res.message;
22505
22639
  }
22506
22640
  }).catch(function (err) {
22507
22641
  if (err.message && err.message !== 'canceled') {
22508
- _this.$toast(err.message);
22642
+ _this2.$toast(err.message);
22509
22643
  }
22510
22644
  });
22511
22645
  },
22512
22646
 
22513
22647
  // 转办提交
22514
22648
  subTaskTransfer: function subTaskTransfer() {
22515
- var _this2 = this;
22649
+ var _this3 = this;
22516
22650
 
22517
22651
  if (!this.nextReadUserSelectList || this.nextReadUserSelectList.length === 0) {
22518
22652
  this.$toast('请选择转办对象');
22519
22653
  return;
22520
22654
  }
22521
- var _taskExamine = this.taskExamine,
22522
- choiceDeptId = _taskExamine.choiceDeptId,
22523
- choiceOrgId = _taskExamine.choiceOrgId,
22524
- bCode = _taskExamine.bCode,
22525
- bName = _taskExamine.bName;
22655
+ var _taskExamine2 = this.taskExamine,
22656
+ choiceDeptId = _taskExamine2.choiceDeptId,
22657
+ choiceOrgId = _taskExamine2.choiceOrgId,
22658
+ bCode = _taskExamine2.bCode,
22659
+ bName = _taskExamine2.bName;
22526
22660
  var opinion = this.opinion,
22527
22661
  pendingId = this.pendingId;
22528
22662
 
@@ -22551,25 +22685,25 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
22551
22685
  duration: 0
22552
22686
  });
22553
22687
  utils_http(params).then(function (res) {
22554
- _this2.$toast.clear();
22688
+ _this3.$toast.clear();
22555
22689
  var message = res.message,
22556
22690
  status = res.status;
22557
22691
 
22558
22692
  if (status === 'success') {
22559
- _this2.$toast('操作成功');
22560
- _this2.$parent.$emit('success');
22693
+ _this3.$toast('操作成功');
22694
+ _this3.$parent.$emit('success');
22561
22695
  } else {
22562
- _this2.$toast(message || '系统错误,请联系管理员!');
22696
+ _this3.$toast(message || '系统错误,请联系管理员!');
22563
22697
  }
22564
22698
  }).catch(function (err) {
22565
- _this2.$toast.clear();
22699
+ _this3.$toast.clear();
22566
22700
  if (err.message && err.message !== 'canceled') {
22567
- _this2.$toast(err.message);
22701
+ _this3.$toast(err.message);
22568
22702
  }
22569
22703
  });
22570
22704
  },
22571
22705
  getFind: function getFind() {
22572
- var _this3 = this;
22706
+ var _this4 = this;
22573
22707
 
22574
22708
  this.$toast.loading({
22575
22709
  message: '加载中...',
@@ -22586,37 +22720,37 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
22586
22720
  data = res.data;
22587
22721
 
22588
22722
  if (status === 'success') {
22589
- if (_this3.hideMessage) return;
22590
- _this3.form.notificationMsgType = message.split(',');
22591
- _this3.defaultNotificationType = message.split(',');
22723
+ if (_this4.hideMessage) return;
22724
+ _this4.form.notificationMsgType = message.split(',');
22725
+ _this4.defaultNotificationType = message.split(',');
22592
22726
  if (data) {
22593
- _this3.notificationMessageReadOnly = data.notificationMessageReadOnly == 'true';
22594
- _this3.readOnlyNotificationType = data.readOnlyNotificationType;
22727
+ _this4.notificationMessageReadOnly = data.notificationMessageReadOnly == 'true';
22728
+ _this4.readOnlyNotificationType = data.readOnlyNotificationType;
22595
22729
  }
22596
22730
  } else {
22597
22731
  setTimeout(function () {
22598
- _this3.goBack();
22732
+ _this4.goBack();
22599
22733
  }, 1000);
22600
- _this3.$toast.error(message || '系统错误,请联系管理员!');
22734
+ _this4.$toast.error(message || '系统错误,请联系管理员!');
22601
22735
  }
22602
- if (_this3.type === 'transfer') {
22603
- _this3.toTaskTransfer();
22736
+ if (_this4.type === 'transfer') {
22737
+ _this4.toTaskTransfer();
22604
22738
  } else {
22605
- if (!_this3.readParams) {
22606
- _this3.getProcessObjNew();
22739
+ if (!_this4.readParams) {
22740
+ _this4.getProcessObjNew();
22607
22741
  } else {
22608
- _this3.$toast.clear();
22742
+ _this4.$toast.clear();
22609
22743
  }
22610
22744
  // this.getProcessObjNew();
22611
22745
  }
22612
22746
  }).catch(function (err) {
22613
22747
  if (err.message && err.message !== 'canceled') {
22614
- _this3.$message.error(err.message);
22748
+ _this4.$message.error(err.message);
22615
22749
  }
22616
22750
  });
22617
22751
  },
22618
22752
  toTaskTransfer: function toTaskTransfer() {
22619
- var _this4 = this;
22753
+ var _this5 = this;
22620
22754
 
22621
22755
  var opinion = this.opinion,
22622
22756
  pendingId = this.pendingId,
@@ -22644,20 +22778,20 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
22644
22778
  readOnlyNotificationType = _res$data.readOnlyNotificationType,
22645
22779
  notificationMessageReadOnly = _res$data.notificationMessageReadOnly;
22646
22780
 
22647
- _this4.$toast.clear();
22781
+ _this5.$toast.clear();
22648
22782
  if (status == 'success') {
22649
- _this4.isMultipleTransfer(nodeInfoMap.nodeExtAttr.userSelectionType, choiceOrgId, choiceDeptId);
22650
- _this4.nextNode.nodeName = taskExamine.nodeName;
22651
- _this4.transferInfo = taskExamine;
22783
+ _this5.isMultipleTransfer(nodeInfoMap.nodeExtAttr.userSelectionType, choiceOrgId, choiceDeptId);
22784
+ _this5.nextNode.nodeName = taskExamine.nodeName;
22785
+ _this5.transferInfo = taskExamine;
22652
22786
  } else {
22653
- _this4.$toast(message || '系统错误,请联系管理员!');
22787
+ _this5.$toast(message || '系统错误,请联系管理员!');
22654
22788
  setTimeout(function () {
22655
- _this4.goBack();
22789
+ _this5.goBack();
22656
22790
  }, 1000);
22657
22791
  }
22658
22792
  }).catch(function (err) {
22659
22793
  if (err.message && err.message !== 'canceled') {
22660
- _this4.$toast(err.message);
22794
+ _this5.$toast(err.message);
22661
22795
  }
22662
22796
  });
22663
22797
  },
@@ -22727,12 +22861,12 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
22727
22861
  this.form.notificationMsg = obj.notificationMsg;
22728
22862
  },
22729
22863
  getTaskRead: function getTaskRead() {
22730
- var _this5 = this;
22864
+ var _this6 = this;
22731
22865
 
22732
22866
  var params = {
22733
22867
  appId: this.processObj.taskExamine.appId,
22734
22868
  businessId: this.processObj.taskExamine.businessId,
22735
- // taskAction: this.newType,
22869
+ taskAction: this.taskAction,
22736
22870
  userId: this.userId,
22737
22871
  mobileKey: util["a" /* default */].getStorage('deviceId') || '123'
22738
22872
  };
@@ -22741,19 +22875,21 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
22741
22875
  params: params
22742
22876
  }).then(function (res) {
22743
22877
  if (res.status == 'success' || res.rCode == 0) {
22744
- _this5.selectPersonValue = res.data.selectPersonValue;
22745
- _this5.isSyncCopy = res.data.isSyncCopy == 1;
22878
+ _this6.selectPersonValue = res.data.selectPersonValue;
22879
+ _this6.withSubmitCurrentTaskReadEnabled = res.data.withSubmitCurrentTaskReadEnabled;
22880
+ _this6.isSyncCopy = res.data.isSyncCopy == 1;
22746
22881
  if (res.data.taskHandleReadUserSelectLabelName) {
22747
- _this5.radioData[1].name = res.data.taskHandleReadUserSelectLabelName;
22882
+ _this6.radioData[1].name = res.data.taskHandleReadUserSelectLabelName;
22748
22883
  }
22749
- _this5.isMultiple();
22884
+ _this6.isMultiple();
22750
22885
  }
22751
22886
  });
22752
22887
  },
22753
22888
  getProcessObjNew: function getProcessObjNew() {
22754
- var _this6 = this;
22889
+ var _this7 = this;
22755
22890
 
22756
22891
  var _that = this;
22892
+ console.log('pendingId', this.taskAction);
22757
22893
  var params = {
22758
22894
  pendingId: this.pendingId,
22759
22895
  taskAction: _that.newType,
@@ -22768,17 +22904,19 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
22768
22904
  }).then(function (res) {
22769
22905
  _that.$toast.clear();
22770
22906
  if (res.status == 'success') {
22771
- _this6.processObj = res.data;
22907
+ _this7.processObj = res.data;
22772
22908
  // this.notificationMsgType = res.data.defaultNotificationType.split(',');
22773
22909
  // this.isMultiple()
22910
+ _this7.taskReadOpinionRequired = res.data.taskReadOpinionRequired == 'true';
22911
+ _this7.isSync = res.data.taskReadType != 'commonTaskRead' ? '1' : '0';
22774
22912
 
22775
- _this6.getTaskRead();
22776
- _this6.taskExamine = res.data.taskExamine;
22913
+ _this7.getTaskRead();
22914
+ _this7.taskExamine = res.data.taskExamine;
22777
22915
  // console.log(this.taskExamine, 'taskExaminetaskExaminetaskExamine');
22778
22916
  } else {
22779
22917
  _that.$toast(res.message);
22780
22918
  setTimeout(function () {
22781
- _this6.goBack();
22919
+ _this7.goBack();
22782
22920
  }, 1000);
22783
22921
  }
22784
22922
  });
@@ -22810,7 +22948,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
22810
22948
  // }
22811
22949
  },
22812
22950
  onSubmitReadEndNew: function onSubmitReadEndNew() {
22813
- var _this7 = this;
22951
+ var _this8 = this;
22814
22952
 
22815
22953
  var _that = this;
22816
22954
  var params = {
@@ -22842,17 +22980,17 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
22842
22980
 
22843
22981
  utils_http(params).then(function (res) {
22844
22982
  if (res.rCode == 0) {
22845
- _this7.$toast('操作成功');
22846
- _this7.$parent.$emit('success');
22983
+ _this8.$toast('操作成功');
22984
+ _this8.$parent.$emit('success');
22847
22985
  } else {
22848
- _this7.$toast(res.msg);
22986
+ _this8.$toast(res.msg);
22849
22987
  }
22850
22988
  }).catch(function (err) {
22851
- _this7.$toast('数据返回失败');
22989
+ _this8.$toast('数据返回失败');
22852
22990
  });
22853
22991
  },
22854
22992
  getHandleInfoHtml: function getHandleInfoHtml() {
22855
- var _this8 = this;
22993
+ var _this9 = this;
22856
22994
 
22857
22995
  utils_http({
22858
22996
  url: this.baseUrl ? this.baseUrl + api_getHandleInfoHtml : api_getHandleInfoHtml,
@@ -22866,8 +23004,8 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
22866
23004
  defaultNotificationMessage = _res$data2.defaultNotificationMessage;
22867
23005
 
22868
23006
  if (status == 'success') {
22869
- _this8.defaultNotificationMessage = defaultNotificationMessage;
22870
- _this8.form.notificationMsg = defaultNotificationMessage;
23007
+ _this9.defaultNotificationMessage = defaultNotificationMessage;
23008
+ _this9.form.notificationMsg = defaultNotificationMessage;
22871
23009
  if (choiceDeptId) {
22872
23010
  taskExamine.choiceDeptId = choiceDeptId;
22873
23011
  }
@@ -22875,18 +23013,18 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
22875
23013
  taskExamine.choiceOrgId = choiceOrgId;
22876
23014
  }
22877
23015
  if (taskExamine) {
22878
- _this8.taskExamine = taskExamine;
23016
+ _this9.taskExamine = taskExamine;
22879
23017
  }
22880
23018
  } else {
22881
23019
  setTimeout(function () {
22882
- _this8.goBack();
23020
+ _this9.goBack();
22883
23021
  }, 1000);
22884
- _this8.$toast(res.message);
23022
+ _this9.$toast(res.message);
22885
23023
  }
22886
23024
  });
22887
23025
  },
22888
23026
  onSubmitReadNew: function onSubmitReadNew() {
22889
- var _this9 = this;
23027
+ var _this10 = this;
22890
23028
 
22891
23029
  var _that = this;
22892
23030
  if (!this.nextReadUserSelectList || this.nextReadUserSelectList.length === 0) {
@@ -22895,7 +23033,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
22895
23033
  }
22896
23034
  var ids = '';
22897
23035
  this.nextReadUserSelectList.map(function (r, i) {
22898
- ids = ids + r.showid + (i === _this9.nextReadUserSelectList.length - 1 ? '' : ',');
23036
+ ids = ids + r.showid + (i === _this10.nextReadUserSelectList.length - 1 ? '' : ',');
22899
23037
  });
22900
23038
  var appId = void 0,
22901
23039
  businessId = void 0,
@@ -22951,6 +23089,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
22951
23089
  this.beforeSubmit(params.params);
22952
23090
  return;
22953
23091
  }
23092
+
22954
23093
  this.$toast.loading({
22955
23094
  message: '加载中...',
22956
23095
  forbidClick: true,
@@ -22960,13 +23099,17 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
22960
23099
  });
22961
23100
  utils_http(params).then(function (res) {
22962
23101
  if (res.status == 'success') {
22963
- _this9.$toast('操作成功');
22964
- _this9.$parent.$emit('success');
23102
+ _this10.$toast('操作成功');
23103
+ if (_this10.isWith == '0' && _this10.withSubmitCurrentTaskReadEnabled) {
23104
+ _this10.subRead();
23105
+ } else {
23106
+ _this10.$parent.$emit('success');
23107
+ }
22965
23108
  } else {
22966
- _this9.$toast(res.message);
23109
+ _this10.$toast(res.message);
22967
23110
  }
22968
23111
  }).catch(function (err) {
22969
- _this9.$toast('数据返回失败');
23112
+ _this10.$toast('数据返回失败');
22970
23113
  });
22971
23114
  }
22972
23115
  }
@@ -22983,8 +23126,8 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
22983
23126
 
22984
23127
  var TaskRead_component = normalizeComponent(
22985
23128
  components_TaskReadvue_type_script_lang_js,
22986
- TaskReadvue_type_template_id_2d4c0a2e_render,
22987
- TaskReadvue_type_template_id_2d4c0a2e_staticRenderFns,
23129
+ TaskReadvue_type_template_id_31d4dea7_render,
23130
+ TaskReadvue_type_template_id_31d4dea7_staticRenderFns,
22988
23131
  false,
22989
23132
  null,
22990
23133
  null,
@@ -31430,7 +31573,7 @@ if (typeof window !== 'undefined' && window.Vue) {
31430
31573
  }
31431
31574
 
31432
31575
  /* harmony default export */ var src = __webpack_exports__["default"] = ({
31433
- version: '0.3.98',
31576
+ version: '0.4.0',
31434
31577
  install: install,
31435
31578
  Button: packages_button,
31436
31579
  ButtonGroup: button_group,