eoss-mobiles 0.3.98 → 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 (204) hide show
  1. package/lib/eoss-mobile.common.js +263 -123
  2. package/lib/flow.js +223 -83
  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 +100 -4
  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=ecdb611c
21946
+ var TaskReadvue_type_template_id_ecdb611c_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_ecdb611c_staticRenderFns = []
22267
+ TaskReadvue_type_template_id_ecdb611c_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=ecdb611c
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
@@ -22481,6 +22551,69 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
22481
22551
 
22482
22552
 
22483
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
+ },
22484
22617
  handlePop: function handlePop(val) {
22485
22618
  this.$parent.$emit('opinion-change', val);
22486
22619
  },
@@ -22493,36 +22626,36 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
22493
22626
 
22494
22627
  //获取通知信息
22495
22628
  getMessage: function getMessage() {
22496
- var _this = this;
22629
+ var _this2 = this;
22497
22630
 
22498
22631
  var params = {
22499
22632
  appId: this.readParams.appId
22500
22633
  };
22501
22634
  utils_http({ url: api_getNotificationMsg, params: params, methods: 'post' }).then(function (res) {
22502
22635
  if (res.status === 'success') {
22503
- _this.defaultNotificationMessage = res.message;
22504
- _this.form.notificationMsg = res.message;
22636
+ _this2.defaultNotificationMessage = res.message;
22637
+ _this2.form.notificationMsg = res.message;
22505
22638
  }
22506
22639
  }).catch(function (err) {
22507
22640
  if (err.message && err.message !== 'canceled') {
22508
- _this.$toast(err.message);
22641
+ _this2.$toast(err.message);
22509
22642
  }
22510
22643
  });
22511
22644
  },
22512
22645
 
22513
22646
  // 转办提交
22514
22647
  subTaskTransfer: function subTaskTransfer() {
22515
- var _this2 = this;
22648
+ var _this3 = this;
22516
22649
 
22517
22650
  if (!this.nextReadUserSelectList || this.nextReadUserSelectList.length === 0) {
22518
22651
  this.$toast('请选择转办对象');
22519
22652
  return;
22520
22653
  }
22521
- var _taskExamine = this.taskExamine,
22522
- choiceDeptId = _taskExamine.choiceDeptId,
22523
- choiceOrgId = _taskExamine.choiceOrgId,
22524
- bCode = _taskExamine.bCode,
22525
- bName = _taskExamine.bName;
22654
+ var _taskExamine2 = this.taskExamine,
22655
+ choiceDeptId = _taskExamine2.choiceDeptId,
22656
+ choiceOrgId = _taskExamine2.choiceOrgId,
22657
+ bCode = _taskExamine2.bCode,
22658
+ bName = _taskExamine2.bName;
22526
22659
  var opinion = this.opinion,
22527
22660
  pendingId = this.pendingId;
22528
22661
 
@@ -22551,25 +22684,25 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
22551
22684
  duration: 0
22552
22685
  });
22553
22686
  utils_http(params).then(function (res) {
22554
- _this2.$toast.clear();
22687
+ _this3.$toast.clear();
22555
22688
  var message = res.message,
22556
22689
  status = res.status;
22557
22690
 
22558
22691
  if (status === 'success') {
22559
- _this2.$toast('操作成功');
22560
- _this2.$parent.$emit('success');
22692
+ _this3.$toast('操作成功');
22693
+ _this3.$parent.$emit('success');
22561
22694
  } else {
22562
- _this2.$toast(message || '系统错误,请联系管理员!');
22695
+ _this3.$toast(message || '系统错误,请联系管理员!');
22563
22696
  }
22564
22697
  }).catch(function (err) {
22565
- _this2.$toast.clear();
22698
+ _this3.$toast.clear();
22566
22699
  if (err.message && err.message !== 'canceled') {
22567
- _this2.$toast(err.message);
22700
+ _this3.$toast(err.message);
22568
22701
  }
22569
22702
  });
22570
22703
  },
22571
22704
  getFind: function getFind() {
22572
- var _this3 = this;
22705
+ var _this4 = this;
22573
22706
 
22574
22707
  this.$toast.loading({
22575
22708
  message: '加载中...',
@@ -22586,37 +22719,37 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
22586
22719
  data = res.data;
22587
22720
 
22588
22721
  if (status === 'success') {
22589
- if (_this3.hideMessage) return;
22590
- _this3.form.notificationMsgType = message.split(',');
22591
- _this3.defaultNotificationType = message.split(',');
22722
+ if (_this4.hideMessage) return;
22723
+ _this4.form.notificationMsgType = message.split(',');
22724
+ _this4.defaultNotificationType = message.split(',');
22592
22725
  if (data) {
22593
- _this3.notificationMessageReadOnly = data.notificationMessageReadOnly == 'true';
22594
- _this3.readOnlyNotificationType = data.readOnlyNotificationType;
22726
+ _this4.notificationMessageReadOnly = data.notificationMessageReadOnly == 'true';
22727
+ _this4.readOnlyNotificationType = data.readOnlyNotificationType;
22595
22728
  }
22596
22729
  } else {
22597
22730
  setTimeout(function () {
22598
- _this3.goBack();
22731
+ _this4.goBack();
22599
22732
  }, 1000);
22600
- _this3.$toast.error(message || '系统错误,请联系管理员!');
22733
+ _this4.$toast.error(message || '系统错误,请联系管理员!');
22601
22734
  }
22602
- if (_this3.type === 'transfer') {
22603
- _this3.toTaskTransfer();
22735
+ if (_this4.type === 'transfer') {
22736
+ _this4.toTaskTransfer();
22604
22737
  } else {
22605
- if (!_this3.readParams) {
22606
- _this3.getProcessObjNew();
22738
+ if (!_this4.readParams) {
22739
+ _this4.getProcessObjNew();
22607
22740
  } else {
22608
- _this3.$toast.clear();
22741
+ _this4.$toast.clear();
22609
22742
  }
22610
22743
  // this.getProcessObjNew();
22611
22744
  }
22612
22745
  }).catch(function (err) {
22613
22746
  if (err.message && err.message !== 'canceled') {
22614
- _this3.$message.error(err.message);
22747
+ _this4.$message.error(err.message);
22615
22748
  }
22616
22749
  });
22617
22750
  },
22618
22751
  toTaskTransfer: function toTaskTransfer() {
22619
- var _this4 = this;
22752
+ var _this5 = this;
22620
22753
 
22621
22754
  var opinion = this.opinion,
22622
22755
  pendingId = this.pendingId,
@@ -22644,20 +22777,20 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
22644
22777
  readOnlyNotificationType = _res$data.readOnlyNotificationType,
22645
22778
  notificationMessageReadOnly = _res$data.notificationMessageReadOnly;
22646
22779
 
22647
- _this4.$toast.clear();
22780
+ _this5.$toast.clear();
22648
22781
  if (status == 'success') {
22649
- _this4.isMultipleTransfer(nodeInfoMap.nodeExtAttr.userSelectionType, choiceOrgId, choiceDeptId);
22650
- _this4.nextNode.nodeName = taskExamine.nodeName;
22651
- _this4.transferInfo = taskExamine;
22782
+ _this5.isMultipleTransfer(nodeInfoMap.nodeExtAttr.userSelectionType, choiceOrgId, choiceDeptId);
22783
+ _this5.nextNode.nodeName = taskExamine.nodeName;
22784
+ _this5.transferInfo = taskExamine;
22652
22785
  } else {
22653
- _this4.$toast(message || '系统错误,请联系管理员!');
22786
+ _this5.$toast(message || '系统错误,请联系管理员!');
22654
22787
  setTimeout(function () {
22655
- _this4.goBack();
22788
+ _this5.goBack();
22656
22789
  }, 1000);
22657
22790
  }
22658
22791
  }).catch(function (err) {
22659
22792
  if (err.message && err.message !== 'canceled') {
22660
- _this4.$toast(err.message);
22793
+ _this5.$toast(err.message);
22661
22794
  }
22662
22795
  });
22663
22796
  },
@@ -22727,12 +22860,12 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
22727
22860
  this.form.notificationMsg = obj.notificationMsg;
22728
22861
  },
22729
22862
  getTaskRead: function getTaskRead() {
22730
- var _this5 = this;
22863
+ var _this6 = this;
22731
22864
 
22732
22865
  var params = {
22733
22866
  appId: this.processObj.taskExamine.appId,
22734
22867
  businessId: this.processObj.taskExamine.businessId,
22735
- // taskAction: this.newType,
22868
+ taskAction: this.taskAction,
22736
22869
  userId: this.userId,
22737
22870
  mobileKey: util["a" /* default */].getStorage('deviceId') || '123'
22738
22871
  };
@@ -22741,19 +22874,21 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
22741
22874
  params: params
22742
22875
  }).then(function (res) {
22743
22876
  if (res.status == 'success' || res.rCode == 0) {
22744
- _this5.selectPersonValue = res.data.selectPersonValue;
22745
- _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;
22746
22880
  if (res.data.taskHandleReadUserSelectLabelName) {
22747
- _this5.radioData[1].name = res.data.taskHandleReadUserSelectLabelName;
22881
+ _this6.radioData[1].name = res.data.taskHandleReadUserSelectLabelName;
22748
22882
  }
22749
- _this5.isMultiple();
22883
+ _this6.isMultiple();
22750
22884
  }
22751
22885
  });
22752
22886
  },
22753
22887
  getProcessObjNew: function getProcessObjNew() {
22754
- var _this6 = this;
22888
+ var _this7 = this;
22755
22889
 
22756
22890
  var _that = this;
22891
+ console.log('pendingId', this.taskAction);
22757
22892
  var params = {
22758
22893
  pendingId: this.pendingId,
22759
22894
  taskAction: _that.newType,
@@ -22768,17 +22903,17 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
22768
22903
  }).then(function (res) {
22769
22904
  _that.$toast.clear();
22770
22905
  if (res.status == 'success') {
22771
- _this6.processObj = res.data;
22906
+ _this7.processObj = res.data;
22772
22907
  // this.notificationMsgType = res.data.defaultNotificationType.split(',');
22773
22908
  // this.isMultiple()
22774
-
22775
- _this6.getTaskRead();
22776
- _this6.taskExamine = res.data.taskExamine;
22909
+ _this7.taskReadOpinionRequired = res.data.taskReadOpinionRequired == 'true';
22910
+ _this7.getTaskRead();
22911
+ _this7.taskExamine = res.data.taskExamine;
22777
22912
  // console.log(this.taskExamine, 'taskExaminetaskExaminetaskExamine');
22778
22913
  } else {
22779
22914
  _that.$toast(res.message);
22780
22915
  setTimeout(function () {
22781
- _this6.goBack();
22916
+ _this7.goBack();
22782
22917
  }, 1000);
22783
22918
  }
22784
22919
  });
@@ -22810,7 +22945,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
22810
22945
  // }
22811
22946
  },
22812
22947
  onSubmitReadEndNew: function onSubmitReadEndNew() {
22813
- var _this7 = this;
22948
+ var _this8 = this;
22814
22949
 
22815
22950
  var _that = this;
22816
22951
  var params = {
@@ -22842,17 +22977,17 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
22842
22977
 
22843
22978
  utils_http(params).then(function (res) {
22844
22979
  if (res.rCode == 0) {
22845
- _this7.$toast('操作成功');
22846
- _this7.$parent.$emit('success');
22980
+ _this8.$toast('操作成功');
22981
+ _this8.$parent.$emit('success');
22847
22982
  } else {
22848
- _this7.$toast(res.msg);
22983
+ _this8.$toast(res.msg);
22849
22984
  }
22850
22985
  }).catch(function (err) {
22851
- _this7.$toast('数据返回失败');
22986
+ _this8.$toast('数据返回失败');
22852
22987
  });
22853
22988
  },
22854
22989
  getHandleInfoHtml: function getHandleInfoHtml() {
22855
- var _this8 = this;
22990
+ var _this9 = this;
22856
22991
 
22857
22992
  utils_http({
22858
22993
  url: this.baseUrl ? this.baseUrl + api_getHandleInfoHtml : api_getHandleInfoHtml,
@@ -22866,8 +23001,8 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
22866
23001
  defaultNotificationMessage = _res$data2.defaultNotificationMessage;
22867
23002
 
22868
23003
  if (status == 'success') {
22869
- _this8.defaultNotificationMessage = defaultNotificationMessage;
22870
- _this8.form.notificationMsg = defaultNotificationMessage;
23004
+ _this9.defaultNotificationMessage = defaultNotificationMessage;
23005
+ _this9.form.notificationMsg = defaultNotificationMessage;
22871
23006
  if (choiceDeptId) {
22872
23007
  taskExamine.choiceDeptId = choiceDeptId;
22873
23008
  }
@@ -22875,18 +23010,18 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
22875
23010
  taskExamine.choiceOrgId = choiceOrgId;
22876
23011
  }
22877
23012
  if (taskExamine) {
22878
- _this8.taskExamine = taskExamine;
23013
+ _this9.taskExamine = taskExamine;
22879
23014
  }
22880
23015
  } else {
22881
23016
  setTimeout(function () {
22882
- _this8.goBack();
23017
+ _this9.goBack();
22883
23018
  }, 1000);
22884
- _this8.$toast(res.message);
23019
+ _this9.$toast(res.message);
22885
23020
  }
22886
23021
  });
22887
23022
  },
22888
23023
  onSubmitReadNew: function onSubmitReadNew() {
22889
- var _this9 = this;
23024
+ var _this10 = this;
22890
23025
 
22891
23026
  var _that = this;
22892
23027
  if (!this.nextReadUserSelectList || this.nextReadUserSelectList.length === 0) {
@@ -22895,7 +23030,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
22895
23030
  }
22896
23031
  var ids = '';
22897
23032
  this.nextReadUserSelectList.map(function (r, i) {
22898
- ids = ids + r.showid + (i === _this9.nextReadUserSelectList.length - 1 ? '' : ',');
23033
+ ids = ids + r.showid + (i === _this10.nextReadUserSelectList.length - 1 ? '' : ',');
22899
23034
  });
22900
23035
  var appId = void 0,
22901
23036
  businessId = void 0,
@@ -22951,6 +23086,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
22951
23086
  this.beforeSubmit(params.params);
22952
23087
  return;
22953
23088
  }
23089
+
22954
23090
  this.$toast.loading({
22955
23091
  message: '加载中...',
22956
23092
  forbidClick: true,
@@ -22960,13 +23096,17 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
22960
23096
  });
22961
23097
  utils_http(params).then(function (res) {
22962
23098
  if (res.status == 'success') {
22963
- _this9.$toast('操作成功');
22964
- _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
+ }
22965
23105
  } else {
22966
- _this9.$toast(res.message);
23106
+ _this10.$toast(res.message);
22967
23107
  }
22968
23108
  }).catch(function (err) {
22969
- _this9.$toast('数据返回失败');
23109
+ _this10.$toast('数据返回失败');
22970
23110
  });
22971
23111
  }
22972
23112
  }
@@ -22983,8 +23123,8 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
22983
23123
 
22984
23124
  var TaskRead_component = normalizeComponent(
22985
23125
  components_TaskReadvue_type_script_lang_js,
22986
- TaskReadvue_type_template_id_2d4c0a2e_render,
22987
- TaskReadvue_type_template_id_2d4c0a2e_staticRenderFns,
23126
+ TaskReadvue_type_template_id_ecdb611c_render,
23127
+ TaskReadvue_type_template_id_ecdb611c_staticRenderFns,
22988
23128
  false,
22989
23129
  null,
22990
23130
  null,
@@ -31430,7 +31570,7 @@ if (typeof window !== 'undefined' && window.Vue) {
31430
31570
  }
31431
31571
 
31432
31572
  /* harmony default export */ var src = __webpack_exports__["default"] = ({
31433
- version: '0.3.98',
31573
+ version: '0.3.99',
31434
31574
  install: install,
31435
31575
  Button: packages_button,
31436
31576
  ButtonGroup: button_group,