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.
@@ -12892,23 +12892,8 @@ __webpack_require__.r(__webpack_exports__);
12892
12892
  e && e.preventDefault();
12893
12893
  let pass = !this.check; // 判断是否是空表单
12894
12894
  for (let a in this.form) if (this.form[a] != '') pass = true;
12895
- let data = {};
12896
- if (Object.keys(this.config).length > 0) {
12897
- // 格式化属性为模糊查询属性
12898
- for (let a in this.config) {
12899
- if (this.config[a] != '' && this.config[a].like && this.form[a] != '' && this.form[a] != null && this.form[a] != undefined) {
12900
- if (this.config[a].like == 'left') data[a] = '%' + this.form[a];
12901
- if (this.config[a].like == 'right') data[a] = this.form[a] + '%';else data[a] = '%' + this.form[a] + '%';
12902
- } else {
12903
- if (this.config[a] != '' && (this.config[a].than || this.config[a].range || this.config[a].scope)) {
12904
- data[`${a}LE`] = this.form[`${a}LE`];
12905
- data[`${a}GE`] = this.form[`${a}GE`];
12906
- } 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];
12907
- }
12908
- }
12909
- }
12910
12895
  if (pass) {
12911
- let result = this.filter(data);
12896
+ let result = this.filter();
12912
12897
  const {
12913
12898
  formParams,
12914
12899
  pageParams
@@ -12951,15 +12936,36 @@ __webpack_require__.r(__webpack_exports__);
12951
12936
  });
12952
12937
  }
12953
12938
  },
12954
- filter(form = {}) {
12939
+ filter() {
12955
12940
  // 过滤空值属性
12956
- const data = {};
12957
- for (let a in form) {
12958
- if (a != undefined && a != 'undefined' && form[a] != '' && form[a] != '%%' && form[a] != 'null' && form[a] != 'undefined' && form[a] != null && form[a] != undefined) {
12959
- data[a] = form[a];
12941
+ let data = {};
12942
+ if (Object.keys(this.config).length > 0) {
12943
+ // 格式化属性为模糊查询属性
12944
+ for (let a in this.config) {
12945
+ let {
12946
+ like = null,
12947
+ ...r
12948
+ } = this.config[a];
12949
+ if (like && this.form[a] != '' && this.form[a] != null && this.form[a] != undefined) {
12950
+ if (like && like == 'left' || like && like == 'l') data[a] = '%' + this.form[a];
12951
+ if (like && like == 'right' || like && like == 'r') data[a] = this.form[a] + '%';else data[a] = '%' + this.form[a] + '%';
12952
+ } else {
12953
+ if (r.than || r.range || r.scope) {
12954
+ data[`${a}LE`] = this.form[`${a}LE`];
12955
+ data[`${a}GE`] = this.form[`${a}GE`];
12956
+ } else if (this.form[a].includes(' 00:00:00')) {
12957
+ data[a] = '%' + this.form[a].split(' 00:00:00')[0] + '%';
12958
+ } else data[a] = this.form[a];
12959
+ }
12960
12960
  }
12961
12961
  }
12962
- return data;
12962
+ let form = {};
12963
+ for (let a in data) {
12964
+ if (a != undefined && a != 'undefined' && data[a] != '' && data[a] != '%' && data[a] != '%%' && data[a] != 'null' && data[a] != 'undefined' && data[a] != null && data[a] != undefined) {
12965
+ form[a] = data[a];
12966
+ }
12967
+ }
12968
+ return form;
12963
12969
  },
12964
12970
  result() {
12965
12971
  // 返回验证后的表单数据
@@ -12985,14 +12991,24 @@ __webpack_require__.r(__webpack_exports__);
12985
12991
  ...config,
12986
12992
  placeholder
12987
12993
  }
12994
+ },
12995
+ "on": {
12996
+ "change": () => this.change()
12988
12997
  }
12989
12998
  });
12990
12999
  return h(_components_AformItem__WEBPACK_IMPORTED_MODULE_1__["default"], {
12991
13000
  "attrs": {
12992
13001
  "config": config
13002
+ },
13003
+ "on": {
13004
+ "change": () => this.change()
12993
13005
  }
12994
13006
  });
12995
13007
  }
13008
+ },
13009
+ change() {
13010
+ this.$emit('input', this.filter());
13011
+ this.$emit('change', this.filter());
12996
13012
  }
12997
13013
  },
12998
13014
  render() {
@@ -13322,6 +13338,8 @@ var map = {
13322
13338
  "./Aecharts/index.vue": "65d8",
13323
13339
  "./Aecharts/tools": "a0e9",
13324
13340
  "./Aecharts/tools.js": "a0e9",
13341
+ "./Aeditor": "f02a",
13342
+ "./Aeditor/": "f02a",
13325
13343
  "./Aeditor/QuillEditor": "8958",
13326
13344
  "./Aeditor/QuillEditor/": "8958",
13327
13345
  "./Aeditor/QuillEditor/index": "8958",
@@ -13338,6 +13356,8 @@ var map = {
13338
13356
  "./Aeditor/WangEditor/index.bak.vue": "5152",
13339
13357
  "./Aeditor/WangEditor/index.css": "0231",
13340
13358
  "./Aeditor/WangEditor/index.vue": "3302",
13359
+ "./Aeditor/index": "f02a",
13360
+ "./Aeditor/index.vue": "f02a",
13341
13361
  "./Aempty": "bd5e",
13342
13362
  "./Aempty/": "bd5e",
13343
13363
  "./Aempty/index": "bd5e",
@@ -13872,23 +13892,8 @@ __webpack_require__.r(__webpack_exports__);
13872
13892
  e && e.preventDefault();
13873
13893
  let pass = !this.check; // 判断是否是空表单
13874
13894
  for (let a in this.form) if (this.form[a] != '') pass = true;
13875
- let data = {};
13876
- if (Object.keys(this.config).length > 0) {
13877
- // 格式化属性为模糊查询属性
13878
- for (let a in this.config) {
13879
- if (this.config[a] != '' && this.config[a].like && this.form[a] != '' && this.form[a] != null && this.form[a] != undefined) {
13880
- if (this.config[a].like == 'left') data[a] = '%' + this.form[a];
13881
- if (this.config[a].like == 'right') data[a] = this.form[a] + '%';else data[a] = '%' + this.form[a] + '%';
13882
- } else {
13883
- if (this.config[a] != '' && (this.config[a].than || this.config[a].range || this.config[a].scope)) {
13884
- data[`${a}LE`] = this.form[`${a}LE`];
13885
- data[`${a}GE`] = this.form[`${a}GE`];
13886
- } 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];
13887
- }
13888
- }
13889
- }
13890
13895
  if (pass) {
13891
- let result = this.filter(data);
13896
+ let result = this.filter(this.form);
13892
13897
  const {
13893
13898
  formParams,
13894
13899
  pageParams
@@ -13931,12 +13936,33 @@ __webpack_require__.r(__webpack_exports__);
13931
13936
  });
13932
13937
  }
13933
13938
  },
13934
- filter(form = {}) {
13935
- const data = {};
13936
- for (let a in form) {
13937
- if (form[a] != '' && form[a] != '%%' && form[a] != 'null' && form[a] != 'undefined' && form[a] != null && form[a] != undefined) data[a] = form[a];
13939
+ filter() {
13940
+ let data = {};
13941
+ if (Object.keys(this.config).length > 0) {
13942
+ // 格式化属性为模糊查询属性
13943
+ for (let a in this.config) {
13944
+ let {
13945
+ like = null,
13946
+ ...r
13947
+ } = this.config[a];
13948
+ if (like && this.form[a] != '' && this.form[a] != null && this.form[a] != undefined) {
13949
+ if (like && like == 'left' || like && like == 'l') data[a] = '%' + this.form[a];
13950
+ if (like && like == 'right' || like && like == 'r') data[a] = this.form[a] + '%';else data[a] = '%' + this.form[a] + '%';
13951
+ } else {
13952
+ if (r.than || r.range || r.scope) {
13953
+ data[`${a}LE`] = this.form[`${a}LE`];
13954
+ data[`${a}GE`] = this.form[`${a}GE`];
13955
+ } else if (this.form[a].includes(' 00:00:00')) {
13956
+ data[a] = '%' + this.form[a].split(' 00:00:00')[0] + '%';
13957
+ } else data[a] = this.form[a];
13958
+ }
13959
+ }
13938
13960
  }
13939
- return data;
13961
+ let form = {};
13962
+ for (let a in data) {
13963
+ if (data[a] != '' && data[a] != '%' && data[a] != '%%' && data[a] != 'null' && data[a] != 'undefined' && data[a] != null && data[a] != undefined) form[a] = data[a];
13964
+ }
13965
+ return form;
13940
13966
  },
13941
13967
  result() {
13942
13968
  return this.filter(this.form);
@@ -13964,11 +13990,17 @@ __webpack_require__.r(__webpack_exports__);
13964
13990
  ...config,
13965
13991
  placeholder
13966
13992
  }
13993
+ },
13994
+ "on": {
13995
+ "change": () => this.change()
13967
13996
  }
13968
13997
  });
13969
13998
  return h(_components_AformItem__WEBPACK_IMPORTED_MODULE_1__["default"], {
13970
13999
  "attrs": {
13971
14000
  "config": config
14001
+ },
14002
+ "on": {
14003
+ "change": () => this.change()
13972
14004
  }
13973
14005
  });
13974
14006
  }
@@ -13997,6 +14029,10 @@ __webpack_require__.r(__webpack_exports__);
13997
14029
  "span": 12
13998
14030
  }
13999
14031
  }, [this.format(a, `${a}GE`, this.prompt(this.config[a], 1, '最低'))])]) : this.format(a)])]);
14032
+ },
14033
+ change() {
14034
+ this.$emit('input', this.filter());
14035
+ this.$emit('change', this.filter());
14000
14036
  }
14001
14037
  },
14002
14038
  render() {
@@ -14035,12 +14071,12 @@ __webpack_require__.r(__webpack_exports__);
14035
14071
  "attrs": {
14036
14072
  "gutter": Number(this.gutter)
14037
14073
  },
14038
- "class": "main-row"
14074
+ "class": "main-rows"
14039
14075
  }, [Object.keys(this.config).map((a, b) => b < this.cols && this.output(a, b))]), h("el-row", {
14040
14076
  "attrs": {
14041
14077
  "gutter": Number(this.gutter)
14042
14078
  },
14043
- "class": "fold-row",
14079
+ "class": "fold-rows",
14044
14080
  "style": {
14045
14081
  height: this.opened ? `${this.height}px` : '0'
14046
14082
  }
@@ -19124,6 +19160,11 @@ __webpack_require__.r(__webpack_exports__);
19124
19160
  });
19125
19161
  return object;
19126
19162
  },
19163
+ change(a, b, c) {
19164
+ this.$emit('input', b, c);
19165
+ this.$emit('change', b, c);
19166
+ a.change && a.change(b, c);
19167
+ },
19127
19168
  format({
19128
19169
  form,
19129
19170
  text,
@@ -19145,7 +19186,7 @@ __webpack_require__.r(__webpack_exports__);
19145
19186
  "placeholder": props.placeholder || `请输入${words}`
19146
19187
  },
19147
19188
  "on": {
19148
- "change": props.change ? e => props.change(e) : () => false
19189
+ "change": e => this.change(props, e)
19149
19190
  },
19150
19191
  "style": {
19151
19192
  ...props.style
@@ -19167,7 +19208,7 @@ __webpack_require__.r(__webpack_exports__);
19167
19208
  "placeholder": props.placeholder || `请输入${words}`
19168
19209
  },
19169
19210
  "on": {
19170
- "change": props.change ? e => props.change(e) : () => false
19211
+ "change": e => this.change(props, e)
19171
19212
  },
19172
19213
  "style": {
19173
19214
  ...props.style
@@ -19191,7 +19232,7 @@ __webpack_require__.r(__webpack_exports__);
19191
19232
  "placeholder": props.placeholder || `请输入${words}`
19192
19233
  },
19193
19234
  "on": {
19194
- "change": props.change ? e => props.change(e) : () => false
19235
+ "change": e => this.change(props, e)
19195
19236
  },
19196
19237
  "style": {
19197
19238
  ...props.style
@@ -19213,7 +19254,7 @@ __webpack_require__.r(__webpack_exports__);
19213
19254
  "placeholder": props.placeholder || `请输入${words}`
19214
19255
  },
19215
19256
  "on": {
19216
- "change": props.change ? e => props.change(e) : () => false
19257
+ "change": e => this.change(props, e)
19217
19258
  },
19218
19259
  "style": {
19219
19260
  ...props.style
@@ -19236,7 +19277,7 @@ __webpack_require__.r(__webpack_exports__);
19236
19277
  "show-password": true
19237
19278
  },
19238
19279
  "on": {
19239
- "change": props.change ? e => props.change(e) : () => false
19280
+ "change": e => this.change(props, e)
19240
19281
  },
19241
19282
  "style": {
19242
19283
  ...props.style
@@ -19260,7 +19301,7 @@ __webpack_require__.r(__webpack_exports__);
19260
19301
  "placeholder": props.placeholder || `请选择${words}`
19261
19302
  },
19262
19303
  "on": {
19263
- "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
19304
+ "change": e => this.change(props, e, this.relate(e, props.data && props.data.length > 0 ? props.data : this.option.length > 0 ? this.option : []))
19264
19305
  },
19265
19306
  "style": {
19266
19307
  ...props.style
@@ -19296,7 +19337,7 @@ __webpack_require__.r(__webpack_exports__);
19296
19337
  "placeholder": props.placeholder || `请选择${words}`
19297
19338
  },
19298
19339
  "on": {
19299
- "change": props.change ? e => props.change(e) : () => false
19340
+ "change": e => this.change(props, e)
19300
19341
  },
19301
19342
  "style": {
19302
19343
  ...props.style
@@ -19314,7 +19355,7 @@ __webpack_require__.r(__webpack_exports__);
19314
19355
  case 'checkbox':
19315
19356
  return h("el-checkbox", {
19316
19357
  "on": {
19317
- "change": props.change ? e => props.change(e) : () => false
19358
+ "change": e => this.change(props, e)
19318
19359
  },
19319
19360
  "style": {
19320
19361
  ...props.style
@@ -19332,7 +19373,7 @@ __webpack_require__.r(__webpack_exports__);
19332
19373
  case 'checkboxGroup':
19333
19374
  return h("el-checkbox-group", {
19334
19375
  "on": {
19335
- "change": props.change ? e => props.change(e) : () => false
19376
+ "change": e => this.change(props, e)
19336
19377
  },
19337
19378
  "style": {
19338
19379
  ...props.style
@@ -19360,7 +19401,7 @@ __webpack_require__.r(__webpack_exports__);
19360
19401
  case 'radio':
19361
19402
  return h("el-radio-group", {
19362
19403
  "on": {
19363
- "change": props.change ? e => props.change(e) : () => false
19404
+ "change": e => this.change(props, e)
19364
19405
  },
19365
19406
  "style": {
19366
19407
  ...props.style
@@ -19388,7 +19429,7 @@ __webpack_require__.r(__webpack_exports__);
19388
19429
  case 'switch':
19389
19430
  return h("el-switch", {
19390
19431
  "on": {
19391
- "change": props.change ? e => props.change(e) : () => false
19432
+ "change": e => this.change(props, e)
19392
19433
  },
19393
19434
  "attrs": {
19394
19435
  "active-value": "1",
@@ -19423,7 +19464,7 @@ __webpack_require__.r(__webpack_exports__);
19423
19464
  "end-placeholder": "结束"
19424
19465
  },
19425
19466
  "on": {
19426
- "change": props.change ? e => props.change(e) : () => false
19467
+ "change": e => this.change(props, e)
19427
19468
  },
19428
19469
  "style": {
19429
19470
  width: props.width,
@@ -19450,7 +19491,7 @@ __webpack_require__.r(__webpack_exports__);
19450
19491
  "placeholder": props.placeholder || `请选择${words}`
19451
19492
  },
19452
19493
  "on": {
19453
- "change": props.change ? e => props.change(e) : () => false
19494
+ "change": e => this.change(props, e)
19454
19495
  },
19455
19496
  "style": {
19456
19497
  width: props.width,
@@ -19475,7 +19516,7 @@ __webpack_require__.r(__webpack_exports__);
19475
19516
  "placeholder": props.placeholder || `请选择${words}`
19476
19517
  },
19477
19518
  "on": {
19478
- "change": props.change ? e => props.change(e) : () => false
19519
+ "change": e => this.change(props, e)
19479
19520
  },
19480
19521
  "style": {
19481
19522
  width: props.width,
@@ -19500,7 +19541,7 @@ __webpack_require__.r(__webpack_exports__);
19500
19541
  "placeholder": props.placeholder || `请选择${text}`
19501
19542
  },
19502
19543
  "on": {
19503
- "change": props.change ? e => props.change(e) : () => false
19544
+ "change": e => this.change(props, e)
19504
19545
  },
19505
19546
  "style": {
19506
19547
  width: props.width,
@@ -19525,7 +19566,7 @@ __webpack_require__.r(__webpack_exports__);
19525
19566
  "placeholder": props.placeholder || `请选择${text}`
19526
19567
  },
19527
19568
  "on": {
19528
- "change": props.change ? e => props.change(e) : () => false
19569
+ "change": e => this.change(props, e)
19529
19570
  },
19530
19571
  "style": {
19531
19572
  width: props.width,
@@ -19548,7 +19589,7 @@ __webpack_require__.r(__webpack_exports__);
19548
19589
  "placeholder": props.placeholder || `请选择${text}`
19549
19590
  },
19550
19591
  "on": {
19551
- "change": props.change ? e => props.change(e) : () => false
19592
+ "change": e => this.change(props, e)
19552
19593
  },
19553
19594
  "style": {
19554
19595
  width: props.width,
@@ -19572,7 +19613,7 @@ __webpack_require__.r(__webpack_exports__);
19572
19613
  "placeholder": props.placeholder || `请选择${words}`
19573
19614
  },
19574
19615
  "on": {
19575
- "change": props.change ? e => props.change(e) : () => false
19616
+ "change": e => this.change(props, e)
19576
19617
  },
19577
19618
  "style": {
19578
19619
  ...props.style
@@ -19595,7 +19636,7 @@ __webpack_require__.r(__webpack_exports__);
19595
19636
  "placeholder": props.placeholder || `请选择${words}`
19596
19637
  },
19597
19638
  "on": {
19598
- "change": props.change ? e => props.change(e) : () => false
19639
+ "change": e => this.change(props, e)
19599
19640
  },
19600
19641
  "style": {
19601
19642
  ...props.style
@@ -19614,7 +19655,7 @@ __webpack_require__.r(__webpack_exports__);
19614
19655
  return h(_components_AiconSelect__WEBPACK_IMPORTED_MODULE_0__["default"], {
19615
19656
  "key": this.rand,
19616
19657
  "on": {
19617
- "change": props.change ? e => props.change(e) : () => false
19658
+ "change": e => this.change(props, e)
19618
19659
  },
19619
19660
  "attrs": {
19620
19661
  "placeholder": props.placeholder || `请选择${words}`
@@ -19637,7 +19678,7 @@ __webpack_require__.r(__webpack_exports__);
19637
19678
  return h(_components_AiconSelect__WEBPACK_IMPORTED_MODULE_0__["default"], {
19638
19679
  "key": this.rand,
19639
19680
  "on": {
19640
- "change": props.change ? e => props.change(e) : () => false
19681
+ "change": e => this.change(props, e)
19641
19682
  },
19642
19683
  "attrs": {
19643
19684
  "placeholder": props.placeholder || `请选择${words}`
@@ -19656,7 +19697,7 @@ __webpack_require__.r(__webpack_exports__);
19656
19697
  }
19657
19698
  }
19658
19699
  });
19659
- // case 'editor': return <Aeditor v-model={form[field]} on-change={props.change ? e => props.change(e) : () => false} placeholder={`请输入${words}`} style={{ ...props.style }} {...{ props }} />
19700
+ // case 'editor': return <Aeditor v-model={form[field]} on-change={e => this.change(props, e)} placeholder={`请输入${words}`} style={{ ...props.style }} {...{ props }} />
19660
19701
  case 'custom':
19661
19702
  return props.render(this.filter(form), props);
19662
19703
  default:
@@ -19666,7 +19707,7 @@ __webpack_require__.r(__webpack_exports__);
19666
19707
  "placeholder": props.placeholder || `请输入${words}`
19667
19708
  },
19668
19709
  "on": {
19669
- "change": props.change ? e => props.change(e) : () => false
19710
+ "change": e => this.change(props, e)
19670
19711
  },
19671
19712
  "style": {
19672
19713
  ...props.style
@@ -131713,6 +131754,10 @@ __webpack_require__.r(__webpack_exports__);
131713
131754
  },
131714
131755
  result() {
131715
131756
  return this.filter(this.form);
131757
+ },
131758
+ change() {
131759
+ this.$emit('input', this.form);
131760
+ this.$emit('change', this.form);
131716
131761
  }
131717
131762
  },
131718
131763
  render() {
@@ -131766,6 +131811,9 @@ __webpack_require__.r(__webpack_exports__);
131766
131811
  field: `${a.name}`,
131767
131812
  ...a
131768
131813
  }
131814
+ },
131815
+ "on": {
131816
+ "change": () => this.change()
131769
131817
  }
131770
131818
  })])), Object.keys(this.object).length > 0 && Object.keys(this.object).map((a, b) => h("el-form-item", {
131771
131819
  "key": b,
@@ -131789,6 +131837,9 @@ __webpack_require__.r(__webpack_exports__);
131789
131837
  field: `${a}`,
131790
131838
  ...this.object[a]
131791
131839
  }
131840
+ },
131841
+ "on": {
131842
+ "change": () => this.change()
131792
131843
  }
131793
131844
  })])), this.$slots.default, (finish || submit || cancel) && h("div", {
131794
131845
  "class": "action"
@@ -133609,6 +133660,10 @@ __webpack_require__.r(__webpack_exports__);
133609
133660
  type: String,
133610
133661
  default: () => '1'
133611
133662
  },
133663
+ value: {
133664
+ type: Object,
133665
+ default: () => ({})
133666
+ },
133612
133667
  gutter: {
133613
133668
  type: String,
133614
133669
  default: () => '10'
@@ -133775,7 +133830,7 @@ __webpack_require__.r(__webpack_exports__);
133775
133830
  refine(form = {}) {
133776
133831
  let data = {};
133777
133832
  Object.keys(form).forEach(a => {
133778
- if (a != undefined && a != 'undefined' && form[a] != '%%' && form[a] != 'null' && form[a] != 'undefined' && form[a] != null && form[a] != undefined) {
133833
+ if (a != undefined && a != 'undefined' && form[a] != '%' && form[a] != '%%' && form[a] != 'null' && form[a] != 'undefined' && form[a] != null && form[a] != undefined) {
133779
133834
  data[a] = form[a];
133780
133835
  } else data[a] = '';
133781
133836
  });
@@ -133800,7 +133855,7 @@ __webpack_require__.r(__webpack_exports__);
133800
133855
  // 过滤空值属性
133801
133856
  const data = {};
133802
133857
  for (let a in form) {
133803
- if (a != undefined && a != 'undefined' && form[a] != '%%' && form[a] != 'null' && form[a] != 'undefined' && form[a] != null && form[a] != undefined) {
133858
+ if (a != undefined && a != 'undefined' && form[a] != '%' && form[a] != '%%' && form[a] != 'null' && form[a] != 'undefined' && form[a] != null && form[a] != undefined) {
133804
133859
  data[a] = form[a];
133805
133860
  }
133806
133861
  }
@@ -133854,6 +133909,9 @@ __webpack_require__.r(__webpack_exports__);
133854
133909
  }, [h(_components_AformItem__WEBPACK_IMPORTED_MODULE_1__["default"], {
133855
133910
  "attrs": {
133856
133911
  "config": config
133912
+ },
133913
+ "on": {
133914
+ "change": () => this.change()
133857
133915
  }
133858
133916
  })]), h("el-col", {
133859
133917
  "attrs": {
@@ -133864,8 +133922,15 @@ __webpack_require__.r(__webpack_exports__);
133864
133922
  }, [`(${r.hint})`])])]) : h(_components_AformItem__WEBPACK_IMPORTED_MODULE_1__["default"], {
133865
133923
  "attrs": {
133866
133924
  "config": config
133925
+ },
133926
+ "on": {
133927
+ "change": () => this.change()
133867
133928
  }
133868
133929
  })]);
133930
+ },
133931
+ change() {
133932
+ this.$emit('input', this.form);
133933
+ this.$emit('change', this.form);
133869
133934
  }
133870
133935
  },
133871
133936
  render() {
@@ -136245,35 +136310,26 @@ __webpack_require__.r(__webpack_exports__);
136245
136310
  showOverflowTooltip: a.showOverflowTooltip ? a.showOverflowTooltip : this.showOverflowTooltip,
136246
136311
  ...r
136247
136312
  };
136248
- if (child.length > 0) {
136249
- return h("el-table-column", {
136250
- "key": b,
136251
- "attrs": {
136252
- "label": label
136253
- }
136254
- }, [child.map((c, d) => this.output(c, `${b}-${d}`))]);
136255
- } else {
136256
- return h("el-table-column", {
136257
- "props": {
136258
- ...props
136259
- }
136260
- }, [h("template", {
136261
- "slot": "header"
136262
- }, [header ? () => header(r) : label && label != '' && label.length && label.length > 8 ? h("el-tooltip", {
136263
- "attrs": {
136264
- "content": label,
136265
- "placement": "top"
136266
- }
136267
- }, [h("span", {
136268
- "attrs": {
136269
- "title": label
136270
- }
136271
- }, [label])]) : h("span", {
136272
- "attrs": {
136273
- "title": label
136274
- }
136275
- }, [label])])]);
136276
- }
136313
+ return h("el-table-column", {
136314
+ "props": {
136315
+ ...props
136316
+ }
136317
+ }, [h("template", {
136318
+ "slot": "header"
136319
+ }, [header ? () => header(r) : label && label != '' && label.length && label.length > 8 ? h("el-tooltip", {
136320
+ "attrs": {
136321
+ "content": label,
136322
+ "placement": "top"
136323
+ }
136324
+ }, [h("span", {
136325
+ "attrs": {
136326
+ "title": label
136327
+ }
136328
+ }, [label])]) : h("span", {
136329
+ "attrs": {
136330
+ "title": label
136331
+ }
136332
+ }, [label])]), child.length > 0 && child.map((c, d) => this.output(c, `${b}-${d}`))]);
136277
136333
  }
136278
136334
  },
136279
136335
  suffix() {
@@ -158452,10 +158508,6 @@ __webpack_require__.r(__webpack_exports__);
158452
158508
  default: () => '16px'
158453
158509
  },
158454
158510
  height: {
158455
- type: String,
158456
- default: () => 'auto'
158457
- },
158458
- maxHeight: {
158459
158511
  type: String,
158460
158512
  default: () => '72vh'
158461
158513
  },
@@ -158577,8 +158629,7 @@ __webpack_require__.r(__webpack_exports__);
158577
158629
  "class": "a-dialog-body",
158578
158630
  "style": {
158579
158631
  padding: this.padding,
158580
- height: this.height,
158581
- maxHeight: this.maxHeight
158632
+ maxHeight: this.height
158582
158633
  }
158583
158634
  }, [this.$slots.default]), h("div", {
158584
158635
  "class": finish || submit || cancel ? 'a-dialog-foot' : 'a-dialog-foot custom'
@@ -161589,6 +161640,101 @@ exports.updateCenterAndZoom = updateCenterAndZoom;
161589
161640
 
161590
161641
  /***/ }),
161591
161642
 
161643
+ /***/ "f02a":
161644
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
161645
+
161646
+ "use strict";
161647
+ // ESM COMPAT FLAG
161648
+ __webpack_require__.r(__webpack_exports__);
161649
+
161650
+ // 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&
161651
+ var render = function render() {
161652
+ var _vm = this,
161653
+ _c = _vm._self._c;
161654
+ return _c('div', {
161655
+ staticClass: "a-editor"
161656
+ });
161657
+ };
161658
+ var staticRenderFns = [];
161659
+
161660
+ // CONCATENATED MODULE: ./src/components/Aeditor/index.vue?vue&type=template&id=5ec409b4&
161661
+
161662
+ // 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&
161663
+ // import 'quill/dist/quill.core.css'
161664
+ // import 'quill/dist/quill.snow.css'
161665
+ // import 'quill/dist/quill.bubble.css'
161666
+ // import { quillEditor } from 'vue-quill-editor';
161667
+
161668
+ /* harmony default export */ var Aeditorvue_type_script_lang_js_ = ({
161669
+ // props: {
161670
+ // height: { type: String, default: () => '32vh' },
161671
+ // config: { type: Object, default: () => ({}) },
161672
+ // values: { type: String, default: () => '' },
161673
+ // },
161674
+ // components: {
161675
+ // quillEditor
161676
+ // },
161677
+ // data() {
161678
+ // return {
161679
+ // content: '',
161680
+ // option: {
161681
+ // placeholder: '编辑文章内容',
161682
+ // ...this.config
161683
+ // },
161684
+ // }
161685
+ // },
161686
+ // watch: {
161687
+ // values: {
161688
+ // deep: true,
161689
+ // handler() {
161690
+ // this.create();
161691
+ // },
161692
+ // }
161693
+ // },
161694
+ // mounted() {
161695
+ // this.create();
161696
+ // },
161697
+ // methods: {
161698
+ // create() {
161699
+ // const container = document.getElementsByClassName('ql-editor')[0];
161700
+ // container && (container.style.minHeight = this.height);
161701
+ // this.$nextTick(() => this.content = this.values);
161702
+ // },
161703
+ // change({ editor, html, text }) {
161704
+ // this.content = html;
161705
+ // this.$emit('input', html);
161706
+ // this.$emit('change', { html, text });
161707
+ // },
161708
+ // }
161709
+ });
161710
+ // CONCATENATED MODULE: ./src/components/Aeditor/index.vue?vue&type=script&lang=js&
161711
+ /* harmony default export */ var components_Aeditorvue_type_script_lang_js_ = (Aeditorvue_type_script_lang_js_);
161712
+ // EXTERNAL MODULE: ./node_modules/_vue-loader@15.10.1@vue-loader/lib/runtime/componentNormalizer.js
161713
+ var componentNormalizer = __webpack_require__("e607");
161714
+
161715
+ // CONCATENATED MODULE: ./src/components/Aeditor/index.vue
161716
+
161717
+
161718
+
161719
+
161720
+
161721
+ /* normalize component */
161722
+
161723
+ var component = Object(componentNormalizer["a" /* default */])(
161724
+ components_Aeditorvue_type_script_lang_js_,
161725
+ render,
161726
+ staticRenderFns,
161727
+ false,
161728
+ null,
161729
+ null,
161730
+ null
161731
+
161732
+ )
161733
+
161734
+ /* harmony default export */ var Aeditor = __webpack_exports__["default"] = (component.exports);
161735
+
161736
+ /***/ }),
161737
+
161592
161738
  /***/ "f049":
161593
161739
  /***/ (function(module, exports, __webpack_require__) {
161594
161740
 
@@ -164038,6 +164184,7 @@ var map = {
164038
164184
  "./Aecharts/index.vue": "65d8",
164039
164185
  "./Aeditor/QuillEditor/index.vue": "8958",
164040
164186
  "./Aeditor/WangEditor/index.vue": "3302",
164187
+ "./Aeditor/index.vue": "f02a",
164041
164188
  "./Aplayer/index.vue": "1c4e",
164042
164189
  "./Atree/index.vue": "ce34",
164043
164190
  "./Aupload/File/index.vue": "3a9a",
@@ -167223,23 +167370,8 @@ __webpack_require__.r(__webpack_exports__);
167223
167370
  e && e.preventDefault();
167224
167371
  let pass = !this.check; // 判断是否是空表单
167225
167372
  for (let a in this.form) if (this.form[a] != '') pass = true;
167226
- let data = {};
167227
- if (Object.keys(this.config).length > 0) {
167228
- // 格式化属性为模糊查询属性
167229
- for (let a in this.config) {
167230
- if (this.config[a] != '' && this.config[a].like && this.form[a] != '' && this.form[a] != null && this.form[a] != undefined) {
167231
- if (this.config[a].like == 'left') data[a] = '%' + this.form[a];
167232
- if (this.config[a].like == 'right') data[a] = this.form[a] + '%';else data[a] = '%' + this.form[a] + '%';
167233
- } else {
167234
- if (this.config[a] != '' && (this.config[a].than || this.config[a].range || this.config[a].scope)) {
167235
- data[`${a}LE`] = this.form[`${a}LE`];
167236
- data[`${a}GE`] = this.form[`${a}GE`];
167237
- } 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];
167238
- }
167239
- }
167240
- }
167241
167373
  if (pass) {
167242
- let result = this.filter(data);
167374
+ let result = this.filter();
167243
167375
  this.$nextTick(() => {
167244
167376
  this.$emit('submit', {
167245
167377
  ...result,
@@ -167261,12 +167393,33 @@ __webpack_require__.r(__webpack_exports__);
167261
167393
  });
167262
167394
  }
167263
167395
  },
167264
- filter(form = {}) {
167265
- const data = {};
167266
- for (let a in form) {
167267
- if (form[a] != '' && form[a] != '%%' && form[a] != 'null' && form[a] != 'undefined' && form[a] != null && form[a] != undefined) data[a] = form[a];
167396
+ filter() {
167397
+ let data = {};
167398
+ if (Object.keys(this.config).length > 0) {
167399
+ // 格式化属性为模糊查询属性
167400
+ for (let a in this.config) {
167401
+ let {
167402
+ like = null,
167403
+ ...r
167404
+ } = this.config[a];
167405
+ if (like && this.form[a] != '' && this.form[a] != null && this.form[a] != undefined) {
167406
+ if (like && like == 'left' || like && like == 'l') data[a] = '%' + this.form[a];
167407
+ if (like && like == 'right' || like && like == 'r') data[a] = this.form[a] + '%';else data[a] = '%' + this.form[a] + '%';
167408
+ } else {
167409
+ if (r.than || r.range || r.scope) {
167410
+ data[`${a}LE`] = this.form[`${a}LE`];
167411
+ data[`${a}GE`] = this.form[`${a}GE`];
167412
+ } else if (this.form[a].includes(' 00:00:00')) {
167413
+ data[a] = '%' + this.form[a].split(' 00:00:00')[0] + '%';
167414
+ } else data[a] = this.form[a];
167415
+ }
167416
+ }
167268
167417
  }
167269
- return data;
167418
+ let form = {};
167419
+ for (let a in data) {
167420
+ if (data[a] != '' && data[a] != '%' && data[a] != '%%' && data[a] != 'null' && data[a] != 'undefined' && data[a] != null && data[a] != undefined) form[a] = data[a];
167421
+ }
167422
+ return form;
167270
167423
  },
167271
167424
  result() {
167272
167425
  return this.filter(this.form);
@@ -167294,11 +167447,17 @@ __webpack_require__.r(__webpack_exports__);
167294
167447
  ...config,
167295
167448
  placeholder
167296
167449
  }
167450
+ },
167451
+ "on": {
167452
+ "change": () => this.change()
167297
167453
  }
167298
167454
  });
167299
167455
  return h(_components_AformItem__WEBPACK_IMPORTED_MODULE_1__["default"], {
167300
167456
  "attrs": {
167301
167457
  "config": config
167458
+ },
167459
+ "on": {
167460
+ "change": () => this.change()
167302
167461
  }
167303
167462
  });
167304
167463
  }
@@ -167327,6 +167486,10 @@ __webpack_require__.r(__webpack_exports__);
167327
167486
  "span": 12
167328
167487
  }
167329
167488
  }, [this.format(a, `${a}GE`, this.prompt(this.config[a], 1, '最低'))])]) : this.format(a)])]);
167489
+ },
167490
+ change() {
167491
+ this.$emit('input', this.filter());
167492
+ this.$emit('change', this.filter());
167330
167493
  }
167331
167494
  },
167332
167495
  render() {
@@ -167365,12 +167528,12 @@ __webpack_require__.r(__webpack_exports__);
167365
167528
  "attrs": {
167366
167529
  "gutter": Number(this.gutter)
167367
167530
  },
167368
- "class": "main-row"
167531
+ "class": "main-rows"
167369
167532
  }, [Object.keys(this.config).map((a, b) => b < this.cols && this.output(a, b))]), h("el-row", {
167370
167533
  "attrs": {
167371
167534
  "gutter": Number(this.gutter)
167372
167535
  },
167373
- "class": "fold-row",
167536
+ "class": "fold-rows",
167374
167537
  "style": {
167375
167538
  height: this.opened ? `${this.height}px` : '0'
167376
167539
  }