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
package/lib/flow.js CHANGED
@@ -5457,8 +5457,8 @@ var StartFlow_component = Object(componentNormalizer["a" /* default */])(
5457
5457
  )
5458
5458
 
5459
5459
  /* harmony default export */ var StartFlow = (StartFlow_component.exports);
5460
- // 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
5461
- var Handlevue_type_template_id_4a8afaf6_render = function () {
5460
+ // 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
5461
+ var Handlevue_type_template_id_b58a476a_render = function () {
5462
5462
  var _vm = this
5463
5463
  var _h = _vm.$createElement
5464
5464
  var _c = _vm._self._c || _h
@@ -7073,11 +7073,11 @@ var Handlevue_type_template_id_4a8afaf6_render = function () {
7073
7073
  1
7074
7074
  )
7075
7075
  }
7076
- var Handlevue_type_template_id_4a8afaf6_staticRenderFns = []
7077
- Handlevue_type_template_id_4a8afaf6_render._withStripped = true
7076
+ var Handlevue_type_template_id_b58a476a_staticRenderFns = []
7077
+ Handlevue_type_template_id_b58a476a_render._withStripped = true
7078
7078
 
7079
7079
 
7080
- // CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=4a8afaf6
7080
+ // CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=b58a476a
7081
7081
 
7082
7082
  // 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
7083
7083
  var Rejectvue_type_template_id_1f631c2c_render = function () {
@@ -9732,8 +9732,8 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
9732
9732
  _this10.showFlowBtn = true;
9733
9733
  if (status === 'success') {
9734
9734
  _this10.taskExamineInfo = taskExamine;
9735
- _this10.isCanFenyue = isCanFenyue;
9736
- _this10.taskReadOpinionRequired = taskReadOpinionRequired;
9735
+ _this10.isCanFenyue = isCanFenyue == 1;
9736
+ _this10.taskReadOpinionRequired = taskReadOpinionRequired == 'true';
9737
9737
  // if (this.nodeName) {
9738
9738
  _this10.processObj.taskExamine.nodeName = '分阅';
9739
9739
  _this10.submitButtonName = submitButtonName;
@@ -9923,8 +9923,8 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
9923
9923
 
9924
9924
  var Handle_component = Object(componentNormalizer["a" /* default */])(
9925
9925
  components_Handlevue_type_script_lang_js,
9926
- Handlevue_type_template_id_4a8afaf6_render,
9927
- Handlevue_type_template_id_4a8afaf6_staticRenderFns,
9926
+ Handlevue_type_template_id_b58a476a_render,
9927
+ Handlevue_type_template_id_b58a476a_staticRenderFns,
9928
9928
  false,
9929
9929
  null,
9930
9930
  null,
@@ -10723,8 +10723,8 @@ var Circulate_component = Object(componentNormalizer["a" /* default */])(
10723
10723
  )
10724
10724
 
10725
10725
  /* harmony default export */ var Circulate = (Circulate_component.exports);
10726
- // 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
10727
- var TaskReadvue_type_template_id_2d4c0a2e_render = function () {
10726
+ // 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
10727
+ var TaskReadvue_type_template_id_31d4dea7_render = function () {
10728
10728
  var _vm = this
10729
10729
  var _h = _vm.$createElement
10730
10730
  var _c = _vm._self._c || _h
@@ -10953,6 +10953,50 @@ var TaskReadvue_type_template_id_2d4c0a2e_render = function () {
10953
10953
  1
10954
10954
  )
10955
10955
  : _vm._e(),
10956
+ _vm.withSubmitCurrentTaskReadEnabled
10957
+ ? _c(
10958
+ "div",
10959
+ { staticClass: "item" },
10960
+ [
10961
+ _c(
10962
+ "em-input",
10963
+ {
10964
+ staticClass: "read-type",
10965
+ attrs: { label: "同步提交", readonly: "" },
10966
+ },
10967
+ [
10968
+ _c("template", { slot: "input" }, [
10969
+ _c(
10970
+ "div",
10971
+ {
10972
+ staticClass: "template-input-two",
10973
+ staticStyle: { width: "100%" },
10974
+ },
10975
+ [
10976
+ _c("em-radio-group", {
10977
+ attrs: {
10978
+ data: _vm.withRadioData,
10979
+ direction: "horizontal",
10980
+ },
10981
+ model: {
10982
+ value: _vm.isWith,
10983
+ callback: function ($$v) {
10984
+ _vm.isWith = $$v
10985
+ },
10986
+ expression: "isWith",
10987
+ },
10988
+ }),
10989
+ ],
10990
+ 1
10991
+ ),
10992
+ ]),
10993
+ ],
10994
+ 2
10995
+ ),
10996
+ ],
10997
+ 1
10998
+ )
10999
+ : _vm._e(),
10956
11000
  _c(
10957
11001
  "div",
10958
11002
  { staticClass: "item" },
@@ -11000,11 +11044,11 @@ var TaskReadvue_type_template_id_2d4c0a2e_render = function () {
11000
11044
  ]),
11001
11045
  ])
11002
11046
  }
11003
- var TaskReadvue_type_template_id_2d4c0a2e_staticRenderFns = []
11004
- TaskReadvue_type_template_id_2d4c0a2e_render._withStripped = true
11047
+ var TaskReadvue_type_template_id_31d4dea7_staticRenderFns = []
11048
+ TaskReadvue_type_template_id_31d4dea7_render._withStripped = true
11005
11049
 
11006
11050
 
11007
- // CONCATENATED MODULE: ./packages/flow/src/components/TaskRead.vue?vue&type=template&id=2d4c0a2e
11051
+ // CONCATENATED MODULE: ./packages/flow/src/components/TaskRead.vue?vue&type=template&id=31d4dea7
11008
11052
 
11009
11053
  // 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
11010
11054
  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; };
@@ -11134,6 +11178,20 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
11134
11178
  //
11135
11179
  //
11136
11180
  //
11181
+ //
11182
+ //
11183
+ //
11184
+ //
11185
+ //
11186
+ //
11187
+ //
11188
+ //
11189
+ //
11190
+ //
11191
+ //
11192
+ //
11193
+ //
11194
+
11137
11195
 
11138
11196
 
11139
11197
 
@@ -11143,9 +11201,13 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
11143
11201
  /* harmony default export */ var TaskReadvue_type_script_lang_js = ({
11144
11202
  data: function data() {
11145
11203
  return {
11204
+ withSubmitCurrentTaskReadEnabled: false,
11205
+ taskReadOpinionRequired: false,
11146
11206
  nextNode: {},
11147
11207
  isSync: '0',
11148
11208
  radioData: [{ name: '普通分阅', value: '0' }, { name: '同步办理', value: '1' }],
11209
+ isWith: '0',
11210
+ withRadioData: [{ name: '提交', value: '0' }, { name: '不提交', value: '1' }],
11149
11211
  isSyncCopy: false,
11150
11212
  readOnlyNotificationType: '',
11151
11213
  defaultNotificationMessage: '',
@@ -11176,6 +11238,10 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
11176
11238
  Opinion: Opinion
11177
11239
  },
11178
11240
  props: {
11241
+ opinionType: {
11242
+ type: String,
11243
+ default: 'picker'
11244
+ },
11179
11245
  appid: String,
11180
11246
  orgId: String,
11181
11247
  beforeSubmit: Function,
@@ -11184,6 +11250,10 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
11184
11250
  baseUrl: String,
11185
11251
  apiBaseUrl: String,
11186
11252
  type: String,
11253
+ taskAction: {
11254
+ type: String,
11255
+ default: ''
11256
+ },
11187
11257
  readParams: {
11188
11258
  type: Object,
11189
11259
  default: undefined
@@ -11230,6 +11300,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
11230
11300
  return this.processObj.rereadButtonName || '确定';
11231
11301
  },
11232
11302
  params: function params() {
11303
+ console.log(this.isSync != 1, this.isSync, his.taskReadType == '分阅', this.isOrg, '123');
11233
11304
  return {
11234
11305
  pid: this.taskReadType == '分阅' && this.isSync != 1 && !this.isOrg ? 'root' : util["a" /* default */].getStorage('orgId') || this.orgId
11235
11306
  };
@@ -11262,6 +11333,69 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
11262
11333
 
11263
11334
 
11264
11335
  methods: {
11336
+ subRead: function subRead() {
11337
+ var _this = this;
11338
+
11339
+ var _taskExamine = this.taskExamine,
11340
+ businessId = _taskExamine.businessId,
11341
+ appId = _taskExamine.appId,
11342
+ processDefinitionId = _taskExamine.processDefinitionId,
11343
+ pendingId = _taskExamine.pendingId;
11344
+
11345
+ if (this.taskReadOpinionRequired && !this.form.handleExplain) return this.$toast('分阅阅结必须输入意见!');
11346
+ var params = {
11347
+ businessId: businessId,
11348
+ appId: appId,
11349
+ processDefinitionId: processDefinitionId,
11350
+ pendingId: pendingId,
11351
+ opinion: this.form.handleExplain,
11352
+ taskAction: 'complete',
11353
+ mobileKey: util["a" /* default */].getStorage('deviceId') || '123',
11354
+ userId: this.userId || util["a" /* default */].getStorage('userId')
11355
+ };
11356
+ var formData = new FormData();
11357
+
11358
+ for (var key in params) {
11359
+ if (params[key] !== '' && params[key] !== undefined) {
11360
+ formData.append(key, params[key]);
11361
+ }
11362
+ }
11363
+ this.$toast.loading({
11364
+ message: '加载中...',
11365
+ forbidClick: true,
11366
+ loadingType: 'spinner',
11367
+ overlay: true,
11368
+ duration: 0
11369
+ });
11370
+ Object(http["a" /* default */])({
11371
+ url: this.baseUrl ? this.baseUrl + api["O" /* taskReadHtml */] : api["O" /* taskReadHtml */],
11372
+ headers: {
11373
+ Accept: 'application/json,text/plain'
11374
+ },
11375
+ type: 'post',
11376
+ params: formData,
11377
+ format: false
11378
+ }).then(function (res) {
11379
+ var status = res.status,
11380
+ message = res.message;
11381
+
11382
+ _this.$toast.clear();
11383
+ if (status === 'success') {
11384
+ _this.$toast.success('提交成功');
11385
+ _this.$parent.$emit('success', 'submit');
11386
+ } else {
11387
+ _this.$toast(message || '系统错误,请联系管理员!');
11388
+ setTimeout(function () {
11389
+ _this.$parent.$emit('error');
11390
+ }, 1000);
11391
+ }
11392
+ }).catch(function (err) {
11393
+ _this.loading.close();
11394
+ if (err.message && err.message !== 'canceled') {
11395
+ _this.$toast(err.message);
11396
+ }
11397
+ });
11398
+ },
11265
11399
  handlePop: function handlePop(val) {
11266
11400
  this.$parent.$emit('opinion-change', val);
11267
11401
  },
@@ -11274,36 +11408,36 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
11274
11408
 
11275
11409
  //获取通知信息
11276
11410
  getMessage: function getMessage() {
11277
- var _this = this;
11411
+ var _this2 = this;
11278
11412
 
11279
11413
  var params = {
11280
11414
  appId: this.readParams.appId
11281
11415
  };
11282
11416
  Object(http["a" /* default */])({ url: api["u" /* getNotificationMsg */], params: params, methods: 'post' }).then(function (res) {
11283
11417
  if (res.status === 'success') {
11284
- _this.defaultNotificationMessage = res.message;
11285
- _this.form.notificationMsg = res.message;
11418
+ _this2.defaultNotificationMessage = res.message;
11419
+ _this2.form.notificationMsg = res.message;
11286
11420
  }
11287
11421
  }).catch(function (err) {
11288
11422
  if (err.message && err.message !== 'canceled') {
11289
- _this.$toast(err.message);
11423
+ _this2.$toast(err.message);
11290
11424
  }
11291
11425
  });
11292
11426
  },
11293
11427
 
11294
11428
  // 转办提交
11295
11429
  subTaskTransfer: function subTaskTransfer() {
11296
- var _this2 = this;
11430
+ var _this3 = this;
11297
11431
 
11298
11432
  if (!this.nextReadUserSelectList || this.nextReadUserSelectList.length === 0) {
11299
11433
  this.$toast('请选择转办对象');
11300
11434
  return;
11301
11435
  }
11302
- var _taskExamine = this.taskExamine,
11303
- choiceDeptId = _taskExamine.choiceDeptId,
11304
- choiceOrgId = _taskExamine.choiceOrgId,
11305
- bCode = _taskExamine.bCode,
11306
- bName = _taskExamine.bName;
11436
+ var _taskExamine2 = this.taskExamine,
11437
+ choiceDeptId = _taskExamine2.choiceDeptId,
11438
+ choiceOrgId = _taskExamine2.choiceOrgId,
11439
+ bCode = _taskExamine2.bCode,
11440
+ bName = _taskExamine2.bName;
11307
11441
  var opinion = this.opinion,
11308
11442
  pendingId = this.pendingId;
11309
11443
 
@@ -11332,25 +11466,25 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
11332
11466
  duration: 0
11333
11467
  });
11334
11468
  Object(http["a" /* default */])(params).then(function (res) {
11335
- _this2.$toast.clear();
11469
+ _this3.$toast.clear();
11336
11470
  var message = res.message,
11337
11471
  status = res.status;
11338
11472
 
11339
11473
  if (status === 'success') {
11340
- _this2.$toast('操作成功');
11341
- _this2.$parent.$emit('success');
11474
+ _this3.$toast('操作成功');
11475
+ _this3.$parent.$emit('success');
11342
11476
  } else {
11343
- _this2.$toast(message || '系统错误,请联系管理员!');
11477
+ _this3.$toast(message || '系统错误,请联系管理员!');
11344
11478
  }
11345
11479
  }).catch(function (err) {
11346
- _this2.$toast.clear();
11480
+ _this3.$toast.clear();
11347
11481
  if (err.message && err.message !== 'canceled') {
11348
- _this2.$toast(err.message);
11482
+ _this3.$toast(err.message);
11349
11483
  }
11350
11484
  });
11351
11485
  },
11352
11486
  getFind: function getFind() {
11353
- var _this3 = this;
11487
+ var _this4 = this;
11354
11488
 
11355
11489
  this.$toast.loading({
11356
11490
  message: '加载中...',
@@ -11367,37 +11501,37 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
11367
11501
  data = res.data;
11368
11502
 
11369
11503
  if (status === 'success') {
11370
- if (_this3.hideMessage) return;
11371
- _this3.form.notificationMsgType = message.split(',');
11372
- _this3.defaultNotificationType = message.split(',');
11504
+ if (_this4.hideMessage) return;
11505
+ _this4.form.notificationMsgType = message.split(',');
11506
+ _this4.defaultNotificationType = message.split(',');
11373
11507
  if (data) {
11374
- _this3.notificationMessageReadOnly = data.notificationMessageReadOnly == 'true';
11375
- _this3.readOnlyNotificationType = data.readOnlyNotificationType;
11508
+ _this4.notificationMessageReadOnly = data.notificationMessageReadOnly == 'true';
11509
+ _this4.readOnlyNotificationType = data.readOnlyNotificationType;
11376
11510
  }
11377
11511
  } else {
11378
11512
  setTimeout(function () {
11379
- _this3.goBack();
11513
+ _this4.goBack();
11380
11514
  }, 1000);
11381
- _this3.$toast.error(message || '系统错误,请联系管理员!');
11515
+ _this4.$toast.error(message || '系统错误,请联系管理员!');
11382
11516
  }
11383
- if (_this3.type === 'transfer') {
11384
- _this3.toTaskTransfer();
11517
+ if (_this4.type === 'transfer') {
11518
+ _this4.toTaskTransfer();
11385
11519
  } else {
11386
- if (!_this3.readParams) {
11387
- _this3.getProcessObjNew();
11520
+ if (!_this4.readParams) {
11521
+ _this4.getProcessObjNew();
11388
11522
  } else {
11389
- _this3.$toast.clear();
11523
+ _this4.$toast.clear();
11390
11524
  }
11391
11525
  // this.getProcessObjNew();
11392
11526
  }
11393
11527
  }).catch(function (err) {
11394
11528
  if (err.message && err.message !== 'canceled') {
11395
- _this3.$message.error(err.message);
11529
+ _this4.$message.error(err.message);
11396
11530
  }
11397
11531
  });
11398
11532
  },
11399
11533
  toTaskTransfer: function toTaskTransfer() {
11400
- var _this4 = this;
11534
+ var _this5 = this;
11401
11535
 
11402
11536
  var opinion = this.opinion,
11403
11537
  pendingId = this.pendingId,
@@ -11425,20 +11559,20 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
11425
11559
  readOnlyNotificationType = _res$data.readOnlyNotificationType,
11426
11560
  notificationMessageReadOnly = _res$data.notificationMessageReadOnly;
11427
11561
 
11428
- _this4.$toast.clear();
11562
+ _this5.$toast.clear();
11429
11563
  if (status == 'success') {
11430
- _this4.isMultipleTransfer(nodeInfoMap.nodeExtAttr.userSelectionType, choiceOrgId, choiceDeptId);
11431
- _this4.nextNode.nodeName = taskExamine.nodeName;
11432
- _this4.transferInfo = taskExamine;
11564
+ _this5.isMultipleTransfer(nodeInfoMap.nodeExtAttr.userSelectionType, choiceOrgId, choiceDeptId);
11565
+ _this5.nextNode.nodeName = taskExamine.nodeName;
11566
+ _this5.transferInfo = taskExamine;
11433
11567
  } else {
11434
- _this4.$toast(message || '系统错误,请联系管理员!');
11568
+ _this5.$toast(message || '系统错误,请联系管理员!');
11435
11569
  setTimeout(function () {
11436
- _this4.goBack();
11570
+ _this5.goBack();
11437
11571
  }, 1000);
11438
11572
  }
11439
11573
  }).catch(function (err) {
11440
11574
  if (err.message && err.message !== 'canceled') {
11441
- _this4.$toast(err.message);
11575
+ _this5.$toast(err.message);
11442
11576
  }
11443
11577
  });
11444
11578
  },
@@ -11508,12 +11642,12 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
11508
11642
  this.form.notificationMsg = obj.notificationMsg;
11509
11643
  },
11510
11644
  getTaskRead: function getTaskRead() {
11511
- var _this5 = this;
11645
+ var _this6 = this;
11512
11646
 
11513
11647
  var params = {
11514
11648
  appId: this.processObj.taskExamine.appId,
11515
11649
  businessId: this.processObj.taskExamine.businessId,
11516
- // taskAction: this.newType,
11650
+ taskAction: this.taskAction,
11517
11651
  userId: this.userId,
11518
11652
  mobileKey: util["a" /* default */].getStorage('deviceId') || '123'
11519
11653
  };
@@ -11522,19 +11656,21 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
11522
11656
  params: params
11523
11657
  }).then(function (res) {
11524
11658
  if (res.status == 'success' || res.rCode == 0) {
11525
- _this5.selectPersonValue = res.data.selectPersonValue;
11526
- _this5.isSyncCopy = res.data.isSyncCopy == 1;
11659
+ _this6.selectPersonValue = res.data.selectPersonValue;
11660
+ _this6.withSubmitCurrentTaskReadEnabled = res.data.withSubmitCurrentTaskReadEnabled;
11661
+ _this6.isSyncCopy = res.data.isSyncCopy == 1;
11527
11662
  if (res.data.taskHandleReadUserSelectLabelName) {
11528
- _this5.radioData[1].name = res.data.taskHandleReadUserSelectLabelName;
11663
+ _this6.radioData[1].name = res.data.taskHandleReadUserSelectLabelName;
11529
11664
  }
11530
- _this5.isMultiple();
11665
+ _this6.isMultiple();
11531
11666
  }
11532
11667
  });
11533
11668
  },
11534
11669
  getProcessObjNew: function getProcessObjNew() {
11535
- var _this6 = this;
11670
+ var _this7 = this;
11536
11671
 
11537
11672
  var _that = this;
11673
+ console.log('pendingId', this.taskAction);
11538
11674
  var params = {
11539
11675
  pendingId: this.pendingId,
11540
11676
  taskAction: _that.newType,
@@ -11549,17 +11685,19 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
11549
11685
  }).then(function (res) {
11550
11686
  _that.$toast.clear();
11551
11687
  if (res.status == 'success') {
11552
- _this6.processObj = res.data;
11688
+ _this7.processObj = res.data;
11553
11689
  // this.notificationMsgType = res.data.defaultNotificationType.split(',');
11554
11690
  // this.isMultiple()
11691
+ _this7.taskReadOpinionRequired = res.data.taskReadOpinionRequired == 'true';
11692
+ _this7.isSync = res.data.taskReadType != 'commonTaskRead' ? '1' : '0';
11555
11693
 
11556
- _this6.getTaskRead();
11557
- _this6.taskExamine = res.data.taskExamine;
11694
+ _this7.getTaskRead();
11695
+ _this7.taskExamine = res.data.taskExamine;
11558
11696
  // console.log(this.taskExamine, 'taskExaminetaskExaminetaskExamine');
11559
11697
  } else {
11560
11698
  _that.$toast(res.message);
11561
11699
  setTimeout(function () {
11562
- _this6.goBack();
11700
+ _this7.goBack();
11563
11701
  }, 1000);
11564
11702
  }
11565
11703
  });
@@ -11591,7 +11729,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
11591
11729
  // }
11592
11730
  },
11593
11731
  onSubmitReadEndNew: function onSubmitReadEndNew() {
11594
- var _this7 = this;
11732
+ var _this8 = this;
11595
11733
 
11596
11734
  var _that = this;
11597
11735
  var params = {
@@ -11623,17 +11761,17 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
11623
11761
 
11624
11762
  Object(http["a" /* default */])(params).then(function (res) {
11625
11763
  if (res.rCode == 0) {
11626
- _this7.$toast('操作成功');
11627
- _this7.$parent.$emit('success');
11764
+ _this8.$toast('操作成功');
11765
+ _this8.$parent.$emit('success');
11628
11766
  } else {
11629
- _this7.$toast(res.msg);
11767
+ _this8.$toast(res.msg);
11630
11768
  }
11631
11769
  }).catch(function (err) {
11632
- _this7.$toast('数据返回失败');
11770
+ _this8.$toast('数据返回失败');
11633
11771
  });
11634
11772
  },
11635
11773
  getHandleInfoHtml: function getHandleInfoHtml() {
11636
- var _this8 = this;
11774
+ var _this9 = this;
11637
11775
 
11638
11776
  Object(http["a" /* default */])({
11639
11777
  url: this.baseUrl ? this.baseUrl + api["r" /* getHandleInfoHtml */] : api["r" /* getHandleInfoHtml */],
@@ -11647,8 +11785,8 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
11647
11785
  defaultNotificationMessage = _res$data2.defaultNotificationMessage;
11648
11786
 
11649
11787
  if (status == 'success') {
11650
- _this8.defaultNotificationMessage = defaultNotificationMessage;
11651
- _this8.form.notificationMsg = defaultNotificationMessage;
11788
+ _this9.defaultNotificationMessage = defaultNotificationMessage;
11789
+ _this9.form.notificationMsg = defaultNotificationMessage;
11652
11790
  if (choiceDeptId) {
11653
11791
  taskExamine.choiceDeptId = choiceDeptId;
11654
11792
  }
@@ -11656,18 +11794,18 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
11656
11794
  taskExamine.choiceOrgId = choiceOrgId;
11657
11795
  }
11658
11796
  if (taskExamine) {
11659
- _this8.taskExamine = taskExamine;
11797
+ _this9.taskExamine = taskExamine;
11660
11798
  }
11661
11799
  } else {
11662
11800
  setTimeout(function () {
11663
- _this8.goBack();
11801
+ _this9.goBack();
11664
11802
  }, 1000);
11665
- _this8.$toast(res.message);
11803
+ _this9.$toast(res.message);
11666
11804
  }
11667
11805
  });
11668
11806
  },
11669
11807
  onSubmitReadNew: function onSubmitReadNew() {
11670
- var _this9 = this;
11808
+ var _this10 = this;
11671
11809
 
11672
11810
  var _that = this;
11673
11811
  if (!this.nextReadUserSelectList || this.nextReadUserSelectList.length === 0) {
@@ -11676,7 +11814,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
11676
11814
  }
11677
11815
  var ids = '';
11678
11816
  this.nextReadUserSelectList.map(function (r, i) {
11679
- ids = ids + r.showid + (i === _this9.nextReadUserSelectList.length - 1 ? '' : ',');
11817
+ ids = ids + r.showid + (i === _this10.nextReadUserSelectList.length - 1 ? '' : ',');
11680
11818
  });
11681
11819
  var appId = void 0,
11682
11820
  businessId = void 0,
@@ -11732,6 +11870,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
11732
11870
  this.beforeSubmit(params.params);
11733
11871
  return;
11734
11872
  }
11873
+
11735
11874
  this.$toast.loading({
11736
11875
  message: '加载中...',
11737
11876
  forbidClick: true,
@@ -11741,13 +11880,17 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
11741
11880
  });
11742
11881
  Object(http["a" /* default */])(params).then(function (res) {
11743
11882
  if (res.status == 'success') {
11744
- _this9.$toast('操作成功');
11745
- _this9.$parent.$emit('success');
11883
+ _this10.$toast('操作成功');
11884
+ if (_this10.isWith == '0' && _this10.withSubmitCurrentTaskReadEnabled) {
11885
+ _this10.subRead();
11886
+ } else {
11887
+ _this10.$parent.$emit('success');
11888
+ }
11746
11889
  } else {
11747
- _this9.$toast(res.message);
11890
+ _this10.$toast(res.message);
11748
11891
  }
11749
11892
  }).catch(function (err) {
11750
- _this9.$toast('数据返回失败');
11893
+ _this10.$toast('数据返回失败');
11751
11894
  });
11752
11895
  }
11753
11896
  }
@@ -11764,8 +11907,8 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
11764
11907
 
11765
11908
  var TaskRead_component = Object(componentNormalizer["a" /* default */])(
11766
11909
  components_TaskReadvue_type_script_lang_js,
11767
- TaskReadvue_type_template_id_2d4c0a2e_render,
11768
- TaskReadvue_type_template_id_2d4c0a2e_staticRenderFns,
11910
+ TaskReadvue_type_template_id_31d4dea7_render,
11911
+ TaskReadvue_type_template_id_31d4dea7_staticRenderFns,
11769
11912
  false,
11770
11913
  null,
11771
11914
  null,