eoss-ui 0.7.12 → 0.7.14
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 +124 -96
- package/lib/flow.js +118 -90
- package/lib/index.js +1 -1
- package/package.json +1 -1
- package/packages/flow/src/component/CommonOpinions.vue +49 -41
- package/packages/flow/src/main.vue +19 -5
- package/src/index.js +1 -1
package/lib/flow.js
CHANGED
|
@@ -4492,7 +4492,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
4492
4492
|
// ESM COMPAT FLAG
|
|
4493
4493
|
__webpack_require__.r(__webpack_exports__);
|
|
4494
4494
|
|
|
4495
|
-
// 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=
|
|
4495
|
+
// 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=416e8ccb&
|
|
4496
4496
|
var render = function () {
|
|
4497
4497
|
var _vm = this
|
|
4498
4498
|
var _h = _vm.$createElement
|
|
@@ -4585,34 +4585,36 @@ var render = function () {
|
|
|
4585
4585
|
]
|
|
4586
4586
|
),
|
|
4587
4587
|
]),
|
|
4588
|
-
|
|
4589
|
-
|
|
4590
|
-
|
|
4591
|
-
|
|
4592
|
-
|
|
4593
|
-
|
|
4594
|
-
|
|
4595
|
-
|
|
4596
|
-
|
|
4597
|
-
|
|
4598
|
-
|
|
4599
|
-
|
|
4600
|
-
|
|
4601
|
-
|
|
4602
|
-
|
|
4603
|
-
|
|
4604
|
-
|
|
4605
|
-
|
|
4606
|
-
|
|
4607
|
-
|
|
4608
|
-
|
|
4609
|
-
|
|
4610
|
-
|
|
4611
|
-
|
|
4612
|
-
|
|
4613
|
-
|
|
4614
|
-
|
|
4615
|
-
|
|
4588
|
+
_vm.showOpinion
|
|
4589
|
+
? _c("CommonOpinions", {
|
|
4590
|
+
directives: [
|
|
4591
|
+
{
|
|
4592
|
+
name: "show",
|
|
4593
|
+
rawName: "v-show",
|
|
4594
|
+
value: !_vm.shrink,
|
|
4595
|
+
expression: "!shrink",
|
|
4596
|
+
},
|
|
4597
|
+
],
|
|
4598
|
+
ref: "commonOpinions",
|
|
4599
|
+
staticClass: "es-common-opinions",
|
|
4600
|
+
attrs: {
|
|
4601
|
+
opinion: _vm.value,
|
|
4602
|
+
rows: _vm.rows,
|
|
4603
|
+
placeholder: _vm.pendingItemHandleDescription,
|
|
4604
|
+
pendingItemHandleDescription:
|
|
4605
|
+
_vm.pendingItemHandleDescription,
|
|
4606
|
+
required: _vm.isOpinionRequired == 1,
|
|
4607
|
+
isBanInputOpinion: _vm.isBanInputOpinion,
|
|
4608
|
+
nodeFixedOpinionSelectList:
|
|
4609
|
+
_vm.nodeFixedOpinionSelectList,
|
|
4610
|
+
},
|
|
4611
|
+
on: {
|
|
4612
|
+
change: function (val) {
|
|
4613
|
+
return (_vm.value = val)
|
|
4614
|
+
},
|
|
4615
|
+
},
|
|
4616
|
+
})
|
|
4617
|
+
: _vm._e(),
|
|
4616
4618
|
_c(
|
|
4617
4619
|
"div",
|
|
4618
4620
|
{
|
|
@@ -4763,6 +4765,7 @@ var render = function () {
|
|
|
4763
4765
|
attrs: {
|
|
4764
4766
|
appId: _vm.resetAppId,
|
|
4765
4767
|
params: _vm.param,
|
|
4768
|
+
showOther: _vm.showOther,
|
|
4766
4769
|
formLabelPosition: _vm.formLabelPosition,
|
|
4767
4770
|
simpleTips: _vm.simpleTips,
|
|
4768
4771
|
},
|
|
@@ -4910,34 +4913,36 @@ var render = function () {
|
|
|
4910
4913
|
),
|
|
4911
4914
|
]
|
|
4912
4915
|
),
|
|
4913
|
-
|
|
4914
|
-
|
|
4915
|
-
|
|
4916
|
-
|
|
4917
|
-
|
|
4918
|
-
|
|
4919
|
-
|
|
4920
|
-
|
|
4921
|
-
|
|
4922
|
-
|
|
4923
|
-
|
|
4924
|
-
|
|
4925
|
-
|
|
4926
|
-
|
|
4927
|
-
|
|
4928
|
-
|
|
4929
|
-
|
|
4930
|
-
|
|
4931
|
-
|
|
4932
|
-
|
|
4933
|
-
|
|
4934
|
-
|
|
4935
|
-
|
|
4936
|
-
|
|
4937
|
-
|
|
4938
|
-
|
|
4939
|
-
|
|
4940
|
-
|
|
4916
|
+
_vm.showOpinion
|
|
4917
|
+
? _c("CommonOpinions", {
|
|
4918
|
+
directives: [
|
|
4919
|
+
{
|
|
4920
|
+
name: "show",
|
|
4921
|
+
rawName: "v-show",
|
|
4922
|
+
value: !_vm.shrink,
|
|
4923
|
+
expression: "!shrink",
|
|
4924
|
+
},
|
|
4925
|
+
],
|
|
4926
|
+
ref: "commonOpinions",
|
|
4927
|
+
staticClass: "es-common-opinions",
|
|
4928
|
+
attrs: {
|
|
4929
|
+
opinion: _vm.value,
|
|
4930
|
+
rows: _vm.rows,
|
|
4931
|
+
pendingItemHandleDescription:
|
|
4932
|
+
_vm.pendingItemHandleDescription,
|
|
4933
|
+
placeholder: _vm.pendingItemHandleDescription,
|
|
4934
|
+
required: _vm.isOpinionRequired == 1,
|
|
4935
|
+
isBanInputOpinion: _vm.isBanInputOpinion,
|
|
4936
|
+
nodeFixedOpinionSelectList:
|
|
4937
|
+
_vm.nodeFixedOpinionSelectList,
|
|
4938
|
+
},
|
|
4939
|
+
on: {
|
|
4940
|
+
change: function (val) {
|
|
4941
|
+
return (_vm.value = val)
|
|
4942
|
+
},
|
|
4943
|
+
},
|
|
4944
|
+
})
|
|
4945
|
+
: _vm._e(),
|
|
4941
4946
|
],
|
|
4942
4947
|
1
|
|
4943
4948
|
),
|
|
@@ -7396,14 +7401,14 @@ var staticRenderFns = []
|
|
|
7396
7401
|
render._withStripped = true
|
|
7397
7402
|
|
|
7398
7403
|
|
|
7399
|
-
// CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=
|
|
7404
|
+
// CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=416e8ccb&
|
|
7400
7405
|
|
|
7401
7406
|
// EXTERNAL MODULE: external "babel-runtime/regenerator"
|
|
7402
7407
|
var regenerator_ = __webpack_require__(4);
|
|
7403
7408
|
var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator_);
|
|
7404
7409
|
|
|
7405
|
-
// 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=
|
|
7406
|
-
var
|
|
7410
|
+
// 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=4b7ad280&
|
|
7411
|
+
var CommonOpinionsvue_type_template_id_4b7ad280_render = function () {
|
|
7407
7412
|
var _vm = this
|
|
7408
7413
|
var _h = _vm.$createElement
|
|
7409
7414
|
var _c = _vm._self._c || _h
|
|
@@ -7415,11 +7420,7 @@ var CommonOpinionsvue_type_template_id_19364a89_render = function () {
|
|
|
7415
7420
|
"el-form",
|
|
7416
7421
|
{
|
|
7417
7422
|
ref: "ruleForm",
|
|
7418
|
-
attrs: {
|
|
7419
|
-
model: _vm.form,
|
|
7420
|
-
rules: _vm.required ? _vm.rules : {},
|
|
7421
|
-
"label-width": "0",
|
|
7422
|
-
},
|
|
7423
|
+
attrs: { model: _vm.form, rules: _vm.rules, "label-width": "0" },
|
|
7423
7424
|
},
|
|
7424
7425
|
[
|
|
7425
7426
|
_c(
|
|
@@ -7614,11 +7615,11 @@ var CommonOpinionsvue_type_template_id_19364a89_render = function () {
|
|
|
7614
7615
|
1
|
|
7615
7616
|
)
|
|
7616
7617
|
}
|
|
7617
|
-
var
|
|
7618
|
-
|
|
7618
|
+
var CommonOpinionsvue_type_template_id_4b7ad280_staticRenderFns = []
|
|
7619
|
+
CommonOpinionsvue_type_template_id_4b7ad280_render._withStripped = true
|
|
7619
7620
|
|
|
7620
7621
|
|
|
7621
|
-
// CONCATENATED MODULE: ./packages/flow/src/component/CommonOpinions.vue?vue&type=template&id=
|
|
7622
|
+
// CONCATENATED MODULE: ./packages/flow/src/component/CommonOpinions.vue?vue&type=template&id=4b7ad280&
|
|
7622
7623
|
|
|
7623
7624
|
// EXTERNAL MODULE: ./src/config/api.js
|
|
7624
7625
|
var api = __webpack_require__(1);
|
|
@@ -8160,8 +8161,6 @@ var _components;
|
|
|
8160
8161
|
//
|
|
8161
8162
|
//
|
|
8162
8163
|
//
|
|
8163
|
-
//
|
|
8164
|
-
//
|
|
8165
8164
|
|
|
8166
8165
|
|
|
8167
8166
|
|
|
@@ -8177,9 +8176,6 @@ var _components;
|
|
|
8177
8176
|
form: {
|
|
8178
8177
|
value: ''
|
|
8179
8178
|
},
|
|
8180
|
-
rules: {
|
|
8181
|
-
value: [{ required: true, message: '请输入意见', trigger: 'blur' }]
|
|
8182
|
-
},
|
|
8183
8179
|
input3: '',
|
|
8184
8180
|
selectValue: '',
|
|
8185
8181
|
optionList: [],
|
|
@@ -8217,6 +8213,17 @@ var _components;
|
|
|
8217
8213
|
},
|
|
8218
8214
|
required: { type: Boolean, default: false }
|
|
8219
8215
|
},
|
|
8216
|
+
computed: {
|
|
8217
|
+
rules: function rules() {
|
|
8218
|
+
return {
|
|
8219
|
+
value: [{
|
|
8220
|
+
required: this.required,
|
|
8221
|
+
message: '请输入意见',
|
|
8222
|
+
trigger: 'blur'
|
|
8223
|
+
}]
|
|
8224
|
+
};
|
|
8225
|
+
}
|
|
8226
|
+
},
|
|
8220
8227
|
mounted: function mounted() {
|
|
8221
8228
|
if (this.nodeFixedOpinionSelectList.length > 0) {
|
|
8222
8229
|
this.optionList = this.nodeFixedOpinionSelectList;
|
|
@@ -8439,8 +8446,8 @@ var _components;
|
|
|
8439
8446
|
|
|
8440
8447
|
var CommonOpinions_component = Object(componentNormalizer["a" /* default */])(
|
|
8441
8448
|
component_CommonOpinionsvue_type_script_lang_js_,
|
|
8442
|
-
|
|
8443
|
-
|
|
8449
|
+
CommonOpinionsvue_type_template_id_4b7ad280_render,
|
|
8450
|
+
CommonOpinionsvue_type_template_id_4b7ad280_staticRenderFns,
|
|
8444
8451
|
false,
|
|
8445
8452
|
null,
|
|
8446
8453
|
null,
|
|
@@ -24081,6 +24088,9 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24081
24088
|
//
|
|
24082
24089
|
//
|
|
24083
24090
|
//
|
|
24091
|
+
//
|
|
24092
|
+
//
|
|
24093
|
+
//
|
|
24084
24094
|
|
|
24085
24095
|
|
|
24086
24096
|
|
|
@@ -24163,6 +24173,10 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24163
24173
|
type: [String, Number],
|
|
24164
24174
|
default: 10
|
|
24165
24175
|
},
|
|
24176
|
+
showOther: {
|
|
24177
|
+
type: Boolean,
|
|
24178
|
+
default: true
|
|
24179
|
+
},
|
|
24166
24180
|
isEndMessage: { type: Boolean, default: false }
|
|
24167
24181
|
},
|
|
24168
24182
|
data: function data() {
|
|
@@ -24174,6 +24188,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24174
24188
|
endMessage: '',
|
|
24175
24189
|
isHideTemporarySave: false,
|
|
24176
24190
|
oldNextOperate: '',
|
|
24191
|
+
showOpinion: true,
|
|
24177
24192
|
taskOperationShiftedNodeList: null,
|
|
24178
24193
|
currentNodeEnableItemHandleDescription: false,
|
|
24179
24194
|
startFlowPageEmbeddedIntoStartFlowIndex: false,
|
|
@@ -24405,7 +24420,8 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24405
24420
|
}
|
|
24406
24421
|
}
|
|
24407
24422
|
if (this.nodeInfo.nextNode) {
|
|
24408
|
-
|
|
24423
|
+
|
|
24424
|
+
this.handleChange(this.nodeInfo.nextNode, true);
|
|
24409
24425
|
}
|
|
24410
24426
|
}
|
|
24411
24427
|
},
|
|
@@ -24533,6 +24549,10 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24533
24549
|
// }
|
|
24534
24550
|
_this3.optionsKey++;
|
|
24535
24551
|
_this3.isOpinionRequired = res.data.nodeExtAttr.isOpinionRequired == 1;
|
|
24552
|
+
_this3.showOpinion = false;
|
|
24553
|
+
setTimeout(function () {
|
|
24554
|
+
_this3.showOpinion = true;
|
|
24555
|
+
}, 0);
|
|
24536
24556
|
}
|
|
24537
24557
|
});
|
|
24538
24558
|
},
|
|
@@ -24582,8 +24602,8 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24582
24602
|
this.flowSuccess(true);
|
|
24583
24603
|
// this.$emit('success');
|
|
24584
24604
|
},
|
|
24585
|
-
handleChange: function handleChange(val) {
|
|
24586
|
-
this.getNodeInfoForStartFlow(val);
|
|
24605
|
+
handleChange: function handleChange(val, isForStartFlow) {
|
|
24606
|
+
this.getNodeInfoForStartFlow(val, isForStartFlow);
|
|
24587
24607
|
this.$parent.$emit('flowChange', val);
|
|
24588
24608
|
},
|
|
24589
24609
|
getsubProcessColumns: function getsubProcessColumns() {
|
|
@@ -25785,7 +25805,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25785
25805
|
_this29.foreignOrgSelectorParams.roleid = _this29.circularReadParamsMap.circularReadOrgRoleCode;
|
|
25786
25806
|
}
|
|
25787
25807
|
_this29.currentOrgName = currentOrgName;
|
|
25788
|
-
_this29.nextOperateCheckType = nextOperateCheckType;
|
|
25808
|
+
_this29.nextOperateCheckType = nextOperateCheckType || 'select';
|
|
25789
25809
|
_this29.currentNodeIsCircularReadNode = nodeInfoMap.nodeExtAttr.currentNodeIsCircularReadNode == 1;
|
|
25790
25810
|
|
|
25791
25811
|
_this29.readOnlyNotificationType = readOnlyNotificationType;
|
|
@@ -26077,7 +26097,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
26077
26097
|
}
|
|
26078
26098
|
}
|
|
26079
26099
|
if (_this30.nodeInfo.nextNode) {
|
|
26080
|
-
_this30.handleChange(_this30.nodeInfo.nextNode);
|
|
26100
|
+
_this30.handleChange(_this30.nodeInfo.nextNode, true);
|
|
26081
26101
|
}
|
|
26082
26102
|
if (_this30.showCirculate != undefined && !_this30.showCirculate && _this30.urgencyLevel) {
|
|
26083
26103
|
_this30.getAdminMsgType();
|
|
@@ -26285,15 +26305,23 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
26285
26305
|
switch (_context.prev = _context.next) {
|
|
26286
26306
|
case 0:
|
|
26287
26307
|
if (!valid) {
|
|
26288
|
-
_context.next =
|
|
26308
|
+
_context.next = 55;
|
|
26289
26309
|
break;
|
|
26290
26310
|
}
|
|
26291
26311
|
|
|
26292
26312
|
if (!_this35.isFlow) {
|
|
26313
|
+
_context.next = 6;
|
|
26314
|
+
break;
|
|
26315
|
+
}
|
|
26316
|
+
|
|
26317
|
+
if (!(_this35.isOpinionRequired && !_this35.$refs.commonOpinions.validate())) {
|
|
26293
26318
|
_context.next = 4;
|
|
26294
26319
|
break;
|
|
26295
26320
|
}
|
|
26296
26321
|
|
|
26322
|
+
return _context.abrupt('return');
|
|
26323
|
+
|
|
26324
|
+
case 4:
|
|
26297
26325
|
if (_this35.directCreateCircularReadWhenFlowStarted) {
|
|
26298
26326
|
_this35.circulateVisible = true;
|
|
26299
26327
|
} else {
|
|
@@ -26301,7 +26329,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
26301
26329
|
}
|
|
26302
26330
|
return _context.abrupt('return');
|
|
26303
26331
|
|
|
26304
|
-
case
|
|
26332
|
+
case 6:
|
|
26305
26333
|
nextUserId = [];
|
|
26306
26334
|
|
|
26307
26335
|
if (_this35.multiple) {
|
|
@@ -26344,17 +26372,17 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
26344
26372
|
}
|
|
26345
26373
|
|
|
26346
26374
|
if (!(freetype != 'multiInsMidwayWithSubmitScene')) {
|
|
26347
|
-
_context.next =
|
|
26375
|
+
_context.next = 22;
|
|
26348
26376
|
break;
|
|
26349
26377
|
}
|
|
26350
26378
|
|
|
26351
|
-
_context.next =
|
|
26379
|
+
_context.next = 21;
|
|
26352
26380
|
return _this35.saveInfo('subMit');
|
|
26353
26381
|
|
|
26354
|
-
case
|
|
26382
|
+
case 21:
|
|
26355
26383
|
_this35.loading = util["a" /* default */].loading(_this35.$loading, '加载中...');
|
|
26356
26384
|
|
|
26357
|
-
case
|
|
26385
|
+
case 22:
|
|
26358
26386
|
notificationType = '';
|
|
26359
26387
|
|
|
26360
26388
|
notificationType = _this35.nextNode.notificationType.join(',');
|
|
@@ -26392,7 +26420,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
26392
26420
|
}
|
|
26393
26421
|
|
|
26394
26422
|
if (!(freetype === 'multiInsMidwayWithSubmitScene')) {
|
|
26395
|
-
_context.next =
|
|
26423
|
+
_context.next = 36;
|
|
26396
26424
|
break;
|
|
26397
26425
|
}
|
|
26398
26426
|
|
|
@@ -26400,7 +26428,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
26400
26428
|
_this35.taskParams = params;
|
|
26401
26429
|
return _context.abrupt('return');
|
|
26402
26430
|
|
|
26403
|
-
case
|
|
26431
|
+
case 36:
|
|
26404
26432
|
_this35.loading = util["a" /* default */].loading(_this35.$loading, '提交中...');
|
|
26405
26433
|
isEndUserTask = _this35.isEndUserTask, choiceOrgId = _this35.choiceOrgId, choiceDeptId = _this35.choiceDeptId, pOrgId = _this35.pOrgId, taskExamineInfo = _this35.taskExamineInfo, currentNodeIsCircularReadNode = _this35.currentNodeIsCircularReadNode, needRetrialAuth = _this35.needRetrialAuth, circularReadParamsMap = _this35.circularReadParamsMap, currentNodeEnableItemHandleDescription = _this35.currentNodeEnableItemHandleDescription;
|
|
26406
26434
|
|
|
@@ -26440,10 +26468,10 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
26440
26468
|
}
|
|
26441
26469
|
}));
|
|
26442
26470
|
|
|
26443
|
-
case
|
|
26471
|
+
case 55:
|
|
26444
26472
|
return _context.abrupt('return', false);
|
|
26445
26473
|
|
|
26446
|
-
case
|
|
26474
|
+
case 56:
|
|
26447
26475
|
case 'end':
|
|
26448
26476
|
return _context.stop();
|
|
26449
26477
|
}
|