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
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=ecdb611c
10727
+ var TaskReadvue_type_template_id_ecdb611c_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_ecdb611c_staticRenderFns = []
11048
+ TaskReadvue_type_template_id_ecdb611c_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=ecdb611c
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
@@ -11262,6 +11332,69 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
11262
11332
 
11263
11333
 
11264
11334
  methods: {
11335
+ subRead: function subRead() {
11336
+ var _this = this;
11337
+
11338
+ var _taskExamine = this.taskExamine,
11339
+ businessId = _taskExamine.businessId,
11340
+ appId = _taskExamine.appId,
11341
+ processDefinitionId = _taskExamine.processDefinitionId,
11342
+ pendingId = _taskExamine.pendingId;
11343
+
11344
+ if (this.taskReadOpinionRequired == 'true' && !this.form.handleExplain) return this.$toast('分阅阅结必须输入意见!');
11345
+ var params = {
11346
+ businessId: businessId,
11347
+ appId: appId,
11348
+ processDefinitionId: processDefinitionId,
11349
+ pendingId: pendingId,
11350
+ opinion: this.form.handleExplain,
11351
+ taskAction: 'complete',
11352
+ mobileKey: util["a" /* default */].getStorage('deviceId') || '123',
11353
+ userId: this.userId || util["a" /* default */].getStorage('userId')
11354
+ };
11355
+ var formData = new FormData();
11356
+
11357
+ for (var key in params) {
11358
+ if (params[key] !== '' && params[key] !== undefined) {
11359
+ formData.append(key, params[key]);
11360
+ }
11361
+ }
11362
+ this.$toast.loading({
11363
+ message: '加载中...',
11364
+ forbidClick: true,
11365
+ loadingType: 'spinner',
11366
+ overlay: true,
11367
+ duration: 0
11368
+ });
11369
+ Object(http["a" /* default */])({
11370
+ url: this.baseUrl ? this.baseUrl + api["O" /* taskReadHtml */] : api["O" /* taskReadHtml */],
11371
+ headers: {
11372
+ Accept: 'application/json,text/plain'
11373
+ },
11374
+ type: 'post',
11375
+ params: formData,
11376
+ format: false
11377
+ }).then(function (res) {
11378
+ var status = res.status,
11379
+ message = res.message;
11380
+
11381
+ _this.$toast.clear();
11382
+ if (status === 'success') {
11383
+ _this.$toast.success('提交成功');
11384
+ _this.$parent.$emit('success', 'submit');
11385
+ } else {
11386
+ _this.$toast(message || '系统错误,请联系管理员!');
11387
+ setTimeout(function () {
11388
+ _this.$parent.$emit('error');
11389
+ }, 1000);
11390
+ }
11391
+ }).catch(function (err) {
11392
+ _this.loading.close();
11393
+ if (err.message && err.message !== 'canceled') {
11394
+ _this.$toast(err.message);
11395
+ }
11396
+ });
11397
+ },
11265
11398
  handlePop: function handlePop(val) {
11266
11399
  this.$parent.$emit('opinion-change', val);
11267
11400
  },
@@ -11274,36 +11407,36 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
11274
11407
 
11275
11408
  //获取通知信息
11276
11409
  getMessage: function getMessage() {
11277
- var _this = this;
11410
+ var _this2 = this;
11278
11411
 
11279
11412
  var params = {
11280
11413
  appId: this.readParams.appId
11281
11414
  };
11282
11415
  Object(http["a" /* default */])({ url: api["u" /* getNotificationMsg */], params: params, methods: 'post' }).then(function (res) {
11283
11416
  if (res.status === 'success') {
11284
- _this.defaultNotificationMessage = res.message;
11285
- _this.form.notificationMsg = res.message;
11417
+ _this2.defaultNotificationMessage = res.message;
11418
+ _this2.form.notificationMsg = res.message;
11286
11419
  }
11287
11420
  }).catch(function (err) {
11288
11421
  if (err.message && err.message !== 'canceled') {
11289
- _this.$toast(err.message);
11422
+ _this2.$toast(err.message);
11290
11423
  }
11291
11424
  });
11292
11425
  },
11293
11426
 
11294
11427
  // 转办提交
11295
11428
  subTaskTransfer: function subTaskTransfer() {
11296
- var _this2 = this;
11429
+ var _this3 = this;
11297
11430
 
11298
11431
  if (!this.nextReadUserSelectList || this.nextReadUserSelectList.length === 0) {
11299
11432
  this.$toast('请选择转办对象');
11300
11433
  return;
11301
11434
  }
11302
- var _taskExamine = this.taskExamine,
11303
- choiceDeptId = _taskExamine.choiceDeptId,
11304
- choiceOrgId = _taskExamine.choiceOrgId,
11305
- bCode = _taskExamine.bCode,
11306
- bName = _taskExamine.bName;
11435
+ var _taskExamine2 = this.taskExamine,
11436
+ choiceDeptId = _taskExamine2.choiceDeptId,
11437
+ choiceOrgId = _taskExamine2.choiceOrgId,
11438
+ bCode = _taskExamine2.bCode,
11439
+ bName = _taskExamine2.bName;
11307
11440
  var opinion = this.opinion,
11308
11441
  pendingId = this.pendingId;
11309
11442
 
@@ -11332,25 +11465,25 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
11332
11465
  duration: 0
11333
11466
  });
11334
11467
  Object(http["a" /* default */])(params).then(function (res) {
11335
- _this2.$toast.clear();
11468
+ _this3.$toast.clear();
11336
11469
  var message = res.message,
11337
11470
  status = res.status;
11338
11471
 
11339
11472
  if (status === 'success') {
11340
- _this2.$toast('操作成功');
11341
- _this2.$parent.$emit('success');
11473
+ _this3.$toast('操作成功');
11474
+ _this3.$parent.$emit('success');
11342
11475
  } else {
11343
- _this2.$toast(message || '系统错误,请联系管理员!');
11476
+ _this3.$toast(message || '系统错误,请联系管理员!');
11344
11477
  }
11345
11478
  }).catch(function (err) {
11346
- _this2.$toast.clear();
11479
+ _this3.$toast.clear();
11347
11480
  if (err.message && err.message !== 'canceled') {
11348
- _this2.$toast(err.message);
11481
+ _this3.$toast(err.message);
11349
11482
  }
11350
11483
  });
11351
11484
  },
11352
11485
  getFind: function getFind() {
11353
- var _this3 = this;
11486
+ var _this4 = this;
11354
11487
 
11355
11488
  this.$toast.loading({
11356
11489
  message: '加载中...',
@@ -11367,37 +11500,37 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
11367
11500
  data = res.data;
11368
11501
 
11369
11502
  if (status === 'success') {
11370
- if (_this3.hideMessage) return;
11371
- _this3.form.notificationMsgType = message.split(',');
11372
- _this3.defaultNotificationType = message.split(',');
11503
+ if (_this4.hideMessage) return;
11504
+ _this4.form.notificationMsgType = message.split(',');
11505
+ _this4.defaultNotificationType = message.split(',');
11373
11506
  if (data) {
11374
- _this3.notificationMessageReadOnly = data.notificationMessageReadOnly == 'true';
11375
- _this3.readOnlyNotificationType = data.readOnlyNotificationType;
11507
+ _this4.notificationMessageReadOnly = data.notificationMessageReadOnly == 'true';
11508
+ _this4.readOnlyNotificationType = data.readOnlyNotificationType;
11376
11509
  }
11377
11510
  } else {
11378
11511
  setTimeout(function () {
11379
- _this3.goBack();
11512
+ _this4.goBack();
11380
11513
  }, 1000);
11381
- _this3.$toast.error(message || '系统错误,请联系管理员!');
11514
+ _this4.$toast.error(message || '系统错误,请联系管理员!');
11382
11515
  }
11383
- if (_this3.type === 'transfer') {
11384
- _this3.toTaskTransfer();
11516
+ if (_this4.type === 'transfer') {
11517
+ _this4.toTaskTransfer();
11385
11518
  } else {
11386
- if (!_this3.readParams) {
11387
- _this3.getProcessObjNew();
11519
+ if (!_this4.readParams) {
11520
+ _this4.getProcessObjNew();
11388
11521
  } else {
11389
- _this3.$toast.clear();
11522
+ _this4.$toast.clear();
11390
11523
  }
11391
11524
  // this.getProcessObjNew();
11392
11525
  }
11393
11526
  }).catch(function (err) {
11394
11527
  if (err.message && err.message !== 'canceled') {
11395
- _this3.$message.error(err.message);
11528
+ _this4.$message.error(err.message);
11396
11529
  }
11397
11530
  });
11398
11531
  },
11399
11532
  toTaskTransfer: function toTaskTransfer() {
11400
- var _this4 = this;
11533
+ var _this5 = this;
11401
11534
 
11402
11535
  var opinion = this.opinion,
11403
11536
  pendingId = this.pendingId,
@@ -11425,20 +11558,20 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
11425
11558
  readOnlyNotificationType = _res$data.readOnlyNotificationType,
11426
11559
  notificationMessageReadOnly = _res$data.notificationMessageReadOnly;
11427
11560
 
11428
- _this4.$toast.clear();
11561
+ _this5.$toast.clear();
11429
11562
  if (status == 'success') {
11430
- _this4.isMultipleTransfer(nodeInfoMap.nodeExtAttr.userSelectionType, choiceOrgId, choiceDeptId);
11431
- _this4.nextNode.nodeName = taskExamine.nodeName;
11432
- _this4.transferInfo = taskExamine;
11563
+ _this5.isMultipleTransfer(nodeInfoMap.nodeExtAttr.userSelectionType, choiceOrgId, choiceDeptId);
11564
+ _this5.nextNode.nodeName = taskExamine.nodeName;
11565
+ _this5.transferInfo = taskExamine;
11433
11566
  } else {
11434
- _this4.$toast(message || '系统错误,请联系管理员!');
11567
+ _this5.$toast(message || '系统错误,请联系管理员!');
11435
11568
  setTimeout(function () {
11436
- _this4.goBack();
11569
+ _this5.goBack();
11437
11570
  }, 1000);
11438
11571
  }
11439
11572
  }).catch(function (err) {
11440
11573
  if (err.message && err.message !== 'canceled') {
11441
- _this4.$toast(err.message);
11574
+ _this5.$toast(err.message);
11442
11575
  }
11443
11576
  });
11444
11577
  },
@@ -11508,12 +11641,12 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
11508
11641
  this.form.notificationMsg = obj.notificationMsg;
11509
11642
  },
11510
11643
  getTaskRead: function getTaskRead() {
11511
- var _this5 = this;
11644
+ var _this6 = this;
11512
11645
 
11513
11646
  var params = {
11514
11647
  appId: this.processObj.taskExamine.appId,
11515
11648
  businessId: this.processObj.taskExamine.businessId,
11516
- // taskAction: this.newType,
11649
+ taskAction: this.taskAction,
11517
11650
  userId: this.userId,
11518
11651
  mobileKey: util["a" /* default */].getStorage('deviceId') || '123'
11519
11652
  };
@@ -11522,19 +11655,21 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
11522
11655
  params: params
11523
11656
  }).then(function (res) {
11524
11657
  if (res.status == 'success' || res.rCode == 0) {
11525
- _this5.selectPersonValue = res.data.selectPersonValue;
11526
- _this5.isSyncCopy = res.data.isSyncCopy == 1;
11658
+ _this6.selectPersonValue = res.data.selectPersonValue;
11659
+ _this6.withSubmitCurrentTaskReadEnabled = res.data.withSubmitCurrentTaskReadEnabled;
11660
+ _this6.isSyncCopy = res.data.isSyncCopy == 1;
11527
11661
  if (res.data.taskHandleReadUserSelectLabelName) {
11528
- _this5.radioData[1].name = res.data.taskHandleReadUserSelectLabelName;
11662
+ _this6.radioData[1].name = res.data.taskHandleReadUserSelectLabelName;
11529
11663
  }
11530
- _this5.isMultiple();
11664
+ _this6.isMultiple();
11531
11665
  }
11532
11666
  });
11533
11667
  },
11534
11668
  getProcessObjNew: function getProcessObjNew() {
11535
- var _this6 = this;
11669
+ var _this7 = this;
11536
11670
 
11537
11671
  var _that = this;
11672
+ console.log('pendingId', this.taskAction);
11538
11673
  var params = {
11539
11674
  pendingId: this.pendingId,
11540
11675
  taskAction: _that.newType,
@@ -11549,17 +11684,17 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
11549
11684
  }).then(function (res) {
11550
11685
  _that.$toast.clear();
11551
11686
  if (res.status == 'success') {
11552
- _this6.processObj = res.data;
11687
+ _this7.processObj = res.data;
11553
11688
  // this.notificationMsgType = res.data.defaultNotificationType.split(',');
11554
11689
  // this.isMultiple()
11555
-
11556
- _this6.getTaskRead();
11557
- _this6.taskExamine = res.data.taskExamine;
11690
+ _this7.taskReadOpinionRequired = res.data.taskReadOpinionRequired == 'true';
11691
+ _this7.getTaskRead();
11692
+ _this7.taskExamine = res.data.taskExamine;
11558
11693
  // console.log(this.taskExamine, 'taskExaminetaskExaminetaskExamine');
11559
11694
  } else {
11560
11695
  _that.$toast(res.message);
11561
11696
  setTimeout(function () {
11562
- _this6.goBack();
11697
+ _this7.goBack();
11563
11698
  }, 1000);
11564
11699
  }
11565
11700
  });
@@ -11591,7 +11726,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
11591
11726
  // }
11592
11727
  },
11593
11728
  onSubmitReadEndNew: function onSubmitReadEndNew() {
11594
- var _this7 = this;
11729
+ var _this8 = this;
11595
11730
 
11596
11731
  var _that = this;
11597
11732
  var params = {
@@ -11623,17 +11758,17 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
11623
11758
 
11624
11759
  Object(http["a" /* default */])(params).then(function (res) {
11625
11760
  if (res.rCode == 0) {
11626
- _this7.$toast('操作成功');
11627
- _this7.$parent.$emit('success');
11761
+ _this8.$toast('操作成功');
11762
+ _this8.$parent.$emit('success');
11628
11763
  } else {
11629
- _this7.$toast(res.msg);
11764
+ _this8.$toast(res.msg);
11630
11765
  }
11631
11766
  }).catch(function (err) {
11632
- _this7.$toast('数据返回失败');
11767
+ _this8.$toast('数据返回失败');
11633
11768
  });
11634
11769
  },
11635
11770
  getHandleInfoHtml: function getHandleInfoHtml() {
11636
- var _this8 = this;
11771
+ var _this9 = this;
11637
11772
 
11638
11773
  Object(http["a" /* default */])({
11639
11774
  url: this.baseUrl ? this.baseUrl + api["r" /* getHandleInfoHtml */] : api["r" /* getHandleInfoHtml */],
@@ -11647,8 +11782,8 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
11647
11782
  defaultNotificationMessage = _res$data2.defaultNotificationMessage;
11648
11783
 
11649
11784
  if (status == 'success') {
11650
- _this8.defaultNotificationMessage = defaultNotificationMessage;
11651
- _this8.form.notificationMsg = defaultNotificationMessage;
11785
+ _this9.defaultNotificationMessage = defaultNotificationMessage;
11786
+ _this9.form.notificationMsg = defaultNotificationMessage;
11652
11787
  if (choiceDeptId) {
11653
11788
  taskExamine.choiceDeptId = choiceDeptId;
11654
11789
  }
@@ -11656,18 +11791,18 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
11656
11791
  taskExamine.choiceOrgId = choiceOrgId;
11657
11792
  }
11658
11793
  if (taskExamine) {
11659
- _this8.taskExamine = taskExamine;
11794
+ _this9.taskExamine = taskExamine;
11660
11795
  }
11661
11796
  } else {
11662
11797
  setTimeout(function () {
11663
- _this8.goBack();
11798
+ _this9.goBack();
11664
11799
  }, 1000);
11665
- _this8.$toast(res.message);
11800
+ _this9.$toast(res.message);
11666
11801
  }
11667
11802
  });
11668
11803
  },
11669
11804
  onSubmitReadNew: function onSubmitReadNew() {
11670
- var _this9 = this;
11805
+ var _this10 = this;
11671
11806
 
11672
11807
  var _that = this;
11673
11808
  if (!this.nextReadUserSelectList || this.nextReadUserSelectList.length === 0) {
@@ -11676,7 +11811,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
11676
11811
  }
11677
11812
  var ids = '';
11678
11813
  this.nextReadUserSelectList.map(function (r, i) {
11679
- ids = ids + r.showid + (i === _this9.nextReadUserSelectList.length - 1 ? '' : ',');
11814
+ ids = ids + r.showid + (i === _this10.nextReadUserSelectList.length - 1 ? '' : ',');
11680
11815
  });
11681
11816
  var appId = void 0,
11682
11817
  businessId = void 0,
@@ -11732,6 +11867,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
11732
11867
  this.beforeSubmit(params.params);
11733
11868
  return;
11734
11869
  }
11870
+
11735
11871
  this.$toast.loading({
11736
11872
  message: '加载中...',
11737
11873
  forbidClick: true,
@@ -11741,13 +11877,17 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
11741
11877
  });
11742
11878
  Object(http["a" /* default */])(params).then(function (res) {
11743
11879
  if (res.status == 'success') {
11744
- _this9.$toast('操作成功');
11745
- _this9.$parent.$emit('success');
11880
+ _this10.$toast('操作成功');
11881
+ if (_this10.isWith == '0' && _this10.withSubmitCurrentTaskReadEnabled) {
11882
+ _this10.subRead();
11883
+ } else {
11884
+ _this10.$parent.$emit('success');
11885
+ }
11746
11886
  } else {
11747
- _this9.$toast(res.message);
11887
+ _this10.$toast(res.message);
11748
11888
  }
11749
11889
  }).catch(function (err) {
11750
- _this9.$toast('数据返回失败');
11890
+ _this10.$toast('数据返回失败');
11751
11891
  });
11752
11892
  }
11753
11893
  }
@@ -11764,8 +11904,8 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
11764
11904
 
11765
11905
  var TaskRead_component = Object(componentNormalizer["a" /* default */])(
11766
11906
  components_TaskReadvue_type_script_lang_js,
11767
- TaskReadvue_type_template_id_2d4c0a2e_render,
11768
- TaskReadvue_type_template_id_2d4c0a2e_staticRenderFns,
11907
+ TaskReadvue_type_template_id_ecdb611c_render,
11908
+ TaskReadvue_type_template_id_ecdb611c_staticRenderFns,
11769
11909
  false,
11770
11910
  null,
11771
11911
  null,