eoss-mobiles 0.3.25 → 0.3.27
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/lib/eoss-mobile.common.js +67 -106
- package/lib/index.js +1 -1
- package/lib/selector.js +66 -105
- package/package.json +1 -1
- package/packages/selector/src/selector-tree.vue +10 -8
- package/src/index.js +1 -1
|
@@ -2150,8 +2150,8 @@ mainvue_type_template_id_17308961_render._withStripped = true
|
|
|
2150
2150
|
|
|
2151
2151
|
// CONCATENATED MODULE: ./packages/selector/src/main.vue?vue&type=template&id=17308961
|
|
2152
2152
|
|
|
2153
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/selector-tree.vue?vue&type=template&id=
|
|
2154
|
-
var
|
|
2153
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/selector-tree.vue?vue&type=template&id=ed62cd92
|
|
2154
|
+
var selector_treevue_type_template_id_ed62cd92_render = function () {
|
|
2155
2155
|
var _vm = this
|
|
2156
2156
|
var _h = _vm.$createElement
|
|
2157
2157
|
var _c = _vm._self._c || _h
|
|
@@ -2313,7 +2313,7 @@ var selector_treevue_type_template_id_ffacb34a_render = function () {
|
|
|
2313
2313
|
[
|
|
2314
2314
|
_c("img", {
|
|
2315
2315
|
attrs: {
|
|
2316
|
-
src: "data:image/png;base64,
|
|
2316
|
+
src: "data:image/png;base64,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",
|
|
2317
2317
|
},
|
|
2318
2318
|
}),
|
|
2319
2319
|
]
|
|
@@ -2331,11 +2331,11 @@ var selector_treevue_type_template_id_ffacb34a_render = function () {
|
|
|
2331
2331
|
1
|
|
2332
2332
|
)
|
|
2333
2333
|
}
|
|
2334
|
-
var
|
|
2335
|
-
|
|
2334
|
+
var selector_treevue_type_template_id_ed62cd92_staticRenderFns = []
|
|
2335
|
+
selector_treevue_type_template_id_ed62cd92_render._withStripped = true
|
|
2336
2336
|
|
|
2337
2337
|
|
|
2338
|
-
// CONCATENATED MODULE: ./packages/selector/src/selector-tree.vue?vue&type=template&id=
|
|
2338
|
+
// CONCATENATED MODULE: ./packages/selector/src/selector-tree.vue?vue&type=template&id=ed62cd92
|
|
2339
2339
|
|
|
2340
2340
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/tree.vue?vue&type=template&id=d9c99060
|
|
2341
2341
|
var treevue_type_template_id_d9c99060_render = function () {
|
|
@@ -3588,8 +3588,6 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
3588
3588
|
|
|
3589
3589
|
var _props, _methods;
|
|
3590
3590
|
|
|
3591
|
-
function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, arguments); return new Promise(function (resolve, reject) { function step(key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { return Promise.resolve(value).then(function (value) { step("next", value); }, function (err) { step("throw", err); }); } } return step("next"); }); }; }
|
|
3592
|
-
|
|
3593
3591
|
//
|
|
3594
3592
|
//
|
|
3595
3593
|
//
|
|
@@ -4177,30 +4175,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
4177
4175
|
|
|
4178
4176
|
methods: (_methods = {
|
|
4179
4177
|
handleClick: function handleClick(index) {
|
|
4180
|
-
|
|
4181
|
-
|
|
4182
|
-
return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
|
4183
|
-
return regeneratorRuntime.wrap(function _callee$(_context) {
|
|
4184
|
-
while (1) {
|
|
4185
|
-
switch (_context.prev = _context.next) {
|
|
4186
|
-
case 0:
|
|
4187
|
-
_this3.selectIndex = index;
|
|
4188
|
-
_context.next = 3;
|
|
4189
|
-
return _this3.getContent();
|
|
4190
|
-
|
|
4191
|
-
case 3:
|
|
4192
|
-
_this3.inputSearch = false;
|
|
4193
|
-
|
|
4194
|
-
case 4:
|
|
4195
|
-
case 'end':
|
|
4196
|
-
return _context.stop();
|
|
4197
|
-
}
|
|
4198
|
-
}
|
|
4199
|
-
}, _callee, _this3);
|
|
4200
|
-
}))();
|
|
4178
|
+
this.selectIndex = index;
|
|
4179
|
+
this.getContent(undefined, false);
|
|
4201
4180
|
},
|
|
4202
4181
|
getNodeList: function getNodeList(isSearch) {
|
|
4203
|
-
var
|
|
4182
|
+
var _this3 = this;
|
|
4204
4183
|
|
|
4205
4184
|
this.personnel = JSON.parse(JSON.stringify(this.nodeList));
|
|
4206
4185
|
// !isSearch && (this.list = $.deepClone(this.selectList));
|
|
@@ -4227,7 +4206,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
4227
4206
|
} else {
|
|
4228
4207
|
_this.personnel.map(function (x) {
|
|
4229
4208
|
if (x.children && x.children.length > 0) {
|
|
4230
|
-
|
|
4209
|
+
_this3.setChecked(x.children);
|
|
4231
4210
|
} else {
|
|
4232
4211
|
_this.$set(x, 'checked', false);
|
|
4233
4212
|
}
|
|
@@ -4245,13 +4224,13 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
4245
4224
|
});
|
|
4246
4225
|
},
|
|
4247
4226
|
setChecked: function setChecked(list) {
|
|
4248
|
-
var
|
|
4227
|
+
var _this4 = this;
|
|
4249
4228
|
|
|
4250
4229
|
list.map(function (x) {
|
|
4251
4230
|
if (x.children && x.children.length > 0) {
|
|
4252
|
-
|
|
4231
|
+
_this4.setChecked(x.children);
|
|
4253
4232
|
} else {
|
|
4254
|
-
|
|
4233
|
+
_this4.$set(x, 'checked', false);
|
|
4255
4234
|
}
|
|
4256
4235
|
});
|
|
4257
4236
|
},
|
|
@@ -4291,41 +4270,20 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
4291
4270
|
* @author liufan
|
|
4292
4271
|
*/
|
|
4293
4272
|
onSearch: function onSearch() {
|
|
4294
|
-
var
|
|
4273
|
+
var _this5 = this;
|
|
4295
4274
|
|
|
4296
4275
|
if (this.timer != null) {
|
|
4297
4276
|
clearTimeout(this.timer);
|
|
4298
4277
|
}
|
|
4299
|
-
this.timer = setTimeout(
|
|
4300
|
-
|
|
4301
|
-
|
|
4302
|
-
|
|
4303
|
-
|
|
4304
|
-
|
|
4305
|
-
|
|
4306
|
-
|
|
4307
|
-
|
|
4308
|
-
|
|
4309
|
-
_this6.oldIsSearch = _this6.isSearch;
|
|
4310
|
-
_this6.isSearch = !_this6.isSearch;
|
|
4311
|
-
_this6.$emit('search', _this6.namelike);
|
|
4312
|
-
_context2.next = 9;
|
|
4313
|
-
break;
|
|
4314
|
-
|
|
4315
|
-
case 6:
|
|
4316
|
-
_context2.next = 8;
|
|
4317
|
-
return _this6.getContent();
|
|
4318
|
-
|
|
4319
|
-
case 8:
|
|
4320
|
-
_this6.inputSearch = !!_this6.namelike.trim();
|
|
4321
|
-
|
|
4322
|
-
case 9:
|
|
4323
|
-
case 'end':
|
|
4324
|
-
return _context2.stop();
|
|
4325
|
-
}
|
|
4326
|
-
}
|
|
4327
|
-
}, _callee2, _this6);
|
|
4328
|
-
})), 1000);
|
|
4278
|
+
this.timer = setTimeout(function () {
|
|
4279
|
+
if (_this5.$listeners.search) {
|
|
4280
|
+
_this5.oldIsSearch = _this5.isSearch;
|
|
4281
|
+
_this5.isSearch = !_this5.isSearch;
|
|
4282
|
+
_this5.$emit('search', _this5.namelike);
|
|
4283
|
+
} else {
|
|
4284
|
+
_this5.getContent(undefined, !!_this5.namelike.trim());
|
|
4285
|
+
}
|
|
4286
|
+
}, 1000);
|
|
4329
4287
|
},
|
|
4330
4288
|
|
|
4331
4289
|
/**
|
|
@@ -4334,8 +4292,8 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
4334
4292
|
* @date 2023年3月6日
|
|
4335
4293
|
* @author liufan
|
|
4336
4294
|
*/
|
|
4337
|
-
getContent: function getContent(name) {
|
|
4338
|
-
var
|
|
4295
|
+
getContent: function getContent(name, isSearch) {
|
|
4296
|
+
var _this6 = this;
|
|
4339
4297
|
|
|
4340
4298
|
if (name) {
|
|
4341
4299
|
this.label = name;
|
|
@@ -4368,40 +4326,43 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
4368
4326
|
filid: this.filid
|
|
4369
4327
|
}, this.newParam)
|
|
4370
4328
|
}).then(function (res) {
|
|
4371
|
-
|
|
4329
|
+
if (isSearch != undefined) {
|
|
4330
|
+
_this6.inputSearch = isSearch;
|
|
4331
|
+
}
|
|
4332
|
+
_this6.$toast.clear();
|
|
4372
4333
|
var rCode = res.rCode,
|
|
4373
4334
|
msg = res.msg;
|
|
4374
4335
|
|
|
4375
4336
|
if (rCode == 0) {
|
|
4376
|
-
if (typeof
|
|
4377
|
-
|
|
4378
|
-
|
|
4379
|
-
|
|
4337
|
+
if (typeof _this6.selectList == 'string') {
|
|
4338
|
+
_this6.selectData = [];
|
|
4339
|
+
_this6.list = _this6.getSelectData(JSON.parse(JSON.stringify(res.results)));
|
|
4340
|
+
_this6.$emit('update:selectList', _this6.list);
|
|
4380
4341
|
}
|
|
4381
|
-
|
|
4382
|
-
var _this =
|
|
4383
|
-
|
|
4342
|
+
_this6.personnel = JSON.parse(JSON.stringify(res.results));
|
|
4343
|
+
var _this = _this6;
|
|
4344
|
+
_this6.list.filter(function (r) {
|
|
4384
4345
|
_this.personnel.find(function (i) {
|
|
4385
4346
|
if (i[_this.valueKey] === r[_this.valueKey]) {
|
|
4386
4347
|
_this.$set(i, 'checked', true);
|
|
4387
4348
|
}
|
|
4388
4349
|
});
|
|
4389
4350
|
});
|
|
4390
|
-
|
|
4351
|
+
_this6.genre = JSON.parse(JSON.stringify(res.results));
|
|
4391
4352
|
} else {
|
|
4392
|
-
|
|
4353
|
+
_this6.$toast(msg);
|
|
4393
4354
|
}
|
|
4394
4355
|
});
|
|
4395
4356
|
},
|
|
4396
4357
|
getSelectData: function getSelectData(data) {
|
|
4397
|
-
var
|
|
4358
|
+
var _this7 = this;
|
|
4398
4359
|
|
|
4399
4360
|
var _this = this;
|
|
4400
4361
|
var user = this.selectList.split(',');
|
|
4401
4362
|
user.map(function (x) {
|
|
4402
4363
|
data.map(function (i) {
|
|
4403
4364
|
if (i[_this.valueKey] == x) {
|
|
4404
|
-
|
|
4365
|
+
_this7.selectData.push(i);
|
|
4405
4366
|
} else if (i.children) {
|
|
4406
4367
|
_this.getSelectData(i.children);
|
|
4407
4368
|
}
|
|
@@ -4410,7 +4371,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
4410
4371
|
return this.selectData;
|
|
4411
4372
|
},
|
|
4412
4373
|
getData: function getData(obj) {
|
|
4413
|
-
var
|
|
4374
|
+
var _this8 = this;
|
|
4414
4375
|
|
|
4415
4376
|
var params = _extends({}, this.newParam, {
|
|
4416
4377
|
pid: obj[this.valueKey],
|
|
@@ -4429,7 +4390,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
4429
4390
|
params: params
|
|
4430
4391
|
}).then(function (res) {
|
|
4431
4392
|
if (res.rCode == 0) {
|
|
4432
|
-
if (res.results.length > 0 && res.results[0].nocheck == false &&
|
|
4393
|
+
if (res.results.length > 0 && res.results[0].nocheck == false && _this8.isAllCheck && _this8.multiple) {
|
|
4433
4394
|
res.results.unshift({
|
|
4434
4395
|
showshortname: '全选',
|
|
4435
4396
|
checked: false,
|
|
@@ -4438,16 +4399,16 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
4438
4399
|
parentshowid: res.results[0].parentshowid
|
|
4439
4400
|
});
|
|
4440
4401
|
}
|
|
4441
|
-
|
|
4442
|
-
var _this =
|
|
4443
|
-
|
|
4402
|
+
_this8.$set(obj, 'children', res.results);
|
|
4403
|
+
var _this = _this8;
|
|
4404
|
+
_this8.list.filter(function (r) {
|
|
4444
4405
|
obj.children.find(function (i) {
|
|
4445
4406
|
if (i[_this.valueKey] === r[_this.valueKey]) {
|
|
4446
4407
|
_this.$set(i, 'checked', true);
|
|
4447
4408
|
}
|
|
4448
4409
|
});
|
|
4449
4410
|
});
|
|
4450
|
-
if (
|
|
4411
|
+
if (_this8.isAllCheck && _this8.multiple && obj.children.length > 0) {
|
|
4451
4412
|
var checkList = obj.children.slice(1, obj.children.length).filter(function (x) {
|
|
4452
4413
|
return x.checked;
|
|
4453
4414
|
});
|
|
@@ -4456,11 +4417,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
4456
4417
|
}
|
|
4457
4418
|
}
|
|
4458
4419
|
}
|
|
4459
|
-
|
|
4420
|
+
_this8.$toast.clear();
|
|
4460
4421
|
});
|
|
4461
4422
|
},
|
|
4462
4423
|
getChiled: function getChiled(res, isStart, key) {
|
|
4463
|
-
var
|
|
4424
|
+
var _this9 = this;
|
|
4464
4425
|
|
|
4465
4426
|
var _that = this;
|
|
4466
4427
|
var data = [];
|
|
@@ -4503,9 +4464,9 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
4503
4464
|
_that.$set(i, 'checked', false);
|
|
4504
4465
|
});
|
|
4505
4466
|
}
|
|
4506
|
-
|
|
4467
|
+
_this9.$toast.clear();
|
|
4507
4468
|
}).catch(function (err) {
|
|
4508
|
-
|
|
4469
|
+
_this9.$toast('数据返回错误');
|
|
4509
4470
|
});
|
|
4510
4471
|
} else {
|
|
4511
4472
|
data.map(function (x) {
|
|
@@ -4566,7 +4527,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
4566
4527
|
}
|
|
4567
4528
|
},
|
|
4568
4529
|
checked: function checked(res, model) {
|
|
4569
|
-
var
|
|
4530
|
+
var _this10 = this;
|
|
4570
4531
|
|
|
4571
4532
|
this.oldIsSearch = this.isSearch;
|
|
4572
4533
|
if (!res.obj.mixType) {
|
|
@@ -4575,12 +4536,12 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
4575
4536
|
if (res.obj.checked) {
|
|
4576
4537
|
if (res.obj.isAllCheck) {
|
|
4577
4538
|
model.map(function (x) {
|
|
4578
|
-
for (var i in
|
|
4579
|
-
if (
|
|
4580
|
-
|
|
4539
|
+
for (var i in _this10.list) {
|
|
4540
|
+
if (_this10.list[i][_this10.valueKey] == x[_this10.valueKey]) {
|
|
4541
|
+
_this10.list.splice(i, 1);
|
|
4581
4542
|
}
|
|
4582
4543
|
}
|
|
4583
|
-
|
|
4544
|
+
_this10.$set(x, 'checked', false);
|
|
4584
4545
|
});
|
|
4585
4546
|
} else {
|
|
4586
4547
|
for (var i in this.list) {
|
|
@@ -4600,8 +4561,8 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
4600
4561
|
|
|
4601
4562
|
var selectData = [];
|
|
4602
4563
|
model.map(function (x) {
|
|
4603
|
-
if (!x.disabled && !x.nocheck && !x.isAllCheck && x.selecttype ==
|
|
4604
|
-
|
|
4564
|
+
if (!x.disabled && !x.nocheck && !x.isAllCheck && x.selecttype == _this10.newParam.selecttype) {
|
|
4565
|
+
_this10.$set(x, 'checked', true);
|
|
4605
4566
|
selectData.push(x);
|
|
4606
4567
|
}
|
|
4607
4568
|
});
|
|
@@ -4626,12 +4587,12 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
4626
4587
|
return item;
|
|
4627
4588
|
}, []);
|
|
4628
4589
|
var newArr = model.filter(function (x) {
|
|
4629
|
-
return !x.disabled && !x.nocheck && x.selecttype ==
|
|
4590
|
+
return !x.disabled && !x.nocheck && x.selecttype == _this10.newParam.selecttype;
|
|
4630
4591
|
});
|
|
4631
4592
|
if (newArr.length === checkList.length) {
|
|
4632
4593
|
model.map(function (x) {
|
|
4633
4594
|
if (!x.disabled) {
|
|
4634
|
-
|
|
4595
|
+
_this10.$set(model[0], 'checked', true);
|
|
4635
4596
|
}
|
|
4636
4597
|
});
|
|
4637
4598
|
} else {
|
|
@@ -4640,16 +4601,16 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
4640
4601
|
}
|
|
4641
4602
|
}
|
|
4642
4603
|
}, _methods['setChecked'] = function setChecked(data, item) {
|
|
4643
|
-
var
|
|
4604
|
+
var _this11 = this;
|
|
4644
4605
|
|
|
4645
4606
|
data.map(function (x) {
|
|
4646
|
-
if (x[
|
|
4647
|
-
|
|
4607
|
+
if (x[_this11.valueKey] === item[_this11.valueKey]) {
|
|
4608
|
+
_this11.$set(x, 'checked', true);
|
|
4648
4609
|
} else {
|
|
4649
|
-
|
|
4610
|
+
_this11.$set(x, 'checked', false);
|
|
4650
4611
|
}
|
|
4651
4612
|
if (x.children) {
|
|
4652
|
-
|
|
4613
|
+
_this11.setChecked(x.children, item);
|
|
4653
4614
|
}
|
|
4654
4615
|
});
|
|
4655
4616
|
}, _methods.dispose = function dispose() {
|
|
@@ -4676,8 +4637,8 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
4676
4637
|
|
|
4677
4638
|
var selector_tree_component = normalizeComponent(
|
|
4678
4639
|
src_selector_treevue_type_script_lang_js,
|
|
4679
|
-
|
|
4680
|
-
|
|
4640
|
+
selector_treevue_type_template_id_ed62cd92_render,
|
|
4641
|
+
selector_treevue_type_template_id_ed62cd92_staticRenderFns,
|
|
4681
4642
|
false,
|
|
4682
4643
|
null,
|
|
4683
4644
|
null,
|
|
@@ -28224,7 +28185,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
28224
28185
|
}
|
|
28225
28186
|
|
|
28226
28187
|
/* harmony default export */ var src = __webpack_exports__["default"] = ({
|
|
28227
|
-
version: '0.3.
|
|
28188
|
+
version: '0.3.27',
|
|
28228
28189
|
install: install,
|
|
28229
28190
|
Button: packages_button,
|
|
28230
28191
|
ButtonGroup: button_group,
|