eoss-mobiles 0.1.22 → 0.1.24
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 +69 -27
- package/lib/flow.js +8 -7
- package/lib/index.js +1 -1
- package/lib/pagination.js +37 -4
- package/lib/table.js +18 -10
- package/package.json +1 -1
- package/packages/flow/src/components/Handle.vue +1 -0
- package/packages/pagination/src/main.vue +33 -4
- package/packages/table/src/main.vue +18 -10
- package/src/index.js +1 -1
|
@@ -6996,6 +6996,14 @@ var table_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
|
|
|
6996
6996
|
type: String,
|
|
6997
6997
|
default: ''
|
|
6998
6998
|
},
|
|
6999
|
+
labelKey: {
|
|
7000
|
+
type: String,
|
|
7001
|
+
default: 'title'
|
|
7002
|
+
},
|
|
7003
|
+
valueKey: {
|
|
7004
|
+
type: String,
|
|
7005
|
+
default: 'field'
|
|
7006
|
+
},
|
|
6999
7007
|
// 默认选中,类型为Boolean时默认全(不)选
|
|
7000
7008
|
checked: {
|
|
7001
7009
|
type: [Boolean, Array],
|
|
@@ -7380,7 +7388,7 @@ var table_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
|
|
|
7380
7388
|
if (handle.action) {
|
|
7381
7389
|
var isConfirm = handle.confirm || true;
|
|
7382
7390
|
if (isConfirm) {
|
|
7383
|
-
var msg = handle.
|
|
7391
|
+
var msg = handle[this.valueKey] ? row[handle[this.valueKey]] : '';
|
|
7384
7392
|
this.$dialog.confirm({
|
|
7385
7393
|
message: '\u786E\u5B9A\u8981' + handle.text + msg + '\u5417',
|
|
7386
7394
|
title: '提示',
|
|
@@ -7403,7 +7411,7 @@ var table_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
|
|
|
7403
7411
|
} else if (handle.event === 'add' || handle.event === 'edit' || handle.event === 'look') {
|
|
7404
7412
|
var changes = {
|
|
7405
7413
|
event: handle.event,
|
|
7406
|
-
title: handle.
|
|
7414
|
+
title: handle[this.labelKey] || handle.text,
|
|
7407
7415
|
values: handle.event === 'add' ? {} : rows,
|
|
7408
7416
|
readonly: handle.event === 'look',
|
|
7409
7417
|
actionType: handle.actionType ? handle.actionType : handle.event === 'add' ? 'save' : 'update'
|
|
@@ -7469,7 +7477,7 @@ var table_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
|
|
|
7469
7477
|
if (handle.exportXls) {
|
|
7470
7478
|
var text = '操作';
|
|
7471
7479
|
if (this.thead[this.thead.length - 1] && this.thead[this.thead.length - 1].type === 'handle') {
|
|
7472
|
-
text = this.thead[this.thead.length - 1].
|
|
7480
|
+
text = this.thead[this.thead.length - 1][this.labelKey];
|
|
7473
7481
|
}
|
|
7474
7482
|
thead = thead.map(function (item) {
|
|
7475
7483
|
return item.filter(function (ele) {
|
|
@@ -7508,8 +7516,8 @@ var table_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
|
|
|
7508
7516
|
props: {
|
|
7509
7517
|
name: _this10.name,
|
|
7510
7518
|
item: item,
|
|
7511
|
-
prop: item.
|
|
7512
|
-
label: item.
|
|
7519
|
+
prop: item[_this10.valueKey],
|
|
7520
|
+
label: item[_this10.labelKey],
|
|
7513
7521
|
width: item.width,
|
|
7514
7522
|
index: index + 1000,
|
|
7515
7523
|
readonly: _this10.readonly,
|
|
@@ -7612,8 +7620,8 @@ var table_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
|
|
|
7612
7620
|
dom.push(h('em-table-column', {
|
|
7613
7621
|
props: {
|
|
7614
7622
|
name: _this11.name,
|
|
7615
|
-
prop: items.
|
|
7616
|
-
label: items.
|
|
7623
|
+
prop: items[_this11.valueKey],
|
|
7624
|
+
label: items[_this11.labelKey],
|
|
7617
7625
|
item: items,
|
|
7618
7626
|
width: items.width,
|
|
7619
7627
|
index: indexs,
|
|
@@ -7654,9 +7662,9 @@ var table_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
|
|
|
7654
7662
|
tableContents.push(h('em-pagination', {
|
|
7655
7663
|
attrs: {
|
|
7656
7664
|
// ...this.config,
|
|
7657
|
-
|
|
7658
|
-
|
|
7659
|
-
|
|
7665
|
+
pageNum: this.config.pageNum,
|
|
7666
|
+
pageSize: this.config.pageSize,
|
|
7667
|
+
totalCount: this.config.totalCount
|
|
7660
7668
|
},
|
|
7661
7669
|
class: 'em-table-page',
|
|
7662
7670
|
style: { 'text-align': this.page.position || 'center' },
|
|
@@ -10590,8 +10598,8 @@ var StartFlow_component = normalizeComponent(
|
|
|
10590
10598
|
)
|
|
10591
10599
|
|
|
10592
10600
|
/* harmony default export */ var StartFlow = (StartFlow_component.exports);
|
|
10593
|
-
// 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=
|
|
10594
|
-
var
|
|
10601
|
+
// 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=7a1cc1c0&
|
|
10602
|
+
var Handlevue_type_template_id_7a1cc1c0_render = function () {
|
|
10595
10603
|
var _vm = this
|
|
10596
10604
|
var _h = _vm.$createElement
|
|
10597
10605
|
var _c = _vm._self._c || _h
|
|
@@ -11537,11 +11545,11 @@ var Handlevue_type_template_id_743f6d6a_render = function () {
|
|
|
11537
11545
|
1
|
|
11538
11546
|
)
|
|
11539
11547
|
}
|
|
11540
|
-
var
|
|
11541
|
-
|
|
11548
|
+
var Handlevue_type_template_id_7a1cc1c0_staticRenderFns = []
|
|
11549
|
+
Handlevue_type_template_id_7a1cc1c0_render._withStripped = true
|
|
11542
11550
|
|
|
11543
11551
|
|
|
11544
|
-
// CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=
|
|
11552
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=7a1cc1c0&
|
|
11545
11553
|
|
|
11546
11554
|
// 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=4a537b88&
|
|
11547
11555
|
var Rejectvue_type_template_id_4a537b88_render = function () {
|
|
@@ -12751,6 +12759,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
12751
12759
|
_that.form.isSubFlow = taskExamineInfo.isSubFlow;
|
|
12752
12760
|
_that.form.nodeId = taskExamineInfo.nodeId;
|
|
12753
12761
|
_that.form.nextNodeId = _that.form.nextNodeId || nodeInfoMapInfo.nodeExtAttr.defaultNextNode;
|
|
12762
|
+
console.log(_that.form, '_that.form');
|
|
12754
12763
|
utils_http({
|
|
12755
12764
|
url: _that.baseUrl ? _that.baseUrl + taskHandleHtml : taskHandleHtml,
|
|
12756
12765
|
params: Handlevue_type_script_lang_js_extends({
|
|
@@ -13184,8 +13193,8 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
13184
13193
|
|
|
13185
13194
|
var Handle_component = normalizeComponent(
|
|
13186
13195
|
components_Handlevue_type_script_lang_js_,
|
|
13187
|
-
|
|
13188
|
-
|
|
13196
|
+
Handlevue_type_template_id_7a1cc1c0_render,
|
|
13197
|
+
Handlevue_type_template_id_7a1cc1c0_staticRenderFns,
|
|
13189
13198
|
false,
|
|
13190
13199
|
null,
|
|
13191
13200
|
null,
|
|
@@ -15626,8 +15635,8 @@ stepper_src_main.install = function (Vue) {
|
|
|
15626
15635
|
};
|
|
15627
15636
|
|
|
15628
15637
|
/* harmony default export */ var stepper = (stepper_src_main);
|
|
15629
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/pagination/src/main.vue?vue&type=template&id=
|
|
15630
|
-
var
|
|
15638
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/pagination/src/main.vue?vue&type=template&id=519d70e2&
|
|
15639
|
+
var mainvue_type_template_id_519d70e2_render = function () {
|
|
15631
15640
|
var _vm = this
|
|
15632
15641
|
var _h = _vm.$createElement
|
|
15633
15642
|
var _c = _vm._self._c || _h
|
|
@@ -15637,6 +15646,10 @@ var mainvue_type_template_id_611fc168_render = function () {
|
|
|
15637
15646
|
_vm._b(
|
|
15638
15647
|
{
|
|
15639
15648
|
staticClass: "em-pagination",
|
|
15649
|
+
attrs: {
|
|
15650
|
+
"items-per-page": _vm.newPageSize,
|
|
15651
|
+
"total-items": _vm.newTotalCount,
|
|
15652
|
+
},
|
|
15640
15653
|
scopedSlots: _vm._u([
|
|
15641
15654
|
_vm._l(_vm.$scopedSlots, function (index, name) {
|
|
15642
15655
|
return {
|
|
@@ -15678,11 +15691,11 @@ var mainvue_type_template_id_611fc168_render = function () {
|
|
|
15678
15691
|
2
|
|
15679
15692
|
)
|
|
15680
15693
|
}
|
|
15681
|
-
var
|
|
15682
|
-
|
|
15694
|
+
var mainvue_type_template_id_519d70e2_staticRenderFns = []
|
|
15695
|
+
mainvue_type_template_id_519d70e2_render._withStripped = true
|
|
15683
15696
|
|
|
15684
15697
|
|
|
15685
|
-
// CONCATENATED MODULE: ./packages/pagination/src/main.vue?vue&type=template&id=
|
|
15698
|
+
// CONCATENATED MODULE: ./packages/pagination/src/main.vue?vue&type=template&id=519d70e2&
|
|
15686
15699
|
|
|
15687
15700
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/pagination/src/main.vue?vue&type=script&lang=js&
|
|
15688
15701
|
//
|
|
@@ -15699,11 +15712,40 @@ mainvue_type_template_id_611fc168_render._withStripped = true
|
|
|
15699
15712
|
|
|
15700
15713
|
/* harmony default export */ var pagination_src_mainvue_type_script_lang_js_ = ({
|
|
15701
15714
|
name: 'EmPagination',
|
|
15702
|
-
props:
|
|
15715
|
+
props: {
|
|
15716
|
+
pageNum: {
|
|
15717
|
+
type: Number,
|
|
15718
|
+
default: 1
|
|
15719
|
+
},
|
|
15720
|
+
pageSize: {
|
|
15721
|
+
type: Number,
|
|
15722
|
+
default: 20
|
|
15723
|
+
},
|
|
15724
|
+
totalCount: {
|
|
15725
|
+
type: Number,
|
|
15726
|
+
default: 0
|
|
15727
|
+
}
|
|
15728
|
+
},
|
|
15703
15729
|
computed: {
|
|
15704
15730
|
newValue: {
|
|
15705
15731
|
get: function get() {
|
|
15706
|
-
return this.
|
|
15732
|
+
return this.pageNum;
|
|
15733
|
+
},
|
|
15734
|
+
set: function set(val) {
|
|
15735
|
+
return val;
|
|
15736
|
+
}
|
|
15737
|
+
},
|
|
15738
|
+
newPageSize: {
|
|
15739
|
+
get: function get() {
|
|
15740
|
+
return this.pageSize;
|
|
15741
|
+
},
|
|
15742
|
+
set: function set(val) {
|
|
15743
|
+
return val;
|
|
15744
|
+
}
|
|
15745
|
+
},
|
|
15746
|
+
newTotalCount: {
|
|
15747
|
+
get: function get() {
|
|
15748
|
+
return this.totalCount;
|
|
15707
15749
|
},
|
|
15708
15750
|
set: function set(val) {
|
|
15709
15751
|
return val;
|
|
@@ -15723,8 +15765,8 @@ mainvue_type_template_id_611fc168_render._withStripped = true
|
|
|
15723
15765
|
|
|
15724
15766
|
var pagination_src_main_component = normalizeComponent(
|
|
15725
15767
|
packages_pagination_src_mainvue_type_script_lang_js_,
|
|
15726
|
-
|
|
15727
|
-
|
|
15768
|
+
mainvue_type_template_id_519d70e2_render,
|
|
15769
|
+
mainvue_type_template_id_519d70e2_staticRenderFns,
|
|
15728
15770
|
false,
|
|
15729
15771
|
null,
|
|
15730
15772
|
null,
|
|
@@ -15797,7 +15839,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
15797
15839
|
}
|
|
15798
15840
|
|
|
15799
15841
|
/* harmony default export */ var src = __webpack_exports__["default"] = ({
|
|
15800
|
-
version: '0.1.
|
|
15842
|
+
version: '0.1.24',
|
|
15801
15843
|
install: install,
|
|
15802
15844
|
Button: packages_button,
|
|
15803
15845
|
ButtonGroup: button_group,
|
package/lib/flow.js
CHANGED
|
@@ -3094,8 +3094,8 @@ var StartFlow_component = Object(componentNormalizer["a" /* default */])(
|
|
|
3094
3094
|
)
|
|
3095
3095
|
|
|
3096
3096
|
/* harmony default export */ var StartFlow = (StartFlow_component.exports);
|
|
3097
|
-
// 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=
|
|
3098
|
-
var
|
|
3097
|
+
// 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=7a1cc1c0&
|
|
3098
|
+
var Handlevue_type_template_id_7a1cc1c0_render = function () {
|
|
3099
3099
|
var _vm = this
|
|
3100
3100
|
var _h = _vm.$createElement
|
|
3101
3101
|
var _c = _vm._self._c || _h
|
|
@@ -4041,11 +4041,11 @@ var Handlevue_type_template_id_743f6d6a_render = function () {
|
|
|
4041
4041
|
1
|
|
4042
4042
|
)
|
|
4043
4043
|
}
|
|
4044
|
-
var
|
|
4045
|
-
|
|
4044
|
+
var Handlevue_type_template_id_7a1cc1c0_staticRenderFns = []
|
|
4045
|
+
Handlevue_type_template_id_7a1cc1c0_render._withStripped = true
|
|
4046
4046
|
|
|
4047
4047
|
|
|
4048
|
-
// CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=
|
|
4048
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=7a1cc1c0&
|
|
4049
4049
|
|
|
4050
4050
|
// 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=4a537b88&
|
|
4051
4051
|
var Rejectvue_type_template_id_4a537b88_render = function () {
|
|
@@ -5258,6 +5258,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
5258
5258
|
_that.form.isSubFlow = taskExamineInfo.isSubFlow;
|
|
5259
5259
|
_that.form.nodeId = taskExamineInfo.nodeId;
|
|
5260
5260
|
_that.form.nextNodeId = _that.form.nextNodeId || nodeInfoMapInfo.nodeExtAttr.defaultNextNode;
|
|
5261
|
+
console.log(_that.form, '_that.form');
|
|
5261
5262
|
Object(http["a" /* default */])({
|
|
5262
5263
|
url: _that.baseUrl ? _that.baseUrl + api["j" /* taskHandleHtml */] : api["j" /* taskHandleHtml */],
|
|
5263
5264
|
params: Handlevue_type_script_lang_js_extends({
|
|
@@ -5691,8 +5692,8 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
5691
5692
|
|
|
5692
5693
|
var Handle_component = Object(componentNormalizer["a" /* default */])(
|
|
5693
5694
|
components_Handlevue_type_script_lang_js_,
|
|
5694
|
-
|
|
5695
|
-
|
|
5695
|
+
Handlevue_type_template_id_7a1cc1c0_render,
|
|
5696
|
+
Handlevue_type_template_id_7a1cc1c0_staticRenderFns,
|
|
5696
5697
|
false,
|
|
5697
5698
|
null,
|
|
5698
5699
|
null,
|