eoss-ui 0.8.18 → 0.8.19
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-ui.common.js +94 -37
- package/lib/flow.js +76 -20
- package/lib/form.js +7 -6
- package/lib/index.js +1 -1
- package/package.json +1 -1
- package/packages/flow/src/main.vue +5 -2
- package/packages/flow/src/processForm.vue +101 -12
- package/packages/flow/src/selectUser.vue +0 -1
- package/packages/form/src/main.vue +5 -4
- package/src/index.js +1 -1
package/lib/eoss-ui.common.js
CHANGED
|
@@ -18249,8 +18249,8 @@ error_page_src_main.install = function (Vue) {
|
|
|
18249
18249
|
};
|
|
18250
18250
|
|
|
18251
18251
|
/* harmony default export */ var error_page = (error_page_src_main);
|
|
18252
|
-
// 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=
|
|
18253
|
-
var
|
|
18252
|
+
// 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=26e121c2&
|
|
18253
|
+
var mainvue_type_template_id_26e121c2_render = function () {
|
|
18254
18254
|
var _vm = this
|
|
18255
18255
|
var _h = _vm.$createElement
|
|
18256
18256
|
var _c = _vm._self._c || _h
|
|
@@ -22903,7 +22903,7 @@ var mainvue_type_template_id_e13b4ef2_render = function () {
|
|
|
22903
22903
|
event
|
|
22904
22904
|
) {
|
|
22905
22905
|
_vm.handleBlur(
|
|
22906
|
-
item
|
|
22906
|
+
item,
|
|
22907
22907
|
event
|
|
22908
22908
|
)
|
|
22909
22909
|
},
|
|
@@ -22911,7 +22911,7 @@ var mainvue_type_template_id_e13b4ef2_render = function () {
|
|
|
22911
22911
|
event
|
|
22912
22912
|
) {
|
|
22913
22913
|
_vm.handleFocus(
|
|
22914
|
-
item
|
|
22914
|
+
item,
|
|
22915
22915
|
event
|
|
22916
22916
|
)
|
|
22917
22917
|
},
|
|
@@ -22919,7 +22919,7 @@ var mainvue_type_template_id_e13b4ef2_render = function () {
|
|
|
22919
22919
|
val
|
|
22920
22920
|
) {
|
|
22921
22921
|
_vm.handleInput(
|
|
22922
|
-
item
|
|
22922
|
+
item,
|
|
22923
22923
|
val
|
|
22924
22924
|
)
|
|
22925
22925
|
},
|
|
@@ -22927,7 +22927,7 @@ var mainvue_type_template_id_e13b4ef2_render = function () {
|
|
|
22927
22927
|
$event
|
|
22928
22928
|
) {
|
|
22929
22929
|
_vm.handleClear(
|
|
22930
|
-
item
|
|
22930
|
+
item
|
|
22931
22931
|
)
|
|
22932
22932
|
},
|
|
22933
22933
|
change: function (
|
|
@@ -24532,11 +24532,11 @@ var mainvue_type_template_id_e13b4ef2_render = function () {
|
|
|
24532
24532
|
)
|
|
24533
24533
|
: _vm._e()
|
|
24534
24534
|
}
|
|
24535
|
-
var
|
|
24536
|
-
|
|
24535
|
+
var mainvue_type_template_id_26e121c2_staticRenderFns = []
|
|
24536
|
+
mainvue_type_template_id_26e121c2_render._withStripped = true
|
|
24537
24537
|
|
|
24538
24538
|
|
|
24539
|
-
// CONCATENATED MODULE: ./packages/form/src/main.vue?vue&type=template&id=
|
|
24539
|
+
// CONCATENATED MODULE: ./packages/form/src/main.vue?vue&type=template&id=26e121c2&
|
|
24540
24540
|
|
|
24541
24541
|
// CONCATENATED MODULE: ./src/utils/rules.js
|
|
24542
24542
|
// 手机号
|
|
@@ -27964,6 +27964,7 @@ var mainvue_type_script_lang_js_pageView = utils_util.getParams('pageView');
|
|
|
27964
27964
|
}
|
|
27965
27965
|
},
|
|
27966
27966
|
handleFocus: function handleFocus(a, b, c) {
|
|
27967
|
+
console.log('handleFocus focus', a);
|
|
27967
27968
|
if (a.events && a.events.focus) {
|
|
27968
27969
|
a.events.focus(a.name, b, c, this.models);
|
|
27969
27970
|
} else if (this.events[a.name] && this.events[a.name].focus) {
|
|
@@ -28399,8 +28400,8 @@ var mainvue_type_script_lang_js_pageView = utils_util.getParams('pageView');
|
|
|
28399
28400
|
|
|
28400
28401
|
var form_src_main_component = normalizeComponent(
|
|
28401
28402
|
packages_form_src_mainvue_type_script_lang_js_,
|
|
28402
|
-
|
|
28403
|
-
|
|
28403
|
+
mainvue_type_template_id_26e121c2_render,
|
|
28404
|
+
mainvue_type_template_id_26e121c2_staticRenderFns,
|
|
28404
28405
|
false,
|
|
28405
28406
|
null,
|
|
28406
28407
|
null,
|
|
@@ -28417,8 +28418,8 @@ form_src_main.install = function (Vue) {
|
|
|
28417
28418
|
};
|
|
28418
28419
|
|
|
28419
28420
|
/* harmony default export */ var packages_form = (form_src_main);
|
|
28420
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=
|
|
28421
|
-
var
|
|
28421
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=3f77c73e&
|
|
28422
|
+
var mainvue_type_template_id_3f77c73e_render = function () {
|
|
28422
28423
|
var _vm = this
|
|
28423
28424
|
var _h = _vm.$createElement
|
|
28424
28425
|
var _c = _vm._self._c || _h
|
|
@@ -31497,11 +31498,11 @@ var mainvue_type_template_id_e6becc8e_render = function () {
|
|
|
31497
31498
|
)
|
|
31498
31499
|
: _vm._e()
|
|
31499
31500
|
}
|
|
31500
|
-
var
|
|
31501
|
-
|
|
31501
|
+
var mainvue_type_template_id_3f77c73e_staticRenderFns = []
|
|
31502
|
+
mainvue_type_template_id_3f77c73e_render._withStripped = true
|
|
31502
31503
|
|
|
31503
31504
|
|
|
31504
|
-
// CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=
|
|
31505
|
+
// CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=3f77c73e&
|
|
31505
31506
|
|
|
31506
31507
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/CommonOpinions.vue?vue&type=template&id=7b4f1542&
|
|
31507
31508
|
var CommonOpinionsvue_type_template_id_7b4f1542_render = function () {
|
|
@@ -32552,8 +32553,8 @@ var CommonOpinions_component = normalizeComponent(
|
|
|
32552
32553
|
)
|
|
32553
32554
|
|
|
32554
32555
|
/* harmony default export */ var CommonOpinions = (CommonOpinions_component.exports);
|
|
32555
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processForm.vue?vue&type=template&id=
|
|
32556
|
-
var
|
|
32556
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processForm.vue?vue&type=template&id=ac123c98&
|
|
32557
|
+
var processFormvue_type_template_id_ac123c98_render = function () {
|
|
32557
32558
|
var _vm = this
|
|
32558
32559
|
var _h = _vm.$createElement
|
|
32559
32560
|
var _c = _vm._self._c || _h
|
|
@@ -32835,7 +32836,8 @@ var processFormvue_type_template_id_5c2c1688_render = function () {
|
|
|
32835
32836
|
multiple: "",
|
|
32836
32837
|
mix: "",
|
|
32837
32838
|
showTooltip: _vm.showTooltip,
|
|
32838
|
-
|
|
32839
|
+
selectUserList: _vm.nextCurrentOrgselectUserList,
|
|
32840
|
+
types: _vm.currentOrgSelectorTabs,
|
|
32839
32841
|
params: _vm.currentOrgSelectorParams,
|
|
32840
32842
|
},
|
|
32841
32843
|
on: {
|
|
@@ -33387,14 +33389,14 @@ var processFormvue_type_template_id_5c2c1688_render = function () {
|
|
|
33387
33389
|
1
|
|
33388
33390
|
)
|
|
33389
33391
|
}
|
|
33390
|
-
var
|
|
33391
|
-
|
|
33392
|
+
var processFormvue_type_template_id_ac123c98_staticRenderFns = []
|
|
33393
|
+
processFormvue_type_template_id_ac123c98_render._withStripped = true
|
|
33392
33394
|
|
|
33393
33395
|
|
|
33394
|
-
// CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=
|
|
33396
|
+
// CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=ac123c98&
|
|
33395
33397
|
|
|
33396
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/selectUser.vue?vue&type=template&id=
|
|
33397
|
-
var
|
|
33398
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/selectUser.vue?vue&type=template&id=e270ebde&
|
|
33399
|
+
var selectUservue_type_template_id_e270ebde_render = function () {
|
|
33398
33400
|
var _vm = this
|
|
33399
33401
|
var _h = _vm.$createElement
|
|
33400
33402
|
var _c = _vm._self._c || _h
|
|
@@ -33555,11 +33557,11 @@ var selectUservue_type_template_id_24301b52_render = function () {
|
|
|
33555
33557
|
1
|
|
33556
33558
|
)
|
|
33557
33559
|
}
|
|
33558
|
-
var
|
|
33559
|
-
|
|
33560
|
+
var selectUservue_type_template_id_e270ebde_staticRenderFns = []
|
|
33561
|
+
selectUservue_type_template_id_e270ebde_render._withStripped = true
|
|
33560
33562
|
|
|
33561
33563
|
|
|
33562
|
-
// CONCATENATED MODULE: ./packages/flow/src/selectUser.vue?vue&type=template&id=
|
|
33564
|
+
// CONCATENATED MODULE: ./packages/flow/src/selectUser.vue?vue&type=template&id=e270ebde&
|
|
33563
33565
|
|
|
33564
33566
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/selectUser.vue?vue&type=script&lang=js&
|
|
33565
33567
|
var selectUservue_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; };
|
|
@@ -33976,7 +33978,6 @@ var selectUservue_type_script_lang_js_extends = Object.assign || function (targe
|
|
|
33976
33978
|
if (this.mix) data = this.getMixList();
|
|
33977
33979
|
if (this.newMultiple) {
|
|
33978
33980
|
this.newNextUser = [];
|
|
33979
|
-
|
|
33980
33981
|
this.newSelectUserList.map(function (item) {
|
|
33981
33982
|
if (_this4.mix) {
|
|
33982
33983
|
_this4.newOptions.push(selectUservue_type_script_lang_js_extends({}, item, {
|
|
@@ -34090,8 +34091,8 @@ var selectUservue_type_script_lang_js_extends = Object.assign || function (targe
|
|
|
34090
34091
|
|
|
34091
34092
|
var selectUser_component = normalizeComponent(
|
|
34092
34093
|
src_selectUservue_type_script_lang_js_,
|
|
34093
|
-
|
|
34094
|
-
|
|
34094
|
+
selectUservue_type_template_id_e270ebde_render,
|
|
34095
|
+
selectUservue_type_template_id_e270ebde_staticRenderFns,
|
|
34095
34096
|
false,
|
|
34096
34097
|
null,
|
|
34097
34098
|
null,
|
|
@@ -35348,6 +35349,11 @@ var processFormvue_type_script_lang_js_components;
|
|
|
35348
35349
|
//
|
|
35349
35350
|
//
|
|
35350
35351
|
//
|
|
35352
|
+
//
|
|
35353
|
+
//
|
|
35354
|
+
//
|
|
35355
|
+
//
|
|
35356
|
+
//
|
|
35351
35357
|
|
|
35352
35358
|
|
|
35353
35359
|
|
|
@@ -35446,6 +35452,7 @@ var processFormvue_type_script_lang_js_components;
|
|
|
35446
35452
|
selectUser: false,
|
|
35447
35453
|
multiple: false,
|
|
35448
35454
|
readMultiple: true,
|
|
35455
|
+
currentOrgSelectorTabs: ['employee', 'persongroup'],
|
|
35449
35456
|
customPresetHintMessage: '', //流程预设标题
|
|
35450
35457
|
nextNodeCheckType: 'select',
|
|
35451
35458
|
nextOperateCheckType: 'select',
|
|
@@ -35456,6 +35463,7 @@ var processFormvue_type_script_lang_js_components;
|
|
|
35456
35463
|
show: true,
|
|
35457
35464
|
enableCustomLimitTimeSetting: false,
|
|
35458
35465
|
radioList: [],
|
|
35466
|
+
nextCurrentOrgselectUserList: [],
|
|
35459
35467
|
showCustomLimitTimeText: false,
|
|
35460
35468
|
activeNames: '',
|
|
35461
35469
|
selectUserList: [],
|
|
@@ -36199,11 +36207,45 @@ var processFormvue_type_script_lang_js_components;
|
|
|
36199
36207
|
_this7.allLoading.close();
|
|
36200
36208
|
}
|
|
36201
36209
|
if (status === 'success') {
|
|
36210
|
+
if (_this7.currentOrgSelectorParams.department && !_this7.currentOrgSelectorParams.department.roleid && _this7.selectorParams.roleid && nodeExtAttr.deptRoleCode) {
|
|
36211
|
+
_this7.currentOrgSelectorParams.department.roleid = nodeExtAttr.deptRoleCode;
|
|
36212
|
+
}
|
|
36202
36213
|
_this7.isCurrentNodeForbiddenChangeCandidate = nodeExtAttr.isCurrentNodeForbiddenChangeCandidate;
|
|
36203
36214
|
_this7.nextNode.userInfo = nextUserList;
|
|
36204
36215
|
_this7.countersignaturetypeCode = countersignaturetypeCode;
|
|
36205
36216
|
_this7.nextNode.countersignaturetypeText = countersignaturetypeText;
|
|
36206
36217
|
_this7.enableCustomLimitTimeSetting = nodeExtAttr.enableCustomLimitTimeSetting == 1;
|
|
36218
|
+
if (nodeMoreInfo.currentOrgDefaultSelectObjectItems) {
|
|
36219
|
+
_this7.nextCurrentOrgselectUserList = [];
|
|
36220
|
+
if (nodeMoreInfo.currentOrgDefaultSelectObjectItems.deptIds.length > 0) {
|
|
36221
|
+
nodeMoreInfo.currentOrgDefaultSelectObjectItems.deptIds.map(function (x, i) {
|
|
36222
|
+
_this7.nextCurrentOrgselectUserList.push({
|
|
36223
|
+
showname: nodeMoreInfo.currentOrgDefaultSelectObjectItems.deptNames[i],
|
|
36224
|
+
showid: x,
|
|
36225
|
+
stype: 'department'
|
|
36226
|
+
});
|
|
36227
|
+
});
|
|
36228
|
+
}
|
|
36229
|
+
if (nodeMoreInfo.currentOrgDefaultSelectObjectItems.userIds.length > 0) {
|
|
36230
|
+
nodeMoreInfo.currentOrgDefaultSelectObjectItems.userIds.map(function (x, i) {
|
|
36231
|
+
_this7.nextCurrentOrgselectUserList.push({
|
|
36232
|
+
showname: nodeMoreInfo.currentOrgDefaultSelectObjectItems.userNames[i],
|
|
36233
|
+
showid: x,
|
|
36234
|
+
stype: 'employee'
|
|
36235
|
+
});
|
|
36236
|
+
});
|
|
36237
|
+
}
|
|
36238
|
+
if (nodeMoreInfo.currentOrgDefaultSelectObjectItems.orgIds.length > 0) {
|
|
36239
|
+
nodeMoreInfo.currentOrgDefaultSelectObjectItems.orgIds.map(function (x, i) {
|
|
36240
|
+
_this7.nextCurrentOrgselectUserList.push({
|
|
36241
|
+
showname: nodeMoreInfo.currentOrgDefaultSelectObjectItems.orgNames[i],
|
|
36242
|
+
showid: x,
|
|
36243
|
+
stype: 'enterprise'
|
|
36244
|
+
});
|
|
36245
|
+
});
|
|
36246
|
+
}
|
|
36247
|
+
_this7.nextNode.nextCurrentOrgObj = nodeMoreInfo.currentOrgDefaultSelectObjects;
|
|
36248
|
+
}
|
|
36207
36249
|
if (_this7.enableCustomLimitTimeSetting && nodeMoreInfo.defaultCustomLimitDays) {
|
|
36208
36250
|
_this7.nextNode.customLimitTime = _this7.nextNode.customLimitTimeText = nodeMoreInfo.defaultCustomLimitDays + '';
|
|
36209
36251
|
}
|
|
@@ -36400,6 +36442,18 @@ var processFormvue_type_script_lang_js_components;
|
|
|
36400
36442
|
});
|
|
36401
36443
|
data.nextNodeCheckType && (_this9.nextNodeCheckType = data.nextNodeCheckType);
|
|
36402
36444
|
data.nextOperateCheckType && (_this9.nextOperateCheckType = data.nextOperateCheckType);
|
|
36445
|
+
if (data.currentOrgSelectorParams) {
|
|
36446
|
+
if (data.currentOrgSelectorParams.enableCurrentOrgConfig == 'true') {
|
|
36447
|
+
_this9.currentOrgSelectorTabs = data.currentOrgSelectorParams.currentOrgType.split(',');
|
|
36448
|
+
var currentOrgparams = data.currentOrgSelectorParams.currentOrgRange.split(',');
|
|
36449
|
+
_this9.currentOrgSelectorTabs.map(function (x, i) {
|
|
36450
|
+
_this9.currentOrgSelectorParams[x] = {
|
|
36451
|
+
filid: currentOrgparams[i] == 'my' ? JSON.parse(utils_util.getStorage('mainConfig')).userModel.orgId : currentOrgparams[i],
|
|
36452
|
+
only_filid: true
|
|
36453
|
+
};
|
|
36454
|
+
});
|
|
36455
|
+
}
|
|
36456
|
+
}
|
|
36403
36457
|
_this9.customPresetHintMessage = data.customPresetHintMessage;
|
|
36404
36458
|
_this9.readOnlyNotificationType = data.readOnlyNotificationType;
|
|
36405
36459
|
_this9.notificationMessageReadOnly = data.notificationMessageReadOnly == 'true';
|
|
@@ -36506,8 +36560,8 @@ var processFormvue_type_script_lang_js_components;
|
|
|
36506
36560
|
|
|
36507
36561
|
var processForm_component = normalizeComponent(
|
|
36508
36562
|
src_processFormvue_type_script_lang_js_,
|
|
36509
|
-
|
|
36510
|
-
|
|
36563
|
+
processFormvue_type_template_id_ac123c98_render,
|
|
36564
|
+
processFormvue_type_template_id_ac123c98_staticRenderFns,
|
|
36511
36565
|
false,
|
|
36512
36566
|
null,
|
|
36513
36567
|
null,
|
|
@@ -50893,6 +50947,9 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50893
50947
|
if (_this30.enableCustomLimitTimeSetting && data.nodeMoreInfo.defaultCustomLimitDays) {
|
|
50894
50948
|
_this30.nextNode.customLimitTime = _this30.nextNode.customLimitTimeText = data.nodeMoreInfo.defaultCustomLimitDays + '';
|
|
50895
50949
|
}
|
|
50950
|
+
if (_this30.currentOrgSelectorParams.department && !_this30.currentOrgSelectorParams.department.roleid && _this30.selectorParams.roleid && data.nodeExtAttr.deptRoleCode) {
|
|
50951
|
+
_this30.currentOrgSelectorParams.department.roleid = data.nodeExtAttr.deptRoleCode;
|
|
50952
|
+
}
|
|
50896
50953
|
if (data.nodeMoreInfo.currentOrgDefaultSelectObjectItems) {
|
|
50897
50954
|
if (data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.deptIds.length > 0) {
|
|
50898
50955
|
data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.deptIds.map(function (x, i) {
|
|
@@ -51262,7 +51319,8 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
51262
51319
|
_this32.currentOrgSelectorTabs.map(function (x, i) {
|
|
51263
51320
|
_this32.currentOrgSelectorParams[x] = {
|
|
51264
51321
|
filid: currentOrgparams[i] == 'my' ? choiceOrgId : currentOrgparams[i],
|
|
51265
|
-
only_filid: true
|
|
51322
|
+
only_filid: true,
|
|
51323
|
+
roleid: _this32.selectorParams.roleid
|
|
51266
51324
|
};
|
|
51267
51325
|
});
|
|
51268
51326
|
}
|
|
@@ -52130,7 +52188,6 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
52130
52188
|
|
|
52131
52189
|
// 单位选择完回调
|
|
52132
52190
|
disposeAppUnit: function disposeAppUnit(res, type) {
|
|
52133
|
-
console.log(res, '选完了');
|
|
52134
52191
|
var label = type.substring(0, type.lastIndexOf('Select'));
|
|
52135
52192
|
this.nextNode[label + 'Name'] = '';
|
|
52136
52193
|
res.options && (this[type] = res.options);
|
|
@@ -52176,8 +52233,8 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
52176
52233
|
|
|
52177
52234
|
var flow_src_main_component = normalizeComponent(
|
|
52178
52235
|
packages_flow_src_mainvue_type_script_lang_js_,
|
|
52179
|
-
|
|
52180
|
-
|
|
52236
|
+
mainvue_type_template_id_3f77c73e_render,
|
|
52237
|
+
mainvue_type_template_id_3f77c73e_staticRenderFns,
|
|
52181
52238
|
false,
|
|
52182
52239
|
null,
|
|
52183
52240
|
null,
|
|
@@ -103020,7 +103077,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
103020
103077
|
}
|
|
103021
103078
|
|
|
103022
103079
|
/* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
|
|
103023
|
-
version: '0.8.
|
|
103080
|
+
version: '0.8.19',
|
|
103024
103081
|
install: install,
|
|
103025
103082
|
Button: packages_button,
|
|
103026
103083
|
ButtonGroup: button_group,
|
package/lib/flow.js
CHANGED
|
@@ -4834,7 +4834,7 @@ module.exports = require("vuedraggable");
|
|
|
4834
4834
|
// ESM COMPAT FLAG
|
|
4835
4835
|
__webpack_require__.r(__webpack_exports__);
|
|
4836
4836
|
|
|
4837
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=
|
|
4837
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=3f77c73e&
|
|
4838
4838
|
var render = function () {
|
|
4839
4839
|
var _vm = this
|
|
4840
4840
|
var _h = _vm.$createElement
|
|
@@ -7918,7 +7918,7 @@ var staticRenderFns = []
|
|
|
7918
7918
|
render._withStripped = true
|
|
7919
7919
|
|
|
7920
7920
|
|
|
7921
|
-
// CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=
|
|
7921
|
+
// CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=3f77c73e&
|
|
7922
7922
|
|
|
7923
7923
|
// EXTERNAL MODULE: external "babel-runtime/regenerator"
|
|
7924
7924
|
var regenerator_ = __webpack_require__(4);
|
|
@@ -8982,8 +8982,8 @@ var CommonOpinions_component = Object(componentNormalizer["a" /* default */])(
|
|
|
8982
8982
|
)
|
|
8983
8983
|
|
|
8984
8984
|
/* harmony default export */ var CommonOpinions = (CommonOpinions_component.exports);
|
|
8985
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processForm.vue?vue&type=template&id=
|
|
8986
|
-
var
|
|
8985
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processForm.vue?vue&type=template&id=ac123c98&
|
|
8986
|
+
var processFormvue_type_template_id_ac123c98_render = function () {
|
|
8987
8987
|
var _vm = this
|
|
8988
8988
|
var _h = _vm.$createElement
|
|
8989
8989
|
var _c = _vm._self._c || _h
|
|
@@ -9265,7 +9265,8 @@ var processFormvue_type_template_id_5c2c1688_render = function () {
|
|
|
9265
9265
|
multiple: "",
|
|
9266
9266
|
mix: "",
|
|
9267
9267
|
showTooltip: _vm.showTooltip,
|
|
9268
|
-
|
|
9268
|
+
selectUserList: _vm.nextCurrentOrgselectUserList,
|
|
9269
|
+
types: _vm.currentOrgSelectorTabs,
|
|
9269
9270
|
params: _vm.currentOrgSelectorParams,
|
|
9270
9271
|
},
|
|
9271
9272
|
on: {
|
|
@@ -9817,14 +9818,14 @@ var processFormvue_type_template_id_5c2c1688_render = function () {
|
|
|
9817
9818
|
1
|
|
9818
9819
|
)
|
|
9819
9820
|
}
|
|
9820
|
-
var
|
|
9821
|
-
|
|
9821
|
+
var processFormvue_type_template_id_ac123c98_staticRenderFns = []
|
|
9822
|
+
processFormvue_type_template_id_ac123c98_render._withStripped = true
|
|
9822
9823
|
|
|
9823
9824
|
|
|
9824
|
-
// CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=
|
|
9825
|
+
// CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=ac123c98&
|
|
9825
9826
|
|
|
9826
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/selectUser.vue?vue&type=template&id=
|
|
9827
|
-
var
|
|
9827
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/selectUser.vue?vue&type=template&id=e270ebde&
|
|
9828
|
+
var selectUservue_type_template_id_e270ebde_render = function () {
|
|
9828
9829
|
var _vm = this
|
|
9829
9830
|
var _h = _vm.$createElement
|
|
9830
9831
|
var _c = _vm._self._c || _h
|
|
@@ -9985,11 +9986,11 @@ var selectUservue_type_template_id_24301b52_render = function () {
|
|
|
9985
9986
|
1
|
|
9986
9987
|
)
|
|
9987
9988
|
}
|
|
9988
|
-
var
|
|
9989
|
-
|
|
9989
|
+
var selectUservue_type_template_id_e270ebde_staticRenderFns = []
|
|
9990
|
+
selectUservue_type_template_id_e270ebde_render._withStripped = true
|
|
9990
9991
|
|
|
9991
9992
|
|
|
9992
|
-
// CONCATENATED MODULE: ./packages/flow/src/selectUser.vue?vue&type=template&id=
|
|
9993
|
+
// CONCATENATED MODULE: ./packages/flow/src/selectUser.vue?vue&type=template&id=e270ebde&
|
|
9993
9994
|
|
|
9994
9995
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/selectUser.vue?vue&type=script&lang=js&
|
|
9995
9996
|
var _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; };
|
|
@@ -10406,7 +10407,6 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
10406
10407
|
if (this.mix) data = this.getMixList();
|
|
10407
10408
|
if (this.newMultiple) {
|
|
10408
10409
|
this.newNextUser = [];
|
|
10409
|
-
|
|
10410
10410
|
this.newSelectUserList.map(function (item) {
|
|
10411
10411
|
if (_this4.mix) {
|
|
10412
10412
|
_this4.newOptions.push(_extends({}, item, {
|
|
@@ -10520,8 +10520,8 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
10520
10520
|
|
|
10521
10521
|
var selectUser_component = Object(componentNormalizer["a" /* default */])(
|
|
10522
10522
|
src_selectUservue_type_script_lang_js_,
|
|
10523
|
-
|
|
10524
|
-
|
|
10523
|
+
selectUservue_type_template_id_e270ebde_render,
|
|
10524
|
+
selectUservue_type_template_id_e270ebde_staticRenderFns,
|
|
10525
10525
|
false,
|
|
10526
10526
|
null,
|
|
10527
10527
|
null,
|
|
@@ -11778,6 +11778,11 @@ var processFormvue_type_script_lang_js_components;
|
|
|
11778
11778
|
//
|
|
11779
11779
|
//
|
|
11780
11780
|
//
|
|
11781
|
+
//
|
|
11782
|
+
//
|
|
11783
|
+
//
|
|
11784
|
+
//
|
|
11785
|
+
//
|
|
11781
11786
|
|
|
11782
11787
|
|
|
11783
11788
|
|
|
@@ -11876,6 +11881,7 @@ var processFormvue_type_script_lang_js_components;
|
|
|
11876
11881
|
selectUser: false,
|
|
11877
11882
|
multiple: false,
|
|
11878
11883
|
readMultiple: true,
|
|
11884
|
+
currentOrgSelectorTabs: ['employee', 'persongroup'],
|
|
11879
11885
|
customPresetHintMessage: '', //流程预设标题
|
|
11880
11886
|
nextNodeCheckType: 'select',
|
|
11881
11887
|
nextOperateCheckType: 'select',
|
|
@@ -11886,6 +11892,7 @@ var processFormvue_type_script_lang_js_components;
|
|
|
11886
11892
|
show: true,
|
|
11887
11893
|
enableCustomLimitTimeSetting: false,
|
|
11888
11894
|
radioList: [],
|
|
11895
|
+
nextCurrentOrgselectUserList: [],
|
|
11889
11896
|
showCustomLimitTimeText: false,
|
|
11890
11897
|
activeNames: '',
|
|
11891
11898
|
selectUserList: [],
|
|
@@ -12629,11 +12636,45 @@ var processFormvue_type_script_lang_js_components;
|
|
|
12629
12636
|
_this7.allLoading.close();
|
|
12630
12637
|
}
|
|
12631
12638
|
if (status === 'success') {
|
|
12639
|
+
if (_this7.currentOrgSelectorParams.department && !_this7.currentOrgSelectorParams.department.roleid && _this7.selectorParams.roleid && nodeExtAttr.deptRoleCode) {
|
|
12640
|
+
_this7.currentOrgSelectorParams.department.roleid = nodeExtAttr.deptRoleCode;
|
|
12641
|
+
}
|
|
12632
12642
|
_this7.isCurrentNodeForbiddenChangeCandidate = nodeExtAttr.isCurrentNodeForbiddenChangeCandidate;
|
|
12633
12643
|
_this7.nextNode.userInfo = nextUserList;
|
|
12634
12644
|
_this7.countersignaturetypeCode = countersignaturetypeCode;
|
|
12635
12645
|
_this7.nextNode.countersignaturetypeText = countersignaturetypeText;
|
|
12636
12646
|
_this7.enableCustomLimitTimeSetting = nodeExtAttr.enableCustomLimitTimeSetting == 1;
|
|
12647
|
+
if (nodeMoreInfo.currentOrgDefaultSelectObjectItems) {
|
|
12648
|
+
_this7.nextCurrentOrgselectUserList = [];
|
|
12649
|
+
if (nodeMoreInfo.currentOrgDefaultSelectObjectItems.deptIds.length > 0) {
|
|
12650
|
+
nodeMoreInfo.currentOrgDefaultSelectObjectItems.deptIds.map(function (x, i) {
|
|
12651
|
+
_this7.nextCurrentOrgselectUserList.push({
|
|
12652
|
+
showname: nodeMoreInfo.currentOrgDefaultSelectObjectItems.deptNames[i],
|
|
12653
|
+
showid: x,
|
|
12654
|
+
stype: 'department'
|
|
12655
|
+
});
|
|
12656
|
+
});
|
|
12657
|
+
}
|
|
12658
|
+
if (nodeMoreInfo.currentOrgDefaultSelectObjectItems.userIds.length > 0) {
|
|
12659
|
+
nodeMoreInfo.currentOrgDefaultSelectObjectItems.userIds.map(function (x, i) {
|
|
12660
|
+
_this7.nextCurrentOrgselectUserList.push({
|
|
12661
|
+
showname: nodeMoreInfo.currentOrgDefaultSelectObjectItems.userNames[i],
|
|
12662
|
+
showid: x,
|
|
12663
|
+
stype: 'employee'
|
|
12664
|
+
});
|
|
12665
|
+
});
|
|
12666
|
+
}
|
|
12667
|
+
if (nodeMoreInfo.currentOrgDefaultSelectObjectItems.orgIds.length > 0) {
|
|
12668
|
+
nodeMoreInfo.currentOrgDefaultSelectObjectItems.orgIds.map(function (x, i) {
|
|
12669
|
+
_this7.nextCurrentOrgselectUserList.push({
|
|
12670
|
+
showname: nodeMoreInfo.currentOrgDefaultSelectObjectItems.orgNames[i],
|
|
12671
|
+
showid: x,
|
|
12672
|
+
stype: 'enterprise'
|
|
12673
|
+
});
|
|
12674
|
+
});
|
|
12675
|
+
}
|
|
12676
|
+
_this7.nextNode.nextCurrentOrgObj = nodeMoreInfo.currentOrgDefaultSelectObjects;
|
|
12677
|
+
}
|
|
12637
12678
|
if (_this7.enableCustomLimitTimeSetting && nodeMoreInfo.defaultCustomLimitDays) {
|
|
12638
12679
|
_this7.nextNode.customLimitTime = _this7.nextNode.customLimitTimeText = nodeMoreInfo.defaultCustomLimitDays + '';
|
|
12639
12680
|
}
|
|
@@ -12830,6 +12871,18 @@ var processFormvue_type_script_lang_js_components;
|
|
|
12830
12871
|
});
|
|
12831
12872
|
data.nextNodeCheckType && (_this9.nextNodeCheckType = data.nextNodeCheckType);
|
|
12832
12873
|
data.nextOperateCheckType && (_this9.nextOperateCheckType = data.nextOperateCheckType);
|
|
12874
|
+
if (data.currentOrgSelectorParams) {
|
|
12875
|
+
if (data.currentOrgSelectorParams.enableCurrentOrgConfig == 'true') {
|
|
12876
|
+
_this9.currentOrgSelectorTabs = data.currentOrgSelectorParams.currentOrgType.split(',');
|
|
12877
|
+
var currentOrgparams = data.currentOrgSelectorParams.currentOrgRange.split(',');
|
|
12878
|
+
_this9.currentOrgSelectorTabs.map(function (x, i) {
|
|
12879
|
+
_this9.currentOrgSelectorParams[x] = {
|
|
12880
|
+
filid: currentOrgparams[i] == 'my' ? JSON.parse(util["a" /* default */].getStorage('mainConfig')).userModel.orgId : currentOrgparams[i],
|
|
12881
|
+
only_filid: true
|
|
12882
|
+
};
|
|
12883
|
+
});
|
|
12884
|
+
}
|
|
12885
|
+
}
|
|
12833
12886
|
_this9.customPresetHintMessage = data.customPresetHintMessage;
|
|
12834
12887
|
_this9.readOnlyNotificationType = data.readOnlyNotificationType;
|
|
12835
12888
|
_this9.notificationMessageReadOnly = data.notificationMessageReadOnly == 'true';
|
|
@@ -12936,8 +12989,8 @@ var processFormvue_type_script_lang_js_components;
|
|
|
12936
12989
|
|
|
12937
12990
|
var processForm_component = Object(componentNormalizer["a" /* default */])(
|
|
12938
12991
|
src_processFormvue_type_script_lang_js_,
|
|
12939
|
-
|
|
12940
|
-
|
|
12992
|
+
processFormvue_type_template_id_ac123c98_render,
|
|
12993
|
+
processFormvue_type_template_id_ac123c98_staticRenderFns,
|
|
12941
12994
|
false,
|
|
12942
12995
|
null,
|
|
12943
12996
|
null,
|
|
@@ -27168,6 +27221,9 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
27168
27221
|
if (_this30.enableCustomLimitTimeSetting && data.nodeMoreInfo.defaultCustomLimitDays) {
|
|
27169
27222
|
_this30.nextNode.customLimitTime = _this30.nextNode.customLimitTimeText = data.nodeMoreInfo.defaultCustomLimitDays + '';
|
|
27170
27223
|
}
|
|
27224
|
+
if (_this30.currentOrgSelectorParams.department && !_this30.currentOrgSelectorParams.department.roleid && _this30.selectorParams.roleid && data.nodeExtAttr.deptRoleCode) {
|
|
27225
|
+
_this30.currentOrgSelectorParams.department.roleid = data.nodeExtAttr.deptRoleCode;
|
|
27226
|
+
}
|
|
27171
27227
|
if (data.nodeMoreInfo.currentOrgDefaultSelectObjectItems) {
|
|
27172
27228
|
if (data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.deptIds.length > 0) {
|
|
27173
27229
|
data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.deptIds.map(function (x, i) {
|
|
@@ -27537,7 +27593,8 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
27537
27593
|
_this32.currentOrgSelectorTabs.map(function (x, i) {
|
|
27538
27594
|
_this32.currentOrgSelectorParams[x] = {
|
|
27539
27595
|
filid: currentOrgparams[i] == 'my' ? choiceOrgId : currentOrgparams[i],
|
|
27540
|
-
only_filid: true
|
|
27596
|
+
only_filid: true,
|
|
27597
|
+
roleid: _this32.selectorParams.roleid
|
|
27541
27598
|
};
|
|
27542
27599
|
});
|
|
27543
27600
|
}
|
|
@@ -28405,7 +28462,6 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
28405
28462
|
|
|
28406
28463
|
// 单位选择完回调
|
|
28407
28464
|
disposeAppUnit: function disposeAppUnit(res, type) {
|
|
28408
|
-
console.log(res, '选完了');
|
|
28409
28465
|
var label = type.substring(0, type.lastIndexOf('Select'));
|
|
28410
28466
|
this.nextNode[label + 'Name'] = '';
|
|
28411
28467
|
res.options && (this[type] = res.options);
|
package/lib/form.js
CHANGED
|
@@ -4651,7 +4651,7 @@ module.exports = require("qs");
|
|
|
4651
4651
|
// ESM COMPAT FLAG
|
|
4652
4652
|
__webpack_require__.r(__webpack_exports__);
|
|
4653
4653
|
|
|
4654
|
-
// 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=
|
|
4654
|
+
// 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=26e121c2&
|
|
4655
4655
|
var render = function () {
|
|
4656
4656
|
var _vm = this
|
|
4657
4657
|
var _h = _vm.$createElement
|
|
@@ -9305,7 +9305,7 @@ var render = function () {
|
|
|
9305
9305
|
event
|
|
9306
9306
|
) {
|
|
9307
9307
|
_vm.handleBlur(
|
|
9308
|
-
item
|
|
9308
|
+
item,
|
|
9309
9309
|
event
|
|
9310
9310
|
)
|
|
9311
9311
|
},
|
|
@@ -9313,7 +9313,7 @@ var render = function () {
|
|
|
9313
9313
|
event
|
|
9314
9314
|
) {
|
|
9315
9315
|
_vm.handleFocus(
|
|
9316
|
-
item
|
|
9316
|
+
item,
|
|
9317
9317
|
event
|
|
9318
9318
|
)
|
|
9319
9319
|
},
|
|
@@ -9321,7 +9321,7 @@ var render = function () {
|
|
|
9321
9321
|
val
|
|
9322
9322
|
) {
|
|
9323
9323
|
_vm.handleInput(
|
|
9324
|
-
item
|
|
9324
|
+
item,
|
|
9325
9325
|
val
|
|
9326
9326
|
)
|
|
9327
9327
|
},
|
|
@@ -9329,7 +9329,7 @@ var render = function () {
|
|
|
9329
9329
|
$event
|
|
9330
9330
|
) {
|
|
9331
9331
|
_vm.handleClear(
|
|
9332
|
-
item
|
|
9332
|
+
item
|
|
9333
9333
|
)
|
|
9334
9334
|
},
|
|
9335
9335
|
change: function (
|
|
@@ -10938,7 +10938,7 @@ var staticRenderFns = []
|
|
|
10938
10938
|
render._withStripped = true
|
|
10939
10939
|
|
|
10940
10940
|
|
|
10941
|
-
// CONCATENATED MODULE: ./packages/form/src/main.vue?vue&type=template&id=
|
|
10941
|
+
// CONCATENATED MODULE: ./packages/form/src/main.vue?vue&type=template&id=26e121c2&
|
|
10942
10942
|
|
|
10943
10943
|
// EXTERNAL MODULE: external "babel-runtime/regenerator"
|
|
10944
10944
|
var regenerator_ = __webpack_require__(4);
|
|
@@ -14363,6 +14363,7 @@ var pageView = util["a" /* default */].getParams('pageView');
|
|
|
14363
14363
|
}
|
|
14364
14364
|
},
|
|
14365
14365
|
handleFocus: function handleFocus(a, b, c) {
|
|
14366
|
+
console.log('handleFocus focus', a);
|
|
14366
14367
|
if (a.events && a.events.focus) {
|
|
14367
14368
|
a.events.focus(a.name, b, c, this.models);
|
|
14368
14369
|
} else if (this.events[a.name] && this.events[a.name].focus) {
|