eoss-mobiles 0.3.9 → 0.3.11

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 (37) hide show
  1. package/lib/checkbox.js +44 -35
  2. package/lib/config/api.js +7 -3
  3. package/lib/eoss-mobile.common.js +624 -280
  4. package/lib/flow-btn.js +42 -35
  5. package/lib/flow-list.js +41 -34
  6. package/lib/flow.js +551 -249
  7. package/lib/form.js +3 -3
  8. package/lib/index.js +1 -1
  9. package/lib/picker.js +40 -33
  10. package/lib/radio.js +40 -33
  11. package/lib/retrial-auth.js +42 -35
  12. package/lib/selector.js +170 -122
  13. package/lib/table-column.js +40 -33
  14. package/lib/table.js +3 -1
  15. package/lib/theme-chalk/flow.css +1 -1
  16. package/lib/theme-chalk/index.css +1 -1
  17. package/lib/theme-chalk/selector.css +1 -1
  18. package/lib/utils/axios.js +1 -1
  19. package/package.json +1 -1
  20. package/packages/checkbox/src/main.vue +1 -0
  21. package/packages/flow/src/components/Handle.vue +146 -20
  22. package/packages/flow/src/components/Message.vue +31 -7
  23. package/packages/flow/src/components/StartFlow.vue +2 -0
  24. package/packages/flow/src/components/taskUnionExamine.vue +109 -28
  25. package/packages/flow/src/main.vue +2 -1
  26. package/packages/form/src/main.vue +48 -48
  27. package/packages/selector/src/selector-tree.vue +16 -2
  28. package/packages/selector/src/tree.vue +16 -4
  29. package/packages/table/src/main.vue +2 -0
  30. package/packages/theme-chalk/lib/flow.css +1 -1
  31. package/packages/theme-chalk/lib/index.css +1 -1
  32. package/packages/theme-chalk/lib/selector.css +1 -1
  33. package/packages/theme-chalk/src/flow.scss +29 -0
  34. package/packages/theme-chalk/src/selector.scss +6 -0
  35. package/src/config/api.js +8 -3
  36. package/src/index.js +1 -1
  37. package/src/utils/axios.js +1 -1
@@ -2150,8 +2150,8 @@ mainvue_type_template_id_17308961_render._withStripped = true
2150
2150
 
2151
2151
  // CONCATENATED MODULE: ./packages/selector/src/main.vue?vue&type=template&id=17308961
2152
2152
 
2153
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/selector-tree.vue?vue&type=template&id=3dce1d56
2154
- var selector_treevue_type_template_id_3dce1d56_render = function () {
2153
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/selector-tree.vue?vue&type=template&id=347d4352
2154
+ var selector_treevue_type_template_id_347d4352_render = function () {
2155
2155
  var _vm = this
2156
2156
  var _h = _vm.$createElement
2157
2157
  var _c = _vm._self._c || _h
@@ -2243,6 +2243,7 @@ var selector_treevue_type_template_id_3dce1d56_render = function () {
2243
2243
  departmentValueKey: _vm.departmentValueKey,
2244
2244
  namelike: _vm.namelike,
2245
2245
  nodeKey: _vm.nodeKey,
2246
+ disableds: _vm.disableds,
2246
2247
  showCount: _vm.showCount,
2247
2248
  countKey: _vm.countKey,
2248
2249
  selectType: _vm.newParam.selecttype,
@@ -2330,14 +2331,14 @@ var selector_treevue_type_template_id_3dce1d56_render = function () {
2330
2331
  1
2331
2332
  )
2332
2333
  }
2333
- var selector_treevue_type_template_id_3dce1d56_staticRenderFns = []
2334
- selector_treevue_type_template_id_3dce1d56_render._withStripped = true
2334
+ var selector_treevue_type_template_id_347d4352_staticRenderFns = []
2335
+ selector_treevue_type_template_id_347d4352_render._withStripped = true
2335
2336
 
2336
2337
 
2337
- // CONCATENATED MODULE: ./packages/selector/src/selector-tree.vue?vue&type=template&id=3dce1d56
2338
+ // CONCATENATED MODULE: ./packages/selector/src/selector-tree.vue?vue&type=template&id=347d4352
2338
2339
 
2339
- // 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=59562f91
2340
- var treevue_type_template_id_59562f91_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=1d5109d4
2341
+ var treevue_type_template_id_1d5109d4_render = function () {
2341
2342
  var _vm = this
2342
2343
  var _h = _vm.$createElement
2343
2344
  var _c = _vm._self._c || _h
@@ -2512,7 +2513,9 @@ var treevue_type_template_id_59562f91_render = function () {
2512
2513
  modifiers: { stop: true },
2513
2514
  },
2514
2515
  ],
2515
- staticClass: "iconfont icon-gou select-icon",
2516
+ class:
2517
+ "iconfont icon-gou select-icon " +
2518
+ (_vm.isDisabled(item) ? "disabled" : ""),
2516
2519
  })
2517
2520
  : _c("i", {
2518
2521
  directives: [
@@ -2537,7 +2540,9 @@ var treevue_type_template_id_59562f91_render = function () {
2537
2540
  modifiers: { stop: true },
2538
2541
  },
2539
2542
  ],
2540
- staticClass: "iconfont icon-quan select-icon",
2543
+ class:
2544
+ "iconfont icon-quan select-icon " +
2545
+ (_vm.isDisabled(item) ? "disabled" : ""),
2541
2546
  }),
2542
2547
  ],
2543
2548
  1
@@ -2571,6 +2576,7 @@ var treevue_type_template_id_59562f91_render = function () {
2571
2576
  nameSize: _vm.nameSize,
2572
2577
  selectType: _vm.selectType,
2573
2578
  unit: _vm.unit,
2579
+ disableds: _vm.disableds,
2574
2580
  showMore: _vm.showMore,
2575
2581
  enterprise: _vm.enterprise,
2576
2582
  selectLabel: _vm.selectLabel,
@@ -2696,7 +2702,9 @@ var treevue_type_template_id_59562f91_render = function () {
2696
2702
  "{ methods: checke, obj: item }",
2697
2703
  },
2698
2704
  ],
2699
- staticClass: "iconfont icon-gou",
2705
+ class:
2706
+ "iconfont icon-gou " +
2707
+ (_vm.isDisabled(item) ? "disabled" : ""),
2700
2708
  })
2701
2709
  : _c("i", {
2702
2710
  directives: [
@@ -2708,7 +2716,9 @@ var treevue_type_template_id_59562f91_render = function () {
2708
2716
  "{ methods: checke, obj: item }",
2709
2717
  },
2710
2718
  ],
2711
- staticClass: "iconfont icon-quan",
2719
+ class:
2720
+ "iconfont icon-quan " +
2721
+ (_vm.isDisabled(item) ? "disabled" : ""),
2712
2722
  }),
2713
2723
  ])
2714
2724
  : _vm._e(),
@@ -2721,11 +2731,11 @@ var treevue_type_template_id_59562f91_render = function () {
2721
2731
  0
2722
2732
  )
2723
2733
  }
2724
- var treevue_type_template_id_59562f91_staticRenderFns = []
2725
- treevue_type_template_id_59562f91_render._withStripped = true
2734
+ var treevue_type_template_id_1d5109d4_staticRenderFns = []
2735
+ treevue_type_template_id_1d5109d4_render._withStripped = true
2726
2736
 
2727
2737
 
2728
- // CONCATENATED MODULE: ./packages/selector/src/tree.vue?vue&type=template&id=59562f91
2738
+ // CONCATENATED MODULE: ./packages/selector/src/tree.vue?vue&type=template&id=1d5109d4
2729
2739
 
2730
2740
  // 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
2731
2741
  //
@@ -2948,6 +2958,7 @@ treevue_type_template_id_59562f91_render._withStripped = true
2948
2958
  //
2949
2959
  //
2950
2960
  //
2961
+ //
2951
2962
 
2952
2963
  /* harmony default export */ var treevue_type_script_lang_js = ({
2953
2964
  name: 'em-tree',
@@ -3055,6 +3066,12 @@ treevue_type_template_id_59562f91_render._withStripped = true
3055
3066
  type: Boolean,
3056
3067
  default: false
3057
3068
  },
3069
+ disableds: {
3070
+ type: Array,
3071
+ default: function _default() {
3072
+ return [];
3073
+ }
3074
+ },
3058
3075
  oldIsSearch: Boolean,
3059
3076
  isSearch: Boolean
3060
3077
  },
@@ -3090,6 +3107,12 @@ treevue_type_template_id_59562f91_render._withStripped = true
3090
3107
  },
3091
3108
 
3092
3109
  methods: {
3110
+ isDisabled: function isDisabled(item) {
3111
+ if (this.disableds && this.disableds.length > 0) {
3112
+ return this.disableds.includes(item[this.valueKey]);
3113
+ }
3114
+ return item.disabled;
3115
+ },
3093
3116
  getUserInfo: function getUserInfo(attr) {
3094
3117
  var info = JSON.parse(attr);
3095
3118
  return info.username + '-' + info.orgName + '-' + info.depShortName;
@@ -3106,6 +3129,7 @@ treevue_type_template_id_59562f91_render._withStripped = true
3106
3129
  this.$emit('popen', res, res.isStart || isStart, true, 'title');
3107
3130
  },
3108
3131
  checke: function checke(res) {
3132
+ if (this.isDisabled(res.obj)) return;
3109
3133
  var model = undefined;
3110
3134
  if (this.isAllCheck) model = this.model;
3111
3135
  this.$emit('checke', res, model);
@@ -3131,8 +3155,8 @@ treevue_type_template_id_59562f91_render._withStripped = true
3131
3155
 
3132
3156
  var tree_component = normalizeComponent(
3133
3157
  src_treevue_type_script_lang_js,
3134
- treevue_type_template_id_59562f91_render,
3135
- treevue_type_template_id_59562f91_staticRenderFns,
3158
+ treevue_type_template_id_1d5109d4_render,
3159
+ treevue_type_template_id_1d5109d4_staticRenderFns,
3136
3160
  false,
3137
3161
  null,
3138
3162
  null,
@@ -3184,7 +3208,7 @@ var api_getNodeInfo = '/bpm/v1/mecpItask/getNodeInfoNew.json';
3184
3208
  var toStartFlow = '/bpm/v1/mecpItask/toStartFlowNew.json';
3185
3209
  // export const toStartFlow = '/bpm/v1/mecpItask/toStartFlow.json';
3186
3210
  // export const toStartFlow = activiti + mecp + '/bpmBackend/toStartFlowIndex';
3187
-
3211
+ var findUserBaseInfo = '/sys/v1/mecpSys/findUserBaseInfo.dhtml';
3188
3212
  // 驳回(为H5提供接口)
3189
3213
  // export const taskRejectHtml = '/api/mecp/v1/mecpItask/taskRejectHtml.json';
3190
3214
  var taskRejectHtml = activiti + mecp + '/bpmBackend/taskReject';
@@ -3240,6 +3264,10 @@ var pendedhistoryList = '/api/v1/mecpIpending/pendedhistoryList.json';
3240
3264
  var getHandleButtonHtml = '/api/mecp/v1/mecpItask/getHandleButtonHtml.json';
3241
3265
  // 获取系统参数
3242
3266
  var getSysParam = '/api/v1/mecpSys/getSysParam.json';
3267
+ // 自由发起流程获取配置参数
3268
+ var getFreeStartFlowParams = '/bpm/bpmBackend/getFreeStartFlowParams';
3269
+ // 获取发起流程列表
3270
+ var getProcessDefList = '/bpm/v1/mecpItask/getProcessDefList.json';
3243
3271
  // EXTERNAL MODULE: external "axios"
3244
3272
  var external_axios_ = __webpack_require__(4);
3245
3273
  var external_axios_default = /*#__PURE__*/__webpack_require__.n(external_axios_);
@@ -3368,7 +3396,7 @@ var axios_ajax = function ajax(url) {
3368
3396
  break;
3369
3397
  case 403:
3370
3398
  error.message = '登录过期,请重新登录';
3371
- util["a" /* default */].removeStorage('userId');
3399
+ // $.removeStorage('userId');
3372
3400
  break;
3373
3401
  case 404:
3374
3402
  error.message = '网络请求不存在';
@@ -3632,6 +3660,7 @@ var _props, _methods;
3632
3660
  //
3633
3661
  //
3634
3662
  //
3663
+ //
3635
3664
 
3636
3665
 
3637
3666
 
@@ -3681,6 +3710,11 @@ var _props, _methods;
3681
3710
  }, _props.unit = {
3682
3711
  type: String,
3683
3712
  default: '人'
3713
+ }, _props.disableds = {
3714
+ type: Array,
3715
+ default: function _default() {
3716
+ return [];
3717
+ }
3684
3718
  }, _props.showSearch = {
3685
3719
  type: Boolean,
3686
3720
  default: true
@@ -3832,6 +3866,8 @@ var _props, _methods;
3832
3866
  },
3833
3867
  computed: {
3834
3868
  newTabs: function newTabs() {
3869
+ var _this2 = this;
3870
+
3835
3871
  var tabs = {
3836
3872
  enterprise: {
3837
3873
  label: '选择单位',
@@ -4085,9 +4121,15 @@ var _props, _methods;
4085
4121
  }
4086
4122
  }
4087
4123
  var newtabs = [];
4124
+ console.log(copyTabs, this.param, 'copyTabs');
4088
4125
  copyTabs.map(function (x) {
4126
+ if (_this2.param[x]) {
4127
+ obj[x].param = _extends({}, obj[x].param, _this2.param[x]);
4128
+ console.log(_this2.param[x], 'this.param[x]');
4129
+ }
4089
4130
  newtabs.push(obj[x]);
4090
4131
  });
4132
+ console.log(newtabs, 'newtabs');
4091
4133
  return newtabs;
4092
4134
  }
4093
4135
  },
@@ -4110,7 +4152,7 @@ var _props, _methods;
4110
4152
  this.getContent();
4111
4153
  },
4112
4154
  getNodeList: function getNodeList(isSearch) {
4113
- var _this2 = this;
4155
+ var _this3 = this;
4114
4156
 
4115
4157
  this.personnel = JSON.parse(JSON.stringify(this.nodeList));
4116
4158
  // !isSearch && (this.list = $.deepClone(this.selectList));
@@ -4137,7 +4179,7 @@ var _props, _methods;
4137
4179
  } else {
4138
4180
  _this.personnel.map(function (x) {
4139
4181
  if (x.children && x.children.length > 0) {
4140
- _this2.setChecked(x.children);
4182
+ _this3.setChecked(x.children);
4141
4183
  } else {
4142
4184
  _this.$set(x, 'checked', false);
4143
4185
  }
@@ -4155,13 +4197,13 @@ var _props, _methods;
4155
4197
  });
4156
4198
  },
4157
4199
  setChecked: function setChecked(list) {
4158
- var _this3 = this;
4200
+ var _this4 = this;
4159
4201
 
4160
4202
  list.map(function (x) {
4161
4203
  if (x.children && x.children.length > 0) {
4162
- _this3.setChecked(x.children);
4204
+ _this4.setChecked(x.children);
4163
4205
  } else {
4164
- _this3.$set(x, 'checked', false);
4206
+ _this4.$set(x, 'checked', false);
4165
4207
  }
4166
4208
  });
4167
4209
  },
@@ -4201,19 +4243,19 @@ var _props, _methods;
4201
4243
  * @author liufan
4202
4244
  */
4203
4245
  onSearch: function onSearch() {
4204
- var _this4 = this;
4246
+ var _this5 = this;
4205
4247
 
4206
4248
  if (this.timer != null) {
4207
4249
  clearTimeout(this.timer);
4208
4250
  }
4209
4251
  this.timer = setTimeout(function () {
4210
- if (_this4.$listeners.search) {
4211
- _this4.oldIsSearch = _this4.isSearch;
4212
- _this4.isSearch = !_this4.isSearch;
4213
- _this4.$emit('search', _this4.namelike);
4252
+ if (_this5.$listeners.search) {
4253
+ _this5.oldIsSearch = _this5.isSearch;
4254
+ _this5.isSearch = !_this5.isSearch;
4255
+ _this5.$emit('search', _this5.namelike);
4214
4256
  } else {
4215
- _this4.inputSearch = true;
4216
- _this4.getContent();
4257
+ _this5.inputSearch = true;
4258
+ _this5.getContent();
4217
4259
  }
4218
4260
  }, 1000);
4219
4261
  },
@@ -4225,7 +4267,7 @@ var _props, _methods;
4225
4267
  * @author liufan
4226
4268
  */
4227
4269
  getContent: function getContent(name) {
4228
- var _this5 = this;
4270
+ var _this6 = this;
4229
4271
 
4230
4272
  if (name) {
4231
4273
  this.label = name;
@@ -4238,13 +4280,13 @@ var _props, _methods;
4238
4280
  overlay: true,
4239
4281
  duration: 0
4240
4282
  });
4241
- this.newParam = JSON.parse(JSON.stringify(this.param));
4283
+ this.newParam = _extends({}, JSON.parse(JSON.stringify(this.param)));
4242
4284
  this.newParam.selecttype = this.newTabs[this.selectIndex].param.selecttype;
4243
4285
  if (this.newParam.selecttype === 'persongroup') {
4244
4286
  this.newParam.pid = 'root';
4245
4287
  this.newParam.myUserid = this.newParam.myUserid || util["a" /* default */].getStorage('userId');
4246
4288
  } else {
4247
- this.newParam.pid = this.param.pid || 'root';
4289
+ this.newParam.pid = this.newTabs[this.selectIndex].param.pid || this.param.pid || 'root';
4248
4290
  }
4249
4291
  utils_http({
4250
4292
  url: this.url ? this.url : this.baseUrl ? this.baseUrl + selectObject : selectObject,
@@ -4255,45 +4297,45 @@ var _props, _methods;
4255
4297
  filid: this.filid
4256
4298
  }, this.newParam)
4257
4299
  }).then(function (res) {
4258
- _this5.$toast.clear();
4300
+ _this6.$toast.clear();
4259
4301
  var rCode = res.rCode,
4260
4302
  msg = res.msg;
4261
4303
 
4262
4304
  if (rCode == 0) {
4263
- if (_this5.inputSearch && !_this5.namelike) {
4264
- _this5.inputSearch = false;
4265
- } else if (_this5.namelike.trim()) {
4266
- _this5.inputSearch = true;
4305
+ if (_this6.inputSearch && !_this6.namelike) {
4306
+ _this6.inputSearch = false;
4307
+ } else if (_this6.namelike.trim()) {
4308
+ _this6.inputSearch = true;
4267
4309
  }
4268
- if (typeof _this5.selectList == 'string') {
4269
- _this5.selectData = [];
4270
- _this5.list = _this5.getSelectData(JSON.parse(JSON.stringify(res.results)));
4271
- _this5.$emit('update:selectList', _this5.list);
4310
+ if (typeof _this6.selectList == 'string') {
4311
+ _this6.selectData = [];
4312
+ _this6.list = _this6.getSelectData(JSON.parse(JSON.stringify(res.results)));
4313
+ _this6.$emit('update:selectList', _this6.list);
4272
4314
  }
4273
- _this5.personnel = JSON.parse(JSON.stringify(res.results));
4274
- var _this = _this5;
4275
- _this5.list.filter(function (r) {
4315
+ _this6.personnel = JSON.parse(JSON.stringify(res.results));
4316
+ var _this = _this6;
4317
+ _this6.list.filter(function (r) {
4276
4318
  _this.personnel.find(function (i) {
4277
4319
  if (i[_this.valueKey] === r[_this.valueKey]) {
4278
4320
  _this.$set(i, 'checked', true);
4279
4321
  }
4280
4322
  });
4281
4323
  });
4282
- _this5.genre = JSON.parse(JSON.stringify(res.results));
4324
+ _this6.genre = JSON.parse(JSON.stringify(res.results));
4283
4325
  } else {
4284
- _this5.$toast(msg);
4326
+ _this6.$toast(msg);
4285
4327
  }
4286
4328
  });
4287
4329
  },
4288
4330
  getSelectData: function getSelectData(data) {
4289
- var _this6 = this;
4331
+ var _this7 = this;
4290
4332
 
4291
4333
  var _this = this;
4292
4334
  var user = this.selectList.split(',');
4293
4335
  user.map(function (x) {
4294
4336
  data.map(function (i) {
4295
4337
  if (i[_this.valueKey] == x) {
4296
- _this6.selectData.push(i);
4338
+ _this7.selectData.push(i);
4297
4339
  } else if (i.children) {
4298
4340
  _this.getSelectData(i.children);
4299
4341
  }
@@ -4302,7 +4344,7 @@ var _props, _methods;
4302
4344
  return this.selectData;
4303
4345
  },
4304
4346
  getData: function getData(obj) {
4305
- var _this7 = this;
4347
+ var _this8 = this;
4306
4348
 
4307
4349
  var params = _extends({}, this.newParam, {
4308
4350
  pid: obj[this.valueKey],
@@ -4321,7 +4363,7 @@ var _props, _methods;
4321
4363
  params: params
4322
4364
  }).then(function (res) {
4323
4365
  if (res.rCode == 0) {
4324
- if (res.results.length > 0 && res.results[0].nocheck == false && _this7.isAllCheck && _this7.multiple) {
4366
+ if (res.results.length > 0 && res.results[0].nocheck == false && _this8.isAllCheck && _this8.multiple) {
4325
4367
  res.results.unshift({
4326
4368
  showshortname: '全选',
4327
4369
  checked: false,
@@ -4330,16 +4372,16 @@ var _props, _methods;
4330
4372
  parentshowid: res.results[0].parentshowid
4331
4373
  });
4332
4374
  }
4333
- _this7.$set(obj, 'children', res.results);
4334
- var _this = _this7;
4335
- _this7.list.filter(function (r) {
4375
+ _this8.$set(obj, 'children', res.results);
4376
+ var _this = _this8;
4377
+ _this8.list.filter(function (r) {
4336
4378
  obj.children.find(function (i) {
4337
4379
  if (i[_this.valueKey] === r[_this.valueKey]) {
4338
4380
  _this.$set(i, 'checked', true);
4339
4381
  }
4340
4382
  });
4341
4383
  });
4342
- if (_this7.isAllCheck && _this7.multiple && obj.children.length > 0) {
4384
+ if (_this8.isAllCheck && _this8.multiple && obj.children.length > 0) {
4343
4385
  var checkList = obj.children.slice(1, obj.children.length).filter(function (x) {
4344
4386
  return x.checked;
4345
4387
  });
@@ -4348,11 +4390,11 @@ var _props, _methods;
4348
4390
  }
4349
4391
  }
4350
4392
  }
4351
- _this7.$toast.clear();
4393
+ _this8.$toast.clear();
4352
4394
  });
4353
4395
  },
4354
4396
  getChiled: function getChiled(res, isStart, key) {
4355
- var _this8 = this;
4397
+ var _this9 = this;
4356
4398
 
4357
4399
  var _that = this;
4358
4400
  var data = [];
@@ -4395,9 +4437,9 @@ var _props, _methods;
4395
4437
  _that.$set(i, 'checked', false);
4396
4438
  });
4397
4439
  }
4398
- _this8.$toast.clear();
4440
+ _this9.$toast.clear();
4399
4441
  }).catch(function (err) {
4400
- _this8.$toast('数据返回错误');
4442
+ _this9.$toast('数据返回错误');
4401
4443
  });
4402
4444
  } else {
4403
4445
  data.map(function (x) {
@@ -4458,18 +4500,21 @@ var _props, _methods;
4458
4500
  }
4459
4501
  },
4460
4502
  checked: function checked(res, model) {
4461
- var _this9 = this;
4503
+ var _this10 = this;
4462
4504
 
4463
4505
  this.oldIsSearch = this.isSearch;
4506
+ if (!res.obj.mixType) {
4507
+ this.$set(res.obj, 'mixType', this.newTabs[this.selectIndex].name);
4508
+ }
4464
4509
  if (res.obj.checked) {
4465
4510
  if (res.obj.isAllCheck) {
4466
4511
  model.map(function (x) {
4467
- for (var i in _this9.list) {
4468
- if (_this9.list[i][_this9.valueKey] == x[_this9.valueKey]) {
4469
- _this9.list.splice(i, 1);
4512
+ for (var i in _this10.list) {
4513
+ if (_this10.list[i][_this10.valueKey] == x[_this10.valueKey]) {
4514
+ _this10.list.splice(i, 1);
4470
4515
  }
4471
4516
  }
4472
- _this9.$set(x, 'checked', false);
4517
+ _this10.$set(x, 'checked', false);
4473
4518
  });
4474
4519
  } else {
4475
4520
  for (var i in this.list) {
@@ -4489,7 +4534,7 @@ var _props, _methods;
4489
4534
  var _list;
4490
4535
 
4491
4536
  model.map(function (x) {
4492
- _this9.$set(x, 'checked', true);
4537
+ _this10.$set(x, 'checked', true);
4493
4538
  });
4494
4539
  (_list = this.list).push.apply(_list, model.slice(1, model.length));
4495
4540
  } else {
@@ -4519,16 +4564,16 @@ var _props, _methods;
4519
4564
  }
4520
4565
  }
4521
4566
  }, _methods['setChecked'] = function setChecked(data, item) {
4522
- var _this10 = this;
4567
+ var _this11 = this;
4523
4568
 
4524
4569
  data.map(function (x) {
4525
- if (x[_this10.valueKey] === item[_this10.valueKey]) {
4526
- _this10.$set(x, 'checked', true);
4570
+ if (x[_this11.valueKey] === item[_this11.valueKey]) {
4571
+ _this11.$set(x, 'checked', true);
4527
4572
  } else {
4528
- _this10.$set(x, 'checked', false);
4573
+ _this11.$set(x, 'checked', false);
4529
4574
  }
4530
4575
  if (x.children) {
4531
- _this10.setChecked(x.children, item);
4576
+ _this11.setChecked(x.children, item);
4532
4577
  }
4533
4578
  });
4534
4579
  }, _methods.dispose = function dispose() {
@@ -4555,8 +4600,8 @@ var _props, _methods;
4555
4600
 
4556
4601
  var selector_tree_component = normalizeComponent(
4557
4602
  src_selector_treevue_type_script_lang_js,
4558
- selector_treevue_type_template_id_3dce1d56_render,
4559
- selector_treevue_type_template_id_3dce1d56_staticRenderFns,
4603
+ selector_treevue_type_template_id_347d4352_render,
4604
+ selector_treevue_type_template_id_347d4352_staticRenderFns,
4560
4605
  false,
4561
4606
  null,
4562
4607
  null,
@@ -10083,6 +10128,7 @@ var table_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
10083
10128
  },
10084
10129
  clickOpenEnlarge: function clickOpenEnlarge() {
10085
10130
  this.isEnlarge = true;
10131
+ this.$emit('enlarge-change', true);
10086
10132
  },
10087
10133
  currentChange: function currentChange(res) {
10088
10134
  var _this7 = this;
@@ -10633,6 +10679,7 @@ var table_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
10633
10679
  on: {
10634
10680
  click: function click() {
10635
10681
  _this14.isEnlarge = false;
10682
+ _this14.$emit('enlarge-change', false);
10636
10683
  }
10637
10684
  }
10638
10685
  })]));
@@ -12776,8 +12823,8 @@ list_src_main.install = function (Vue) {
12776
12823
  };
12777
12824
 
12778
12825
  /* harmony default export */ var list = (list_src_main);
12779
- // 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=8558f576
12780
- var mainvue_type_template_id_8558f576_render = function () {
12826
+ // 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=1bffef47
12827
+ var mainvue_type_template_id_1bffef47_render = function () {
12781
12828
  var _vm = this
12782
12829
  var _h = _vm.$createElement
12783
12830
  var _c = _vm._self._c || _h
@@ -12795,12 +12842,13 @@ var mainvue_type_template_id_8558f576_render = function () {
12795
12842
  false
12796
12843
  )
12797
12844
  )
12798
- : _vm.type === "handle"
12845
+ : _vm.type === "handle" || _vm.type === "freeStart"
12799
12846
  ? _c(
12800
12847
  "Handle",
12801
12848
  _vm._b(
12802
12849
  {
12803
12850
  attrs: {
12851
+ type: _vm.type,
12804
12852
  userId: _vm.userId,
12805
12853
  identityIds: _vm.userId,
12806
12854
  beforeSubmit: _vm.beforeSubmit,
@@ -12866,14 +12914,14 @@ var mainvue_type_template_id_8558f576_render = function () {
12866
12914
  1
12867
12915
  )
12868
12916
  }
12869
- var mainvue_type_template_id_8558f576_staticRenderFns = []
12870
- mainvue_type_template_id_8558f576_render._withStripped = true
12917
+ var mainvue_type_template_id_1bffef47_staticRenderFns = []
12918
+ mainvue_type_template_id_1bffef47_render._withStripped = true
12871
12919
 
12872
12920
 
12873
- // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=8558f576
12921
+ // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=1bffef47
12874
12922
 
12875
- // 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/StartFlow.vue?vue&type=template&id=5cb83d24
12876
- var StartFlowvue_type_template_id_5cb83d24_render = function () {
12923
+ // 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/StartFlow.vue?vue&type=template&id=7fafd2b5
12924
+ var StartFlowvue_type_template_id_7fafd2b5_render = function () {
12877
12925
  var _vm = this
12878
12926
  var _h = _vm.$createElement
12879
12927
  var _c = _vm._self._c || _h
@@ -13083,11 +13131,11 @@ var StartFlowvue_type_template_id_5cb83d24_render = function () {
13083
13131
  ]),
13084
13132
  ])
13085
13133
  }
13086
- var StartFlowvue_type_template_id_5cb83d24_staticRenderFns = []
13087
- StartFlowvue_type_template_id_5cb83d24_render._withStripped = true
13134
+ var StartFlowvue_type_template_id_7fafd2b5_staticRenderFns = []
13135
+ StartFlowvue_type_template_id_7fafd2b5_render._withStripped = true
13088
13136
 
13089
13137
 
13090
- // CONCATENATED MODULE: ./packages/flow/src/components/StartFlow.vue?vue&type=template&id=5cb83d24
13138
+ // CONCATENATED MODULE: ./packages/flow/src/components/StartFlow.vue?vue&type=template&id=7fafd2b5
13091
13139
 
13092
13140
  // 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/Opinion.vue?vue&type=template&id=2dab6204
13093
13141
  var Opinionvue_type_template_id_2dab6204_render = function () {
@@ -13602,8 +13650,8 @@ var Opinion_component = normalizeComponent(
13602
13650
  )
13603
13651
 
13604
13652
  /* harmony default export */ var Opinion = (Opinion_component.exports);
13605
- // 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=50bf1a6c
13606
- var Messagevue_type_template_id_50bf1a6c_render = function () {
13653
+ // 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=3acd8f6c
13654
+ var Messagevue_type_template_id_3acd8f6c_render = function () {
13607
13655
  var _vm = this
13608
13656
  var _h = _vm.$createElement
13609
13657
  var _c = _vm._self._c || _h
@@ -13623,23 +13671,25 @@ var Messagevue_type_template_id_50bf1a6c_render = function () {
13623
13671
  staticStyle: { width: "100%" },
13624
13672
  },
13625
13673
  [
13626
- _c("em-checkbox-group", {
13627
- attrs: {
13628
- direction: "horizontal",
13629
- data: _vm.newList,
13630
- disabledValue: _vm.readOnlyNotificationType,
13631
- labelKey: "shortName",
13632
- valueKey: "cciValue",
13633
- },
13634
- on: { change: _vm.onInput },
13635
- model: {
13636
- value: _vm.form.notificationType,
13637
- callback: function ($$v) {
13638
- _vm.$set(_vm.form, "notificationType", $$v)
13639
- },
13640
- expression: "form.notificationType",
13641
- },
13642
- }),
13674
+ _vm.showCheck
13675
+ ? _c("em-checkbox-group", {
13676
+ attrs: {
13677
+ direction: "horizontal",
13678
+ data: _vm.newList,
13679
+ disabledValue: _vm.readOnlyNotificationType,
13680
+ labelKey: "shortName",
13681
+ valueKey: "cciValue",
13682
+ },
13683
+ on: { change: _vm.onInput },
13684
+ model: {
13685
+ value: _vm.form.notificationType,
13686
+ callback: function ($$v) {
13687
+ _vm.$set(_vm.form, "notificationType", $$v)
13688
+ },
13689
+ expression: "form.notificationType",
13690
+ },
13691
+ })
13692
+ : _vm._e(),
13643
13693
  _c(
13644
13694
  "div",
13645
13695
  {
@@ -13689,11 +13739,11 @@ var Messagevue_type_template_id_50bf1a6c_render = function () {
13689
13739
  1
13690
13740
  )
13691
13741
  }
13692
- var Messagevue_type_template_id_50bf1a6c_staticRenderFns = []
13693
- Messagevue_type_template_id_50bf1a6c_render._withStripped = true
13742
+ var Messagevue_type_template_id_3acd8f6c_staticRenderFns = []
13743
+ Messagevue_type_template_id_3acd8f6c_render._withStripped = true
13694
13744
 
13695
13745
 
13696
- // CONCATENATED MODULE: ./packages/flow/src/components/Message.vue?vue&type=template&id=50bf1a6c
13746
+ // CONCATENATED MODULE: ./packages/flow/src/components/Message.vue?vue&type=template&id=3acd8f6c
13697
13747
 
13698
13748
  // 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
13699
13749
  //
@@ -13734,6 +13784,7 @@ Messagevue_type_template_id_50bf1a6c_render._withStripped = true
13734
13784
  //
13735
13785
  //
13736
13786
  //
13787
+ //
13737
13788
 
13738
13789
 
13739
13790
 
@@ -13779,7 +13830,12 @@ Messagevue_type_template_id_50bf1a6c_render._withStripped = true
13779
13830
  }
13780
13831
  },
13781
13832
  mounted: function mounted() {
13833
+ var _this = this;
13834
+
13782
13835
  this.getSysCode();
13836
+ this.$nextTick(function () {
13837
+ _this.getNoticeType();
13838
+ });
13783
13839
  },
13784
13840
  data: function data() {
13785
13841
  return {
@@ -13788,6 +13844,7 @@ Messagevue_type_template_id_50bf1a6c_render._withStripped = true
13788
13844
  notificationMsg: undefined //系统消息
13789
13845
  },
13790
13846
  defaultType: undefined, // 默认值
13847
+ showCheck: false,
13791
13848
  newList: [] //消息通知列表
13792
13849
  };
13793
13850
  },
@@ -13804,23 +13861,42 @@ Messagevue_type_template_id_50bf1a6c_render._withStripped = true
13804
13861
  },
13805
13862
  // 监听默认消息类型
13806
13863
  defaultNotificationType: function defaultNotificationType(val) {
13807
- if (val) {
13864
+ // console.log(val)
13865
+ // if (val) {
13866
+ // let arr = [];
13867
+ // this.newList.map((item) => {
13868
+ // val.map((x) => {
13869
+ // if (x == item.cciValue) {
13870
+ // arr.push(x);
13871
+ // }
13872
+ // });
13873
+ // });
13874
+ // this.form.notificationType = JSON.parse(JSON.stringify(arr));
13875
+ // // this.$emit('onInputMsg', this.form);
13876
+ // }
13877
+ }
13878
+ },
13879
+ methods: {
13880
+ getNoticeType: function getNoticeType() {
13881
+ var _this2 = this;
13882
+
13883
+ console.log(this.defaultNotificationType, 'defaultNotificationType');
13884
+ if (this.defaultNotificationType) {
13808
13885
  var arr = [];
13809
13886
  this.newList.map(function (item) {
13810
- val.map(function (x) {
13887
+ _this2.defaultNotificationType.map(function (x) {
13811
13888
  if (x == item.cciValue) {
13812
13889
  arr.push(x);
13813
13890
  }
13814
13891
  });
13815
13892
  });
13816
- this.form.notificationType = arr;
13817
- this.$emit('onInputMsg', this.form);
13893
+ this.form.notificationType = JSON.parse(JSON.stringify(arr));
13894
+ this.showCheck = true;
13895
+ // this.$emit('onInputMsg', this.form);
13818
13896
  }
13819
- }
13820
- },
13821
- methods: {
13897
+ },
13822
13898
  getSysCode: function getSysCode() {
13823
- var _this = this;
13899
+ var _this3 = this;
13824
13900
 
13825
13901
  var params = {
13826
13902
  url: this.baseUrl ? this.baseUrl + findSysCode : findSysCode,
@@ -13841,26 +13917,27 @@ Messagevue_type_template_id_50bf1a6c_render._withStripped = true
13841
13917
  item.name = item['shortName'];
13842
13918
 
13843
13919
  item.value = item['cciValue'];
13844
- item.disabled = _this.readOnlyNotificationType.indexOf(item.value) != -1;
13920
+ item.disabled = _this3.readOnlyNotificationType.indexOf(item.value) != -1;
13845
13921
  });
13846
- _this.newList = data || results;
13847
- if (_this.defaultNotificationType && _this.defaultNotificationType.length > 0) {
13922
+ _this3.newList = data || results;
13923
+ if (_this3.defaultNotificationType && _this3.defaultNotificationType.length > 0) {
13848
13924
  var arr = [];
13849
- _this.newList.map(function (item) {
13850
- _this.defaultNotificationType.map(function (x) {
13925
+ _this3.newList.map(function (item) {
13926
+ _this3.defaultNotificationType.map(function (x) {
13851
13927
  if (x == item.cciValue) {
13852
13928
  arr.push(x);
13853
13929
  }
13854
13930
  });
13855
13931
  });
13856
- _this.form.notificationType = arr;
13857
- _this.$emit('onInputMsg', _this.form);
13932
+ _this3.form.notificationType = arr;
13933
+ _this3.showCheck = true;
13934
+ _this3.$emit('onInputMsg', _this3.form);
13858
13935
  }
13859
13936
  } else {
13860
- _this.$toast(message);
13937
+ _this3.$toast(message);
13861
13938
  }
13862
13939
  }).catch(function (err) {
13863
- _this.$toast(err.message);
13940
+ _this3.$toast(err.message);
13864
13941
  });
13865
13942
  },
13866
13943
  onInput: function onInput() {
@@ -13880,8 +13957,8 @@ Messagevue_type_template_id_50bf1a6c_render._withStripped = true
13880
13957
 
13881
13958
  var Message_component = normalizeComponent(
13882
13959
  components_Messagevue_type_script_lang_js,
13883
- Messagevue_type_template_id_50bf1a6c_render,
13884
- Messagevue_type_template_id_50bf1a6c_staticRenderFns,
13960
+ Messagevue_type_template_id_3acd8f6c_render,
13961
+ Messagevue_type_template_id_3acd8f6c_staticRenderFns,
13885
13962
  false,
13886
13963
  null,
13887
13964
  null,
@@ -14577,6 +14654,7 @@ var StartFlowvue_type_script_lang_js_extends = Object.assign || function (target
14577
14654
  methods: {
14578
14655
  goBack: function goBack() {
14579
14656
  this.$parent.$emit('close');
14657
+ this.$emit('close');
14580
14658
  },
14581
14659
  handleChange: function handleChange(val, selectLabel) {
14582
14660
  // this[res.label] = res.list;
@@ -14928,8 +15006,8 @@ var StartFlowvue_type_script_lang_js_extends = Object.assign || function (target
14928
15006
 
14929
15007
  var StartFlow_component = normalizeComponent(
14930
15008
  components_StartFlowvue_type_script_lang_js,
14931
- StartFlowvue_type_template_id_5cb83d24_render,
14932
- StartFlowvue_type_template_id_5cb83d24_staticRenderFns,
15009
+ StartFlowvue_type_template_id_7fafd2b5_render,
15010
+ StartFlowvue_type_template_id_7fafd2b5_staticRenderFns,
14933
15011
  false,
14934
15012
  null,
14935
15013
  null,
@@ -14938,8 +15016,8 @@ var StartFlow_component = normalizeComponent(
14938
15016
  )
14939
15017
 
14940
15018
  /* harmony default export */ var StartFlow = (StartFlow_component.exports);
14941
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Handle.vue?vue&type=template&id=3f43d3c4
14942
- var Handlevue_type_template_id_3f43d3c4_render = function () {
15019
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Handle.vue?vue&type=template&id=d4039ce2
15020
+ var Handlevue_type_template_id_d4039ce2_render = function () {
14943
15021
  var _vm = this
14944
15022
  var _h = _vm.$createElement
14945
15023
  var _c = _vm._self._c || _h
@@ -14947,7 +15025,23 @@ var Handlevue_type_template_id_3f43d3c4_render = function () {
14947
15025
  "div",
14948
15026
  { staticClass: "process-handle" },
14949
15027
  [
14950
- _vm.handleFlow
15028
+ _vm.showFreeStart
15029
+ ? _c("StartFlow", {
15030
+ attrs: {
15031
+ defId: _vm.freeStartFlowParams.defId,
15032
+ businessId: _vm.freeStartFlowParams.businessId,
15033
+ freeStartFlowParams: _vm.freeStartFlowParams,
15034
+ taskParams: _vm.taskParams,
15035
+ orgId: _vm.orgId,
15036
+ depId: _vm.depId,
15037
+ },
15038
+ on: {
15039
+ close: function ($event) {
15040
+ _vm.showFreeStart = false
15041
+ },
15042
+ },
15043
+ })
15044
+ : _vm.handleFlow
14951
15045
  ? _c(
14952
15046
  "div",
14953
15047
  {
@@ -15467,6 +15561,8 @@ var Handlevue_type_template_id_3f43d3c4_render = function () {
15467
15561
  param: {
15468
15562
  pid: _vm.orgId,
15469
15563
  },
15564
+ disableds:
15565
+ _vm.currentOrgDisabledObjId,
15470
15566
  baseUrl: _vm.apiBaseUrl,
15471
15567
  isOtherUnit: false,
15472
15568
  label: _vm.currentOrgName
@@ -15512,6 +15608,8 @@ var Handlevue_type_template_id_3f43d3c4_render = function () {
15512
15608
  },
15513
15609
  tabs: "enterprise",
15514
15610
  baseUrl: _vm.apiBaseUrl,
15611
+ disableds:
15612
+ _vm.otherOrgDisabledObjId,
15515
15613
  isOtherUnit: true,
15516
15614
  label: _vm.otherOrgName
15517
15615
  ? _vm.otherOrgName
@@ -16043,15 +16141,69 @@ var Handlevue_type_template_id_3f43d3c4_render = function () {
16043
16141
  },
16044
16142
  },
16045
16143
  }),
16144
+ _c(
16145
+ "em-popup",
16146
+ {
16147
+ staticClass: "em-flow-popup",
16148
+ model: {
16149
+ value: _vm.showDefList,
16150
+ callback: function ($$v) {
16151
+ _vm.showDefList = $$v
16152
+ },
16153
+ expression: "showDefList",
16154
+ },
16155
+ },
16156
+ [
16157
+ _c("div", { staticClass: "em-flow-popup-box" }, [
16158
+ _c(
16159
+ "div",
16160
+ { staticClass: "em-flow-popup-box-top" },
16161
+ [
16162
+ _c("div"),
16163
+ _c("span", [_vm._v("发起流程 ")]),
16164
+ _c("van-icon", {
16165
+ attrs: { name: "cross" },
16166
+ on: {
16167
+ click: function ($event) {
16168
+ _vm.showDefList = false
16169
+ },
16170
+ },
16171
+ }),
16172
+ ],
16173
+ 1
16174
+ ),
16175
+ _c(
16176
+ "div",
16177
+ { staticClass: "em-flow-popup-box-content" },
16178
+ _vm._l(_vm.flowDefList, function (item) {
16179
+ return _c(
16180
+ "div",
16181
+ {
16182
+ key: item.defId,
16183
+ staticClass: "em-flow-popup-box-item",
16184
+ on: {
16185
+ click: function ($event) {
16186
+ _vm.handleClickDefList(item)
16187
+ },
16188
+ },
16189
+ },
16190
+ [_vm._v("\n " + _vm._s(item.defName) + "\n ")]
16191
+ )
16192
+ }),
16193
+ 0
16194
+ ),
16195
+ ]),
16196
+ ]
16197
+ ),
16046
16198
  ],
16047
16199
  1
16048
16200
  )
16049
16201
  }
16050
- var Handlevue_type_template_id_3f43d3c4_staticRenderFns = []
16051
- Handlevue_type_template_id_3f43d3c4_render._withStripped = true
16202
+ var Handlevue_type_template_id_d4039ce2_staticRenderFns = []
16203
+ Handlevue_type_template_id_d4039ce2_render._withStripped = true
16052
16204
 
16053
16205
 
16054
- // CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=3f43d3c4
16206
+ // CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=d4039ce2
16055
16207
 
16056
16208
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Reject.vue?vue&type=template&id=46f10c43
16057
16209
  var Rejectvue_type_template_id_46f10c43_render = function () {
@@ -17185,6 +17337,38 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
17185
17337
  //
17186
17338
  //
17187
17339
  //
17340
+ //
17341
+ //
17342
+ //
17343
+ //
17344
+ //
17345
+ //
17346
+ //
17347
+ //
17348
+ //
17349
+ //
17350
+ //
17351
+ //
17352
+ //
17353
+ //
17354
+ //
17355
+ //
17356
+ //
17357
+ //
17358
+ //
17359
+ //
17360
+ //
17361
+ //
17362
+ //
17363
+ //
17364
+ //
17365
+ //
17366
+ //
17367
+ //
17368
+ //
17369
+ //
17370
+ //
17371
+
17188
17372
 
17189
17373
 
17190
17374
 
@@ -17201,7 +17385,8 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
17201
17385
  Opinion: Opinion,
17202
17386
  Reject: Reject,
17203
17387
  ProcessSetting: ProcessSettings,
17204
- Message: Message
17388
+ Message: Message,
17389
+ StartFlow: StartFlow
17205
17390
  },
17206
17391
  mixins: [flowMix],
17207
17392
  props: {
@@ -17213,6 +17398,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
17213
17398
  baseUrl: String,
17214
17399
  apiBaseUrl: String,
17215
17400
  typeCode: String,
17401
+ type: String,
17216
17402
  paddingTop: {
17217
17403
  type: [String, Number],
17218
17404
  default: 0
@@ -17239,12 +17425,20 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
17239
17425
 
17240
17426
  return _ref = {
17241
17427
  AddSignList: [{ name: '前置加签', value: 'preAddSign' }, { name: '后置加签', value: 'postAddSign' }],
17428
+ otherOrgDisabledObjId: [],
17429
+ currentOrgDisabledObjId: [],
17242
17430
  nextNodeDefault: 0,
17431
+ showDefList: false,
17243
17432
  readOnlyNotificationType: '',
17244
17433
  notificationMessageReadOnly: false,
17434
+ freeStartFlowParams: {}, //自由发起流程参数
17435
+ taskParams: {},
17245
17436
  isCanPreAddSign: false,
17246
17437
  showAppUnit: false, // 弹窗单位
17247
17438
  handleFlow: true,
17439
+ freeValid: true,
17440
+ showFreeStart: false,
17441
+ freeStartInfo: {},
17248
17442
  isReject: false,
17249
17443
  opinionHandleExplainText: undefined,
17250
17444
  isCurrentNodeForbiddenChangeCandidate: 0,
@@ -17307,7 +17501,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
17307
17501
  advanceNoticeType: [] //催办通知方式
17308
17502
  },
17309
17503
  isCanFenyue: '0'
17310
- }, _ref['isChooseNextNode'] = 1, _ref.isOpinionRequired = 0, _ref.isBanInputOpinion = 0, _ref.showTimeList = false, _ref.timeList = [], _ref.nextUserList = [], _ref.nextCurrentOrgObjSelect = [], _ref.nextOtherOrgObjSelect = [], _ref.nextReadUserSelectList = [], _ref.addSignUserSelectList = [], _ref.removeSignUserSelectList = [], _ref.nextUserSelectList = [], _ref.showAppUser = false, _ref.showNextOperate = false, _ref.showNextNodeList = false, _ref.nodeList = [], _ref.selectList = [], _ref.opinionList = [], _ref.processObj = { taskExamine: { nodeName: undefined } }, _ref.peopleObj = {}, _ref.userInfo = {}, _ref.isCanAddSign = false, _ref.isCanRemoveSign = false, _ref.isSpecial = true, _ref.taskOperations = [], _ref.countersignaturetypeCode = false, _ref.countersignaturetypeText = undefined, _ref.isCustomPreset = false, _ref.isHideCurrentOrg = false, _ref.isHideOtherOrg = false, _ref.isHandleExplain = false, _ref.isTaskread = false, _ref.defaultNotificationType = undefined, _ref.selectUnitType = 'department', _ref.isHiddenNextStepInfo = false, _ref.presetEdit = true, _ref.isLimitedTimeHandling = false, _ref.userSelectionType = undefined, _ref.orgSelectionType = undefined, _ref.notificationType = undefined, _ref.nodeType = undefined, _ref.deptRoleCode = undefined, _ref.orgRoleCode = undefined, _ref.appointNotUserIds = undefined, _ref.handleRoleId = undefined, _ref.nextRole = undefined, _ref.filterCandinateIds = undefined, _ref.selectorDefShowDeptId = undefined, _ref.isRadio = true, _ref.otherOrgName = undefined, _ref.currentOrgName = undefined, _ref.isMainSubProcess = false, _ref.isNextUser = false, _ref.isDealObject = false, _ref.isDealRole = false, _ref.nextUserflag = false, _ref.isSubmitButtonShowAgreeAndDisagree = 0, _ref.isCustomUserClick = false, _ref.timeListLable = undefined, _ref.nodeDefaultSubmitOpinion = undefined, _ref.isCustomUser = 0, _ref.choiceOrgId = '', _ref.choiceDeptId = '', _ref.taskExamineInfo = {}, _ref.nodeInfoMapInfo = {}, _ref.file = '', _ref.isEndUserTask = '', _ref.tagKey = '', _ref.pOrgId = '', _ref.customPresetHintMessage = '', _ref.needRetrialAuth = false, _ref;
17504
+ }, _ref['isChooseNextNode'] = 1, _ref.isOpinionRequired = 0, _ref.isBanInputOpinion = 0, _ref.showTimeList = false, _ref.timeList = [], _ref.nextUserList = [], _ref.nextCurrentOrgObjSelect = [], _ref.nextOtherOrgObjSelect = [], _ref.nextReadUserSelectList = [], _ref.addSignUserSelectList = [], _ref.removeSignUserSelectList = [], _ref.nextUserSelectList = [], _ref.showAppUser = false, _ref.showNextOperate = false, _ref.showNextNodeList = false, _ref.nodeList = [], _ref.selectList = [], _ref.opinionList = [], _ref.processObj = { taskExamine: { nodeName: undefined } }, _ref.peopleObj = {}, _ref.userInfo = {}, _ref.isCanAddSign = false, _ref.isCanRemoveSign = false, _ref.isSpecial = true, _ref.taskOperations = [], _ref.countersignaturetypeCode = false, _ref.countersignaturetypeText = undefined, _ref.isCustomPreset = false, _ref.isHideCurrentOrg = false, _ref.isHideOtherOrg = false, _ref.isHandleExplain = false, _ref.isTaskread = false, _ref.defaultNotificationType = undefined, _ref.selectUnitType = 'department', _ref.isHiddenNextStepInfo = false, _ref.presetEdit = true, _ref.isLimitedTimeHandling = false, _ref.userSelectionType = undefined, _ref.orgSelectionType = undefined, _ref.notificationType = undefined, _ref.nodeType = undefined, _ref.deptRoleCode = undefined, _ref.orgRoleCode = undefined, _ref.appointNotUserIds = undefined, _ref.handleRoleId = undefined, _ref.nextRole = undefined, _ref.filterCandinateIds = undefined, _ref.selectorDefShowDeptId = undefined, _ref.isRadio = true, _ref.otherOrgName = undefined, _ref.currentOrgName = undefined, _ref.isMainSubProcess = false, _ref.isNextUser = false, _ref.isDealObject = false, _ref.isDealRole = false, _ref.nextUserflag = false, _ref.isSubmitButtonShowAgreeAndDisagree = 0, _ref.isCustomUserClick = false, _ref.timeListLable = undefined, _ref.nodeDefaultSubmitOpinion = undefined, _ref.isCustomUser = 0, _ref.choiceOrgId = '', _ref.choiceDeptId = '', _ref.taskExamineInfo = {}, _ref.nodeInfoMapInfo = {}, _ref.flowDefList = [], _ref.file = '', _ref.isEndUserTask = '', _ref.tagKey = '', _ref.pOrgId = '', _ref.customPresetHintMessage = '', _ref.needRetrialAuth = false, _ref;
17311
17505
  },
17312
17506
  created: function created() {
17313
17507
  var _this2 = this;
@@ -17366,6 +17560,71 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
17366
17560
  }
17367
17561
  },
17368
17562
  methods: {
17563
+ handleClickDefList: function handleClickDefList(info) {
17564
+ this.freeStartFlowParams.defId = info.defId;
17565
+ this.showFreeStart = true;
17566
+ },
17567
+ getFlowDefList: function getFlowDefList() {
17568
+ var _this3 = this;
17569
+
17570
+ var params = {
17571
+ url: getProcessDefList,
17572
+ params: {
17573
+ flowTypeCode: this.freeStartFlowParams.defaultProcessKey,
17574
+ onlyFlag: false
17575
+ }
17576
+ };
17577
+ utils_http(params).then(function (res) {
17578
+ if (res.rCode == 0) {
17579
+ _this3.flowDefList = res.results;
17580
+ _this3.showDefList = true;
17581
+ }
17582
+ });
17583
+ },
17584
+ getFreeStartParams: function getFreeStartParams() {
17585
+ var _this4 = this;
17586
+
17587
+ var _taskExamineInfo = this.taskExamineInfo,
17588
+ businessId = _taskExamineInfo.businessId,
17589
+ processDefinitionId = _taskExamineInfo.processDefinitionId,
17590
+ nodeId = _taskExamineInfo.nodeId;
17591
+
17592
+ var param = {
17593
+ url: getFreeStartFlowParams,
17594
+ params: {
17595
+ businessId: businessId,
17596
+ processDefinitionId: processDefinitionId,
17597
+ nodeId: nodeId
17598
+ }
17599
+ };
17600
+ this.$toast.loading({
17601
+ message: '加载中...',
17602
+ forbidClick: true,
17603
+ loadingType: 'spinner',
17604
+ overlay: true,
17605
+ duration: 0
17606
+ });
17607
+ utils_http(param).then(function (res) {
17608
+ _this4.$toast.clear();
17609
+ if (res.rCode == 0 || res.status == 'success') {
17610
+ _this4.freeStartFlowParams = res.results;
17611
+ if (res.results.useScene === 'multiInsMidwayWithSubmitScene') _this4.onSubmit(res.results.useScene);
17612
+ if (!_this4.freeValid) return;
17613
+ if (res.results.startFlowIndexProcessKeys && res.results.startFlowIndexProcessKeys.length == 0 || !res.results.startFlowIndexProcessKeys) return _this4.$toast('未找到流程定义!');
17614
+ if (res.results.startFlowIndexProcessKeys.length == 1) {
17615
+ _this4.freeStartFlowParams.defId = res.results.startFlowIndexProcessKeys[0];
17616
+ _this4.freeStartFlowParams.businessId = res.results.startFlowBusinessId;
17617
+ _this4.showFreeStart = true;
17618
+ } else {
17619
+ _this4.getFlowDefList();
17620
+ // this.showFreeStartFlow = true;
17621
+ }
17622
+ } else {
17623
+ _this4.$toast(res.message || '系统错误,请联系管理员!');
17624
+ }
17625
+ });
17626
+ },
17627
+
17369
17628
  //限时办理时间确认
17370
17629
  onConfirmTimeList: function onConfirmTimeList(val) {
17371
17630
  this.form[this.timeListLable] = val;
@@ -17396,13 +17655,13 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
17396
17655
  this.$parent.$emit('close');
17397
17656
  },
17398
17657
  subRead: function subRead() {
17399
- var _this3 = this;
17658
+ var _this5 = this;
17400
17659
 
17401
- var _taskExamineInfo = this.taskExamineInfo,
17402
- businessId = _taskExamineInfo.businessId,
17403
- appId = _taskExamineInfo.appId,
17404
- processDefinitionId = _taskExamineInfo.processDefinitionId,
17405
- pendingId = _taskExamineInfo.pendingId;
17660
+ var _taskExamineInfo2 = this.taskExamineInfo,
17661
+ businessId = _taskExamineInfo2.businessId,
17662
+ appId = _taskExamineInfo2.appId,
17663
+ processDefinitionId = _taskExamineInfo2.processDefinitionId,
17664
+ pendingId = _taskExamineInfo2.pendingId;
17406
17665
 
17407
17666
  if (this.taskReadOpinionRequired == 'true' && !this.form.opinion) return this.$toast('分阅阅结必须输入意见!');
17408
17667
  var params = {
@@ -17443,32 +17702,33 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
17443
17702
  var status = res.status,
17444
17703
  message = res.message;
17445
17704
 
17446
- _this3.$toast.clear();
17705
+ _this5.$toast.clear();
17447
17706
  if (status === 'success') {
17448
- _this3.$toast.success('提交成功');
17449
- _this3.$parent.$emit('success');
17707
+ _this5.$toast.success('提交成功');
17708
+ _this5.$parent.$emit('success');
17450
17709
  } else {
17451
- _this3.$toast(message || '系统错误,请联系管理员!');
17710
+ _this5.$toast(message || '系统错误,请联系管理员!');
17452
17711
  setTimeout(function () {
17453
- _this3.$parent.$emit('error');
17712
+ _this5.$parent.$emit('error');
17454
17713
  }, 1000);
17455
17714
  }
17456
17715
  }).catch(function (err) {
17457
- _this3.loading.close();
17716
+ _this5.loading.close();
17458
17717
  if (err.message && err.message !== 'canceled') {
17459
- _this3.$toast(err.message);
17718
+ _this5.$toast(err.message);
17460
17719
  }
17461
17720
  });
17462
17721
  },
17463
17722
 
17464
17723
  // 提交流程
17465
- onSubmit: function onSubmit() {
17466
- var _this4 = this;
17724
+ onSubmit: function onSubmit(typeVal) {
17725
+ var _this6 = this;
17467
17726
 
17468
17727
  if (this.typeCode == 'fenyue') return this.subRead();
17728
+ if (this.type == 'freeStart' && !typeVal) return this.getFreeStartParams();
17469
17729
  var idStr = '';
17470
17730
  this.nextUserSelectList.map(function (r, i) {
17471
- idStr = idStr + r.showid + (i === _this4.nextUserSelectList.length - 1 ? '' : ',');
17731
+ idStr = idStr + r.showid + (i === _this6.nextUserSelectList.length - 1 ? '' : ',');
17472
17732
  });
17473
17733
  this.form.nextUserId = idStr;
17474
17734
  if (!this.form.opinion && this.isOpinionRequired == 1 && !this.nodeDefaultSubmitOpinion && this.form.isImageOpinion == 0 || !this.file && this.isOpinionRequired == 1 && !this.nodeDefaultSubmitOpinion && this.form.isImageOpinion == 1) {
@@ -17531,13 +17791,20 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
17531
17791
  this.form.processDefinitionId = this.processObj.taskExamine.processDefinitionId;
17532
17792
  }
17533
17793
  if (this.beforeSubmit) {
17534
- this.beforeSubmit(Handlevue_type_script_lang_js_extends({ pendingId: this.pendingId }, this.form));
17794
+ this.beforeSubmit(Handlevue_type_script_lang_js_extends({ pendingId: this.pendingId }, this.form)).then(function (res) {
17795
+ _this6.sendData(typeVal);
17796
+ });
17535
17797
  return;
17536
17798
  }
17799
+ this.sendData(typeVal);
17800
+ },
17801
+ sendData: function sendData(typeVal) {
17802
+ var _this7 = this;
17803
+
17537
17804
  if (this.isMainSubProcess && Handlevue_type_script_lang_js_typeof(this.form.mainSubId) == 'object') {
17538
17805
  this.form.mainSubId = this.form.mainSubId.value;
17539
17806
  }
17540
- if (this.isCustomPreset && this.isPreset) {
17807
+ if (this.isCustomPreset && this.isPreset && this.isSpecial) {
17541
17808
  if (this.$refs.processSetting.active.length != 0) {
17542
17809
  if (!this.$refs.processSetting.getValue()) return;
17543
17810
  this.form.customPresetUserJson = this.$refs.processSetting.getValue();
@@ -17549,13 +17816,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
17549
17816
  delete this.form.presetUserJson;
17550
17817
  }
17551
17818
  }
17552
- this.$toast.loading({
17553
- message: '加载中...',
17554
- forbidClick: true,
17555
- loadingType: 'spinner',
17556
- overlay: true,
17557
- duration: 0
17558
- });
17819
+
17559
17820
  var _that = this;
17560
17821
  var isEndUserTask = this.isEndUserTask,
17561
17822
  choiceOrgId = this.choiceOrgId,
@@ -17592,28 +17853,39 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
17592
17853
  formData.append(key, _that.form[key]);
17593
17854
  }
17594
17855
  }
17856
+ if (typeVal) {
17857
+ _that.taskParams = _that.form;
17858
+ return;
17859
+ }
17860
+ this.$toast.loading({
17861
+ message: '加载中...',
17862
+ forbidClick: true,
17863
+ loadingType: 'spinner',
17864
+ overlay: true,
17865
+ duration: 0
17866
+ });
17595
17867
  utils_http({
17596
17868
  url: _that.baseUrl ? _that.baseUrl + (_that.form.isImageOpinion == 1 ? taskHandleHtmlImg : taskHandleHtml) : _that.form.isImageOpinion == 1 ? taskHandleHtmlImg : taskHandleHtml,
17597
17869
  type: 'post',
17598
17870
  params: formData,
17599
17871
  format: false
17600
17872
  }).then(function (res) {
17601
- _this4.$toast.clear();
17873
+ _this7.$toast.clear();
17602
17874
  if (res.status == 'success' || res.status == 'readDealBackProcessing') {
17603
17875
  if (res.status == 'readDealBackProcessing') {
17604
- _this4.$toast('由于阅办人数较多,任务后台执行中,稍后系统将为您推送阅办任务执行结果,请注意查收!');
17876
+ _this7.$toast('由于阅办人数较多,任务后台执行中,稍后系统将为您推送阅办任务执行结果,请注意查收!');
17605
17877
  setTimeout(function () {
17606
- _this4.$toast.clear();
17607
- _this4.$parent.$emit('success');
17878
+ _this7.$toast.clear();
17879
+ _this7.$parent.$emit('success');
17608
17880
  }, 1500);
17609
17881
  } else {
17610
- _this4.$toast('操作成功');
17611
- _this4.$parent.$emit('success');
17882
+ _this7.$toast('操作成功');
17883
+ _this7.$parent.$emit('success');
17612
17884
  }
17613
17885
  } else {
17614
- _this4.$toast(res.message);
17886
+ _this7.$toast(res.message);
17615
17887
  setTimeout(function () {
17616
- _this4.$parent.$emit('error');
17888
+ _this7.$parent.$emit('error');
17617
17889
  }, 1000);
17618
17890
  }
17619
17891
  });
@@ -18004,7 +18276,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
18004
18276
  });
18005
18277
  },
18006
18278
  getToStartTaskReadIndex: function getToStartTaskReadIndex() {
18007
- var _this5 = this;
18279
+ var _this8 = this;
18008
18280
 
18009
18281
  utils_http({
18010
18282
  url: this.baseUrl ? this.baseUrl + toStartTaskReadHtml : toStartTaskReadHtml,
@@ -18018,27 +18290,27 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
18018
18290
  taskReadOpinionRequired = _res$data2.taskReadOpinionRequired;
18019
18291
 
18020
18292
  if (status === 'success') {
18021
- _this5.taskExamineInfo = taskExamine;
18022
- _this5.isCanFenyue = isCanFenyue;
18023
- _this5.taskReadOpinionRequired = taskReadOpinionRequired;
18293
+ _this8.taskExamineInfo = taskExamine;
18294
+ _this8.isCanFenyue = isCanFenyue;
18295
+ _this8.taskReadOpinionRequired = taskReadOpinionRequired;
18024
18296
  // if (this.nodeName) {
18025
- _this5.processObj.taskExamine.nodeName = '分阅';
18297
+ _this8.processObj.taskExamine.nodeName = '分阅';
18026
18298
  // }
18027
18299
  } else {
18028
- _this5.$toast(message || '系统错误,请联系管理员!');
18300
+ _this8.$toast(message || '系统错误,请联系管理员!');
18029
18301
  }
18030
- _this5.$toast.clear();
18302
+ _this8.$toast.clear();
18031
18303
  }).catch(function (err) {
18032
- _this5.$toast.clear();
18304
+ _this8.$toast.clear();
18033
18305
  if (err.message && err.message !== 'canceled') {
18034
- _this5.$toast(err.message);
18306
+ _this8.$toast(err.message);
18035
18307
  }
18036
18308
  });
18037
18309
  },
18038
18310
 
18039
18311
  // 获取节点信息(获取节点属性及办理人)
18040
18312
  getNodeObj: function getNodeObj(res) {
18041
- var _this6 = this;
18313
+ var _this9 = this;
18042
18314
 
18043
18315
  var _that = this;
18044
18316
  utils_http({
@@ -18052,85 +18324,87 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
18052
18324
  userId: _that.userId
18053
18325
  }
18054
18326
  }).then(function (res) {
18055
- _this6.$toast.clear();
18327
+ _this9.$toast.clear();
18056
18328
  if (res.status == 'success') {
18057
- _this6.appointNotUserIds = res.data.appointNotUserIds;
18058
- _this6.handleRoleId = res.data.handleRoleId;
18059
- _this6.nextRole = res.data.nextRole;
18060
- _this6.filterCandinateIds = res.data.nodeExtAttr.filterCandinateIds;
18061
- _this6.selectorDefShowDeptId = res.data.nodeExtAttr.selectorDefShowDeptId;
18062
- _this6.userSelectionType = res.data.nodeExtAttr.userSelectionType;
18329
+ res.data.otherOrgDisabledObjId && (_this9.otherOrgDisabledObjId = res.data.otherOrgDisabledObjId.split(','));
18330
+ res.data.currentOrgDisabledObjId && (_this9.currentOrgDisabledObjId = res.data.currentOrgDisabledObjId.split(','));
18331
+ _this9.appointNotUserIds = res.data.appointNotUserIds;
18332
+ _this9.handleRoleId = res.data.handleRoleId;
18333
+ _this9.nextRole = res.data.nextRole;
18334
+ _this9.filterCandinateIds = res.data.nodeExtAttr.filterCandinateIds;
18335
+ _this9.selectorDefShowDeptId = res.data.nodeExtAttr.selectorDefShowDeptId;
18336
+ _this9.userSelectionType = res.data.nodeExtAttr.userSelectionType;
18063
18337
  // this.changePidObjtype();
18064
- _this6.orgSelectionType = res.data.nodeExtAttr.orgSelectionType;
18065
- _this6.notificationType = res.data.nodeExtAttr.notificationType;
18066
- _this6.nodeType = res.data.nodeExtAttr.nodeType;
18067
- _this6.deptRoleCode = res.data.nodeExtAttr.deptRoleCode;
18068
- _this6.orgRoleCode = res.data.nodeExtAttr.orgRoleCode;
18069
- _this6.isCustomUser = res.data.nodeExtAttr.isCustomUser;
18070
- _this6.presetEdit = res.data.nodeExtAttr.presetEdit;
18071
- _this6.isLimitedTimeHandling = res.data.nodeExtAttr.isLimitedTimeHandling;
18072
- _this6.peopleObj = res.data.nodeExtAttr;
18073
- _this6.nextUserList = res.data.nextUserList.filter(function (x) {
18338
+ _this9.orgSelectionType = res.data.nodeExtAttr.orgSelectionType;
18339
+ _this9.notificationType = res.data.nodeExtAttr.notificationType;
18340
+ _this9.nodeType = res.data.nodeExtAttr.nodeType;
18341
+ _this9.deptRoleCode = res.data.nodeExtAttr.deptRoleCode;
18342
+ _this9.orgRoleCode = res.data.nodeExtAttr.orgRoleCode;
18343
+ _this9.isCustomUser = res.data.nodeExtAttr.isCustomUser;
18344
+ _this9.presetEdit = res.data.nodeExtAttr.presetEdit;
18345
+ _this9.isLimitedTimeHandling = res.data.nodeExtAttr.isLimitedTimeHandling;
18346
+ _this9.peopleObj = res.data.nodeExtAttr;
18347
+ _this9.nextUserList = res.data.nextUserList.filter(function (x) {
18074
18348
  return x.userId && x.username;
18075
18349
  });
18076
- var _this = _this6;
18077
- _this6.nextUserList.map(function (r) {
18350
+ var _this = _this9;
18351
+ _this9.nextUserList.map(function (r) {
18078
18352
  _this.$set(r, 'checked', false);
18079
18353
  });
18080
18354
 
18081
- _this6.isHandleExplain = res.data.nodeExtAttr.isHandleExplain == 1 ? true : false; //判断是否隐藏办理说明
18082
- _this6.isCustomUserClick = res.data.nodeExtAttr.isCustomUser == 1 ? true : false; // 判断办理人是否可点击显示弹框
18083
- _this6.isTaskread = res.data.nodeExtAttr.isTaskread == 1 ? true : false; // 判断是否显示分阅
18084
- _this6.countersignaturetypeCode = res.data.countersignaturetypeCode !== 0 ? true : false; //判断是否隐藏处理方式
18085
- _this6.countersignaturetypeText = res.data.countersignaturetypeText;
18355
+ _this9.isHandleExplain = res.data.nodeExtAttr.isHandleExplain == 1 ? true : false; //判断是否隐藏办理说明
18356
+ _this9.isCustomUserClick = res.data.nodeExtAttr.isCustomUser == 1 ? true : false; // 判断办理人是否可点击显示弹框
18357
+ _this9.isTaskread = res.data.nodeExtAttr.isTaskread == 1 ? true : false; // 判断是否显示分阅
18358
+ _this9.countersignaturetypeCode = res.data.countersignaturetypeCode !== 0 ? true : false; //判断是否隐藏处理方式
18359
+ _this9.countersignaturetypeText = res.data.countersignaturetypeText;
18086
18360
  //如果当前为承办节点/会签节点,则展示本单位外单位办理人选择
18087
- if (_this6.nodeType === 1 || _this6.nodeType === 2) {
18088
- _this6.isMainSubProcess === true ? _this6.isNodeShowProcess = true : _this6.isNodeShowProcess = false;
18089
- _this6.isMainSubProcess === true ? _this6.isMainSubProcess = true : _this6.isMainSubProcess = false;
18090
- _this6.isNextUser = false;
18091
- _this6.isHideCurrentOrg = res.data.nodeExtAttr.isHideCurrentOrg == 1 ? false : true; //判断是否隐藏本单位
18092
- _this6.isHideOtherOrg = res.data.nodeExtAttr.isHideOtherOrg == 1 ? false : true; //判断是否隐藏外单位
18361
+ if (_this9.nodeType === 1 || _this9.nodeType === 2) {
18362
+ _this9.isMainSubProcess === true ? _this9.isNodeShowProcess = true : _this9.isNodeShowProcess = false;
18363
+ _this9.isMainSubProcess === true ? _this9.isMainSubProcess = true : _this9.isMainSubProcess = false;
18364
+ _this9.isNextUser = false;
18365
+ _this9.isHideCurrentOrg = res.data.nodeExtAttr.isHideCurrentOrg == 1 ? false : true; //判断是否隐藏本单位
18366
+ _this9.isHideOtherOrg = res.data.nodeExtAttr.isHideOtherOrg == 1 ? false : true; //判断是否隐藏外单位
18093
18367
  } else {
18094
- _this6.isHideCurrentOrg = false;
18095
- _this6.isHideOtherOrg = false;
18096
- _this6.isMainSubProcess = false;
18097
- _this6.isNodeShowProcess = false;
18098
- _this6.isNextUser = true;
18368
+ _this9.isHideCurrentOrg = false;
18369
+ _this9.isHideOtherOrg = false;
18370
+ _this9.isMainSubProcess = false;
18371
+ _this9.isNodeShowProcess = false;
18372
+ _this9.isNextUser = true;
18099
18373
  // this.isMainSubProcess === true
18100
18374
  // ? (this.isMainSubProcess = true)
18101
18375
  // : (this.isMainSubProcess = false);
18102
18376
  }
18103
18377
  // userSelectionType 机构内单选人1,机构内多选人2,所有机构单选人3,所有部门多选人4,本部门单选人5,本部门多选人6,本单位单选部门7,本单位多选部门8,单选单位9,多选单位10,单选机构11,多选机构12,本部门角色13,本单位角色14
18104
- _this6.userSelectionType == 2 || _this6.userSelectionType == 4 || _this6.userSelectionType == 6 || _this6.userSelectionType == 8 || _this6.userSelectionType == 10 || _this6.userSelectionType == 11 || _this6.userSelectionType == 12 ? _this6.isRadio = false : _this6.isRadio = true; //判断办理人单选多选
18378
+ _this9.userSelectionType == 2 || _this9.userSelectionType == 4 || _this9.userSelectionType == 6 || _this9.userSelectionType == 8 || _this9.userSelectionType == 10 || _this9.userSelectionType == 11 || _this9.userSelectionType == 12 ? _this9.isRadio = false : _this9.isRadio = true; //判断办理人单选多选
18105
18379
 
18106
- if (_this6.userSelectionType == 7 || _this6.userSelectionType == 8 || _this6.userSelectionType == 9 || _this6.userSelectionType == 10 || _this6.userSelectionType == 11 || _this6.userSelectionType == 12) {
18107
- _this6.isDealObject = true;
18108
- _this6.isNextUser = false;
18380
+ if (_this9.userSelectionType == 7 || _this9.userSelectionType == 8 || _this9.userSelectionType == 9 || _this9.userSelectionType == 10 || _this9.userSelectionType == 11 || _this9.userSelectionType == 12) {
18381
+ _this9.isDealObject = true;
18382
+ _this9.isNextUser = false;
18109
18383
  }
18110
- if (_this6.userSelectionType == 13 || _this6.userSelectionType == 14) {
18111
- _this6.isNextUser = false;
18112
- _this6.isDealObject = false;
18113
- _this6.isDealRole = true;
18114
- _this6.nextUserflag = true;
18384
+ if (_this9.userSelectionType == 13 || _this9.userSelectionType == 14) {
18385
+ _this9.isNextUser = false;
18386
+ _this9.isDealObject = false;
18387
+ _this9.isDealRole = true;
18388
+ _this9.nextUserflag = true;
18115
18389
  }
18116
- _this6.isHiddenNextStepInfo = res.data.nodeExtAttr.isHiddenNextStepInfo == 1 && _this6.nextUserflag ? true : false; // 判断是否隐藏下一步节点信息和接收人信息
18390
+ _this9.isHiddenNextStepInfo = res.data.nodeExtAttr.isHiddenNextStepInfo == 1 && _this9.nextUserflag ? true : false; // 判断是否隐藏下一步节点信息和接收人信息
18117
18391
  if (res.data.globalNodeType === 'endEvent') {
18118
- _this6.isNextUser = false;
18119
- _this6.form.nextUserId = '流程办结';
18392
+ _this9.isNextUser = false;
18393
+ _this9.form.nextUserId = '流程办结';
18120
18394
  } else {
18121
- _this6.nodeType != 1 && _this6.nodeType != 2 && (_this6.isNextUser = true); //判断是否是流程办结 办结下步办理人不显示
18395
+ _this9.nodeType != 1 && _this9.nodeType != 2 && (_this9.isNextUser = true); //判断是否是流程办结 办结下步办理人不显示
18122
18396
  }
18123
- _this6.changeDefPeople(res.data.nodeExtAttr.isDefSelectedObj, res.data.nodeExtAttr.isSelectedAllObj);
18124
- _this6.changePidObjtype(res.data.nodeExtAttr.userSelectionType, _this6.choiceOrgId, _this6.choiceDeptId, _this6.pOrgId);
18397
+ _this9.changeDefPeople(res.data.nodeExtAttr.isDefSelectedObj, res.data.nodeExtAttr.isSelectedAllObj);
18398
+ _this9.changePidObjtype(res.data.nodeExtAttr.userSelectionType, _this9.choiceOrgId, _this9.choiceDeptId, _this9.pOrgId);
18125
18399
  } else {
18126
- _this6.$toast(res.message);
18400
+ _this9.$toast(res.message);
18127
18401
  }
18128
18402
  });
18129
18403
  },
18130
18404
 
18131
18405
  // 修改默认办理人
18132
18406
  changeDefPeople: function changeDefPeople(def, all) {
18133
- var _this7 = this;
18407
+ var _this10 = this;
18134
18408
 
18135
18409
  this.nextUserSelectList = [];
18136
18410
  if (def == 1 && all == 1 || def == 0 && all == 1) {
@@ -18138,9 +18412,9 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
18138
18412
  this.nextUserList.map(function (r, i) {
18139
18413
  r.showid = r.userId;
18140
18414
  r.showname = r.username;
18141
- _this7.$set(r, 'checked', true);
18142
- _this7.nextUserSelectList.push(r);
18143
- ids += r.userId + (i === _this7.nextUserList.length - 1 ? '' : ',');
18415
+ _this10.$set(r, 'checked', true);
18416
+ _this10.nextUserSelectList.push(r);
18417
+ ids += r.userId + (i === _this10.nextUserList.length - 1 ? '' : ',');
18144
18418
  });
18145
18419
  this.form.nextUserId = ids;
18146
18420
  } else if (def == 1 && (!all || all == 0) && this.nextUserList.length > 0) {
@@ -18193,8 +18467,8 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
18193
18467
 
18194
18468
  var Handle_component = normalizeComponent(
18195
18469
  components_Handlevue_type_script_lang_js,
18196
- Handlevue_type_template_id_3f43d3c4_render,
18197
- Handlevue_type_template_id_3f43d3c4_staticRenderFns,
18470
+ Handlevue_type_template_id_d4039ce2_render,
18471
+ Handlevue_type_template_id_d4039ce2_staticRenderFns,
18198
18472
  false,
18199
18473
  null,
18200
18474
  null,
@@ -19055,8 +19329,8 @@ var TaskRead_component = normalizeComponent(
19055
19329
  )
19056
19330
 
19057
19331
  /* harmony default export */ var TaskRead = (TaskRead_component.exports);
19058
- // 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/taskUnionExamine.vue?vue&type=template&id=0caaa8c0
19059
- var taskUnionExaminevue_type_template_id_0caaa8c0_render = function () {
19332
+ // 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/taskUnionExamine.vue?vue&type=template&id=78d96d93
19333
+ var taskUnionExaminevue_type_template_id_78d96d93_render = function () {
19060
19334
  var _vm = this
19061
19335
  var _h = _vm.$createElement
19062
19336
  var _c = _vm._self._c || _h
@@ -19092,13 +19366,16 @@ var taskUnionExaminevue_type_template_id_0caaa8c0_render = function () {
19092
19366
  isAllCheck: _vm.isAllCheck,
19093
19367
  tabs:
19094
19368
  _vm.type == "takeAdvice"
19095
- ? "department,employee"
19369
+ ? _vm.currentOrgTabs.length > 0
19370
+ ? _vm.currentOrgTabs
19371
+ : "department,employee"
19096
19372
  : _vm.type == "startDraf"
19097
19373
  ? "enterprise,employee"
19098
19374
  : "enterprise",
19099
19375
  param: _vm.params,
19100
19376
  baseUrl: _vm.apiBaseUrl,
19101
19377
  paddingTop: _vm.paddingTop,
19378
+ mix: _vm.currentMix,
19102
19379
  disabled: _vm.disabled,
19103
19380
  label:
19104
19381
  _vm.type == "takeAdvice"
@@ -19143,8 +19420,11 @@ var taskUnionExaminevue_type_template_id_0caaa8c0_render = function () {
19143
19420
  attrs: {
19144
19421
  multiple: _vm.newMultiple,
19145
19422
  isAllCheck: _vm.isAllCheck,
19423
+ mix: _vm.otherMix,
19146
19424
  tabs:
19147
- _vm.isChoiceOtherOrgDept == "true"
19425
+ _vm.foreignOrgTabs.length > 0
19426
+ ? _vm.foreignOrgTabs
19427
+ : _vm.isChoiceOtherOrgDept == "true"
19148
19428
  ? "enterprise,department"
19149
19429
  : "enterprise",
19150
19430
  baseUrl: _vm.apiBaseUrl,
@@ -19169,18 +19449,21 @@ var taskUnionExaminevue_type_template_id_0caaa8c0_render = function () {
19169
19449
  1
19170
19450
  )
19171
19451
  : _vm._e(),
19172
- _c("Message", {
19173
- ref: "message",
19174
- attrs: {
19175
- code: "notification_type",
19176
- baseUrl: _vm.baseUrl,
19177
- readOnlyNotificationType: _vm.readOnlyNotificationType,
19178
- notificationMessageReadOnly: _vm.notificationMessageReadOnly,
19179
- defaultNotificationType: _vm.infoList.noticeType,
19180
- defaultNotificationMsg: _vm.infoList.noticeInfo,
19181
- },
19182
- on: { onInputMsg: _vm.onInputMsg },
19183
- }),
19452
+ _vm.showMessage
19453
+ ? _c("Message", {
19454
+ ref: "message",
19455
+ attrs: {
19456
+ code: "notification_type",
19457
+ baseUrl: _vm.baseUrl,
19458
+ readOnlyNotificationType: _vm.readOnlyNotificationType,
19459
+ notificationMessageReadOnly:
19460
+ _vm.notificationMessageReadOnly,
19461
+ defaultNotificationType: _vm.infoList.noticeType,
19462
+ defaultNotificationMsg: _vm.infoList.noticeInfo,
19463
+ },
19464
+ on: { onInputMsg: _vm.onInputMsg },
19465
+ })
19466
+ : _vm._e(),
19184
19467
  ],
19185
19468
  1
19186
19469
  ),
@@ -19206,11 +19489,11 @@ var taskUnionExaminevue_type_template_id_0caaa8c0_render = function () {
19206
19489
  ]),
19207
19490
  ])
19208
19491
  }
19209
- var taskUnionExaminevue_type_template_id_0caaa8c0_staticRenderFns = []
19210
- taskUnionExaminevue_type_template_id_0caaa8c0_render._withStripped = true
19492
+ var taskUnionExaminevue_type_template_id_78d96d93_staticRenderFns = []
19493
+ taskUnionExaminevue_type_template_id_78d96d93_render._withStripped = true
19211
19494
 
19212
19495
 
19213
- // CONCATENATED MODULE: ./packages/flow/src/components/taskUnionExamine.vue?vue&type=template&id=0caaa8c0
19496
+ // CONCATENATED MODULE: ./packages/flow/src/components/taskUnionExamine.vue?vue&type=template&id=78d96d93
19214
19497
 
19215
19498
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/taskUnionExamine.vue?vue&type=script&lang=js
19216
19499
  //
@@ -19302,6 +19585,13 @@ taskUnionExaminevue_type_template_id_0caaa8c0_render._withStripped = true
19302
19585
  //
19303
19586
  //
19304
19587
  //
19588
+ //
19589
+ //
19590
+ //
19591
+ //
19592
+ //
19593
+ //
19594
+ //
19305
19595
 
19306
19596
 
19307
19597
 
@@ -19341,12 +19631,17 @@ taskUnionExaminevue_type_template_id_0caaa8c0_render._withStripped = true
19341
19631
  opinion: '', //办理意见
19342
19632
  isImageOpinion: 0,
19343
19633
  readOnlyNotificationType: '',
19634
+ otherMix: false,
19635
+ currentMix: false,
19344
19636
  notificationMessageReadOnly: false,
19637
+ currentOrgTabs: [],
19638
+ foreignOrgTabs: [],
19639
+ showMessage: false,
19345
19640
  file: '',
19346
19641
  infoList: {
19347
19642
  nextOtherOrgObj: [],
19348
19643
  nextCurrentOrgObj: [],
19349
- noticeType: [],
19644
+ noticeType: '',
19350
19645
  noticeInfo: '',
19351
19646
  opinion: ''
19352
19647
  },
@@ -19373,6 +19668,7 @@ taskUnionExaminevue_type_template_id_0caaa8c0_render._withStripped = true
19373
19668
 
19374
19669
  components: { Opinion: Opinion, Message: Message },
19375
19670
  created: function created() {
19671
+ this.getuserInfo();
19376
19672
  this.style = {
19377
19673
  'padding-top': sessionStorage.getItem('pt') ? sessionStorage.getItem('pt') + 'px' : '30px'
19378
19674
  };
@@ -19400,6 +19696,11 @@ taskUnionExaminevue_type_template_id_0caaa8c0_render._withStripped = true
19400
19696
  }
19401
19697
  },
19402
19698
  methods: {
19699
+ getuserInfo: function getuserInfo() {
19700
+ utils_http({ url: findUserBaseInfo }).then(function (res) {
19701
+ localStorage.setItem('userInfo', JSON.stringify(res.results));
19702
+ });
19703
+ },
19403
19704
  onInputOpintion: function onInputOpintion(val) {
19404
19705
  var opinion = val.opinion,
19405
19706
  isImageOpinion = val.isImageOpinion,
@@ -19443,6 +19744,7 @@ taskUnionExaminevue_type_template_id_0caaa8c0_render._withStripped = true
19443
19744
  userId: this.userId
19444
19745
  };
19445
19746
  utils_http({ url: getNotificationMsg, params: params, methods: 'post' }).then(function (res) {
19747
+ _this2.$toast.clear();http: //localhost:8080/#/Selector
19446
19748
  if (res.status === 'success') {
19447
19749
  _this2.infoList.noticeInfo = res.message;
19448
19750
  }
@@ -19467,6 +19769,7 @@ taskUnionExaminevue_type_template_id_0caaa8c0_render._withStripped = true
19467
19769
  } else {
19468
19770
  _this3.$toast(message || '系统错误,请联系管理员!');
19469
19771
  }
19772
+ _this3.showMessage = true;
19470
19773
  }).catch(function (err) {
19471
19774
  _this3.loading = false;
19472
19775
  if (err.message && err.message !== 'canceled') {
@@ -19477,15 +19780,24 @@ taskUnionExaminevue_type_template_id_0caaa8c0_render._withStripped = true
19477
19780
  changeSelectUser: function changeSelectUser(val, type) {
19478
19781
  var list = val.list;
19479
19782
 
19480
- var newNextUser = '';
19783
+ var newNextUser = [];
19784
+ var obj = {};
19481
19785
  list.map(function (item) {
19482
- if (newNextUser) {
19483
- newNextUser += ',' + item.selecttype + '-' + item.showid;
19786
+ if (obj[item.mixType]) {
19787
+ obj[item.mixType].push(item.showid);
19484
19788
  } else {
19485
- newNextUser = item.selecttype + '-' + item.showid;
19789
+ obj[item.mixType] = [item.showid];
19486
19790
  }
19791
+ // if (newNextUser) {
19792
+ // newNextUser += `,${item.selecttype}-${item.showid}`;
19793
+ // } else {
19794
+ // newNextUser = `${item.selecttype}-${item.showid}`;
19795
+ // }
19487
19796
  });
19488
- this.infoList[type] = newNextUser;
19797
+ for (var key in obj) {
19798
+ newNextUser.push(key + '-' + obj[key].join(','));
19799
+ }
19800
+ this.infoList[type] = newNextUser.join('|');
19489
19801
  this[type] = list;
19490
19802
  },
19491
19803
  isMultiple: function isMultiple(val) {
@@ -19566,6 +19878,7 @@ taskUnionExaminevue_type_template_id_0caaa8c0_render._withStripped = true
19566
19878
  isHideCurrentOrg = _res$data2$nodeInfoMa.isHideCurrentOrg,
19567
19879
  isOpinionRequired = _res$data2$nodeInfoMa.isOpinionRequired;
19568
19880
 
19881
+
19569
19882
  _this5.notificationMessageReadOnly = notificationMessageReadOnly == 'true';
19570
19883
  _this5.readOnlyNotificationType = readOnlyNotificationType;
19571
19884
  _this5.isSinglePage = taskExamine.isSinglePage;
@@ -19590,6 +19903,33 @@ taskUnionExaminevue_type_template_id_0caaa8c0_render._withStripped = true
19590
19903
  _this5.infoList.nextOtherOrgObj.push(taskExamine.nextOtherOrgObj);
19591
19904
  }
19592
19905
  _this5.isMultiple(userSelectionType);
19906
+ if (res.data.customizedConfig) {
19907
+ if (res.data.customizedConfig.currentOrgSelectorCustomized) {
19908
+ _this5.currentMix = res.data.customizedConfig.currentOrgSelectorSelectMix == 'true';
19909
+ _this5.currentOrgTabs = res.data.customizedConfig.currentOrgSelectorItemList;
19910
+ var param = res.data.customizedConfig.currentOrgSelectorRangeList.split(',');
19911
+ res.data.customizedConfig.currentOrgSelectorItemList.split(',').map(function (x, i) {
19912
+ _this5.params[x] = {
19913
+ pid: param[i] == 'my' ? _this5.params.pid = JSON.parse(util["a" /* default */].getStorage('userInfo')).orgId : param[i]
19914
+ };
19915
+ });
19916
+ } else {
19917
+ if (_this5.type == 'takeAdvice') {
19918
+ _this5.params.pid = JSON.parse(util["a" /* default */].getStorage('userInfo')).orgId;
19919
+ }
19920
+ }
19921
+ if (res.data.customizedConfig.foreignOrgSelectorCustomized) {
19922
+ _this5.otherMix = res.data.customizedConfig.foreignOrgSelectorSelectMix == 'true';
19923
+ _this5.foreignOrgTabs = res.data.customizedConfig.foreignOrgSelectorItemList;
19924
+ var _param = res.data.customizedConfig.foreignOrgSelectorRangeList.split(',');
19925
+ // res.data.customizedConfig.foreignOrgSelectorItemList
19926
+ // .split(',')
19927
+ // .map((x, i) => {
19928
+ // this.otherParams[x] = { pid: param[i] };
19929
+
19930
+ // });
19931
+ }
19932
+ }
19593
19933
  _this5.getFind();
19594
19934
  _this5.getMessage();
19595
19935
  } else {
@@ -19608,7 +19948,8 @@ taskUnionExaminevue_type_template_id_0caaa8c0_render._withStripped = true
19608
19948
 
19609
19949
  // 通知消息回调
19610
19950
  onInputMsg: function onInputMsg(obj) {
19611
- this.infoList.noticeType = obj.notificationType;
19951
+ console.log(obj);
19952
+ this.infoList.noticeType = JSON.parse(JSON.stringify(obj.notificationType));
19612
19953
  this.infoList.noticeInfo = obj.notificationMsg;
19613
19954
  },
19614
19955
  goBack: function goBack() {
@@ -19789,8 +20130,8 @@ taskUnionExaminevue_type_template_id_0caaa8c0_render._withStripped = true
19789
20130
 
19790
20131
  var taskUnionExamine_component = normalizeComponent(
19791
20132
  components_taskUnionExaminevue_type_script_lang_js,
19792
- taskUnionExaminevue_type_template_id_0caaa8c0_render,
19793
- taskUnionExaminevue_type_template_id_0caaa8c0_staticRenderFns,
20133
+ taskUnionExaminevue_type_template_id_78d96d93_render,
20134
+ taskUnionExaminevue_type_template_id_78d96d93_staticRenderFns,
19794
20135
  false,
19795
20136
  null,
19796
20137
  null,
@@ -19838,6 +20179,7 @@ var taskUnionExamine_component = normalizeComponent(
19838
20179
  //
19839
20180
  //
19840
20181
  //
20182
+ //
19841
20183
 
19842
20184
 
19843
20185
 
@@ -19884,8 +20226,8 @@ var taskUnionExamine_component = normalizeComponent(
19884
20226
 
19885
20227
  var flow_src_main_component = normalizeComponent(
19886
20228
  packages_flow_src_mainvue_type_script_lang_js,
19887
- mainvue_type_template_id_8558f576_render,
19888
- mainvue_type_template_id_8558f576_staticRenderFns,
20229
+ mainvue_type_template_id_1bffef47_render,
20230
+ mainvue_type_template_id_1bffef47_staticRenderFns,
19889
20231
  false,
19890
20232
  null,
19891
20233
  null,
@@ -21264,8 +21606,8 @@ popover_src_main.install = function (Vue) {
21264
21606
  };
21265
21607
 
21266
21608
  /* harmony default export */ var popover = (popover_src_main);
21267
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/checkbox/src/main.vue?vue&type=template&id=031c5665
21268
- var mainvue_type_template_id_031c5665_render = function () {
21609
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/checkbox/src/main.vue?vue&type=template&id=00f91cc6
21610
+ var mainvue_type_template_id_00f91cc6_render = function () {
21269
21611
  var _vm = this
21270
21612
  var _h = _vm.$createElement
21271
21613
  var _c = _vm._self._c || _h
@@ -21348,6 +21690,7 @@ var mainvue_type_template_id_031c5665_render = function () {
21348
21690
  disabled: _vm.disabled,
21349
21691
  name: _vm.$attrs[_vm.valueKey],
21350
21692
  },
21693
+ on: { change: _vm.handleChange },
21351
21694
  model: {
21352
21695
  value: _vm.newValue,
21353
21696
  callback: function ($$v) {
@@ -21368,11 +21711,11 @@ var mainvue_type_template_id_031c5665_render = function () {
21368
21711
  1
21369
21712
  )
21370
21713
  }
21371
- var mainvue_type_template_id_031c5665_staticRenderFns = []
21372
- mainvue_type_template_id_031c5665_render._withStripped = true
21714
+ var mainvue_type_template_id_00f91cc6_staticRenderFns = []
21715
+ mainvue_type_template_id_00f91cc6_render._withStripped = true
21373
21716
 
21374
21717
 
21375
- // CONCATENATED MODULE: ./packages/checkbox/src/main.vue?vue&type=template&id=031c5665
21718
+ // CONCATENATED MODULE: ./packages/checkbox/src/main.vue?vue&type=template&id=00f91cc6
21376
21719
 
21377
21720
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/checkbox/src/main.vue?vue&type=script&lang=js
21378
21721
  var checkbox_src_mainvue_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; };
@@ -21426,6 +21769,7 @@ var checkbox_src_mainvue_type_script_lang_js_extends = Object.assign || function
21426
21769
  //
21427
21770
  //
21428
21771
  //
21772
+ //
21429
21773
 
21430
21774
 
21431
21775
 
@@ -21625,8 +21969,8 @@ var checkbox_src_mainvue_type_script_lang_js_extends = Object.assign || function
21625
21969
 
21626
21970
  var checkbox_src_main_component = normalizeComponent(
21627
21971
  packages_checkbox_src_mainvue_type_script_lang_js,
21628
- mainvue_type_template_id_031c5665_render,
21629
- mainvue_type_template_id_031c5665_staticRenderFns,
21972
+ mainvue_type_template_id_00f91cc6_render,
21973
+ mainvue_type_template_id_00f91cc6_staticRenderFns,
21630
21974
  false,
21631
21975
  null,
21632
21976
  null,
@@ -21827,8 +22171,8 @@ count_down_src_main.install = function (Vue) {
21827
22171
  };
21828
22172
 
21829
22173
  /* harmony default export */ var count_down = (count_down_src_main);
21830
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/main.vue?vue&type=template&id=f64d0e52
21831
- var mainvue_type_template_id_f64d0e52_render = function () {
22174
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/main.vue?vue&type=template&id=2c86be92
22175
+ var mainvue_type_template_id_2c86be92_render = function () {
21832
22176
  var _vm = this
21833
22177
  var _h = _vm.$createElement
21834
22178
  var _c = _vm._self._c || _h
@@ -21897,7 +22241,7 @@ var mainvue_type_template_id_f64d0e52_render = function () {
21897
22241
  _vm._l(z.contents, function (x, j) {
21898
22242
  return _c(
21899
22243
  "div",
21900
- { key: j },
22244
+ { key: j, staticStyle: { height: "100%" } },
21901
22245
  [
21902
22246
  x.type === "text" ||
21903
22247
  x.type === "textarea" ||
@@ -22759,11 +23103,11 @@ var mainvue_type_template_id_f64d0e52_render = function () {
22759
23103
  ]
22760
23104
  )
22761
23105
  }
22762
- var mainvue_type_template_id_f64d0e52_staticRenderFns = []
22763
- mainvue_type_template_id_f64d0e52_render._withStripped = true
23106
+ var mainvue_type_template_id_2c86be92_staticRenderFns = []
23107
+ mainvue_type_template_id_2c86be92_render._withStripped = true
22764
23108
 
22765
23109
 
22766
- // CONCATENATED MODULE: ./packages/form/src/main.vue?vue&type=template&id=f64d0e52
23110
+ // CONCATENATED MODULE: ./packages/form/src/main.vue?vue&type=template&id=2c86be92
22767
23111
 
22768
23112
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/main.vue?vue&type=script&lang=js
22769
23113
  //
@@ -23304,8 +23648,8 @@ mainvue_type_template_id_f64d0e52_render._withStripped = true
23304
23648
 
23305
23649
  var form_src_main_component = normalizeComponent(
23306
23650
  packages_form_src_mainvue_type_script_lang_js,
23307
- mainvue_type_template_id_f64d0e52_render,
23308
- mainvue_type_template_id_f64d0e52_staticRenderFns,
23651
+ mainvue_type_template_id_2c86be92_render,
23652
+ mainvue_type_template_id_2c86be92_staticRenderFns,
23309
23653
  false,
23310
23654
  null,
23311
23655
  null,
@@ -25317,7 +25661,7 @@ if (typeof window !== 'undefined' && window.Vue) {
25317
25661
  }
25318
25662
 
25319
25663
  /* harmony default export */ var src = __webpack_exports__["default"] = ({
25320
- version: '0.3.9',
25664
+ version: '0.3.11',
25321
25665
  install: install,
25322
25666
  Button: packages_button,
25323
25667
  ButtonGroup: button_group,