element-ui-root 2.7.0 → 2.7.1
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.common.js +105 -33
- package/dist/index.umd.js +105 -33
- package/dist/index.umd.min.js +1 -1
- package/package.json +1 -1
package/dist/index.common.js
CHANGED
|
@@ -13540,6 +13540,16 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
|
|
|
13540
13540
|
|
|
13541
13541
|
mounted() {},
|
|
13542
13542
|
|
|
13543
|
+
destroyed() {
|
|
13544
|
+
this.create = null;
|
|
13545
|
+
this.submit = null;
|
|
13546
|
+
this.cancel = null;
|
|
13547
|
+
this.filter = null;
|
|
13548
|
+
this.result = null;
|
|
13549
|
+
this.prompt = null;
|
|
13550
|
+
this.format = null;
|
|
13551
|
+
},
|
|
13552
|
+
|
|
13543
13553
|
watch: {
|
|
13544
13554
|
values() {
|
|
13545
13555
|
this.create();
|
|
@@ -13626,12 +13636,14 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
|
|
|
13626
13636
|
}
|
|
13627
13637
|
},
|
|
13628
13638
|
|
|
13629
|
-
filter(form) {
|
|
13639
|
+
filter(form = {}) {
|
|
13630
13640
|
// 过滤空值属性
|
|
13631
13641
|
const data = {};
|
|
13632
13642
|
|
|
13633
13643
|
for (let a in form) {
|
|
13634
|
-
if (a != undefined && a != 'undefined' && form[a] != '' && form[a] != '%%' && form[a] != '
|
|
13644
|
+
if (a != undefined && a != 'undefined' && form[a] != '' && form[a] != '%%' && form[a] != 'null' && form[a] != 'undefined' && form[a] != null && form[a] != undefined) {
|
|
13645
|
+
data[a] = form[a];
|
|
13646
|
+
}
|
|
13635
13647
|
}
|
|
13636
13648
|
|
|
13637
13649
|
return data;
|
|
@@ -13678,8 +13690,8 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
|
|
|
13678
13690
|
render() {
|
|
13679
13691
|
const h = arguments[0];
|
|
13680
13692
|
const {
|
|
13681
|
-
submit,
|
|
13682
|
-
cancel
|
|
13693
|
+
submit = null,
|
|
13694
|
+
cancel = null
|
|
13683
13695
|
} = this.$listeners;
|
|
13684
13696
|
let style = this.cols != '' ? {
|
|
13685
13697
|
width: `${100 / this.cols}%`
|
|
@@ -18695,6 +18707,15 @@ const Aupload = a => Promise.resolve(/* AMD require */).then(function() { var __
|
|
|
18695
18707
|
this.$nextTick(() => this.search());
|
|
18696
18708
|
},
|
|
18697
18709
|
|
|
18710
|
+
destroyed() {
|
|
18711
|
+
this.create = null;
|
|
18712
|
+
this.search = null;
|
|
18713
|
+
this.switch = null;
|
|
18714
|
+
this.filter = null;
|
|
18715
|
+
this.relate = null;
|
|
18716
|
+
this.format = null;
|
|
18717
|
+
},
|
|
18718
|
+
|
|
18698
18719
|
methods: {
|
|
18699
18720
|
create() {
|
|
18700
18721
|
this.rand = Math.random();
|
|
@@ -18737,15 +18758,17 @@ const Aupload = a => Promise.resolve(/* AMD require */).then(function() { var __
|
|
|
18737
18758
|
const data = {};
|
|
18738
18759
|
|
|
18739
18760
|
for (let a in form) {
|
|
18740
|
-
if (a != undefined && a != 'undefined' && form[a] != '' && form[a] != '%%' && form[a] != '
|
|
18761
|
+
if (a != undefined && a != 'undefined' && form[a] != '' && form[a] != '%%' && form[a] != 'null' && form[a] != 'undefined' && form[a] != null && form[a] != undefined) {
|
|
18762
|
+
data[a] = form[a];
|
|
18763
|
+
}
|
|
18741
18764
|
}
|
|
18742
18765
|
|
|
18743
18766
|
return data;
|
|
18744
18767
|
},
|
|
18745
18768
|
|
|
18746
|
-
relate(value, array = []) {
|
|
18769
|
+
relate(value = '', array = []) {
|
|
18747
18770
|
let object = {};
|
|
18748
|
-
array.length > 0 && array.forEach(a => {
|
|
18771
|
+
if (value != '') array.length > 0 && array.forEach(a => {
|
|
18749
18772
|
if ((a.value || a.code || a.id) && (a.value == value || a.code == value || a.id == value)) object = a;
|
|
18750
18773
|
});
|
|
18751
18774
|
return object;
|
|
@@ -130044,6 +130067,13 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
|
|
|
130044
130067
|
|
|
130045
130068
|
destroyed() {
|
|
130046
130069
|
this.cancel();
|
|
130070
|
+
this.create = null;
|
|
130071
|
+
this.verify = null;
|
|
130072
|
+
this.finish = null;
|
|
130073
|
+
this.submit = null;
|
|
130074
|
+
this.cancel = null;
|
|
130075
|
+
this.filter = null;
|
|
130076
|
+
this.result = null;
|
|
130047
130077
|
},
|
|
130048
130078
|
|
|
130049
130079
|
watch: {
|
|
@@ -130179,7 +130209,9 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
|
|
|
130179
130209
|
const data = {};
|
|
130180
130210
|
|
|
130181
130211
|
for (let a in form) {
|
|
130182
|
-
if (a != undefined && a != 'undefined' && form[a] != '' && form[a] != '
|
|
130212
|
+
if (a != undefined && a != 'undefined' && form[a] != '%%' && form[a] != 'null' && form[a] != 'undefined' && form[a] != null && form[a] != undefined) {
|
|
130213
|
+
data[a] = form[a];
|
|
130214
|
+
}
|
|
130183
130215
|
}
|
|
130184
130216
|
|
|
130185
130217
|
return data;
|
|
@@ -130194,9 +130226,9 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
|
|
|
130194
130226
|
render() {
|
|
130195
130227
|
const h = arguments[0];
|
|
130196
130228
|
const {
|
|
130197
|
-
finish,
|
|
130198
|
-
submit,
|
|
130199
|
-
cancel
|
|
130229
|
+
finish = null,
|
|
130230
|
+
submit = null,
|
|
130231
|
+
cancel = null
|
|
130200
130232
|
} = this.$listeners;
|
|
130201
130233
|
return h("keep-alive", [h("div", {
|
|
130202
130234
|
"class": !this.inline ? this.search ? 'a-form' : 'a-from vertical' : 'a-form',
|
|
@@ -132141,6 +132173,15 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
|
|
|
132141
132173
|
|
|
132142
132174
|
destroyed() {
|
|
132143
132175
|
this.cancel();
|
|
132176
|
+
this.create = null;
|
|
132177
|
+
this.verify = null;
|
|
132178
|
+
this.finish = null;
|
|
132179
|
+
this.submit = null;
|
|
132180
|
+
this.reject = null;
|
|
132181
|
+
this.cancel = null;
|
|
132182
|
+
this.filter = null;
|
|
132183
|
+
this.result = null;
|
|
132184
|
+
this.format = null;
|
|
132144
132185
|
},
|
|
132145
132186
|
|
|
132146
132187
|
watch: {
|
|
@@ -132245,12 +132286,14 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
|
|
|
132245
132286
|
this.$emit('cancel', this.form);
|
|
132246
132287
|
},
|
|
132247
132288
|
|
|
132248
|
-
filter(form) {
|
|
132289
|
+
filter(form = {}) {
|
|
132249
132290
|
// 过滤空值属性
|
|
132250
132291
|
const data = {};
|
|
132251
132292
|
|
|
132252
132293
|
for (let a in form) {
|
|
132253
|
-
if (a != undefined && a != 'undefined' && form[a] != '' && form[a] != '
|
|
132294
|
+
if (a != undefined && a != 'undefined' && form[a] != '%%' && form[a] != 'null' && form[a] != 'undefined' && form[a] != null && form[a] != undefined) {
|
|
132295
|
+
data[a] = form[a];
|
|
132296
|
+
}
|
|
132254
132297
|
}
|
|
132255
132298
|
|
|
132256
132299
|
return data;
|
|
@@ -134584,7 +134627,12 @@ const Aempty = a => Promise.resolve(/* AMD require */).then(function() { var __W
|
|
|
134584
134627
|
|
|
134585
134628
|
destroyed() {
|
|
134586
134629
|
this.create = null;
|
|
134630
|
+
this.search = null;
|
|
134631
|
+
this.select = null;
|
|
134632
|
+
this.choose = null;
|
|
134633
|
+
this.change = null;
|
|
134587
134634
|
this.format = null;
|
|
134635
|
+
this.scroll = null;
|
|
134588
134636
|
},
|
|
134589
134637
|
|
|
134590
134638
|
methods: {
|
|
@@ -134594,11 +134642,11 @@ const Aempty = a => Promise.resolve(/* AMD require */).then(function() { var __W
|
|
|
134594
134642
|
const actionColumn = () => {
|
|
134595
134643
|
let data = [];
|
|
134596
134644
|
const {
|
|
134597
|
-
review,
|
|
134598
|
-
modify,
|
|
134599
|
-
update,
|
|
134600
|
-
handle,
|
|
134601
|
-
remove
|
|
134645
|
+
review = null,
|
|
134646
|
+
modify = null,
|
|
134647
|
+
update = null,
|
|
134648
|
+
handle = null,
|
|
134649
|
+
remove = null
|
|
134602
134650
|
} = this.$listeners;
|
|
134603
134651
|
|
|
134604
134652
|
if (review || modify || update || handle || remove || this.$listeners.delete || this.$listeners.export) {
|
|
@@ -134653,7 +134701,7 @@ const Aempty = a => Promise.resolve(/* AMD require */).then(function() { var __W
|
|
|
134653
134701
|
return columnConfig.map((a, b) => {
|
|
134654
134702
|
if (a && Object.keys(a).length > 0) {
|
|
134655
134703
|
let {
|
|
134656
|
-
header,
|
|
134704
|
+
header = null,
|
|
134657
134705
|
...item
|
|
134658
134706
|
} = a;
|
|
134659
134707
|
let label = a.text || a.label || a.title;
|
|
@@ -134690,14 +134738,14 @@ const Aempty = a => Promise.resolve(/* AMD require */).then(function() { var __W
|
|
|
134690
134738
|
|
|
134691
134739
|
search(params = {}) {
|
|
134692
134740
|
const {
|
|
134693
|
-
pageParams,
|
|
134694
|
-
formParams
|
|
134741
|
+
pageParams = {},
|
|
134742
|
+
formParams = {}
|
|
134695
134743
|
} = this.$store.state;
|
|
134696
134744
|
const formatParams = Object.assign({}, pageParams, formParams, params);
|
|
134697
134745
|
this.$emit('search', formatParams);
|
|
134698
134746
|
},
|
|
134699
134747
|
|
|
134700
|
-
select(items) {
|
|
134748
|
+
select(items = []) {
|
|
134701
134749
|
this.$store.commit('changeSelectedRows', items);
|
|
134702
134750
|
this.$store.commit('changeSelectedKeys', items.map(a => a[this.rowKey]));
|
|
134703
134751
|
this.$emit('select', {
|
|
@@ -134714,7 +134762,10 @@ const Aempty = a => Promise.resolve(/* AMD require */).then(function() { var __W
|
|
|
134714
134762
|
});
|
|
134715
134763
|
},
|
|
134716
134764
|
|
|
134717
|
-
change(pages
|
|
134765
|
+
change(pages = {
|
|
134766
|
+
page: 1,
|
|
134767
|
+
size: 10
|
|
134768
|
+
}) {
|
|
134718
134769
|
this.$store.commit('changePageParams', pages);
|
|
134719
134770
|
this.$emit('change', pages);
|
|
134720
134771
|
this.search(pages);
|
|
@@ -134812,11 +134863,11 @@ const Aempty = a => Promise.resolve(/* AMD require */).then(function() { var __W
|
|
|
134812
134863
|
const data = r.data ? r.data : r.list ? r.list : r.rows ? r.rows : r.record ? r.record : r.records ? r.records : [];
|
|
134813
134864
|
const size = r.size ? r.size : r.total ? r.total : r.count ? r.count : 0;
|
|
134814
134865
|
const {
|
|
134815
|
-
pageParams
|
|
134866
|
+
pageParams = {}
|
|
134816
134867
|
} = this.$store.state;
|
|
134817
134868
|
const {
|
|
134818
134869
|
loading = false,
|
|
134819
|
-
search
|
|
134870
|
+
search = null
|
|
134820
134871
|
} = this;
|
|
134821
134872
|
const condition = data.length > 0;
|
|
134822
134873
|
return h("keep-alive", [h("div", {
|
|
@@ -152307,7 +152358,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
152307
152358
|
},
|
|
152308
152359
|
width: {
|
|
152309
152360
|
type: String,
|
|
152310
|
-
default: () => '
|
|
152361
|
+
default: () => '480'
|
|
152311
152362
|
},
|
|
152312
152363
|
trigger: {
|
|
152313
152364
|
type: String,
|
|
@@ -152343,6 +152394,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
152343
152394
|
this.create();
|
|
152344
152395
|
},
|
|
152345
152396
|
|
|
152397
|
+
destroyed() {
|
|
152398
|
+
this.create = null;
|
|
152399
|
+
this.select = null;
|
|
152400
|
+
this.change = null;
|
|
152401
|
+
},
|
|
152402
|
+
|
|
152346
152403
|
methods: {
|
|
152347
152404
|
create() {
|
|
152348
152405
|
this.$nextTick(() => {
|
|
@@ -152364,7 +152421,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
152364
152421
|
},
|
|
152365
152422
|
|
|
152366
152423
|
change(content) {
|
|
152367
|
-
this
|
|
152424
|
+
this.content = content;
|
|
152425
|
+
console.log(this.content);
|
|
152426
|
+
this.$nextTick(() => this.$emit('input', this.content));
|
|
152368
152427
|
}
|
|
152369
152428
|
|
|
152370
152429
|
},
|
|
@@ -152374,9 +152433,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
152374
152433
|
return h("el-popover", {
|
|
152375
152434
|
"class": "a-icon-select",
|
|
152376
152435
|
"attrs": {
|
|
152377
|
-
"placement":
|
|
152436
|
+
"placement": this.placement,
|
|
152378
152437
|
"width": "480",
|
|
152379
|
-
"trigger":
|
|
152438
|
+
"trigger": this.trigger
|
|
152380
152439
|
},
|
|
152381
152440
|
"model": {
|
|
152382
152441
|
value: this.visible,
|
|
@@ -164983,6 +165042,19 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
|
|
|
164983
165042
|
this.update();
|
|
164984
165043
|
},
|
|
164985
165044
|
|
|
165045
|
+
destroyed() {
|
|
165046
|
+
this.create = null;
|
|
165047
|
+
this.update = null;
|
|
165048
|
+
this.submit = null;
|
|
165049
|
+
this.cancel = null;
|
|
165050
|
+
this.filter = null;
|
|
165051
|
+
this.result = null;
|
|
165052
|
+
this.switch = null;
|
|
165053
|
+
this.prompt = null;
|
|
165054
|
+
this.format = null;
|
|
165055
|
+
this.output = null;
|
|
165056
|
+
},
|
|
165057
|
+
|
|
164986
165058
|
watch: {
|
|
164987
165059
|
values() {
|
|
164988
165060
|
this.create();
|
|
@@ -165074,11 +165146,11 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
|
|
|
165074
165146
|
}
|
|
165075
165147
|
},
|
|
165076
165148
|
|
|
165077
|
-
filter(form) {
|
|
165149
|
+
filter(form = {}) {
|
|
165078
165150
|
const data = {};
|
|
165079
165151
|
|
|
165080
165152
|
for (let a in form) {
|
|
165081
|
-
if (form[a] != '' && form[a] != '%%' && form[a] != 'undefined' && form[a] != null && form[a] != undefined) data[a] = form[a];
|
|
165153
|
+
if (form[a] != '' && form[a] != '%%' && form[a] != 'null' && form[a] != 'undefined' && form[a] != null && form[a] != undefined) data[a] = form[a];
|
|
165082
165154
|
}
|
|
165083
165155
|
|
|
165084
165156
|
return data;
|
|
@@ -165154,8 +165226,8 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
|
|
|
165154
165226
|
render() {
|
|
165155
165227
|
const h = arguments[0];
|
|
165156
165228
|
const {
|
|
165157
|
-
submit,
|
|
165158
|
-
cancel
|
|
165229
|
+
submit = null,
|
|
165230
|
+
cancel = null
|
|
165159
165231
|
} = this.$listeners;
|
|
165160
165232
|
return h("keep-alive", [h("div", {
|
|
165161
165233
|
"class": "b-f-search",
|
package/dist/index.umd.js
CHANGED
|
@@ -13549,6 +13549,16 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
|
|
|
13549
13549
|
|
|
13550
13550
|
mounted() {},
|
|
13551
13551
|
|
|
13552
|
+
destroyed() {
|
|
13553
|
+
this.create = null;
|
|
13554
|
+
this.submit = null;
|
|
13555
|
+
this.cancel = null;
|
|
13556
|
+
this.filter = null;
|
|
13557
|
+
this.result = null;
|
|
13558
|
+
this.prompt = null;
|
|
13559
|
+
this.format = null;
|
|
13560
|
+
},
|
|
13561
|
+
|
|
13552
13562
|
watch: {
|
|
13553
13563
|
values() {
|
|
13554
13564
|
this.create();
|
|
@@ -13635,12 +13645,14 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
|
|
|
13635
13645
|
}
|
|
13636
13646
|
},
|
|
13637
13647
|
|
|
13638
|
-
filter(form) {
|
|
13648
|
+
filter(form = {}) {
|
|
13639
13649
|
// 过滤空值属性
|
|
13640
13650
|
const data = {};
|
|
13641
13651
|
|
|
13642
13652
|
for (let a in form) {
|
|
13643
|
-
if (a != undefined && a != 'undefined' && form[a] != '' && form[a] != '%%' && form[a] != '
|
|
13653
|
+
if (a != undefined && a != 'undefined' && form[a] != '' && form[a] != '%%' && form[a] != 'null' && form[a] != 'undefined' && form[a] != null && form[a] != undefined) {
|
|
13654
|
+
data[a] = form[a];
|
|
13655
|
+
}
|
|
13644
13656
|
}
|
|
13645
13657
|
|
|
13646
13658
|
return data;
|
|
@@ -13687,8 +13699,8 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
|
|
|
13687
13699
|
render() {
|
|
13688
13700
|
const h = arguments[0];
|
|
13689
13701
|
const {
|
|
13690
|
-
submit,
|
|
13691
|
-
cancel
|
|
13702
|
+
submit = null,
|
|
13703
|
+
cancel = null
|
|
13692
13704
|
} = this.$listeners;
|
|
13693
13705
|
let style = this.cols != '' ? {
|
|
13694
13706
|
width: `${100 / this.cols}%`
|
|
@@ -18704,6 +18716,15 @@ const Aupload = a => Promise.resolve(/* AMD require */).then(function() { var __
|
|
|
18704
18716
|
this.$nextTick(() => this.search());
|
|
18705
18717
|
},
|
|
18706
18718
|
|
|
18719
|
+
destroyed() {
|
|
18720
|
+
this.create = null;
|
|
18721
|
+
this.search = null;
|
|
18722
|
+
this.switch = null;
|
|
18723
|
+
this.filter = null;
|
|
18724
|
+
this.relate = null;
|
|
18725
|
+
this.format = null;
|
|
18726
|
+
},
|
|
18727
|
+
|
|
18707
18728
|
methods: {
|
|
18708
18729
|
create() {
|
|
18709
18730
|
this.rand = Math.random();
|
|
@@ -18746,15 +18767,17 @@ const Aupload = a => Promise.resolve(/* AMD require */).then(function() { var __
|
|
|
18746
18767
|
const data = {};
|
|
18747
18768
|
|
|
18748
18769
|
for (let a in form) {
|
|
18749
|
-
if (a != undefined && a != 'undefined' && form[a] != '' && form[a] != '%%' && form[a] != '
|
|
18770
|
+
if (a != undefined && a != 'undefined' && form[a] != '' && form[a] != '%%' && form[a] != 'null' && form[a] != 'undefined' && form[a] != null && form[a] != undefined) {
|
|
18771
|
+
data[a] = form[a];
|
|
18772
|
+
}
|
|
18750
18773
|
}
|
|
18751
18774
|
|
|
18752
18775
|
return data;
|
|
18753
18776
|
},
|
|
18754
18777
|
|
|
18755
|
-
relate(value, array = []) {
|
|
18778
|
+
relate(value = '', array = []) {
|
|
18756
18779
|
let object = {};
|
|
18757
|
-
array.length > 0 && array.forEach(a => {
|
|
18780
|
+
if (value != '') array.length > 0 && array.forEach(a => {
|
|
18758
18781
|
if ((a.value || a.code || a.id) && (a.value == value || a.code == value || a.id == value)) object = a;
|
|
18759
18782
|
});
|
|
18760
18783
|
return object;
|
|
@@ -130053,6 +130076,13 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
|
|
|
130053
130076
|
|
|
130054
130077
|
destroyed() {
|
|
130055
130078
|
this.cancel();
|
|
130079
|
+
this.create = null;
|
|
130080
|
+
this.verify = null;
|
|
130081
|
+
this.finish = null;
|
|
130082
|
+
this.submit = null;
|
|
130083
|
+
this.cancel = null;
|
|
130084
|
+
this.filter = null;
|
|
130085
|
+
this.result = null;
|
|
130056
130086
|
},
|
|
130057
130087
|
|
|
130058
130088
|
watch: {
|
|
@@ -130188,7 +130218,9 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
|
|
|
130188
130218
|
const data = {};
|
|
130189
130219
|
|
|
130190
130220
|
for (let a in form) {
|
|
130191
|
-
if (a != undefined && a != 'undefined' && form[a] != '' && form[a] != '
|
|
130221
|
+
if (a != undefined && a != 'undefined' && form[a] != '%%' && form[a] != 'null' && form[a] != 'undefined' && form[a] != null && form[a] != undefined) {
|
|
130222
|
+
data[a] = form[a];
|
|
130223
|
+
}
|
|
130192
130224
|
}
|
|
130193
130225
|
|
|
130194
130226
|
return data;
|
|
@@ -130203,9 +130235,9 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
|
|
|
130203
130235
|
render() {
|
|
130204
130236
|
const h = arguments[0];
|
|
130205
130237
|
const {
|
|
130206
|
-
finish,
|
|
130207
|
-
submit,
|
|
130208
|
-
cancel
|
|
130238
|
+
finish = null,
|
|
130239
|
+
submit = null,
|
|
130240
|
+
cancel = null
|
|
130209
130241
|
} = this.$listeners;
|
|
130210
130242
|
return h("keep-alive", [h("div", {
|
|
130211
130243
|
"class": !this.inline ? this.search ? 'a-form' : 'a-from vertical' : 'a-form',
|
|
@@ -132150,6 +132182,15 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
|
|
|
132150
132182
|
|
|
132151
132183
|
destroyed() {
|
|
132152
132184
|
this.cancel();
|
|
132185
|
+
this.create = null;
|
|
132186
|
+
this.verify = null;
|
|
132187
|
+
this.finish = null;
|
|
132188
|
+
this.submit = null;
|
|
132189
|
+
this.reject = null;
|
|
132190
|
+
this.cancel = null;
|
|
132191
|
+
this.filter = null;
|
|
132192
|
+
this.result = null;
|
|
132193
|
+
this.format = null;
|
|
132153
132194
|
},
|
|
132154
132195
|
|
|
132155
132196
|
watch: {
|
|
@@ -132254,12 +132295,14 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
|
|
|
132254
132295
|
this.$emit('cancel', this.form);
|
|
132255
132296
|
},
|
|
132256
132297
|
|
|
132257
|
-
filter(form) {
|
|
132298
|
+
filter(form = {}) {
|
|
132258
132299
|
// 过滤空值属性
|
|
132259
132300
|
const data = {};
|
|
132260
132301
|
|
|
132261
132302
|
for (let a in form) {
|
|
132262
|
-
if (a != undefined && a != 'undefined' && form[a] != '' && form[a] != '
|
|
132303
|
+
if (a != undefined && a != 'undefined' && form[a] != '%%' && form[a] != 'null' && form[a] != 'undefined' && form[a] != null && form[a] != undefined) {
|
|
132304
|
+
data[a] = form[a];
|
|
132305
|
+
}
|
|
132263
132306
|
}
|
|
132264
132307
|
|
|
132265
132308
|
return data;
|
|
@@ -134593,7 +134636,12 @@ const Aempty = a => Promise.resolve(/* AMD require */).then(function() { var __W
|
|
|
134593
134636
|
|
|
134594
134637
|
destroyed() {
|
|
134595
134638
|
this.create = null;
|
|
134639
|
+
this.search = null;
|
|
134640
|
+
this.select = null;
|
|
134641
|
+
this.choose = null;
|
|
134642
|
+
this.change = null;
|
|
134596
134643
|
this.format = null;
|
|
134644
|
+
this.scroll = null;
|
|
134597
134645
|
},
|
|
134598
134646
|
|
|
134599
134647
|
methods: {
|
|
@@ -134603,11 +134651,11 @@ const Aempty = a => Promise.resolve(/* AMD require */).then(function() { var __W
|
|
|
134603
134651
|
const actionColumn = () => {
|
|
134604
134652
|
let data = [];
|
|
134605
134653
|
const {
|
|
134606
|
-
review,
|
|
134607
|
-
modify,
|
|
134608
|
-
update,
|
|
134609
|
-
handle,
|
|
134610
|
-
remove
|
|
134654
|
+
review = null,
|
|
134655
|
+
modify = null,
|
|
134656
|
+
update = null,
|
|
134657
|
+
handle = null,
|
|
134658
|
+
remove = null
|
|
134611
134659
|
} = this.$listeners;
|
|
134612
134660
|
|
|
134613
134661
|
if (review || modify || update || handle || remove || this.$listeners.delete || this.$listeners.export) {
|
|
@@ -134662,7 +134710,7 @@ const Aempty = a => Promise.resolve(/* AMD require */).then(function() { var __W
|
|
|
134662
134710
|
return columnConfig.map((a, b) => {
|
|
134663
134711
|
if (a && Object.keys(a).length > 0) {
|
|
134664
134712
|
let {
|
|
134665
|
-
header,
|
|
134713
|
+
header = null,
|
|
134666
134714
|
...item
|
|
134667
134715
|
} = a;
|
|
134668
134716
|
let label = a.text || a.label || a.title;
|
|
@@ -134699,14 +134747,14 @@ const Aempty = a => Promise.resolve(/* AMD require */).then(function() { var __W
|
|
|
134699
134747
|
|
|
134700
134748
|
search(params = {}) {
|
|
134701
134749
|
const {
|
|
134702
|
-
pageParams,
|
|
134703
|
-
formParams
|
|
134750
|
+
pageParams = {},
|
|
134751
|
+
formParams = {}
|
|
134704
134752
|
} = this.$store.state;
|
|
134705
134753
|
const formatParams = Object.assign({}, pageParams, formParams, params);
|
|
134706
134754
|
this.$emit('search', formatParams);
|
|
134707
134755
|
},
|
|
134708
134756
|
|
|
134709
|
-
select(items) {
|
|
134757
|
+
select(items = []) {
|
|
134710
134758
|
this.$store.commit('changeSelectedRows', items);
|
|
134711
134759
|
this.$store.commit('changeSelectedKeys', items.map(a => a[this.rowKey]));
|
|
134712
134760
|
this.$emit('select', {
|
|
@@ -134723,7 +134771,10 @@ const Aempty = a => Promise.resolve(/* AMD require */).then(function() { var __W
|
|
|
134723
134771
|
});
|
|
134724
134772
|
},
|
|
134725
134773
|
|
|
134726
|
-
change(pages
|
|
134774
|
+
change(pages = {
|
|
134775
|
+
page: 1,
|
|
134776
|
+
size: 10
|
|
134777
|
+
}) {
|
|
134727
134778
|
this.$store.commit('changePageParams', pages);
|
|
134728
134779
|
this.$emit('change', pages);
|
|
134729
134780
|
this.search(pages);
|
|
@@ -134821,11 +134872,11 @@ const Aempty = a => Promise.resolve(/* AMD require */).then(function() { var __W
|
|
|
134821
134872
|
const data = r.data ? r.data : r.list ? r.list : r.rows ? r.rows : r.record ? r.record : r.records ? r.records : [];
|
|
134822
134873
|
const size = r.size ? r.size : r.total ? r.total : r.count ? r.count : 0;
|
|
134823
134874
|
const {
|
|
134824
|
-
pageParams
|
|
134875
|
+
pageParams = {}
|
|
134825
134876
|
} = this.$store.state;
|
|
134826
134877
|
const {
|
|
134827
134878
|
loading = false,
|
|
134828
|
-
search
|
|
134879
|
+
search = null
|
|
134829
134880
|
} = this;
|
|
134830
134881
|
const condition = data.length > 0;
|
|
134831
134882
|
return h("keep-alive", [h("div", {
|
|
@@ -152316,7 +152367,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
152316
152367
|
},
|
|
152317
152368
|
width: {
|
|
152318
152369
|
type: String,
|
|
152319
|
-
default: () => '
|
|
152370
|
+
default: () => '480'
|
|
152320
152371
|
},
|
|
152321
152372
|
trigger: {
|
|
152322
152373
|
type: String,
|
|
@@ -152352,6 +152403,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
152352
152403
|
this.create();
|
|
152353
152404
|
},
|
|
152354
152405
|
|
|
152406
|
+
destroyed() {
|
|
152407
|
+
this.create = null;
|
|
152408
|
+
this.select = null;
|
|
152409
|
+
this.change = null;
|
|
152410
|
+
},
|
|
152411
|
+
|
|
152355
152412
|
methods: {
|
|
152356
152413
|
create() {
|
|
152357
152414
|
this.$nextTick(() => {
|
|
@@ -152373,7 +152430,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
152373
152430
|
},
|
|
152374
152431
|
|
|
152375
152432
|
change(content) {
|
|
152376
|
-
this
|
|
152433
|
+
this.content = content;
|
|
152434
|
+
console.log(this.content);
|
|
152435
|
+
this.$nextTick(() => this.$emit('input', this.content));
|
|
152377
152436
|
}
|
|
152378
152437
|
|
|
152379
152438
|
},
|
|
@@ -152383,9 +152442,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
152383
152442
|
return h("el-popover", {
|
|
152384
152443
|
"class": "a-icon-select",
|
|
152385
152444
|
"attrs": {
|
|
152386
|
-
"placement":
|
|
152445
|
+
"placement": this.placement,
|
|
152387
152446
|
"width": "480",
|
|
152388
|
-
"trigger":
|
|
152447
|
+
"trigger": this.trigger
|
|
152389
152448
|
},
|
|
152390
152449
|
"model": {
|
|
152391
152450
|
value: this.visible,
|
|
@@ -164992,6 +165051,19 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
|
|
|
164992
165051
|
this.update();
|
|
164993
165052
|
},
|
|
164994
165053
|
|
|
165054
|
+
destroyed() {
|
|
165055
|
+
this.create = null;
|
|
165056
|
+
this.update = null;
|
|
165057
|
+
this.submit = null;
|
|
165058
|
+
this.cancel = null;
|
|
165059
|
+
this.filter = null;
|
|
165060
|
+
this.result = null;
|
|
165061
|
+
this.switch = null;
|
|
165062
|
+
this.prompt = null;
|
|
165063
|
+
this.format = null;
|
|
165064
|
+
this.output = null;
|
|
165065
|
+
},
|
|
165066
|
+
|
|
164995
165067
|
watch: {
|
|
164996
165068
|
values() {
|
|
164997
165069
|
this.create();
|
|
@@ -165083,11 +165155,11 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
|
|
|
165083
165155
|
}
|
|
165084
165156
|
},
|
|
165085
165157
|
|
|
165086
|
-
filter(form) {
|
|
165158
|
+
filter(form = {}) {
|
|
165087
165159
|
const data = {};
|
|
165088
165160
|
|
|
165089
165161
|
for (let a in form) {
|
|
165090
|
-
if (form[a] != '' && form[a] != '%%' && form[a] != 'undefined' && form[a] != null && form[a] != undefined) data[a] = form[a];
|
|
165162
|
+
if (form[a] != '' && form[a] != '%%' && form[a] != 'null' && form[a] != 'undefined' && form[a] != null && form[a] != undefined) data[a] = form[a];
|
|
165091
165163
|
}
|
|
165092
165164
|
|
|
165093
165165
|
return data;
|
|
@@ -165163,8 +165235,8 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
|
|
|
165163
165235
|
render() {
|
|
165164
165236
|
const h = arguments[0];
|
|
165165
165237
|
const {
|
|
165166
|
-
submit,
|
|
165167
|
-
cancel
|
|
165238
|
+
submit = null,
|
|
165239
|
+
cancel = null
|
|
165168
165240
|
} = this.$listeners;
|
|
165169
165241
|
return h("keep-alive", [h("div", {
|
|
165170
165242
|
"class": "b-f-search",
|