eoss-mobiles 0.1.80 → 0.1.83
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 +121 -92
- package/lib/field.js +59 -7
- package/lib/flow.js +23 -28
- package/lib/form.js +7 -3
- package/lib/index.js +1 -1
- package/lib/picker.js +16 -38
- package/package.json +1 -1
- package/packages/field/src/main.vue +54 -7
- package/packages/flow/src/components/Handle.vue +2 -2
- package/packages/flow/src/components/Opinion.vue +0 -1
- package/packages/flow/src/components/taskUnionExamine.vue +0 -4
- package/packages/form/src/main.vue +10 -8
- package/packages/picker/src/main.vue +13 -15
- package/src/index.js +1 -1
|
@@ -4273,8 +4273,8 @@ selector_src_main.install = function (Vue) {
|
|
|
4273
4273
|
};
|
|
4274
4274
|
|
|
4275
4275
|
/* harmony default export */ var selector = (selector_src_main);
|
|
4276
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/field/src/main.vue?vue&type=template&id=
|
|
4277
|
-
var
|
|
4276
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/field/src/main.vue?vue&type=template&id=44f44a04&
|
|
4277
|
+
var mainvue_type_template_id_44f44a04_render = function () {
|
|
4278
4278
|
var _vm = this
|
|
4279
4279
|
var _h = _vm.$createElement
|
|
4280
4280
|
var _c = _vm._self._c || _h
|
|
@@ -4306,14 +4306,21 @@ var mainvue_type_template_id_6bf22457_render = function () {
|
|
|
4306
4306
|
error:
|
|
4307
4307
|
(!_vm.newErrorMessage &&
|
|
4308
4308
|
!_vm.modelValue &&
|
|
4309
|
-
_vm.rules
|
|
4309
|
+
_vm.rules &&
|
|
4310
|
+
(Array.isArray(_vm.rules)
|
|
4311
|
+
? _vm.rules[0].required
|
|
4312
|
+
: _vm.rules.required) &&
|
|
4313
|
+
_vm.isBlur) ||
|
|
4310
4314
|
_vm.$attrs.error,
|
|
4315
|
+
"right-icon": _vm.$attrs.rightIcon || _vm.getRightIcon,
|
|
4316
|
+
type: _vm.newType,
|
|
4311
4317
|
rules: Array.isArray(_vm.rules) ? _vm.rules : [],
|
|
4312
4318
|
},
|
|
4313
4319
|
on: {
|
|
4314
4320
|
blur: function ($event) {
|
|
4315
4321
|
_vm.handleBlur(_vm.rules)
|
|
4316
4322
|
},
|
|
4323
|
+
"click-right-icon": _vm.handleRightIcon,
|
|
4317
4324
|
},
|
|
4318
4325
|
model: {
|
|
4319
4326
|
value: _vm.modelValue,
|
|
@@ -4340,11 +4347,11 @@ var mainvue_type_template_id_6bf22457_render = function () {
|
|
|
4340
4347
|
1
|
|
4341
4348
|
)
|
|
4342
4349
|
}
|
|
4343
|
-
var
|
|
4344
|
-
|
|
4350
|
+
var mainvue_type_template_id_44f44a04_staticRenderFns = []
|
|
4351
|
+
mainvue_type_template_id_44f44a04_render._withStripped = true
|
|
4345
4352
|
|
|
4346
4353
|
|
|
4347
|
-
// CONCATENATED MODULE: ./packages/field/src/main.vue?vue&type=template&id=
|
|
4354
|
+
// CONCATENATED MODULE: ./packages/field/src/main.vue?vue&type=template&id=44f44a04&
|
|
4348
4355
|
|
|
4349
4356
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/field/src/main.vue?vue&type=script&lang=js&
|
|
4350
4357
|
//
|
|
@@ -4376,6 +4383,14 @@ mainvue_type_template_id_6bf22457_render._withStripped = true
|
|
|
4376
4383
|
//
|
|
4377
4384
|
//
|
|
4378
4385
|
//
|
|
4386
|
+
//
|
|
4387
|
+
//
|
|
4388
|
+
//
|
|
4389
|
+
//
|
|
4390
|
+
//
|
|
4391
|
+
//
|
|
4392
|
+
//
|
|
4393
|
+
//
|
|
4379
4394
|
|
|
4380
4395
|
/* harmony default export */ var field_src_mainvue_type_script_lang_js_ = ({
|
|
4381
4396
|
name: 'EmInput',
|
|
@@ -4414,20 +4429,46 @@ mainvue_type_template_id_6bf22457_render._withStripped = true
|
|
|
4414
4429
|
labelPosition: {
|
|
4415
4430
|
type: String,
|
|
4416
4431
|
default: 'left'
|
|
4432
|
+
},
|
|
4433
|
+
showPassword: {
|
|
4434
|
+
type: Boolean,
|
|
4435
|
+
default: false
|
|
4436
|
+
},
|
|
4437
|
+
type: {
|
|
4438
|
+
type: String,
|
|
4439
|
+
default: 'text'
|
|
4417
4440
|
}
|
|
4418
4441
|
},
|
|
4419
4442
|
data: function data() {
|
|
4420
4443
|
return {
|
|
4421
4444
|
newPlaceholder: '',
|
|
4422
|
-
newErrorMessage: ''
|
|
4445
|
+
newErrorMessage: '',
|
|
4446
|
+
isBlur: false,
|
|
4447
|
+
newType: ''
|
|
4423
4448
|
};
|
|
4424
4449
|
},
|
|
4425
4450
|
|
|
4426
4451
|
computed: {
|
|
4452
|
+
|
|
4453
|
+
getRightIcon: {
|
|
4454
|
+
get: function get() {
|
|
4455
|
+
var icon = undefined;
|
|
4456
|
+
if (this.showPassword) {
|
|
4457
|
+
if (this.newType != 'password') {
|
|
4458
|
+
icon = 'eye-o';
|
|
4459
|
+
} else {
|
|
4460
|
+
icon = 'closed-eye';
|
|
4461
|
+
}
|
|
4462
|
+
}
|
|
4463
|
+
return icon;
|
|
4464
|
+
},
|
|
4465
|
+
set: function set(val) {
|
|
4466
|
+
return val;
|
|
4467
|
+
}
|
|
4468
|
+
},
|
|
4427
4469
|
modelValue: {
|
|
4428
4470
|
get: function get() {
|
|
4429
4471
|
var val = this.value;
|
|
4430
|
-
|
|
4431
4472
|
return val;
|
|
4432
4473
|
},
|
|
4433
4474
|
set: function set(val) {
|
|
@@ -4436,15 +4477,25 @@ mainvue_type_template_id_6bf22457_render._withStripped = true
|
|
|
4436
4477
|
}
|
|
4437
4478
|
},
|
|
4438
4479
|
mounted: function mounted() {
|
|
4480
|
+
this.newType = this.type;
|
|
4439
4481
|
this.newPlaceholder = this.$attrs.placeholder;
|
|
4440
4482
|
this.newErrorMessage = this.errorMessage;
|
|
4441
4483
|
},
|
|
4442
4484
|
|
|
4443
4485
|
methods: {
|
|
4486
|
+
handleRightIcon: function handleRightIcon(event) {
|
|
4487
|
+
if (this.showPassword) {
|
|
4488
|
+
if (this.newType == 'text') {
|
|
4489
|
+
this.newType = 'password';
|
|
4490
|
+
} else {
|
|
4491
|
+
this.newType = 'text';
|
|
4492
|
+
}
|
|
4493
|
+
}
|
|
4494
|
+
this.$emit('click-right-icon', event);
|
|
4495
|
+
},
|
|
4444
4496
|
handleBlur: function handleBlur(rules) {
|
|
4445
4497
|
var _this = this;
|
|
4446
4498
|
|
|
4447
|
-
console.log(rules, 'rules');
|
|
4448
4499
|
var _that = this;
|
|
4449
4500
|
if (this.$attrs.type == 'number' && this.precision != null) {
|
|
4450
4501
|
this.$emit('input', Number(this.value).toFixed(Number(this.precision)));
|
|
@@ -4455,8 +4506,9 @@ mainvue_type_template_id_6bf22457_render._withStripped = true
|
|
|
4455
4506
|
});
|
|
4456
4507
|
} else {
|
|
4457
4508
|
if (rules && rules.required && !rules.validator && !this.value) {
|
|
4458
|
-
this.newPlaceholder = '';
|
|
4509
|
+
rules.message && (this.newPlaceholder = '');
|
|
4459
4510
|
this.newErrorMessage = rules.message;
|
|
4511
|
+
this.isBlur = true;
|
|
4460
4512
|
return { name: _that.$attrs.name, message: rules.message };
|
|
4461
4513
|
} else if (rules && rules.validator) {
|
|
4462
4514
|
rules.validator(this.value, this.valid);
|
|
@@ -4494,8 +4546,8 @@ mainvue_type_template_id_6bf22457_render._withStripped = true
|
|
|
4494
4546
|
|
|
4495
4547
|
var field_src_main_component = normalizeComponent(
|
|
4496
4548
|
packages_field_src_mainvue_type_script_lang_js_,
|
|
4497
|
-
|
|
4498
|
-
|
|
4549
|
+
mainvue_type_template_id_44f44a04_render,
|
|
4550
|
+
mainvue_type_template_id_44f44a04_staticRenderFns,
|
|
4499
4551
|
false,
|
|
4500
4552
|
null,
|
|
4501
4553
|
null,
|
|
@@ -4775,8 +4827,8 @@ radio_src_main.install = function (Vue) {
|
|
|
4775
4827
|
};
|
|
4776
4828
|
|
|
4777
4829
|
/* harmony default export */ var packages_radio = (radio_src_main);
|
|
4778
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/picker/src/main.vue?vue&type=template&id=
|
|
4779
|
-
var
|
|
4830
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/picker/src/main.vue?vue&type=template&id=4bb4da5a&
|
|
4831
|
+
var mainvue_type_template_id_4bb4da5a_render = function () {
|
|
4780
4832
|
var _vm = this
|
|
4781
4833
|
var _h = _vm.$createElement
|
|
4782
4834
|
var _c = _vm._self._c || _h
|
|
@@ -4797,38 +4849,20 @@ var mainvue_type_template_id_7e0b8a29_render = function () {
|
|
|
4797
4849
|
required: _vm.required,
|
|
4798
4850
|
"label-width": _vm.labelWidth,
|
|
4799
4851
|
hideLabel: _vm.hideLabel,
|
|
4852
|
+
placeholder: _vm.pickerValue
|
|
4853
|
+
? _vm.pickerValue
|
|
4854
|
+
: _vm.disabled || _vm.readonly
|
|
4855
|
+
? "暂无数据"
|
|
4856
|
+
: _vm.placeholder
|
|
4857
|
+
? _vm.placeholder
|
|
4858
|
+
: "请选择" + _vm.label,
|
|
4800
4859
|
},
|
|
4801
4860
|
on: { click: _vm.handlePicker },
|
|
4802
4861
|
},
|
|
4803
4862
|
"em-input",
|
|
4804
4863
|
_vm.$attrs,
|
|
4805
4864
|
false
|
|
4806
|
-
)
|
|
4807
|
-
[
|
|
4808
|
-
_c("template", { slot: "input" }, [
|
|
4809
|
-
_c(
|
|
4810
|
-
"span",
|
|
4811
|
-
{
|
|
4812
|
-
style:
|
|
4813
|
-
"color:" + (!_vm.pickerValue ? "rgb(150, 151, 153)" : ""),
|
|
4814
|
-
},
|
|
4815
|
-
[
|
|
4816
|
-
_vm._v(
|
|
4817
|
-
_vm._s(
|
|
4818
|
-
_vm.pickerValue
|
|
4819
|
-
? _vm.pickerValue
|
|
4820
|
-
: _vm.disabled || _vm.readonly
|
|
4821
|
-
? "暂无数据"
|
|
4822
|
-
: _vm.placeholder
|
|
4823
|
-
? _vm.placeholder
|
|
4824
|
-
: "请选择" + _vm.label
|
|
4825
|
-
)
|
|
4826
|
-
),
|
|
4827
|
-
]
|
|
4828
|
-
),
|
|
4829
|
-
]),
|
|
4830
|
-
],
|
|
4831
|
-
2
|
|
4865
|
+
)
|
|
4832
4866
|
)
|
|
4833
4867
|
: _c(
|
|
4834
4868
|
"em-input",
|
|
@@ -5056,11 +5090,11 @@ var mainvue_type_template_id_7e0b8a29_render = function () {
|
|
|
5056
5090
|
1
|
|
5057
5091
|
)
|
|
5058
5092
|
}
|
|
5059
|
-
var
|
|
5060
|
-
|
|
5093
|
+
var mainvue_type_template_id_4bb4da5a_staticRenderFns = []
|
|
5094
|
+
mainvue_type_template_id_4bb4da5a_render._withStripped = true
|
|
5061
5095
|
|
|
5062
5096
|
|
|
5063
|
-
// CONCATENATED MODULE: ./packages/picker/src/main.vue?vue&type=template&id=
|
|
5097
|
+
// CONCATENATED MODULE: ./packages/picker/src/main.vue?vue&type=template&id=4bb4da5a&
|
|
5064
5098
|
|
|
5065
5099
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/picker/src/main.vue?vue&type=script&lang=js&
|
|
5066
5100
|
var src_mainvue_type_script_lang_js_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
|
@@ -5186,12 +5220,6 @@ var mainvue_type_script_lang_js_typeof = typeof Symbol === "function" && typeof
|
|
|
5186
5220
|
//
|
|
5187
5221
|
//
|
|
5188
5222
|
//
|
|
5189
|
-
//
|
|
5190
|
-
//
|
|
5191
|
-
//
|
|
5192
|
-
//
|
|
5193
|
-
//
|
|
5194
|
-
//
|
|
5195
5223
|
|
|
5196
5224
|
|
|
5197
5225
|
|
|
@@ -5432,10 +5460,12 @@ var mainvue_type_script_lang_js_typeof = typeof Symbol === "function" && typeof
|
|
|
5432
5460
|
this.pickerValue = value;
|
|
5433
5461
|
}
|
|
5434
5462
|
} else {
|
|
5435
|
-
this.
|
|
5436
|
-
|
|
5437
|
-
|
|
5438
|
-
|
|
5463
|
+
if (this.isCheck) {
|
|
5464
|
+
this.checkList = [];
|
|
5465
|
+
this.pickerValue.map(function (x) {
|
|
5466
|
+
_this2.checkList.push(x.value);
|
|
5467
|
+
});
|
|
5468
|
+
}
|
|
5439
5469
|
}
|
|
5440
5470
|
|
|
5441
5471
|
this.showPicker = false;
|
|
@@ -5593,8 +5623,8 @@ var mainvue_type_script_lang_js_typeof = typeof Symbol === "function" && typeof
|
|
|
5593
5623
|
|
|
5594
5624
|
var picker_src_main_component = normalizeComponent(
|
|
5595
5625
|
packages_picker_src_mainvue_type_script_lang_js_,
|
|
5596
|
-
|
|
5597
|
-
|
|
5626
|
+
mainvue_type_template_id_4bb4da5a_render,
|
|
5627
|
+
mainvue_type_template_id_4bb4da5a_staticRenderFns,
|
|
5598
5628
|
false,
|
|
5599
5629
|
null,
|
|
5600
5630
|
null,
|
|
@@ -10332,8 +10362,8 @@ StartFlowvue_type_template_id_1ab5f2f0_render._withStripped = true
|
|
|
10332
10362
|
|
|
10333
10363
|
// CONCATENATED MODULE: ./packages/flow/src/components/StartFlow.vue?vue&type=template&id=1ab5f2f0&
|
|
10334
10364
|
|
|
10335
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Opinion.vue?vue&type=template&id=
|
|
10336
|
-
var
|
|
10365
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Opinion.vue?vue&type=template&id=37d0b4da&
|
|
10366
|
+
var Opinionvue_type_template_id_37d0b4da_render = function () {
|
|
10337
10367
|
var _vm = this
|
|
10338
10368
|
var _h = _vm.$createElement
|
|
10339
10369
|
var _c = _vm._self._c || _h
|
|
@@ -10437,11 +10467,11 @@ var Opinionvue_type_template_id_f682be22_render = function () {
|
|
|
10437
10467
|
1
|
|
10438
10468
|
)
|
|
10439
10469
|
}
|
|
10440
|
-
var
|
|
10441
|
-
|
|
10470
|
+
var Opinionvue_type_template_id_37d0b4da_staticRenderFns = []
|
|
10471
|
+
Opinionvue_type_template_id_37d0b4da_render._withStripped = true
|
|
10442
10472
|
|
|
10443
10473
|
|
|
10444
|
-
// CONCATENATED MODULE: ./packages/flow/src/components/Opinion.vue?vue&type=template&id=
|
|
10474
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/Opinion.vue?vue&type=template&id=37d0b4da&
|
|
10445
10475
|
|
|
10446
10476
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Opinion.vue?vue&type=script&lang=js&
|
|
10447
10477
|
//
|
|
@@ -10558,7 +10588,6 @@ Opinionvue_type_template_id_f682be22_render._withStripped = true
|
|
|
10558
10588
|
methods: {
|
|
10559
10589
|
handleClose: function handleClose() {
|
|
10560
10590
|
this.showPicker = false;
|
|
10561
|
-
console.log('取消取消');
|
|
10562
10591
|
},
|
|
10563
10592
|
|
|
10564
10593
|
// 获取常用意见列表
|
|
@@ -10601,8 +10630,8 @@ Opinionvue_type_template_id_f682be22_render._withStripped = true
|
|
|
10601
10630
|
|
|
10602
10631
|
var Opinion_component = normalizeComponent(
|
|
10603
10632
|
components_Opinionvue_type_script_lang_js_,
|
|
10604
|
-
|
|
10605
|
-
|
|
10633
|
+
Opinionvue_type_template_id_37d0b4da_render,
|
|
10634
|
+
Opinionvue_type_template_id_37d0b4da_staticRenderFns,
|
|
10606
10635
|
false,
|
|
10607
10636
|
null,
|
|
10608
10637
|
null,
|
|
@@ -11324,8 +11353,8 @@ var StartFlow_component = normalizeComponent(
|
|
|
11324
11353
|
)
|
|
11325
11354
|
|
|
11326
11355
|
/* harmony default export */ var StartFlow = (StartFlow_component.exports);
|
|
11327
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Handle.vue?vue&type=template&id=
|
|
11328
|
-
var
|
|
11356
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Handle.vue?vue&type=template&id=870cfad8&
|
|
11357
|
+
var Handlevue_type_template_id_870cfad8_render = function () {
|
|
11329
11358
|
var _vm = this
|
|
11330
11359
|
var _h = _vm.$createElement
|
|
11331
11360
|
var _c = _vm._self._c || _h
|
|
@@ -12306,11 +12335,11 @@ var Handlevue_type_template_id_4ff9cecf_render = function () {
|
|
|
12306
12335
|
1
|
|
12307
12336
|
)
|
|
12308
12337
|
}
|
|
12309
|
-
var
|
|
12310
|
-
|
|
12338
|
+
var Handlevue_type_template_id_870cfad8_staticRenderFns = []
|
|
12339
|
+
Handlevue_type_template_id_870cfad8_render._withStripped = true
|
|
12311
12340
|
|
|
12312
12341
|
|
|
12313
|
-
// CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=
|
|
12342
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=870cfad8&
|
|
12314
12343
|
|
|
12315
12344
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Reject.vue?vue&type=template&id=244de01c&
|
|
12316
12345
|
var Rejectvue_type_template_id_244de01c_render = function () {
|
|
@@ -13530,7 +13559,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
13530
13559
|
duration: 0
|
|
13531
13560
|
});
|
|
13532
13561
|
utils_http({
|
|
13533
|
-
url: taskReadHtml,
|
|
13562
|
+
url: this.baseUrl ? this.baseUrl + taskReadHtml : taskReadHtml,
|
|
13534
13563
|
headers: {
|
|
13535
13564
|
Accept: 'application/json,text/plain'
|
|
13536
13565
|
},
|
|
@@ -14035,7 +14064,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
14035
14064
|
var _this5 = this;
|
|
14036
14065
|
|
|
14037
14066
|
utils_http({
|
|
14038
|
-
url: toStartTaskReadHtml,
|
|
14067
|
+
url: this.baseUrl ? this.baseUrl + toStartTaskReadHtml : toStartTaskReadHtml,
|
|
14039
14068
|
params: { pendingId: this.pendingId }
|
|
14040
14069
|
}).then(function (res) {
|
|
14041
14070
|
var status = res.status,
|
|
@@ -14215,8 +14244,8 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
14215
14244
|
|
|
14216
14245
|
var Handle_component = normalizeComponent(
|
|
14217
14246
|
components_Handlevue_type_script_lang_js_,
|
|
14218
|
-
|
|
14219
|
-
|
|
14247
|
+
Handlevue_type_template_id_870cfad8_render,
|
|
14248
|
+
Handlevue_type_template_id_870cfad8_staticRenderFns,
|
|
14220
14249
|
false,
|
|
14221
14250
|
null,
|
|
14222
14251
|
null,
|
|
@@ -14871,8 +14900,8 @@ var TaskRead_component = normalizeComponent(
|
|
|
14871
14900
|
)
|
|
14872
14901
|
|
|
14873
14902
|
/* harmony default export */ var TaskRead = (TaskRead_component.exports);
|
|
14874
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/taskUnionExamine.vue?vue&type=template&id=
|
|
14875
|
-
var
|
|
14903
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/taskUnionExamine.vue?vue&type=template&id=0cefc67d&
|
|
14904
|
+
var taskUnionExaminevue_type_template_id_0cefc67d_render = function () {
|
|
14876
14905
|
var _vm = this
|
|
14877
14906
|
var _h = _vm.$createElement
|
|
14878
14907
|
var _c = _vm._self._c || _h
|
|
@@ -15019,11 +15048,11 @@ var taskUnionExaminevue_type_template_id_0ac41253_render = function () {
|
|
|
15019
15048
|
]),
|
|
15020
15049
|
])
|
|
15021
15050
|
}
|
|
15022
|
-
var
|
|
15023
|
-
|
|
15051
|
+
var taskUnionExaminevue_type_template_id_0cefc67d_staticRenderFns = []
|
|
15052
|
+
taskUnionExaminevue_type_template_id_0cefc67d_render._withStripped = true
|
|
15024
15053
|
|
|
15025
15054
|
|
|
15026
|
-
// CONCATENATED MODULE: ./packages/flow/src/components/taskUnionExamine.vue?vue&type=template&id=
|
|
15055
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/taskUnionExamine.vue?vue&type=template&id=0cefc67d&
|
|
15027
15056
|
|
|
15028
15057
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/taskUnionExamine.vue?vue&type=script&lang=js&
|
|
15029
15058
|
//
|
|
@@ -15259,7 +15288,6 @@ taskUnionExaminevue_type_template_id_0ac41253_render._withStripped = true
|
|
|
15259
15288
|
});
|
|
15260
15289
|
},
|
|
15261
15290
|
changeSelectUser: function changeSelectUser(val, type) {
|
|
15262
|
-
console.log(val, 'va;');
|
|
15263
15291
|
var list = val.list;
|
|
15264
15292
|
|
|
15265
15293
|
var newNextUser = '';
|
|
@@ -15270,7 +15298,6 @@ taskUnionExaminevue_type_template_id_0ac41253_render._withStripped = true
|
|
|
15270
15298
|
newNextUser = item.selecttype + '-' + item.showid;
|
|
15271
15299
|
}
|
|
15272
15300
|
});
|
|
15273
|
-
console.log(newNextUser, 'newNextUser');
|
|
15274
15301
|
this.infoList[type] = newNextUser;
|
|
15275
15302
|
this[type] = list;
|
|
15276
15303
|
},
|
|
@@ -15390,7 +15417,6 @@ taskUnionExaminevue_type_template_id_0ac41253_render._withStripped = true
|
|
|
15390
15417
|
|
|
15391
15418
|
// 通知消息回调
|
|
15392
15419
|
onInputMsg: function onInputMsg(obj) {
|
|
15393
|
-
console.log(obj, '222');
|
|
15394
15420
|
this.infoList.noticeType = obj.notificationType;
|
|
15395
15421
|
this.infoList.noticeInfo = obj.notificationMsg;
|
|
15396
15422
|
},
|
|
@@ -15435,7 +15461,6 @@ taskUnionExaminevue_type_template_id_0ac41253_render._withStripped = true
|
|
|
15435
15461
|
}
|
|
15436
15462
|
// if (this.type != 'startDraf' && this.type != 'unionSeal' && this.type != 'twoOfficesDispatch')
|
|
15437
15463
|
// return this.$toast('暂未开放,敬请期待!');
|
|
15438
|
-
console.log(nextOtherOrgObj, 'nextOtherOrgObj');
|
|
15439
15464
|
var param = {
|
|
15440
15465
|
url: this.type === 'startDraf' ? taskStartDraft : this.type == 'unionSeal' ? taskUnionSeal : this.type === 'twoOfficesDispatch' ? twoOfficesDispatch : this.type == 'takeAdvice' ? taskTakeAdvice : taskUnionExamine,
|
|
15441
15466
|
params: {
|
|
@@ -15555,8 +15580,8 @@ taskUnionExaminevue_type_template_id_0ac41253_render._withStripped = true
|
|
|
15555
15580
|
|
|
15556
15581
|
var taskUnionExamine_component = normalizeComponent(
|
|
15557
15582
|
components_taskUnionExaminevue_type_script_lang_js_,
|
|
15558
|
-
|
|
15559
|
-
|
|
15583
|
+
taskUnionExaminevue_type_template_id_0cefc67d_render,
|
|
15584
|
+
taskUnionExaminevue_type_template_id_0cefc67d_staticRenderFns,
|
|
15560
15585
|
false,
|
|
15561
15586
|
null,
|
|
15562
15587
|
null,
|
|
@@ -16240,8 +16265,8 @@ count_down_src_main.install = function (Vue) {
|
|
|
16240
16265
|
};
|
|
16241
16266
|
|
|
16242
16267
|
/* harmony default export */ var count_down = (count_down_src_main);
|
|
16243
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/main.vue?vue&type=template&id=
|
|
16244
|
-
var
|
|
16268
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/main.vue?vue&type=template&id=ed69589e&
|
|
16269
|
+
var mainvue_type_template_id_ed69589e_render = function () {
|
|
16245
16270
|
var _vm = this
|
|
16246
16271
|
var _h = _vm.$createElement
|
|
16247
16272
|
var _c = _vm._self._c || _h
|
|
@@ -16266,7 +16291,9 @@ var mainvue_type_template_id_5aa23c3c_render = function () {
|
|
|
16266
16291
|
item.type === "text" ||
|
|
16267
16292
|
item.type === "textarea" ||
|
|
16268
16293
|
item.type == "number" ||
|
|
16269
|
-
item.type == "digit"
|
|
16294
|
+
item.type == "digit" ||
|
|
16295
|
+
item.type == "password" ||
|
|
16296
|
+
item.type == "tel"
|
|
16270
16297
|
? _c(
|
|
16271
16298
|
"em-input",
|
|
16272
16299
|
_vm._b(
|
|
@@ -16657,11 +16684,11 @@ var mainvue_type_template_id_5aa23c3c_render = function () {
|
|
|
16657
16684
|
2
|
|
16658
16685
|
)
|
|
16659
16686
|
}
|
|
16660
|
-
var
|
|
16661
|
-
|
|
16687
|
+
var mainvue_type_template_id_ed69589e_staticRenderFns = []
|
|
16688
|
+
mainvue_type_template_id_ed69589e_render._withStripped = true
|
|
16662
16689
|
|
|
16663
16690
|
|
|
16664
|
-
// CONCATENATED MODULE: ./packages/form/src/main.vue?vue&type=template&id=
|
|
16691
|
+
// CONCATENATED MODULE: ./packages/form/src/main.vue?vue&type=template&id=ed69589e&
|
|
16665
16692
|
|
|
16666
16693
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/main.vue?vue&type=script&lang=js&
|
|
16667
16694
|
//
|
|
@@ -16848,6 +16875,8 @@ mainvue_type_template_id_5aa23c3c_render._withStripped = true
|
|
|
16848
16875
|
//
|
|
16849
16876
|
//
|
|
16850
16877
|
//
|
|
16878
|
+
//
|
|
16879
|
+
//
|
|
16851
16880
|
|
|
16852
16881
|
/* harmony default export */ var form_src_mainvue_type_script_lang_js_ = ({
|
|
16853
16882
|
name: 'EmForm',
|
|
@@ -16972,8 +17001,8 @@ mainvue_type_template_id_5aa23c3c_render._withStripped = true
|
|
|
16972
17001
|
|
|
16973
17002
|
var form_src_main_component = normalizeComponent(
|
|
16974
17003
|
packages_form_src_mainvue_type_script_lang_js_,
|
|
16975
|
-
|
|
16976
|
-
|
|
17004
|
+
mainvue_type_template_id_ed69589e_render,
|
|
17005
|
+
mainvue_type_template_id_ed69589e_staticRenderFns,
|
|
16977
17006
|
false,
|
|
16978
17007
|
null,
|
|
16979
17008
|
null,
|
|
@@ -17971,7 +18000,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
17971
18000
|
}
|
|
17972
18001
|
|
|
17973
18002
|
/* harmony default export */ var src = __webpack_exports__["default"] = ({
|
|
17974
|
-
version: '0.1.
|
|
18003
|
+
version: '0.1.83',
|
|
17975
18004
|
install: install,
|
|
17976
18005
|
Button: packages_button,
|
|
17977
18006
|
ButtonGroup: button_group,
|
package/lib/field.js
CHANGED
|
@@ -199,7 +199,7 @@ function normalizeComponent(
|
|
|
199
199
|
// ESM COMPAT FLAG
|
|
200
200
|
__webpack_require__.r(__webpack_exports__);
|
|
201
201
|
|
|
202
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/field/src/main.vue?vue&type=template&id=
|
|
202
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/field/src/main.vue?vue&type=template&id=44f44a04&
|
|
203
203
|
var render = function () {
|
|
204
204
|
var _vm = this
|
|
205
205
|
var _h = _vm.$createElement
|
|
@@ -232,14 +232,21 @@ var render = function () {
|
|
|
232
232
|
error:
|
|
233
233
|
(!_vm.newErrorMessage &&
|
|
234
234
|
!_vm.modelValue &&
|
|
235
|
-
_vm.rules
|
|
235
|
+
_vm.rules &&
|
|
236
|
+
(Array.isArray(_vm.rules)
|
|
237
|
+
? _vm.rules[0].required
|
|
238
|
+
: _vm.rules.required) &&
|
|
239
|
+
_vm.isBlur) ||
|
|
236
240
|
_vm.$attrs.error,
|
|
241
|
+
"right-icon": _vm.$attrs.rightIcon || _vm.getRightIcon,
|
|
242
|
+
type: _vm.newType,
|
|
237
243
|
rules: Array.isArray(_vm.rules) ? _vm.rules : [],
|
|
238
244
|
},
|
|
239
245
|
on: {
|
|
240
246
|
blur: function ($event) {
|
|
241
247
|
_vm.handleBlur(_vm.rules)
|
|
242
248
|
},
|
|
249
|
+
"click-right-icon": _vm.handleRightIcon,
|
|
243
250
|
},
|
|
244
251
|
model: {
|
|
245
252
|
value: _vm.modelValue,
|
|
@@ -270,7 +277,7 @@ var staticRenderFns = []
|
|
|
270
277
|
render._withStripped = true
|
|
271
278
|
|
|
272
279
|
|
|
273
|
-
// CONCATENATED MODULE: ./packages/field/src/main.vue?vue&type=template&id=
|
|
280
|
+
// CONCATENATED MODULE: ./packages/field/src/main.vue?vue&type=template&id=44f44a04&
|
|
274
281
|
|
|
275
282
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/field/src/main.vue?vue&type=script&lang=js&
|
|
276
283
|
//
|
|
@@ -302,6 +309,14 @@ render._withStripped = true
|
|
|
302
309
|
//
|
|
303
310
|
//
|
|
304
311
|
//
|
|
312
|
+
//
|
|
313
|
+
//
|
|
314
|
+
//
|
|
315
|
+
//
|
|
316
|
+
//
|
|
317
|
+
//
|
|
318
|
+
//
|
|
319
|
+
//
|
|
305
320
|
|
|
306
321
|
/* harmony default export */ var mainvue_type_script_lang_js_ = ({
|
|
307
322
|
name: 'EmInput',
|
|
@@ -340,20 +355,46 @@ render._withStripped = true
|
|
|
340
355
|
labelPosition: {
|
|
341
356
|
type: String,
|
|
342
357
|
default: 'left'
|
|
358
|
+
},
|
|
359
|
+
showPassword: {
|
|
360
|
+
type: Boolean,
|
|
361
|
+
default: false
|
|
362
|
+
},
|
|
363
|
+
type: {
|
|
364
|
+
type: String,
|
|
365
|
+
default: 'text'
|
|
343
366
|
}
|
|
344
367
|
},
|
|
345
368
|
data: function data() {
|
|
346
369
|
return {
|
|
347
370
|
newPlaceholder: '',
|
|
348
|
-
newErrorMessage: ''
|
|
371
|
+
newErrorMessage: '',
|
|
372
|
+
isBlur: false,
|
|
373
|
+
newType: ''
|
|
349
374
|
};
|
|
350
375
|
},
|
|
351
376
|
|
|
352
377
|
computed: {
|
|
378
|
+
|
|
379
|
+
getRightIcon: {
|
|
380
|
+
get: function get() {
|
|
381
|
+
var icon = undefined;
|
|
382
|
+
if (this.showPassword) {
|
|
383
|
+
if (this.newType != 'password') {
|
|
384
|
+
icon = 'eye-o';
|
|
385
|
+
} else {
|
|
386
|
+
icon = 'closed-eye';
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
return icon;
|
|
390
|
+
},
|
|
391
|
+
set: function set(val) {
|
|
392
|
+
return val;
|
|
393
|
+
}
|
|
394
|
+
},
|
|
353
395
|
modelValue: {
|
|
354
396
|
get: function get() {
|
|
355
397
|
var val = this.value;
|
|
356
|
-
|
|
357
398
|
return val;
|
|
358
399
|
},
|
|
359
400
|
set: function set(val) {
|
|
@@ -362,15 +403,25 @@ render._withStripped = true
|
|
|
362
403
|
}
|
|
363
404
|
},
|
|
364
405
|
mounted: function mounted() {
|
|
406
|
+
this.newType = this.type;
|
|
365
407
|
this.newPlaceholder = this.$attrs.placeholder;
|
|
366
408
|
this.newErrorMessage = this.errorMessage;
|
|
367
409
|
},
|
|
368
410
|
|
|
369
411
|
methods: {
|
|
412
|
+
handleRightIcon: function handleRightIcon(event) {
|
|
413
|
+
if (this.showPassword) {
|
|
414
|
+
if (this.newType == 'text') {
|
|
415
|
+
this.newType = 'password';
|
|
416
|
+
} else {
|
|
417
|
+
this.newType = 'text';
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
this.$emit('click-right-icon', event);
|
|
421
|
+
},
|
|
370
422
|
handleBlur: function handleBlur(rules) {
|
|
371
423
|
var _this = this;
|
|
372
424
|
|
|
373
|
-
console.log(rules, 'rules');
|
|
374
425
|
var _that = this;
|
|
375
426
|
if (this.$attrs.type == 'number' && this.precision != null) {
|
|
376
427
|
this.$emit('input', Number(this.value).toFixed(Number(this.precision)));
|
|
@@ -381,8 +432,9 @@ render._withStripped = true
|
|
|
381
432
|
});
|
|
382
433
|
} else {
|
|
383
434
|
if (rules && rules.required && !rules.validator && !this.value) {
|
|
384
|
-
this.newPlaceholder = '';
|
|
435
|
+
rules.message && (this.newPlaceholder = '');
|
|
385
436
|
this.newErrorMessage = rules.message;
|
|
437
|
+
this.isBlur = true;
|
|
386
438
|
return { name: _that.$attrs.name, message: rules.message };
|
|
387
439
|
} else if (rules && rules.validator) {
|
|
388
440
|
rules.validator(this.value, this.valid);
|