eoss-mobiles 0.3.63 → 0.3.65
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 +40 -18
- package/lib/flow.js +39 -17
- package/lib/index.js +1 -1
- package/package.json +1 -1
- package/packages/flow/src/components/Handle.vue +64 -37
- package/src/index.js +1 -1
|
@@ -15512,8 +15512,8 @@ var StartFlow_component = normalizeComponent(
|
|
|
15512
15512
|
)
|
|
15513
15513
|
|
|
15514
15514
|
/* harmony default export */ var StartFlow = (StartFlow_component.exports);
|
|
15515
|
-
// 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=
|
|
15516
|
-
var
|
|
15515
|
+
// 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=952a81d8
|
|
15516
|
+
var Handlevue_type_template_id_952a81d8_render = function () {
|
|
15517
15517
|
var _vm = this
|
|
15518
15518
|
var _h = _vm.$createElement
|
|
15519
15519
|
var _c = _vm._self._c || _h
|
|
@@ -15592,7 +15592,10 @@ var Handlevue_type_template_id_2b6a3d23_render = function () {
|
|
|
15592
15592
|
},
|
|
15593
15593
|
on: { onInputOpintion: _vm.onInputOpintion },
|
|
15594
15594
|
}),
|
|
15595
|
-
_vm.typeCode != "fenyue" &&
|
|
15595
|
+
_vm.typeCode != "fenyue" &&
|
|
15596
|
+
(!_vm.endFlow ||
|
|
15597
|
+
_vm.taskOperations.length > 1 ||
|
|
15598
|
+
_vm.taskOperationShiftedNodeList)
|
|
15596
15599
|
? _c("div", { staticClass: "special-box input-box" }, [
|
|
15597
15600
|
_vm.isCanAddSign
|
|
15598
15601
|
? _c(
|
|
@@ -16960,11 +16963,11 @@ var Handlevue_type_template_id_2b6a3d23_render = function () {
|
|
|
16960
16963
|
1
|
|
16961
16964
|
)
|
|
16962
16965
|
}
|
|
16963
|
-
var
|
|
16964
|
-
|
|
16966
|
+
var Handlevue_type_template_id_952a81d8_staticRenderFns = []
|
|
16967
|
+
Handlevue_type_template_id_952a81d8_render._withStripped = true
|
|
16965
16968
|
|
|
16966
16969
|
|
|
16967
|
-
// CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=
|
|
16970
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=952a81d8
|
|
16968
16971
|
|
|
16969
16972
|
// 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=7503f952
|
|
16970
16973
|
var Rejectvue_type_template_id_7503f952_render = function () {
|
|
@@ -18258,6 +18261,13 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
18258
18261
|
//
|
|
18259
18262
|
//
|
|
18260
18263
|
//
|
|
18264
|
+
//
|
|
18265
|
+
//
|
|
18266
|
+
//
|
|
18267
|
+
//
|
|
18268
|
+
//
|
|
18269
|
+
//
|
|
18270
|
+
//
|
|
18261
18271
|
|
|
18262
18272
|
|
|
18263
18273
|
|
|
@@ -18867,9 +18877,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
18867
18877
|
changeNextOperate: function changeNextOperate(val, isDef) {
|
|
18868
18878
|
var _this8 = this;
|
|
18869
18879
|
|
|
18870
|
-
console.log(val, isDef, this.tagKey, 'isDef');
|
|
18871
18880
|
if (!isDef && val.key === this.tagKey) return;
|
|
18872
|
-
console.log(val, isDef, this.tagKey, 'isDef2222');
|
|
18873
18881
|
this.tagKey = val.key;
|
|
18874
18882
|
//恢复默认
|
|
18875
18883
|
this.isNextUser = false;
|
|
@@ -18893,7 +18901,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
18893
18901
|
} else {
|
|
18894
18902
|
this.isReject = false;
|
|
18895
18903
|
}
|
|
18896
|
-
this.form.nextOperate = val.key;
|
|
18904
|
+
this.form.nextOperate = val.isNextNode ? val.nextOperate : val.key;
|
|
18897
18905
|
this.form.nextOperateName = val.value;
|
|
18898
18906
|
this.nodeList = val.taskNodeList;
|
|
18899
18907
|
if (this.isSpecial) {
|
|
@@ -19188,18 +19196,31 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
19188
19196
|
that.isSpecial = res.data.isSpecial;
|
|
19189
19197
|
that.processObj = res.data;
|
|
19190
19198
|
that.taskOperations = [].concat(res.data.taskOperations, that.taskOperations);
|
|
19199
|
+
var isSelected = false;
|
|
19200
|
+
var isSelectIndex = 0;
|
|
19191
19201
|
if (that.taskOperations && that.taskOperations.length > 0) {
|
|
19192
|
-
|
|
19193
|
-
that.taskOperations.map(function (item) {
|
|
19202
|
+
that.taskOperations.map(function (item, index) {
|
|
19194
19203
|
if (item.isSelected || that.taskOperations.length == 1) {
|
|
19195
19204
|
isSelected = true;
|
|
19205
|
+
isSelectIndex = index;
|
|
19196
19206
|
if (that.taskOperations.length == 1) {
|
|
19197
|
-
|
|
19207
|
+
|
|
19208
|
+
if (that.taskOperations[0].isNextNode) {
|
|
19209
|
+
|
|
19210
|
+
that.form.nextOperate = that.taskOperations[0].nextOperate;
|
|
19211
|
+
} else {
|
|
19212
|
+
that.form.nextOperate = that.taskOperations[0].key;
|
|
19213
|
+
}
|
|
19198
19214
|
that.form.nextOperateName = that.taskOperations[0].value;
|
|
19199
|
-
if (!that.taskOperations[0].taskNodeList || that.taskOperations[0].taskNodeList.length === 0) {
|
|
19215
|
+
if ((!that.taskOperations[0].taskNodeList || that.taskOperations[0].taskNodeList.length === 0) && !that.taskOperations[0].isNextNode) {
|
|
19216
|
+
|
|
19200
19217
|
that.form.nextNodeId = undefined;
|
|
19201
19218
|
that.form.nextNodeName = undefined;
|
|
19219
|
+
} else if (that.taskOperations[0].isNextNode) {
|
|
19220
|
+
that.form.nextNodeId = that.taskOperations[0].key;
|
|
19221
|
+
that.form.nextNodeName = that.taskOperations[0].value;
|
|
19202
19222
|
} else {
|
|
19223
|
+
|
|
19203
19224
|
that.nodeList = that.taskOperations[0].taskNodeList;
|
|
19204
19225
|
var info = [];
|
|
19205
19226
|
that.nodeList.map(function (x) {
|
|
@@ -19259,7 +19280,9 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
19259
19280
|
}
|
|
19260
19281
|
that.changeNextOperate({
|
|
19261
19282
|
value: that.form.nextOperateName,
|
|
19262
|
-
key: that.
|
|
19283
|
+
key: that.taskOperations[isSelectIndex].key,
|
|
19284
|
+
nextOperate: that.taskOperations[isSelectIndex].nextOperate,
|
|
19285
|
+
isNextNode: that.taskOperations[isSelectIndex].isNextNode,
|
|
19263
19286
|
taskNodeList: that.nodeList
|
|
19264
19287
|
}, true);
|
|
19265
19288
|
if (nodeInfoMap && JSON.stringify(nodeInfoMap) != '{}') {
|
|
@@ -19368,7 +19391,6 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
19368
19391
|
_this10.$toast.clear();
|
|
19369
19392
|
_this10.showFlowBtn = true;
|
|
19370
19393
|
if (res.status == 'success') {
|
|
19371
|
-
|
|
19372
19394
|
_that.currentNodeEnableItemHandleDescription = res.data.nodeExtAttr.currentNodeEnableItemHandleDescription == 1;
|
|
19373
19395
|
_that.deptRoleCode = res.data.nodeExtAttr.deptRoleCode;
|
|
19374
19396
|
_that.enableCustomLimitTimeSetting = res.data.nodeExtAttr.enableCustomLimitTimeSetting == 1;
|
|
@@ -19514,8 +19536,8 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
19514
19536
|
|
|
19515
19537
|
var Handle_component = normalizeComponent(
|
|
19516
19538
|
components_Handlevue_type_script_lang_js,
|
|
19517
|
-
|
|
19518
|
-
|
|
19539
|
+
Handlevue_type_template_id_952a81d8_render,
|
|
19540
|
+
Handlevue_type_template_id_952a81d8_staticRenderFns,
|
|
19519
19541
|
false,
|
|
19520
19542
|
null,
|
|
19521
19543
|
null,
|
|
@@ -29430,7 +29452,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
29430
29452
|
}
|
|
29431
29453
|
|
|
29432
29454
|
/* harmony default export */ var src = __webpack_exports__["default"] = ({
|
|
29433
|
-
version: '0.3.
|
|
29455
|
+
version: '0.3.65',
|
|
29434
29456
|
install: install,
|
|
29435
29457
|
Button: packages_button,
|
|
29436
29458
|
ButtonGroup: button_group,
|
package/lib/flow.js
CHANGED
|
@@ -4755,8 +4755,8 @@ var StartFlow_component = Object(componentNormalizer["a" /* default */])(
|
|
|
4755
4755
|
)
|
|
4756
4756
|
|
|
4757
4757
|
/* harmony default export */ var StartFlow = (StartFlow_component.exports);
|
|
4758
|
-
// 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=
|
|
4759
|
-
var
|
|
4758
|
+
// 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=952a81d8
|
|
4759
|
+
var Handlevue_type_template_id_952a81d8_render = function () {
|
|
4760
4760
|
var _vm = this
|
|
4761
4761
|
var _h = _vm.$createElement
|
|
4762
4762
|
var _c = _vm._self._c || _h
|
|
@@ -4835,7 +4835,10 @@ var Handlevue_type_template_id_2b6a3d23_render = function () {
|
|
|
4835
4835
|
},
|
|
4836
4836
|
on: { onInputOpintion: _vm.onInputOpintion },
|
|
4837
4837
|
}),
|
|
4838
|
-
_vm.typeCode != "fenyue" &&
|
|
4838
|
+
_vm.typeCode != "fenyue" &&
|
|
4839
|
+
(!_vm.endFlow ||
|
|
4840
|
+
_vm.taskOperations.length > 1 ||
|
|
4841
|
+
_vm.taskOperationShiftedNodeList)
|
|
4839
4842
|
? _c("div", { staticClass: "special-box input-box" }, [
|
|
4840
4843
|
_vm.isCanAddSign
|
|
4841
4844
|
? _c(
|
|
@@ -6203,11 +6206,11 @@ var Handlevue_type_template_id_2b6a3d23_render = function () {
|
|
|
6203
6206
|
1
|
|
6204
6207
|
)
|
|
6205
6208
|
}
|
|
6206
|
-
var
|
|
6207
|
-
|
|
6209
|
+
var Handlevue_type_template_id_952a81d8_staticRenderFns = []
|
|
6210
|
+
Handlevue_type_template_id_952a81d8_render._withStripped = true
|
|
6208
6211
|
|
|
6209
6212
|
|
|
6210
|
-
// CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=
|
|
6213
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=952a81d8
|
|
6211
6214
|
|
|
6212
6215
|
// 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=7503f952
|
|
6213
6216
|
var Rejectvue_type_template_id_7503f952_render = function () {
|
|
@@ -7501,6 +7504,13 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
7501
7504
|
//
|
|
7502
7505
|
//
|
|
7503
7506
|
//
|
|
7507
|
+
//
|
|
7508
|
+
//
|
|
7509
|
+
//
|
|
7510
|
+
//
|
|
7511
|
+
//
|
|
7512
|
+
//
|
|
7513
|
+
//
|
|
7504
7514
|
|
|
7505
7515
|
|
|
7506
7516
|
|
|
@@ -8110,9 +8120,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
8110
8120
|
changeNextOperate: function changeNextOperate(val, isDef) {
|
|
8111
8121
|
var _this8 = this;
|
|
8112
8122
|
|
|
8113
|
-
console.log(val, isDef, this.tagKey, 'isDef');
|
|
8114
8123
|
if (!isDef && val.key === this.tagKey) return;
|
|
8115
|
-
console.log(val, isDef, this.tagKey, 'isDef2222');
|
|
8116
8124
|
this.tagKey = val.key;
|
|
8117
8125
|
//恢复默认
|
|
8118
8126
|
this.isNextUser = false;
|
|
@@ -8136,7 +8144,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
8136
8144
|
} else {
|
|
8137
8145
|
this.isReject = false;
|
|
8138
8146
|
}
|
|
8139
|
-
this.form.nextOperate = val.key;
|
|
8147
|
+
this.form.nextOperate = val.isNextNode ? val.nextOperate : val.key;
|
|
8140
8148
|
this.form.nextOperateName = val.value;
|
|
8141
8149
|
this.nodeList = val.taskNodeList;
|
|
8142
8150
|
if (this.isSpecial) {
|
|
@@ -8431,18 +8439,31 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
8431
8439
|
that.isSpecial = res.data.isSpecial;
|
|
8432
8440
|
that.processObj = res.data;
|
|
8433
8441
|
that.taskOperations = [].concat(res.data.taskOperations, that.taskOperations);
|
|
8442
|
+
var isSelected = false;
|
|
8443
|
+
var isSelectIndex = 0;
|
|
8434
8444
|
if (that.taskOperations && that.taskOperations.length > 0) {
|
|
8435
|
-
|
|
8436
|
-
that.taskOperations.map(function (item) {
|
|
8445
|
+
that.taskOperations.map(function (item, index) {
|
|
8437
8446
|
if (item.isSelected || that.taskOperations.length == 1) {
|
|
8438
8447
|
isSelected = true;
|
|
8448
|
+
isSelectIndex = index;
|
|
8439
8449
|
if (that.taskOperations.length == 1) {
|
|
8440
|
-
|
|
8450
|
+
|
|
8451
|
+
if (that.taskOperations[0].isNextNode) {
|
|
8452
|
+
|
|
8453
|
+
that.form.nextOperate = that.taskOperations[0].nextOperate;
|
|
8454
|
+
} else {
|
|
8455
|
+
that.form.nextOperate = that.taskOperations[0].key;
|
|
8456
|
+
}
|
|
8441
8457
|
that.form.nextOperateName = that.taskOperations[0].value;
|
|
8442
|
-
if (!that.taskOperations[0].taskNodeList || that.taskOperations[0].taskNodeList.length === 0) {
|
|
8458
|
+
if ((!that.taskOperations[0].taskNodeList || that.taskOperations[0].taskNodeList.length === 0) && !that.taskOperations[0].isNextNode) {
|
|
8459
|
+
|
|
8443
8460
|
that.form.nextNodeId = undefined;
|
|
8444
8461
|
that.form.nextNodeName = undefined;
|
|
8462
|
+
} else if (that.taskOperations[0].isNextNode) {
|
|
8463
|
+
that.form.nextNodeId = that.taskOperations[0].key;
|
|
8464
|
+
that.form.nextNodeName = that.taskOperations[0].value;
|
|
8445
8465
|
} else {
|
|
8466
|
+
|
|
8446
8467
|
that.nodeList = that.taskOperations[0].taskNodeList;
|
|
8447
8468
|
var info = [];
|
|
8448
8469
|
that.nodeList.map(function (x) {
|
|
@@ -8502,7 +8523,9 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
8502
8523
|
}
|
|
8503
8524
|
that.changeNextOperate({
|
|
8504
8525
|
value: that.form.nextOperateName,
|
|
8505
|
-
key: that.
|
|
8526
|
+
key: that.taskOperations[isSelectIndex].key,
|
|
8527
|
+
nextOperate: that.taskOperations[isSelectIndex].nextOperate,
|
|
8528
|
+
isNextNode: that.taskOperations[isSelectIndex].isNextNode,
|
|
8506
8529
|
taskNodeList: that.nodeList
|
|
8507
8530
|
}, true);
|
|
8508
8531
|
if (nodeInfoMap && JSON.stringify(nodeInfoMap) != '{}') {
|
|
@@ -8611,7 +8634,6 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
8611
8634
|
_this10.$toast.clear();
|
|
8612
8635
|
_this10.showFlowBtn = true;
|
|
8613
8636
|
if (res.status == 'success') {
|
|
8614
|
-
|
|
8615
8637
|
_that.currentNodeEnableItemHandleDescription = res.data.nodeExtAttr.currentNodeEnableItemHandleDescription == 1;
|
|
8616
8638
|
_that.deptRoleCode = res.data.nodeExtAttr.deptRoleCode;
|
|
8617
8639
|
_that.enableCustomLimitTimeSetting = res.data.nodeExtAttr.enableCustomLimitTimeSetting == 1;
|
|
@@ -8757,8 +8779,8 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
8757
8779
|
|
|
8758
8780
|
var Handle_component = Object(componentNormalizer["a" /* default */])(
|
|
8759
8781
|
components_Handlevue_type_script_lang_js,
|
|
8760
|
-
|
|
8761
|
-
|
|
8782
|
+
Handlevue_type_template_id_952a81d8_render,
|
|
8783
|
+
Handlevue_type_template_id_952a81d8_staticRenderFns,
|
|
8762
8784
|
false,
|
|
8763
8785
|
null,
|
|
8764
8786
|
null,
|