element-ui-root 3.0.3 → 3.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js CHANGED
@@ -12901,23 +12901,8 @@ __webpack_require__.r(__webpack_exports__);
12901
12901
  e && e.preventDefault();
12902
12902
  let pass = !this.check; // 判断是否是空表单
12903
12903
  for (let a in this.form) if (this.form[a] != '') pass = true;
12904
- let data = {};
12905
- if (Object.keys(this.config).length > 0) {
12906
- // 格式化属性为模糊查询属性
12907
- for (let a in this.config) {
12908
- if (this.config[a] != '' && this.config[a].like && this.form[a] != '' && this.form[a] != null && this.form[a] != undefined) {
12909
- if (this.config[a].like == 'left') data[a] = '%' + this.form[a];
12910
- if (this.config[a].like == 'right') data[a] = this.form[a] + '%';else data[a] = '%' + this.form[a] + '%';
12911
- } else {
12912
- if (this.config[a] != '' && (this.config[a].than || this.config[a].range || this.config[a].scope)) {
12913
- data[`${a}LE`] = this.form[`${a}LE`];
12914
- data[`${a}GE`] = this.form[`${a}GE`];
12915
- } else if (this.form[a].includes(' 00:00:00')) data[a] = '%' + this.form[a].split(' 00:00:00')[0] + '%';else data[a] = this.form[a];
12916
- }
12917
- }
12918
- }
12919
12904
  if (pass) {
12920
- let result = this.filter(data);
12905
+ let result = this.filter();
12921
12906
  const {
12922
12907
  formParams,
12923
12908
  pageParams
@@ -12960,15 +12945,36 @@ __webpack_require__.r(__webpack_exports__);
12960
12945
  });
12961
12946
  }
12962
12947
  },
12963
- filter(form = {}) {
12948
+ filter() {
12964
12949
  // 过滤空值属性
12965
- const data = {};
12966
- for (let a in form) {
12967
- if (a != undefined && a != 'undefined' && form[a] != '' && form[a] != '%%' && form[a] != 'null' && form[a] != 'undefined' && form[a] != null && form[a] != undefined) {
12968
- data[a] = form[a];
12950
+ let data = {};
12951
+ if (Object.keys(this.config).length > 0) {
12952
+ // 格式化属性为模糊查询属性
12953
+ for (let a in this.config) {
12954
+ let {
12955
+ like = null,
12956
+ ...r
12957
+ } = this.config[a];
12958
+ if (like && this.form[a] != '' && this.form[a] != null && this.form[a] != undefined) {
12959
+ if (like && like == 'left' || like && like == 'l') data[a] = '%' + this.form[a];
12960
+ if (like && like == 'right' || like && like == 'r') data[a] = this.form[a] + '%';else data[a] = '%' + this.form[a] + '%';
12961
+ } else {
12962
+ if (r.than || r.range || r.scope) {
12963
+ data[`${a}LE`] = this.form[`${a}LE`];
12964
+ data[`${a}GE`] = this.form[`${a}GE`];
12965
+ } else if (this.form[a].includes(' 00:00:00')) {
12966
+ data[a] = '%' + this.form[a].split(' 00:00:00')[0] + '%';
12967
+ } else data[a] = this.form[a];
12968
+ }
12969
12969
  }
12970
12970
  }
12971
- return data;
12971
+ let form = {};
12972
+ for (let a in data) {
12973
+ if (a != undefined && a != 'undefined' && data[a] != '' && data[a] != '%' && data[a] != '%%' && data[a] != 'null' && data[a] != 'undefined' && data[a] != null && data[a] != undefined) {
12974
+ form[a] = data[a];
12975
+ }
12976
+ }
12977
+ return form;
12972
12978
  },
12973
12979
  result() {
12974
12980
  // 返回验证后的表单数据
@@ -12994,14 +13000,24 @@ __webpack_require__.r(__webpack_exports__);
12994
13000
  ...config,
12995
13001
  placeholder
12996
13002
  }
13003
+ },
13004
+ "on": {
13005
+ "change": () => this.change()
12997
13006
  }
12998
13007
  });
12999
13008
  return h(_components_AformItem__WEBPACK_IMPORTED_MODULE_1__["default"], {
13000
13009
  "attrs": {
13001
13010
  "config": config
13011
+ },
13012
+ "on": {
13013
+ "change": () => this.change()
13002
13014
  }
13003
13015
  });
13004
13016
  }
13017
+ },
13018
+ change() {
13019
+ this.$emit('input', this.filter());
13020
+ this.$emit('change', this.filter());
13005
13021
  }
13006
13022
  },
13007
13023
  render() {
@@ -13331,6 +13347,8 @@ var map = {
13331
13347
  "./Aecharts/index.vue": "65d8",
13332
13348
  "./Aecharts/tools": "a0e9",
13333
13349
  "./Aecharts/tools.js": "a0e9",
13350
+ "./Aeditor": "f02a",
13351
+ "./Aeditor/": "f02a",
13334
13352
  "./Aeditor/QuillEditor": "8958",
13335
13353
  "./Aeditor/QuillEditor/": "8958",
13336
13354
  "./Aeditor/QuillEditor/index": "8958",
@@ -13347,6 +13365,8 @@ var map = {
13347
13365
  "./Aeditor/WangEditor/index.bak.vue": "5152",
13348
13366
  "./Aeditor/WangEditor/index.css": "0231",
13349
13367
  "./Aeditor/WangEditor/index.vue": "3302",
13368
+ "./Aeditor/index": "f02a",
13369
+ "./Aeditor/index.vue": "f02a",
13350
13370
  "./Aempty": "bd5e",
13351
13371
  "./Aempty/": "bd5e",
13352
13372
  "./Aempty/index": "bd5e",
@@ -13881,23 +13901,8 @@ __webpack_require__.r(__webpack_exports__);
13881
13901
  e && e.preventDefault();
13882
13902
  let pass = !this.check; // 判断是否是空表单
13883
13903
  for (let a in this.form) if (this.form[a] != '') pass = true;
13884
- let data = {};
13885
- if (Object.keys(this.config).length > 0) {
13886
- // 格式化属性为模糊查询属性
13887
- for (let a in this.config) {
13888
- if (this.config[a] != '' && this.config[a].like && this.form[a] != '' && this.form[a] != null && this.form[a] != undefined) {
13889
- if (this.config[a].like == 'left') data[a] = '%' + this.form[a];
13890
- if (this.config[a].like == 'right') data[a] = this.form[a] + '%';else data[a] = '%' + this.form[a] + '%';
13891
- } else {
13892
- if (this.config[a] != '' && (this.config[a].than || this.config[a].range || this.config[a].scope)) {
13893
- data[`${a}LE`] = this.form[`${a}LE`];
13894
- data[`${a}GE`] = this.form[`${a}GE`];
13895
- } else if (this.form[a].includes(' 00:00:00')) data[a] = '%' + this.form[a].split(' 00:00:00')[0] + '%';else data[a] = this.form[a];
13896
- }
13897
- }
13898
- }
13899
13904
  if (pass) {
13900
- let result = this.filter(data);
13905
+ let result = this.filter(this.form);
13901
13906
  const {
13902
13907
  formParams,
13903
13908
  pageParams
@@ -13940,12 +13945,33 @@ __webpack_require__.r(__webpack_exports__);
13940
13945
  });
13941
13946
  }
13942
13947
  },
13943
- filter(form = {}) {
13944
- const data = {};
13945
- for (let a in form) {
13946
- if (form[a] != '' && form[a] != '%%' && form[a] != 'null' && form[a] != 'undefined' && form[a] != null && form[a] != undefined) data[a] = form[a];
13948
+ filter() {
13949
+ let data = {};
13950
+ if (Object.keys(this.config).length > 0) {
13951
+ // 格式化属性为模糊查询属性
13952
+ for (let a in this.config) {
13953
+ let {
13954
+ like = null,
13955
+ ...r
13956
+ } = this.config[a];
13957
+ if (like && this.form[a] != '' && this.form[a] != null && this.form[a] != undefined) {
13958
+ if (like && like == 'left' || like && like == 'l') data[a] = '%' + this.form[a];
13959
+ if (like && like == 'right' || like && like == 'r') data[a] = this.form[a] + '%';else data[a] = '%' + this.form[a] + '%';
13960
+ } else {
13961
+ if (r.than || r.range || r.scope) {
13962
+ data[`${a}LE`] = this.form[`${a}LE`];
13963
+ data[`${a}GE`] = this.form[`${a}GE`];
13964
+ } else if (this.form[a].includes(' 00:00:00')) {
13965
+ data[a] = '%' + this.form[a].split(' 00:00:00')[0] + '%';
13966
+ } else data[a] = this.form[a];
13967
+ }
13968
+ }
13947
13969
  }
13948
- return data;
13970
+ let form = {};
13971
+ for (let a in data) {
13972
+ if (data[a] != '' && data[a] != '%' && data[a] != '%%' && data[a] != 'null' && data[a] != 'undefined' && data[a] != null && data[a] != undefined) form[a] = data[a];
13973
+ }
13974
+ return form;
13949
13975
  },
13950
13976
  result() {
13951
13977
  return this.filter(this.form);
@@ -13973,11 +13999,17 @@ __webpack_require__.r(__webpack_exports__);
13973
13999
  ...config,
13974
14000
  placeholder
13975
14001
  }
14002
+ },
14003
+ "on": {
14004
+ "change": () => this.change()
13976
14005
  }
13977
14006
  });
13978
14007
  return h(_components_AformItem__WEBPACK_IMPORTED_MODULE_1__["default"], {
13979
14008
  "attrs": {
13980
14009
  "config": config
14010
+ },
14011
+ "on": {
14012
+ "change": () => this.change()
13981
14013
  }
13982
14014
  });
13983
14015
  }
@@ -14006,6 +14038,10 @@ __webpack_require__.r(__webpack_exports__);
14006
14038
  "span": 12
14007
14039
  }
14008
14040
  }, [this.format(a, `${a}GE`, this.prompt(this.config[a], 1, '最低'))])]) : this.format(a)])]);
14041
+ },
14042
+ change() {
14043
+ this.$emit('input', this.filter());
14044
+ this.$emit('change', this.filter());
14009
14045
  }
14010
14046
  },
14011
14047
  render() {
@@ -14044,12 +14080,12 @@ __webpack_require__.r(__webpack_exports__);
14044
14080
  "attrs": {
14045
14081
  "gutter": Number(this.gutter)
14046
14082
  },
14047
- "class": "main-row"
14083
+ "class": "main-rows"
14048
14084
  }, [Object.keys(this.config).map((a, b) => b < this.cols && this.output(a, b))]), h("el-row", {
14049
14085
  "attrs": {
14050
14086
  "gutter": Number(this.gutter)
14051
14087
  },
14052
- "class": "fold-row",
14088
+ "class": "fold-rows",
14053
14089
  "style": {
14054
14090
  height: this.opened ? `${this.height}px` : '0'
14055
14091
  }
@@ -19133,6 +19169,11 @@ __webpack_require__.r(__webpack_exports__);
19133
19169
  });
19134
19170
  return object;
19135
19171
  },
19172
+ change(a, b, c) {
19173
+ this.$emit('input', b, c);
19174
+ this.$emit('change', b, c);
19175
+ a.change && a.change(b, c);
19176
+ },
19136
19177
  format({
19137
19178
  form,
19138
19179
  text,
@@ -19154,7 +19195,7 @@ __webpack_require__.r(__webpack_exports__);
19154
19195
  "placeholder": props.placeholder || `请输入${words}`
19155
19196
  },
19156
19197
  "on": {
19157
- "change": props.change ? e => props.change(e) : () => false
19198
+ "change": e => this.change(props, e)
19158
19199
  },
19159
19200
  "style": {
19160
19201
  ...props.style
@@ -19176,7 +19217,7 @@ __webpack_require__.r(__webpack_exports__);
19176
19217
  "placeholder": props.placeholder || `请输入${words}`
19177
19218
  },
19178
19219
  "on": {
19179
- "change": props.change ? e => props.change(e) : () => false
19220
+ "change": e => this.change(props, e)
19180
19221
  },
19181
19222
  "style": {
19182
19223
  ...props.style
@@ -19200,7 +19241,7 @@ __webpack_require__.r(__webpack_exports__);
19200
19241
  "placeholder": props.placeholder || `请输入${words}`
19201
19242
  },
19202
19243
  "on": {
19203
- "change": props.change ? e => props.change(e) : () => false
19244
+ "change": e => this.change(props, e)
19204
19245
  },
19205
19246
  "style": {
19206
19247
  ...props.style
@@ -19222,7 +19263,7 @@ __webpack_require__.r(__webpack_exports__);
19222
19263
  "placeholder": props.placeholder || `请输入${words}`
19223
19264
  },
19224
19265
  "on": {
19225
- "change": props.change ? e => props.change(e) : () => false
19266
+ "change": e => this.change(props, e)
19226
19267
  },
19227
19268
  "style": {
19228
19269
  ...props.style
@@ -19245,7 +19286,7 @@ __webpack_require__.r(__webpack_exports__);
19245
19286
  "show-password": true
19246
19287
  },
19247
19288
  "on": {
19248
- "change": props.change ? e => props.change(e) : () => false
19289
+ "change": e => this.change(props, e)
19249
19290
  },
19250
19291
  "style": {
19251
19292
  ...props.style
@@ -19269,7 +19310,7 @@ __webpack_require__.r(__webpack_exports__);
19269
19310
  "placeholder": props.placeholder || `请选择${words}`
19270
19311
  },
19271
19312
  "on": {
19272
- "change": props.change ? e => props.change(e, this.relate(e, props.data && props.data.length > 0 ? props.data : this.option.length > 0 ? this.option : [])) : () => false
19313
+ "change": e => this.change(props, e, this.relate(e, props.data && props.data.length > 0 ? props.data : this.option.length > 0 ? this.option : []))
19273
19314
  },
19274
19315
  "style": {
19275
19316
  ...props.style
@@ -19305,7 +19346,7 @@ __webpack_require__.r(__webpack_exports__);
19305
19346
  "placeholder": props.placeholder || `请选择${words}`
19306
19347
  },
19307
19348
  "on": {
19308
- "change": props.change ? e => props.change(e) : () => false
19349
+ "change": e => this.change(props, e)
19309
19350
  },
19310
19351
  "style": {
19311
19352
  ...props.style
@@ -19323,7 +19364,7 @@ __webpack_require__.r(__webpack_exports__);
19323
19364
  case 'checkbox':
19324
19365
  return h("el-checkbox", {
19325
19366
  "on": {
19326
- "change": props.change ? e => props.change(e) : () => false
19367
+ "change": e => this.change(props, e)
19327
19368
  },
19328
19369
  "style": {
19329
19370
  ...props.style
@@ -19341,7 +19382,7 @@ __webpack_require__.r(__webpack_exports__);
19341
19382
  case 'checkboxGroup':
19342
19383
  return h("el-checkbox-group", {
19343
19384
  "on": {
19344
- "change": props.change ? e => props.change(e) : () => false
19385
+ "change": e => this.change(props, e)
19345
19386
  },
19346
19387
  "style": {
19347
19388
  ...props.style
@@ -19369,7 +19410,7 @@ __webpack_require__.r(__webpack_exports__);
19369
19410
  case 'radio':
19370
19411
  return h("el-radio-group", {
19371
19412
  "on": {
19372
- "change": props.change ? e => props.change(e) : () => false
19413
+ "change": e => this.change(props, e)
19373
19414
  },
19374
19415
  "style": {
19375
19416
  ...props.style
@@ -19397,7 +19438,7 @@ __webpack_require__.r(__webpack_exports__);
19397
19438
  case 'switch':
19398
19439
  return h("el-switch", {
19399
19440
  "on": {
19400
- "change": props.change ? e => props.change(e) : () => false
19441
+ "change": e => this.change(props, e)
19401
19442
  },
19402
19443
  "attrs": {
19403
19444
  "active-value": "1",
@@ -19432,7 +19473,7 @@ __webpack_require__.r(__webpack_exports__);
19432
19473
  "end-placeholder": "结束"
19433
19474
  },
19434
19475
  "on": {
19435
- "change": props.change ? e => props.change(e) : () => false
19476
+ "change": e => this.change(props, e)
19436
19477
  },
19437
19478
  "style": {
19438
19479
  width: props.width,
@@ -19459,7 +19500,7 @@ __webpack_require__.r(__webpack_exports__);
19459
19500
  "placeholder": props.placeholder || `请选择${words}`
19460
19501
  },
19461
19502
  "on": {
19462
- "change": props.change ? e => props.change(e) : () => false
19503
+ "change": e => this.change(props, e)
19463
19504
  },
19464
19505
  "style": {
19465
19506
  width: props.width,
@@ -19484,7 +19525,7 @@ __webpack_require__.r(__webpack_exports__);
19484
19525
  "placeholder": props.placeholder || `请选择${words}`
19485
19526
  },
19486
19527
  "on": {
19487
- "change": props.change ? e => props.change(e) : () => false
19528
+ "change": e => this.change(props, e)
19488
19529
  },
19489
19530
  "style": {
19490
19531
  width: props.width,
@@ -19509,7 +19550,7 @@ __webpack_require__.r(__webpack_exports__);
19509
19550
  "placeholder": props.placeholder || `请选择${text}`
19510
19551
  },
19511
19552
  "on": {
19512
- "change": props.change ? e => props.change(e) : () => false
19553
+ "change": e => this.change(props, e)
19513
19554
  },
19514
19555
  "style": {
19515
19556
  width: props.width,
@@ -19534,7 +19575,7 @@ __webpack_require__.r(__webpack_exports__);
19534
19575
  "placeholder": props.placeholder || `请选择${text}`
19535
19576
  },
19536
19577
  "on": {
19537
- "change": props.change ? e => props.change(e) : () => false
19578
+ "change": e => this.change(props, e)
19538
19579
  },
19539
19580
  "style": {
19540
19581
  width: props.width,
@@ -19557,7 +19598,7 @@ __webpack_require__.r(__webpack_exports__);
19557
19598
  "placeholder": props.placeholder || `请选择${text}`
19558
19599
  },
19559
19600
  "on": {
19560
- "change": props.change ? e => props.change(e) : () => false
19601
+ "change": e => this.change(props, e)
19561
19602
  },
19562
19603
  "style": {
19563
19604
  width: props.width,
@@ -19581,7 +19622,7 @@ __webpack_require__.r(__webpack_exports__);
19581
19622
  "placeholder": props.placeholder || `请选择${words}`
19582
19623
  },
19583
19624
  "on": {
19584
- "change": props.change ? e => props.change(e) : () => false
19625
+ "change": e => this.change(props, e)
19585
19626
  },
19586
19627
  "style": {
19587
19628
  ...props.style
@@ -19604,7 +19645,7 @@ __webpack_require__.r(__webpack_exports__);
19604
19645
  "placeholder": props.placeholder || `请选择${words}`
19605
19646
  },
19606
19647
  "on": {
19607
- "change": props.change ? e => props.change(e) : () => false
19648
+ "change": e => this.change(props, e)
19608
19649
  },
19609
19650
  "style": {
19610
19651
  ...props.style
@@ -19623,7 +19664,7 @@ __webpack_require__.r(__webpack_exports__);
19623
19664
  return h(_components_AiconSelect__WEBPACK_IMPORTED_MODULE_0__["default"], {
19624
19665
  "key": this.rand,
19625
19666
  "on": {
19626
- "change": props.change ? e => props.change(e) : () => false
19667
+ "change": e => this.change(props, e)
19627
19668
  },
19628
19669
  "attrs": {
19629
19670
  "placeholder": props.placeholder || `请选择${words}`
@@ -19646,7 +19687,7 @@ __webpack_require__.r(__webpack_exports__);
19646
19687
  return h(_components_AiconSelect__WEBPACK_IMPORTED_MODULE_0__["default"], {
19647
19688
  "key": this.rand,
19648
19689
  "on": {
19649
- "change": props.change ? e => props.change(e) : () => false
19690
+ "change": e => this.change(props, e)
19650
19691
  },
19651
19692
  "attrs": {
19652
19693
  "placeholder": props.placeholder || `请选择${words}`
@@ -19665,7 +19706,7 @@ __webpack_require__.r(__webpack_exports__);
19665
19706
  }
19666
19707
  }
19667
19708
  });
19668
- // case 'editor': return <Aeditor v-model={form[field]} on-change={props.change ? e => props.change(e) : () => false} placeholder={`请输入${words}`} style={{ ...props.style }} {...{ props }} />
19709
+ // case 'editor': return <Aeditor v-model={form[field]} on-change={e => this.change(props, e)} placeholder={`请输入${words}`} style={{ ...props.style }} {...{ props }} />
19669
19710
  case 'custom':
19670
19711
  return props.render(this.filter(form), props);
19671
19712
  default:
@@ -19675,7 +19716,7 @@ __webpack_require__.r(__webpack_exports__);
19675
19716
  "placeholder": props.placeholder || `请输入${words}`
19676
19717
  },
19677
19718
  "on": {
19678
- "change": props.change ? e => props.change(e) : () => false
19719
+ "change": e => this.change(props, e)
19679
19720
  },
19680
19721
  "style": {
19681
19722
  ...props.style
@@ -131722,6 +131763,10 @@ __webpack_require__.r(__webpack_exports__);
131722
131763
  },
131723
131764
  result() {
131724
131765
  return this.filter(this.form);
131766
+ },
131767
+ change() {
131768
+ this.$emit('input', this.form);
131769
+ this.$emit('change', this.form);
131725
131770
  }
131726
131771
  },
131727
131772
  render() {
@@ -131775,6 +131820,9 @@ __webpack_require__.r(__webpack_exports__);
131775
131820
  field: `${a.name}`,
131776
131821
  ...a
131777
131822
  }
131823
+ },
131824
+ "on": {
131825
+ "change": () => this.change()
131778
131826
  }
131779
131827
  })])), Object.keys(this.object).length > 0 && Object.keys(this.object).map((a, b) => h("el-form-item", {
131780
131828
  "key": b,
@@ -131798,6 +131846,9 @@ __webpack_require__.r(__webpack_exports__);
131798
131846
  field: `${a}`,
131799
131847
  ...this.object[a]
131800
131848
  }
131849
+ },
131850
+ "on": {
131851
+ "change": () => this.change()
131801
131852
  }
131802
131853
  })])), this.$slots.default, (finish || submit || cancel) && h("div", {
131803
131854
  "class": "action"
@@ -133618,6 +133669,10 @@ __webpack_require__.r(__webpack_exports__);
133618
133669
  type: String,
133619
133670
  default: () => '1'
133620
133671
  },
133672
+ value: {
133673
+ type: Object,
133674
+ default: () => ({})
133675
+ },
133621
133676
  gutter: {
133622
133677
  type: String,
133623
133678
  default: () => '10'
@@ -133784,7 +133839,7 @@ __webpack_require__.r(__webpack_exports__);
133784
133839
  refine(form = {}) {
133785
133840
  let data = {};
133786
133841
  Object.keys(form).forEach(a => {
133787
- if (a != undefined && a != 'undefined' && form[a] != '%%' && form[a] != 'null' && form[a] != 'undefined' && form[a] != null && form[a] != undefined) {
133842
+ if (a != undefined && a != 'undefined' && form[a] != '%' && form[a] != '%%' && form[a] != 'null' && form[a] != 'undefined' && form[a] != null && form[a] != undefined) {
133788
133843
  data[a] = form[a];
133789
133844
  } else data[a] = '';
133790
133845
  });
@@ -133809,7 +133864,7 @@ __webpack_require__.r(__webpack_exports__);
133809
133864
  // 过滤空值属性
133810
133865
  const data = {};
133811
133866
  for (let a in form) {
133812
- if (a != undefined && a != 'undefined' && form[a] != '%%' && form[a] != 'null' && form[a] != 'undefined' && form[a] != null && form[a] != undefined) {
133867
+ if (a != undefined && a != 'undefined' && form[a] != '%' && form[a] != '%%' && form[a] != 'null' && form[a] != 'undefined' && form[a] != null && form[a] != undefined) {
133813
133868
  data[a] = form[a];
133814
133869
  }
133815
133870
  }
@@ -133863,6 +133918,9 @@ __webpack_require__.r(__webpack_exports__);
133863
133918
  }, [h(_components_AformItem__WEBPACK_IMPORTED_MODULE_1__["default"], {
133864
133919
  "attrs": {
133865
133920
  "config": config
133921
+ },
133922
+ "on": {
133923
+ "change": () => this.change()
133866
133924
  }
133867
133925
  })]), h("el-col", {
133868
133926
  "attrs": {
@@ -133873,8 +133931,15 @@ __webpack_require__.r(__webpack_exports__);
133873
133931
  }, [`(${r.hint})`])])]) : h(_components_AformItem__WEBPACK_IMPORTED_MODULE_1__["default"], {
133874
133932
  "attrs": {
133875
133933
  "config": config
133934
+ },
133935
+ "on": {
133936
+ "change": () => this.change()
133876
133937
  }
133877
133938
  })]);
133939
+ },
133940
+ change() {
133941
+ this.$emit('input', this.form);
133942
+ this.$emit('change', this.form);
133878
133943
  }
133879
133944
  },
133880
133945
  render() {
@@ -136254,35 +136319,26 @@ __webpack_require__.r(__webpack_exports__);
136254
136319
  showOverflowTooltip: a.showOverflowTooltip ? a.showOverflowTooltip : this.showOverflowTooltip,
136255
136320
  ...r
136256
136321
  };
136257
- if (child.length > 0) {
136258
- return h("el-table-column", {
136259
- "key": b,
136260
- "attrs": {
136261
- "label": label
136262
- }
136263
- }, [child.map((c, d) => this.output(c, `${b}-${d}`))]);
136264
- } else {
136265
- return h("el-table-column", {
136266
- "props": {
136267
- ...props
136268
- }
136269
- }, [h("template", {
136270
- "slot": "header"
136271
- }, [header ? () => header(r) : label && label != '' && label.length && label.length > 8 ? h("el-tooltip", {
136272
- "attrs": {
136273
- "content": label,
136274
- "placement": "top"
136275
- }
136276
- }, [h("span", {
136277
- "attrs": {
136278
- "title": label
136279
- }
136280
- }, [label])]) : h("span", {
136281
- "attrs": {
136282
- "title": label
136283
- }
136284
- }, [label])])]);
136285
- }
136322
+ return h("el-table-column", {
136323
+ "props": {
136324
+ ...props
136325
+ }
136326
+ }, [h("template", {
136327
+ "slot": "header"
136328
+ }, [header ? () => header(r) : label && label != '' && label.length && label.length > 8 ? h("el-tooltip", {
136329
+ "attrs": {
136330
+ "content": label,
136331
+ "placement": "top"
136332
+ }
136333
+ }, [h("span", {
136334
+ "attrs": {
136335
+ "title": label
136336
+ }
136337
+ }, [label])]) : h("span", {
136338
+ "attrs": {
136339
+ "title": label
136340
+ }
136341
+ }, [label])]), child.length > 0 && child.map((c, d) => this.output(c, `${b}-${d}`))]);
136286
136342
  }
136287
136343
  },
136288
136344
  suffix() {
@@ -158461,10 +158517,6 @@ __webpack_require__.r(__webpack_exports__);
158461
158517
  default: () => '16px'
158462
158518
  },
158463
158519
  height: {
158464
- type: String,
158465
- default: () => 'auto'
158466
- },
158467
- maxHeight: {
158468
158520
  type: String,
158469
158521
  default: () => '72vh'
158470
158522
  },
@@ -158586,8 +158638,7 @@ __webpack_require__.r(__webpack_exports__);
158586
158638
  "class": "a-dialog-body",
158587
158639
  "style": {
158588
158640
  padding: this.padding,
158589
- height: this.height,
158590
- maxHeight: this.maxHeight
158641
+ maxHeight: this.height
158591
158642
  }
158592
158643
  }, [this.$slots.default]), h("div", {
158593
158644
  "class": finish || submit || cancel ? 'a-dialog-foot' : 'a-dialog-foot custom'
@@ -161598,6 +161649,101 @@ exports.updateCenterAndZoom = updateCenterAndZoom;
161598
161649
 
161599
161650
  /***/ }),
161600
161651
 
161652
+ /***/ "f02a":
161653
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
161654
+
161655
+ "use strict";
161656
+ // ESM COMPAT FLAG
161657
+ __webpack_require__.r(__webpack_exports__);
161658
+
161659
+ // CONCATENATED MODULE: ./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7125891e-vue-loader-template"}!./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--13-0!./node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!./node_modules/_babel-loader@8.3.0@babel-loader/lib!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--1-0!./node_modules/_vue-loader@15.10.1@vue-loader/lib??vue-loader-options!./src/components/Aeditor/index.vue?vue&type=template&id=5ec409b4&
161660
+ var render = function render() {
161661
+ var _vm = this,
161662
+ _c = _vm._self._c;
161663
+ return _c('div', {
161664
+ staticClass: "a-editor"
161665
+ });
161666
+ };
161667
+ var staticRenderFns = [];
161668
+
161669
+ // CONCATENATED MODULE: ./src/components/Aeditor/index.vue?vue&type=template&id=5ec409b4&
161670
+
161671
+ // CONCATENATED MODULE: ./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--13-0!./node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!./node_modules/_babel-loader@8.3.0@babel-loader/lib!./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--1-0!./node_modules/_vue-loader@15.10.1@vue-loader/lib??vue-loader-options!./src/components/Aeditor/index.vue?vue&type=script&lang=js&
161672
+ // import 'quill/dist/quill.core.css'
161673
+ // import 'quill/dist/quill.snow.css'
161674
+ // import 'quill/dist/quill.bubble.css'
161675
+ // import { quillEditor } from 'vue-quill-editor';
161676
+
161677
+ /* harmony default export */ var Aeditorvue_type_script_lang_js_ = ({
161678
+ // props: {
161679
+ // height: { type: String, default: () => '32vh' },
161680
+ // config: { type: Object, default: () => ({}) },
161681
+ // values: { type: String, default: () => '' },
161682
+ // },
161683
+ // components: {
161684
+ // quillEditor
161685
+ // },
161686
+ // data() {
161687
+ // return {
161688
+ // content: '',
161689
+ // option: {
161690
+ // placeholder: '编辑文章内容',
161691
+ // ...this.config
161692
+ // },
161693
+ // }
161694
+ // },
161695
+ // watch: {
161696
+ // values: {
161697
+ // deep: true,
161698
+ // handler() {
161699
+ // this.create();
161700
+ // },
161701
+ // }
161702
+ // },
161703
+ // mounted() {
161704
+ // this.create();
161705
+ // },
161706
+ // methods: {
161707
+ // create() {
161708
+ // const container = document.getElementsByClassName('ql-editor')[0];
161709
+ // container && (container.style.minHeight = this.height);
161710
+ // this.$nextTick(() => this.content = this.values);
161711
+ // },
161712
+ // change({ editor, html, text }) {
161713
+ // this.content = html;
161714
+ // this.$emit('input', html);
161715
+ // this.$emit('change', { html, text });
161716
+ // },
161717
+ // }
161718
+ });
161719
+ // CONCATENATED MODULE: ./src/components/Aeditor/index.vue?vue&type=script&lang=js&
161720
+ /* harmony default export */ var components_Aeditorvue_type_script_lang_js_ = (Aeditorvue_type_script_lang_js_);
161721
+ // EXTERNAL MODULE: ./node_modules/_vue-loader@15.10.1@vue-loader/lib/runtime/componentNormalizer.js
161722
+ var componentNormalizer = __webpack_require__("e607");
161723
+
161724
+ // CONCATENATED MODULE: ./src/components/Aeditor/index.vue
161725
+
161726
+
161727
+
161728
+
161729
+
161730
+ /* normalize component */
161731
+
161732
+ var component = Object(componentNormalizer["a" /* default */])(
161733
+ components_Aeditorvue_type_script_lang_js_,
161734
+ render,
161735
+ staticRenderFns,
161736
+ false,
161737
+ null,
161738
+ null,
161739
+ null
161740
+
161741
+ )
161742
+
161743
+ /* harmony default export */ var Aeditor = __webpack_exports__["default"] = (component.exports);
161744
+
161745
+ /***/ }),
161746
+
161601
161747
  /***/ "f049":
161602
161748
  /***/ (function(module, exports, __webpack_require__) {
161603
161749
 
@@ -164047,6 +164193,7 @@ var map = {
164047
164193
  "./Aecharts/index.vue": "65d8",
164048
164194
  "./Aeditor/QuillEditor/index.vue": "8958",
164049
164195
  "./Aeditor/WangEditor/index.vue": "3302",
164196
+ "./Aeditor/index.vue": "f02a",
164050
164197
  "./Aplayer/index.vue": "1c4e",
164051
164198
  "./Atree/index.vue": "ce34",
164052
164199
  "./Aupload/File/index.vue": "3a9a",
@@ -167232,23 +167379,8 @@ __webpack_require__.r(__webpack_exports__);
167232
167379
  e && e.preventDefault();
167233
167380
  let pass = !this.check; // 判断是否是空表单
167234
167381
  for (let a in this.form) if (this.form[a] != '') pass = true;
167235
- let data = {};
167236
- if (Object.keys(this.config).length > 0) {
167237
- // 格式化属性为模糊查询属性
167238
- for (let a in this.config) {
167239
- if (this.config[a] != '' && this.config[a].like && this.form[a] != '' && this.form[a] != null && this.form[a] != undefined) {
167240
- if (this.config[a].like == 'left') data[a] = '%' + this.form[a];
167241
- if (this.config[a].like == 'right') data[a] = this.form[a] + '%';else data[a] = '%' + this.form[a] + '%';
167242
- } else {
167243
- if (this.config[a] != '' && (this.config[a].than || this.config[a].range || this.config[a].scope)) {
167244
- data[`${a}LE`] = this.form[`${a}LE`];
167245
- data[`${a}GE`] = this.form[`${a}GE`];
167246
- } else if (this.form[a].includes(' 00:00:00')) data[a] = '%' + this.form[a].split(' 00:00:00')[0] + '%';else data[a] = this.form[a];
167247
- }
167248
- }
167249
- }
167250
167382
  if (pass) {
167251
- let result = this.filter(data);
167383
+ let result = this.filter();
167252
167384
  this.$nextTick(() => {
167253
167385
  this.$emit('submit', {
167254
167386
  ...result,
@@ -167270,12 +167402,33 @@ __webpack_require__.r(__webpack_exports__);
167270
167402
  });
167271
167403
  }
167272
167404
  },
167273
- filter(form = {}) {
167274
- const data = {};
167275
- for (let a in form) {
167276
- if (form[a] != '' && form[a] != '%%' && form[a] != 'null' && form[a] != 'undefined' && form[a] != null && form[a] != undefined) data[a] = form[a];
167405
+ filter() {
167406
+ let data = {};
167407
+ if (Object.keys(this.config).length > 0) {
167408
+ // 格式化属性为模糊查询属性
167409
+ for (let a in this.config) {
167410
+ let {
167411
+ like = null,
167412
+ ...r
167413
+ } = this.config[a];
167414
+ if (like && this.form[a] != '' && this.form[a] != null && this.form[a] != undefined) {
167415
+ if (like && like == 'left' || like && like == 'l') data[a] = '%' + this.form[a];
167416
+ if (like && like == 'right' || like && like == 'r') data[a] = this.form[a] + '%';else data[a] = '%' + this.form[a] + '%';
167417
+ } else {
167418
+ if (r.than || r.range || r.scope) {
167419
+ data[`${a}LE`] = this.form[`${a}LE`];
167420
+ data[`${a}GE`] = this.form[`${a}GE`];
167421
+ } else if (this.form[a].includes(' 00:00:00')) {
167422
+ data[a] = '%' + this.form[a].split(' 00:00:00')[0] + '%';
167423
+ } else data[a] = this.form[a];
167424
+ }
167425
+ }
167277
167426
  }
167278
- return data;
167427
+ let form = {};
167428
+ for (let a in data) {
167429
+ if (data[a] != '' && data[a] != '%' && data[a] != '%%' && data[a] != 'null' && data[a] != 'undefined' && data[a] != null && data[a] != undefined) form[a] = data[a];
167430
+ }
167431
+ return form;
167279
167432
  },
167280
167433
  result() {
167281
167434
  return this.filter(this.form);
@@ -167303,11 +167456,17 @@ __webpack_require__.r(__webpack_exports__);
167303
167456
  ...config,
167304
167457
  placeholder
167305
167458
  }
167459
+ },
167460
+ "on": {
167461
+ "change": () => this.change()
167306
167462
  }
167307
167463
  });
167308
167464
  return h(_components_AformItem__WEBPACK_IMPORTED_MODULE_1__["default"], {
167309
167465
  "attrs": {
167310
167466
  "config": config
167467
+ },
167468
+ "on": {
167469
+ "change": () => this.change()
167311
167470
  }
167312
167471
  });
167313
167472
  }
@@ -167336,6 +167495,10 @@ __webpack_require__.r(__webpack_exports__);
167336
167495
  "span": 12
167337
167496
  }
167338
167497
  }, [this.format(a, `${a}GE`, this.prompt(this.config[a], 1, '最低'))])]) : this.format(a)])]);
167498
+ },
167499
+ change() {
167500
+ this.$emit('input', this.filter());
167501
+ this.$emit('change', this.filter());
167339
167502
  }
167340
167503
  },
167341
167504
  render() {
@@ -167374,12 +167537,12 @@ __webpack_require__.r(__webpack_exports__);
167374
167537
  "attrs": {
167375
167538
  "gutter": Number(this.gutter)
167376
167539
  },
167377
- "class": "main-row"
167540
+ "class": "main-rows"
167378
167541
  }, [Object.keys(this.config).map((a, b) => b < this.cols && this.output(a, b))]), h("el-row", {
167379
167542
  "attrs": {
167380
167543
  "gutter": Number(this.gutter)
167381
167544
  },
167382
- "class": "fold-row",
167545
+ "class": "fold-rows",
167383
167546
  "style": {
167384
167547
  height: this.opened ? `${this.height}px` : '0'
167385
167548
  }