eoss-ui 0.6.60 → 0.6.61

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 (226) hide show
  1. package/lib/eoss-ui.common.js +601 -569
  2. package/lib/flow-list.js +81 -81
  3. package/lib/flow.js +369 -337
  4. package/lib/index.js +1 -1
  5. package/lib/main.js +132 -132
  6. package/lib/qr-code.js +13 -13
  7. package/package.json +159 -159
  8. package/packages/button/index.js +5 -5
  9. package/packages/button/src/main.vue +418 -418
  10. package/packages/button-group/index.js +5 -5
  11. package/packages/button-group/src/main.vue +298 -298
  12. package/packages/calendar/index.js +5 -5
  13. package/packages/card/index.js +5 -5
  14. package/packages/card/src/main.vue +156 -156
  15. package/packages/cascader/index.js +5 -5
  16. package/packages/cascader/src/main.vue +168 -168
  17. package/packages/checkbox-group/index.js +5 -5
  18. package/packages/checkbox-group/src/main.vue +333 -333
  19. package/packages/clients/index.js +5 -5
  20. package/packages/clients/src/main.vue +151 -151
  21. package/packages/data-table/index.js +5 -5
  22. package/packages/data-table/src/children.vue +39 -39
  23. package/packages/data-table/src/column.vue +989 -989
  24. package/packages/data-table/src/main.vue +1822 -1822
  25. package/packages/data-table/src/sizer.vue +195 -195
  26. package/packages/data-table-form/index.js +5 -5
  27. package/packages/data-table-form/src/checkbox.vue +101 -101
  28. package/packages/data-table-form/src/colgroup.vue +17 -17
  29. package/packages/data-table-form/src/main.vue +181 -181
  30. package/packages/data-table-form/src/radio.vue +65 -65
  31. package/packages/data-table-form/src/table.vue +233 -233
  32. package/packages/data-table-form/src/tbody.vue +336 -336
  33. package/packages/data-table-form/src/thead.vue +68 -68
  34. package/packages/date-picker/index.js +5 -5
  35. package/packages/date-picker/src/main.vue +236 -236
  36. package/packages/dialog/index.js +5 -5
  37. package/packages/enable-drag/index.js +5 -5
  38. package/packages/enterprise/index.js +5 -5
  39. package/packages/enterprise/src/main.vue +66 -66
  40. package/packages/error-page/index.js +5 -5
  41. package/packages/error-page/src/main.vue +44 -44
  42. package/packages/flow/index.js +5 -5
  43. package/packages/flow/src/component/CommonOpinions.vue +345 -345
  44. package/packages/flow/src/component/CustomPreset.vue +322 -322
  45. package/packages/flow/src/component/FileList.vue +99 -99
  46. package/packages/flow/src/component/Preset.vue +255 -255
  47. package/packages/flow/src/component/SendMsg.vue +229 -229
  48. package/packages/flow/src/component/TimeLimit.vue +190 -190
  49. package/packages/flow/src/component/taskUnionExamine.vue +617 -611
  50. package/packages/flow/src/form.vue +121 -121
  51. package/packages/flow/src/freeStartFlow.vue +2843 -2843
  52. package/packages/flow/src/main.vue +3186 -3175
  53. package/packages/flow/src/processForm.vue +1087 -1087
  54. package/packages/flow/src/processReject.vue +293 -293
  55. package/packages/flow/src/reset.vue +900 -900
  56. package/packages/flow/src/startTaskRead.vue +658 -646
  57. package/packages/flow/src/supervise.vue +144 -144
  58. package/packages/flow/src/table.vue +58 -58
  59. package/packages/flow-group/index.js +5 -5
  60. package/packages/flow-group/src/main.vue +688 -688
  61. package/packages/flow-list/index.js +5 -5
  62. package/packages/flow-list/src/main.vue +1691 -1691
  63. package/packages/form/index.js +5 -5
  64. package/packages/form/src/main.vue +3583 -3583
  65. package/packages/form/src/table.vue +1426 -1426
  66. package/packages/handle-user/index.js +5 -5
  67. package/packages/handle-user/src/main.vue +138 -138
  68. package/packages/handler/index.js +5 -5
  69. package/packages/handler/src/main.vue +493 -493
  70. package/packages/icon/index.js +5 -5
  71. package/packages/icon/src/main.vue +101 -101
  72. package/packages/icons/index.js +5 -5
  73. package/packages/icons/src/main.vue +81 -81
  74. package/packages/input/index.js +5 -5
  75. package/packages/input/src/main.vue +356 -356
  76. package/packages/input-number/index.js +5 -5
  77. package/packages/input-number/src/main.vue +106 -106
  78. package/packages/label/index.js +5 -5
  79. package/packages/label/src/main.vue +457 -457
  80. package/packages/layout/index.js +5 -5
  81. package/packages/layout/src/item.vue +152 -152
  82. package/packages/layout/src/main.vue +31 -31
  83. package/packages/login/index.js +5 -5
  84. package/packages/login/src/main.vue +1942 -1942
  85. package/packages/login/src/resetPassword.vue +562 -562
  86. package/packages/main/index.js +5 -5
  87. package/packages/main/src/default/message.vue +249 -249
  88. package/packages/main/src/default/notice.vue +157 -157
  89. package/packages/main/src/default/userinfo.vue +503 -503
  90. package/packages/main/src/public/online.vue +89 -89
  91. package/packages/main/src/public/search.vue +462 -462
  92. package/packages/main/src/public/settings.vue +221 -221
  93. package/packages/main/src/simplicity/apps.vue +388 -388
  94. package/packages/main/src/simplicity/avatar.vue +82 -82
  95. package/packages/main/src/simplicity/handler.vue +259 -259
  96. package/packages/main/src/simplicity/index.vue +2086 -2086
  97. package/packages/main/src/simplicity/lists.vue +84 -84
  98. package/packages/main/src/simplicity/menu-list.vue +135 -135
  99. package/packages/main/src/simplicity/message.vue +259 -259
  100. package/packages/main/src/simplicity/notice.vue +190 -190
  101. package/packages/main/src/simplicity/router-page.vue +45 -45
  102. package/packages/main/src/simplicity/sub-menu.vue +264 -264
  103. package/packages/main/src/simplicity/user.vue +257 -257
  104. package/packages/main/src/simplicity/userinfo.vue +312 -312
  105. package/packages/menu/index.js +5 -5
  106. package/packages/menu/src/main.vue +584 -584
  107. package/packages/nav/index.js +5 -5
  108. package/packages/nav/src/main.vue +351 -351
  109. package/packages/notify/index.js +5 -5
  110. package/packages/notify/src/main.vue +538 -538
  111. package/packages/page/index.js +5 -5
  112. package/packages/page/src/main.vue +167 -167
  113. package/packages/pagination/index.js +5 -5
  114. package/packages/pagination/src/main.vue +96 -96
  115. package/packages/player/index.js +5 -5
  116. package/packages/player/src/main.vue +194 -194
  117. package/packages/qr-code/index.js +5 -5
  118. package/packages/qr-code/src/main.vue +170 -170
  119. package/packages/radio-group/index.js +6 -6
  120. package/packages/radio-group/src/main.vue +319 -319
  121. package/packages/retrial-auth/index.js +5 -5
  122. package/packages/retrial-auth/src/main.vue +280 -280
  123. package/packages/select/index.js +5 -5
  124. package/packages/select/src/main.vue +778 -778
  125. package/packages/select-ganged/index.js +5 -5
  126. package/packages/select-ganged/src/main.vue +724 -724
  127. package/packages/selector/index.js +5 -5
  128. package/packages/selector/src/main.vue +687 -687
  129. package/packages/selector-panel/index.js +5 -5
  130. package/packages/selector-panel/src/main.vue +1027 -1027
  131. package/packages/selector-panel/src/selection.vue +177 -177
  132. package/packages/selector-panel/src/tree.vue +129 -129
  133. package/packages/sizer/index.js +5 -5
  134. package/packages/sizer/src/main.vue +254 -254
  135. package/packages/steps/index.js +5 -5
  136. package/packages/steps/src/main.vue +181 -181
  137. package/packages/switch/index.js +5 -5
  138. package/packages/switch/src/main.vue +154 -154
  139. package/packages/table-form/index.js +5 -5
  140. package/packages/tabs/index.js +5 -5
  141. package/packages/tabs/src/main.vue +788 -788
  142. package/packages/tabs-panel/index.js +5 -5
  143. package/packages/tabs-panel/src/main.vue +29 -29
  144. package/packages/theme-chalk/src/base.scss +260 -260
  145. package/packages/theme-chalk/src/button-group.scss +176 -176
  146. package/packages/theme-chalk/src/button.scss +24 -24
  147. package/packages/theme-chalk/src/calendar.scss +113 -113
  148. package/packages/theme-chalk/src/card.scss +99 -99
  149. package/packages/theme-chalk/src/checkbox-group.scss +8 -8
  150. package/packages/theme-chalk/src/clients.scss +87 -87
  151. package/packages/theme-chalk/src/data-table-form.scss +67 -67
  152. package/packages/theme-chalk/src/data-table.scss +293 -293
  153. package/packages/theme-chalk/src/date-picker.scss +7 -7
  154. package/packages/theme-chalk/src/dialog.scss +77 -77
  155. package/packages/theme-chalk/src/enable-drag.scss +181 -181
  156. package/packages/theme-chalk/src/enterprise.scss +5 -5
  157. package/packages/theme-chalk/src/error-page.scss +18 -18
  158. package/packages/theme-chalk/src/flow-group.scss +110 -110
  159. package/packages/theme-chalk/src/flow-list.scss +39 -39
  160. package/packages/theme-chalk/src/flow.scss +343 -343
  161. package/packages/theme-chalk/src/form.scss +496 -496
  162. package/packages/theme-chalk/src/handle-user.scss +40 -40
  163. package/packages/theme-chalk/src/handler.scss +143 -143
  164. package/packages/theme-chalk/src/icon.scss +1792 -1792
  165. package/packages/theme-chalk/src/icons.scss +99 -99
  166. package/packages/theme-chalk/src/input.scss +9 -9
  167. package/packages/theme-chalk/src/label.scss +24 -24
  168. package/packages/theme-chalk/src/layout.scss +46 -46
  169. package/packages/theme-chalk/src/login.scss +969 -969
  170. package/packages/theme-chalk/src/main.scss +663 -663
  171. package/packages/theme-chalk/src/menu.scss +222 -222
  172. package/packages/theme-chalk/src/mixins/color.scss +117 -117
  173. package/packages/theme-chalk/src/nav.scss +111 -111
  174. package/packages/theme-chalk/src/page.scss +3 -3
  175. package/packages/theme-chalk/src/pagination.scss +29 -29
  176. package/packages/theme-chalk/src/player.scss +9 -9
  177. package/packages/theme-chalk/src/qr-code.scss +17 -17
  178. package/packages/theme-chalk/src/radio-group.scss +9 -9
  179. package/packages/theme-chalk/src/retrial-auth.scss +38 -38
  180. package/packages/theme-chalk/src/select-ganged.scss +8 -8
  181. package/packages/theme-chalk/src/select.scss +8 -8
  182. package/packages/theme-chalk/src/selector-panel.scss +204 -204
  183. package/packages/theme-chalk/src/selector.scss +91 -91
  184. package/packages/theme-chalk/src/simplicity.scss +1351 -1351
  185. package/packages/theme-chalk/src/sizer.scss +36 -36
  186. package/packages/theme-chalk/src/steps.scss +88 -88
  187. package/packages/theme-chalk/src/switch.scss +3 -3
  188. package/packages/theme-chalk/src/table-form.scss +1 -1
  189. package/packages/theme-chalk/src/tabs.scss +87 -87
  190. package/packages/theme-chalk/src/tips.scss +7 -7
  191. package/packages/theme-chalk/src/toolbar.scss +179 -179
  192. package/packages/theme-chalk/src/tree-group.scss +72 -72
  193. package/packages/theme-chalk/src/tree.scss +165 -165
  194. package/packages/theme-chalk/src/upload.scss +168 -168
  195. package/packages/theme-chalk/src/wxlogin.scss +3 -3
  196. package/packages/tips/index.js +5 -5
  197. package/packages/tips/src/main.vue +141 -141
  198. package/packages/toolbar/index.js +5 -5
  199. package/packages/toolbar/src/main.vue +430 -430
  200. package/packages/tree/index.js +5 -5
  201. package/packages/tree-group/index.js +5 -5
  202. package/packages/upload/index.js +5 -5
  203. package/packages/upload/src/main.vue +1347 -1347
  204. package/packages/upload/src/picture.js +15 -15
  205. package/packages/wujie/index.js +5 -5
  206. package/packages/wujie/src/main.vue +145 -145
  207. package/packages/wxlogin/index.js +5 -5
  208. package/packages/wxlogin/src/main.vue +128 -128
  209. package/src/config/api.js +286 -286
  210. package/src/config/image.js +2 -2
  211. package/src/index.js +160 -160
  212. package/src/utils/bus.js +3 -3
  213. package/src/utils/date-util.js +312 -312
  214. package/src/utils/http.js +50 -50
  215. package/src/utils/rules.js +18 -18
  216. package/src/utils/store.js +21 -21
  217. package/src/utils/webSocket.js +107 -107
  218. package/packages/.DS_Store +0 -0
  219. package/packages/autocomplete/.DS_Store +0 -0
  220. package/packages/menu/.DS_Store +0 -0
  221. package/packages/scrollbar/.DS_Store +0 -0
  222. package/packages/select/.DS_Store +0 -0
  223. package/packages/theme-chalk/src/.DS_Store +0 -0
  224. package/packages/upload/.DS_Store +0 -0
  225. package/src/.DS_Store +0 -0
  226. package/src/utils/.DS_Store +0 -0
package/lib/flow.js CHANGED
@@ -4407,7 +4407,7 @@ var component = Object(componentNormalizer["a" /* default */])(
4407
4407
  // ESM COMPAT FLAG
4408
4408
  __webpack_require__.r(__webpack_exports__);
4409
4409
 
4410
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=cb2a9dc2&
4410
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=35c05d83&
4411
4411
  var render = function () {
4412
4412
  var _vm = this
4413
4413
  var _h = _vm.$createElement
@@ -4429,6 +4429,7 @@ var render = function () {
4429
4429
  opinion: _vm.value,
4430
4430
  type: "create",
4431
4431
  typeCode: "read",
4432
+ param: _vm.param,
4432
4433
  resetAppId: _vm.resetAppId,
4433
4434
  taskExamine: _vm.taskExamineInfo,
4434
4435
  "news-info": _vm.nextNode.notificationMsg,
@@ -6712,6 +6713,7 @@ var render = function () {
6712
6713
  attrs: {
6713
6714
  pendingId: _vm.pendingId,
6714
6715
  defaultOpinion: _vm.nodeDefaultSubmitOpinion,
6716
+ oldOption: _vm.value,
6715
6717
  type: _vm.flowType,
6716
6718
  multiple: _vm.flowMultiple,
6717
6719
  disabled: _vm.flowDisabled,
@@ -6790,7 +6792,7 @@ var staticRenderFns = []
6790
6792
  render._withStripped = true
6791
6793
 
6792
6794
 
6793
- // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=cb2a9dc2&
6795
+ // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=35c05d83&
6794
6796
 
6795
6797
  // EXTERNAL MODULE: external "babel-runtime/regenerator"
6796
6798
  var regenerator_ = __webpack_require__(4);
@@ -7603,21 +7605,21 @@ var _components;
7603
7605
  return validSate;
7604
7606
  },
7605
7607
 
7606
- /**
7607
- * changeOpinion
7608
- * @desc:监听意见变化
7609
- * @author liufan
7610
- * @date 2022年10月28日
7608
+ /**
7609
+ * changeOpinion
7610
+ * @desc:监听意见变化
7611
+ * @author liufan
7612
+ * @date 2022年10月28日
7611
7613
  **/
7612
7614
  changeOpinion: function changeOpinion() {
7613
7615
  this.$emit('change', this.form.value);
7614
7616
  },
7615
7617
 
7616
- /**
7617
- * getCommonOpion
7618
- * @desc:获取意见
7619
- * @author liufan
7620
- * @date 2022年5月25日
7618
+ /**
7619
+ * getCommonOpion
7620
+ * @desc:获取意见
7621
+ * @author liufan
7622
+ * @date 2022年5月25日
7621
7623
  **/
7622
7624
  getCommonOpion: function getCommonOpion() {
7623
7625
  var _this = this;
@@ -7646,24 +7648,24 @@ var _components;
7646
7648
  });
7647
7649
  },
7648
7650
 
7649
- /**
7650
- * upDate
7651
- * @desc:修改常用语
7652
- * @author liufan
7653
- * @param {Object} val 修改值
7654
- * @date 2022年5月25日
7651
+ /**
7652
+ * upDate
7653
+ * @desc:修改常用语
7654
+ * @author liufan
7655
+ * @param {Object} val 修改值
7656
+ * @date 2022年5月25日
7655
7657
  **/
7656
7658
  upDate: function upDate(val) {
7657
7659
  this.FormData.id = val.id;
7658
7660
  this.addVisible = true;
7659
7661
  },
7660
7662
 
7661
- /**
7662
- * selectChange
7663
- * @desc:常用语选择
7664
- * @author liufan
7665
- * @param {String} val 选中值
7666
- * @date 2022年5月25日
7663
+ /**
7664
+ * selectChange
7665
+ * @desc:常用语选择
7666
+ * @author liufan
7667
+ * @param {String} val 选中值
7668
+ * @date 2022年5月25日
7667
7669
  **/
7668
7670
  selectChange: function selectChange(val) {
7669
7671
  var _this2 = this;
@@ -7682,12 +7684,12 @@ var _components;
7682
7684
  });
7683
7685
  },
7684
7686
 
7685
- /**
7686
- * del
7687
- * @desc:删除常用语
7688
- * @author liufan
7689
- * @param {Object} val 删除的数据
7690
- * @date 2022年5月25日
7687
+ /**
7688
+ * del
7689
+ * @desc:删除常用语
7690
+ * @author liufan
7691
+ * @param {Object} val 删除的数据
7692
+ * @date 2022年5月25日
7691
7693
  **/
7692
7694
  del: function del(val) {
7693
7695
  var _this3 = this;
@@ -7729,12 +7731,12 @@ var _components;
7729
7731
  }).catch(function (e) {});
7730
7732
  },
7731
7733
 
7732
- /**
7733
- * submit
7734
- * @desc:新增/编辑意见保存
7735
- * @author liufan
7736
- * @param {Object} val 保存数据
7737
- * @date 2022年5月25日
7734
+ /**
7735
+ * submit
7736
+ * @desc:新增/编辑意见保存
7737
+ * @author liufan
7738
+ * @param {Object} val 保存数据
7739
+ * @date 2022年5月25日
7738
7740
  **/
7739
7741
  submit: function submit(val) {
7740
7742
  var _this4 = this;
@@ -10744,11 +10746,11 @@ var processFormvue_type_script_lang_js_components;
10744
10746
  });
10745
10747
  },
10746
10748
 
10747
- /**
10748
- * isMultiple
10749
- * @desc:是否多选
10750
- * @author liufan
10751
- * @date 2022年9月13日
10749
+ /**
10750
+ * isMultiple
10751
+ * @desc:是否多选
10752
+ * @author liufan
10753
+ * @date 2022年9月13日
10752
10754
  **/
10753
10755
  isMultiple: function isMultiple(val, choiceOrgId, choiceDeptId, pOrgId) {
10754
10756
  var multiple = false;
@@ -12326,8 +12328,8 @@ var processReject_component = Object(componentNormalizer["a" /* default */])(
12326
12328
  )
12327
12329
 
12328
12330
  /* harmony default export */ var processReject = (processReject_component.exports);
12329
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/startTaskRead.vue?vue&type=template&id=4cea7d04&
12330
- var startTaskReadvue_type_template_id_4cea7d04_render = function () {
12331
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/startTaskRead.vue?vue&type=template&id=fc718680&
12332
+ var startTaskReadvue_type_template_id_fc718680_render = function () {
12331
12333
  var _vm = this
12332
12334
  var _h = _vm.$createElement
12333
12335
  var _c = _vm._self._c || _h
@@ -12751,11 +12753,11 @@ var startTaskReadvue_type_template_id_4cea7d04_render = function () {
12751
12753
  1
12752
12754
  )
12753
12755
  }
12754
- var startTaskReadvue_type_template_id_4cea7d04_staticRenderFns = []
12755
- startTaskReadvue_type_template_id_4cea7d04_render._withStripped = true
12756
+ var startTaskReadvue_type_template_id_fc718680_staticRenderFns = []
12757
+ startTaskReadvue_type_template_id_fc718680_render._withStripped = true
12756
12758
 
12757
12759
 
12758
- // CONCATENATED MODULE: ./packages/flow/src/startTaskRead.vue?vue&type=template&id=4cea7d04&
12760
+ // CONCATENATED MODULE: ./packages/flow/src/startTaskRead.vue?vue&type=template&id=fc718680&
12759
12761
 
12760
12762
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/startTaskRead.vue?vue&type=script&lang=js&
12761
12763
  var startTaskReadvue_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; };
@@ -12943,6 +12945,7 @@ var startTaskReadvue_type_script_lang_js_components;
12943
12945
  option: { type: String, default: '' },
12944
12946
  typeCode: { type: String, default: '' },
12945
12947
  resetAppId: { type: String, default: '' },
12948
+ param: { type: Object, default: function _default() {} },
12946
12949
  taskExamine: { type: Object, default: function _default() {} },
12947
12950
  readParams: {
12948
12951
  type: [Object, undefined],
@@ -13006,7 +13009,7 @@ var startTaskReadvue_type_script_lang_js_components;
13006
13009
  },
13007
13010
  mounted: function mounted() {
13008
13011
  this.newsNoice = this.newsInfo;
13009
- if (this.readParams) {
13012
+ if (this.readParams || this.typeCode == 'read') {
13010
13013
  this.getMessage();
13011
13014
  }
13012
13015
  this.getFind();
@@ -13020,9 +13023,18 @@ var startTaskReadvue_type_script_lang_js_components;
13020
13023
  getMessage: function getMessage() {
13021
13024
  var _this = this;
13022
13025
 
13023
- var params = {
13024
- appId: this.readParams.appId
13025
- };
13026
+ var params = {};
13027
+ if (this.typeCode == 'read') {
13028
+ params = {
13029
+ processDefinitionId: this.param.processDefinitionId,
13030
+ businessId: this.param.businessId,
13031
+ businessName: this.param.businessName,
13032
+ bCode: this.param.bCode,
13033
+ bName: this.param.bName
13034
+ };
13035
+ } else {
13036
+ params.appId = this.readParams.appId;
13037
+ }
13026
13038
  util["a" /* default */].ajax({ url: api["O" /* getNotificationMsg */], params: params, methods: 'post' }).then(function (res) {
13027
13039
  if (res.status === 'success') {
13028
13040
  _this.newsNoice = res.message;
@@ -13168,11 +13180,11 @@ var startTaskReadvue_type_script_lang_js_components;
13168
13180
 
13169
13181
  var params = {
13170
13182
  url: api["Xb" /* toStartTaskRead */],
13171
- params: { pendingId: this.pendingId, taskAction: this.type }
13183
+ params: startTaskReadvue_type_script_lang_js_extends({ pendingId: this.pendingId, taskAction: this.type }, this.param)
13172
13184
  };
13173
13185
  if (this.typeCode == 'read') {
13174
13186
  delete params.params.pendingId;
13175
- params.params.appid = this.resetAppId;
13187
+ // params.params.appid = this.resetAppId;
13176
13188
  }
13177
13189
  if (this.type != 'taskReadAndEnd') delete params.params.taskAction;
13178
13190
  util["a" /* default */].ajax(params).then(function (res) {
@@ -13324,21 +13336,23 @@ var startTaskReadvue_type_script_lang_js_components;
13324
13336
  bCode: bCode,
13325
13337
  bName: bName,
13326
13338
  appId: appId,
13327
- businessId: businessId,
13339
+ businessId: businessId || _this8.param.businessId,
13328
13340
  choiceDeptId: choiceDeptId,
13329
13341
  choiceOrgId: choiceOrgId,
13330
13342
  businessName: businessName,
13331
13343
  processDefinitionId: processDefinitionId,
13332
- currentOrgProcessKey: processDefinitionId,
13344
+ currentOrgProcessKey: processDefinitionId || _this8.param.currentOrgProcessKey,
13333
13345
  pendingId: _this8.pendingId,
13334
13346
  opinion: _this8.option, // 审批意见
13335
13347
  userId: util["a" /* default */].getStorage('userId'),
13336
13348
  nextReadUserId: _this8.mixList.join('|'),
13337
- noticeType: noticeType,
13349
+ notificationType: noticeType,
13350
+ notificationMsg: _this8.newsNoice,
13338
13351
  taskAction: _this8.type
13339
13352
  // nextNodeId: this.form.nextNodeId
13340
13353
  });
13341
13354
  delete params.nextUser;
13355
+ delete params.noticeType;
13342
13356
  var _configInfo = _this8.configInfo,
13343
13357
  fyDoresult = _configInfo.fyDoresult,
13344
13358
  fyeh = _configInfo.fyeh,
@@ -13435,8 +13449,8 @@ var startTaskReadvue_type_script_lang_js_components;
13435
13449
 
13436
13450
  var startTaskRead_component = Object(componentNormalizer["a" /* default */])(
13437
13451
  src_startTaskReadvue_type_script_lang_js_,
13438
- startTaskReadvue_type_template_id_4cea7d04_render,
13439
- startTaskReadvue_type_template_id_4cea7d04_staticRenderFns,
13452
+ startTaskReadvue_type_template_id_fc718680_render,
13453
+ startTaskReadvue_type_template_id_fc718680_staticRenderFns,
13440
13454
  false,
13441
13455
  null,
13442
13456
  null,
@@ -13445,8 +13459,8 @@ var startTaskRead_component = Object(componentNormalizer["a" /* default */])(
13445
13459
  )
13446
13460
 
13447
13461
  /* harmony default export */ var startTaskRead = (startTaskRead_component.exports);
13448
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/reset.vue?vue&type=template&id=6b258c7a&
13449
- var resetvue_type_template_id_6b258c7a_render = function () {
13462
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/reset.vue?vue&type=template&id=7924ff92&
13463
+ var resetvue_type_template_id_7924ff92_render = function () {
13450
13464
  var _vm = this
13451
13465
  var _h = _vm.$createElement
13452
13466
  var _c = _vm._self._c || _h
@@ -13872,11 +13886,11 @@ var resetvue_type_template_id_6b258c7a_render = function () {
13872
13886
  1
13873
13887
  )
13874
13888
  }
13875
- var resetvue_type_template_id_6b258c7a_staticRenderFns = []
13876
- resetvue_type_template_id_6b258c7a_render._withStripped = true
13889
+ var resetvue_type_template_id_7924ff92_staticRenderFns = []
13890
+ resetvue_type_template_id_7924ff92_render._withStripped = true
13877
13891
 
13878
13892
 
13879
- // CONCATENATED MODULE: ./packages/flow/src/reset.vue?vue&type=template&id=6b258c7a&
13893
+ // CONCATENATED MODULE: ./packages/flow/src/reset.vue?vue&type=template&id=7924ff92&
13880
13894
 
13881
13895
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/reset.vue?vue&type=script&lang=js&
13882
13896
  var resetvue_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; };
@@ -14600,11 +14614,11 @@ var resetvue_type_script_lang_js_components;
14600
14614
  });
14601
14615
  },
14602
14616
 
14603
- /**
14604
- * isMultiple
14605
- * @desc:是否多选
14606
- * @author liufan
14607
- * @date 2022年9月13日
14617
+ /**
14618
+ * isMultiple
14619
+ * @desc:是否多选
14620
+ * @author liufan
14621
+ * @date 2022年9月13日
14608
14622
  **/
14609
14623
  isMultiple: function isMultiple(val, choiceOrgId, choiceDeptId, pOrgId) {
14610
14624
  var multiple = false;
@@ -14737,8 +14751,8 @@ var resetvue_type_script_lang_js_components;
14737
14751
 
14738
14752
  var reset_component = Object(componentNormalizer["a" /* default */])(
14739
14753
  src_resetvue_type_script_lang_js_,
14740
- resetvue_type_template_id_6b258c7a_render,
14741
- resetvue_type_template_id_6b258c7a_staticRenderFns,
14754
+ resetvue_type_template_id_7924ff92_render,
14755
+ resetvue_type_template_id_7924ff92_staticRenderFns,
14742
14756
  false,
14743
14757
  null,
14744
14758
  null,
@@ -14747,8 +14761,8 @@ var reset_component = Object(componentNormalizer["a" /* default */])(
14747
14761
  )
14748
14762
 
14749
14763
  /* harmony default export */ var src_reset = (reset_component.exports);
14750
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=51053046&
14751
- var taskUnionExaminevue_type_template_id_51053046_render = function () {
14764
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=50ceceb4&
14765
+ var taskUnionExaminevue_type_template_id_50ceceb4_render = function () {
14752
14766
  var _vm = this
14753
14767
  var _h = _vm.$createElement
14754
14768
  var _c = _vm._self._c || _h
@@ -15001,11 +15015,11 @@ var taskUnionExaminevue_type_template_id_51053046_render = function () {
15001
15015
  1
15002
15016
  )
15003
15017
  }
15004
- var taskUnionExaminevue_type_template_id_51053046_staticRenderFns = []
15005
- taskUnionExaminevue_type_template_id_51053046_render._withStripped = true
15018
+ var taskUnionExaminevue_type_template_id_50ceceb4_staticRenderFns = []
15019
+ taskUnionExaminevue_type_template_id_50ceceb4_render._withStripped = true
15006
15020
 
15007
15021
 
15008
- // CONCATENATED MODULE: ./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=51053046&
15022
+ // CONCATENATED MODULE: ./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=50ceceb4&
15009
15023
 
15010
15024
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/taskUnionExamine.vue?vue&type=script&lang=js&
15011
15025
  var taskUnionExaminevue_type_script_lang_js_components;
@@ -15151,6 +15165,7 @@ var taskUnionExaminevue_type_script_lang_js_components;
15151
15165
  pendingId: { type: String, default: '' },
15152
15166
  type: { type: String, default: '' },
15153
15167
  defaultOpinion: { type: String, default: '' },
15168
+ oldOption: { type: String, default: '' },
15154
15169
  disabled: { type: Boolean, default: false },
15155
15170
  multiple: { type: Boolean, default: true }
15156
15171
  },
@@ -15194,6 +15209,7 @@ var taskUnionExaminevue_type_script_lang_js_components;
15194
15209
  mounted: function mounted() {
15195
15210
  this.loading = true;
15196
15211
  this.newMultiple = this.multiple;
15212
+ this.opinion = this.oldOption;
15197
15213
  this.getNodeType();
15198
15214
  if (this.type === 'taskReview') return this.getTaskReview();
15199
15215
  this.getInfo();
@@ -15268,7 +15284,9 @@ var taskUnionExaminevue_type_script_lang_js_components;
15268
15284
  initiatorUser = _res$data.initiatorUser,
15269
15285
  taskExamine = _res$data.taskExamine;
15270
15286
 
15271
- _this2.opinion = taskExamine.opinion;
15287
+ if (taskExamine.opinion) {
15288
+ _this2.opinion = taskExamine.opinion;
15289
+ }
15272
15290
  _this2.infoList.nextOtherOrgObj.push(initiatorUser.userId);
15273
15291
  _this2.onlyName = initiatorUser.username;
15274
15292
  _this2.isSubFlow = taskExamine.isSubFlow;
@@ -15342,7 +15360,9 @@ var taskUnionExaminevue_type_script_lang_js_components;
15342
15360
  _this3.notificationMessageReadOnly = notificationMessageReadOnly == 'true';
15343
15361
  _this3.isSinglePage = taskExamine.isSinglePage;
15344
15362
  _this3.isSubFlow = taskExamine.isSubFlow;
15345
- _this3.opinion = taskExamine.opinion;
15363
+ if (taskExamine.opinion) {
15364
+ _this3.opinion = taskExamine.opinion;
15365
+ }
15346
15366
  _this3.choiceDeptId = choiceDeptId;
15347
15367
  _this3.choiceOrgId = choiceOrgId;
15348
15368
  if (_this3.type == 'takeAdvice' || _this3.type == 'startDraf') {
@@ -15560,8 +15580,8 @@ var taskUnionExaminevue_type_script_lang_js_components;
15560
15580
 
15561
15581
  var taskUnionExamine_component = Object(componentNormalizer["a" /* default */])(
15562
15582
  component_taskUnionExaminevue_type_script_lang_js_,
15563
- taskUnionExaminevue_type_template_id_51053046_render,
15564
- taskUnionExaminevue_type_template_id_51053046_staticRenderFns,
15583
+ taskUnionExaminevue_type_template_id_50ceceb4_render,
15584
+ taskUnionExaminevue_type_template_id_50ceceb4_staticRenderFns,
15565
15585
  false,
15566
15586
  null,
15567
15587
  null,
@@ -18968,11 +18988,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
18968
18988
  });
18969
18989
  },
18970
18990
 
18971
- /**
18972
- * saveInfo
18973
- * @desc:暂存
18974
- * @author liufan
18975
- * @date 2022年9月9日
18991
+ /**
18992
+ * saveInfo
18993
+ * @desc:暂存
18994
+ * @author liufan
18995
+ * @date 2022年9月9日
18976
18996
  **/
18977
18997
  saveInfo: function saveInfo(type, btn) {
18978
18998
  var _this6 = this;
@@ -19034,11 +19054,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
19034
19054
  });
19035
19055
  },
19036
19056
 
19037
- /**
19038
- * rejectBtn
19039
- * @desc:点击驳回
19040
- * @author liufan
19041
- * @date 2022年5月25日
19057
+ /**
19058
+ * rejectBtn
19059
+ * @desc:点击驳回
19060
+ * @author liufan
19061
+ * @date 2022年5月25日
19042
19062
  **/
19043
19063
  rejectBtn: function rejectBtn() {
19044
19064
  var _this8 = this;
@@ -19056,11 +19076,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
19056
19076
  }
19057
19077
  },
19058
19078
 
19059
- /**
19060
- * taskReadBtn
19061
- * @desc:点击分阅
19062
- * @author liufan
19063
- * @date 2022年5月25日
19079
+ /**
19080
+ * taskReadBtn
19081
+ * @desc:点击分阅
19082
+ * @author liufan
19083
+ * @date 2022年5月25日
19064
19084
  **/
19065
19085
  taskReadBtn: function taskReadBtn() {
19066
19086
  var _this9 = this;
@@ -19079,11 +19099,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
19079
19099
  }
19080
19100
  },
19081
19101
 
19082
- /**
19083
- * getFind
19084
- * @desc:获取通知方式
19085
- * @author liufan
19086
- * @date 2022年5月25日
19102
+ /**
19103
+ * getFind
19104
+ * @desc:获取通知方式
19105
+ * @author liufan
19106
+ * @date 2022年5月25日
19087
19107
  **/
19088
19108
  getFind: function getFind() {
19089
19109
  var _this10 = this;
@@ -19138,12 +19158,12 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
19138
19158
  });
19139
19159
  },
19140
19160
 
19141
- /**
19142
- * endFlows
19143
- * @desc:直接办结
19144
- * @author liufan
19145
- * @param {Object} res 直接办结数据
19146
- * @date 2022年5月25日
19161
+ /**
19162
+ * endFlows
19163
+ * @desc:直接办结
19164
+ * @author liufan
19165
+ * @param {Object} res 直接办结数据
19166
+ * @date 2022年5月25日
19147
19167
  **/
19148
19168
  endFlows: function endFlows(res) {
19149
19169
  var _this12 = this;
@@ -19197,12 +19217,12 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
19197
19217
  }).catch(function (e) {});
19198
19218
  },
19199
19219
 
19200
- /**
19201
- * goView
19202
- * @desc:更多流程按钮操作
19203
- * @author liufan
19204
- * @param {Object} res 当前点击操作按钮数据
19205
- * @date 2022年5月25日
19220
+ /**
19221
+ * goView
19222
+ * @desc:更多流程按钮操作
19223
+ * @author liufan
19224
+ * @param {Object} res 当前点击操作按钮数据
19225
+ * @date 2022年5月25日
19206
19226
  **/
19207
19227
  goView: function goView(res) {
19208
19228
  // 驳回并办结:rejectAndEndHtml
@@ -19287,11 +19307,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
19287
19307
  // isCanStartSubFlow
19288
19308
  },
19289
19309
 
19290
- /**
19291
- * toTakeAdvice
19292
- * @desc:征求意见
19293
- * @author liufan
19294
- * @date 2022年9月29日
19310
+ /**
19311
+ * toTakeAdvice
19312
+ * @desc:征求意见
19313
+ * @author liufan
19314
+ * @date 2022年9月29日
19295
19315
  **/
19296
19316
  toTakeAdvice: function toTakeAdvice(res) {
19297
19317
  var _this14 = this;
@@ -19335,11 +19355,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
19335
19355
  });
19336
19356
  },
19337
19357
 
19338
- /**
19339
- * toStartDraf
19340
- * @desc: 稿件递送、联合审核、复核
19341
- * @author liufan
19342
- * @date 2022年9月29日
19358
+ /**
19359
+ * toStartDraf
19360
+ * @desc: 稿件递送、联合审核、复核
19361
+ * @author liufan
19362
+ * @date 2022年9月29日
19343
19363
  **/
19344
19364
  toStartDraf: function toStartDraf(res) {
19345
19365
  var _this16 = this;
@@ -19353,11 +19373,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
19353
19373
  }
19354
19374
  },
19355
19375
 
19356
- /**
19357
- * toSendMsg
19358
- * @desc:核稿通知
19359
- * @author liufan
19360
- * @date 2022年9月29日
19376
+ /**
19377
+ * toSendMsg
19378
+ * @desc:核稿通知
19379
+ * @author liufan
19380
+ * @date 2022年9月29日
19361
19381
  **/
19362
19382
  toSendMsg: function toSendMsg(res) {
19363
19383
  var _this17 = this;
@@ -19371,11 +19391,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
19371
19391
  }
19372
19392
  },
19373
19393
 
19374
- /**
19375
- * toTaskReadAndEnd
19376
- * @desc:分阅并办结
19377
- * @author liufan
19378
- * @date 2022年9月29日
19394
+ /**
19395
+ * toTaskReadAndEnd
19396
+ * @desc:分阅并办结
19397
+ * @author liufan
19398
+ * @date 2022年9月29日
19379
19399
  **/
19380
19400
  toTaskReadAndEnd: function toTaskReadAndEnd(res) {
19381
19401
  var _this18 = this;
@@ -19393,11 +19413,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
19393
19413
  }
19394
19414
  },
19395
19415
 
19396
- /**
19397
- * rejectAndEnd
19398
- * @desc:驳回并办结
19399
- * @author liufan
19400
- * @date 2022年9月29日
19416
+ /**
19417
+ * rejectAndEnd
19418
+ * @desc:驳回并办结
19419
+ * @author liufan
19420
+ * @date 2022年9月29日
19401
19421
  **/
19402
19422
  rejectAndEnd: function rejectAndEnd(res) {
19403
19423
  var _this19 = this;
@@ -19452,11 +19472,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
19452
19472
  });
19453
19473
  },
19454
19474
 
19455
- /**
19456
- * toTransfer
19457
- * @desc:转办
19458
- * @author liufan
19459
- * @date 2022年9月29日
19475
+ /**
19476
+ * toTransfer
19477
+ * @desc:转办
19478
+ * @author liufan
19479
+ * @date 2022年9月29日
19460
19480
  **/
19461
19481
  toTransfer: function toTransfer(res) {
19462
19482
  var _this21 = this;
@@ -19472,11 +19492,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
19472
19492
  }
19473
19493
  },
19474
19494
 
19475
- /**
19476
- * getNodeInfo
19477
- * @desc:获取节点信息
19478
- * @author liufan
19479
- * @date 2022年5月25日
19495
+ /**
19496
+ * getNodeInfo
19497
+ * @desc:获取节点信息
19498
+ * @author liufan
19499
+ * @date 2022年5月25日
19480
19500
  **/
19481
19501
  getNodeInfo: function getNodeInfo() {
19482
19502
  var _this22 = this;
@@ -19575,12 +19595,12 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
19575
19595
  });
19576
19596
  },
19577
19597
 
19578
- /**
19579
- * selecNext
19580
- * @desc:下步节点变化时更新数据
19581
- * @author liufan
19582
- * @param {String} val 当前选中值
19583
- * @date 2022年5月25日
19598
+ /**
19599
+ * selecNext
19600
+ * @desc:下步节点变化时更新数据
19601
+ * @author liufan
19602
+ * @param {String} val 当前选中值
19603
+ * @date 2022年5月25日
19584
19604
  **/
19585
19605
  selecNext: function selecNext(val, type, isDef) {
19586
19606
  var _this23 = this;
@@ -19689,11 +19709,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
19689
19709
  if (isDef !== true) this.getNodeInfo();
19690
19710
  },
19691
19711
 
19692
- /**
19693
- * isMultiple
19694
- * @desc:是否多选
19695
- * @author liufan
19696
- * @date 2022年9月13日
19712
+ /**
19713
+ * isMultiple
19714
+ * @desc:是否多选
19715
+ * @author liufan
19716
+ * @date 2022年9月13日
19697
19717
  **/
19698
19718
  isMultiple: function isMultiple(val, choiceOrgId, choiceDeptId, pOrgId) {
19699
19719
  if (val == 2 || val == 4 || val == 6 || val == 16) {
@@ -19725,11 +19745,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
19725
19745
  }
19726
19746
  },
19727
19747
 
19728
- /**
19729
- * getHedInfo
19730
- * @desc:获取审核页面数据
19731
- * @author liufan
19732
- * @date 2022年5月25日
19748
+ /**
19749
+ * getHedInfo
19750
+ * @desc:获取审核页面数据
19751
+ * @author liufan
19752
+ * @date 2022年5月25日
19733
19753
  **/
19734
19754
  getHedInfo: function getHedInfo() {
19735
19755
  var _this24 = this;
@@ -19965,13 +19985,13 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
19965
19985
  });
19966
19986
  },
19967
19987
 
19968
- /**
19969
- * closeProcess
19970
- * @desc:关闭弹窗
19971
- * @author liufan
19972
- * @param {boolean} val 当前是否办理流程
19973
- * @param {String} type 当前点击的弹窗类型
19974
- * @date 2022年5月25日
19988
+ /**
19989
+ * closeProcess
19990
+ * @desc:关闭弹窗
19991
+ * @author liufan
19992
+ * @param {boolean} val 当前是否办理流程
19993
+ * @param {String} type 当前点击的弹窗类型
19994
+ * @date 2022年5月25日
19975
19995
  **/
19976
19996
  closeProcess: function closeProcess(val, type, closeParent) {
19977
19997
  if (closeParent) {
@@ -19988,23 +20008,23 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
19988
20008
  }
19989
20009
  },
19990
20010
 
19991
- /**
19992
- * selectChange
19993
- * @desc:常用语选择
19994
- * @author liufan
19995
- * @param {String} val 选中值
19996
- * @date 2022年5月25日
20011
+ /**
20012
+ * selectChange
20013
+ * @desc:常用语选择
20014
+ * @author liufan
20015
+ * @param {String} val 选中值
20016
+ * @date 2022年5月25日
19997
20017
  **/
19998
20018
  selectChange: function selectChange(val) {
19999
20019
  this.value = val;
20000
20020
  },
20001
20021
 
20002
- /**
20003
- * upDate
20004
- * @desc:修改常用语
20005
- * @author liufan
20006
- * @param {Object} val 修改值
20007
- * @date 2022年5月25日
20022
+ /**
20023
+ * upDate
20024
+ * @desc:修改常用语
20025
+ * @author liufan
20026
+ * @param {Object} val 修改值
20027
+ * @date 2022年5月25日
20008
20028
  **/
20009
20029
  upDate: function upDate(val) {
20010
20030
  this.FormData.id = val.id;
@@ -20012,11 +20032,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
20012
20032
  },
20013
20033
 
20014
20034
 
20015
- /**
20016
- * getProcess
20017
- * @desc:获取选择流程
20018
- * @author liufan
20019
- * @date 2022年5月25日
20035
+ /**
20036
+ * getProcess
20037
+ * @desc:获取选择流程
20038
+ * @author liufan
20039
+ * @date 2022年5月25日
20020
20040
  **/
20021
20041
  getProcess: function getProcess() {
20022
20042
  var _this25 = this;
@@ -20070,11 +20090,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
20070
20090
  });
20071
20091
  },
20072
20092
 
20073
- /**
20074
- * getPendedhistoryList
20075
- * @desc:获取流程列表
20076
- * @author liufan
20077
- * @date 2022年5月25日
20093
+ /**
20094
+ * getPendedhistoryList
20095
+ * @desc:获取流程列表
20096
+ * @author liufan
20097
+ * @date 2022年5月25日
20078
20098
  **/
20079
20099
  getPendedhistoryList: function getPendedhistoryList() {
20080
20100
  var _this26 = this;
@@ -20106,12 +20126,12 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
20106
20126
  },
20107
20127
 
20108
20128
  // 提交流程
20109
- /**
20110
- * subProcess
20111
- * @desc:提交流程
20112
- * @author liufan
20113
- * @param {String} formName 当前form表单ref值
20114
- * @date 2022年5月25日
20129
+ /**
20130
+ * subProcess
20131
+ * @desc:提交流程
20132
+ * @author liufan
20133
+ * @param {String} formName 当前form表单ref值
20134
+ * @date 2022年5月25日
20115
20135
  **/
20116
20136
  subProcess: function subProcess(val) {
20117
20137
  var _this27 = this;
@@ -21568,6 +21588,17 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21568
21588
  //
21569
21589
  //
21570
21590
  //
21591
+ //
21592
+ //
21593
+ //
21594
+ //
21595
+ //
21596
+ //
21597
+ //
21598
+ //
21599
+ //
21600
+ //
21601
+ //
21571
21602
 
21572
21603
 
21573
21604
 
@@ -22226,11 +22257,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
22226
22257
  });
22227
22258
  },
22228
22259
 
22229
- /**
22230
- * saveInfo
22231
- * @desc:暂存
22232
- * @author liufan
22233
- * @date 2022年9月9日
22260
+ /**
22261
+ * saveInfo
22262
+ * @desc:暂存
22263
+ * @author liufan
22264
+ * @date 2022年9月9日
22234
22265
  **/
22235
22266
  saveInfo: function saveInfo(type, btn) {
22236
22267
  var _this8 = this;
@@ -22292,11 +22323,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
22292
22323
  });
22293
22324
  },
22294
22325
 
22295
- /**
22296
- * rejectBtn
22297
- * @desc:点击驳回
22298
- * @author liufan
22299
- * @date 2022年5月25日
22326
+ /**
22327
+ * rejectBtn
22328
+ * @desc:点击驳回
22329
+ * @author liufan
22330
+ * @date 2022年5月25日
22300
22331
  **/
22301
22332
  rejectBtn: function rejectBtn() {
22302
22333
  var _this10 = this;
@@ -22314,11 +22345,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
22314
22345
  }
22315
22346
  },
22316
22347
 
22317
- /**
22318
- * taskReadBtn
22319
- * @desc:点击分阅
22320
- * @author liufan
22321
- * @date 2022年5月25日
22348
+ /**
22349
+ * taskReadBtn
22350
+ * @desc:点击分阅
22351
+ * @author liufan
22352
+ * @date 2022年5月25日
22322
22353
  **/
22323
22354
  taskReadBtn: function taskReadBtn() {
22324
22355
  var _this11 = this;
@@ -22337,11 +22368,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
22337
22368
  }
22338
22369
  },
22339
22370
 
22340
- /**
22341
- * getFind
22342
- * @desc:获取通知方式
22343
- * @author liufan
22344
- * @date 2022年5月25日
22371
+ /**
22372
+ * getFind
22373
+ * @desc:获取通知方式
22374
+ * @author liufan
22375
+ * @date 2022年5月25日
22345
22376
  **/
22346
22377
  getFind: function getFind() {
22347
22378
  var _this12 = this;
@@ -22407,12 +22438,12 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
22407
22438
  });
22408
22439
  },
22409
22440
 
22410
- /**
22411
- * endFlows
22412
- * @desc:直接办结
22413
- * @author liufan
22414
- * @param {Object} res 直接办结数据
22415
- * @date 2022年5月25日
22441
+ /**
22442
+ * endFlows
22443
+ * @desc:直接办结
22444
+ * @author liufan
22445
+ * @param {Object} res 直接办结数据
22446
+ * @date 2022年5月25日
22416
22447
  **/
22417
22448
  endFlows: function endFlows(res) {
22418
22449
  var _this14 = this;
@@ -22466,12 +22497,12 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
22466
22497
  }).catch(function (e) {});
22467
22498
  },
22468
22499
 
22469
- /**
22470
- * goView
22471
- * @desc:更多流程按钮操作
22472
- * @author liufan
22473
- * @param {Object} res 当前点击操作按钮数据
22474
- * @date 2022年5月25日
22500
+ /**
22501
+ * goView
22502
+ * @desc:更多流程按钮操作
22503
+ * @author liufan
22504
+ * @param {Object} res 当前点击操作按钮数据
22505
+ * @date 2022年5月25日
22475
22506
  **/
22476
22507
  goView: function goView(res) {
22477
22508
  // 驳回并办结:rejectAndEndHtml
@@ -22556,11 +22587,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
22556
22587
  // isCanStartSubFlow
22557
22588
  },
22558
22589
 
22559
- /**
22560
- * toTakeAdvice
22561
- * @desc:征求意见
22562
- * @author liufan
22563
- * @date 2022年9月29日
22590
+ /**
22591
+ * toTakeAdvice
22592
+ * @desc:征求意见
22593
+ * @author liufan
22594
+ * @date 2022年9月29日
22564
22595
  **/
22565
22596
  toTakeAdvice: function toTakeAdvice(res) {
22566
22597
  var _this16 = this;
@@ -22604,11 +22635,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
22604
22635
  });
22605
22636
  },
22606
22637
 
22607
- /**
22608
- * toStartDraf
22609
- * @desc: 稿件递送、联合审核、复核
22610
- * @author liufan
22611
- * @date 2022年9月29日
22638
+ /**
22639
+ * toStartDraf
22640
+ * @desc: 稿件递送、联合审核、复核
22641
+ * @author liufan
22642
+ * @date 2022年9月29日
22612
22643
  **/
22613
22644
  toStartDraf: function toStartDraf(res) {
22614
22645
  var _this18 = this;
@@ -22622,11 +22653,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
22622
22653
  }
22623
22654
  },
22624
22655
 
22625
- /**
22626
- * toSendMsg
22627
- * @desc:核稿通知
22628
- * @author liufan
22629
- * @date 2022年9月29日
22656
+ /**
22657
+ * toSendMsg
22658
+ * @desc:核稿通知
22659
+ * @author liufan
22660
+ * @date 2022年9月29日
22630
22661
  **/
22631
22662
  toSendMsg: function toSendMsg(res) {
22632
22663
  var _this19 = this;
@@ -22640,11 +22671,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
22640
22671
  }
22641
22672
  },
22642
22673
 
22643
- /**
22644
- * toTaskReadAndEnd
22645
- * @desc:分阅并办结
22646
- * @author liufan
22647
- * @date 2022年9月29日
22674
+ /**
22675
+ * toTaskReadAndEnd
22676
+ * @desc:分阅并办结
22677
+ * @author liufan
22678
+ * @date 2022年9月29日
22648
22679
  **/
22649
22680
  toTaskReadAndEnd: function toTaskReadAndEnd(res) {
22650
22681
  var _this20 = this;
@@ -22662,11 +22693,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
22662
22693
  }
22663
22694
  },
22664
22695
 
22665
- /**
22666
- * rejectAndEnd
22667
- * @desc:驳回并办结
22668
- * @author liufan
22669
- * @date 2022年9月29日
22696
+ /**
22697
+ * rejectAndEnd
22698
+ * @desc:驳回并办结
22699
+ * @author liufan
22700
+ * @date 2022年9月29日
22670
22701
  **/
22671
22702
  rejectAndEnd: function rejectAndEnd(res) {
22672
22703
  var _this21 = this;
@@ -22721,11 +22752,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
22721
22752
  });
22722
22753
  },
22723
22754
 
22724
- /**
22725
- * toTransfer
22726
- * @desc:转办
22727
- * @author liufan
22728
- * @date 2022年9月29日
22755
+ /**
22756
+ * toTransfer
22757
+ * @desc:转办
22758
+ * @author liufan
22759
+ * @date 2022年9月29日
22729
22760
  **/
22730
22761
  toTransfer: function toTransfer(res) {
22731
22762
  var _this23 = this;
@@ -22741,11 +22772,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
22741
22772
  }
22742
22773
  },
22743
22774
 
22744
- /**
22745
- * getNodeInfo
22746
- * @desc:获取节点信息
22747
- * @author liufan
22748
- * @date 2022年5月25日
22775
+ /**
22776
+ * getNodeInfo
22777
+ * @desc:获取节点信息
22778
+ * @author liufan
22779
+ * @date 2022年5月25日
22749
22780
  **/
22750
22781
  getNodeInfo: function getNodeInfo() {
22751
22782
  var _this24 = this;
@@ -22845,17 +22876,18 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
22845
22876
  });
22846
22877
  },
22847
22878
 
22848
- /**
22849
- * selecNext
22850
- * @desc:下步节点变化时更新数据
22851
- * @author liufan
22852
- * @param {String} val 当前选中值
22853
- * @date 2022年5月25日
22879
+ /**
22880
+ * selecNext
22881
+ * @desc:下步节点变化时更新数据
22882
+ * @author liufan
22883
+ * @param {String} val 当前选中值
22884
+ * @date 2022年5月25日
22854
22885
  **/
22855
22886
  selecNext: function selecNext(val, type, isDef) {
22856
22887
  var _this25 = this;
22857
22888
 
22858
22889
  this.loading = util["a" /* default */].loading(this.$loading, '加载中...');
22890
+ console.log(val, type, isDef);
22859
22891
  if (this.multiple) {
22860
22892
  this.nextNode.nextUserId = [];
22861
22893
  } else {
@@ -22882,7 +22914,6 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
22882
22914
  this.nextNode.isSerialSubmit = 0;
22883
22915
  this.nodeInfos = [];
22884
22916
  this.operationList.forEach(function (item) {
22885
- console.log(item, val, 'aaa');
22886
22917
  if (item.key === val) {
22887
22918
  if (!item.taskNodeList) {
22888
22919
  _this25.nodeInfos = [];
@@ -22957,14 +22988,14 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
22957
22988
  } else {}
22958
22989
  }
22959
22990
 
22960
- if (isDef !== true) this.getNodeInfo();
22991
+ this.getNodeInfo();
22961
22992
  },
22962
22993
 
22963
- /**
22964
- * isMultiple
22965
- * @desc:是否多选
22966
- * @author liufan
22967
- * @date 2022年9月13日
22994
+ /**
22995
+ * isMultiple
22996
+ * @desc:是否多选
22997
+ * @author liufan
22998
+ * @date 2022年9月13日
22968
22999
  **/
22969
23000
  isMultiple: function isMultiple(val, choiceOrgId, choiceDeptId, pOrgId) {
22970
23001
  if (val == 2 || val == 4 || val == 6 || val == 16) {
@@ -22996,11 +23027,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
22996
23027
  }
22997
23028
  },
22998
23029
 
22999
- /**
23000
- * getHedInfo
23001
- * @desc:获取审核页面数据
23002
- * @author liufan
23003
- * @date 2022年5月25日
23030
+ /**
23031
+ * getHedInfo
23032
+ * @desc:获取审核页面数据
23033
+ * @author liufan
23034
+ * @date 2022年5月25日
23004
23035
  **/
23005
23036
  getHedInfo: function getHedInfo() {
23006
23037
  var _this26 = this;
@@ -23086,6 +23117,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
23086
23117
  }
23087
23118
  if (canRemoveSignUserList && canRemoveSignUserList.length != 0) _this26.removeUsers = canRemoveSignUserList;
23088
23119
  if (taskOperations && taskOperations.length != 0) {
23120
+ var isSelected = false;
23089
23121
  taskOperations.map(function (item) {
23090
23122
  if (item.key === 9) _this26.isReject = true;
23091
23123
  if (item.isSelected) {
@@ -23094,16 +23126,16 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
23094
23126
  if (item.taskNodeList != null) {
23095
23127
  _this26.nodeInfos = item.taskNodeList;
23096
23128
  }
23097
- }
23098
- if (taskOperations.length > 0) {
23099
- _this26.nodeInfos = [];
23100
- _this26.nextNode.nextOperate = taskOperations[0].key;
23101
- if (taskOperations[0].taskNodeList != null) {
23102
- _this26.nodeInfos = taskOperations[0].taskNodeList;
23103
- }
23129
+ isSelected = true;
23104
23130
  }
23105
23131
  });
23106
- _this26.selecNext(_this26.nextNode.nextOperate, true, true);
23132
+ if (taskOperations.length > 0 && !isSelected) {
23133
+ _this26.nodeInfos = [];
23134
+ _this26.nextNode.nextOperate = taskOperations[0].key;
23135
+ if (taskOperations[0].taskNodeList != null) {
23136
+ _this26.nodeInfos = taskOperations[0].taskNodeList;
23137
+ }
23138
+ }
23107
23139
  }
23108
23140
  if (nodeInfoMap && JSON.stringify(nodeInfoMap) != '{}') {
23109
23141
  _this26.needRetrialAuth = !!nodeInfoMap.nodeExtAttr.isCurrentNodeSubmitNeedRetrialAuth;
@@ -23158,16 +23190,17 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
23158
23190
  _this26.taskExamineInfo.choiceOrgId = choiceOrgId;
23159
23191
  _this26.taskExamineInfo.choiceDeptId = choiceDeptId;
23160
23192
  _this26.endFlowInfo.processType = taskExamine.processType;
23161
- _this26.endFlowInfo.isReturnSubmitter = taskExamine.isReturnSubmitter;
23162
- _this26.nextNode.isReturnSubmitter = taskExamine.isReturnSubmitter;
23163
- _this26.nextNode.isUndertakeReply = taskExamine.isUndertakeReply;
23164
- _this26.nextNode.isTakeAdviceReply = taskExamine.isTakeAdviceReply;
23165
- _this26.nextNode.isUndertakeEnd = taskExamine.isUndertakeEnd;
23166
- _this26.nextNode.isTakeAdviceEnd = taskExamine.isTakeAdviceEnd;
23167
- _this26.nextNode.isReadDealReply = taskExamine.isReadDealReply;
23168
- _this26.nextNode.isReadDealEnd = taskExamine.isReadDealEnd;
23169
- _this26.nextNode.isReturnRejectNode = taskExamine.isReturnRejectNode;
23170
- _this26.nextNode.isSerialSubmit = taskExamine.isSerialSubmit;
23193
+ // this.endFlowInfo.isReturnSubmitter =
23194
+ // taskExamine.isReturnSubmitter;
23195
+ // this.nextNode.isReturnSubmitter = taskExamine.isReturnSubmitter;
23196
+ // this.nextNode.isUndertakeReply = taskExamine.isUndertakeReply;
23197
+ // this.nextNode.isTakeAdviceReply = taskExamine.isTakeAdviceReply;
23198
+ // this.nextNode.isUndertakeEnd = taskExamine.isUndertakeEnd;
23199
+ // this.nextNode.isTakeAdviceEnd = taskExamine.isTakeAdviceEnd;
23200
+ // this.nextNode.isReadDealReply = taskExamine.isReadDealReply;
23201
+ // this.nextNode.isReadDealEnd = taskExamine.isReadDealEnd;
23202
+ // this.nextNode.isReturnRejectNode = taskExamine.isReturnRejectNode;
23203
+ // this.nextNode.isSerialSubmit = taskExamine.isSerialSubmit;
23171
23204
  _this26.endFlowInfo.isSubFlow = taskExamine.isSubFlow;
23172
23205
  _this26.endFlowInfo.isUndertakeReply = taskExamine.isUndertakeReply;
23173
23206
  _this26.endFlowInfo.isUndertakeEnd = taskExamine.isUndertakeEnd;
@@ -23220,8 +23253,8 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
23220
23253
  _this26.presetTaskNodeMap = presetTaskNodeMap;
23221
23254
  _this26.presetTaskNodeKeyStr = presetTaskNodeKeyStr;
23222
23255
  _this26.getFind();
23223
-
23224
- _this26.getNodeInfo();
23256
+ _this26.selecNext(_this26.nextNode.nextOperate, true, true);
23257
+ // this.getNodeInfo();
23225
23258
  _this26.StartTaskReadKey++;
23226
23259
  } else {
23227
23260
  if (res.status === 'taskCompleted') {
@@ -23240,13 +23273,13 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
23240
23273
  });
23241
23274
  },
23242
23275
 
23243
- /**
23244
- * closeProcess
23245
- * @desc:关闭弹窗
23246
- * @author liufan
23247
- * @param {boolean} val 当前是否办理流程
23248
- * @param {String} type 当前点击的弹窗类型
23249
- * @date 2022年5月25日
23276
+ /**
23277
+ * closeProcess
23278
+ * @desc:关闭弹窗
23279
+ * @author liufan
23280
+ * @param {boolean} val 当前是否办理流程
23281
+ * @param {String} type 当前点击的弹窗类型
23282
+ * @date 2022年5月25日
23250
23283
  **/
23251
23284
  closeProcess: function closeProcess(val, type, closeParent) {
23252
23285
  if (closeParent) {
@@ -23263,23 +23296,23 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
23263
23296
  }
23264
23297
  },
23265
23298
 
23266
- /**
23267
- * selectChange
23268
- * @desc:常用语选择
23269
- * @author liufan
23270
- * @param {String} val 选中值
23271
- * @date 2022年5月25日
23299
+ /**
23300
+ * selectChange
23301
+ * @desc:常用语选择
23302
+ * @author liufan
23303
+ * @param {String} val 选中值
23304
+ * @date 2022年5月25日
23272
23305
  **/
23273
23306
  selectChange: function selectChange(val) {
23274
23307
  this.value = val;
23275
23308
  },
23276
23309
 
23277
- /**
23278
- * upDate
23279
- * @desc:修改常用语
23280
- * @author liufan
23281
- * @param {Object} val 修改值
23282
- * @date 2022年5月25日
23310
+ /**
23311
+ * upDate
23312
+ * @desc:修改常用语
23313
+ * @author liufan
23314
+ * @param {Object} val 修改值
23315
+ * @date 2022年5月25日
23283
23316
  **/
23284
23317
  upDate: function upDate(val) {
23285
23318
  this.FormData.id = val.id;
@@ -23287,11 +23320,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
23287
23320
  },
23288
23321
 
23289
23322
 
23290
- /**
23291
- * getProcess
23292
- * @desc:获取选择流程
23293
- * @author liufan
23294
- * @date 2022年5月25日
23323
+ /**
23324
+ * getProcess
23325
+ * @desc:获取选择流程
23326
+ * @author liufan
23327
+ * @date 2022年5月25日
23295
23328
  **/
23296
23329
  getProcess: function getProcess(val) {
23297
23330
  var _this27 = this;
@@ -23343,11 +23376,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
23343
23376
  });
23344
23377
  },
23345
23378
 
23346
- /**
23347
- * getPendedhistoryList
23348
- * @desc:获取流程列表
23349
- * @author liufan
23350
- * @date 2022年5月25日
23379
+ /**
23380
+ * getPendedhistoryList
23381
+ * @desc:获取流程列表
23382
+ * @author liufan
23383
+ * @date 2022年5月25日
23351
23384
  **/
23352
23385
  getPendedhistoryList: function getPendedhistoryList() {
23353
23386
  var _this28 = this;
@@ -23415,12 +23448,12 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
23415
23448
  },
23416
23449
 
23417
23450
  // 提交流程
23418
- /**
23419
- * subProcess
23420
- * @desc:提交流程
23421
- * @author liufan
23422
- * @param {String} formName 当前form表单ref值
23423
- * @date 2022年5月25日
23451
+ /**
23452
+ * subProcess
23453
+ * @desc:提交流程
23454
+ * @author liufan
23455
+ * @param {String} formName 当前form表单ref值
23456
+ * @date 2022年5月25日
23424
23457
  **/
23425
23458
  subProcess: function subProcess(val, type) {
23426
23459
  var _this30 = this;
@@ -23673,7 +23706,6 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
23673
23706
 
23674
23707
  // 单位选择完回调
23675
23708
  disposeAppUnit: function disposeAppUnit(res, type) {
23676
- console.log(res, type, 'res');
23677
23709
  var label = type.substring(0, type.lastIndexOf('Select'));
23678
23710
  this.nextNode[label + 'Name'] = '';
23679
23711
  res.options && (this[type] = res.options);