eoss-ui 0.4.62 → 0.4.64

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 (78) hide show
  1. package/README.md +0 -2
  2. package/lib/button-group.js +11 -11
  3. package/lib/button.js +11 -11
  4. package/lib/checkbox-group.js +27 -37
  5. package/lib/data-table-form.js +11 -11
  6. package/lib/data-table.js +72 -57
  7. package/lib/date-picker.js +11 -11
  8. package/lib/dialog.js +10 -10
  9. package/lib/eoss-ui.common.js +1806 -749
  10. package/lib/flow-group.js +89 -29
  11. package/lib/flow-list.js +1122 -427
  12. package/lib/flow.js +19 -20
  13. package/lib/form.js +222 -40
  14. package/lib/handle-user.js +12 -12
  15. package/lib/handler.js +15 -15
  16. package/lib/index.js +1 -1
  17. package/lib/input-number.js +11 -11
  18. package/lib/input.js +36 -36
  19. package/lib/login.js +41 -41
  20. package/lib/main.js +211 -104
  21. package/lib/menu.js +5 -3
  22. package/lib/nav.js +13 -15
  23. package/lib/notify.js +2 -2
  24. package/lib/page.js +11 -11
  25. package/lib/player.js +18 -18
  26. package/lib/qr-code.js +11 -11
  27. package/lib/radio-group.js +15 -15
  28. package/lib/retrial-auth.js +12 -12
  29. package/lib/select-ganged.js +11 -11
  30. package/lib/select.js +13 -13
  31. package/lib/selector-panel.js +12 -12
  32. package/lib/selector.js +29 -18
  33. package/lib/sizer.js +12 -12
  34. package/lib/steps.js +11 -11
  35. package/lib/switch.js +11 -11
  36. package/lib/table-form.js +36 -36
  37. package/lib/tabs.js +11 -11
  38. package/lib/theme-chalk/data-table.css +1 -1
  39. package/lib/theme-chalk/flow-list.css +1 -1
  40. package/lib/theme-chalk/index.css +1 -1
  41. package/lib/theme-chalk/menu.css +1 -1
  42. package/lib/tips.js +12 -12
  43. package/lib/toolbar.js +1 -3
  44. package/lib/tree-group.js +11 -11
  45. package/lib/tree.js +12 -12
  46. package/lib/upload.js +18 -18
  47. package/lib/utils/util.js +2 -2
  48. package/lib/wujie.js +11 -11
  49. package/lib/wxlogin.js +11 -11
  50. package/package.json +2 -2
  51. package/packages/checkbox-group/src/main.vue +16 -25
  52. package/packages/data-table/src/column.vue +15 -1
  53. package/packages/data-table/src/main.vue +58 -47
  54. package/packages/flow/src/component/taskUnionExamine.vue +0 -1
  55. package/packages/flow-group/src/main.vue +31 -14
  56. package/packages/flow-list/src/flow-table.vue +5 -1
  57. package/packages/flow-list/src/main.vue +780 -43
  58. package/packages/form/src/main.vue +63 -1
  59. package/packages/handler/src/main.vue +1 -1
  60. package/packages/login/src/main.vue +11 -2
  61. package/packages/main/src/main.vue +177 -58
  62. package/packages/main/src/userinfo.vue +10 -4
  63. package/packages/menu/src/main.vue +5 -3
  64. package/packages/nav/src/main.vue +0 -2
  65. package/packages/radio-group/src/main.vue +9 -5
  66. package/packages/select/src/main.vue +1 -1
  67. package/packages/selector/src/main.vue +12 -4
  68. package/packages/theme-chalk/lib/data-table.css +1 -1
  69. package/packages/theme-chalk/lib/flow-list.css +1 -1
  70. package/packages/theme-chalk/lib/index.css +1 -1
  71. package/packages/theme-chalk/lib/menu.css +1 -1
  72. package/packages/theme-chalk/src/data-table.scss +10 -17
  73. package/packages/theme-chalk/src/flow-list.scss +29 -34
  74. package/packages/theme-chalk/src/menu.scss +3 -0
  75. package/packages/toolbar/src/main.vue +1 -3
  76. package/packages/upload/src/main.vue +1 -1
  77. package/src/index.js +1 -1
  78. package/src/utils/util.js +2 -2
@@ -265,7 +265,7 @@ var ajax = function ajax(_ref) {
265
265
  var loginPage = getStorage('login') || getStorage('loginPage');
266
266
  if (loginPage) {
267
267
  var src = void 0;
268
- if (!startWith(loginPage, ['http', '/'])) {
268
+ if (!startWith(loginPage, ['http', '/'], true)) {
269
269
  var pathname = win.top.location.pathname;
270
270
  if (pathname !== '/') {
271
271
  pathname = pathname.split('/');
@@ -2083,7 +2083,7 @@ var setStorage = function setStorage(_ref14) {
2083
2083
  * @param {boolean} [or] - 或者(等同于||)
2084
2084
  **/
2085
2085
  var startWith = function startWith(value, reg) {
2086
- var or = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
2086
+ var or = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
2087
2087
 
2088
2088
  if (Array.isArray(reg)) {
2089
2089
  var flag = true;
@@ -3465,8 +3465,8 @@ src_main.install = function (Vue) {
3465
3465
  };
3466
3466
 
3467
3467
  /* harmony default export */ var button_group = (src_main);
3468
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/checkbox-group/src/main.vue?vue&type=template&id=5e926836&
3469
- var mainvue_type_template_id_5e926836_render = function () {
3468
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/checkbox-group/src/main.vue?vue&type=template&id=d474eac6&
3469
+ var mainvue_type_template_id_d474eac6_render = function () {
3470
3470
  var _vm = this
3471
3471
  var _h = _vm.$createElement
3472
3472
  var _c = _vm._self._c || _h
@@ -3594,11 +3594,11 @@ var mainvue_type_template_id_5e926836_render = function () {
3594
3594
  )
3595
3595
  : _vm._e()
3596
3596
  }
3597
- var mainvue_type_template_id_5e926836_staticRenderFns = []
3598
- mainvue_type_template_id_5e926836_render._withStripped = true
3597
+ var mainvue_type_template_id_d474eac6_staticRenderFns = []
3598
+ mainvue_type_template_id_d474eac6_render._withStripped = true
3599
3599
 
3600
3600
 
3601
- // CONCATENATED MODULE: ./packages/checkbox-group/src/main.vue?vue&type=template&id=5e926836&
3601
+ // CONCATENATED MODULE: ./packages/checkbox-group/src/main.vue?vue&type=template&id=d474eac6&
3602
3602
 
3603
3603
  // EXTERNAL MODULE: ./src/config/api.js
3604
3604
  var api = __webpack_require__(1);
@@ -3798,31 +3798,21 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
3798
3798
  labelVal: function labelVal() {
3799
3799
  var _this = this;
3800
3800
 
3801
- if (typeof this.model === 'string') {
3802
- if (utils_util["a" /* default */].isObject(this.results[0])) {
3803
- return this.results.map(function (item) {
3804
- if (item[_this.valueKey] === _this.model) {
3805
- return item[_this.label] || _this.model;
3801
+ var model = typeof this.model === 'string' ? this.model.split(',') : this.model;
3802
+ var label = model.map(function (item) {
3803
+ if (utils_util["a" /* default */].isObject(item)) {
3804
+ return item[_this.label];
3805
+ }
3806
+ if (utils_util["a" /* default */].isObject(_this.results[0])) {
3807
+ return _this.results.map(function (ele) {
3808
+ if (ele[_this.valueKey] === item) {
3809
+ return ele[_this.label];
3806
3810
  }
3807
- });
3811
+ }).join(' ');
3808
3812
  }
3809
- return this.model;
3810
- } else {
3811
- var label = this.model.map(function (item) {
3812
- if (utils_util["a" /* default */].isObject(item)) {
3813
- return item[_this.label];
3814
- }
3815
- if (utils_util["a" /* default */].isObject(_this.results[0])) {
3816
- return _this.results.map(function (ele) {
3817
- if (ele[_this.valueKey] === item) {
3818
- return ele[_this.label];
3819
- }
3820
- }).join(' ');
3821
- }
3822
- return item;
3823
- });
3824
- return label.join(' ');
3825
- }
3813
+ return item;
3814
+ });
3815
+ return label.join(' ');
3826
3816
  }
3827
3817
  },
3828
3818
  watch: {
@@ -3914,8 +3904,8 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
3914
3904
 
3915
3905
  var checkbox_group_src_main_component = normalizeComponent(
3916
3906
  packages_checkbox_group_src_mainvue_type_script_lang_js_,
3917
- mainvue_type_template_id_5e926836_render,
3918
- mainvue_type_template_id_5e926836_staticRenderFns,
3907
+ mainvue_type_template_id_d474eac6_render,
3908
+ mainvue_type_template_id_d474eac6_staticRenderFns,
3919
3909
  false,
3920
3910
  null,
3921
3911
  null,
@@ -4750,8 +4740,8 @@ clients_src_main.install = function (Vue) {
4750
4740
  };
4751
4741
 
4752
4742
  /* harmony default export */ var clients = (clients_src_main);
4753
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/main.vue?vue&type=template&id=59cbc514&
4754
- var mainvue_type_template_id_59cbc514_render = function () {
4743
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/main.vue?vue&type=template&id=0cfc4a8c&
4744
+ var mainvue_type_template_id_0cfc4a8c_render = function () {
4755
4745
  var _vm = this
4756
4746
  var _h = _vm.$createElement
4757
4747
  var _c = _vm._self._c || _h
@@ -4806,6 +4796,7 @@ var mainvue_type_template_id_59cbc514_render = function () {
4806
4796
  : _vm._e(),
4807
4797
  _vm.title
4808
4798
  ? _c("p", {
4799
+ ref: "title",
4809
4800
  staticClass: "es-table-title",
4810
4801
  domProps: { innerHTML: _vm._s(_vm.title) },
4811
4802
  })
@@ -4837,7 +4828,7 @@ var mainvue_type_template_id_59cbc514_render = function () {
4837
4828
  sumText: _vm.sumText || _vm.totalText,
4838
4829
  totalRow: _vm.restotalRow || _vm.totalRow,
4839
4830
  height:
4840
- _vm.tableHeight !== "auto"
4831
+ _vm.tableHeight !== "auto" && _vm.tableHeight !== false
4841
4832
  ? _vm.tableHeight
4842
4833
  : undefined,
4843
4834
  border: _vm.border,
@@ -5085,11 +5076,11 @@ var mainvue_type_template_id_59cbc514_render = function () {
5085
5076
  1
5086
5077
  )
5087
5078
  }
5088
- var mainvue_type_template_id_59cbc514_staticRenderFns = []
5089
- mainvue_type_template_id_59cbc514_render._withStripped = true
5079
+ var mainvue_type_template_id_0cfc4a8c_staticRenderFns = []
5080
+ mainvue_type_template_id_0cfc4a8c_render._withStripped = true
5090
5081
 
5091
5082
 
5092
- // CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=59cbc514&
5083
+ // CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=0cfc4a8c&
5093
5084
 
5094
5085
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/children.vue?vue&type=template&id=796433ee&
5095
5086
  var childrenvue_type_template_id_796433ee_render = function () {
@@ -5139,8 +5130,8 @@ childrenvue_type_template_id_796433ee_render._withStripped = true
5139
5130
 
5140
5131
  // CONCATENATED MODULE: ./packages/data-table/src/children.vue?vue&type=template&id=796433ee&
5141
5132
 
5142
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/column.vue?vue&type=template&id=256206e7&
5143
- var columnvue_type_template_id_256206e7_render = function () {
5133
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/column.vue?vue&type=template&id=4ca382cb&
5134
+ var columnvue_type_template_id_4ca382cb_render = function () {
5144
5135
  var _vm = this
5145
5136
  var _h = _vm.$createElement
5146
5137
  var _c = _vm._self._c || _h
@@ -5229,7 +5220,9 @@ var columnvue_type_template_id_256206e7_render = function () {
5229
5220
  attrs: {
5230
5221
  name: _vm.name,
5231
5222
  prop: _vm.item.field,
5232
- rules: _vm.item.rules,
5223
+ rules: _vm.isNotRule(_vm.item, scope)
5224
+ ? []
5225
+ : _vm.item.rules,
5233
5226
  index: scope.$index,
5234
5227
  },
5235
5228
  },
@@ -6120,11 +6113,11 @@ var columnvue_type_template_id_256206e7_render = function () {
6120
6113
  2
6121
6114
  )
6122
6115
  }
6123
- var columnvue_type_template_id_256206e7_staticRenderFns = []
6124
- columnvue_type_template_id_256206e7_render._withStripped = true
6116
+ var columnvue_type_template_id_4ca382cb_staticRenderFns = []
6117
+ columnvue_type_template_id_4ca382cb_render._withStripped = true
6125
6118
 
6126
6119
 
6127
- // CONCATENATED MODULE: ./packages/data-table/src/column.vue?vue&type=template&id=256206e7&
6120
+ // CONCATENATED MODULE: ./packages/data-table/src/column.vue?vue&type=template&id=4ca382cb&
6128
6121
 
6129
6122
  // EXTERNAL MODULE: external "babel-runtime/regenerator"
6130
6123
  var regenerator_ = __webpack_require__(2);
@@ -6735,6 +6728,9 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
6735
6728
  }
6736
6729
  },
6737
6730
  inject: {
6731
+ elForm: {
6732
+ default: ''
6733
+ },
6738
6734
  tableReload: {
6739
6735
  default: ''
6740
6736
  }
@@ -6940,6 +6936,13 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
6940
6936
  isReadOnly: function isReadOnly(item, scope) {
6941
6937
  return scope.row.canEdit === false || this.readonly || item.editable === false || scope.row.cantEditKey && scope.row.cantEditKey.indexOf(item.field || item.prop) > -1 || item.readonly;
6942
6938
  },
6939
+ isNotRule: function isNotRule(item, scope) {
6940
+ if (scope.row.canRule === false || scope.row.notRules && scope.row.notRules.indexOf(item.field || item.prop) > -1) {
6941
+ this.elForm && this.elForm.clearValidate(item.field || item.prop);
6942
+ return true;
6943
+ }
6944
+ return false;
6945
+ },
6943
6946
  handleBlur: function handleBlur(data) {
6944
6947
  var item = data.item;
6945
6948
 
@@ -7028,8 +7031,8 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
7028
7031
 
7029
7032
  var column_component = normalizeComponent(
7030
7033
  src_columnvue_type_script_lang_js_,
7031
- columnvue_type_template_id_256206e7_render,
7032
- columnvue_type_template_id_256206e7_staticRenderFns,
7034
+ columnvue_type_template_id_4ca382cb_render,
7035
+ columnvue_type_template_id_4ca382cb_staticRenderFns,
7033
7036
  false,
7034
7037
  null,
7035
7038
  null,
@@ -7544,6 +7547,9 @@ var mainvue_type_script_lang_js_components;
7544
7547
  //
7545
7548
  //
7546
7549
  //
7550
+ //
7551
+ //
7552
+ //
7547
7553
 
7548
7554
 
7549
7555
 
@@ -7855,7 +7861,7 @@ var mainvue_type_script_lang_js_components;
7855
7861
  scale: {
7856
7862
  deep: true,
7857
7863
  handler: function handler(val) {
7858
- if (this.tableHeight != 'auto' && this.display) {
7864
+ if (this.tableHeight != 'auto' && this.tableHeight !== false && this.display) {
7859
7865
  this.resetHeight();
7860
7866
  this.doLayout();
7861
7867
  }
@@ -7863,7 +7869,7 @@ var mainvue_type_script_lang_js_components;
7863
7869
  },
7864
7870
  zoom: {
7865
7871
  handler: function handler(val) {
7866
- if (this.tableHeight != 'auto' && this.display) {
7872
+ if (this.tableHeight != 'auto' && this.tableHeight !== false && this.display) {
7867
7873
  this.resetHeight();
7868
7874
  this.doLayout();
7869
7875
  }
@@ -8116,11 +8122,13 @@ var mainvue_type_script_lang_js_components;
8116
8122
  });
8117
8123
  } else {
8118
8124
  _this6.list = [];
8125
+ _this6.tableHeight = false;
8119
8126
  var msg = res.msg || '系统错误,请联系管理员!';
8120
8127
  _this6.$message.error(msg);
8121
8128
  }
8122
8129
  _this6.$emit('success', res);
8123
8130
  }).catch(function (err) {
8131
+ _this6.tableHeight = false;
8124
8132
  if (err.message && err.message !== 'canceled') {
8125
8133
  _this6.$message.error(err.message);
8126
8134
  }
@@ -8499,36 +8507,33 @@ var mainvue_type_script_lang_js_components;
8499
8507
  }
8500
8508
  },
8501
8509
  resetHeight: function resetHeight() {
8502
- var _this9 = this;
8503
-
8504
- this.$nextTick(function () {
8505
- if (_this9.full && !_this9.height && !_this9.maxHeight) {
8506
- var height = _this9.$el.parentNode.offsetHeight - parseInt(utils_util["a" /* default */].getStyle(_this9.$el.parentNode, 'paddingTop'), 10) - parseInt(utils_util["a" /* default */].getStyle(_this9.$el.parentNode, 'paddingBottom'), 10);
8507
- for (var i = 0; i < _this9.$el.parentNode.childNodes.length; i++) {
8508
- var ele = _this9.$el.parentNode.childNodes[i];
8509
- if (ele !== _this9.$el) {
8510
- height -= ele.offsetHeight === undefined ? 0 : ele.offsetHeight;
8511
- }
8512
- }
8513
- for (var _i3 = 0; _i3 < _this9.$el.childNodes.length; _i3++) {
8514
- var _ele = _this9.$el.childNodes[_i3];
8515
- if (_ele !== _this9.$refs.esTableContent) {
8516
- height -= _ele.offsetHeight === undefined ? 0 : _ele.offsetHeight;
8517
- }
8510
+ //this.$nextTick(() => {
8511
+ if (this.full && !this.height && !this.maxHeight) {
8512
+ var height = this.$el.parentNode.offsetHeight - parseInt(utils_util["a" /* default */].getStyle(this.$el.parentNode, 'padding-top'), 10) - parseInt(utils_util["a" /* default */].getStyle(this.$el.parentNode, 'padding-bottom'), 10);
8513
+ for (var i = 0; i < this.$el.parentNode.childNodes.length; i++) {
8514
+ var ele = this.$el.parentNode.childNodes[i];
8515
+ if (ele !== this.$el && ele.offsetHeight !== undefined) {
8516
+ height = height - ele.offsetHeight - parseInt(utils_util["a" /* default */].getStyle(ele, 'margin-top'), 10) - parseInt(utils_util["a" /* default */].getStyle(ele, 'margin-bottom'), 10);
8518
8517
  }
8519
- _this9.styles = { height: height + 'px' };
8520
- var loadingDom = _this9.$refs.esTableContent.querySelector('.el-loading-mask');
8521
- for (var _i4 = 0; _i4 < _this9.$refs.esTableContent.childNodes.length; _i4++) {
8522
- var _ele2 = _this9.$refs.esTableContent.childNodes[_i4];
8523
- if (_ele2 !== _this9.$refs.oaTable.$el && (!loadingDom || _ele2 !== loadingDom)) {
8524
- height -= _ele2.offsetHeight === undefined ? 0 : _ele2.offsetHeight;
8525
- }
8526
- }
8527
- var pt = parseInt(utils_util["a" /* default */].getStyle(_this9.$refs.esTableContent, 'paddingTop'), 10);
8528
- var pb = parseInt(utils_util["a" /* default */].getStyle(_this9.$refs.esTableContent, 'paddingBottom'), 10);
8529
- _this9.tableHeight = height - pt - pb + (_this9.page ? 2 : 1) + 'px';
8530
8518
  }
8531
- });
8519
+ height -= this.showToolbar ? 45 : 0;
8520
+ height -= this.page === false ? 0 : 46;
8521
+ height -= this.title ? this.$refs.title.offsetHeight : 0;
8522
+ height -= parseInt(utils_util["a" /* default */].getStyle(this.$refs.esTableContent, 'padding-top'), 10);
8523
+ height -= parseInt(utils_util["a" /* default */].getStyle(this.$refs.esTableContent, 'padding-bottom'), 10);
8524
+ var emptyText = this.$refs.esTableContent.querySelector('.el-table__empty-text');
8525
+ var eht = 0;
8526
+ if (emptyText) {
8527
+ eht = emptyText.offsetHeight;
8528
+ var thead = this.$refs.esTableContent.querySelector('.el-table__header');
8529
+ thead && (eht += thead.offsetHeight);
8530
+ }
8531
+ if (height > 1 && height - eht > 1) {
8532
+ this.tableHeight = height;
8533
+ } else {
8534
+ console.warn(this.$el.parentNode, '\u83B7\u53D6\u4E0D\u5230\u9AD8\u5EA6\uFF01');
8535
+ }
8536
+ }
8532
8537
  },
8533
8538
  validate: function validate(callback) {
8534
8539
  var form = this.elForm || this.$refs.esTableForm;
@@ -8552,12 +8557,12 @@ var mainvue_type_script_lang_js_components;
8552
8557
  this.$emit('sort-change', res);
8553
8558
  },
8554
8559
  mergeThead: function mergeThead(res) {
8555
- var _this10 = this;
8560
+ var _this9 = this;
8556
8561
 
8557
8562
  this.theadData = res;
8558
8563
  this.icon = true;
8559
8564
  setTimeout(function () {
8560
- _this10.show = true;
8565
+ _this9.show = true;
8561
8566
  }, 100);
8562
8567
  }
8563
8568
  }
@@ -8574,8 +8579,8 @@ var mainvue_type_script_lang_js_components;
8574
8579
 
8575
8580
  var data_table_src_main_component = normalizeComponent(
8576
8581
  packages_data_table_src_mainvue_type_script_lang_js_,
8577
- mainvue_type_template_id_59cbc514_render,
8578
- mainvue_type_template_id_59cbc514_staticRenderFns,
8582
+ mainvue_type_template_id_0cfc4a8c_render,
8583
+ mainvue_type_template_id_0cfc4a8c_staticRenderFns,
8579
8584
  false,
8580
8585
  null,
8581
8586
  null,
@@ -13096,8 +13101,8 @@ error_page_src_main.install = function (Vue) {
13096
13101
  };
13097
13102
 
13098
13103
  /* harmony default export */ var error_page = (error_page_src_main);
13099
- // 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=ee9d314c&
13100
- var mainvue_type_template_id_ee9d314c_render = function () {
13104
+ // 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=87903c8e&
13105
+ var mainvue_type_template_id_87903c8e_render = function () {
13101
13106
  var _vm = this
13102
13107
  var _h = _vm.$createElement
13103
13108
  var _c = _vm._self._c || _h
@@ -14735,6 +14740,39 @@ var mainvue_type_template_id_ee9d314c_render = function () {
14735
14740
  )
14736
14741
  ),
14737
14742
  ]
14743
+ : (item.type ===
14744
+ "flow-list" ||
14745
+ item.type ===
14746
+ "flowList") &&
14747
+ _vm._businessId
14748
+ ? _c(
14749
+ "es-flow-list",
14750
+ _vm._g(
14751
+ _vm._b(
14752
+ {
14753
+ attrs:
14754
+ {
14755
+ businessId:
14756
+ _vm._businessId,
14757
+ },
14758
+ },
14759
+ "es-flow-list",
14760
+ _vm.handleExclAttribute(
14761
+ {
14762
+ data: item,
14763
+ attrs:
14764
+ [
14765
+ "events",
14766
+ "visible",
14767
+ "type",
14768
+ ],
14769
+ }
14770
+ ),
14771
+ false
14772
+ ),
14773
+ item.events
14774
+ )
14775
+ )
14738
14776
  : item.type ===
14739
14777
  "icon"
14740
14778
  ? _c(
@@ -17074,6 +17112,37 @@ var mainvue_type_template_id_ee9d314c_render = function () {
17074
17112
  )
17075
17113
  ),
17076
17114
  ]
17115
+ : (item.type ===
17116
+ "flow-list" ||
17117
+ item.type ===
17118
+ "flowList") &&
17119
+ _vm._businessId
17120
+ ? _c(
17121
+ "es-flow-list",
17122
+ _vm._g(
17123
+ _vm._b(
17124
+ {
17125
+ attrs: {
17126
+ businessId:
17127
+ _vm._businessId,
17128
+ },
17129
+ },
17130
+ "es-flow-list",
17131
+ _vm.handleExclAttribute(
17132
+ {
17133
+ data: item,
17134
+ attrs: [
17135
+ "events",
17136
+ "visible",
17137
+ "type",
17138
+ ],
17139
+ }
17140
+ ),
17141
+ false
17142
+ ),
17143
+ item.events
17144
+ )
17145
+ )
17077
17146
  : item.type === "icon"
17078
17147
  ? _c(
17079
17148
  "es-icons",
@@ -19857,6 +19926,37 @@ var mainvue_type_template_id_ee9d314c_render = function () {
19857
19926
  )
19858
19927
  ),
19859
19928
  ]
19929
+ : (item.type ===
19930
+ "flow-list" ||
19931
+ item.type ===
19932
+ "flowList") &&
19933
+ _vm._businessId
19934
+ ? _c(
19935
+ "es-flow-list",
19936
+ _vm._g(
19937
+ _vm._b(
19938
+ {
19939
+ attrs: {
19940
+ businessId:
19941
+ _vm._businessId,
19942
+ },
19943
+ },
19944
+ "es-flow-list",
19945
+ _vm.handleExclAttribute(
19946
+ {
19947
+ data: item,
19948
+ attrs: [
19949
+ "events",
19950
+ "visible",
19951
+ "type",
19952
+ ],
19953
+ }
19954
+ ),
19955
+ false
19956
+ ),
19957
+ item.events
19958
+ )
19959
+ )
19860
19960
  : item.type ===
19861
19961
  "icon"
19862
19962
  ? _c(
@@ -22031,6 +22131,33 @@ var mainvue_type_template_id_ee9d314c_render = function () {
22031
22131
  )
22032
22132
  ),
22033
22133
  ]
22134
+ : (item.type === "flow-list" ||
22135
+ item.type === "flowList") &&
22136
+ _vm._businessId
22137
+ ? _c(
22138
+ "es-flow-list",
22139
+ _vm._g(
22140
+ _vm._b(
22141
+ {
22142
+ attrs: {
22143
+ businessId:
22144
+ _vm._businessId,
22145
+ },
22146
+ },
22147
+ "es-flow-list",
22148
+ _vm.handleExclAttribute({
22149
+ data: item,
22150
+ attrs: [
22151
+ "events",
22152
+ "visible",
22153
+ "type",
22154
+ ],
22155
+ }),
22156
+ false
22157
+ ),
22158
+ item.events
22159
+ )
22160
+ )
22034
22161
  : item.type === "icon"
22035
22162
  ? _c(
22036
22163
  "es-icons",
@@ -23383,11 +23510,11 @@ var mainvue_type_template_id_ee9d314c_render = function () {
23383
23510
  )
23384
23511
  : _vm._e()
23385
23512
  }
23386
- var mainvue_type_template_id_ee9d314c_staticRenderFns = []
23387
- mainvue_type_template_id_ee9d314c_render._withStripped = true
23513
+ var mainvue_type_template_id_87903c8e_staticRenderFns = []
23514
+ mainvue_type_template_id_87903c8e_render._withStripped = true
23388
23515
 
23389
23516
 
23390
- // CONCATENATED MODULE: ./packages/form/src/main.vue?vue&type=template&id=ee9d314c&
23517
+ // CONCATENATED MODULE: ./packages/form/src/main.vue?vue&type=template&id=87903c8e&
23391
23518
 
23392
23519
  // CONCATENATED MODULE: ./src/utils/rules.js
23393
23520
  // 手机号
@@ -26996,6 +27123,64 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
26996
27123
  //
26997
27124
  //
26998
27125
  //
27126
+ //
27127
+ //
27128
+ //
27129
+ //
27130
+ //
27131
+ //
27132
+ //
27133
+ //
27134
+ //
27135
+ //
27136
+ //
27137
+ //
27138
+ //
27139
+ //
27140
+ //
27141
+ //
27142
+ //
27143
+ //
27144
+ //
27145
+ //
27146
+ //
27147
+ //
27148
+ //
27149
+ //
27150
+ //
27151
+ //
27152
+ //
27153
+ //
27154
+ //
27155
+ //
27156
+ //
27157
+ //
27158
+ //
27159
+ //
27160
+ //
27161
+ //
27162
+ //
27163
+ //
27164
+ //
27165
+ //
27166
+ //
27167
+ //
27168
+ //
27169
+ //
27170
+ //
27171
+ //
27172
+ //
27173
+ //
27174
+ //
27175
+ //
27176
+ //
27177
+ //
27178
+ //
27179
+ //
27180
+ //
27181
+ //
27182
+ //
27183
+ //
26999
27184
 
27000
27185
 
27001
27186
 
@@ -27201,7 +27386,6 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
27201
27386
  return this.values;
27202
27387
  },
27203
27388
  set: function set(val) {
27204
- console.log(val, 666);
27205
27389
  return val;
27206
27390
  }
27207
27391
  },
@@ -27316,6 +27500,9 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
27316
27500
  }
27317
27501
  }
27318
27502
  return buttons;
27503
+ },
27504
+ _businessId: function _businessId() {
27505
+ return typeof this.autoId === 'string' ? this.models[this.autoId] : this.models['id'];
27319
27506
  }
27320
27507
  },
27321
27508
  watch: {
@@ -28193,8 +28380,8 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
28193
28380
 
28194
28381
  var form_src_main_component = normalizeComponent(
28195
28382
  packages_form_src_mainvue_type_script_lang_js_,
28196
- mainvue_type_template_id_ee9d314c_render,
28197
- mainvue_type_template_id_ee9d314c_staticRenderFns,
28383
+ mainvue_type_template_id_87903c8e_render,
28384
+ mainvue_type_template_id_87903c8e_staticRenderFns,
28198
28385
  false,
28199
28386
  null,
28200
28387
  null,
@@ -35907,8 +36094,8 @@ var startTaskRead_component = normalizeComponent(
35907
36094
  )
35908
36095
 
35909
36096
  /* harmony default export */ var startTaskRead = (startTaskRead_component.exports);
35910
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=23e0402f&
35911
- var taskUnionExaminevue_type_template_id_23e0402f_render = function () {
36097
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=47986272&
36098
+ var taskUnionExaminevue_type_template_id_47986272_render = function () {
35912
36099
  var _vm = this
35913
36100
  var _h = _vm.$createElement
35914
36101
  var _c = _vm._self._c || _h
@@ -36123,11 +36310,11 @@ var taskUnionExaminevue_type_template_id_23e0402f_render = function () {
36123
36310
  1
36124
36311
  )
36125
36312
  }
36126
- var taskUnionExaminevue_type_template_id_23e0402f_staticRenderFns = []
36127
- taskUnionExaminevue_type_template_id_23e0402f_render._withStripped = true
36313
+ var taskUnionExaminevue_type_template_id_47986272_staticRenderFns = []
36314
+ taskUnionExaminevue_type_template_id_47986272_render._withStripped = true
36128
36315
 
36129
36316
 
36130
- // CONCATENATED MODULE: ./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=23e0402f&
36317
+ // CONCATENATED MODULE: ./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=47986272&
36131
36318
 
36132
36319
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/taskUnionExamine.vue?vue&type=script&lang=js&
36133
36320
  var taskUnionExaminevue_type_script_lang_js_components;
@@ -36527,7 +36714,6 @@ var taskUnionExaminevue_type_script_lang_js_components;
36527
36714
  newNextUser = item.stype + '-' + item.id;
36528
36715
  }
36529
36716
  });
36530
- //console.log(options, newNextUser, 'newNextUser');
36531
36717
  this.infoList[type] = newNextUser;
36532
36718
  },
36533
36719
  getNodeType: function getNodeType() {
@@ -36606,8 +36792,8 @@ var taskUnionExaminevue_type_script_lang_js_components;
36606
36792
 
36607
36793
  var taskUnionExamine_component = normalizeComponent(
36608
36794
  component_taskUnionExaminevue_type_script_lang_js_,
36609
- taskUnionExaminevue_type_template_id_23e0402f_render,
36610
- taskUnionExaminevue_type_template_id_23e0402f_staticRenderFns,
36795
+ taskUnionExaminevue_type_template_id_47986272_render,
36796
+ taskUnionExaminevue_type_template_id_47986272_staticRenderFns,
36611
36797
  false,
36612
36798
  null,
36613
36799
  null,
@@ -38996,8 +39182,8 @@ flow_src_main.install = function (Vue) {
38996
39182
  };
38997
39183
 
38998
39184
  /* harmony default export */ var packages_flow = (flow_src_main);
38999
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-group/src/main.vue?vue&type=template&id=13f958b5&
39000
- var mainvue_type_template_id_13f958b5_render = function () {
39185
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-group/src/main.vue?vue&type=template&id=e7bb569c&
39186
+ var mainvue_type_template_id_e7bb569c_render = function () {
39001
39187
  var _vm = this
39002
39188
  var _h = _vm.$createElement
39003
39189
  var _c = _vm._self._c || _h
@@ -39097,13 +39283,41 @@ var mainvue_type_template_id_13f958b5_render = function () {
39097
39283
  "es-tab-pane-main",
39098
39284
  },
39099
39285
  [
39100
- item.type ===
39101
- "data-table" ||
39102
- item.type ===
39103
- "dataTable" ||
39104
39286
  item.type ===
39105
39287
  "flow-list" ||
39106
39288
  item.type === "flowList"
39289
+ ? _c(
39290
+ "es-flow-list",
39291
+ _vm._g(
39292
+ _vm._b(
39293
+ {
39294
+ key: index,
39295
+ attrs: {
39296
+ businessId:
39297
+ _vm.businessId,
39298
+ },
39299
+ },
39300
+ "es-flow-list",
39301
+ _vm.handleExclAttribute(
39302
+ {
39303
+ data: item,
39304
+ attrs: [
39305
+ "events",
39306
+ "visible",
39307
+ "type",
39308
+ ],
39309
+ }
39310
+ ),
39311
+ false
39312
+ ),
39313
+ item.events
39314
+ )
39315
+ )
39316
+ : _vm._e(),
39317
+ item.type ===
39318
+ "data-table" ||
39319
+ item.type ===
39320
+ "dataTable"
39107
39321
  ? _c(
39108
39322
  "es-data-table",
39109
39323
  _vm._g(
@@ -39115,11 +39329,6 @@ var mainvue_type_template_id_13f958b5_render = function () {
39115
39329
  "data-table" ||
39116
39330
  item.type ===
39117
39331
  "dataTable",
39118
- "es-flow-list":
39119
- item.type ===
39120
- "flow-list" ||
39121
- item.type ===
39122
- "flowList",
39123
39332
  },
39124
39333
  attrs: {
39125
39334
  appId:
@@ -39424,10 +39633,35 @@ var mainvue_type_template_id_13f958b5_render = function () {
39424
39633
  )
39425
39634
  )
39426
39635
  : _vm._e(),
39427
- item.type === "data-table" ||
39428
- item.type === "dataTable" ||
39429
39636
  item.type === "flow-list" ||
39430
39637
  item.type === "flowList"
39638
+ ? _c(
39639
+ "es-flow-list",
39640
+ _vm._b(
39641
+ {
39642
+ key: index,
39643
+ attrs: {
39644
+ businessId:
39645
+ _vm.businessId,
39646
+ },
39647
+ },
39648
+ "es-flow-list",
39649
+ _vm.handleExclAttribute(
39650
+ {
39651
+ data: item,
39652
+ attrs: [
39653
+ "events",
39654
+ "visible",
39655
+ "type",
39656
+ ],
39657
+ }
39658
+ ),
39659
+ false
39660
+ )
39661
+ )
39662
+ : _vm._e(),
39663
+ item.type === "data-table" ||
39664
+ item.type === "dataTable"
39431
39665
  ? _c(
39432
39666
  "es-data-table",
39433
39667
  _vm._g(
@@ -39440,11 +39674,6 @@ var mainvue_type_template_id_13f958b5_render = function () {
39440
39674
  "data-table" ||
39441
39675
  item.type ===
39442
39676
  "dataTable",
39443
- "es-flow-list":
39444
- item.type ===
39445
- "flow-list" ||
39446
- item.type ===
39447
- "flowList",
39448
39677
  },
39449
39678
  attrs: {
39450
39679
  appId:
@@ -40047,11 +40276,11 @@ var mainvue_type_template_id_13f958b5_render = function () {
40047
40276
  2
40048
40277
  )
40049
40278
  }
40050
- var mainvue_type_template_id_13f958b5_staticRenderFns = []
40051
- mainvue_type_template_id_13f958b5_render._withStripped = true
40279
+ var mainvue_type_template_id_e7bb569c_staticRenderFns = []
40280
+ mainvue_type_template_id_e7bb569c_render._withStripped = true
40052
40281
 
40053
40282
 
40054
- // CONCATENATED MODULE: ./packages/flow-group/src/main.vue?vue&type=template&id=13f958b5&
40283
+ // CONCATENATED MODULE: ./packages/flow-group/src/main.vue?vue&type=template&id=e7bb569c&
40055
40284
 
40056
40285
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-group/src/main.vue?vue&type=script&lang=js&
40057
40286
  //
@@ -40438,6 +40667,23 @@ mainvue_type_template_id_13f958b5_render._withStripped = true
40438
40667
  //
40439
40668
  //
40440
40669
  //
40670
+ //
40671
+ //
40672
+ //
40673
+ //
40674
+ //
40675
+ //
40676
+ //
40677
+ //
40678
+ //
40679
+ //
40680
+ //
40681
+ //
40682
+ //
40683
+ //
40684
+ //
40685
+ //
40686
+ //
40441
40687
 
40442
40688
 
40443
40689
  /* harmony default export */ var flow_group_src_mainvue_type_script_lang_js_ = ({
@@ -40622,8 +40868,8 @@ mainvue_type_template_id_13f958b5_render._withStripped = true
40622
40868
 
40623
40869
  var flow_group_src_main_component = normalizeComponent(
40624
40870
  packages_flow_group_src_mainvue_type_script_lang_js_,
40625
- mainvue_type_template_id_13f958b5_render,
40626
- mainvue_type_template_id_13f958b5_staticRenderFns,
40871
+ mainvue_type_template_id_e7bb569c_render,
40872
+ mainvue_type_template_id_e7bb569c_staticRenderFns,
40627
40873
  false,
40628
40874
  null,
40629
40875
  null,
@@ -40640,180 +40886,209 @@ flow_group_src_main.install = function (Vue) {
40640
40886
  };
40641
40887
 
40642
40888
  /* harmony default export */ var flow_group = (flow_group_src_main);
40643
- // 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=0fd64532&
40644
- var mainvue_type_template_id_0fd64532_render = function () {
40889
+ // 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=b334e09a&
40890
+ var mainvue_type_template_id_b334e09a_render = function () {
40645
40891
  var _vm = this
40646
40892
  var _h = _vm.$createElement
40647
40893
  var _c = _vm._self._c || _h
40648
- return _c("div", { staticClass: "flow-list" }, [
40649
- _vm.hide.indexOf("flow") == -1
40650
- ? _c(
40894
+ return _c(
40895
+ "div",
40896
+ { staticClass: "es-flow-list" },
40897
+ [
40898
+ _vm._l(_vm.content, function (item, index) {
40899
+ return _c(
40651
40900
  "div",
40652
40901
  {
40653
- class:
40654
- _vm.fyTableList != undefined && _vm.fyTableList.length != 0
40655
- ? "preset-list"
40656
- : "preset-list-tow",
40657
- staticStyle: { flex: "1" },
40902
+ directives: [
40903
+ {
40904
+ name: "show",
40905
+ rawName: "v-show",
40906
+ value:
40907
+ (item.type == "splitReading" &&
40908
+ _vm.splitReadingData &&
40909
+ _vm.splitReadingData.length > 0) ||
40910
+ item.type != "splitReading",
40911
+ expression:
40912
+ "\n (item.type == 'splitReading' &&\n splitReadingData &&\n splitReadingData.length > 0) ||\n item.type != 'splitReading'\n ",
40913
+ },
40914
+ ],
40915
+ key: index,
40916
+ staticClass: "es-flow-list-item",
40658
40917
  },
40659
40918
  [
40660
- _c("div", { staticClass: "title" }, [
40661
- _vm._v("\n 流程列表\n "),
40662
- _vm.isShort != 1
40663
- ? _c(
40664
- "div",
40665
- {
40666
- staticStyle: {
40667
- display: "inline-block",
40668
- "margin-left": "10px",
40669
- },
40670
- },
40671
- [
40672
- _c(
40673
- "es-select",
40674
- {
40675
- attrs: { placeholder: "请选择" },
40676
- on: { change: _vm.handleChange },
40677
- model: {
40678
- value: _vm.viewType,
40679
- callback: function ($$v) {
40680
- _vm.viewType = $$v
40681
- },
40682
- expression: "viewType",
40683
- },
40684
- },
40685
- _vm._l(_vm.options, function (item) {
40686
- return _c("el-option", {
40687
- key: item.value,
40688
- attrs: { label: item.label, value: item.value },
40689
- })
40690
- }),
40691
- 1
40692
- ),
40693
- _c(
40694
- "el-radio-group",
40695
- {
40696
- staticClass: "list-radio",
40697
- on: { input: _vm.handleChange },
40698
- model: {
40699
- value: _vm.showSuggest,
40700
- callback: function ($$v) {
40701
- _vm.showSuggest = $$v
40702
- },
40703
- expression: "showSuggest",
40704
- },
40705
- },
40706
- [
40707
- _c("el-radio", { attrs: { label: "all" } }, [
40708
- _vm._v("显示全部"),
40709
- ]),
40710
- _c("el-radio", { attrs: { label: "have" } }, [
40711
- _vm._v("显示已填意见"),
40712
- ]),
40713
- ],
40714
- 1
40715
- ),
40716
- ],
40717
- 1
40718
- )
40719
- : _vm._e(),
40720
- ]),
40721
- _vm.show
40722
- ? _c(
40723
- "FlowTable",
40919
+ _c(
40920
+ "div",
40921
+ { staticClass: "es-flow-list-box" },
40922
+ [
40923
+ _c(
40924
+ "es-data-table",
40724
40925
  _vm._b(
40725
40926
  {
40726
- staticStyle: { height: "calc(100% - 60px)" },
40927
+ class: {
40928
+ "es-flow-group-data-table": item.type !== "sign",
40929
+ },
40727
40930
  attrs: {
40728
- data: _vm.flowTableList,
40729
- modify: _vm.modify,
40730
- fileStyle: _vm.attachmentPaperClipCssStyle,
40931
+ number: "",
40932
+ full: "",
40933
+ data:
40934
+ item.type === "preset"
40935
+ ? _vm.presetData
40936
+ : item.type === "sign"
40937
+ ? _vm.signData
40938
+ : item.type === "splitReading"
40939
+ ? _vm.splitReadingData
40940
+ : _vm.flowData,
40941
+ },
40942
+ on: {
40943
+ "cell-click": _vm.handleCellClick,
40944
+ "btn-click": _vm.handleBtnClick,
40731
40945
  },
40732
- on: { success: _vm.handleChange },
40733
40946
  },
40734
- "FlowTable",
40735
- _vm.flowTableInfo,
40947
+ "es-data-table",
40948
+ item,
40736
40949
  false
40737
40950
  )
40738
- )
40739
- : _vm._e(),
40740
- ],
40741
- 1
40951
+ ),
40952
+ ],
40953
+ 1
40954
+ ),
40955
+ ]
40742
40956
  )
40743
- : _vm._e(),
40744
- _vm.fyTableList != undefined &&
40745
- _vm.fyTableList.length != 0 &&
40746
- _vm.show &&
40747
- _vm.hide.indexOf("splitReading") == -1
40748
- ? _c(
40749
- "div",
40750
- {
40751
- class: "preset-list",
40752
- style: _vm.hide.indexOf("preset") != -1 ? "flex:1" : "",
40753
- },
40754
- [
40755
- _c("div", { staticClass: "title" }, [
40756
- _vm._v(
40757
- _vm._s(_vm.taskReadName ? _vm.taskReadName : "非流程") + "列表"
40758
- ),
40759
- ]),
40760
- _c(
40761
- "FlowTable",
40762
- _vm._b(
40957
+ }),
40958
+ _vm.showFileList
40959
+ ? _c(
40960
+ "es-dialog",
40961
+ {
40962
+ attrs: {
40963
+ "append-to-body": "",
40964
+ "close-on-click-modal": false,
40965
+ title: "查看附件",
40966
+ visible: _vm.showFileList,
40967
+ },
40968
+ on: {
40969
+ "update:visible": function ($event) {
40970
+ _vm.showFileList = $event
40971
+ },
40972
+ },
40973
+ },
40974
+ [
40975
+ _c("FileList", {
40976
+ attrs: {
40977
+ ownId: _vm.wfpendingid,
40978
+ code: _vm.flowTableInfo.adjunctCode,
40979
+ deleted: false,
40980
+ disabled: true,
40981
+ },
40982
+ on: {
40983
+ cancel: function ($event) {
40984
+ _vm.showFileList = false
40985
+ },
40986
+ },
40987
+ }),
40988
+ ],
40989
+ 1
40990
+ )
40991
+ : _vm._e(),
40992
+ _vm.showPress
40993
+ ? _c(
40994
+ "es-dialog",
40995
+ {
40996
+ attrs: {
40997
+ "append-to-body": "",
40998
+ "close-on-click-modal": false,
40999
+ title: "查看催办记录",
41000
+ visible: _vm.showPress,
41001
+ height: "500px",
41002
+ },
41003
+ on: {
41004
+ "update:visible": function ($event) {
41005
+ _vm.showPress = $event
41006
+ },
41007
+ },
41008
+ },
41009
+ [
41010
+ _c(
41011
+ "div",
40763
41012
  {
40764
- staticStyle: { height: "calc(100% - 40px)" },
40765
- attrs: { data: _vm.fyTableList },
40766
- on: { success: _vm.handleChange },
41013
+ directives: [
41014
+ {
41015
+ name: "loading",
41016
+ rawName: "v-loading",
41017
+ value: _vm.pressLoading,
41018
+ expression: "pressLoading",
41019
+ },
41020
+ ],
41021
+ staticStyle: { height: "400px" },
40767
41022
  },
40768
- "FlowTable",
40769
- _vm.flowTableInfo,
40770
- false
40771
- )
40772
- ),
40773
- ],
40774
- 1
40775
- )
40776
- : _vm._e(),
40777
- _vm.show && _vm.hide.indexOf("preset") == -1
40778
- ? _c(
40779
- "div",
40780
- {
40781
- class:
40782
- _vm.fyTableList != undefined && _vm.fyTableList.length != 0
40783
- ? "preset-list"
40784
- : "preset-list-tow",
40785
- style:
40786
- _vm.fyTableList != undefined && _vm.fyTableList.length != 0
40787
- ? ""
40788
- : "flex:1",
40789
- },
40790
- [
40791
- _c("div", { staticClass: "title" }, [_vm._v("预设列表")]),
40792
- _c("es-data-table", {
40793
- staticStyle: { width: "100%" },
41023
+ [
41024
+ _c("es-data-table", {
41025
+ staticStyle: { width: "100%" },
41026
+ attrs: {
41027
+ data: _vm.pressTableList,
41028
+ thead: _vm.pressThead,
41029
+ stripe: "",
41030
+ full: "",
41031
+ page: _vm.pageInfo,
41032
+ },
41033
+ on: {
41034
+ "page-size-change": _vm.handleSizeChange,
41035
+ "page-current-change": _vm.handleCurrentChange,
41036
+ "sort-change": _vm.sortChange,
41037
+ },
41038
+ }),
41039
+ ],
41040
+ 1
41041
+ ),
41042
+ ]
41043
+ )
41044
+ : _vm._e(),
41045
+ _vm.showDel
41046
+ ? _c(
41047
+ "es-dialog",
41048
+ {
41049
+ staticClass: "del-flow",
40794
41050
  attrs: {
40795
- numbers: "",
40796
- data: _vm.tableData,
40797
- thead: _vm.thead,
40798
- stripe: "",
40799
- full: "",
41051
+ "append-to-body": "",
41052
+ "close-on-click-modal": false,
41053
+ title: "删除",
41054
+ visible: _vm.showDel,
41055
+ height: "auto",
40800
41056
  },
40801
- on: { btnClick: _vm.handleClick },
40802
- }),
40803
- ],
40804
- 1
40805
- )
40806
- : _vm._e(),
40807
- ])
41057
+ on: {
41058
+ "update:visible": function ($event) {
41059
+ _vm.showDel = $event
41060
+ },
41061
+ },
41062
+ },
41063
+ [
41064
+ _c("es-form", {
41065
+ directives: [
41066
+ {
41067
+ name: "loading",
41068
+ rawName: "v-loading",
41069
+ value: _vm.delLoading,
41070
+ expression: "delLoading",
41071
+ },
41072
+ ],
41073
+ attrs: { model: _vm.formData, contents: _vm.formItemList },
41074
+ on: { submit: _vm.handleFormSubmit },
41075
+ }),
41076
+ ],
41077
+ 1
41078
+ )
41079
+ : _vm._e(),
41080
+ ],
41081
+ 2
41082
+ )
40808
41083
  }
40809
- var mainvue_type_template_id_0fd64532_staticRenderFns = []
40810
- mainvue_type_template_id_0fd64532_render._withStripped = true
41084
+ var mainvue_type_template_id_b334e09a_staticRenderFns = []
41085
+ mainvue_type_template_id_b334e09a_render._withStripped = true
40811
41086
 
40812
41087
 
40813
- // CONCATENATED MODULE: ./packages/flow-list/src/main.vue?vue&type=template&id=0fd64532&
41088
+ // CONCATENATED MODULE: ./packages/flow-list/src/main.vue?vue&type=template&id=b334e09a&
40814
41089
 
40815
- // 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/flow-table.vue?vue&type=template&id=6b55e38f&
40816
- var flow_tablevue_type_template_id_6b55e38f_render = function () {
41090
+ // 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/flow-table.vue?vue&type=template&id=010330c8&
41091
+ var flow_tablevue_type_template_id_010330c8_render = function () {
40817
41092
  var _vm = this
40818
41093
  var _h = _vm.$createElement
40819
41094
  var _c = _vm._self._c || _h
@@ -40825,7 +41100,12 @@ var flow_tablevue_type_template_id_6b55e38f_render = function () {
40825
41100
  "es-data-table",
40826
41101
  {
40827
41102
  staticStyle: { width: "100%" },
40828
- attrs: { data: _vm.data, border: "" },
41103
+ attrs: {
41104
+ toolbar: _vm.toolbar,
41105
+ showFormBtn: false,
41106
+ data: _vm.data,
41107
+ border: "",
41108
+ },
40829
41109
  },
40830
41110
  [
40831
41111
  _c("el-table-column", {
@@ -41214,11 +41494,11 @@ var flow_tablevue_type_template_id_6b55e38f_render = function () {
41214
41494
  1
41215
41495
  )
41216
41496
  }
41217
- var flow_tablevue_type_template_id_6b55e38f_staticRenderFns = []
41218
- flow_tablevue_type_template_id_6b55e38f_render._withStripped = true
41497
+ var flow_tablevue_type_template_id_010330c8_staticRenderFns = []
41498
+ flow_tablevue_type_template_id_010330c8_render._withStripped = true
41219
41499
 
41220
41500
 
41221
- // CONCATENATED MODULE: ./packages/flow-list/src/flow-table.vue?vue&type=template&id=6b55e38f&
41501
+ // CONCATENATED MODULE: ./packages/flow-list/src/flow-table.vue?vue&type=template&id=010330c8&
41222
41502
 
41223
41503
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-list/src/flow-table.vue?vue&type=script&lang=js&
41224
41504
  var flow_tablevue_type_script_lang_js_components;
@@ -41434,6 +41714,12 @@ var flow_tablevue_type_script_lang_js_components;
41434
41714
  hasAgent: {
41435
41715
  type: String,
41436
41716
  default: '1'
41717
+ },
41718
+ toolbar: {
41719
+ type: Array,
41720
+ default: function _default() {
41721
+ return [];
41722
+ }
41437
41723
  }
41438
41724
  },
41439
41725
  filters: {
@@ -41610,7 +41896,920 @@ var flow_tablevue_type_script_lang_js_components;
41610
41896
  * @date 2022年11月29日
41611
41897
  **/
41612
41898
  getPressList: function getPressList() {
41613
- var _this2 = this;
41899
+ var _this2 = this;
41900
+
41901
+ var historyId = this.historyId,
41902
+ pageSize = this.pageSize,
41903
+ sidx = this.sidx,
41904
+ sord = this.sord,
41905
+ currentPage = this.currentPage;
41906
+
41907
+ this.pressLoading = true;
41908
+ var params = {
41909
+ url: api["fb" /* pressListJson */],
41910
+ params: { historyId: historyId },
41911
+ method: 'POST',
41912
+ data: { page: currentPage, rows: pageSize, sidx: sidx, sord: sord, historyId: historyId }
41913
+ };
41914
+ utils_util["a" /* default */].ajax(params).then(function (res) {
41915
+ _this2.pressTableList = res.data;
41916
+ _this2.total = res.totalrecords;
41917
+ _this2.pressLoading = false;
41918
+ }).catch(function (err) {
41919
+ _this2.pressLoading = false;
41920
+ if (err.message && err.message !== 'canceled') {
41921
+ _this2.$message.error(err.message);
41922
+ }
41923
+ });
41924
+ },
41925
+
41926
+ /**
41927
+ * showFile
41928
+ * @desc:附件查看
41929
+ * @param {String} ownId 附件id
41930
+ * @author liufan
41931
+ * @date 2022年11月29日
41932
+ **/
41933
+ showFile: function showFile(ownId) {
41934
+ this.wfpendingid = ownId;
41935
+ this.showFileList = true;
41936
+ },
41937
+
41938
+ /**
41939
+ * goPress
41940
+ * @desc:催办列表查看
41941
+ * @param {String} id 催办列表id
41942
+ * @author liufan
41943
+ * @date 2022年11月29日
41944
+ **/
41945
+ goPress: function goPress(id) {
41946
+ this.historyId = id;
41947
+ this.showPress = true;
41948
+ this.getPressList();
41949
+ }
41950
+ }
41951
+ });
41952
+ // CONCATENATED MODULE: ./packages/flow-list/src/flow-table.vue?vue&type=script&lang=js&
41953
+ /* harmony default export */ var src_flow_tablevue_type_script_lang_js_ = (flow_tablevue_type_script_lang_js_);
41954
+ // CONCATENATED MODULE: ./packages/flow-list/src/flow-table.vue
41955
+
41956
+
41957
+
41958
+
41959
+
41960
+ /* normalize component */
41961
+
41962
+ var flow_table_component = normalizeComponent(
41963
+ src_flow_tablevue_type_script_lang_js_,
41964
+ flow_tablevue_type_template_id_010330c8_render,
41965
+ flow_tablevue_type_template_id_010330c8_staticRenderFns,
41966
+ false,
41967
+ null,
41968
+ null,
41969
+ null
41970
+
41971
+ )
41972
+
41973
+ /* harmony default export */ var flow_table = (flow_table_component.exports);
41974
+ // 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&
41975
+ var flow_list_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; };
41976
+
41977
+ var flow_list_src_mainvue_type_script_lang_js_components;
41978
+
41979
+ //
41980
+ //
41981
+ //
41982
+ //
41983
+ //
41984
+ //
41985
+ //
41986
+ //
41987
+ //
41988
+ //
41989
+ //
41990
+ //
41991
+ //
41992
+ //
41993
+ //
41994
+ //
41995
+ //
41996
+ //
41997
+ //
41998
+ //
41999
+ //
42000
+ //
42001
+ //
42002
+ //
42003
+ //
42004
+ //
42005
+ //
42006
+ //
42007
+ //
42008
+ //
42009
+ //
42010
+ //
42011
+ //
42012
+ //
42013
+ //
42014
+ //
42015
+ //
42016
+ //
42017
+ //
42018
+ //
42019
+ //
42020
+ //
42021
+ //
42022
+ //
42023
+ //
42024
+ //
42025
+ //
42026
+ //
42027
+ //
42028
+ //
42029
+ //
42030
+ //
42031
+ //
42032
+ //
42033
+ //
42034
+ //
42035
+ //
42036
+ //
42037
+ //
42038
+ //
42039
+ //
42040
+ //
42041
+ //
42042
+ //
42043
+ //
42044
+ //
42045
+ //
42046
+ //
42047
+ //
42048
+ //
42049
+ //
42050
+ //
42051
+ //
42052
+ //
42053
+ //
42054
+ //
42055
+ //
42056
+ //
42057
+ //
42058
+ //
42059
+ //
42060
+ //
42061
+ //
42062
+ //
42063
+ //
42064
+ //
42065
+ //
42066
+ //
42067
+ //
42068
+ //
42069
+ //
42070
+ //
42071
+ //
42072
+ //
42073
+ //
42074
+ //
42075
+ //
42076
+ //
42077
+ //
42078
+ //
42079
+ //
42080
+ //
42081
+ //
42082
+ //
42083
+ //
42084
+ //
42085
+ //
42086
+ //
42087
+ //
42088
+ //
42089
+ //
42090
+ //
42091
+ //
42092
+ //
42093
+ //
42094
+ //
42095
+ //
42096
+ //
42097
+ //
42098
+ //
42099
+ //
42100
+ //
42101
+ //
42102
+ //
42103
+ //
42104
+ //
42105
+ //
42106
+ //
42107
+ //
42108
+ //
42109
+ //
42110
+ //
42111
+ //
42112
+ //
42113
+ //
42114
+ //
42115
+ //
42116
+ //
42117
+ //
42118
+ //
42119
+ //
42120
+ //
42121
+ //
42122
+ //
42123
+ //
42124
+ //
42125
+ //
42126
+ //
42127
+ //
42128
+ //
42129
+ //
42130
+ //
42131
+ //
42132
+ //
42133
+ //
42134
+ //
42135
+ //
42136
+ //
42137
+ //
42138
+ //
42139
+ //
42140
+ //
42141
+ //
42142
+ //
42143
+ //
42144
+ //
42145
+ //
42146
+ //
42147
+ //
42148
+ //
42149
+ //
42150
+ //
42151
+ //
42152
+ //
42153
+ //
42154
+ //
42155
+ //
42156
+ //
42157
+ //
42158
+ //
42159
+ //
42160
+ //
42161
+ //
42162
+ //
42163
+ //
42164
+ //
42165
+ //
42166
+
42167
+
42168
+
42169
+
42170
+
42171
+ /* harmony default export */ var flow_list_src_mainvue_type_script_lang_js_ = ({
42172
+ name: 'EsFlowList',
42173
+ components: (flow_list_src_mainvue_type_script_lang_js_components = {}, flow_list_src_mainvue_type_script_lang_js_components[flow_table.name] = flow_table, flow_list_src_mainvue_type_script_lang_js_components[FileList.name] = FileList, flow_list_src_mainvue_type_script_lang_js_components),
42174
+ props: {
42175
+ businessId: {
42176
+ type: String,
42177
+ default: ''
42178
+ },
42179
+ hide: {
42180
+ type: String,
42181
+ default: ''
42182
+ },
42183
+ toolbar: {
42184
+ type: Array,
42185
+ default: function _default() {
42186
+ return [];
42187
+ }
42188
+ },
42189
+ contents: {
42190
+ type: Array,
42191
+ default: function _default() {
42192
+ return ['flow', 'splitReading', 'preset'];
42193
+ }
42194
+ }
42195
+ },
42196
+ inheritAttrs: false,
42197
+ data: function data() {
42198
+ return {
42199
+ pressLoading: false,
42200
+ pressTableList: [],
42201
+ currentPage: 1,
42202
+ pageSize: 20,
42203
+ pressThead: [{
42204
+ title: '催办节点',
42205
+ align: 'center',
42206
+ sortable: true,
42207
+ field: 'urge_item'
42208
+ }, {
42209
+ title: '催办人名称',
42210
+ sortable: true,
42211
+ align: 'center',
42212
+ field: 'urge_man_name'
42213
+ }, {
42214
+ title: '催办时间',
42215
+ sortable: true,
42216
+ align: 'center',
42217
+ field: 'urge_time'
42218
+ }, {
42219
+ title: '被催办人名称',
42220
+ align: 'center',
42221
+ sortable: true,
42222
+ field: 'urged_man_name'
42223
+ }],
42224
+ wfpendingid: '',
42225
+ showFileList: false,
42226
+ flowData: [],
42227
+ splitReadingData: [],
42228
+ presetData: [],
42229
+ signData: [],
42230
+ loading: '', //加载中
42231
+ preset_type: [], //预设类型
42232
+ showPress: false, //查看催办记录弹窗
42233
+ modify: false,
42234
+ formData: { reason: '' },
42235
+ formItemList: [{
42236
+ name: 'reason',
42237
+ label: '删除原因',
42238
+ type: 'textarea',
42239
+ placeholder: '请输入删除原因',
42240
+ rules: {
42241
+ required: true,
42242
+ message: '请输入删除原因',
42243
+ trigger: 'blur'
42244
+ },
42245
+ value: '',
42246
+ rows: 5
42247
+ }, {
42248
+ type: 'submit',
42249
+ skin: 'lay-form-btns',
42250
+ contents: [{
42251
+ type: 'primary',
42252
+ plain: true,
42253
+ text: '保存',
42254
+ event: 'confirm'
42255
+ }]
42256
+ }],
42257
+ delLoading: false,
42258
+ showDel: false,
42259
+ attachmentPaperClipCssStyle: '',
42260
+ is_edit: [], //是否可编辑
42261
+ flowTableInfo: {
42262
+ adjunctCode: '',
42263
+ hasAgent: '1' //是否展示代办人 1:展示 0:不展示
42264
+ },
42265
+ show: false,
42266
+ taskReadName: '', //非流程列表名称
42267
+ options: [{ label: '时间排序', value: '1' }, { label: '部门排序', value: '2' }, { label: '树形排序', value: '3' }],
42268
+ isShort: 0, //是否隐藏筛选
42269
+ viewType: '1', //排序方式
42270
+ flowTableList: [], //流程列表
42271
+ fyTableList: [], //分阅列表
42272
+ showSuggest: 'all', //筛选显示数据
42273
+ presetInfoListHiddenColumns: '', //隐藏表格展示数据
42274
+ canDelete: false, //是否展示操作按钮
42275
+ historyId: '',
42276
+ sidx: '',
42277
+ sord: '',
42278
+ total: 0
42279
+ };
42280
+ },
42281
+
42282
+ computed: {
42283
+ toolbars: function toolbars() {
42284
+ var _this = this;
42285
+
42286
+ return {
42287
+ flow: [{
42288
+ type: 'text',
42289
+ contents: '流程列表'
42290
+ }, {
42291
+ type: 'search',
42292
+ contents: [{
42293
+ name: 'showSuggest',
42294
+ type: 'radio',
42295
+ changeSearch: true,
42296
+ data: [{
42297
+ value: 'all',
42298
+ name: '显示全部',
42299
+ checked: true
42300
+ }, { value: 'have', name: '显示已填意见' }],
42301
+ events: {
42302
+ change: function change(key, value) {
42303
+ _this.handleChange(key, value);
42304
+ }
42305
+ }
42306
+ }, {
42307
+ type: 'select',
42308
+ placeholder: '请选择',
42309
+ name: 'viewType',
42310
+ width: '140px',
42311
+ changeSearch: true,
42312
+ events: {
42313
+ change: function change(key, value) {
42314
+ _this.handleChange(key, value);
42315
+ }
42316
+ },
42317
+ data: [{
42318
+ value: 1,
42319
+ selected: true,
42320
+ name: '时间排序'
42321
+ }, {
42322
+ value: 2,
42323
+ name: '部门排序'
42324
+ }, {
42325
+ value: 3,
42326
+ name: '树形排序'
42327
+ }]
42328
+ }]
42329
+ }],
42330
+ preset: [{
42331
+ type: 'text',
42332
+ contents: '预设列表'
42333
+ }],
42334
+ sign: [{
42335
+ type: 'button',
42336
+ contents: [{
42337
+ text: '生成处理签',
42338
+ type: 'primary'
42339
+ }]
42340
+ }],
42341
+ splitReading: [{
42342
+ type: 'text',
42343
+ contents: (this.taskReadName ? this.taskReadName : '非流程') + '列表'
42344
+ }]
42345
+ };
42346
+ },
42347
+ pageInfo: function pageInfo() {
42348
+ return {
42349
+ pageNum: this.currentPage,
42350
+ pageSize: this.pageSize,
42351
+ totalCount: this.total
42352
+ };
42353
+ },
42354
+ theads: function theads() {
42355
+ var _this2 = this;
42356
+
42357
+ var _that = this;
42358
+ return {
42359
+ flow: [{
42360
+ label: '经办部门',
42361
+ field: 'deptid',
42362
+ align: 'center',
42363
+ showOverflowTooltip: true,
42364
+ width: 150
42365
+ }, {
42366
+ label: '步骤',
42367
+ field: 'itemname',
42368
+ align: 'center',
42369
+ showOverflowTooltip: true,
42370
+ width: 110
42371
+ }, {
42372
+ label: '办理人',
42373
+ field: 'userName',
42374
+ align: 'center',
42375
+ showOverflowTooltip: true,
42376
+ width: 110
42377
+ }, {
42378
+ label: '状态',
42379
+ field: 'pendstate',
42380
+ align: 'center',
42381
+ showOverflowTooltip: true,
42382
+ width: 80,
42383
+ render: function render(h, params) {
42384
+ return h('span', {
42385
+ style: {
42386
+ color: params.row.pendstate == 0 || params.row.pendstate == 3 ? 'red' : params.row.pendstate == 1 ? 'green' : 'deepskyblue'
42387
+ },
42388
+ domProps: { innerHTML: params.row.querykeywords }
42389
+ });
42390
+ }
42391
+ }, {
42392
+ label: '办理意见',
42393
+ field: 'doresult',
42394
+ align: 'center',
42395
+ showOverflowTooltip: true,
42396
+ render: function render(h, params) {
42397
+ return h('span', {}, params.row.doresult || params.row.handleInfo);
42398
+ }
42399
+ }, {
42400
+ label: '验签',
42401
+ field: 'authTypeStr',
42402
+ align: 'center',
42403
+ showOverflowTooltip: true,
42404
+ width: 70,
42405
+ render: function render(h, params) {
42406
+ return h('span', { style: { color: 'deepskyblue' } }, params.row.authTypeStr);
42407
+ }
42408
+ }, {
42409
+ label: '附件',
42410
+ field: 'hasAdjunct',
42411
+ align: 'center',
42412
+ showOverflowTooltip: true,
42413
+ width: 70,
42414
+ render: function render(h, params) {
42415
+ if (params.row.hasAdjunct) {
42416
+ return h('span', {
42417
+ style: _that.attachmentPaperClipCssStyle ? _that.attachmentPaperClipCssStyle : { color: 'red', fontSize: '20px' },
42418
+ class: 'iconfont es-icon-fujian'
42419
+ });
42420
+ } else {
42421
+ return h('span', {}, '');
42422
+ }
42423
+ }
42424
+ }, {
42425
+ label: '时间',
42426
+ field: 'doetime',
42427
+ align: 'center',
42428
+ showOverflowTooltip: true,
42429
+ width: 150,
42430
+ render: function render(h, params) {
42431
+ return h('span', {}, utils_util["a" /* default */].formatDate(params.row.doetime, 'yyyy-MM-dd HH:mm'));
42432
+ }
42433
+ }, {
42434
+ label: '代办人',
42435
+ field: 'douserid',
42436
+ align: 'center',
42437
+ showOverflowTooltip: true,
42438
+ width: 80,
42439
+ hide: _that.flowTableInfo.hasAgent != '1'
42440
+ }, {
42441
+ label: '催办',
42442
+ field: 'pressTimes',
42443
+ align: 'center',
42444
+ showOverflowTooltip: true,
42445
+ width: 150,
42446
+ render: function render(h, params) {
42447
+ return h('span', { style: 'color:deepskyblue;cursor: pointer;' }, params.row.pressTimes);
42448
+ }
42449
+ }, {
42450
+ title: '操作',
42451
+ type: 'handle',
42452
+ width: this.modify ? '130' : '100',
42453
+ template: '',
42454
+ events: [{
42455
+ text: '删除',
42456
+ rules: function rules(rows) {
42457
+ return rows.canDelete;
42458
+ }
42459
+ }, {
42460
+ text: '修改',
42461
+ rules: function rules(rows) {
42462
+ return _this2.modify && rows.pendstate == 2;
42463
+ }
42464
+ }]
42465
+ }],
42466
+ preset: this.thead,
42467
+ splitReading: [{
42468
+ label: '经办部门',
42469
+ field: 'deptid',
42470
+ align: 'center',
42471
+ showOverflowTooltip: true,
42472
+ width: 150
42473
+ }, {
42474
+ label: '步骤',
42475
+ field: 'itemname',
42476
+ align: 'center',
42477
+ showOverflowTooltip: true,
42478
+ width: 110
42479
+ }, {
42480
+ label: '办理人',
42481
+ field: 'userName',
42482
+ align: 'center',
42483
+ showOverflowTooltip: true,
42484
+ width: 110
42485
+ }, {
42486
+ label: '状态',
42487
+ field: 'pendstate',
42488
+ align: 'center',
42489
+ showOverflowTooltip: true,
42490
+ width: 80,
42491
+ render: function render(h, params) {
42492
+ return h('span', {
42493
+ style: {
42494
+ color: params.row.pendstate == 0 || params.row.pendstate == 3 ? 'red' : params.row.pendstate == 1 ? 'green' : 'deepskyblue'
42495
+ },
42496
+ domProps: { innerHTML: params.row.querykeywords }
42497
+ });
42498
+ }
42499
+ }, {
42500
+ label: '办理意见',
42501
+ field: 'doresult',
42502
+ align: 'center',
42503
+ showOverflowTooltip: true,
42504
+ render: function render(h, params) {
42505
+ return h('span', {}, params.row.doresult || params.row.handleInfo);
42506
+ }
42507
+ }, {
42508
+ label: '验签',
42509
+ field: 'authTypeStr',
42510
+ align: 'center',
42511
+ showOverflowTooltip: true,
42512
+ width: 70,
42513
+ render: function render(h, params) {
42514
+ return h('span', { style: { color: 'deepskyblue' } }, params.row.authTypeStr);
42515
+ }
42516
+ }, {
42517
+ label: '附件',
42518
+ field: 'hasAdjunct',
42519
+ align: 'center',
42520
+ showOverflowTooltip: true,
42521
+ width: 70,
42522
+ render: function render(h, params) {
42523
+ if (params.row.hasAdjunct) {
42524
+ return h('span', {
42525
+ style: _that.attachmentPaperClipCssStyle ? _that.attachmentPaperClipCssStyle : { color: 'red', fontSize: '20px' },
42526
+ class: 'iconfont es-icon-fujian'
42527
+ });
42528
+ } else {
42529
+ return h('span', {}, '');
42530
+ }
42531
+ }
42532
+ }, {
42533
+ label: '时间',
42534
+ field: 'doetime',
42535
+ align: 'center',
42536
+ showOverflowTooltip: true,
42537
+ width: 150,
42538
+ render: function render(h, params) {
42539
+ return h('span', {}, utils_util["a" /* default */].formatDate(params.row.doetime, 'yyyy-MM-dd HH:mm'));
42540
+ }
42541
+ }, {
42542
+ label: '代办人',
42543
+ field: 'douserid',
42544
+ align: 'center',
42545
+ showOverflowTooltip: true,
42546
+ width: 80,
42547
+ hide: _that.flowTableInfo.hasAgent != '1'
42548
+ }, {
42549
+ label: '催办',
42550
+ field: 'pressTimes',
42551
+ align: 'center',
42552
+ showOverflowTooltip: true,
42553
+ width: 150,
42554
+ render: function render(h, params) {
42555
+ return h('span', { style: 'color:deepskyblue;cursor: pointer;' }, params.row.pressTimes);
42556
+ }
42557
+ }, {
42558
+ title: '操作',
42559
+ type: 'handle',
42560
+ width: '100',
42561
+ template: '',
42562
+ events: [{
42563
+ text: '删除',
42564
+ rules: function rules(rows) {
42565
+ return rows.canDelete;
42566
+ }
42567
+ }]
42568
+ }]
42569
+ };
42570
+ },
42571
+ content: function content() {
42572
+ var _this3 = this;
42573
+
42574
+ return this.contents.map(function (item) {
42575
+ if (typeof item === 'string') {
42576
+ return {
42577
+ type: item,
42578
+ toolbar: _this3.toolbars[item],
42579
+ thead: _this3.theads[item],
42580
+ showFormBtn: false
42581
+ };
42582
+ } else {
42583
+ if (!Object.prototype.hasOwnProperty.call(item, 'toolbar')) {
42584
+ var toolbars = _this3.toolbars[item.type];
42585
+ return flow_list_src_mainvue_type_script_lang_js_extends({}, item, { toolbars: toolbars });
42586
+ }
42587
+ if (!Object.prototype.hasOwnProperty.call(item, 'thead')) {
42588
+ var thead = _this3.theads[item.type];
42589
+ return flow_list_src_mainvue_type_script_lang_js_extends({}, item, { thead: thead });
42590
+ }
42591
+ return item;
42592
+ }
42593
+ });
42594
+ },
42595
+ newToolbar: function newToolbar() {
42596
+ if (this.toolbar && this.toolbar.length > 0) {
42597
+ return this.toolbar;
42598
+ } else {
42599
+ return [];
42600
+ }
42601
+ },
42602
+ thead: function thead() {
42603
+ var _this4 = this;
42604
+
42605
+ var table = [{
42606
+ title: '步骤',
42607
+ align: 'center',
42608
+ width: '100',
42609
+ field: 'nodeName'
42610
+ }, {
42611
+ title: '预设办理人',
42612
+ width: '120',
42613
+ align: 'center',
42614
+ field: 'presetUserName'
42615
+ }, {
42616
+ title: '是否可编辑',
42617
+ key: 'sfkbj',
42618
+ align: 'center',
42619
+ width: '100',
42620
+ render: function render(h, params) {
42621
+ return h('span', _this4.getCodeValue(params.row.isEdit, 'is_edit'));
42622
+ },
42623
+ field: 'isEdit'
42624
+ }, {
42625
+ key: 'zt',
42626
+ title: '状态',
42627
+ width: '80',
42628
+ align: 'center',
42629
+ field: 'statusName'
42630
+ }, {
42631
+ title: '预设类型',
42632
+ key: 'yslx',
42633
+ width: '120',
42634
+ align: 'center',
42635
+ render: function render(h, params) {
42636
+ return h('span', _this4.getCodeValue(params.row.presetType, 'preset_type'));
42637
+ },
42638
+ field: 'presetType'
42639
+ }, {
42640
+ title: '流程名称',
42641
+ key: 'lcmc',
42642
+ align: 'center',
42643
+ field: 'processDefName'
42644
+ }, {
42645
+ title: '上一步骤',
42646
+ key: 'sybz',
42647
+ align: 'center',
42648
+ field: 'lastNodeName'
42649
+ }, {
42650
+ title: '创建步骤',
42651
+ key: 'cjbz',
42652
+ align: 'center',
42653
+ field: 'operationNodeName'
42654
+ }, {
42655
+ title: '创建人',
42656
+ key: 'cjr',
42657
+ width: '120',
42658
+ align: 'center',
42659
+ field: 'creatorName'
42660
+ }, {
42661
+ title: '创建时间',
42662
+ width: '150',
42663
+ key: 'cjsj',
42664
+ align: 'center',
42665
+ render: function render(h, params) {
42666
+ return h('span', utils_util["a" /* default */].formatDate(params.row.createTime, 'yyyy-MM-dd HH:mm'));
42667
+ },
42668
+ field: 'createTime'
42669
+ }, {
42670
+ title: '操作区域',
42671
+ type: 'handle',
42672
+ align: 'center',
42673
+ width: '120',
42674
+ events: [{
42675
+ text: '置为失效'
42676
+ }]
42677
+ }];
42678
+ if (this.presetInfoListHiddenColumns != undefined && this.presetInfoListHiddenColumns != '') {
42679
+ table = table.filter(function (items) {
42680
+ return _this4.presetInfoListHiddenColumns.indexOf(items.key) == -1;
42681
+ });
42682
+ }
42683
+ if (!this.canDelete) table.splice(table.length - 1, 1);
42684
+ return table;
42685
+ }
42686
+ },
42687
+ mounted: function mounted() {
42688
+ var _this5 = this;
42689
+
42690
+ this.loading = utils_util["a" /* default */].loading(this.$loading, '加载中...');
42691
+ this.getFlowList();
42692
+ this.getSysInfo('preset_type');
42693
+ this.getSysInfo('is_edit');
42694
+ this.$nextTick(function () {
42695
+ _this5.getListInfo();
42696
+ });
42697
+ },
42698
+
42699
+
42700
+ methods: {
42701
+ handleCellClick: function handleCellClick(row, column) {
42702
+ if (column.property == 'hasAdjunct' && row.hasAdjunct) {
42703
+ this.showFile(row.wfpendingid);
42704
+ } else if (column.property == 'pressTimes') {
42705
+ this.goPress(row.id);
42706
+ }
42707
+ },
42708
+ handleBtnClick: function handleBtnClick(data) {
42709
+ var handle = data.handle,
42710
+ row = data.row;
42711
+
42712
+ if (handle.text == '删除') {
42713
+ this.del(row.id);
42714
+ }
42715
+ },
42716
+
42717
+ /**
42718
+ * handleFormSubmit
42719
+ * @desc:删除节点点击事件
42720
+ * @param {Object} formData 点击删除的form数据
42721
+ * @author liufan
42722
+ * @date 2022年11月29日
42723
+ **/
42724
+ handleFormSubmit: function handleFormSubmit(formData) {
42725
+ var _this6 = this;
42726
+
42727
+ this.delLoading = true;
42728
+ var params = {
42729
+ url: api["i" /* deleteFlow */],
42730
+ method: 'POST',
42731
+ data: { id: this.historyId, reason: formData.reason }
42732
+ };
42733
+ utils_util["a" /* default */].ajax(params).then(function (res) {
42734
+ var status = res.status,
42735
+ message = res.message;
42736
+
42737
+ _this6.delLoading = false;
42738
+ if (status === 'success') {
42739
+ _this6.$message.success('删除成功');
42740
+ _this6.showDel = false;
42741
+ _this6.handleChange();
42742
+ } else {
42743
+ _this6.$message.error(message || '系统错误,请联系管理员!');
42744
+ }
42745
+ }).catch(function (err) {
42746
+ _this6.delLoading = false;
42747
+ if (err.message && err.message !== 'canceled') {
42748
+ _this6.$message.error(err.message);
42749
+ }
42750
+ });
42751
+ },
42752
+
42753
+ /**
42754
+ * del
42755
+ * @desc:展示删除弹窗
42756
+ * @param {String} id 当前点击数据id
42757
+ * @author liufan
42758
+ * @date 2022年11月29日
42759
+ **/
42760
+ del: function del(id) {
42761
+ this.historyId = id;
42762
+ this.showDel = true;
42763
+ },
42764
+
42765
+ /**
42766
+ * handleCurrentChange
42767
+ * @desc:监听页码变化
42768
+ * @param {String} val 当前页
42769
+ * @author liufan
42770
+ * @date 2022年11月29日
42771
+ **/
42772
+ handleCurrentChange: function handleCurrentChange(val) {
42773
+ this.currentPage = val;
42774
+ this.getPressList();
42775
+ },
42776
+
42777
+ /**
42778
+ * handleSizeChange
42779
+ * @desc:监听每页数据显示数量变化
42780
+ * @param {String} val 每页展示数量
42781
+ * @author liufan
42782
+ * @date 2022年11月29日
42783
+ **/
42784
+ handleSizeChange: function handleSizeChange(val) {
42785
+ this.pageSize = val;
42786
+ this.getPressList();
42787
+ },
42788
+
42789
+ /**
42790
+ * sortChange
42791
+ * @desc:监听排序变化
42792
+ * @param {Object} info 需要排序的字段及排序方式
42793
+ * @author liufan
42794
+ * @date 2022年11月29日
42795
+ **/
42796
+ sortChange: function sortChange(info) {
42797
+ var prop = info.prop,
42798
+ order = info.order;
42799
+
42800
+ this.sidx = prop;
42801
+ this.sord = order.replace('ending', '');
42802
+ this.getPressList();
42803
+ },
42804
+
42805
+ /**
42806
+ * getPressList
42807
+ * @desc:催办列表数据
42808
+ * @author liufan
42809
+ * @date 2022年11月29日
42810
+ **/
42811
+ getPressList: function getPressList() {
42812
+ var _this7 = this;
41614
42813
 
41615
42814
  var historyId = this.historyId,
41616
42815
  pageSize = this.pageSize,
@@ -41626,29 +42825,17 @@ var flow_tablevue_type_script_lang_js_components;
41626
42825
  data: { page: currentPage, rows: pageSize, sidx: sidx, sord: sord, historyId: historyId }
41627
42826
  };
41628
42827
  utils_util["a" /* default */].ajax(params).then(function (res) {
41629
- _this2.pressTableList = res.data;
41630
- _this2.total = res.totalrecords;
41631
- _this2.pressLoading = false;
42828
+ _this7.pressTableList = res.data;
42829
+ _this7.total = res.totalrecords;
42830
+ _this7.pressLoading = false;
41632
42831
  }).catch(function (err) {
41633
- _this2.pressLoading = false;
42832
+ _this7.pressLoading = false;
41634
42833
  if (err.message && err.message !== 'canceled') {
41635
- _this2.$message.error(err.message);
42834
+ _this7.$message.error(err.message);
41636
42835
  }
41637
42836
  });
41638
42837
  },
41639
42838
 
41640
- /**
41641
- * showFile
41642
- * @desc:附件查看
41643
- * @param {String} ownId 附件id
41644
- * @author liufan
41645
- * @date 2022年11月29日
41646
- **/
41647
- showFile: function showFile(ownId) {
41648
- this.wfpendingid = ownId;
41649
- this.showFileList = true;
41650
- },
41651
-
41652
42839
  /**
41653
42840
  * goPress
41654
42841
  * @desc:催办列表查看
@@ -41660,277 +42847,31 @@ var flow_tablevue_type_script_lang_js_components;
41660
42847
  this.historyId = id;
41661
42848
  this.showPress = true;
41662
42849
  this.getPressList();
41663
- }
41664
- }
41665
- });
41666
- // CONCATENATED MODULE: ./packages/flow-list/src/flow-table.vue?vue&type=script&lang=js&
41667
- /* harmony default export */ var src_flow_tablevue_type_script_lang_js_ = (flow_tablevue_type_script_lang_js_);
41668
- // CONCATENATED MODULE: ./packages/flow-list/src/flow-table.vue
41669
-
41670
-
41671
-
41672
-
41673
-
41674
- /* normalize component */
41675
-
41676
- var flow_table_component = normalizeComponent(
41677
- src_flow_tablevue_type_script_lang_js_,
41678
- flow_tablevue_type_template_id_6b55e38f_render,
41679
- flow_tablevue_type_template_id_6b55e38f_staticRenderFns,
41680
- false,
41681
- null,
41682
- null,
41683
- null
41684
-
41685
- )
41686
-
41687
- /* harmony default export */ var flow_table = (flow_table_component.exports);
41688
- // 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&
41689
- var flow_list_src_mainvue_type_script_lang_js_components;
41690
-
41691
- //
41692
- //
41693
- //
41694
- //
41695
- //
41696
- //
41697
- //
41698
- //
41699
- //
41700
- //
41701
- //
41702
- //
41703
- //
41704
- //
41705
- //
41706
- //
41707
- //
41708
- //
41709
- //
41710
- //
41711
- //
41712
- //
41713
- //
41714
- //
41715
- //
41716
- //
41717
- //
41718
- //
41719
- //
41720
- //
41721
- //
41722
- //
41723
- //
41724
- //
41725
- //
41726
- //
41727
- //
41728
- //
41729
- //
41730
- //
41731
- //
41732
- //
41733
- //
41734
- //
41735
- //
41736
- //
41737
- //
41738
- //
41739
- //
41740
- //
41741
- //
41742
- //
41743
- //
41744
- //
41745
- //
41746
- //
41747
- //
41748
- //
41749
- //
41750
- //
41751
- //
41752
- //
41753
- //
41754
- //
41755
- //
41756
- //
41757
- //
41758
- //
41759
- //
41760
- //
41761
- //
41762
- //
41763
- //
41764
- //
41765
- //
41766
- //
41767
- //
41768
- //
41769
- //
41770
- //
41771
- //
41772
- //
41773
- //
41774
- //
41775
- //
41776
- //
41777
- //
41778
- //
41779
- //
41780
- //
41781
- //
41782
-
41783
-
41784
-
41785
-
41786
- /* harmony default export */ var flow_list_src_mainvue_type_script_lang_js_ = ({
41787
- name: 'EsFlowList',
41788
- components: (flow_list_src_mainvue_type_script_lang_js_components = {}, flow_list_src_mainvue_type_script_lang_js_components[flow_table.name] = flow_table, flow_list_src_mainvue_type_script_lang_js_components),
41789
- props: {
41790
- businessId: {
41791
- type: String,
41792
- default: ''
41793
42850
  },
41794
- hide: {
41795
- type: String,
41796
- default: ''
41797
- }
41798
- },
41799
- inheritAttrs: false,
41800
- data: function data() {
41801
- return {
41802
- loading: '', //加载中
41803
- preset_type: [], //预设类型
41804
- showPress: false, //查看催办记录弹窗
41805
- modify: false,
41806
- attachmentPaperClipCssStyle: '',
41807
- is_edit: [], //是否可编辑
41808
- tableData: [], //预设列表
41809
- flowTableInfo: {
41810
- adjunctCode: '',
41811
- hasAgent: '1' //是否展示代办人 1:展示 0:不展示
41812
- },
41813
- show: false,
41814
- taskReadName: '', //非流程列表名称
41815
- options: [{ label: '时间排序', value: '1' }, { label: '部门排序', value: '2' }, { label: '树形排序', value: '3' }],
41816
- isShort: 0, //是否隐藏筛选
41817
- viewType: '1', //排序方式
41818
- flowTableList: [], //流程列表
41819
- fyTableList: [], //分阅列表
41820
- showSuggest: 'all', //筛选显示数据
41821
- presetInfoListHiddenColumns: '', //隐藏表格展示数据
41822
- canDelete: false //是否展示操作按钮
41823
- };
41824
- },
41825
-
41826
- computed: {
41827
- thead: function thead() {
41828
- var _this = this;
41829
-
41830
- var table = [{
41831
- title: '步骤',
41832
- align: 'center',
41833
- width: '100',
41834
- field: 'nodeName'
41835
- }, {
41836
- title: '预设办理人',
41837
- width: '120',
41838
- align: 'center',
41839
- field: 'presetUserName'
41840
- }, {
41841
- title: '是否可编辑',
41842
- key: 'sfkbj',
41843
- align: 'center',
41844
- width: '100',
41845
- render: function render(h, params) {
41846
- return h('span', _this.getCodeValue(params.row.isEdit, 'is_edit'));
41847
- },
41848
- field: 'isEdit'
41849
- }, {
41850
- key: 'zt',
41851
- title: '状态',
41852
- width: '60',
41853
- align: 'center',
41854
- field: 'statusName'
41855
- }, {
41856
- title: '预设类型',
41857
- key: 'yslx',
41858
- width: '120',
41859
- align: 'center',
41860
- render: function render(h, params) {
41861
- return h('span', _this.getCodeValue(params.row.presetType, 'preset_type'));
41862
- },
41863
- field: 'presetType'
41864
- }, {
41865
- title: '流程名称',
41866
- key: 'lcmc',
41867
- align: 'center',
41868
- field: 'processDefName'
41869
- }, {
41870
- title: '上一步骤',
41871
- key: 'sybz',
41872
- align: 'center',
41873
- field: 'lastNodeName'
41874
- }, {
41875
- title: '创建步骤',
41876
- key: 'cjbz',
41877
- align: 'center',
41878
- field: 'operationNodeName'
41879
- }, {
41880
- title: '创建人',
41881
- key: 'cjr',
41882
- width: '120',
41883
- align: 'center',
41884
- field: 'creatorName'
41885
- }, {
41886
- title: '创建时间',
41887
- width: '150',
41888
- key: 'cjsj',
41889
- align: 'center',
41890
- render: function render(h, params) {
41891
- return h('span', utils_util["a" /* default */].formatDate(params.row.createTime, 'yyyy-MM-dd HH:mm'));
41892
- },
41893
- field: 'createTime'
41894
- }, {
41895
- title: '操作区域',
41896
- type: 'handle',
41897
- align: 'center',
41898
- width: '120',
41899
- events: [{
41900
- text: '置为失效'
41901
- }]
41902
- }];
41903
- if (this.presetInfoListHiddenColumns != undefined && this.presetInfoListHiddenColumns != '') {
41904
- table = table.filter(function (items) {
41905
- return _this.presetInfoListHiddenColumns.indexOf(items.key) == -1;
41906
- });
41907
- }
41908
- if (!this.canDelete) table.splice(table.length - 1, 1);
41909
- return table;
41910
- }
41911
- },
41912
- mounted: function mounted() {
41913
- var _this2 = this;
41914
-
41915
- this.loading = utils_util["a" /* default */].loading(this.$loading, '加载中...');
41916
- this.getFlowList();
41917
- this.getSysInfo('preset_type');
41918
- this.getSysInfo('is_edit');
41919
- this.$nextTick(function () {
41920
- _this2.getListInfo();
41921
- });
41922
- },
41923
42851
 
42852
+ /**
42853
+ * showFile
42854
+ * @desc:附件查看
42855
+ * @param {String} ownId 附件id
42856
+ * @author liufan
42857
+ * @date 2022年11月29日
42858
+ **/
42859
+ showFile: function showFile(ownId) {
42860
+ this.wfpendingid = ownId;
42861
+ this.showFileList = true;
42862
+ },
41924
42863
 
41925
- methods: {
41926
42864
  /**
41927
42865
  * handleChange
41928
42866
  * @desc:切换排序方式
41929
42867
  * @author liufan
41930
42868
  * @date 2022年11月22日
41931
42869
  **/
41932
- handleChange: function handleChange() {
41933
- this.show = false;
42870
+ handleChange: function handleChange(key, value) {
42871
+ if (value) {
42872
+ this[key] = value;
42873
+ }
42874
+ // this.show = false;
41934
42875
  this.loading = utils_util["a" /* default */].loading(this.$loading, '加载中...');
41935
42876
  this.getFlowList();
41936
42877
  },
@@ -41942,7 +42883,7 @@ var flow_list_src_mainvue_type_script_lang_js_components;
41942
42883
  * @date 2022年11月22日
41943
42884
  **/
41944
42885
  getFlowList: function getFlowList() {
41945
- var _this3 = this;
42886
+ var _this8 = this;
41946
42887
 
41947
42888
  var params = {
41948
42889
  url: api["eb" /* pendedhistoryListJson */],
@@ -41965,26 +42906,26 @@ var flow_list_src_mainvue_type_script_lang_js_components;
41965
42906
  modify = _res$data.modify,
41966
42907
  taskReadName = _res$data.taskReadName;
41967
42908
 
41968
- _this3.loading.close();
42909
+ _this8.loading.close();
41969
42910
  if (status == 'success') {
41970
- _this3.flowTableInfo.adjunctCode = adjunctCode;
41971
- _this3.flowTableInfo.hasAgent = hasAgent;
41972
- _this3.attachmentPaperClipCssStyle = res.data.attachmentPaperClipCssStyle;
41973
- _this3.isShort = isShort;
41974
- _this3.taskReadName = taskReadName;
41975
- _this3.flowTableList = wfHistoryList;
41976
- _this3.fyTableList = fyHistoryList;
41977
- _this3.modify = modify;
42911
+ _this8.flowTableInfo.adjunctCode = adjunctCode;
42912
+ _this8.flowTableInfo.hasAgent = hasAgent;
42913
+ _this8.attachmentPaperClipCssStyle = res.data.attachmentPaperClipCssStyle;
42914
+ _this8.isShort = isShort;
42915
+ _this8.taskReadName = taskReadName;
42916
+ _this8.flowData = wfHistoryList;
42917
+ _this8.splitReadingData = fyHistoryList;
42918
+ _this8.modify = modify;
41978
42919
  } else {
41979
- _this3.$message.error(message || '系统错误,请联系管理员!');
42920
+ _this8.$message.error(message || '系统错误,请联系管理员!');
41980
42921
  }
41981
- _this3.show = true;
42922
+ _this8.show = true;
41982
42923
  }).catch(function (err) {
41983
- _this3.loading.close();
42924
+ _this8.loading.close();
41984
42925
  if (err.message && err.message !== 'canceled') {
41985
- _this3.$message.error(err.message);
42926
+ _this8.$message.error(err.message);
41986
42927
  }
41987
- _this3.show = true;
42928
+ _this8.show = true;
41988
42929
  });
41989
42930
  },
41990
42931
 
@@ -41996,7 +42937,7 @@ var flow_list_src_mainvue_type_script_lang_js_components;
41996
42937
  * @date 2022年11月10日
41997
42938
  **/
41998
42939
  handleClick: function handleClick(val) {
41999
- var _this4 = this;
42940
+ var _this9 = this;
42000
42941
 
42001
42942
  var text = val.handle.text,
42002
42943
  _val$row = val.row,
@@ -42006,7 +42947,7 @@ var flow_list_src_mainvue_type_script_lang_js_components;
42006
42947
  if (text === '置为失效') {
42007
42948
  if (status == 0) {
42008
42949
  this.$confirm('您确定要置为失效吗?').then(function () {
42009
- _this4.loading = utils_util["a" /* default */].loading(_this4.$loading, '提交中...');
42950
+ _this9.loading = utils_util["a" /* default */].loading(_this9.$loading, '提交中...');
42010
42951
  var param = {
42011
42952
  url: api["j" /* deletePresetInfo */],
42012
42953
  headers: { Accept: 'application/json,text/plain' },
@@ -42017,17 +42958,17 @@ var flow_list_src_mainvue_type_script_lang_js_components;
42017
42958
  var status = res.status,
42018
42959
  message = res.message;
42019
42960
 
42020
- _this4.loading.close();
42961
+ _this9.loading.close();
42021
42962
  if (status === 'success') {
42022
- _this4.$message.success('操作成功');
42023
- _this4.getListInfo();
42963
+ _this9.$message.success('操作成功');
42964
+ _this9.getListInfo();
42024
42965
  } else {
42025
- _this4.$message.error(message || '系统错误,请联系管理员!');
42966
+ _this9.$message.error(message || '系统错误,请联系管理员!');
42026
42967
  }
42027
42968
  }).catch(function (err) {
42028
- _this4.loading.close();
42969
+ _this9.loading.close();
42029
42970
  if (err.message && err.message !== 'canceled') {
42030
- _this4.$message.error(err.message);
42971
+ _this9.$message.error(err.message);
42031
42972
  }
42032
42973
  });
42033
42974
  }).catch(function (e) {
@@ -42062,7 +43003,7 @@ var flow_list_src_mainvue_type_script_lang_js_components;
42062
43003
  * @date 2022年11月10日
42063
43004
  **/
42064
43005
  getSysInfo: function getSysInfo(code) {
42065
- var _this5 = this;
43006
+ var _this10 = this;
42066
43007
 
42067
43008
  var params = {
42068
43009
  url: api["t" /* findCodeValues */],
@@ -42074,9 +43015,9 @@ var flow_list_src_mainvue_type_script_lang_js_components;
42074
43015
  data = res.data;
42075
43016
 
42076
43017
  if (status == 'success') {
42077
- _this5[code] = data;
43018
+ _this10[code] = data;
42078
43019
  } else {
42079
- _this5.$message.error(message || '系统错误,请联系管理员!');
43020
+ _this10.$message.error(message || '系统错误,请联系管理员!');
42080
43021
  }
42081
43022
  }).catch(function (e) {});
42082
43023
  },
@@ -42088,7 +43029,7 @@ var flow_list_src_mainvue_type_script_lang_js_components;
42088
43029
  * @date 2022年11月10日
42089
43030
  **/
42090
43031
  getListInfo: function getListInfo() {
42091
- var _this6 = this;
43032
+ var _this11 = this;
42092
43033
 
42093
43034
  var param = {
42094
43035
  url: api["Db" /* toPresetInfoListIndex */],
@@ -42102,18 +43043,18 @@ var flow_list_src_mainvue_type_script_lang_js_components;
42102
43043
  presetInfoListHiddenColumns = _res$data2.presetInfoListHiddenColumns,
42103
43044
  canDelete = _res$data2.canDelete;
42104
43045
 
42105
- _this6.loading.close();
43046
+ _this11.loading.close();
42106
43047
  if (status == 'success') {
42107
- presetInfoList && (_this6.tableData = presetInfoList);
42108
- _this6.presetInfoListHiddenColumns = presetInfoListHiddenColumns;
42109
- _this6.canDelete = canDelete;
43048
+ presetInfoList && (_this11.presetData = presetInfoList);
43049
+ _this11.presetInfoListHiddenColumns = presetInfoListHiddenColumns;
43050
+ _this11.canDelete = canDelete;
42110
43051
  } else {
42111
- _this6.$message.error(message || '系统错误,请联系管理员!');
43052
+ _this11.$message.error(message || '系统错误,请联系管理员!');
42112
43053
  }
42113
43054
  }).catch(function (err) {
42114
- _this6.loading.close();
43055
+ _this11.loading.close();
42115
43056
  if (err.message && err.message !== 'canceled') {
42116
- _this6.$message.error(err.message);
43057
+ _this11.$message.error(err.message);
42117
43058
  }
42118
43059
  });
42119
43060
  }
@@ -42131,8 +43072,8 @@ var flow_list_src_mainvue_type_script_lang_js_components;
42131
43072
 
42132
43073
  var flow_list_src_main_component = normalizeComponent(
42133
43074
  packages_flow_list_src_mainvue_type_script_lang_js_,
42134
- mainvue_type_template_id_0fd64532_render,
42135
- mainvue_type_template_id_0fd64532_staticRenderFns,
43075
+ mainvue_type_template_id_b334e09a_render,
43076
+ mainvue_type_template_id_b334e09a_staticRenderFns,
42136
43077
  false,
42137
43078
  null,
42138
43079
  null,
@@ -42389,8 +43330,8 @@ handle_user_src_main.install = function (Vue) {
42389
43330
  };
42390
43331
 
42391
43332
  /* harmony default export */ var handle_user = (handle_user_src_main);
42392
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/handler/src/main.vue?vue&type=template&id=1ab04d20&
42393
- var mainvue_type_template_id_1ab04d20_render = function () {
43333
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/handler/src/main.vue?vue&type=template&id=367d53c4&
43334
+ var mainvue_type_template_id_367d53c4_render = function () {
42394
43335
  var _vm = this
42395
43336
  var _h = _vm.$createElement
42396
43337
  var _c = _vm._self._c || _h
@@ -42560,11 +43501,11 @@ var mainvue_type_template_id_1ab04d20_render = function () {
42560
43501
  0
42561
43502
  )
42562
43503
  }
42563
- var mainvue_type_template_id_1ab04d20_staticRenderFns = []
42564
- mainvue_type_template_id_1ab04d20_render._withStripped = true
43504
+ var mainvue_type_template_id_367d53c4_staticRenderFns = []
43505
+ mainvue_type_template_id_367d53c4_render._withStripped = true
42565
43506
 
42566
43507
 
42567
- // CONCATENATED MODULE: ./packages/handler/src/main.vue?vue&type=template&id=1ab04d20&
43508
+ // CONCATENATED MODULE: ./packages/handler/src/main.vue?vue&type=template&id=367d53c4&
42568
43509
 
42569
43510
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/handler/src/main.vue?vue&type=script&lang=js&
42570
43511
  //
@@ -42833,7 +43774,7 @@ mainvue_type_template_id_1ab04d20_render._withStripped = true
42833
43774
  var loginPage = utils_util["a" /* default */].getStorage('login') || utils_util["a" /* default */].getStorage('loginPage');
42834
43775
  if (loginPage) {
42835
43776
  var src = void 0;
42836
- if (!utils_util["a" /* default */].startWith(loginPage, ['http', '/'])) {
43777
+ if (!utils_util["a" /* default */].startWith(loginPage, ['http', '/'], true)) {
42837
43778
  var pathname = utils_util["a" /* default */].win.top.location.pathname;
42838
43779
  if (pathname !== '/') {
42839
43780
  pathname = pathname.split('/');
@@ -42881,8 +43822,8 @@ mainvue_type_template_id_1ab04d20_render._withStripped = true
42881
43822
 
42882
43823
  var handler_src_main_component = normalizeComponent(
42883
43824
  packages_handler_src_mainvue_type_script_lang_js_,
42884
- mainvue_type_template_id_1ab04d20_render,
42885
- mainvue_type_template_id_1ab04d20_staticRenderFns,
43825
+ mainvue_type_template_id_367d53c4_render,
43826
+ mainvue_type_template_id_367d53c4_staticRenderFns,
42886
43827
  false,
42887
43828
  null,
42888
43829
  null,
@@ -43770,8 +44711,8 @@ label_src_main.install = function (Vue) {
43770
44711
  };
43771
44712
 
43772
44713
  /* harmony default export */ var packages_label = (label_src_main);
43773
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/main.vue?vue&type=template&id=6f4e7cde&
43774
- var mainvue_type_template_id_6f4e7cde_render = function () {
44714
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/main.vue?vue&type=template&id=cff92b8a&
44715
+ var mainvue_type_template_id_cff92b8a_render = function () {
43775
44716
  var _vm = this
43776
44717
  var _h = _vm.$createElement
43777
44718
  var _c = _vm._self._c || _h
@@ -44624,11 +45565,11 @@ var mainvue_type_template_id_6f4e7cde_render = function () {
44624
45565
  )
44625
45566
  : _vm._e()
44626
45567
  }
44627
- var mainvue_type_template_id_6f4e7cde_staticRenderFns = []
44628
- mainvue_type_template_id_6f4e7cde_render._withStripped = true
45568
+ var mainvue_type_template_id_cff92b8a_staticRenderFns = []
45569
+ mainvue_type_template_id_cff92b8a_render._withStripped = true
44629
45570
 
44630
45571
 
44631
- // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=6f4e7cde&
45572
+ // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=cff92b8a&
44632
45573
 
44633
45574
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/resetPassword.vue?vue&type=template&id=4f5da52e&
44634
45575
  var resetPasswordvue_type_template_id_4f5da52e_render = function () {
@@ -45736,6 +46677,7 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
45736
46677
  };
45737
46678
  },
45738
46679
  created: function created() {
46680
+ utils_util["a" /* default */].removeStorage(['remind', 'ssId', 'token', 'Authorization', 'deviceUnique', 'userId', 'userName', 'useCaseCodes']);
45739
46681
  this.code = utils_util["a" /* default */].getParams('code');
45740
46682
  if (this.code) {
45741
46683
  this.doWechatLogin(this.code);
@@ -46000,7 +46942,7 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
46000
46942
  if (this.identifyingId === '') {
46001
46943
  return;
46002
46944
  }
46003
- this.imageCode = utils_util["a" /* default */].getStorage('host') + this.codeAction + '?identifyingId=' + this.identifyingId + (this.imgCode && login_src_mainvue_type_script_lang_js_typeof(this.imgCode) == 'object' ? '&' + utils_util["a" /* default */].queryParams(this.imgCode) : '') + '&heightflag=' + Math.random();
46945
+ this.imageCode = utils_util["a" /* default */].getStorage('host') + this.codeAction + '?identifyingId=' + this.identifyingId + (this.imgCode && login_src_mainvue_type_script_lang_js_typeof(this.imgCode) == 'object' ? '&' + utils_util["a" /* default */].queryParams(this.imgCode) : '') + '&heightflag=' + Math.random().toString().split('.')[1];
46004
46946
 
46005
46947
  return this.imageCode;
46006
46948
  },
@@ -46271,7 +47213,6 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
46271
47213
  type: 'success',
46272
47214
  duration: 1500,
46273
47215
  onClose: function onClose() {
46274
- sessionStorage.removeItem('remind');
46275
47216
  if (_this10.toUrl) {
46276
47217
  window.location.href = _this10.toUrl;
46277
47218
  } else if (results.doorIndex && _this10.doorIndex) {
@@ -46362,8 +47303,8 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
46362
47303
 
46363
47304
  var login_src_main_component = normalizeComponent(
46364
47305
  packages_login_src_mainvue_type_script_lang_js_,
46365
- mainvue_type_template_id_6f4e7cde_render,
46366
- mainvue_type_template_id_6f4e7cde_staticRenderFns,
47306
+ mainvue_type_template_id_cff92b8a_render,
47307
+ mainvue_type_template_id_cff92b8a_staticRenderFns,
46367
47308
  false,
46368
47309
  null,
46369
47310
  null,
@@ -46380,8 +47321,8 @@ login_src_main.install = function (Vue) {
46380
47321
  };
46381
47322
 
46382
47323
  /* harmony default export */ var login = (login_src_main);
46383
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/main.vue?vue&type=template&id=dc0b0e22&
46384
- var mainvue_type_template_id_dc0b0e22_render = function () {
47324
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/main.vue?vue&type=template&id=1686d4f2&
47325
+ var mainvue_type_template_id_1686d4f2_render = function () {
46385
47326
  var _vm = this
46386
47327
  var _h = _vm.$createElement
46387
47328
  var _c = _vm._self._c || _h
@@ -46438,6 +47379,7 @@ var mainvue_type_template_id_dc0b0e22_render = function () {
46438
47379
  popperClass: "el-menu--popup-" + _vm.layout,
46439
47380
  data: _vm.navs,
46440
47381
  deep: _vm.layout === "topnav",
47382
+ height: _vm.layout === "topnav" ? "370px" : undefined,
46441
47383
  "default-active": _vm.topActive,
46442
47384
  },
46443
47385
  on: {
@@ -46746,9 +47688,6 @@ var mainvue_type_template_id_dc0b0e22_render = function () {
46746
47688
  "update:visible": function ($event) {
46747
47689
  _vm.showSet = $event
46748
47690
  },
46749
- "update:layout": function ($event) {
46750
- _vm.layout = $event
46751
- },
46752
47691
  change: _vm.handleChange,
46753
47692
  layout: _vm.handleLayout,
46754
47693
  },
@@ -46804,14 +47743,14 @@ var mainvue_type_template_id_dc0b0e22_render = function () {
46804
47743
  1
46805
47744
  )
46806
47745
  }
46807
- var mainvue_type_template_id_dc0b0e22_staticRenderFns = []
46808
- mainvue_type_template_id_dc0b0e22_render._withStripped = true
47746
+ var mainvue_type_template_id_1686d4f2_staticRenderFns = []
47747
+ mainvue_type_template_id_1686d4f2_render._withStripped = true
46809
47748
 
46810
47749
 
46811
- // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=dc0b0e22&
47750
+ // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=1686d4f2&
46812
47751
 
46813
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/userinfo.vue?vue&type=template&id=2f7a984a&
46814
- var userinfovue_type_template_id_2f7a984a_render = function () {
47752
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/userinfo.vue?vue&type=template&id=c2c69d4a&
47753
+ var userinfovue_type_template_id_c2c69d4a_render = function () {
46815
47754
  var _vm = this
46816
47755
  var _h = _vm.$createElement
46817
47756
  var _c = _vm._self._c || _h
@@ -46827,11 +47766,11 @@ var userinfovue_type_template_id_2f7a984a_render = function () {
46827
47766
  2
46828
47767
  )
46829
47768
  }
46830
- var userinfovue_type_template_id_2f7a984a_staticRenderFns = []
46831
- userinfovue_type_template_id_2f7a984a_render._withStripped = true
47769
+ var userinfovue_type_template_id_c2c69d4a_staticRenderFns = []
47770
+ userinfovue_type_template_id_c2c69d4a_render._withStripped = true
46832
47771
 
46833
47772
 
46834
- // CONCATENATED MODULE: ./packages/main/src/userinfo.vue?vue&type=template&id=2f7a984a&
47773
+ // CONCATENATED MODULE: ./packages/main/src/userinfo.vue?vue&type=template&id=c2c69d4a&
46835
47774
 
46836
47775
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/userinfo.vue?vue&type=script&lang=js&
46837
47776
  //
@@ -46863,6 +47802,7 @@ userinfovue_type_template_id_2f7a984a_render._withStripped = true
46863
47802
  data: function data() {
46864
47803
  return {
46865
47804
  results: '',
47805
+ userScanBindImgUrl: '',
46866
47806
  qrcode: '',
46867
47807
  notify: utils_store.get('userStyle') ? utils_store.get('userStyle').notify : '',
46868
47808
  checkPassword: '',
@@ -47042,7 +47982,7 @@ userinfovue_type_template_id_2f7a984a_render._withStripped = true
47042
47982
 
47043
47983
  methods: {
47044
47984
  getQrcode: function getQrcode() {
47045
- this.getData();
47985
+ this.qrcode = utils_util["a" /* default */].getStorage('host') + this.userScanBindImgUrl + '&_tt=' + Math.random().toString().split('.')[1];
47046
47986
  },
47047
47987
  getData: function getData() {
47048
47988
  var _this2 = this;
@@ -47066,6 +48006,7 @@ userinfovue_type_template_id_2f7a984a_render._withStripped = true
47066
48006
  _this2.values.email = results.simpleUserInfo.email;
47067
48007
  _this2.values.officetel = results.simpleUserInfo.officetel;
47068
48008
  if (results.userScanBindImgUrl) {
48009
+ _this2.userScanBindImgUrl = results.userScanBindImgUrl;
47069
48010
  _this2.qrcode = utils_util["a" /* default */].getStorage('host') + results.userScanBindImgUrl;
47070
48011
  } else {
47071
48012
  _this2.qrcode = '';
@@ -47140,11 +48081,11 @@ userinfovue_type_template_id_2f7a984a_render._withStripped = true
47140
48081
  email: this.values.email,
47141
48082
  officeTel: this.values.officetel,
47142
48083
  phone: this.values.phone,
47143
- oldPassword: initLogin && initLogin.secret ? utils_util["a" /* default */].esmEncrypt({
48084
+ oldPassword: initLogin && initLogin.secret && this.values.oldpassword ? utils_util["a" /* default */].esmEncrypt({
47144
48085
  data: this.values.oldpassword,
47145
48086
  key: initLogin.secret
47146
48087
  }) : this.values.oldpassword,
47147
- password: initLogin && initLogin.secret ? utils_util["a" /* default */].esmEncrypt({
48088
+ password: initLogin && initLogin.secret && this.values.password ? utils_util["a" /* default */].esmEncrypt({
47148
48089
  data: this.values.password,
47149
48090
  key: initLogin.secret
47150
48091
  }) : this.values.password
@@ -47161,7 +48102,7 @@ userinfovue_type_template_id_2f7a984a_render._withStripped = true
47161
48102
  var loginPage = utils_util["a" /* default */].getStorage('login') || utils_util["a" /* default */].getStorage('loginPage');
47162
48103
  if (loginPage) {
47163
48104
  var src = void 0;
47164
- if (!utils_util["a" /* default */].startWith(loginPage, ['http', '/'])) {
48105
+ if (!utils_util["a" /* default */].startWith(loginPage, ['http', '/'], true)) {
47165
48106
  var pathname = utils_util["a" /* default */].win.top.location.pathname;
47166
48107
  if (pathname !== '/') {
47167
48108
  pathname = pathname.split('/');
@@ -47240,8 +48181,8 @@ userinfovue_type_template_id_2f7a984a_render._withStripped = true
47240
48181
 
47241
48182
  var userinfo_component = normalizeComponent(
47242
48183
  src_userinfovue_type_script_lang_js_,
47243
- userinfovue_type_template_id_2f7a984a_render,
47244
- userinfovue_type_template_id_2f7a984a_staticRenderFns,
48184
+ userinfovue_type_template_id_c2c69d4a_render,
48185
+ userinfovue_type_template_id_c2c69d4a_staticRenderFns,
47245
48186
  false,
47246
48187
  null,
47247
48188
  null,
@@ -48846,6 +49787,7 @@ var main_src_mainvue_type_script_lang_js_extends = Object.assign || function (ta
48846
49787
  //
48847
49788
  //
48848
49789
  //
49790
+ //
48849
49791
 
48850
49792
 
48851
49793
 
@@ -48983,6 +49925,10 @@ var log = utils_util["a" /* default */].getParams('console');
48983
49925
  userHeight: {
48984
49926
  type: String,
48985
49927
  default: '740px'
49928
+ },
49929
+ history: {
49930
+ type: Boolean,
49931
+ default: true
48986
49932
  }
48987
49933
  },
48988
49934
  computed: {
@@ -49005,7 +49951,6 @@ var log = utils_util["a" /* default */].getParams('console');
49005
49951
  return true;
49006
49952
  },
49007
49953
  navWidth: function navWidth() {
49008
- console.log(this.layout === 'topside' ? '230px' : undefined, 9000);
49009
49954
  return this.layout === 'topside' ? '230px' : undefined;
49010
49955
  },
49011
49956
  showNavTitle: function showNavTitle() {
@@ -49191,7 +50136,8 @@ var log = utils_util["a" /* default */].getParams('console');
49191
50136
  isHeader: '',
49192
50137
  isSide: null,
49193
50138
  navIds: null,
49194
- timer: null
50139
+ timer: null,
50140
+ pid: null
49195
50141
  };
49196
50142
  },
49197
50143
  created: function created() {
@@ -49291,6 +50237,15 @@ var log = utils_util["a" /* default */].getParams('console');
49291
50237
  thalk.innerText = globalThalk;
49292
50238
  }
49293
50239
  },
50240
+ setTitle: function setTitle(id) {
50241
+ for (var i = 0; i < this.menus.length; i++) {
50242
+ var item = this.menus[i];
50243
+ if (item.id == id) {
50244
+ this.title = item.text;
50245
+ return item;
50246
+ }
50247
+ }
50248
+ },
49294
50249
  renderMenu: function renderMenu() {
49295
50250
  if (this.data !== undefined && this.data.length) {
49296
50251
  this.menus = JSON.parse(JSON.stringify(this.data));
@@ -49299,6 +50254,8 @@ var log = utils_util["a" /* default */].getParams('console');
49299
50254
  var ids = this.getId(this.menus, applicationid);
49300
50255
  if (ids) {
49301
50256
  this.defaultActive = ids;
50257
+ this.navIds = ids;
50258
+ this.setTitle(ids[0]);
49302
50259
  }
49303
50260
  } else if (utils_util["a" /* default */].win.location.hash) {
49304
50261
  var hash = utils_util["a" /* default */].win.location.hash;
@@ -49309,17 +50266,23 @@ var log = utils_util["a" /* default */].getParams('console');
49309
50266
  var _ids = this.getId(this.menus, utils_util["a" /* default */].win.location.hash, true);
49310
50267
  if (_ids) {
49311
50268
  this.defaultActive = _ids;
50269
+ this.navIds = _ids;
50270
+ this.setTitle(_ids[0]);
49312
50271
  }
49313
- } else if (sessionStorage.getItem('jump')) {
50272
+ } else if (sessionStorage.getItem('jump') && this.history) {
49314
50273
  var _ids2 = this.getId(this.menus, sessionStorage.getItem('jump'), true);
49315
50274
  if (_ids2) {
49316
50275
  this.defaultActive = _ids2;
50276
+ this.navIds = _ids2;
50277
+ this.setTitle(_ids2[0]);
49317
50278
  }
49318
50279
  }
49319
- } else if (sessionStorage.getItem('jump')) {
50280
+ } else if (sessionStorage.getItem('jump') && this.history) {
49320
50281
  var _ids3 = this.getId(this.menus, sessionStorage.getItem('jump'), true);
49321
50282
  if (_ids3) {
49322
50283
  this.defaultActive = _ids3;
50284
+ this.navIds = _ids3;
50285
+ this.setTitle(_ids3[0]);
49323
50286
  }
49324
50287
  }
49325
50288
  this.setMenu(this.menus);
@@ -49373,7 +50336,7 @@ var log = utils_util["a" /* default */].getParams('console');
49373
50336
  key: {
49374
50337
  userId: results.userModel.userId,
49375
50338
  userName: results.userModel.username,
49376
- useCaseCodes: results.resourceCodes
50339
+ useCaseCodes: results.resourceCodes || results.userModel.resourceCodes
49377
50340
  }
49378
50341
  });
49379
50342
  }
@@ -49391,10 +50354,10 @@ var log = utils_util["a" /* default */].getParams('console');
49391
50354
  this.homePage = results[i];
49392
50355
  if (this.isHomePage) {
49393
50356
  if (this.menus) {
49394
- var ids = null;
49395
- this.homePage && (ids = this.getId(this.menus, this.homePage));
49396
- if (ids) {
49397
- this.defaultActive = ids;
50357
+ var _ids4 = null;
50358
+ this.homePage && (_ids4 = this.getId(this.menus, this.homePage));
50359
+ if (_ids4) {
50360
+ this.defaultActive = _ids4;
49398
50361
  } else if (this.homePage) {
49399
50362
  this.handleJump(this.homePage);
49400
50363
  }
@@ -49409,9 +50372,6 @@ var log = utils_util["a" /* default */].getParams('console');
49409
50372
  if (i === 'subsystemName') {
49410
50373
  document.title = results[i];
49411
50374
  }
49412
- if (i === 'resourceCodes') {
49413
- sessionStorage.setItem('useCaseCodes', results[i]);
49414
- }
49415
50375
  if (i === 'sysLogoIco' && results[i]) {
49416
50376
  sessionStorage.setItem('sysLogoIco', results[i]);
49417
50377
  utils_util["a" /* default */].setFavicon(results[i]);
@@ -49546,9 +50506,9 @@ var log = utils_util["a" /* default */].getParams('console');
49546
50506
  _this5.menus = JSON.parse(JSON.stringify(res.results));
49547
50507
  var applicationid = utils_util["a" /* default */].getParams('applicationid') || utils_util["a" /* default */].getParams('applicationId');
49548
50508
  if (applicationid) {
49549
- var ids = _this5.getId(_this5.menus, applicationid);
49550
- if (ids) {
49551
- _this5.defaultActive = ids;
50509
+ var _ids5 = _this5.getId(_this5.menus, applicationid);
50510
+ if (_ids5) {
50511
+ _this5.defaultActive = _ids5;
49552
50512
  }
49553
50513
  } else if (utils_util["a" /* default */].win.location.hash) {
49554
50514
  var hash = utils_util["a" /* default */].win.location.hash;
@@ -49556,20 +50516,26 @@ var log = utils_util["a" /* default */].getParams('console');
49556
50516
  hash = hash.split('?')[0];
49557
50517
  }
49558
50518
  if (hash !== '#/' && hash !== '#/main') {
49559
- var _ids4 = _this5.getId(_this5.menus, utils_util["a" /* default */].win.location.hash, true);
49560
- if (_ids4) {
49561
- _this5.defaultActive = _ids4;
50519
+ var _ids6 = _this5.getId(_this5.menus, utils_util["a" /* default */].win.location.hash, true);
50520
+ if (_ids6) {
50521
+ _this5.defaultActive = _ids6;
50522
+ _this5.navIds = _ids6;
50523
+ _this5.setTitle(_ids6[0]);
49562
50524
  }
49563
- } else if (sessionStorage.getItem('jump')) {
49564
- var _ids5 = _this5.getId(_this5.menus, sessionStorage.getItem('jump'), true);
49565
- if (_ids5) {
49566
- _this5.defaultActive = _ids5;
50525
+ } else if (sessionStorage.getItem('jump') && _this5.history) {
50526
+ var _ids7 = _this5.getId(_this5.menus, sessionStorage.getItem('jump'), true);
50527
+ if (_ids7) {
50528
+ _this5.defaultActive = _ids7;
50529
+ _this5.navIds = _ids7;
50530
+ _this5.setTitle(_ids7[0]);
49567
50531
  }
49568
50532
  }
49569
- } else if (sessionStorage.getItem('jump')) {
49570
- var _ids6 = _this5.getId(_this5.menus, sessionStorage.getItem('jump'), true);
49571
- if (_ids6) {
49572
- _this5.defaultActive = _ids6;
50533
+ } else if (sessionStorage.getItem('jump') && _this5.history) {
50534
+ var _ids8 = _this5.getId(_this5.menus, sessionStorage.getItem('jump'), true);
50535
+ if (_ids8) {
50536
+ _this5.defaultActive = _ids8;
50537
+ _this5.navIds = _ids8;
50538
+ _this5.setTitle(_ids8[0]);
49573
50539
  }
49574
50540
  }
49575
50541
  _this5.setTips(_this5.menus);
@@ -49588,7 +50554,6 @@ var log = utils_util["a" /* default */].getParams('console');
49588
50554
 
49589
50555
  //设置默认左侧导航
49590
50556
  setMenu: function setMenu(res) {
49591
- console.log(9000);
49592
50557
  if (this.defaultActive && this.defaultActive.length) {
49593
50558
  this.isDefault = false;
49594
50559
  this.setDefault(res, this.defaultActive);
@@ -49596,9 +50561,9 @@ var log = utils_util["a" /* default */].getParams('console');
49596
50561
  if (this.homePage || !utils_util["a" /* default */].getStorage('mainConfig')) {
49597
50562
  this.isDefault = true;
49598
50563
  if (this.homePage && (!this.defaultActive || !this.defaultActive.length)) {
49599
- var ids = this.getId(this.menus, this.homePage);
49600
- if (ids) {
49601
- this.defaultActive = ids;
50564
+ var _ids9 = this.getId(this.menus, this.homePage);
50565
+ if (_ids9) {
50566
+ this.defaultActive = _ids9;
49602
50567
  this.isDefault = false;
49603
50568
  this.setDefault(res, this.defaultActive);
49604
50569
  return false;
@@ -49672,11 +50637,15 @@ var log = utils_util["a" /* default */].getParams('console');
49672
50637
  if (!obj) {
49673
50638
  return '';
49674
50639
  }
50640
+ var openIdex = 0;
50641
+ if (obj.extendData && (obj.extendData.subDefOpenIndex || obj.extendData.subDefOpen)) {
50642
+ openIdex = parseInt(obj.extendData.subDefOpenIndex || obj.extendData.subDefOpen, 10);
50643
+ }
49675
50644
  if (obj.children && obj.children.length) {
49676
- return this.getFirst(obj.children[0]);
50645
+ return this.getFirst(obj.children[openIdex]);
49677
50646
  } else if (obj.fourthTabs && obj.fourthTabs.length) {
49678
50647
  if (this.layout === 'topnav') {
49679
- return this.getFirst(obj.fourthTabs[0]);
50648
+ return this.getFirst(obj.fourthTabs[openIdex]);
49680
50649
  } else {
49681
50650
  this.tabs = obj.fourthTabs;
49682
50651
  if (obj.url) {
@@ -49838,15 +50807,17 @@ var log = utils_util["a" /* default */].getParams('console');
49838
50807
  var _url = params._baseUrl ? params._baseUrl : './primary.html';
49839
50808
  return utils_util["a" /* default */].urlJoinParams({ url: _url, param: obj });
49840
50809
  },
49841
- handleOpenNav: function handleOpenNav(res) {
49842
- console.log(res, 777);
49843
- },
49844
50810
 
49845
50811
  //应用导航交互
49846
50812
  handleSelect: function handleSelect(res, type, open) {
49847
- console.log(type);
49848
- var node = res.node;
50813
+ console.log(type, 11);
50814
+ var node = res.node,
50815
+ fourthTabs = res.fourthTabs;
49849
50816
 
50817
+ var openIdex = 0;
50818
+ if (node.extendData && (node.extendData.subDefOpenIndex || node.extendData.subDefOpen)) {
50819
+ openIdex = parseInt(node.extendData.subDefOpenIndex || node.extendData.subDefOpen, 10);
50820
+ }
49850
50821
  if (!open) {
49851
50822
  if (node.extendData && node.extendData.businessStatus == 0 && node.extendData.businessWarnMsg) {
49852
50823
  this.$alert(node.extendData.businessWarnMsg, '提示', {
@@ -49865,28 +50836,17 @@ var log = utils_util["a" /* default */].getParams('console');
49865
50836
  this.navIds = [node.id];
49866
50837
  this.menu = node.children;
49867
50838
  this.title = node.text;
49868
- var subNode = this.getFirst(node.children[0]);
49869
- if (subNode) {
49870
- this.active = subNode.id;
49871
- this.navIds = [node.id].concat(this.getId(subNode.url));
50839
+ if (this.setFirstAsDefault) {
50840
+ var subNode = this.getFirst(node.children[openIdex]);
50841
+ if (subNode) {
50842
+ this.active = subNode.id;
50843
+ this.navIds = [node.id].concat(this.getId(node.children, subNode.url, true));
50844
+ }
49872
50845
  }
49873
50846
  } else {
49874
50847
  this.navIds = this.getId(this.menus, node.url, true);
49875
- if (node.url) {
49876
- var tab = node.fourthTabs.filter(function (item) {
49877
- return item.url === node.url;
49878
- })[0];
49879
- if (tab) {
49880
- this.tabs = node.fourthTabs;
49881
- this.tabsId = tab.id;
49882
- }
49883
- } else {
49884
- if (node.fourthTabs.length) {
49885
- this.tabs = node.fourthTabs;
49886
- this.tabsId = this.tabs[0].id;
49887
- this.handleJump(this.tabs[0].url, this.tabs[0].urlopenmode, this.tabs[0]);
49888
- }
49889
- }
50848
+ this.setTitle(ids[0]);
50849
+ this.tabsId = fourthTabs ? node.id : '';
49890
50850
  }
49891
50851
  break;
49892
50852
  case 'sys':
@@ -49895,7 +50855,9 @@ var log = utils_util["a" /* default */].getParams('console');
49895
50855
  this.tabs = [];
49896
50856
  this.menu = node.children;
49897
50857
  this.title = node.text;
49898
- this.active = this.getFirst(node.children[0]).id;
50858
+ if (this.setFirstAsDefault) {
50859
+ this.active = this.getFirst(node.children[openIdex]).id;
50860
+ }
49899
50861
  this.isSide = true;
49900
50862
  }
49901
50863
  break;
@@ -49906,10 +50868,9 @@ var log = utils_util["a" /* default */].getParams('console');
49906
50868
  }
49907
50869
  if (this.setFirstAsDefault) {
49908
50870
  var _subNode = this.getFirst(node);
49909
- this.$set(this.active, 0, node.id);
50871
+ this.active = [node.id];
49910
50872
  if (_subNode && node.id !== _subNode.id) {
49911
- console.log(_subNode, _subNode.url);
49912
- console.log(this.getId(this.menus, _subNode.url, true));
50873
+ this.navIds = this.getId(this.menus, _subNode.url, true);
49913
50874
  this.$set(this.active, 1, _subNode.id);
49914
50875
  }
49915
50876
  }
@@ -49927,33 +50888,39 @@ var log = utils_util["a" /* default */].getParams('console');
49927
50888
  }
49928
50889
  if (node.url) {
49929
50890
  if (node.children && node.children.length) {
49930
- var _tab = node.children.filter(function (item) {
50891
+ var tab = node.children.filter(function (item) {
49931
50892
  return item.url === node.url;
49932
50893
  })[0];
49933
- if (_tab) {
50894
+ if (tab) {
49934
50895
  if (this.biserial) {
49935
- this.$set(this.active, 1, _tab.id);
50896
+ this.$set(this.active, 1, tab.id);
49936
50897
  } else {
49937
- this.active = _tab.id;
50898
+ this.active = tab.id;
49938
50899
  }
50900
+ this.navIds = this.getId(this.menus, tab.url, true);
49939
50901
  }
49940
50902
  } else {
49941
- var _tab2 = (node.fourthTabs || []).filter(function (item) {
50903
+ var _tab = (node.fourthTabs || []).filter(function (item) {
49942
50904
  return item.url === node.url;
49943
50905
  })[0];
49944
- if (_tab2) {
50906
+ if (_tab) {
49945
50907
  this.tabs = node.fourthTabs;
49946
- this.tabsId = _tab2.id;
50908
+ this.tabsId = _tab.id;
50909
+ this.navIds = this.getId(this.menus, _tab.url, true);
50910
+ } else {
50911
+ this.navIds = this.getId(this.menus, node.url, true);
49947
50912
  }
49948
50913
  }
49949
50914
  } else if (node.fourthTabs.length) {
49950
50915
  this.tabs = node.fourthTabs;
49951
50916
  this.tabsId = this.tabs[0].id;
49952
50917
  this.handleJump(this.tabs[0].url, this.tabs[0].urlopenmode, this.tabs[0]);
50918
+ this.navIds = this.getId(this.menus, this.tabs[0].url, true);
49953
50919
  }
49954
50920
  break;
49955
50921
  case 'tabs':
49956
50922
  this.tabsId = node.id;
50923
+ this.navIds = this.getId(this.menus, node.url, true);
49957
50924
  break;
49958
50925
  }
49959
50926
  if (node.url) {
@@ -50060,6 +51027,13 @@ var log = utils_util["a" /* default */].getParams('console');
50060
51027
 
50061
51028
  console.log(page);
50062
51029
  sessionStorage.setItem('jump', page);
51030
+ if (res) {
51031
+ if (res.fourthTabs && res.fourthTabs.length) {
51032
+ this.pid = res.id;
51033
+ } else {
51034
+ this.pid = res.pid;
51035
+ }
51036
+ }
50063
51037
  if (utils_util["a" /* default */].win.location.hash === page) {
50064
51038
  this.refresh = true;
50065
51039
  return;
@@ -50151,24 +51125,98 @@ var log = utils_util["a" /* default */].getParams('console');
50151
51125
  break;
50152
51126
  }
50153
51127
  },
51128
+ getFourthTabs: function getFourthTabs(menus, id) {
51129
+ if (Array.isArray(menus)) {
51130
+ for (var i = 0; i < menus.length; i++) {
51131
+ var fourth = this.getFourthTabs(menus[i], id);
51132
+ if (fourth) {
51133
+ return fourth;
51134
+ }
51135
+ }
51136
+ } else {
51137
+ if (menus.fourthTabs && menus.fourthTabs.length) {
51138
+ for (var _i = 0; _i < menus.fourthTabs.length; _i++) {
51139
+ var item = menus.fourthTabs[_i];
51140
+ if (item.id === id) {
51141
+ return item;
51142
+ }
51143
+ }
51144
+ }
51145
+ if (menus.children && menus.children.length) {
51146
+ for (var _i2 = 0; _i2 < menus.children.length; _i2++) {
51147
+ var _fourth = this.getFourthTabs(menus.children[_i2], id);
51148
+ if (_fourth) {
51149
+ return _fourth;
51150
+ }
51151
+ }
51152
+ }
51153
+ }
51154
+ return false;
51155
+ },
50154
51156
  handleLayout: function handleLayout(res, old) {
51157
+ this.layout = res;
50155
51158
  switch (res) {
50156
51159
  case 'topnav':
50157
51160
  this.navs = this.menus;
50158
51161
  this.tabs = [];
50159
51162
  this.subsystem = [];
50160
- switch (old) {
50161
- case 'subsystem':
50162
- break;
50163
- default:
50164
- this.topActive = this.active.length ? this.active[this.active.length - 1] : '';
50165
- console.log(this.active, this.topActive, 666);
51163
+ this.topActive = this.navIds && this.navIds.length ? this.navIds[this.navIds.length - 1] : '';
51164
+ break;
51165
+ case 'subsystem':
51166
+ this.subsystem = this.menus;
51167
+ this.navs = [];
51168
+ this.tabs = [];
51169
+ if (this.navIds && this.navIds.length) {
51170
+ var node = this.setTitle(this.navIds[0]);
51171
+ this.active = JSON.parse(JSON.stringify(this.navIds)).slice(1);
51172
+ var tabs = this.getFourthTabs(this.menus, this.pid);
51173
+ if (tabs) {
51174
+ this.active.pop();
51175
+ this.tabs = tabs.fourthTabs;
51176
+ this.tabsId = this.navIds[this.navIds.length - 1];
51177
+ }
51178
+ this.menu = node.children;
51179
+ this.title = node.text;
51180
+ } else {
51181
+ //this.navIds = [this.menus[0].id]
51182
+ this.menu = this.menus[0].children;
51183
+ this.title = this.menus[0].text;
51184
+ }
51185
+ break;
51186
+ case 'topside':
51187
+ this.navs = this.menus;
51188
+ this.subsystem = [];
51189
+ this.tabs = [];
51190
+ if (this.navIds && this.navIds.length) {
51191
+ var _node = this.setTitle(this.navIds[0]);
51192
+ this.active = JSON.parse(JSON.stringify(this.navIds)).slice(1);
51193
+ var _tabs = this.getFourthTabs(this.menus, this.pid);
51194
+ if (_tabs) {
51195
+ this.active.pop();
51196
+ this.tabs = _tabs.fourthTabs;
51197
+ this.tabsId = this.navIds[this.navIds.length - 1];
51198
+ }
51199
+ this.topActive = this.navIds[0];
51200
+ this.menu = _node.children;
51201
+ } else {
51202
+ this.menu = this.menus[0].children;
51203
+ this.topActive = this.menus[0].id;
50166
51204
  }
50167
51205
  break;
51206
+ default:
51207
+ this.navs = [];
51208
+ this.subsystem = [];
51209
+ this.menu = this.menus;
51210
+ if (this.navIds && this.navIds.length) {
51211
+ this.active = JSON.parse(JSON.stringify(this.navIds));
51212
+ var _tabs2 = this.getFourthTabs(this.menus, this.pid);
51213
+ if (_tabs2) {
51214
+ this.active.pop();
51215
+ this.tabs = _tabs2.fourthTabs;
51216
+ this.tabsId = this.navIds[this.navIds.length - 1];
51217
+ }
51218
+ }
50168
51219
  }
50169
- console.log(this.sysId, this.topActive, this.active, this.tabsId);
50170
- //this.setMenu(this.menus);
50171
- console.log(this.layout, old, this.hide);
50172
51220
  },
50173
51221
 
50174
51222
  //监听改变菜单
@@ -50301,7 +51349,7 @@ var log = utils_util["a" /* default */].getParams('console');
50301
51349
  var loginPage = utils_util["a" /* default */].getStorage('login') || utils_util["a" /* default */].getStorage('loginPage');
50302
51350
  if (loginPage) {
50303
51351
  var src = void 0;
50304
- if (!utils_util["a" /* default */].startWith(loginPage, ['http', '/'])) {
51352
+ if (!utils_util["a" /* default */].startWith(loginPage, ['http', '/'], true)) {
50305
51353
  var pathname = utils_util["a" /* default */].win.top.location.pathname;
50306
51354
  if (pathname !== '/') {
50307
51355
  pathname = pathname.split('/');
@@ -50371,8 +51419,8 @@ var log = utils_util["a" /* default */].getParams('console');
50371
51419
 
50372
51420
  var main_src_main_component = normalizeComponent(
50373
51421
  packages_main_src_mainvue_type_script_lang_js_,
50374
- mainvue_type_template_id_dc0b0e22_render,
50375
- mainvue_type_template_id_dc0b0e22_staticRenderFns,
51422
+ mainvue_type_template_id_1686d4f2_render,
51423
+ mainvue_type_template_id_1686d4f2_staticRenderFns,
50376
51424
  false,
50377
51425
  null,
50378
51426
  null,
@@ -50518,6 +51566,7 @@ var menu_src_mainvue_type_script_lang_js_extends = Object.assign || function (ta
50518
51566
  key: key,
50519
51567
  path: keyPath,
50520
51568
  node: item.$attrs.data,
51569
+ fourthTabs: item.$attrs.fourthTabs,
50521
51570
  item: item,
50522
51571
  mode: this.mode
50523
51572
  });
@@ -50542,7 +51591,7 @@ var menu_src_mainvue_type_script_lang_js_extends = Object.assign || function (ta
50542
51591
  mode: this.mode
50543
51592
  });
50544
51593
  },
50545
- getSub: function getSub(item, h, popper) {
51594
+ getSub: function getSub(item, h, popper, fourthTabs) {
50546
51595
  var _this3 = this;
50547
51596
 
50548
51597
  if (popper) {
@@ -50593,7 +51642,7 @@ var menu_src_mainvue_type_script_lang_js_extends = Object.assign || function (ta
50593
51642
  if (!ele) {
50594
51643
  console.error('\u5BF9\u8C61\u5B50\u6570\u636E\u4E2D\u7B2C[' + index + ']\u6761\u6570\u636E\u9519\u8BEF', item);
50595
51644
  } else {
50596
- return _this3.getSub(ele, h, popper);
51645
+ return _this3.getSub(ele, h, popper, true);
50597
51646
  }
50598
51647
  }));
50599
51648
  return [h('el-submenu', {
@@ -50616,7 +51665,8 @@ var menu_src_mainvue_type_script_lang_js_extends = Object.assign || function (ta
50616
51665
  attrs: {
50617
51666
  data: item,
50618
51667
  index: item.id,
50619
- key: item.id
51668
+ key: item.id,
51669
+ fourthTabs: fourthTabs
50620
51670
  }
50621
51671
  }, this.titleIcons ? title : [title[1]])];
50622
51672
  }
@@ -50725,8 +51775,8 @@ menu_src_main.install = function (Vue) {
50725
51775
  };
50726
51776
 
50727
51777
  /* harmony default export */ var menu = (menu_src_main);
50728
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/nav/src/main.vue?vue&type=template&id=6349e24c&
50729
- var mainvue_type_template_id_6349e24c_render = function () {
51778
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/nav/src/main.vue?vue&type=template&id=fd9419ca&
51779
+ var mainvue_type_template_id_fd9419ca_render = function () {
50730
51780
  var _vm = this
50731
51781
  var _h = _vm.$createElement
50732
51782
  var _c = _vm._self._c || _h
@@ -50864,11 +51914,11 @@ var mainvue_type_template_id_6349e24c_render = function () {
50864
51914
  ]
50865
51915
  )
50866
51916
  }
50867
- var mainvue_type_template_id_6349e24c_staticRenderFns = []
50868
- mainvue_type_template_id_6349e24c_render._withStripped = true
51917
+ var mainvue_type_template_id_fd9419ca_staticRenderFns = []
51918
+ mainvue_type_template_id_fd9419ca_render._withStripped = true
50869
51919
 
50870
51920
 
50871
- // CONCATENATED MODULE: ./packages/nav/src/main.vue?vue&type=template&id=6349e24c&
51921
+ // CONCATENATED MODULE: ./packages/nav/src/main.vue?vue&type=template&id=fd9419ca&
50872
51922
 
50873
51923
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/nav/src/main.vue?vue&type=script&lang=js&
50874
51924
  //
@@ -50971,12 +52021,10 @@ mainvue_type_template_id_6349e24c_render._withStripped = true
50971
52021
  },
50972
52022
  subActive: function subActive() {
50973
52023
  var active = this.biserial && Array.isArray(this.defaultActive) && this.defaultActive.length ? this.defaultActive[0] : undefined;
50974
- console.log(active, 555);
50975
52024
  return active;
50976
52025
  },
50977
52026
  menuActive: function menuActive() {
50978
52027
  var active = this.defaultActive === 'string' ? this.defaultActive : this.defaultActive.length ? this.defaultActive[this.defaultActive.length - 1] : undefined;
50979
- console.log(active, 444);
50980
52028
  return active;
50981
52029
  },
50982
52030
  boxWidth: function boxWidth() {
@@ -51137,8 +52185,8 @@ mainvue_type_template_id_6349e24c_render._withStripped = true
51137
52185
 
51138
52186
  var nav_src_main_component = normalizeComponent(
51139
52187
  packages_nav_src_mainvue_type_script_lang_js_,
51140
- mainvue_type_template_id_6349e24c_render,
51141
- mainvue_type_template_id_6349e24c_staticRenderFns,
52188
+ mainvue_type_template_id_fd9419ca_render,
52189
+ mainvue_type_template_id_fd9419ca_staticRenderFns,
51142
52190
  false,
51143
52191
  null,
51144
52192
  null,
@@ -52738,8 +53786,8 @@ qr_code_src_main.install = function (Vue) {
52738
53786
  };
52739
53787
 
52740
53788
  /* harmony default export */ var qr_code = (qr_code_src_main);
52741
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/radio-group/src/main.vue?vue&type=template&id=5ce50dda&
52742
- var mainvue_type_template_id_5ce50dda_render = function () {
53789
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/radio-group/src/main.vue?vue&type=template&id=34723cb0&
53790
+ var mainvue_type_template_id_34723cb0_render = function () {
52743
53791
  var _vm = this
52744
53792
  var _h = _vm.$createElement
52745
53793
  var _c = _vm._self._c || _h
@@ -52867,11 +53915,11 @@ var mainvue_type_template_id_5ce50dda_render = function () {
52867
53915
  )
52868
53916
  : _vm._e()
52869
53917
  }
52870
- var mainvue_type_template_id_5ce50dda_staticRenderFns = []
52871
- mainvue_type_template_id_5ce50dda_render._withStripped = true
53918
+ var mainvue_type_template_id_34723cb0_staticRenderFns = []
53919
+ mainvue_type_template_id_34723cb0_render._withStripped = true
52872
53920
 
52873
53921
 
52874
- // CONCATENATED MODULE: ./packages/radio-group/src/main.vue?vue&type=template&id=5ce50dda&
53922
+ // CONCATENATED MODULE: ./packages/radio-group/src/main.vue?vue&type=template&id=34723cb0&
52875
53923
 
52876
53924
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/radio-group/src/main.vue?vue&type=script&lang=js&
52877
53925
  var radio_group_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; };
@@ -53048,7 +54096,7 @@ var radio_group_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "func
53048
54096
  labelVal: function labelVal() {
53049
54097
  var _this = this;
53050
54098
 
53051
- if (this.readonly && this.model && this.results.length) {
54099
+ if (this.readonly && (this.model || this.model === 0) && this.results.length) {
53052
54100
  if (radio_group_src_mainvue_type_script_lang_js_typeof(this.model) !== 'object') {
53053
54101
  if (utils_util["a" /* default */].isObject(this.results[0])) {
53054
54102
  var val = void 0;
@@ -53153,8 +54201,8 @@ var radio_group_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "func
53153
54201
 
53154
54202
  var radio_group_src_main_component = normalizeComponent(
53155
54203
  packages_radio_group_src_mainvue_type_script_lang_js_,
53156
- mainvue_type_template_id_5ce50dda_render,
53157
- mainvue_type_template_id_5ce50dda_staticRenderFns,
54204
+ mainvue_type_template_id_34723cb0_render,
54205
+ mainvue_type_template_id_34723cb0_staticRenderFns,
53158
54206
  false,
53159
54207
  null,
53160
54208
  null,
@@ -54020,7 +55068,7 @@ var select_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "function"
54020
55068
  }
54021
55069
  },
54022
55070
  getLabel: function getLabel(value, data) {
54023
- if (value && data) {
55071
+ if ((value || value === 0) && data) {
54024
55072
  if (utils_util["a" /* default */].isObject(data)) {
54025
55073
  if (value === data[this.valKey]) {
54026
55074
  return data[this.label];
@@ -54890,8 +55938,8 @@ select_ganged_src_main.install = function (Vue) {
54890
55938
  };
54891
55939
 
54892
55940
  /* harmony default export */ var select_ganged = (select_ganged_src_main);
54893
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/main.vue?vue&type=template&id=88396248&
54894
- var mainvue_type_template_id_88396248_render = function () {
55941
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/main.vue?vue&type=template&id=71e1a8ee&
55942
+ var mainvue_type_template_id_71e1a8ee_render = function () {
54895
55943
  var _vm = this
54896
55944
  var _h = _vm.$createElement
54897
55945
  var _c = _vm._self._c || _h
@@ -55168,6 +56216,8 @@ var mainvue_type_template_id_88396248_render = function () {
55168
56216
  attrs: {
55169
56217
  type: "text",
55170
56218
  autocomplete: "off",
56219
+ clearable: "clearable",
56220
+ showClearIcon: "",
55171
56221
  name: _vm.name,
55172
56222
  readonly: _vm.filterable ? false : true,
55173
56223
  active: _vm.actived,
@@ -55177,6 +56227,7 @@ var mainvue_type_template_id_88396248_render = function () {
55177
56227
  disabled: _vm.selectorDisabled,
55178
56228
  tabindex: _vm.multiple ? "-1" : null,
55179
56229
  },
56230
+ on: { clear: _vm.handleClear },
55180
56231
  nativeOn: {
55181
56232
  dblclick: function ($event) {
55182
56233
  return _vm.openDialog($event)
@@ -55360,11 +56411,11 @@ var mainvue_type_template_id_88396248_render = function () {
55360
56411
  1
55361
56412
  )
55362
56413
  }
55363
- var mainvue_type_template_id_88396248_staticRenderFns = []
55364
- mainvue_type_template_id_88396248_render._withStripped = true
56414
+ var mainvue_type_template_id_71e1a8ee_staticRenderFns = []
56415
+ mainvue_type_template_id_71e1a8ee_render._withStripped = true
55365
56416
 
55366
56417
 
55367
- // CONCATENATED MODULE: ./packages/selector/src/main.vue?vue&type=template&id=88396248&
56418
+ // CONCATENATED MODULE: ./packages/selector/src/main.vue?vue&type=template&id=71e1a8ee&
55368
56419
 
55369
56420
  // EXTERNAL MODULE: external "eoss-element/src/utils/clickoutside"
55370
56421
  var clickoutside_ = __webpack_require__(17);
@@ -55565,6 +56616,9 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
55565
56616
  //
55566
56617
  //
55567
56618
  //
56619
+ //
56620
+ //
56621
+ //
55568
56622
 
55569
56623
 
55570
56624
 
@@ -55629,7 +56683,10 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
55629
56683
  size: String,
55630
56684
  id: String,
55631
56685
  disabled: Boolean,
55632
- clearable: Boolean,
56686
+ clearable: {
56687
+ type: Boolean,
56688
+ default: true
56689
+ },
55633
56690
  placeholder: {
55634
56691
  type: String,
55635
56692
  default: '请选择'
@@ -55642,9 +56699,7 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
55642
56699
  readonly: Boolean,
55643
56700
  collapseTags: {
55644
56701
  type: Boolean,
55645
- default: function _default() {
55646
- return false;
55647
- }
56702
+ default: false
55648
56703
  },
55649
56704
  plain: Boolean,
55650
56705
  types: {
@@ -55902,6 +56957,10 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
55902
56957
  input.blur();
55903
56958
  }
55904
56959
  },
56960
+ handleClear: function handleClear() {
56961
+ this.$emit('input', []);
56962
+ this.$emit('clear');
56963
+ },
55905
56964
  handleCancel: function handleCancel() {
55906
56965
  this.visible = false;
55907
56966
  this.$emit('cancel');
@@ -55963,8 +57022,8 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
55963
57022
 
55964
57023
  var selector_src_main_component = normalizeComponent(
55965
57024
  packages_selector_src_mainvue_type_script_lang_js_,
55966
- mainvue_type_template_id_88396248_render,
55967
- mainvue_type_template_id_88396248_staticRenderFns,
57025
+ mainvue_type_template_id_71e1a8ee_render,
57026
+ mainvue_type_template_id_71e1a8ee_staticRenderFns,
55968
57027
  false,
55969
57028
  null,
55970
57029
  null,
@@ -63025,7 +64084,6 @@ var toolbar_src_mainvue_type_script_lang_js_extends = Object.assign || function
63025
64084
  return value ? value : this.searchValue;
63026
64085
  },
63027
64086
  set: function set(val) {
63028
- console.log(val);
63029
64087
  return val;
63030
64088
  }
63031
64089
  },
@@ -63148,8 +64206,7 @@ var toolbar_src_mainvue_type_script_lang_js_extends = Object.assign || function
63148
64206
  });
63149
64207
  }
63150
64208
  if (items.type === 'tabs') {
63151
- buttons.concat([h('el-menu', {
63152
- class: 'el-button',
64209
+ buttons = buttons.concat([h('el-menu', {
63153
64210
  props: {
63154
64211
  defaultActive: _this2.active ? _this2.active : items.contents[0].name ? items.contents[0].name : '0',
63155
64212
  mode: 'horizontal'
@@ -67121,8 +68178,8 @@ form_src_table.install = function (Vue) {
67121
68178
  };
67122
68179
 
67123
68180
  /* harmony default export */ var table_form = (form_src_table);
67124
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/main.vue?vue&type=template&id=a329683c&
67125
- var mainvue_type_template_id_a329683c_render = function () {
68181
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/main.vue?vue&type=template&id=167445a0&
68182
+ var mainvue_type_template_id_167445a0_render = function () {
67126
68183
  var _vm = this
67127
68184
  var _h = _vm.$createElement
67128
68185
  var _c = _vm._self._c || _h
@@ -67483,11 +68540,11 @@ var mainvue_type_template_id_a329683c_render = function () {
67483
68540
  2
67484
68541
  )
67485
68542
  }
67486
- var mainvue_type_template_id_a329683c_staticRenderFns = []
67487
- mainvue_type_template_id_a329683c_render._withStripped = true
68543
+ var mainvue_type_template_id_167445a0_staticRenderFns = []
68544
+ mainvue_type_template_id_167445a0_render._withStripped = true
67488
68545
 
67489
68546
 
67490
- // CONCATENATED MODULE: ./packages/upload/src/main.vue?vue&type=template&id=a329683c&
68547
+ // CONCATENATED MODULE: ./packages/upload/src/main.vue?vue&type=template&id=167445a0&
67491
68548
 
67492
68549
  // CONCATENATED MODULE: ./packages/upload/src/picture.js
67493
68550
  /* harmony default export */ var picture = ({
@@ -68226,7 +69283,7 @@ var mainvue_type_script_lang_js_props;
68226
69283
  } else if (suffix.includes('pdf')) {
68227
69284
  utils_util["a" /* default */].win.open(this.host + (url ? url : api["hb" /* previewAdjunct2 */]) + '/' + file.originalName + '?adjunctId=' + file.adjunctId);
68228
69285
  } else if (suffix.includes('jpge') || suffix.includes('jpg') || suffix.includes('gif') || suffix.includes('png')) {
68229
- this.imgUrl = res.url && utils_util["a" /* default */].startWith(url, ['http', '/']) ? res.url : this.host + (url ? url : this.previewAdjunct) + '?adjunctId=' + file.adjunctId;
69286
+ this.imgUrl = res.url && utils_util["a" /* default */].startWith(url, ['http', '/', true]) ? res.url : this.host + (url ? url : this.previewAdjunct) + '?adjunctId=' + file.adjunctId;
68230
69287
  this.title = file.originalName;
68231
69288
  this.showImg = true;
68232
69289
  this.$nextTick(function () {
@@ -68520,8 +69577,8 @@ var mainvue_type_script_lang_js_props;
68520
69577
 
68521
69578
  var upload_src_main_component = normalizeComponent(
68522
69579
  packages_upload_src_mainvue_type_script_lang_js_,
68523
- mainvue_type_template_id_a329683c_render,
68524
- mainvue_type_template_id_a329683c_staticRenderFns,
69580
+ mainvue_type_template_id_167445a0_render,
69581
+ mainvue_type_template_id_167445a0_staticRenderFns,
68525
69582
  false,
68526
69583
  null,
68527
69584
  null,
@@ -69000,7 +70057,7 @@ if (typeof window !== 'undefined' && window.Vue) {
69000
70057
  }
69001
70058
 
69002
70059
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
69003
- version: '0.4.62',
70060
+ version: '0.4.64',
69004
70061
  install: install,
69005
70062
  Button: packages_button,
69006
70063
  ButtonGroup: button_group,