eoss-mobiles 0.3.19 → 0.3.21

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 (48) hide show
  1. package/lib/button-group.js +2 -2
  2. package/lib/button.js +2 -2
  3. package/lib/cell.js +2 -2
  4. package/lib/checkbox.js +59 -48
  5. package/lib/circle.js +2 -2
  6. package/lib/config/api.js +11 -3
  7. package/lib/empty.js +2 -2
  8. package/lib/eoss-mobile.common.js +659 -87
  9. package/lib/field.js +2 -2
  10. package/lib/flow-btn.js +60 -49
  11. package/lib/flow-list.js +687 -117
  12. package/lib/flow.js +149 -143
  13. package/lib/grid-item.js +2 -2
  14. package/lib/grid.js +2 -2
  15. package/lib/index.js +1 -1
  16. package/lib/list.js +2 -2
  17. package/lib/loading.js +2 -2
  18. package/lib/nav-bar.js +2 -2
  19. package/lib/picker.js +62 -50
  20. package/lib/radio.js +62 -50
  21. package/lib/retrial-auth.js +61 -50
  22. package/lib/search.js +2 -2
  23. package/lib/selector.js +93 -77
  24. package/lib/switch.js +2 -2
  25. package/lib/tab.js +2 -2
  26. package/lib/table-column.js +62 -50
  27. package/lib/tabs.js +2 -2
  28. package/lib/tag.js +2 -2
  29. package/lib/theme-chalk/flow-list-task-read.css +1 -0
  30. package/lib/theme-chalk/flow-list.css +1 -1
  31. package/lib/theme-chalk/flow.css +1 -1
  32. package/lib/theme-chalk/index.css +1 -1
  33. package/lib/uploader.js +2 -2
  34. package/package.json +1 -1
  35. package/packages/flow/src/components/Message.vue +7 -3
  36. package/packages/flow/src/components/supervise.vue +72 -64
  37. package/packages/flow-list/src/main.vue +42 -23
  38. package/packages/flow-list/src/taskRead.vue +234 -0
  39. package/packages/selector/src/tree.vue +25 -17
  40. package/packages/theme-chalk/lib/flow-list-task-read.css +1 -0
  41. package/packages/theme-chalk/lib/flow-list.css +1 -1
  42. package/packages/theme-chalk/lib/flow.css +1 -1
  43. package/packages/theme-chalk/lib/index.css +1 -1
  44. package/packages/theme-chalk/src/flow-list-task-read.scss +112 -0
  45. package/packages/theme-chalk/src/flow-list.scss +2 -2
  46. package/packages/theme-chalk/src/flow.scss +5 -0
  47. package/src/config/api.js +13 -2
  48. package/src/index.js +1 -1
@@ -2337,8 +2337,8 @@ selector_treevue_type_template_id_a36bef12_render._withStripped = true
2337
2337
 
2338
2338
  // CONCATENATED MODULE: ./packages/selector/src/selector-tree.vue?vue&type=template&id=a36bef12
2339
2339
 
2340
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/tree.vue?vue&type=template&id=1cb2fc03
2341
- var treevue_type_template_id_1cb2fc03_render = function () {
2340
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/tree.vue?vue&type=template&id=4c8a9869
2341
+ var treevue_type_template_id_4c8a9869_render = function () {
2342
2342
  var _vm = this
2343
2343
  var _h = _vm.$createElement
2344
2344
  var _c = _vm._self._c || _h
@@ -2503,7 +2503,7 @@ var treevue_type_template_id_1cb2fc03_render = function () {
2503
2503
  _vm.departmentValueKey)) &&
2504
2504
  !_vm.showTree,
2505
2505
  expression:
2506
- "\n (enterprise ||\n (selectType == departmentValueKey && \n item[departmentLabelKey] == departmentValueKey)) &&\n !showTree\n ",
2506
+ "\n (enterprise ||\n (selectType == departmentValueKey &&\n item[departmentLabelKey] == departmentValueKey)) &&\n !showTree\n ",
2507
2507
  },
2508
2508
  {
2509
2509
  name: "tap",
@@ -2531,7 +2531,7 @@ var treevue_type_template_id_1cb2fc03_render = function () {
2531
2531
  _vm.departmentValueKey)) &&
2532
2532
  !_vm.showTree,
2533
2533
  expression:
2534
- "\n (enterprise ||\n (selectType == departmentValueKey && \n item[departmentLabelKey] == departmentValueKey)) &&\n !showTree\n ",
2534
+ "\n (enterprise ||\n (selectType == departmentValueKey &&\n item[departmentLabelKey] == departmentValueKey)) &&\n !showTree\n ",
2535
2535
  },
2536
2536
  {
2537
2537
  name: "tap",
@@ -2733,11 +2733,11 @@ var treevue_type_template_id_1cb2fc03_render = function () {
2733
2733
  0
2734
2734
  )
2735
2735
  }
2736
- var treevue_type_template_id_1cb2fc03_staticRenderFns = []
2737
- treevue_type_template_id_1cb2fc03_render._withStripped = true
2736
+ var treevue_type_template_id_4c8a9869_staticRenderFns = []
2737
+ treevue_type_template_id_4c8a9869_render._withStripped = true
2738
2738
 
2739
2739
 
2740
- // CONCATENATED MODULE: ./packages/selector/src/tree.vue?vue&type=template&id=1cb2fc03
2740
+ // CONCATENATED MODULE: ./packages/selector/src/tree.vue?vue&type=template&id=4c8a9869
2741
2741
 
2742
2742
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/tree.vue?vue&type=script&lang=js
2743
2743
  //
@@ -2961,6 +2961,12 @@ treevue_type_template_id_1cb2fc03_render._withStripped = true
2961
2961
  //
2962
2962
  //
2963
2963
  //
2964
+ //
2965
+ //
2966
+ //
2967
+ //
2968
+ //
2969
+ //
2964
2970
 
2965
2971
  /* harmony default export */ var treevue_type_script_lang_js = ({
2966
2972
  name: 'em-tree',
@@ -3110,11 +3116,10 @@ treevue_type_template_id_1cb2fc03_render._withStripped = true
3110
3116
 
3111
3117
  methods: {
3112
3118
  isDisabled: function isDisabled(item) {
3113
- return false;
3114
3119
  if (this.disableds && this.disableds.length > 0) {
3115
3120
  return this.disableds.includes(item[this.valueKey]);
3116
3121
  }
3117
- return item.disabled;
3122
+ return this.selectType != 'department' && this.selectType != 'enterprise' ? item.disabled : item.disabled || item.nocheck;
3118
3123
  },
3119
3124
  getUserInfo: function getUserInfo(attr) {
3120
3125
  var info = JSON.parse(attr);
@@ -3158,8 +3163,8 @@ treevue_type_template_id_1cb2fc03_render._withStripped = true
3158
3163
 
3159
3164
  var tree_component = normalizeComponent(
3160
3165
  src_treevue_type_script_lang_js,
3161
- treevue_type_template_id_1cb2fc03_render,
3162
- treevue_type_template_id_1cb2fc03_staticRenderFns,
3166
+ treevue_type_template_id_4c8a9869_render,
3167
+ treevue_type_template_id_4c8a9869_staticRenderFns,
3163
3168
  false,
3164
3169
  null,
3165
3170
  null,
@@ -3176,6 +3181,7 @@ var util = __webpack_require__(0);
3176
3181
  var activiti = '/bpm';
3177
3182
  var pending = '/bpm';
3178
3183
  var mecp = util["a" /* default */].getStorage('flowPath') || '';
3184
+ var flowPendingPrefix = window.flowPendingPrefix || localStorage.getItem('flowPendingPrefix') || '/bpm';
3179
3185
  var initRetrialAuth = '/sso2/retrialAuth/initRetrialAuth'; // 初始化二级身份权限验证页面
3180
3186
  var getRetrialAuthCode = '/sso2/retrialAuth/getRetrialAuthCode'; // 获取二级身份验证验证码
3181
3187
  var codeRetrialAuth = '/sso2/retrialAuth/codeRetrialAuth'; // 二级身份验证-验证码验证
@@ -3263,7 +3269,8 @@ var isCanStartSubFlow = activiti + '/task/taskHandle/isCanStartSubFlow.dhtml';
3263
3269
  // 流程预设获取
3264
3270
  var getPresetCustomInfo = activiti + '/task/taskHandle/getPresetCustomInfo.dhtml';
3265
3271
  // 流程列表
3266
- var pendedhistoryList = '/api/v1/mecpIpending/pendedhistoryList.json';
3272
+ var pendedhistoryList = flowPendingPrefix + '/pendedhistoryManager/pendedhistoryListJson';
3273
+ // export const pendedhistoryList = '/api/v1/mecpIpending/pendedhistoryList.json';
3267
3274
  // 获取流程按钮
3268
3275
  var getHandleButtonHtml = '/api/mecp/v1/mecpItask/getHandleButtonHtml.json';
3269
3276
  // 获取系统参数
@@ -3288,6 +3295,12 @@ var resetProcess = '/bpm/task/taskHandle/resetProcess.dhtml';
3288
3295
  var toTaskContinuationIndex = '/bpm/bpmBackend/toTaskContinuationIndex';
3289
3296
  // 续办提交
3290
3297
  var taskContinuation = '/bpm/task/taskHandle/taskContinuation.dhtml';
3298
+ // 分阅情况
3299
+ var taskReadList = '/bpm/pendedhistoryManager/fyListJson.dhtml';
3300
+ // 撤销分阅
3301
+ var cancelTaskRead = '/bpm/bpmBackend/taskReadWithDraw';
3302
+ // 获取公文办理消息
3303
+ var officeHandleRemark = '/archives/task/taskHandle/getDefaultNotificationType.dhtml';
3291
3304
  // EXTERNAL MODULE: external "axios"
3292
3305
  var external_axios_ = __webpack_require__(4);
3293
3306
  var external_axios_default = /*#__PURE__*/__webpack_require__.n(external_axios_);
@@ -13831,8 +13844,8 @@ var Opinion_component = normalizeComponent(
13831
13844
  )
13832
13845
 
13833
13846
  /* harmony default export */ var Opinion = (Opinion_component.exports);
13834
- // 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/Message.vue?vue&type=template&id=0e3cd890
13835
- var Messagevue_type_template_id_0e3cd890_render = function () {
13847
+ // 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/Message.vue?vue&type=template&id=d472f652
13848
+ var Messagevue_type_template_id_d472f652_render = function () {
13836
13849
  var _vm = this
13837
13850
  var _h = _vm.$createElement
13838
13851
  var _c = _vm._self._c || _h
@@ -13920,11 +13933,11 @@ var Messagevue_type_template_id_0e3cd890_render = function () {
13920
13933
  1
13921
13934
  )
13922
13935
  }
13923
- var Messagevue_type_template_id_0e3cd890_staticRenderFns = []
13924
- Messagevue_type_template_id_0e3cd890_render._withStripped = true
13936
+ var Messagevue_type_template_id_d472f652_staticRenderFns = []
13937
+ Messagevue_type_template_id_d472f652_render._withStripped = true
13925
13938
 
13926
13939
 
13927
- // CONCATENATED MODULE: ./packages/flow/src/components/Message.vue?vue&type=template&id=0e3cd890
13940
+ // CONCATENATED MODULE: ./packages/flow/src/components/Message.vue?vue&type=template&id=d472f652
13928
13941
 
13929
13942
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Message.vue?vue&type=script&lang=js
13930
13943
  //
@@ -14008,6 +14021,10 @@ Messagevue_type_template_id_0e3cd890_render._withStripped = true
14008
14021
  type: Boolean,
14009
14022
  default: true
14010
14023
  },
14024
+ showCheckType: {
14025
+ type: Boolean,
14026
+ default: true
14027
+ },
14011
14028
  baseUrl: String,
14012
14029
  userId: {
14013
14030
  type: String,
@@ -14076,7 +14093,7 @@ Messagevue_type_template_id_0e3cd890_render._withStripped = true
14076
14093
  });
14077
14094
  });
14078
14095
  this.form.notificationType = JSON.parse(JSON.stringify(arr));
14079
- this.showCheck = true;
14096
+ this.showCheck = this.showCheckType;
14080
14097
  // this.$emit('onInputMsg', this.form);
14081
14098
  }
14082
14099
  },
@@ -14115,10 +14132,10 @@ Messagevue_type_template_id_0e3cd890_render._withStripped = true
14115
14132
  });
14116
14133
  });
14117
14134
  _this3.form.notificationType = arr;
14118
- _this3.showCheck = true;
14135
+ _this3.showCheck = _this3.showCheckType;
14119
14136
  _this3.$emit('onInputMsg', _this3.form);
14120
14137
  } else if (_this3.onlyShowType) {
14121
- _this3.showCheck = true;
14138
+ _this3.showCheck = _this3.showCheckType;
14122
14139
  }
14123
14140
  } else {
14124
14141
  _this3.$toast(message);
@@ -14144,8 +14161,8 @@ Messagevue_type_template_id_0e3cd890_render._withStripped = true
14144
14161
 
14145
14162
  var Message_component = normalizeComponent(
14146
14163
  components_Messagevue_type_script_lang_js,
14147
- Messagevue_type_template_id_0e3cd890_render,
14148
- Messagevue_type_template_id_0e3cd890_staticRenderFns,
14164
+ Messagevue_type_template_id_d472f652_render,
14165
+ Messagevue_type_template_id_d472f652_staticRenderFns,
14149
14166
  false,
14150
14167
  null,
14151
14168
  null,
@@ -20802,8 +20819,8 @@ var taskUnionExamine_component = normalizeComponent(
20802
20819
  )
20803
20820
 
20804
20821
  /* harmony default export */ var components_taskUnionExamine = (taskUnionExamine_component.exports);
20805
- // 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/supervise.vue?vue&type=template&id=3c4c1f3e
20806
- var supervisevue_type_template_id_3c4c1f3e_render = function () {
20822
+ // 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/supervise.vue?vue&type=template&id=01d7fecc
20823
+ var supervisevue_type_template_id_01d7fecc_render = function () {
20807
20824
  var _vm = this
20808
20825
  var _h = _vm.$createElement
20809
20826
  var _c = _vm._self._c || _h
@@ -20811,65 +20828,46 @@ var supervisevue_type_template_id_3c4c1f3e_render = function () {
20811
20828
  "div",
20812
20829
  { staticClass: "flow-supervise" },
20813
20830
  [
20814
- _c("em-input", {
20815
- attrs: { "label-width": "90", label: "标题", readonly: "" },
20816
- model: {
20817
- value: _vm.form.pendTitle,
20818
- callback: function ($$v) {
20819
- _vm.$set(_vm.form, "pendTitle", $$v)
20820
- },
20821
- expression: "form.pendTitle",
20822
- },
20823
- }),
20824
- _c("em-input", {
20825
- attrs: { "label-width": "90", label: "当前办理节点", readonly: "" },
20826
- model: {
20827
- value: _vm.form.currentHandleNode,
20828
- callback: function ($$v) {
20829
- _vm.$set(_vm.form, "currentHandleNode", $$v)
20830
- },
20831
- expression: "form.currentHandleNode",
20832
- },
20833
- }),
20834
- _c("em-input", {
20835
- attrs: { "label-width": "90", label: "当前办理人", readonly: "" },
20836
- model: {
20837
- value: _vm.form.pendingUserNames,
20838
- callback: function ($$v) {
20839
- _vm.$set(_vm.form, "pendingUserNames", $$v)
20840
- },
20841
- expression: "form.pendingUserNames",
20842
- },
20843
- }),
20844
20831
  _c("Message", {
20845
20832
  ref: "message",
20846
20833
  attrs: {
20847
20834
  code: "notification_type",
20848
20835
  baseUrl: _vm.baseUrl,
20836
+ showCheckType: false,
20849
20837
  showMsg: true,
20838
+ label: "",
20850
20839
  defaultNotificationType: _vm.form.noticeType,
20851
20840
  defaultNotificationMsg: _vm.form.notifyMessage,
20852
20841
  onlyShowType: "",
20853
20842
  },
20854
20843
  on: { onInputMsg: _vm.onInputMsg },
20855
20844
  }),
20845
+ _c("em-flow-list", {
20846
+ ref: "flowList",
20847
+ staticStyle: { flex: "1", "overflow-y": "auto" },
20848
+ attrs: {
20849
+ type: "4",
20850
+ businessId: "7358f2ba425d49018e13386eb987cd45",
20851
+ "show-btn": false,
20852
+ },
20853
+ }),
20856
20854
  _c("div", { staticClass: "btn-list" }, [
20857
20855
  _c("div", { staticClass: "btn", on: { click: _vm.goBack } }, [
20858
20856
  _vm._v("取消"),
20859
20857
  ]),
20860
20858
  _c("div", { staticClass: "btn", on: { click: _vm.onSubmit } }, [
20861
- _vm._v("确定"),
20859
+ _vm._v("发送"),
20862
20860
  ]),
20863
20861
  ]),
20864
20862
  ],
20865
20863
  1
20866
20864
  )
20867
20865
  }
20868
- var supervisevue_type_template_id_3c4c1f3e_staticRenderFns = []
20869
- supervisevue_type_template_id_3c4c1f3e_render._withStripped = true
20866
+ var supervisevue_type_template_id_01d7fecc_staticRenderFns = []
20867
+ supervisevue_type_template_id_01d7fecc_render._withStripped = true
20870
20868
 
20871
20869
 
20872
- // CONCATENATED MODULE: ./packages/flow/src/components/supervise.vue?vue&type=template&id=3c4c1f3e
20870
+ // CONCATENATED MODULE: ./packages/flow/src/components/supervise.vue?vue&type=template&id=01d7fecc
20873
20871
 
20874
20872
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/supervise.vue?vue&type=script&lang=js
20875
20873
  //
@@ -20894,6 +20892,15 @@ supervisevue_type_template_id_3c4c1f3e_render._withStripped = true
20894
20892
  //
20895
20893
  //
20896
20894
  //
20895
+ //
20896
+ //
20897
+ //
20898
+ //
20899
+ //
20900
+ //
20901
+ //
20902
+ //
20903
+ //
20897
20904
 
20898
20905
 
20899
20906
 
@@ -20921,10 +20928,10 @@ supervisevue_type_template_id_3c4c1f3e_render._withStripped = true
20921
20928
  var _this = this;
20922
20929
 
20923
20930
  console.log('点击了提交');
20924
- if (this.form.noticeType.length == 0) {
20925
- this.$toast('请选择通知方式');
20926
- return;
20927
- }
20931
+ var selectInfo = this.$refs.flowList.$children[0].selectedData;
20932
+ if (selectInfo.length == 0) return this.$toast('请选择需要督办的流程');
20933
+ console.log(selectInfo);
20934
+ return;
20928
20935
  if (!this.form.notificationMsg) {
20929
20936
  this.$toast('请填写通知消息内容');
20930
20937
  return;
@@ -20939,7 +20946,8 @@ supervisevue_type_template_id_3c4c1f3e_render._withStripped = true
20939
20946
  params: {
20940
20947
  userId: util["a" /* default */].getStorage('userId'),
20941
20948
  urgeUserIds: pendingUserIds,
20942
- notificationType: noticeType, notificationMessage: notificationMsg,
20949
+ notificationType: noticeType,
20950
+ notificationMessage: notificationMsg,
20943
20951
  businessId: this.businessId
20944
20952
  }
20945
20953
  };
@@ -21006,8 +21014,8 @@ supervisevue_type_template_id_3c4c1f3e_render._withStripped = true
21006
21014
 
21007
21015
  var supervise_component = normalizeComponent(
21008
21016
  components_supervisevue_type_script_lang_js,
21009
- supervisevue_type_template_id_3c4c1f3e_render,
21010
- supervisevue_type_template_id_3c4c1f3e_staticRenderFns,
21017
+ supervisevue_type_template_id_01d7fecc_render,
21018
+ supervisevue_type_template_id_01d7fecc_staticRenderFns,
21011
21019
  false,
21012
21020
  null,
21013
21021
  null,
@@ -22158,16 +22166,29 @@ flow_src_main.install = function (Vue) {
22158
22166
  };
22159
22167
 
22160
22168
  /* harmony default export */ var flow = (flow_src_main);
22161
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-list/src/main.vue?vue&type=template&id=6967523c
22162
- var mainvue_type_template_id_6967523c_render = function () {
22169
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-list/src/main.vue?vue&type=template&id=2c980f0e
22170
+ var mainvue_type_template_id_2c980f0e_render = function () {
22163
22171
  var _vm = this
22164
22172
  var _h = _vm.$createElement
22165
22173
  var _c = _vm._self._c || _h
22166
22174
  return _c(
22167
22175
  "div",
22168
- { staticClass: "em-flow-list" },
22176
+ {
22177
+ staticClass: "em-flow-list",
22178
+ style: "background:" + (_vm.type == "3" ? "unset" : "#fff"),
22179
+ },
22169
22180
  [
22170
- _vm.isgw && _vm.processList.length > 0
22181
+ _vm.type == "3" || _vm.type == "4"
22182
+ ? _c(
22183
+ "TaskRead",
22184
+ _vm._b(
22185
+ { attrs: { businessId: _vm.businessId, type: _vm.type } },
22186
+ "TaskRead",
22187
+ _vm.$attrs,
22188
+ false
22189
+ )
22190
+ )
22191
+ : _vm.isgw && _vm.processList.length > 0
22171
22192
  ? _c(
22172
22193
  "div",
22173
22194
  { staticClass: "list" },
@@ -22223,7 +22244,7 @@ var mainvue_type_template_id_6967523c_render = function () {
22223
22244
  x.handleInfo
22224
22245
  ? _c(
22225
22246
  "span",
22226
- { staticStyle: { color: "#ADADA5" } },
22247
+ { staticStyle: { color: "#adada5" } },
22227
22248
  [
22228
22249
  _vm._v(
22229
22250
  _vm._s(
@@ -22372,7 +22393,7 @@ var mainvue_type_template_id_6967523c_render = function () {
22372
22393
  })
22373
22394
  : _c("span", [_vm._v(_vm._s(item.doresult))]),
22374
22395
  item.handleInfo
22375
- ? _c("span", { staticStyle: { color: "#ADADA5" } }, [
22396
+ ? _c("span", { staticStyle: { color: "#adada5" } }, [
22376
22397
  _vm._v(
22377
22398
  _vm._s(
22378
22399
  (item.doresult ? "&" : "") + item.handleInfo
@@ -22456,14 +22477,549 @@ var mainvue_type_template_id_6967523c_render = function () {
22456
22477
  1
22457
22478
  )
22458
22479
  }
22459
- var mainvue_type_template_id_6967523c_staticRenderFns = []
22460
- mainvue_type_template_id_6967523c_render._withStripped = true
22480
+ var mainvue_type_template_id_2c980f0e_staticRenderFns = []
22481
+ mainvue_type_template_id_2c980f0e_render._withStripped = true
22482
+
22483
+
22484
+ // CONCATENATED MODULE: ./packages/flow-list/src/main.vue?vue&type=template&id=2c980f0e
22485
+
22486
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-list/src/taskRead.vue?vue&type=template&id=16c364a2
22487
+ var taskReadvue_type_template_id_16c364a2_render = function () {
22488
+ var _vm = this
22489
+ var _h = _vm.$createElement
22490
+ var _c = _vm._self._c || _h
22491
+ return _c("div", { staticClass: "process-page" }, [
22492
+ _c("div", { staticClass: "main" }, [
22493
+ _vm.type == 4
22494
+ ? _c("div", { staticClass: "box" }, [
22495
+ _c("div", { staticClass: "title" }, [
22496
+ _vm._v("\n 流程列表\n "),
22497
+ _vm.handleUserList.length
22498
+ ? _c(
22499
+ "div",
22500
+ {
22501
+ staticClass: "check-btn",
22502
+ on: { click: _vm.handleToggel },
22503
+ },
22504
+ [
22505
+ _c(
22506
+ "van-checkbox",
22507
+ {
22508
+ model: {
22509
+ value: _vm.isSelectAll,
22510
+ callback: function ($$v) {
22511
+ _vm.isSelectAll = $$v
22512
+ },
22513
+ expression: "isSelectAll",
22514
+ },
22515
+ },
22516
+ [_vm._v("全选")]
22517
+ ),
22518
+ ],
22519
+ 1
22520
+ )
22521
+ : _vm._e(),
22522
+ ]),
22523
+ _vm.isLoad && !_vm.handleUserList.length
22524
+ ? _c("div", { staticClass: "no-data" }, [
22525
+ _vm._v("\n 暂无数据\n "),
22526
+ ])
22527
+ : _vm._e(),
22528
+ _c(
22529
+ "div",
22530
+ { staticClass: "list-area" },
22531
+ [
22532
+ _c(
22533
+ "van-checkbox-group",
22534
+ {
22535
+ on: { change: _vm.handleSelectChange },
22536
+ model: {
22537
+ value: _vm.selectedIds,
22538
+ callback: function ($$v) {
22539
+ _vm.selectedIds = $$v
22540
+ },
22541
+ expression: "selectedIds",
22542
+ },
22543
+ },
22544
+ _vm._l(_vm.handleUserList, function (item, index) {
22545
+ return _c(
22546
+ "van-checkbox",
22547
+ {
22548
+ key: index,
22549
+ staticClass: "list-item",
22550
+ attrs: { name: item.id },
22551
+ },
22552
+ [
22553
+ _c("p", { staticClass: "name-area" }, [
22554
+ _c("span", { staticClass: "handle-name-flow" }, [
22555
+ _vm._v(_vm._s(item.userName)),
22556
+ ]),
22557
+ _c("span", { staticClass: "user-name-flow" }, [
22558
+ _vm._v(_vm._s(item.itemname)),
22559
+ ]),
22560
+ _c(
22561
+ "span",
22562
+ {
22563
+ class:
22564
+ "handle-status " +
22565
+ (item.pendstate == 1 ? "success" : ""),
22566
+ },
22567
+ [_vm._v(_vm._s(item.querykeywords))]
22568
+ ),
22569
+ ]),
22570
+ _c("p", { staticClass: "time" }, [
22571
+ _vm._v(_vm._s(item.createtime)),
22572
+ ]),
22573
+ ]
22574
+ )
22575
+ }),
22576
+ 1
22577
+ ),
22578
+ ],
22579
+ 1
22580
+ ),
22581
+ ])
22582
+ : _vm._e(),
22583
+ _vm.type == 3
22584
+ ? _c("div", { staticClass: "box" }, [
22585
+ _c("div", { staticClass: "title" }, [
22586
+ _vm._v("\n 未处理分阅列表\n "),
22587
+ _vm.handleUserList.length
22588
+ ? _c(
22589
+ "div",
22590
+ {
22591
+ staticClass: "check-btn",
22592
+ on: { click: _vm.handleToggel },
22593
+ },
22594
+ [
22595
+ _c(
22596
+ "van-checkbox",
22597
+ {
22598
+ model: {
22599
+ value: _vm.isSelectAll,
22600
+ callback: function ($$v) {
22601
+ _vm.isSelectAll = $$v
22602
+ },
22603
+ expression: "isSelectAll",
22604
+ },
22605
+ },
22606
+ [_vm._v("全选")]
22607
+ ),
22608
+ ],
22609
+ 1
22610
+ )
22611
+ : _vm._e(),
22612
+ ]),
22613
+ _vm.isLoad && !_vm.handleUserList.length
22614
+ ? _c("div", { staticClass: "no-data" }, [
22615
+ _vm._v("\n 暂无数据\n "),
22616
+ ])
22617
+ : _vm._e(),
22618
+ _c(
22619
+ "div",
22620
+ { staticClass: "list-area" },
22621
+ [
22622
+ _c(
22623
+ "van-checkbox-group",
22624
+ {
22625
+ on: { change: _vm.handleSelectChange },
22626
+ model: {
22627
+ value: _vm.selectedIds,
22628
+ callback: function ($$v) {
22629
+ _vm.selectedIds = $$v
22630
+ },
22631
+ expression: "selectedIds",
22632
+ },
22633
+ },
22634
+ _vm._l(_vm.handleUserList, function (item, index) {
22635
+ return _c(
22636
+ "van-checkbox",
22637
+ {
22638
+ key: index,
22639
+ staticClass: "list-item",
22640
+ attrs: { name: item.id },
22641
+ },
22642
+ [
22643
+ _c("p", { staticClass: "name-area" }, [
22644
+ _c("span", { staticClass: "user-name" }, [
22645
+ _vm._v(_vm._s(item.itemname)),
22646
+ ]),
22647
+ _c("span", { staticClass: "handle-name" }, [
22648
+ _vm._v(_vm._s(item.userName)),
22649
+ ]),
22650
+ _c("span", { staticClass: "handle-status" }, [
22651
+ _vm._v(_vm._s(item.pendstate)),
22652
+ ]),
22653
+ ]),
22654
+ _c("p", { staticClass: "time" }, [
22655
+ _vm._v("创建时间:" + _vm._s(item.createtime)),
22656
+ ]),
22657
+ ]
22658
+ )
22659
+ }),
22660
+ 1
22661
+ ),
22662
+ ],
22663
+ 1
22664
+ ),
22665
+ ])
22666
+ : _vm._e(),
22667
+ _vm.type == 3
22668
+ ? _c(
22669
+ "div",
22670
+ { staticClass: "box", staticStyle: { "margin-top": "12px" } },
22671
+ [
22672
+ _c("div", { staticClass: "title" }, [_vm._v("已处理分阅列表")]),
22673
+ _vm.isLoad && !_vm.hadDoUserList.length
22674
+ ? _c("div", { staticClass: "no-data" }, [
22675
+ _vm._v("\n 暂无数据\n "),
22676
+ ])
22677
+ : _vm._e(),
22678
+ _c(
22679
+ "div",
22680
+ { staticClass: "list-area list-area2" },
22681
+ _vm._l(_vm.hadDoUserList, function (item, index) {
22682
+ return _c(
22683
+ "div",
22684
+ { key: index, staticClass: "list-item list-item2" },
22685
+ [
22686
+ _c("p", { staticClass: "name-area" }, [
22687
+ _c("span", { staticClass: "user-name" }, [
22688
+ _vm._v(_vm._s(item.itemname)),
22689
+ ]),
22690
+ _c("span", { staticClass: "handle-name" }, [
22691
+ _vm._v(_vm._s(item.userName)),
22692
+ ]),
22693
+ _c("span", { staticClass: "handle-status success" }, [
22694
+ _vm._v("已办理"),
22695
+ ]),
22696
+ ]),
22697
+ _c("p", { staticClass: "time" }, [
22698
+ _vm._v(
22699
+ "办理时间:" + _vm._s(item.doendtime || item.doetime)
22700
+ ),
22701
+ ]),
22702
+ _c("p", { staticClass: "time" }, [
22703
+ _vm._v(
22704
+ "代办人:" + _vm._s(item.doUserName || item.doetime)
22705
+ ),
22706
+ ]),
22707
+ _c("p", { staticClass: "time" }, [
22708
+ _vm._v("意见:" + _vm._s(item.doresult)),
22709
+ ]),
22710
+ ]
22711
+ )
22712
+ }),
22713
+ 0
22714
+ ),
22715
+ ]
22716
+ )
22717
+ : _vm._e(),
22718
+ ]),
22719
+ _vm.showBtn
22720
+ ? _c(
22721
+ "div",
22722
+ { staticClass: "btn-area" },
22723
+ [
22724
+ _c(
22725
+ "van-button",
22726
+ {
22727
+ staticClass: "btn",
22728
+ attrs: { round: "" },
22729
+ on: { click: _vm.handleClose },
22730
+ },
22731
+ [_vm._v("取消")]
22732
+ ),
22733
+ _c(
22734
+ "van-button",
22735
+ {
22736
+ staticClass: "btn",
22737
+ attrs: { type: "primary", round: "" },
22738
+ on: { click: _vm.handleConfirm },
22739
+ },
22740
+ [_vm._v("撤销分阅")]
22741
+ ),
22742
+ ],
22743
+ 1
22744
+ )
22745
+ : _vm._e(),
22746
+ ])
22747
+ }
22748
+ var taskReadvue_type_template_id_16c364a2_staticRenderFns = []
22749
+ taskReadvue_type_template_id_16c364a2_render._withStripped = true
22750
+
22751
+
22752
+ // CONCATENATED MODULE: ./packages/flow-list/src/taskRead.vue?vue&type=template&id=16c364a2
22753
+
22754
+ // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-list/src/taskRead.vue?vue&type=script&lang=js
22755
+ //
22756
+ //
22757
+ //
22758
+ //
22759
+ //
22760
+ //
22761
+ //
22762
+ //
22763
+ //
22764
+ //
22765
+ //
22766
+ //
22767
+ //
22768
+ //
22769
+ //
22770
+ //
22771
+ //
22772
+ //
22773
+ //
22774
+ //
22775
+ //
22776
+ //
22777
+ //
22778
+ //
22779
+ //
22780
+ //
22781
+ //
22782
+ //
22783
+ //
22784
+ //
22785
+ //
22786
+ //
22787
+ //
22788
+ //
22789
+ //
22790
+ //
22791
+ //
22792
+ //
22793
+ //
22794
+ //
22795
+ //
22796
+ //
22797
+ //
22798
+ //
22799
+ //
22800
+ //
22801
+ //
22802
+ //
22803
+ //
22804
+ //
22805
+ //
22806
+ //
22807
+ //
22808
+ //
22809
+ //
22810
+ //
22811
+ //
22812
+ //
22813
+ //
22814
+ //
22815
+ //
22816
+ //
22817
+ //
22818
+ //
22819
+ //
22820
+ //
22821
+ //
22822
+ //
22823
+ //
22824
+ //
22825
+ //
22826
+ //
22827
+ //
22828
+ //
22829
+ //
22830
+ //
22831
+ //
22832
+ //
22833
+ //
22834
+ //
22835
+ //
22836
+ //
22837
+ //
22838
+ //
22839
+ //
22840
+ //
22841
+ //
22842
+ //
22843
+ //
22844
+ //
22845
+ //
22846
+ //
22847
+ //
22848
+ //
22849
+ //
22850
+ //
22851
+ //
22852
+ //
22853
+ //
22854
+ //
22855
+ //
22856
+ //
22857
+ //
22858
+ //
22859
+ //
22860
+
22861
+
22862
+
22863
+ /* harmony default export */ var taskReadvue_type_script_lang_js = ({
22864
+ props: {
22865
+ businessId: {
22866
+ type: String,
22867
+ default: ''
22868
+ },
22869
+ type: {
22870
+ type: String,
22871
+ default: '3'
22872
+ },
22873
+ showBtn: {
22874
+ type: Boolean,
22875
+ default: true
22876
+ }
22877
+ },
22878
+ data: function data() {
22879
+ return {
22880
+ isLoad: false,
22881
+ hadDoUserList: [],
22882
+ handleUserList: [],
22883
+ isSelectAll: false,
22884
+ selectedIds: [],
22885
+ selectedData: []
22886
+ };
22887
+ },
22888
+ mounted: function mounted() {
22889
+ if (this.type == 3) {
22890
+ this.getReadData(1);
22891
+ this.getReadData(2);
22892
+ } else if (this.type == 4) {
22893
+ this.getpendedhistoryList();
22894
+ }
22895
+ },
22896
+
22897
+ methods: {
22898
+ getpendedhistoryList: function getpendedhistoryList() {
22899
+ var _this = this;
22900
+
22901
+ utils_http({
22902
+ url: pendedhistoryList,
22903
+ type: 'post',
22904
+ params: {
22905
+ type: 0,
22906
+ apprecordid: this.businessId
22907
+ }
22908
+ }).then(function (res) {
22909
+ var status = res.status,
22910
+ data = res.data;
22911
+
22912
+ if (status == 'success') {
22913
+ _this.handleUserList = data.wfHistoryList.filter(function (x) {
22914
+ return x.pendstate == 0 || x.pendstate == 1;
22915
+ });
22916
+ } else {
22917
+ _this.$toast(msg);
22918
+ }
22919
+ });
22920
+ },
22921
+ getReadData: function getReadData(status) {
22922
+ var _this2 = this;
22923
+
22924
+ utils_http({
22925
+ url: taskReadList,
22926
+ params: {
22927
+ appRecordId: this.businessId,
22928
+ status: status
22929
+ }
22930
+ }).then(function (res) {
22931
+ _this2.isLoad = true;
22932
+ if (status == 1) {
22933
+ _this2.handleUserList = res.data || [];
22934
+ } else {
22935
+ _this2.hadDoUserList = res.data || [];
22936
+ }
22937
+ });
22938
+ },
22939
+ handleConfirm: function handleConfirm() {
22940
+ var _this3 = this;
22941
+
22942
+ if (!this.selectedIds.length) {
22943
+ this.$toast('请选择需要撤销的分阅数据!');
22944
+ return;
22945
+ }
22946
+ this.$toast.loading({
22947
+ message: '提交中...',
22948
+ forbidClick: true,
22949
+ loadingType: 'spinner',
22950
+ overlay: true,
22951
+ duration: 0
22952
+ });
22953
+ utils_http({
22954
+ url: cancelTaskRead,
22955
+ params: {
22956
+ appRecordId: this.businessId,
22957
+ pendingIds: this.selectedIds.join(',')
22958
+ }
22959
+ }).then(function (res) {
22960
+ _this3.$toast.clear();
22961
+ if (res.rCode == 0) {
22962
+ _this3.$toast('操作成功');
22963
+ _this3.selectedIds = [];
22964
+ _this3.selectedData = [];
22965
+ _this3.getReadData(1);
22966
+ _this3.getReadData(2);
22967
+ } else {
22968
+ _this3.$toast(res.msg);
22969
+ }
22970
+ });
22971
+ },
22972
+ handleClose: function handleClose() {
22973
+ this.$parent.$emit('close');
22974
+ },
22975
+ handleSelectChange: function handleSelectChange(val) {
22976
+ console.log(val, '点击了');
22977
+ this.selectedData = this.handleUserList.filter(function (x) {
22978
+ return val.includes(x.id);
22979
+ });
22980
+ if (this.selectedIds.length === this.handleUserList.length) {
22981
+ this.isSelectAll = true;
22982
+ } else {
22983
+ this.isSelectAll = false;
22984
+ }
22985
+ },
22986
+ handleToggel: function handleToggel() {
22987
+ if (!this.isSelectAll) {
22988
+ this.selectedIds = this.handleUserList.map(function (i) {
22989
+ return i.id;
22990
+ });
22991
+ this.selectedData = this.handleUserList;
22992
+ } else {
22993
+ this.selectedIds = [];
22994
+ this.selectedData = [];
22995
+ }
22996
+ }
22997
+ }
22998
+ });
22999
+ // CONCATENATED MODULE: ./packages/flow-list/src/taskRead.vue?vue&type=script&lang=js
23000
+ /* harmony default export */ var src_taskReadvue_type_script_lang_js = (taskReadvue_type_script_lang_js);
23001
+ // CONCATENATED MODULE: ./packages/flow-list/src/taskRead.vue
22461
23002
 
22462
23003
 
22463
- // CONCATENATED MODULE: ./packages/flow-list/src/main.vue?vue&type=template&id=6967523c
22464
23004
 
23005
+
23006
+
23007
+ /* normalize component */
23008
+
23009
+ var taskRead_component = normalizeComponent(
23010
+ src_taskReadvue_type_script_lang_js,
23011
+ taskReadvue_type_template_id_16c364a2_render,
23012
+ taskReadvue_type_template_id_16c364a2_staticRenderFns,
23013
+ false,
23014
+ null,
23015
+ null,
23016
+ null
23017
+
23018
+ )
23019
+
23020
+ /* harmony default export */ var taskRead = (taskRead_component.exports);
22465
23021
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-list/src/main.vue?vue&type=script&lang=js
22466
- var _name$props$filters$d;
23022
+ var _name$props$component;
22467
23023
 
22468
23024
  //
22469
23025
  //
@@ -22618,11 +23174,24 @@ var _name$props$filters$d;
22618
23174
  //
22619
23175
  //
22620
23176
  //
23177
+ //
23178
+ //
23179
+ //
23180
+ //
23181
+ //
23182
+ //
23183
+ //
23184
+ //
23185
+ //
23186
+ //
23187
+ //
23188
+ //
22621
23189
 
22622
23190
 
22623
23191
 
22624
23192
 
22625
- /* harmony default export */ var flow_list_src_mainvue_type_script_lang_js = (_name$props$filters$d = {
23193
+
23194
+ /* harmony default export */ var flow_list_src_mainvue_type_script_lang_js = (_name$props$component = {
22626
23195
  name: 'EmFlowList',
22627
23196
  props: {
22628
23197
  businessId: {
@@ -22644,6 +23213,9 @@ var _name$props$filters$d;
22644
23213
  default: false
22645
23214
  }
22646
23215
  },
23216
+ components: {
23217
+ TaskRead: taskRead
23218
+ },
22647
23219
  filters: {
22648
23220
  transformTimestamp: function transformTimestamp(val) {
22649
23221
  return util["a" /* default */].formatDate(Number(val), 'yyyy-MM-dd');
@@ -22663,6 +23235,7 @@ var _name$props$filters$d;
22663
23235
  watch: {
22664
23236
  businessId: {
22665
23237
  handler: function handler(val) {
23238
+ if (this.type == 3 || this.type == 4) return;
22666
23239
  if (val && this.data.length === 0) {
22667
23240
  this.getFlowList(val);
22668
23241
  } else {
@@ -22675,7 +23248,7 @@ var _name$props$filters$d;
22675
23248
  }
22676
23249
  },
22677
23250
  methods: {}
22678
- }, _name$props$filters$d['methods'] = {
23251
+ }, _name$props$component['methods'] = {
22679
23252
  getFlowList: function getFlowList(apprecordId) {
22680
23253
  var _this = this;
22681
23254
 
@@ -22684,15 +23257,14 @@ var _name$props$filters$d;
22684
23257
  type: 'post',
22685
23258
  params: {
22686
23259
  type: this.type,
22687
- apprecordId: apprecordId
23260
+ apprecordid: apprecordId
22688
23261
  }
22689
23262
  }).then(function (res) {
22690
- var rCode = res.rCode,
22691
- msg = res.msg,
22692
- results = res.results;
23263
+ var status = res.status,
23264
+ data = res.data;
22693
23265
 
22694
- if (rCode === 0) {
22695
- _this.processList = results;
23266
+ if (status == 'success') {
23267
+ _this.processList = _this.type == '0' ? data.wfHistoryList : data.fyHistoryList;
22696
23268
  } else {
22697
23269
  _this.$toast(msg);
22698
23270
  }
@@ -22701,7 +23273,7 @@ var _name$props$filters$d;
22701
23273
  changeMore: function changeMore(i) {
22702
23274
  this.$emit('changeMore', i);
22703
23275
  }
22704
- }, _name$props$filters$d);
23276
+ }, _name$props$component);
22705
23277
  // CONCATENATED MODULE: ./packages/flow-list/src/main.vue?vue&type=script&lang=js
22706
23278
  /* harmony default export */ var packages_flow_list_src_mainvue_type_script_lang_js = (flow_list_src_mainvue_type_script_lang_js);
22707
23279
  // CONCATENATED MODULE: ./packages/flow-list/src/main.vue
@@ -22714,8 +23286,8 @@ var _name$props$filters$d;
22714
23286
 
22715
23287
  var flow_list_src_main_component = normalizeComponent(
22716
23288
  packages_flow_list_src_mainvue_type_script_lang_js,
22717
- mainvue_type_template_id_6967523c_render,
22718
- mainvue_type_template_id_6967523c_staticRenderFns,
23289
+ mainvue_type_template_id_2c980f0e_render,
23290
+ mainvue_type_template_id_2c980f0e_staticRenderFns,
22719
23291
  false,
22720
23292
  null,
22721
23293
  null,
@@ -27575,7 +28147,7 @@ if (typeof window !== 'undefined' && window.Vue) {
27575
28147
  }
27576
28148
 
27577
28149
  /* harmony default export */ var src = __webpack_exports__["default"] = ({
27578
- version: '0.3.19',
28150
+ version: '0.3.21',
27579
28151
  install: install,
27580
28152
  Button: packages_button,
27581
28153
  ButtonGroup: button_group,