element-ui-root 2.7.0 → 2.7.2
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 +113 -35
- package/dist/index.umd.js +113 -35
- 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;
|
|
@@ -130042,10 +130065,20 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
|
|
|
130042
130065
|
this.create();
|
|
130043
130066
|
},
|
|
130044
130067
|
|
|
130045
|
-
|
|
130068
|
+
beforeDestroy() {
|
|
130046
130069
|
this.cancel();
|
|
130047
130070
|
},
|
|
130048
130071
|
|
|
130072
|
+
destroyed() {
|
|
130073
|
+
this.create = null;
|
|
130074
|
+
this.verify = null;
|
|
130075
|
+
this.finish = null;
|
|
130076
|
+
this.submit = null;
|
|
130077
|
+
this.cancel = null;
|
|
130078
|
+
this.filter = null;
|
|
130079
|
+
this.result = null;
|
|
130080
|
+
},
|
|
130081
|
+
|
|
130049
130082
|
watch: {
|
|
130050
130083
|
values: {
|
|
130051
130084
|
immediate: true,
|
|
@@ -130179,7 +130212,9 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
|
|
|
130179
130212
|
const data = {};
|
|
130180
130213
|
|
|
130181
130214
|
for (let a in form) {
|
|
130182
|
-
if (a != undefined && a != 'undefined' && form[a] != '' && form[a] != '
|
|
130215
|
+
if (a != undefined && a != 'undefined' && form[a] != '%%' && form[a] != 'null' && form[a] != 'undefined' && form[a] != null && form[a] != undefined) {
|
|
130216
|
+
data[a] = form[a];
|
|
130217
|
+
}
|
|
130183
130218
|
}
|
|
130184
130219
|
|
|
130185
130220
|
return data;
|
|
@@ -130194,9 +130229,9 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
|
|
|
130194
130229
|
render() {
|
|
130195
130230
|
const h = arguments[0];
|
|
130196
130231
|
const {
|
|
130197
|
-
finish,
|
|
130198
|
-
submit,
|
|
130199
|
-
cancel
|
|
130232
|
+
finish = null,
|
|
130233
|
+
submit = null,
|
|
130234
|
+
cancel = null
|
|
130200
130235
|
} = this.$listeners;
|
|
130201
130236
|
return h("keep-alive", [h("div", {
|
|
130202
130237
|
"class": !this.inline ? this.search ? 'a-form' : 'a-from vertical' : 'a-form',
|
|
@@ -132139,10 +132174,22 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
|
|
|
132139
132174
|
this.create();
|
|
132140
132175
|
},
|
|
132141
132176
|
|
|
132142
|
-
|
|
132177
|
+
beforeDestroy() {
|
|
132143
132178
|
this.cancel();
|
|
132144
132179
|
},
|
|
132145
132180
|
|
|
132181
|
+
destroyed() {
|
|
132182
|
+
this.create = null;
|
|
132183
|
+
this.verify = null;
|
|
132184
|
+
this.finish = null;
|
|
132185
|
+
this.submit = null;
|
|
132186
|
+
this.reject = null;
|
|
132187
|
+
this.cancel = null;
|
|
132188
|
+
this.filter = null;
|
|
132189
|
+
this.result = null;
|
|
132190
|
+
this.format = null;
|
|
132191
|
+
},
|
|
132192
|
+
|
|
132146
132193
|
watch: {
|
|
132147
132194
|
values: {
|
|
132148
132195
|
immediate: true,
|
|
@@ -132245,12 +132292,14 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
|
|
|
132245
132292
|
this.$emit('cancel', this.form);
|
|
132246
132293
|
},
|
|
132247
132294
|
|
|
132248
|
-
filter(form) {
|
|
132295
|
+
filter(form = {}) {
|
|
132249
132296
|
// 过滤空值属性
|
|
132250
132297
|
const data = {};
|
|
132251
132298
|
|
|
132252
132299
|
for (let a in form) {
|
|
132253
|
-
if (a != undefined && a != 'undefined' && form[a] != '' && form[a] != '
|
|
132300
|
+
if (a != undefined && a != 'undefined' && form[a] != '%%' && form[a] != 'null' && form[a] != 'undefined' && form[a] != null && form[a] != undefined) {
|
|
132301
|
+
data[a] = form[a];
|
|
132302
|
+
}
|
|
132254
132303
|
}
|
|
132255
132304
|
|
|
132256
132305
|
return data;
|
|
@@ -134584,7 +134633,12 @@ const Aempty = a => Promise.resolve(/* AMD require */).then(function() { var __W
|
|
|
134584
134633
|
|
|
134585
134634
|
destroyed() {
|
|
134586
134635
|
this.create = null;
|
|
134636
|
+
this.search = null;
|
|
134637
|
+
this.select = null;
|
|
134638
|
+
this.choose = null;
|
|
134639
|
+
this.change = null;
|
|
134587
134640
|
this.format = null;
|
|
134641
|
+
this.scroll = null;
|
|
134588
134642
|
},
|
|
134589
134643
|
|
|
134590
134644
|
methods: {
|
|
@@ -134594,11 +134648,11 @@ const Aempty = a => Promise.resolve(/* AMD require */).then(function() { var __W
|
|
|
134594
134648
|
const actionColumn = () => {
|
|
134595
134649
|
let data = [];
|
|
134596
134650
|
const {
|
|
134597
|
-
review,
|
|
134598
|
-
modify,
|
|
134599
|
-
update,
|
|
134600
|
-
handle,
|
|
134601
|
-
remove
|
|
134651
|
+
review = null,
|
|
134652
|
+
modify = null,
|
|
134653
|
+
update = null,
|
|
134654
|
+
handle = null,
|
|
134655
|
+
remove = null
|
|
134602
134656
|
} = this.$listeners;
|
|
134603
134657
|
|
|
134604
134658
|
if (review || modify || update || handle || remove || this.$listeners.delete || this.$listeners.export) {
|
|
@@ -134653,7 +134707,7 @@ const Aempty = a => Promise.resolve(/* AMD require */).then(function() { var __W
|
|
|
134653
134707
|
return columnConfig.map((a, b) => {
|
|
134654
134708
|
if (a && Object.keys(a).length > 0) {
|
|
134655
134709
|
let {
|
|
134656
|
-
header,
|
|
134710
|
+
header = null,
|
|
134657
134711
|
...item
|
|
134658
134712
|
} = a;
|
|
134659
134713
|
let label = a.text || a.label || a.title;
|
|
@@ -134690,14 +134744,14 @@ const Aempty = a => Promise.resolve(/* AMD require */).then(function() { var __W
|
|
|
134690
134744
|
|
|
134691
134745
|
search(params = {}) {
|
|
134692
134746
|
const {
|
|
134693
|
-
pageParams,
|
|
134694
|
-
formParams
|
|
134747
|
+
pageParams = {},
|
|
134748
|
+
formParams = {}
|
|
134695
134749
|
} = this.$store.state;
|
|
134696
134750
|
const formatParams = Object.assign({}, pageParams, formParams, params);
|
|
134697
134751
|
this.$emit('search', formatParams);
|
|
134698
134752
|
},
|
|
134699
134753
|
|
|
134700
|
-
select(items) {
|
|
134754
|
+
select(items = []) {
|
|
134701
134755
|
this.$store.commit('changeSelectedRows', items);
|
|
134702
134756
|
this.$store.commit('changeSelectedKeys', items.map(a => a[this.rowKey]));
|
|
134703
134757
|
this.$emit('select', {
|
|
@@ -134714,7 +134768,10 @@ const Aempty = a => Promise.resolve(/* AMD require */).then(function() { var __W
|
|
|
134714
134768
|
});
|
|
134715
134769
|
},
|
|
134716
134770
|
|
|
134717
|
-
change(pages
|
|
134771
|
+
change(pages = {
|
|
134772
|
+
page: 1,
|
|
134773
|
+
size: 10
|
|
134774
|
+
}) {
|
|
134718
134775
|
this.$store.commit('changePageParams', pages);
|
|
134719
134776
|
this.$emit('change', pages);
|
|
134720
134777
|
this.search(pages);
|
|
@@ -134812,11 +134869,11 @@ const Aempty = a => Promise.resolve(/* AMD require */).then(function() { var __W
|
|
|
134812
134869
|
const data = r.data ? r.data : r.list ? r.list : r.rows ? r.rows : r.record ? r.record : r.records ? r.records : [];
|
|
134813
134870
|
const size = r.size ? r.size : r.total ? r.total : r.count ? r.count : 0;
|
|
134814
134871
|
const {
|
|
134815
|
-
pageParams
|
|
134872
|
+
pageParams = {}
|
|
134816
134873
|
} = this.$store.state;
|
|
134817
134874
|
const {
|
|
134818
134875
|
loading = false,
|
|
134819
|
-
search
|
|
134876
|
+
search = null
|
|
134820
134877
|
} = this;
|
|
134821
134878
|
const condition = data.length > 0;
|
|
134822
134879
|
return h("keep-alive", [h("div", {
|
|
@@ -152307,7 +152364,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
152307
152364
|
},
|
|
152308
152365
|
width: {
|
|
152309
152366
|
type: String,
|
|
152310
|
-
default: () => '
|
|
152367
|
+
default: () => '480'
|
|
152311
152368
|
},
|
|
152312
152369
|
trigger: {
|
|
152313
152370
|
type: String,
|
|
@@ -152343,6 +152400,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
152343
152400
|
this.create();
|
|
152344
152401
|
},
|
|
152345
152402
|
|
|
152403
|
+
destroyed() {
|
|
152404
|
+
this.create = null;
|
|
152405
|
+
this.select = null;
|
|
152406
|
+
this.change = null;
|
|
152407
|
+
},
|
|
152408
|
+
|
|
152346
152409
|
methods: {
|
|
152347
152410
|
create() {
|
|
152348
152411
|
this.$nextTick(() => {
|
|
@@ -152364,7 +152427,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
152364
152427
|
},
|
|
152365
152428
|
|
|
152366
152429
|
change(content) {
|
|
152367
|
-
this
|
|
152430
|
+
this.content = content;
|
|
152431
|
+
console.log(this.content);
|
|
152432
|
+
this.$nextTick(() => this.$emit('input', this.content));
|
|
152368
152433
|
}
|
|
152369
152434
|
|
|
152370
152435
|
},
|
|
@@ -152374,9 +152439,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
152374
152439
|
return h("el-popover", {
|
|
152375
152440
|
"class": "a-icon-select",
|
|
152376
152441
|
"attrs": {
|
|
152377
|
-
"placement":
|
|
152442
|
+
"placement": this.placement,
|
|
152378
152443
|
"width": "480",
|
|
152379
|
-
"trigger":
|
|
152444
|
+
"trigger": this.trigger
|
|
152380
152445
|
},
|
|
152381
152446
|
"model": {
|
|
152382
152447
|
value: this.visible,
|
|
@@ -164983,6 +165048,19 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
|
|
|
164983
165048
|
this.update();
|
|
164984
165049
|
},
|
|
164985
165050
|
|
|
165051
|
+
destroyed() {
|
|
165052
|
+
this.create = null;
|
|
165053
|
+
this.update = null;
|
|
165054
|
+
this.submit = null;
|
|
165055
|
+
this.cancel = null;
|
|
165056
|
+
this.filter = null;
|
|
165057
|
+
this.result = null;
|
|
165058
|
+
this.switch = null;
|
|
165059
|
+
this.prompt = null;
|
|
165060
|
+
this.format = null;
|
|
165061
|
+
this.output = null;
|
|
165062
|
+
},
|
|
165063
|
+
|
|
164986
165064
|
watch: {
|
|
164987
165065
|
values() {
|
|
164988
165066
|
this.create();
|
|
@@ -165074,11 +165152,11 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
|
|
|
165074
165152
|
}
|
|
165075
165153
|
},
|
|
165076
165154
|
|
|
165077
|
-
filter(form) {
|
|
165155
|
+
filter(form = {}) {
|
|
165078
165156
|
const data = {};
|
|
165079
165157
|
|
|
165080
165158
|
for (let a in form) {
|
|
165081
|
-
if (form[a] != '' && form[a] != '%%' && form[a] != 'undefined' && form[a] != null && form[a] != undefined) data[a] = form[a];
|
|
165159
|
+
if (form[a] != '' && form[a] != '%%' && form[a] != 'null' && form[a] != 'undefined' && form[a] != null && form[a] != undefined) data[a] = form[a];
|
|
165082
165160
|
}
|
|
165083
165161
|
|
|
165084
165162
|
return data;
|
|
@@ -165154,8 +165232,8 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
|
|
|
165154
165232
|
render() {
|
|
165155
165233
|
const h = arguments[0];
|
|
165156
165234
|
const {
|
|
165157
|
-
submit,
|
|
165158
|
-
cancel
|
|
165235
|
+
submit = null,
|
|
165236
|
+
cancel = null
|
|
165159
165237
|
} = this.$listeners;
|
|
165160
165238
|
return h("keep-alive", [h("div", {
|
|
165161
165239
|
"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;
|
|
@@ -130051,10 +130074,20 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
|
|
|
130051
130074
|
this.create();
|
|
130052
130075
|
},
|
|
130053
130076
|
|
|
130054
|
-
|
|
130077
|
+
beforeDestroy() {
|
|
130055
130078
|
this.cancel();
|
|
130056
130079
|
},
|
|
130057
130080
|
|
|
130081
|
+
destroyed() {
|
|
130082
|
+
this.create = null;
|
|
130083
|
+
this.verify = null;
|
|
130084
|
+
this.finish = null;
|
|
130085
|
+
this.submit = null;
|
|
130086
|
+
this.cancel = null;
|
|
130087
|
+
this.filter = null;
|
|
130088
|
+
this.result = null;
|
|
130089
|
+
},
|
|
130090
|
+
|
|
130058
130091
|
watch: {
|
|
130059
130092
|
values: {
|
|
130060
130093
|
immediate: true,
|
|
@@ -130188,7 +130221,9 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
|
|
|
130188
130221
|
const data = {};
|
|
130189
130222
|
|
|
130190
130223
|
for (let a in form) {
|
|
130191
|
-
if (a != undefined && a != 'undefined' && form[a] != '' && form[a] != '
|
|
130224
|
+
if (a != undefined && a != 'undefined' && form[a] != '%%' && form[a] != 'null' && form[a] != 'undefined' && form[a] != null && form[a] != undefined) {
|
|
130225
|
+
data[a] = form[a];
|
|
130226
|
+
}
|
|
130192
130227
|
}
|
|
130193
130228
|
|
|
130194
130229
|
return data;
|
|
@@ -130203,9 +130238,9 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
|
|
|
130203
130238
|
render() {
|
|
130204
130239
|
const h = arguments[0];
|
|
130205
130240
|
const {
|
|
130206
|
-
finish,
|
|
130207
|
-
submit,
|
|
130208
|
-
cancel
|
|
130241
|
+
finish = null,
|
|
130242
|
+
submit = null,
|
|
130243
|
+
cancel = null
|
|
130209
130244
|
} = this.$listeners;
|
|
130210
130245
|
return h("keep-alive", [h("div", {
|
|
130211
130246
|
"class": !this.inline ? this.search ? 'a-form' : 'a-from vertical' : 'a-form',
|
|
@@ -132148,10 +132183,22 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
|
|
|
132148
132183
|
this.create();
|
|
132149
132184
|
},
|
|
132150
132185
|
|
|
132151
|
-
|
|
132186
|
+
beforeDestroy() {
|
|
132152
132187
|
this.cancel();
|
|
132153
132188
|
},
|
|
132154
132189
|
|
|
132190
|
+
destroyed() {
|
|
132191
|
+
this.create = null;
|
|
132192
|
+
this.verify = null;
|
|
132193
|
+
this.finish = null;
|
|
132194
|
+
this.submit = null;
|
|
132195
|
+
this.reject = null;
|
|
132196
|
+
this.cancel = null;
|
|
132197
|
+
this.filter = null;
|
|
132198
|
+
this.result = null;
|
|
132199
|
+
this.format = null;
|
|
132200
|
+
},
|
|
132201
|
+
|
|
132155
132202
|
watch: {
|
|
132156
132203
|
values: {
|
|
132157
132204
|
immediate: true,
|
|
@@ -132254,12 +132301,14 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
|
|
|
132254
132301
|
this.$emit('cancel', this.form);
|
|
132255
132302
|
},
|
|
132256
132303
|
|
|
132257
|
-
filter(form) {
|
|
132304
|
+
filter(form = {}) {
|
|
132258
132305
|
// 过滤空值属性
|
|
132259
132306
|
const data = {};
|
|
132260
132307
|
|
|
132261
132308
|
for (let a in form) {
|
|
132262
|
-
if (a != undefined && a != 'undefined' && form[a] != '' && form[a] != '
|
|
132309
|
+
if (a != undefined && a != 'undefined' && form[a] != '%%' && form[a] != 'null' && form[a] != 'undefined' && form[a] != null && form[a] != undefined) {
|
|
132310
|
+
data[a] = form[a];
|
|
132311
|
+
}
|
|
132263
132312
|
}
|
|
132264
132313
|
|
|
132265
132314
|
return data;
|
|
@@ -134593,7 +134642,12 @@ const Aempty = a => Promise.resolve(/* AMD require */).then(function() { var __W
|
|
|
134593
134642
|
|
|
134594
134643
|
destroyed() {
|
|
134595
134644
|
this.create = null;
|
|
134645
|
+
this.search = null;
|
|
134646
|
+
this.select = null;
|
|
134647
|
+
this.choose = null;
|
|
134648
|
+
this.change = null;
|
|
134596
134649
|
this.format = null;
|
|
134650
|
+
this.scroll = null;
|
|
134597
134651
|
},
|
|
134598
134652
|
|
|
134599
134653
|
methods: {
|
|
@@ -134603,11 +134657,11 @@ const Aempty = a => Promise.resolve(/* AMD require */).then(function() { var __W
|
|
|
134603
134657
|
const actionColumn = () => {
|
|
134604
134658
|
let data = [];
|
|
134605
134659
|
const {
|
|
134606
|
-
review,
|
|
134607
|
-
modify,
|
|
134608
|
-
update,
|
|
134609
|
-
handle,
|
|
134610
|
-
remove
|
|
134660
|
+
review = null,
|
|
134661
|
+
modify = null,
|
|
134662
|
+
update = null,
|
|
134663
|
+
handle = null,
|
|
134664
|
+
remove = null
|
|
134611
134665
|
} = this.$listeners;
|
|
134612
134666
|
|
|
134613
134667
|
if (review || modify || update || handle || remove || this.$listeners.delete || this.$listeners.export) {
|
|
@@ -134662,7 +134716,7 @@ const Aempty = a => Promise.resolve(/* AMD require */).then(function() { var __W
|
|
|
134662
134716
|
return columnConfig.map((a, b) => {
|
|
134663
134717
|
if (a && Object.keys(a).length > 0) {
|
|
134664
134718
|
let {
|
|
134665
|
-
header,
|
|
134719
|
+
header = null,
|
|
134666
134720
|
...item
|
|
134667
134721
|
} = a;
|
|
134668
134722
|
let label = a.text || a.label || a.title;
|
|
@@ -134699,14 +134753,14 @@ const Aempty = a => Promise.resolve(/* AMD require */).then(function() { var __W
|
|
|
134699
134753
|
|
|
134700
134754
|
search(params = {}) {
|
|
134701
134755
|
const {
|
|
134702
|
-
pageParams,
|
|
134703
|
-
formParams
|
|
134756
|
+
pageParams = {},
|
|
134757
|
+
formParams = {}
|
|
134704
134758
|
} = this.$store.state;
|
|
134705
134759
|
const formatParams = Object.assign({}, pageParams, formParams, params);
|
|
134706
134760
|
this.$emit('search', formatParams);
|
|
134707
134761
|
},
|
|
134708
134762
|
|
|
134709
|
-
select(items) {
|
|
134763
|
+
select(items = []) {
|
|
134710
134764
|
this.$store.commit('changeSelectedRows', items);
|
|
134711
134765
|
this.$store.commit('changeSelectedKeys', items.map(a => a[this.rowKey]));
|
|
134712
134766
|
this.$emit('select', {
|
|
@@ -134723,7 +134777,10 @@ const Aempty = a => Promise.resolve(/* AMD require */).then(function() { var __W
|
|
|
134723
134777
|
});
|
|
134724
134778
|
},
|
|
134725
134779
|
|
|
134726
|
-
change(pages
|
|
134780
|
+
change(pages = {
|
|
134781
|
+
page: 1,
|
|
134782
|
+
size: 10
|
|
134783
|
+
}) {
|
|
134727
134784
|
this.$store.commit('changePageParams', pages);
|
|
134728
134785
|
this.$emit('change', pages);
|
|
134729
134786
|
this.search(pages);
|
|
@@ -134821,11 +134878,11 @@ const Aempty = a => Promise.resolve(/* AMD require */).then(function() { var __W
|
|
|
134821
134878
|
const data = r.data ? r.data : r.list ? r.list : r.rows ? r.rows : r.record ? r.record : r.records ? r.records : [];
|
|
134822
134879
|
const size = r.size ? r.size : r.total ? r.total : r.count ? r.count : 0;
|
|
134823
134880
|
const {
|
|
134824
|
-
pageParams
|
|
134881
|
+
pageParams = {}
|
|
134825
134882
|
} = this.$store.state;
|
|
134826
134883
|
const {
|
|
134827
134884
|
loading = false,
|
|
134828
|
-
search
|
|
134885
|
+
search = null
|
|
134829
134886
|
} = this;
|
|
134830
134887
|
const condition = data.length > 0;
|
|
134831
134888
|
return h("keep-alive", [h("div", {
|
|
@@ -152316,7 +152373,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
152316
152373
|
},
|
|
152317
152374
|
width: {
|
|
152318
152375
|
type: String,
|
|
152319
|
-
default: () => '
|
|
152376
|
+
default: () => '480'
|
|
152320
152377
|
},
|
|
152321
152378
|
trigger: {
|
|
152322
152379
|
type: String,
|
|
@@ -152352,6 +152409,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
152352
152409
|
this.create();
|
|
152353
152410
|
},
|
|
152354
152411
|
|
|
152412
|
+
destroyed() {
|
|
152413
|
+
this.create = null;
|
|
152414
|
+
this.select = null;
|
|
152415
|
+
this.change = null;
|
|
152416
|
+
},
|
|
152417
|
+
|
|
152355
152418
|
methods: {
|
|
152356
152419
|
create() {
|
|
152357
152420
|
this.$nextTick(() => {
|
|
@@ -152373,7 +152436,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
152373
152436
|
},
|
|
152374
152437
|
|
|
152375
152438
|
change(content) {
|
|
152376
|
-
this
|
|
152439
|
+
this.content = content;
|
|
152440
|
+
console.log(this.content);
|
|
152441
|
+
this.$nextTick(() => this.$emit('input', this.content));
|
|
152377
152442
|
}
|
|
152378
152443
|
|
|
152379
152444
|
},
|
|
@@ -152383,9 +152448,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
152383
152448
|
return h("el-popover", {
|
|
152384
152449
|
"class": "a-icon-select",
|
|
152385
152450
|
"attrs": {
|
|
152386
|
-
"placement":
|
|
152451
|
+
"placement": this.placement,
|
|
152387
152452
|
"width": "480",
|
|
152388
|
-
"trigger":
|
|
152453
|
+
"trigger": this.trigger
|
|
152389
152454
|
},
|
|
152390
152455
|
"model": {
|
|
152391
152456
|
value: this.visible,
|
|
@@ -164992,6 +165057,19 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
|
|
|
164992
165057
|
this.update();
|
|
164993
165058
|
},
|
|
164994
165059
|
|
|
165060
|
+
destroyed() {
|
|
165061
|
+
this.create = null;
|
|
165062
|
+
this.update = null;
|
|
165063
|
+
this.submit = null;
|
|
165064
|
+
this.cancel = null;
|
|
165065
|
+
this.filter = null;
|
|
165066
|
+
this.result = null;
|
|
165067
|
+
this.switch = null;
|
|
165068
|
+
this.prompt = null;
|
|
165069
|
+
this.format = null;
|
|
165070
|
+
this.output = null;
|
|
165071
|
+
},
|
|
165072
|
+
|
|
164995
165073
|
watch: {
|
|
164996
165074
|
values() {
|
|
164997
165075
|
this.create();
|
|
@@ -165083,11 +165161,11 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
|
|
|
165083
165161
|
}
|
|
165084
165162
|
},
|
|
165085
165163
|
|
|
165086
|
-
filter(form) {
|
|
165164
|
+
filter(form = {}) {
|
|
165087
165165
|
const data = {};
|
|
165088
165166
|
|
|
165089
165167
|
for (let a in form) {
|
|
165090
|
-
if (form[a] != '' && form[a] != '%%' && form[a] != 'undefined' && form[a] != null && form[a] != undefined) data[a] = form[a];
|
|
165168
|
+
if (form[a] != '' && form[a] != '%%' && form[a] != 'null' && form[a] != 'undefined' && form[a] != null && form[a] != undefined) data[a] = form[a];
|
|
165091
165169
|
}
|
|
165092
165170
|
|
|
165093
165171
|
return data;
|
|
@@ -165163,8 +165241,8 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
|
|
|
165163
165241
|
render() {
|
|
165164
165242
|
const h = arguments[0];
|
|
165165
165243
|
const {
|
|
165166
|
-
submit,
|
|
165167
|
-
cancel
|
|
165244
|
+
submit = null,
|
|
165245
|
+
cancel = null
|
|
165168
165246
|
} = this.$listeners;
|
|
165169
165247
|
return h("keep-alive", [h("div", {
|
|
165170
165248
|
"class": "b-f-search",
|