eoss-mobiles 0.2.45 → 0.2.46

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.
@@ -5528,8 +5528,8 @@ radio_src_main.install = function (Vue) {
5528
5528
  };
5529
5529
 
5530
5530
  /* harmony default export */ var packages_radio = (radio_src_main);
5531
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/picker/src/main.vue?vue&type=template&id=6f8d4ed8&
5532
- var mainvue_type_template_id_6f8d4ed8_render = function () {
5531
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/picker/src/main.vue?vue&type=template&id=6b7f8129&
5532
+ var mainvue_type_template_id_6b7f8129_render = function () {
5533
5533
  var _vm = this
5534
5534
  var _h = _vm.$createElement
5535
5535
  var _c = _vm._self._c || _h
@@ -5796,11 +5796,11 @@ var mainvue_type_template_id_6f8d4ed8_render = function () {
5796
5796
  1
5797
5797
  )
5798
5798
  }
5799
- var mainvue_type_template_id_6f8d4ed8_staticRenderFns = []
5800
- mainvue_type_template_id_6f8d4ed8_render._withStripped = true
5799
+ var mainvue_type_template_id_6b7f8129_staticRenderFns = []
5800
+ mainvue_type_template_id_6b7f8129_render._withStripped = true
5801
5801
 
5802
5802
 
5803
- // CONCATENATED MODULE: ./packages/picker/src/main.vue?vue&type=template&id=6f8d4ed8&
5803
+ // CONCATENATED MODULE: ./packages/picker/src/main.vue?vue&type=template&id=6b7f8129&
5804
5804
 
5805
5805
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/picker/src/main.vue?vue&type=script&lang=js&
5806
5806
  var 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; };
@@ -6143,6 +6143,7 @@ var mainvue_type_script_lang_js_typeof = typeof Symbol === "function" && typeof
6143
6143
 
6144
6144
  methods: {
6145
6145
  handleClick: function handleClick(val) {
6146
+ if (this.disabled || this.readonly) return;
6146
6147
  if (this.linkTag) {
6147
6148
  this.$emit('tagClick', val);
6148
6149
  } else {
@@ -6358,8 +6359,8 @@ var mainvue_type_script_lang_js_typeof = typeof Symbol === "function" && typeof
6358
6359
 
6359
6360
  var picker_src_main_component = normalizeComponent(
6360
6361
  packages_picker_src_mainvue_type_script_lang_js_,
6361
- mainvue_type_template_id_6f8d4ed8_render,
6362
- mainvue_type_template_id_6f8d4ed8_staticRenderFns,
6362
+ mainvue_type_template_id_6b7f8129_render,
6363
+ mainvue_type_template_id_6b7f8129_staticRenderFns,
6363
6364
  false,
6364
6365
  null,
6365
6366
  null,
@@ -6830,8 +6831,8 @@ uploader_src_main.install = function (Vue) {
6830
6831
  };
6831
6832
 
6832
6833
  /* harmony default export */ var uploader = (uploader_src_main);
6833
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/grid/src/main.vue?vue&type=template&id=3fb10550&
6834
- var mainvue_type_template_id_3fb10550_render = function () {
6834
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/grid/src/main.vue?vue&type=template&id=1f9590ec&
6835
+ var mainvue_type_template_id_1f9590ec_render = function () {
6835
6836
  var _vm = this
6836
6837
  var _h = _vm.$createElement
6837
6838
  var _c = _vm._self._c || _h
@@ -6879,7 +6880,7 @@ var mainvue_type_template_id_3fb10550_render = function () {
6879
6880
  staticClass: "menu-list-draggable-item",
6880
6881
  staticStyle: { width: "100%" },
6881
6882
  },
6882
- _vm._l(_vm.newData, function (item, index) {
6883
+ _vm._l(_vm.newData, function (item) {
6883
6884
  return _c(
6884
6885
  "div",
6885
6886
  {
@@ -6890,9 +6891,13 @@ var mainvue_type_template_id_3fb10550_render = function () {
6890
6891
  100 / _vm.columnNum +
6891
6892
  "%",
6892
6893
  on: {
6893
- click: function ($event) {
6894
+ mousedown: function ($event) {
6895
+ $event.stopPropagation()
6896
+ _vm.onMouseDown(item)
6897
+ },
6898
+ mouseup: function ($event) {
6894
6899
  $event.stopPropagation()
6895
- _vm.goView($event, item)
6900
+ _vm.onMouseUp($event, item)
6896
6901
  },
6897
6902
  },
6898
6903
  },
@@ -6920,14 +6925,6 @@ var mainvue_type_template_id_3fb10550_render = function () {
6920
6925
  _vm.$attrs["icon-size"]
6921
6926
  : "",
6922
6927
  },
6923
- on: {
6924
- touchstart: function ($event) {
6925
- _vm.touchstart(item, index)
6926
- },
6927
- touchend: function ($event) {
6928
- _vm.touchend(item, index)
6929
- },
6930
- },
6931
6928
  },
6932
6929
  [
6933
6930
  item.icon.startsWith("http") ||
@@ -6981,7 +6978,7 @@ var mainvue_type_template_id_3fb10550_render = function () {
6981
6978
  },
6982
6979
  [
6983
6980
  _vm._v(
6984
- "\n " +
6981
+ "\n " +
6985
6982
  _vm._s(
6986
6983
  _vm.maxBadge &&
6987
6984
  !isNaN(item.badge) &&
@@ -6990,12 +6987,27 @@ var mainvue_type_template_id_3fb10550_render = function () {
6990
6987
  ? _vm.maxBadge + "+"
6991
6988
  : item.badge
6992
6989
  ) +
6993
- "\n "
6990
+ "\n "
6994
6991
  ),
6995
6992
  ]
6996
6993
  ),
6997
6994
  ]
6998
6995
  ),
6996
+ _c("em-popover", {
6997
+ attrs: {
6998
+ placement: _vm.placement,
6999
+ theme: _vm.popoverTheme,
7000
+ actions: _vm.popoverActions,
7001
+ },
7002
+ on: { select: _vm.popoverSelect },
7003
+ model: {
7004
+ value: item.showPopover,
7005
+ callback: function ($$v) {
7006
+ _vm.$set(item, "showPopover", $$v)
7007
+ },
7008
+ expression: "item.showPopover",
7009
+ },
7010
+ }),
6999
7011
  _c(
7000
7012
  "span",
7001
7013
  { staticClass: "van-grid-item__text" },
@@ -7041,151 +7053,172 @@ var mainvue_type_template_id_3fb10550_render = function () {
7041
7053
  1
7042
7054
  )
7043
7055
  : _vm._e(),
7044
- _vm._l(_vm.newData, function (item, index) {
7056
+ _vm._l(_vm.newData, function (item) {
7045
7057
  return _c(
7046
- "van-grid-item",
7047
- _vm._b(
7048
- {
7049
- directives: [
7050
- {
7051
- name: "show",
7052
- rawName: "v-show",
7053
- value:
7054
- _vm.newData && _vm.newData.length > 0 && !_vm.draggable,
7055
- expression: "newData && newData.length > 0 && !draggable",
7056
- },
7057
- ],
7058
- key: index,
7059
- class: { "em-grid-ellipsis": _vm.textEllipsis },
7060
- style: "width:" + 100 / _vm.columnNum + "%;",
7061
- on: {
7062
- click: function ($event) {
7063
- $event.stopPropagation()
7064
- _vm.goView($event, item)
7065
- },
7058
+ "div",
7059
+ {
7060
+ directives: [
7061
+ {
7062
+ name: "show",
7063
+ rawName: "v-show",
7064
+ value:
7065
+ _vm.newData && _vm.newData.length > 0 && !_vm.draggable,
7066
+ expression: "newData && newData.length > 0 && !draggable",
7067
+ },
7068
+ ],
7069
+ key: item.id,
7070
+ staticClass: "van-grid-item",
7071
+ style:
7072
+ "display: inline-block;width:" + 100 / _vm.columnNum + "%",
7073
+ on: {
7074
+ mousedown: function ($event) {
7075
+ $event.stopPropagation()
7076
+ _vm.onMouseDown(item)
7077
+ },
7078
+ mouseup: function ($event) {
7079
+ $event.stopPropagation()
7080
+ _vm.onMouseUp($event, item)
7066
7081
  },
7067
7082
  },
7068
- "van-grid-item",
7069
- item,
7070
- false
7071
- ),
7083
+ },
7072
7084
  [
7073
7085
  _c(
7074
- "i",
7086
+ "div",
7075
7087
  {
7076
- staticClass: "van-icon van-grid-item__icon",
7077
- class:
7078
- item.icon.startsWith("http") &&
7079
- item.icon.indexOf("/") != -1
7080
- ? ""
7081
- : "van-icon-" + item.icon,
7082
- style: {
7083
- fontSize:
7084
- item.iconSize || _vm.$attrs["icon-size"]
7085
- ? item.iconSize || _vm.$attrs["icon-size"]
7086
- : "",
7087
- },
7088
- on: {
7089
- touchstart: function ($event) {
7090
- _vm.touchstart(item, index)
7091
- },
7092
- touchend: function ($event) {
7093
- _vm.touchend(item, index)
7094
- },
7095
- },
7088
+ staticClass:
7089
+ "van-grid-item__content van-grid-item__content--center van-hairline",
7096
7090
  },
7097
7091
  [
7098
- item.icon.startsWith("http") || item.icon.indexOf("/") != -1
7099
- ? _c("img", {
7100
- staticClass: "van-icon__image",
7101
- style: {
7102
- width:
7103
- item.iconSize || _vm.$attrs["icon-size"]
7104
- ? item.iconSize || _vm.$attrs["icon-size"]
7105
- : "",
7106
- height:
7107
- item.iconSize || _vm.$attrs["icon-size"]
7108
- ? item.iconSize || _vm.$attrs["icon-size"]
7109
- : "",
7110
- },
7111
- attrs: { src: item.icon },
7112
- })
7113
- : _vm._e(),
7114
- _c("div", {
7115
- directives: [
7116
- {
7117
- name: "show",
7118
- rawName: "v-show",
7119
- value: item.dot,
7120
- expression: "item.dot",
7121
- },
7122
- ],
7123
- staticClass: "van-info van-info--dot",
7124
- style: { background: item.dotColor || "" },
7125
- }),
7126
7092
  _c(
7127
- "div",
7093
+ "i",
7128
7094
  {
7129
- directives: [
7130
- {
7131
- name: "show",
7132
- rawName: "v-show",
7133
- value: item.badge,
7134
- expression: "item.badge",
7135
- },
7136
- ],
7137
- staticClass: "van-info",
7138
- style: { background: _vm.badgeColor || "" },
7095
+ staticClass: "van-icon van-grid-item__icon",
7096
+ class:
7097
+ item.icon.startsWith("http") &&
7098
+ item.icon.indexOf("/") != -1
7099
+ ? ""
7100
+ : "van-icon-" + item.icon,
7101
+ style: {
7102
+ fontSize:
7103
+ item.iconSize || _vm.$attrs["icon-size"]
7104
+ ? item.iconSize || _vm.$attrs["icon-size"]
7105
+ : "",
7106
+ },
7139
7107
  },
7140
7108
  [
7141
- _vm._v(
7142
- "\n " +
7143
- _vm._s(
7144
- _vm.maxBadge &&
7145
- !isNaN(item.badge) &&
7146
- Number(_vm.maxBadge) < Number(item.badge)
7147
- ? _vm.maxBadge + "+"
7148
- : item.badge
7149
- ) +
7150
- "\n "
7109
+ item.icon.startsWith("http") ||
7110
+ item.icon.indexOf("/") != -1
7111
+ ? _c("img", {
7112
+ staticClass: "van-icon__image",
7113
+ style: {
7114
+ width:
7115
+ item.iconSize || _vm.$attrs["icon-size"]
7116
+ ? item.iconSize || _vm.$attrs["icon-size"]
7117
+ : "",
7118
+ height:
7119
+ item.iconSize || _vm.$attrs["icon-size"]
7120
+ ? item.iconSize || _vm.$attrs["icon-size"]
7121
+ : "",
7122
+ },
7123
+ attrs: { src: item.icon },
7124
+ })
7125
+ : _vm._e(),
7126
+ _c("div", {
7127
+ directives: [
7128
+ {
7129
+ name: "show",
7130
+ rawName: "v-show",
7131
+ value: item.dot,
7132
+ expression: "item.dot",
7133
+ },
7134
+ ],
7135
+ staticClass: "van-info van-info--dot",
7136
+ style: { background: item.dotColor || "" },
7137
+ }),
7138
+ _c(
7139
+ "div",
7140
+ {
7141
+ directives: [
7142
+ {
7143
+ name: "show",
7144
+ rawName: "v-show",
7145
+ value: item.badge,
7146
+ expression: "item.badge",
7147
+ },
7148
+ ],
7149
+ staticClass: "van-info",
7150
+ style: { background: _vm.badgeColor || "" },
7151
+ },
7152
+ [
7153
+ _vm._v(
7154
+ "\n " +
7155
+ _vm._s(
7156
+ _vm.maxBadge &&
7157
+ !isNaN(item.badge) &&
7158
+ Number(_vm.maxBadge) < Number(item.badge)
7159
+ ? _vm.maxBadge + "+"
7160
+ : item.badge
7161
+ ) +
7162
+ "\n "
7163
+ ),
7164
+ ]
7151
7165
  ),
7152
7166
  ]
7153
7167
  ),
7154
- ]
7155
- ),
7156
- _c("span", { staticClass: "van-grid-item__text" }, [
7157
- _vm._v(_vm._s(item.text)),
7158
- ]),
7159
- _vm.showHide && item.menuType != "add"
7160
- ? _c("van-icon", {
7161
- staticClass: "em-grid-del",
7162
- attrs: { name: "clear", size: "20px" },
7168
+ _c("em-popover", {
7169
+ attrs: {
7170
+ placement: _vm.placement,
7171
+ theme: _vm.popoverTheme,
7172
+ actions: _vm.popoverActions,
7173
+ },
7163
7174
  on: {
7164
- click: function ($event) {
7165
- $event.stopPropagation()
7166
- _vm.handleHide(item)
7175
+ select: function ($event) {
7176
+ _vm.popoverSelect($event, item)
7167
7177
  },
7168
7178
  },
7169
- })
7170
- : _vm._e(),
7171
- item.showMenu
7172
- ? _c(
7173
- "div",
7174
- { staticClass: "em-grid-select-box" },
7175
- [
7176
- _c("van-icon", {
7177
- attrs: {
7178
- size: "30px",
7179
- color: "#fff",
7180
- name: "success",
7179
+ model: {
7180
+ value: item.showPopover,
7181
+ callback: function ($$v) {
7182
+ _vm.$set(item, "showPopover", $$v)
7183
+ },
7184
+ expression: "item.showPopover",
7185
+ },
7186
+ }),
7187
+ _c("span", { staticClass: "van-grid-item__text" }, [
7188
+ _vm._v(_vm._s(item.text)),
7189
+ ]),
7190
+ _vm.showHide && item.menuType != "add"
7191
+ ? _c("van-icon", {
7192
+ staticClass: "em-grid-del",
7193
+ attrs: { name: "clear", size: "20px" },
7194
+ on: {
7195
+ click: function ($event) {
7196
+ $event.stopPropagation()
7197
+ _vm.handleHide(item)
7198
+ },
7181
7199
  },
7182
- }),
7183
- ],
7184
- 1
7185
- )
7186
- : _vm._e(),
7187
- ],
7188
- 1
7200
+ })
7201
+ : _vm._e(),
7202
+ item.showMenu
7203
+ ? _c(
7204
+ "div",
7205
+ { staticClass: "em-grid-select-box" },
7206
+ [
7207
+ _c("van-icon", {
7208
+ attrs: {
7209
+ size: "30px",
7210
+ color: "#fff",
7211
+ name: "success",
7212
+ },
7213
+ }),
7214
+ ],
7215
+ 1
7216
+ )
7217
+ : _vm._e(),
7218
+ ],
7219
+ 1
7220
+ ),
7221
+ ]
7189
7222
  )
7190
7223
  }),
7191
7224
  _vm._t("default"),
@@ -7269,11 +7302,11 @@ var mainvue_type_template_id_3fb10550_render = function () {
7269
7302
  1
7270
7303
  )
7271
7304
  }
7272
- var mainvue_type_template_id_3fb10550_staticRenderFns = []
7273
- mainvue_type_template_id_3fb10550_render._withStripped = true
7305
+ var mainvue_type_template_id_1f9590ec_staticRenderFns = []
7306
+ mainvue_type_template_id_1f9590ec_render._withStripped = true
7274
7307
 
7275
7308
 
7276
- // CONCATENATED MODULE: ./packages/grid/src/main.vue?vue&type=template&id=3fb10550&
7309
+ // CONCATENATED MODULE: ./packages/grid/src/main.vue?vue&type=template&id=1f9590ec&
7277
7310
 
7278
7311
  // EXTERNAL MODULE: external "vuedraggable"
7279
7312
  var external_vuedraggable_ = __webpack_require__(5);
@@ -7434,6 +7467,68 @@ var external_vuedraggable_default = /*#__PURE__*/__webpack_require__.n(external_
7434
7467
  //
7435
7468
  //
7436
7469
  //
7470
+ //
7471
+ //
7472
+ //
7473
+ //
7474
+ //
7475
+ //
7476
+ //
7477
+ //
7478
+ //
7479
+ //
7480
+ //
7481
+ //
7482
+ //
7483
+ //
7484
+ //
7485
+ //
7486
+ //
7487
+ //
7488
+ //
7489
+ //
7490
+ //
7491
+ //
7492
+ //
7493
+ //
7494
+ //
7495
+ //
7496
+ //
7497
+ //
7498
+ //
7499
+ //
7500
+ //
7501
+ //
7502
+ //
7503
+ //
7504
+ //
7505
+ //
7506
+ //
7507
+ //
7508
+ //
7509
+ //
7510
+ //
7511
+ //
7512
+ //
7513
+ //
7514
+ //
7515
+ //
7516
+ //
7517
+ //
7518
+ //
7519
+ //
7520
+ //
7521
+ //
7522
+ //
7523
+ //
7524
+ //
7525
+ //
7526
+ //
7527
+ //
7528
+ //
7529
+ //
7530
+ //
7531
+ //
7437
7532
 
7438
7533
 
7439
7534
  /* harmony default export */ var grid_src_mainvue_type_script_lang_js_ = ({
@@ -7492,15 +7587,34 @@ var external_vuedraggable_default = /*#__PURE__*/__webpack_require__.n(external_
7492
7587
  draggable: {
7493
7588
  type: Boolean,
7494
7589
  default: false
7590
+ },
7591
+ popoverActions: {
7592
+ type: Array,
7593
+ default: function _default() {
7594
+ return [{ text: '隐藏菜单', type: 'hideMenu' }];
7595
+ }
7596
+ },
7597
+ isTouch: {
7598
+ type: Boolean,
7599
+ default: false
7600
+ },
7601
+ placement: {
7602
+ type: String,
7603
+ default: 'top'
7604
+ },
7605
+ popoverTheme: {
7606
+ type: String,
7607
+ default: 'dark'
7495
7608
  }
7496
7609
  },
7497
7610
  data: function data() {
7498
7611
  return {
7499
- lastTapTime: 0,
7500
7612
  timer: null,
7501
7613
  showHide: false,
7614
+ isLongPress: false,
7502
7615
  newData: [],
7503
7616
  show: false,
7617
+ showPopover: false,
7504
7618
  selectMenuArr: [],
7505
7619
  hideMenuList: []
7506
7620
  };
@@ -7526,31 +7640,56 @@ var external_vuedraggable_default = /*#__PURE__*/__webpack_require__.n(external_
7526
7640
  }
7527
7641
  },
7528
7642
  methods: {
7529
- touchstart: function touchstart(val, inexd) {
7530
- console.log('点击了了');
7643
+ popoverSelect: function popoverSelect(val, item) {
7644
+ if (val.type == 'hideMenu') {
7645
+ this.handleHide(item);
7646
+ } else {
7647
+ this.$emit('touchSelect', { action: val, data: item });
7648
+ }
7531
7649
  },
7532
- touchend: function touchend(val, a) {
7533
- console.log('松开了');
7650
+ onMouseDown: function onMouseDown(item) {
7651
+ var _this = this;
7652
+
7653
+ // this.showPopover = true
7654
+ if (this.draggable || !this.isTouch) return;
7655
+ this.isLongPress = false;
7656
+ this.timer = setTimeout(function () {
7657
+ if (_this.isLongPress === false) {
7658
+ _this.isLongPress = true;
7659
+ _this.lastTapTime = new Date().getTime();
7660
+ _this.$set(item, 'showPopover', true);
7661
+ }
7662
+ }, 500);
7663
+ },
7664
+ onMouseUp: function onMouseUp($event, item) {
7665
+ if (this.isLongPress === false) {
7666
+ this.lastTapTime = new Date().getTime();
7667
+ this.$set(item, 'showPopover', false);
7668
+ this.goView($event, item);
7669
+ // 执行相应的操作
7670
+ }
7671
+ this.isLongPress = false;
7672
+ clearTimeout(this.timer);
7534
7673
  },
7535
7674
  hideDelIcon: function hideDelIcon() {
7536
7675
  this.showHide = false;
7537
7676
  },
7538
7677
  handleShowMenu: function handleShowMenu() {
7539
- var _this = this;
7678
+ var _this2 = this;
7540
7679
 
7541
7680
  var str = this.selectMenuArr;
7542
7681
  // let str = this.selectMenuArr.join(',');
7543
7682
  if (Array.isArray(this.hideMenu)) {
7544
7683
  var hideArr = this.hideMenuList.filter(function (x) {
7545
- return str.indexOf(x[_this.hideMenuKey]) == -1;
7684
+ return str.indexOf(x[_this2.hideMenuKey]) == -1;
7546
7685
  });
7547
7686
  this.$emit('hide', hideArr);
7548
7687
  } else {
7549
7688
  var hide = this.hideMenuList.filter(function (x) {
7550
- return str.indexOf(x[_this.hideMenuKey]) == -1;
7689
+ return str.indexOf(x[_this2.hideMenuKey]) == -1;
7551
7690
  });
7552
7691
  hide = hide.map(function (x) {
7553
- return x[_this.hideMenuKey];
7692
+ return x[_this2.hideMenuKey];
7554
7693
  });
7555
7694
  this.$emit('hide', hide.join(','));
7556
7695
  }
@@ -7558,11 +7697,11 @@ var external_vuedraggable_default = /*#__PURE__*/__webpack_require__.n(external_
7558
7697
  this.show = false;
7559
7698
  },
7560
7699
  selectMenu: function selectMenu(val) {
7561
- var _this2 = this;
7700
+ var _this3 = this;
7562
7701
 
7563
7702
  if (val.showMenu) {
7564
7703
  this.selectMenuArr = this.selectMenuArr.filter(function (x) {
7565
- return x != val[_this2.hideMenuKey];
7704
+ return x != val[_this3.hideMenuKey];
7566
7705
  });
7567
7706
  } else {
7568
7707
  this.selectMenuArr.push(val[this.hideMenuKey]);
@@ -7570,7 +7709,7 @@ var external_vuedraggable_default = /*#__PURE__*/__webpack_require__.n(external_
7570
7709
  this.$set(val, 'showMenu', !val.showMenu);
7571
7710
  },
7572
7711
  defaultHide: function defaultHide(val) {
7573
- var _this3 = this;
7712
+ var _this4 = this;
7574
7713
 
7575
7714
  if (this.isHideMenu && val != undefined) {
7576
7715
  if (Array.isArray(val)) {
@@ -7579,18 +7718,18 @@ var external_vuedraggable_default = /*#__PURE__*/__webpack_require__.n(external_
7579
7718
  });
7580
7719
  // let menuKey = val.map(x => x.id).join(',');
7581
7720
  this.newData = this.data.filter(function (x) {
7582
- return menuKey.indexOf(x[_this3.hideMenuKey]) == -1;
7721
+ return menuKey.indexOf(x[_this4.hideMenuKey]) == -1;
7583
7722
  });
7584
7723
  this.hideMenuList = this.data.filter(function (x) {
7585
- return menuKey.indexOf(x[_this3.hideMenuKey]) != -1;
7724
+ return menuKey.indexOf(x[_this4.hideMenuKey]) != -1;
7586
7725
  });
7587
7726
  } else {
7588
7727
  val = val + '';
7589
7728
  this.newData = this.data.filter(function (x) {
7590
- return val.indexOf(x[_this3.hideMenuKey]) == -1;
7729
+ return val.indexOf(x[_this4.hideMenuKey]) == -1;
7591
7730
  });
7592
7731
  this.hideMenuList = this.data.filter(function (x) {
7593
- return val.indexOf(x[_this3.hideMenuKey]) != -1;
7732
+ return val.indexOf(x[_this4.hideMenuKey]) != -1;
7594
7733
  });
7595
7734
  }
7596
7735
  }
@@ -7603,44 +7742,45 @@ var external_vuedraggable_default = /*#__PURE__*/__webpack_require__.n(external_
7603
7742
  }
7604
7743
  },
7605
7744
  handleHide: function handleHide(item) {
7606
- var _this4 = this;
7745
+ var _this5 = this;
7607
7746
 
7608
7747
  this.$dialog.confirm({
7609
7748
  message: '\u786E\u5B9A\u8981\u9690\u85CF<span style="color:red;font-weight:bold;margin:0px 5px">' + item.text + '</span>\u83DC\u5355\u5417\uFF1F'
7610
7749
  }).then(function () {
7611
- if (Array.isArray(_this4.hideMenu)) {
7612
- var hideArr = [].concat(_this4.hideMenu, [item]);
7613
- _this4.$emit('hide', hideArr);
7750
+ if (Array.isArray(_this5.hideMenu)) {
7751
+ var hideArr = [].concat(_this5.hideMenu, [item]);
7752
+ _this5.$emit('hide', hideArr);
7614
7753
  } else {
7615
- var hideStr = _this4.hideMenu ? _this4.hideMenu + ',' + item[_this4.hideMenuKey] : item[_this4.hideMenuKey];
7616
- _this4.$emit('hide', hideStr);
7754
+ var hideStr = _this5.hideMenu ? _this5.hideMenu + ',' + item[_this5.hideMenuKey] : item[_this5.hideMenuKey];
7755
+ _this5.$emit('hide', hideStr);
7617
7756
  }
7618
7757
  });
7619
7758
  },
7620
7759
  goView: function goView(event, val) {
7621
- var _this5 = this;
7622
-
7623
7760
  if (val.menuType === 'add') {
7624
7761
  this.show = true;
7625
7762
  return;
7626
7763
  }
7627
- var currentTime = new Date().getTime();
7628
- var tapLength = currentTime - this.lastTapTime;
7629
- this.lastTapTime = currentTime;
7764
+ // const currentTime = new Date().getTime();
7765
+ // const tapLength = currentTime - this.lastTapTime;
7766
+ // this.lastTapTime = currentTime;
7767
+ // if (tapLength > 300) {
7768
+ // return;
7769
+ // }
7630
7770
  if (this.isHideMenu) {
7631
- if (tapLength < 300) {
7632
- this.handleDoubleClick(val);
7633
- clearTimeout(this.timer);
7634
- return;
7635
- }
7636
- if (this.showHide) {
7637
- this.showHide = false;
7638
- return;
7639
- }
7640
- this.timer = setTimeout(function () {
7641
- _this5.$emit('click', val, event);
7642
- _this5.targetStop && event.stopPropagation();
7643
- }, 300);
7771
+ // if (tapLength < 300) {
7772
+ // this.handleDoubleClick(val);
7773
+ // clearTimeout(this.timer);
7774
+ // return;
7775
+ // }
7776
+ // if (this.showHide) {
7777
+ // this.showHide = false;
7778
+ // return;
7779
+ // }
7780
+ // this.timer = setTimeout(() => {
7781
+ this.$emit('click', val, event);
7782
+ this.targetStop && event.stopPropagation();
7783
+ // }, 300);
7644
7784
  } else {
7645
7785
  this.$emit('click', val, event);
7646
7786
  this.targetStop && event.stopPropagation();
@@ -7666,8 +7806,8 @@ var external_vuedraggable_default = /*#__PURE__*/__webpack_require__.n(external_
7666
7806
 
7667
7807
  var grid_src_main_component = normalizeComponent(
7668
7808
  packages_grid_src_mainvue_type_script_lang_js_,
7669
- mainvue_type_template_id_3fb10550_render,
7670
- mainvue_type_template_id_3fb10550_staticRenderFns,
7809
+ mainvue_type_template_id_1f9590ec_render,
7810
+ mainvue_type_template_id_1f9590ec_staticRenderFns,
7671
7811
  false,
7672
7812
  null,
7673
7813
  null,
@@ -13449,8 +13589,8 @@ var StartFlow_component = normalizeComponent(
13449
13589
  )
13450
13590
 
13451
13591
  /* harmony default export */ var StartFlow = (StartFlow_component.exports);
13452
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Handle.vue?vue&type=template&id=83d8e9b4&
13453
- var Handlevue_type_template_id_83d8e9b4_render = function () {
13592
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Handle.vue?vue&type=template&id=8ae6ae06&
13593
+ var Handlevue_type_template_id_8ae6ae06_render = function () {
13454
13594
  var _vm = this
13455
13595
  var _h = _vm.$createElement
13456
13596
  var _c = _vm._self._c || _h
@@ -14447,11 +14587,11 @@ var Handlevue_type_template_id_83d8e9b4_render = function () {
14447
14587
  1
14448
14588
  )
14449
14589
  }
14450
- var Handlevue_type_template_id_83d8e9b4_staticRenderFns = []
14451
- Handlevue_type_template_id_83d8e9b4_render._withStripped = true
14590
+ var Handlevue_type_template_id_8ae6ae06_staticRenderFns = []
14591
+ Handlevue_type_template_id_8ae6ae06_render._withStripped = true
14452
14592
 
14453
14593
 
14454
- // CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=83d8e9b4&
14594
+ // CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=8ae6ae06&
14455
14595
 
14456
14596
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Reject.vue?vue&type=template&id=2c2891ac&
14457
14597
  var Rejectvue_type_template_id_2c2891ac_render = function () {
@@ -15523,6 +15663,8 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
15523
15663
  //
15524
15664
  //
15525
15665
  //
15666
+ //
15667
+ //
15526
15668
 
15527
15669
 
15528
15670
 
@@ -15898,12 +16040,19 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
15898
16040
  type: 'post',
15899
16041
  params: formData,
15900
16042
  format: false
15901
-
15902
16043
  }).then(function (res) {
15903
16044
  _this4.$toast.clear();
15904
- if (res.status == 'success') {
15905
- _this4.$toast('操作成功');
15906
- _this4.$parent.$emit('success');
16045
+ if (res.status == 'success' || res.status == 'readDealBackProcessing') {
16046
+ if (res.status == 'readDealBackProcessing') {
16047
+ _this4.$toast('由于阅办人数较多,任务后台执行中,稍后系统将为您推送阅办任务执行结果,请注意查收!');
16048
+ setTimeout(function () {
16049
+ _this4.$toast.clear();
16050
+ _this4.$parent.$emit('success');
16051
+ }, 1500);
16052
+ } else {
16053
+ _this4.$toast('操作成功');
16054
+ _this4.$parent.$emit('success');
16055
+ }
15907
16056
  } else {
15908
16057
  _this4.$emit('error');
15909
16058
  _this4.$toast(res.message);
@@ -16470,8 +16619,8 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
16470
16619
 
16471
16620
  var Handle_component = normalizeComponent(
16472
16621
  components_Handlevue_type_script_lang_js_,
16473
- Handlevue_type_template_id_83d8e9b4_render,
16474
- Handlevue_type_template_id_83d8e9b4_staticRenderFns,
16622
+ Handlevue_type_template_id_8ae6ae06_render,
16623
+ Handlevue_type_template_id_8ae6ae06_staticRenderFns,
16475
16624
  false,
16476
16625
  null,
16477
16626
  null,
@@ -22540,7 +22689,7 @@ if (typeof window !== 'undefined' && window.Vue) {
22540
22689
  }
22541
22690
 
22542
22691
  /* harmony default export */ var src = __webpack_exports__["default"] = ({
22543
- version: '0.2.45',
22692
+ version: '0.2.46',
22544
22693
  install: install,
22545
22694
  Button: packages_button,
22546
22695
  ButtonGroup: button_group,