eoss-mobiles 0.3.22 → 0.3.24

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.
package/lib/flow-list.js CHANGED
@@ -2127,7 +2127,7 @@ module.exports = require("sm-crypto");
2127
2127
  // ESM COMPAT FLAG
2128
2128
  __webpack_require__.r(__webpack_exports__);
2129
2129
 
2130
- // 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
2130
+ // 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=6e80c8fe
2131
2131
  var render = function () {
2132
2132
  var _vm = this
2133
2133
  var _h = _vm.$createElement
@@ -2143,7 +2143,13 @@ var render = function () {
2143
2143
  ? _c(
2144
2144
  "TaskRead",
2145
2145
  _vm._b(
2146
- { attrs: { businessId: _vm.businessId, type: _vm.type } },
2146
+ {
2147
+ attrs: {
2148
+ businessId: _vm.businessId,
2149
+ type: _vm.type,
2150
+ data: _vm.data,
2151
+ },
2152
+ },
2147
2153
  "TaskRead",
2148
2154
  _vm.$attrs,
2149
2155
  false
@@ -2442,7 +2448,7 @@ var staticRenderFns = []
2442
2448
  render._withStripped = true
2443
2449
 
2444
2450
 
2445
- // CONCATENATED MODULE: ./packages/flow-list/src/main.vue?vue&type=template&id=2c980f0e
2451
+ // CONCATENATED MODULE: ./packages/flow-list/src/main.vue?vue&type=template&id=6e80c8fe
2446
2452
 
2447
2453
  // EXTERNAL MODULE: ./src/config/api.js
2448
2454
  var api = __webpack_require__(2);
@@ -2450,8 +2456,8 @@ var api = __webpack_require__(2);
2450
2456
  // EXTERNAL MODULE: ./src/utils/http.js + 1 modules
2451
2457
  var http = __webpack_require__(3);
2452
2458
 
2453
- // 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
2454
- var taskReadvue_type_template_id_16c364a2_render = function () {
2459
+ // 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=14d60186
2460
+ var taskReadvue_type_template_id_14d60186_render = function () {
2455
2461
  var _vm = this
2456
2462
  var _h = _vm.$createElement
2457
2463
  var _c = _vm._self._c || _h
@@ -2531,7 +2537,7 @@ var taskReadvue_type_template_id_16c364a2_render = function () {
2531
2537
  "handle-status " +
2532
2538
  (item.pendstate == 1 ? "success" : ""),
2533
2539
  },
2534
- [_vm._v(_vm._s(item.querykeywords))]
2540
+ [_vm._v(_vm._s(_vm.getTagValue(item.pendstate)))]
2535
2541
  ),
2536
2542
  ]),
2537
2543
  _c("p", { staticClass: "time" }, [
@@ -2712,11 +2718,11 @@ var taskReadvue_type_template_id_16c364a2_render = function () {
2712
2718
  : _vm._e(),
2713
2719
  ])
2714
2720
  }
2715
- var taskReadvue_type_template_id_16c364a2_staticRenderFns = []
2716
- taskReadvue_type_template_id_16c364a2_render._withStripped = true
2721
+ var taskReadvue_type_template_id_14d60186_staticRenderFns = []
2722
+ taskReadvue_type_template_id_14d60186_render._withStripped = true
2717
2723
 
2718
2724
 
2719
- // CONCATENATED MODULE: ./packages/flow-list/src/taskRead.vue?vue&type=template&id=16c364a2
2725
+ // CONCATENATED MODULE: ./packages/flow-list/src/taskRead.vue?vue&type=template&id=14d60186
2720
2726
 
2721
2727
  // 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
2722
2728
  //
@@ -2840,6 +2846,12 @@ taskReadvue_type_template_id_16c364a2_render._withStripped = true
2840
2846
  showBtn: {
2841
2847
  type: Boolean,
2842
2848
  default: true
2849
+ },
2850
+ data: {
2851
+ type: Array,
2852
+ default: function _default() {
2853
+ return [];
2854
+ }
2843
2855
  }
2844
2856
  },
2845
2857
  data: function data() {
@@ -2853,6 +2865,10 @@ taskReadvue_type_template_id_16c364a2_render._withStripped = true
2853
2865
  };
2854
2866
  },
2855
2867
  mounted: function mounted() {
2868
+ if (this.data.length > 0) {
2869
+ this.handleUserList = this.data;
2870
+ return;
2871
+ }
2856
2872
  if (this.type == 3) {
2857
2873
  this.getReadData(1);
2858
2874
  this.getReadData(2);
@@ -2862,6 +2878,28 @@ taskReadvue_type_template_id_16c364a2_render._withStripped = true
2862
2878
  },
2863
2879
 
2864
2880
  methods: {
2881
+ getTagValue: function getTagValue(type) {
2882
+ switch (type) {
2883
+ case -1:
2884
+ return '预备';
2885
+ case 0:
2886
+ return '未签收';
2887
+ case 1:
2888
+ return '未办理';
2889
+ case 2:
2890
+ return '已办理';
2891
+ case 3:
2892
+ return '驳回';
2893
+ case 4:
2894
+ return '撤回';
2895
+ case 5:
2896
+ return '串行会签预备';
2897
+ case 6:
2898
+ return '自动办理';
2899
+ default:
2900
+ return '';
2901
+ }
2902
+ },
2865
2903
  getpendedhistoryList: function getpendedhistoryList() {
2866
2904
  var _this = this;
2867
2905
 
@@ -2940,7 +2978,6 @@ taskReadvue_type_template_id_16c364a2_render._withStripped = true
2940
2978
  this.$parent.$emit('close');
2941
2979
  },
2942
2980
  handleSelectChange: function handleSelectChange(val) {
2943
- console.log(val, '点击了');
2944
2981
  this.selectedData = this.handleUserList.filter(function (x) {
2945
2982
  return val.includes(x.id);
2946
2983
  });
@@ -2978,8 +3015,8 @@ var componentNormalizer = __webpack_require__(1);
2978
3015
 
2979
3016
  var component = Object(componentNormalizer["a" /* default */])(
2980
3017
  src_taskReadvue_type_script_lang_js,
2981
- taskReadvue_type_template_id_16c364a2_render,
2982
- taskReadvue_type_template_id_16c364a2_staticRenderFns,
3018
+ taskReadvue_type_template_id_14d60186_render,
3019
+ taskReadvue_type_template_id_14d60186_staticRenderFns,
2983
3020
  false,
2984
3021
  null,
2985
3022
  null,
@@ -2992,8 +3029,6 @@ var component = Object(componentNormalizer["a" /* default */])(
2992
3029
  var util = __webpack_require__(0);
2993
3030
 
2994
3031
  // 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
2995
- var _name$props$component;
2996
-
2997
3032
  //
2998
3033
  //
2999
3034
  //
@@ -3164,7 +3199,7 @@ var _name$props$component;
3164
3199
 
3165
3200
 
3166
3201
 
3167
- /* harmony default export */ var mainvue_type_script_lang_js = (_name$props$component = {
3202
+ /* harmony default export */ var mainvue_type_script_lang_js = ({
3168
3203
  name: 'EmFlowList',
3169
3204
  props: {
3170
3205
  businessId: {
@@ -3220,33 +3255,33 @@ var _name$props$component;
3220
3255
  immediate: true
3221
3256
  }
3222
3257
  },
3223
- methods: {}
3224
- }, _name$props$component['methods'] = {
3225
- getFlowList: function getFlowList(apprecordId) {
3226
- var _this = this;
3227
-
3228
- Object(http["a" /* default */])({
3229
- url: api["u" /* pendedhistoryList */],
3230
- type: 'post',
3231
- params: {
3232
- type: this.type,
3233
- apprecordid: apprecordId
3234
- }
3235
- }).then(function (res) {
3236
- var status = res.status,
3237
- data = res.data;
3258
+ methods: {
3259
+ getFlowList: function getFlowList(apprecordId) {
3260
+ var _this = this;
3238
3261
 
3239
- if (status == 'success') {
3240
- _this.processList = _this.type == '0' ? data.wfHistoryList : data.fyHistoryList;
3241
- } else {
3242
- _this.$toast(msg);
3243
- }
3244
- });
3245
- },
3246
- changeMore: function changeMore(i) {
3247
- this.$emit('changeMore', i);
3262
+ Object(http["a" /* default */])({
3263
+ url: api["u" /* pendedhistoryList */],
3264
+ type: 'post',
3265
+ params: {
3266
+ type: this.type,
3267
+ apprecordid: apprecordId
3268
+ }
3269
+ }).then(function (res) {
3270
+ var status = res.status,
3271
+ data = res.data;
3272
+
3273
+ if (status == 'success') {
3274
+ _this.processList = _this.type == '0' ? data.wfHistoryList : data.fyHistoryList;
3275
+ } else {
3276
+ _this.$toast(msg);
3277
+ }
3278
+ });
3279
+ },
3280
+ changeMore: function changeMore(i) {
3281
+ this.$emit('changeMore', i);
3282
+ }
3248
3283
  }
3249
- }, _name$props$component);
3284
+ });
3250
3285
  // CONCATENATED MODULE: ./packages/flow-list/src/main.vue?vue&type=script&lang=js
3251
3286
  /* harmony default export */ var src_mainvue_type_script_lang_js = (mainvue_type_script_lang_js);
3252
3287
  // CONCATENATED MODULE: ./packages/flow-list/src/main.vue
package/lib/flow.js CHANGED
@@ -10083,8 +10083,8 @@ var taskUnionExamine_component = Object(componentNormalizer["a" /* default */])(
10083
10083
  )
10084
10084
 
10085
10085
  /* harmony default export */ var taskUnionExamine = (taskUnionExamine_component.exports);
10086
- // 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
10087
- var supervisevue_type_template_id_01d7fecc_render = function () {
10086
+ // 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=a0018e76
10087
+ var supervisevue_type_template_id_a0018e76_render = function () {
10088
10088
  var _vm = this
10089
10089
  var _h = _vm.$createElement
10090
10090
  var _c = _vm._self._c || _h
@@ -10106,15 +10106,18 @@ var supervisevue_type_template_id_01d7fecc_render = function () {
10106
10106
  },
10107
10107
  on: { onInputMsg: _vm.onInputMsg },
10108
10108
  }),
10109
- _c("em-flow-list", {
10110
- ref: "flowList",
10111
- staticStyle: { flex: "1", "overflow-y": "auto" },
10112
- attrs: {
10113
- type: "4",
10114
- businessId: "7358f2ba425d49018e13386eb987cd45",
10115
- "show-btn": false,
10116
- },
10117
- }),
10109
+ _vm.showFlowList
10110
+ ? _c("em-flow-list", {
10111
+ ref: "flowList",
10112
+ staticStyle: { flex: "1", "overflow-y": "auto" },
10113
+ attrs: {
10114
+ type: "4",
10115
+ data: _vm.flowList,
10116
+ businessId: "7358f2ba425d49018e13386eb987cd45",
10117
+ "show-btn": false,
10118
+ },
10119
+ })
10120
+ : _vm._e(),
10118
10121
  _c("div", { staticClass: "btn-list" }, [
10119
10122
  _c("div", { staticClass: "btn", on: { click: _vm.goBack } }, [
10120
10123
  _vm._v("取消"),
@@ -10127,11 +10130,11 @@ var supervisevue_type_template_id_01d7fecc_render = function () {
10127
10130
  1
10128
10131
  )
10129
10132
  }
10130
- var supervisevue_type_template_id_01d7fecc_staticRenderFns = []
10131
- supervisevue_type_template_id_01d7fecc_render._withStripped = true
10133
+ var supervisevue_type_template_id_a0018e76_staticRenderFns = []
10134
+ supervisevue_type_template_id_a0018e76_render._withStripped = true
10132
10135
 
10133
10136
 
10134
- // CONCATENATED MODULE: ./packages/flow/src/components/supervise.vue?vue&type=template&id=01d7fecc
10137
+ // CONCATENATED MODULE: ./packages/flow/src/components/supervise.vue?vue&type=template&id=a0018e76
10135
10138
 
10136
10139
  // 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
10137
10140
  //
@@ -10165,6 +10168,8 @@ supervisevue_type_template_id_01d7fecc_render._withStripped = true
10165
10168
  //
10166
10169
  //
10167
10170
  //
10171
+ //
10172
+ //
10168
10173
 
10169
10174
 
10170
10175
 
@@ -10179,8 +10184,10 @@ supervisevue_type_template_id_01d7fecc_render._withStripped = true
10179
10184
  data: function data() {
10180
10185
  return {
10181
10186
  form: {
10182
- title: '123'
10183
- }
10187
+ title: ''
10188
+ },
10189
+ flowList: [],
10190
+ showFlowList: false
10184
10191
  };
10185
10192
  },
10186
10193
  mounted: function mounted() {
@@ -10191,15 +10198,9 @@ supervisevue_type_template_id_01d7fecc_render._withStripped = true
10191
10198
  onSubmit: function onSubmit() {
10192
10199
  var _this = this;
10193
10200
 
10194
- console.log('点击了提交');
10195
10201
  var selectInfo = this.$refs.flowList.$children[0].selectedData;
10196
10202
  if (selectInfo.length == 0) return this.$toast('请选择需要督办的流程');
10197
- console.log(selectInfo);
10198
- return;
10199
- if (!this.form.notificationMsg) {
10200
- this.$toast('请填写通知消息内容');
10201
- return;
10202
- }
10203
+
10203
10204
  var _form = this.form,
10204
10205
  noticeType = _form.noticeType,
10205
10206
  notificationMsg = _form.notificationMsg,
@@ -10209,12 +10210,15 @@ supervisevue_type_template_id_01d7fecc_render._withStripped = true
10209
10210
  url: api["R" /* toTaskSuperviseSub */],
10210
10211
  params: {
10211
10212
  userId: util["a" /* default */].getStorage('userId'),
10212
- urgeUserIds: pendingUserIds,
10213
- notificationType: noticeType,
10213
+ urgeUserIds: selectInfo.map(function (item) {
10214
+ return item.userid;
10215
+ }).join(','),
10216
+ notificationType: Array.isArray(noticeType) ? noticeType.join(',') : noticeType,
10214
10217
  notificationMessage: notificationMsg,
10215
10218
  businessId: this.businessId
10216
10219
  }
10217
10220
  };
10221
+
10218
10222
  this.$toast.loading({
10219
10223
  duration: 0,
10220
10224
  forbidClick: true,
@@ -10223,7 +10227,7 @@ supervisevue_type_template_id_01d7fecc_render._withStripped = true
10223
10227
  Object(http["a" /* default */])(params).then(function (res) {
10224
10228
  _this.$toast.clear();
10225
10229
  if (res.rCode == 0 || res.status == 'success') {
10226
- _this.$toast('提交成功');
10230
+ _this.$toast('发送成功');
10227
10231
  _this.$parent.$emit('success');
10228
10232
  } else {
10229
10233
  _this.$message.error(res.message || '系统错误,请联系管理员!');
@@ -10251,7 +10255,10 @@ supervisevue_type_template_id_01d7fecc_render._withStripped = true
10251
10255
  _this2.$toast.clear();
10252
10256
  if (res.rCode == 0) {
10253
10257
  _this2.form = res.results;
10254
- _this2.form.noticeType = res.results.defaultNotificationType.split(',');
10258
+ _this2.form.notificationMsg = res.results.notifyMessage;
10259
+ _this2.flowList = res.results.taskSuperviseHistories;
10260
+ _this2.form.noticeType = res.results.fixedNotificationType.split(',');
10261
+ _this2.showFlowList = true;
10255
10262
  } else {
10256
10263
  _this2.$toast(res.msg);
10257
10264
  _this2.goBack();
@@ -10278,8 +10285,8 @@ supervisevue_type_template_id_01d7fecc_render._withStripped = true
10278
10285
 
10279
10286
  var supervise_component = Object(componentNormalizer["a" /* default */])(
10280
10287
  components_supervisevue_type_script_lang_js,
10281
- supervisevue_type_template_id_01d7fecc_render,
10282
- supervisevue_type_template_id_01d7fecc_staticRenderFns,
10288
+ supervisevue_type_template_id_a0018e76_render,
10289
+ supervisevue_type_template_id_a0018e76_staticRenderFns,
10283
10290
  false,
10284
10291
  null,
10285
10292
  null,
@@ -10288,8 +10295,8 @@ var supervise_component = Object(componentNormalizer["a" /* default */])(
10288
10295
  )
10289
10296
 
10290
10297
  /* harmony default export */ var supervise = (supervise_component.exports);
10291
- // 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/reset.vue?vue&type=template&id=c502f2b2
10292
- var resetvue_type_template_id_c502f2b2_render = function () {
10298
+ // 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/reset.vue?vue&type=template&id=559054b6
10299
+ var resetvue_type_template_id_559054b6_render = function () {
10293
10300
  var _vm = this
10294
10301
  var _h = _vm.$createElement
10295
10302
  var _c = _vm._self._c || _h
@@ -10590,11 +10597,11 @@ var resetvue_type_template_id_c502f2b2_render = function () {
10590
10597
  ]),
10591
10598
  ])
10592
10599
  }
10593
- var resetvue_type_template_id_c502f2b2_staticRenderFns = []
10594
- resetvue_type_template_id_c502f2b2_render._withStripped = true
10600
+ var resetvue_type_template_id_559054b6_staticRenderFns = []
10601
+ resetvue_type_template_id_559054b6_render._withStripped = true
10595
10602
 
10596
10603
 
10597
- // CONCATENATED MODULE: ./packages/flow/src/components/reset.vue?vue&type=template&id=c502f2b2
10604
+ // CONCATENATED MODULE: ./packages/flow/src/components/reset.vue?vue&type=template&id=559054b6
10598
10605
 
10599
10606
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/reset.vue?vue&type=script&lang=js
10600
10607
  var resetvue_type_script_lang_js_typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
@@ -11236,14 +11243,14 @@ var resetvue_type_script_lang_js_typeof = typeof Symbol === "function" && typeof
11236
11243
  Object(http["a" /* default */])({
11237
11244
  url: _that.apiBaseUrl ? _that.apiBaseUrl + api["k" /* getNodeInfo */] : api["k" /* getNodeInfo */],
11238
11245
  params: {
11239
- // params: {
11240
- processDefinitionId: this.processObj.processDefinitionId,
11241
- nextNodeId: res,
11242
- businessId: this.processObj.businessId,
11243
- // taskId: this.processObj.taskId,
11244
- pendingId: this.processObj.pendingId,
11245
- userId: _that.userId
11246
- // }
11246
+ params: {
11247
+ processDefinitionId: this.processObj.processDefinitionId,
11248
+ nextNodeId: res,
11249
+ businessId: this.processObj.businessId,
11250
+ // taskId: this.processObj.taskId,
11251
+ pendingId: this.processObj.pendingId,
11252
+ userId: _that.userId
11253
+ }
11247
11254
  }
11248
11255
  }).then(function (res) {
11249
11256
  _this5.$toast.clear();
@@ -11299,8 +11306,8 @@ var resetvue_type_script_lang_js_typeof = typeof Symbol === "function" && typeof
11299
11306
 
11300
11307
  var reset_component = Object(componentNormalizer["a" /* default */])(
11301
11308
  components_resetvue_type_script_lang_js,
11302
- resetvue_type_template_id_c502f2b2_render,
11303
- resetvue_type_template_id_c502f2b2_staticRenderFns,
11309
+ resetvue_type_template_id_559054b6_render,
11310
+ resetvue_type_template_id_559054b6_staticRenderFns,
11304
11311
  false,
11305
11312
  null,
11306
11313
  null,