eoss-ui 0.8.38 → 0.8.40
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 +1326 -1617
- package/lib/flow-group.js +2 -2
- package/lib/flow-list.js +83 -22
- package/lib/flow.js +874 -763
- package/lib/index.js +1 -1
- package/lib/selector-panel.js +189 -110
- package/lib/selector.js +167 -699
- package/lib/theme-chalk/flow-list.css +1 -1
- package/lib/theme-chalk/flow.css +1 -1
- package/lib/theme-chalk/fonts/iconfont.ttf +0 -0
- package/lib/theme-chalk/fonts/iconfont.woff +0 -0
- package/lib/theme-chalk/form.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/selector-panel.css +1 -1
- package/lib/theme-chalk/selector.css +1 -1
- package/lib/theme-chalk/tree.css +1 -1
- package/package.json +2 -2
- package/packages/flow/src/component/taskUnionExamine.vue +821 -771
- package/packages/flow/src/flow.vue +4549 -4526
- package/packages/flow/src/main.vue +4416 -4411
- package/packages/flow/src/selectUser.vue +2 -0
- package/packages/flow/src/startTaskRead.vue +718 -718
- package/packages/flow-group/src/main.vue +756 -756
- package/packages/flow-list/src/main.vue +72 -14
- package/packages/selector/src/main.vue +615 -761
- package/packages/selector-panel/src/main.vue +1071 -1036
- package/packages/selector-panel/src/tree.vue +24 -18
- package/packages/theme-chalk/lib/archives.css +1 -0
- package/packages/theme-chalk/lib/base.css +1 -0
- package/packages/theme-chalk/lib/button-group.css +1 -0
- package/packages/theme-chalk/lib/button.css +1 -0
- package/packages/theme-chalk/lib/calendar.css +1 -0
- package/packages/theme-chalk/lib/calogin.css +0 -0
- package/packages/theme-chalk/lib/card.css +1 -0
- package/packages/theme-chalk/lib/cascader.css +0 -0
- package/packages/theme-chalk/lib/checkbox-group.css +1 -0
- package/packages/theme-chalk/lib/clients.css +1 -0
- package/packages/theme-chalk/lib/data-table-form.css +1 -0
- package/packages/theme-chalk/lib/data-table.css +1 -0
- package/packages/theme-chalk/lib/date-picker.css +1 -0
- package/packages/theme-chalk/lib/dialog.css +1 -0
- package/packages/theme-chalk/lib/enable-drag.css +1 -0
- package/packages/theme-chalk/lib/enterprise.css +1 -0
- package/packages/theme-chalk/lib/error-page.css +1 -0
- package/packages/theme-chalk/lib/flow-chart.css +0 -0
- package/packages/theme-chalk/lib/flow-group.css +1 -0
- package/packages/theme-chalk/lib/flow-list.css +1 -0
- package/packages/theme-chalk/lib/flow.css +1 -0
- package/packages/theme-chalk/lib/fonts/iconfont.ttf +0 -0
- package/packages/theme-chalk/lib/fonts/iconfont.woff +0 -0
- package/packages/theme-chalk/lib/form.css +1 -0
- package/packages/theme-chalk/lib/handle-user.css +1 -0
- package/packages/theme-chalk/lib/handler.css +1 -0
- package/packages/theme-chalk/lib/icon.css +1 -0
- package/packages/theme-chalk/lib/icons.css +1 -0
- package/packages/theme-chalk/lib/index.css +1 -0
- package/packages/theme-chalk/lib/input-number.css +0 -0
- package/packages/theme-chalk/lib/input.css +1 -0
- package/packages/theme-chalk/lib/label.css +1 -0
- package/packages/theme-chalk/lib/layout.css +1 -0
- package/packages/theme-chalk/lib/login.css +1 -0
- package/packages/theme-chalk/lib/main.css +1 -0
- package/packages/theme-chalk/lib/menu.css +1 -0
- package/packages/theme-chalk/lib/nav.css +1 -0
- package/packages/theme-chalk/lib/notify.css +0 -0
- package/packages/theme-chalk/lib/page.css +1 -0
- package/packages/theme-chalk/lib/pagination.css +1 -0
- package/packages/theme-chalk/lib/player.css +1 -0
- package/packages/theme-chalk/lib/qr-code.css +1 -0
- package/packages/theme-chalk/lib/radio-group.css +1 -0
- package/packages/theme-chalk/lib/retrial-auth.css +1 -0
- package/packages/theme-chalk/lib/select-ganged.css +1 -0
- package/packages/theme-chalk/lib/select.css +1 -0
- package/packages/theme-chalk/lib/selector-panel.css +1 -0
- package/packages/theme-chalk/lib/selector.css +1 -0
- package/packages/theme-chalk/lib/simplicity-top.css +1 -0
- package/packages/theme-chalk/lib/simplicity.css +1 -0
- package/packages/theme-chalk/lib/sizer.css +1 -0
- package/packages/theme-chalk/lib/steps.css +1 -0
- package/packages/theme-chalk/lib/switch.css +1 -0
- package/packages/theme-chalk/lib/table-form.css +0 -0
- package/packages/theme-chalk/lib/tabs-panel.css +0 -0
- package/packages/theme-chalk/lib/tabs.css +1 -0
- package/packages/theme-chalk/lib/tips.css +1 -0
- package/packages/theme-chalk/lib/toolbar.css +1 -0
- package/packages/theme-chalk/lib/tree-group.css +1 -0
- package/packages/theme-chalk/lib/tree.css +1 -0
- package/packages/theme-chalk/lib/upload.css +1 -0
- package/packages/theme-chalk/lib/wujie.css +0 -0
- package/packages/theme-chalk/lib/wxlogin.css +1 -0
- package/packages/theme-chalk/src/flow-list.scss +61 -55
- package/packages/theme-chalk/src/flow.scss +16 -2
- package/packages/theme-chalk/src/fonts/iconfont.ttf +0 -0
- package/packages/theme-chalk/src/fonts/iconfont.woff +0 -0
- package/packages/theme-chalk/src/form.scss +5 -1
- package/packages/theme-chalk/src/selector-panel.scss +36 -6
- package/packages/theme-chalk/src/selector.scss +66 -115
- package/packages/theme-chalk/src/tree.scss +1 -1
- package/src/index.js +1 -1
- package/packages/theme-chalk/gulpfile.js +0 -25
package/lib/flow.js
CHANGED
|
@@ -4878,7 +4878,7 @@ module.exports = require("vuedraggable");
|
|
|
4878
4878
|
// ESM COMPAT FLAG
|
|
4879
4879
|
__webpack_require__.r(__webpack_exports__);
|
|
4880
4880
|
|
|
4881
|
-
// 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=
|
|
4881
|
+
// 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=7e2b9e7d&
|
|
4882
4882
|
var render = function () {
|
|
4883
4883
|
var _vm = this
|
|
4884
4884
|
var _h = _vm.$createElement
|
|
@@ -4936,6 +4936,8 @@ var render = function () {
|
|
|
4936
4936
|
on: {
|
|
4937
4937
|
buttonClick: _vm.handleButtonClick,
|
|
4938
4938
|
success: _vm.handleNewFlowSuccess,
|
|
4939
|
+
save: _vm.handleNewFlowSave,
|
|
4940
|
+
shrink: _vm.setShrink,
|
|
4939
4941
|
},
|
|
4940
4942
|
},
|
|
4941
4943
|
"FlowNew",
|
|
@@ -4992,7 +4994,11 @@ var render = function () {
|
|
|
4992
4994
|
? "es-icon-shouqi"
|
|
4993
4995
|
: "es-icon-zhankai",
|
|
4994
4996
|
},
|
|
4995
|
-
on: {
|
|
4997
|
+
on: {
|
|
4998
|
+
click: function ($event) {
|
|
4999
|
+
_vm.setShrink(!_vm.shrink)
|
|
5000
|
+
},
|
|
5001
|
+
},
|
|
4996
5002
|
})
|
|
4997
5003
|
: _vm._e(),
|
|
4998
5004
|
],
|
|
@@ -5323,7 +5329,11 @@ var render = function () {
|
|
|
5323
5329
|
? "es-icon-shouqi"
|
|
5324
5330
|
: "es-icon-zhankai",
|
|
5325
5331
|
},
|
|
5326
|
-
on: {
|
|
5332
|
+
on: {
|
|
5333
|
+
click: function ($event) {
|
|
5334
|
+
_vm.setShrink(!_vm.shrink)
|
|
5335
|
+
},
|
|
5336
|
+
},
|
|
5327
5337
|
})
|
|
5328
5338
|
: _vm._e(),
|
|
5329
5339
|
],
|
|
@@ -8038,7 +8048,7 @@ var staticRenderFns = []
|
|
|
8038
8048
|
render._withStripped = true
|
|
8039
8049
|
|
|
8040
8050
|
|
|
8041
|
-
// CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=
|
|
8051
|
+
// CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=7e2b9e7d&
|
|
8042
8052
|
|
|
8043
8053
|
// EXTERNAL MODULE: external "babel-runtime/regenerator"
|
|
8044
8054
|
var regenerator_ = __webpack_require__(4);
|
|
@@ -9102,8 +9112,8 @@ var CommonOpinions_component = Object(componentNormalizer["a" /* default */])(
|
|
|
9102
9112
|
)
|
|
9103
9113
|
|
|
9104
9114
|
/* harmony default export */ var CommonOpinions = (CommonOpinions_component.exports);
|
|
9105
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/flow.vue?vue&type=template&id=
|
|
9106
|
-
var
|
|
9115
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/flow.vue?vue&type=template&id=d84c2cd8&
|
|
9116
|
+
var flowvue_type_template_id_d84c2cd8_render = function () {
|
|
9107
9117
|
var _vm = this
|
|
9108
9118
|
var _h = _vm.$createElement
|
|
9109
9119
|
var _c = _vm._self._c || _h
|
|
@@ -9130,7 +9140,10 @@ var flowvue_type_template_id_f7d7c7c6_render = function () {
|
|
|
9130
9140
|
_c("div", { staticClass: "es-flow-top" }, [
|
|
9131
9141
|
_c(
|
|
9132
9142
|
"div",
|
|
9133
|
-
{
|
|
9143
|
+
{
|
|
9144
|
+
class:
|
|
9145
|
+
"es-flow-title " + (_vm.shrink ? "border_none" : ""),
|
|
9146
|
+
},
|
|
9134
9147
|
[
|
|
9135
9148
|
_c(
|
|
9136
9149
|
"span",
|
|
@@ -9262,6 +9275,7 @@ var flowvue_type_template_id_f7d7c7c6_render = function () {
|
|
|
9262
9275
|
? _c(
|
|
9263
9276
|
"el-select",
|
|
9264
9277
|
{
|
|
9278
|
+
staticClass: "es-flow-select",
|
|
9265
9279
|
staticStyle: {
|
|
9266
9280
|
width: "100% !important",
|
|
9267
9281
|
},
|
|
@@ -9459,7 +9473,11 @@ var flowvue_type_template_id_f7d7c7c6_render = function () {
|
|
|
9459
9473
|
[
|
|
9460
9474
|
_c(
|
|
9461
9475
|
"div",
|
|
9462
|
-
{
|
|
9476
|
+
{
|
|
9477
|
+
class:
|
|
9478
|
+
"es-flow-title " +
|
|
9479
|
+
(_vm.shrink ? "border_none" : ""),
|
|
9480
|
+
},
|
|
9463
9481
|
[
|
|
9464
9482
|
_c(
|
|
9465
9483
|
"span",
|
|
@@ -9803,6 +9821,7 @@ var flowvue_type_template_id_f7d7c7c6_render = function () {
|
|
|
9803
9821
|
"el-select",
|
|
9804
9822
|
{
|
|
9805
9823
|
key: _vm.optionsKey,
|
|
9824
|
+
staticClass: "es-flow-select",
|
|
9806
9825
|
staticStyle: {
|
|
9807
9826
|
width: "calc(100% + 40px)",
|
|
9808
9827
|
},
|
|
@@ -10221,6 +10240,8 @@ var flowvue_type_template_id_f7d7c7c6_render = function () {
|
|
|
10221
10240
|
? _c(
|
|
10222
10241
|
"el-select",
|
|
10223
10242
|
{
|
|
10243
|
+
staticClass:
|
|
10244
|
+
"es-flow-select",
|
|
10224
10245
|
attrs: {
|
|
10225
10246
|
placeholder:
|
|
10226
10247
|
"请选择下步操作",
|
|
@@ -10343,6 +10364,8 @@ var flowvue_type_template_id_f7d7c7c6_render = function () {
|
|
|
10343
10364
|
? _c(
|
|
10344
10365
|
"el-select",
|
|
10345
10366
|
{
|
|
10367
|
+
staticClass:
|
|
10368
|
+
"es-flow-select",
|
|
10346
10369
|
attrs: {
|
|
10347
10370
|
placeholder:
|
|
10348
10371
|
"请选择下步节点",
|
|
@@ -10388,6 +10411,8 @@ var flowvue_type_template_id_f7d7c7c6_render = function () {
|
|
|
10388
10411
|
"el-option",
|
|
10389
10412
|
{
|
|
10390
10413
|
key: items.id,
|
|
10414
|
+
staticClass:
|
|
10415
|
+
"es-flow-select",
|
|
10391
10416
|
attrs: {
|
|
10392
10417
|
label:
|
|
10393
10418
|
items.nodeName,
|
|
@@ -10653,6 +10678,8 @@ var flowvue_type_template_id_f7d7c7c6_render = function () {
|
|
|
10653
10678
|
_c(
|
|
10654
10679
|
"el-select",
|
|
10655
10680
|
{
|
|
10681
|
+
staticClass:
|
|
10682
|
+
"es-flow-select",
|
|
10656
10683
|
attrs: {
|
|
10657
10684
|
placeholder:
|
|
10658
10685
|
"请选择主办",
|
|
@@ -10997,7 +11024,7 @@ var flowvue_type_template_id_f7d7c7c6_render = function () {
|
|
|
10997
11024
|
],
|
|
10998
11025
|
1
|
|
10999
11026
|
),
|
|
11000
|
-
_vm.isCustomPreset
|
|
11027
|
+
_vm.isCustomPreset && _vm.nextNode.nextOperate != 9
|
|
11001
11028
|
? _c("CustomPreset", {
|
|
11002
11029
|
ref: "customPreset",
|
|
11003
11030
|
attrs: {
|
|
@@ -11312,79 +11339,89 @@ var flowvue_type_template_id_f7d7c7c6_render = function () {
|
|
|
11312
11339
|
1
|
|
11313
11340
|
)
|
|
11314
11341
|
: _vm._e(),
|
|
11315
|
-
|
|
11316
|
-
|
|
11317
|
-
|
|
11318
|
-
|
|
11319
|
-
|
|
11320
|
-
|
|
11321
|
-
|
|
11322
|
-
|
|
11323
|
-
|
|
11324
|
-
|
|
11325
|
-
|
|
11326
|
-
|
|
11327
|
-
|
|
11328
|
-
|
|
11329
|
-
|
|
11330
|
-
|
|
11331
|
-
|
|
11332
|
-
|
|
11333
|
-
|
|
11334
|
-
|
|
11335
|
-
|
|
11336
|
-
|
|
11337
|
-
|
|
11338
|
-
|
|
11339
|
-
|
|
11340
|
-
|
|
11341
|
-
|
|
11342
|
-
|
|
11343
|
-
|
|
11344
|
-
"
|
|
11345
|
-
|
|
11346
|
-
|
|
11347
|
-
|
|
11348
|
-
|
|
11349
|
-
|
|
11350
|
-
|
|
11351
|
-
|
|
11352
|
-
|
|
11353
|
-
|
|
11354
|
-
|
|
11355
|
-
|
|
11356
|
-
|
|
11357
|
-
|
|
11358
|
-
|
|
11359
|
-
|
|
11360
|
-
|
|
11361
|
-
|
|
11362
|
-
|
|
11363
|
-
|
|
11364
|
-
|
|
11365
|
-
|
|
11366
|
-
|
|
11367
|
-
|
|
11368
|
-
|
|
11369
|
-
|
|
11370
|
-
|
|
11371
|
-
|
|
11372
|
-
|
|
11373
|
-
|
|
11374
|
-
|
|
11375
|
-
|
|
11376
|
-
|
|
11377
|
-
|
|
11378
|
-
|
|
11379
|
-
|
|
11380
|
-
|
|
11381
|
-
|
|
11382
|
-
|
|
11383
|
-
|
|
11384
|
-
|
|
11385
|
-
|
|
11386
|
-
|
|
11387
|
-
|
|
11342
|
+
_c(
|
|
11343
|
+
"div",
|
|
11344
|
+
{ staticClass: "es-info" },
|
|
11345
|
+
[
|
|
11346
|
+
_vm.btnType === "reject"
|
|
11347
|
+
? _c("ProcessReject", {
|
|
11348
|
+
ref: "reject",
|
|
11349
|
+
staticClass: "es-info",
|
|
11350
|
+
attrs: {
|
|
11351
|
+
"pending-id": _vm.pendingId,
|
|
11352
|
+
option: _vm.value,
|
|
11353
|
+
hideBtn: "",
|
|
11354
|
+
showTooltip: _vm.showTooltip,
|
|
11355
|
+
simpleTips: _vm.simpleTips,
|
|
11356
|
+
flowLabelConfig: _vm.flowLabelConfig,
|
|
11357
|
+
isCancelSecondConfirmationType:
|
|
11358
|
+
_vm.isCancelSecondConfirmationType,
|
|
11359
|
+
hideMessage: _vm.hideMessage,
|
|
11360
|
+
"show-reject": _vm.showReject,
|
|
11361
|
+
"news-info": _vm.nextNode.notificationMsg,
|
|
11362
|
+
},
|
|
11363
|
+
on: {
|
|
11364
|
+
cancel: function ($event) {
|
|
11365
|
+
_vm.closeProcess($event, "showReject")
|
|
11366
|
+
},
|
|
11367
|
+
},
|
|
11368
|
+
})
|
|
11369
|
+
: _vm.btnType === "toStartTaskRead" ||
|
|
11370
|
+
_vm.btnType === "toTaskReadAndEnd" ||
|
|
11371
|
+
_vm.btnType === "toTransfer"
|
|
11372
|
+
? _c("StartTaskRead", {
|
|
11373
|
+
ref: _vm.btnType,
|
|
11374
|
+
staticClass: "es-info",
|
|
11375
|
+
attrs: {
|
|
11376
|
+
"pending-id": _vm.pendingId,
|
|
11377
|
+
hideBtn: "",
|
|
11378
|
+
opinion: _vm.value,
|
|
11379
|
+
type: _vm.taskReadType,
|
|
11380
|
+
resetAppId: _vm.resetAppId,
|
|
11381
|
+
showTooltip: _vm.showTooltip,
|
|
11382
|
+
flowLabelConfig: _vm.flowLabelConfig,
|
|
11383
|
+
hideMessage: _vm.hideMessage,
|
|
11384
|
+
selectorConfig: _vm.selectorConfig,
|
|
11385
|
+
simpleTips: _vm.simpleTips,
|
|
11386
|
+
subParams: _vm.subParams,
|
|
11387
|
+
taskExamine: _vm.taskExamineInfo,
|
|
11388
|
+
"news-info": _vm.nextNode.notificationMsg,
|
|
11389
|
+
},
|
|
11390
|
+
on: {
|
|
11391
|
+
cancel: function ($event) {
|
|
11392
|
+
_vm.closeProcess($event, "showTaskRead")
|
|
11393
|
+
},
|
|
11394
|
+
},
|
|
11395
|
+
})
|
|
11396
|
+
: _vm.btnType === "toTakeAdvice" ||
|
|
11397
|
+
_vm.btnType === "toUnionExamine" ||
|
|
11398
|
+
_vm.btnType === "toStartDraf"
|
|
11399
|
+
? _c("TaskUnionExamine", {
|
|
11400
|
+
ref: _vm.btnType,
|
|
11401
|
+
staticClass: "es-info",
|
|
11402
|
+
attrs: {
|
|
11403
|
+
hideBtn: "",
|
|
11404
|
+
simpleTips: _vm.simpleTips,
|
|
11405
|
+
pendingId: _vm.pendingId,
|
|
11406
|
+
defaultOpinion: _vm.nodeDefaultSubmitOpinion,
|
|
11407
|
+
oldOption: _vm.value,
|
|
11408
|
+
isCancelSecondConfirmationType:
|
|
11409
|
+
_vm.isCancelSecondConfirmationType,
|
|
11410
|
+
selectorParams: _vm.selectorParams,
|
|
11411
|
+
type: _vm.flowType,
|
|
11412
|
+
multiple: _vm.flowMultiple,
|
|
11413
|
+
disabled: _vm.flowDisabled,
|
|
11414
|
+
},
|
|
11415
|
+
on: {
|
|
11416
|
+
cancel: function ($event) {
|
|
11417
|
+
_vm.closeProcess($event, "showTaskUnionExamine")
|
|
11418
|
+
},
|
|
11419
|
+
},
|
|
11420
|
+
})
|
|
11421
|
+
: _vm._e(),
|
|
11422
|
+
],
|
|
11423
|
+
1
|
|
11424
|
+
),
|
|
11388
11425
|
_vm.newTypeCode != "fenyue" && !_vm.shrink
|
|
11389
11426
|
? _c(
|
|
11390
11427
|
"div",
|
|
@@ -12017,11 +12054,11 @@ var flowvue_type_template_id_f7d7c7c6_render = function () {
|
|
|
12017
12054
|
)
|
|
12018
12055
|
: _vm._e()
|
|
12019
12056
|
}
|
|
12020
|
-
var
|
|
12021
|
-
|
|
12057
|
+
var flowvue_type_template_id_d84c2cd8_staticRenderFns = []
|
|
12058
|
+
flowvue_type_template_id_d84c2cd8_render._withStripped = true
|
|
12022
12059
|
|
|
12023
12060
|
|
|
12024
|
-
// CONCATENATED MODULE: ./packages/flow/src/flow.vue?vue&type=template&id=
|
|
12061
|
+
// CONCATENATED MODULE: ./packages/flow/src/flow.vue?vue&type=template&id=d84c2cd8&
|
|
12025
12062
|
|
|
12026
12063
|
// 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/Opinions.vue?vue&type=template&id=5f07a050&
|
|
12027
12064
|
var Opinionsvue_type_template_id_5f07a050_render = function () {
|
|
@@ -13694,8 +13731,8 @@ processFormvue_type_template_id_2860b038_render._withStripped = true
|
|
|
13694
13731
|
|
|
13695
13732
|
// CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=2860b038&
|
|
13696
13733
|
|
|
13697
|
-
// 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=
|
|
13698
|
-
var
|
|
13734
|
+
// 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=08827ac3&
|
|
13735
|
+
var selectUservue_type_template_id_08827ac3_render = function () {
|
|
13699
13736
|
var _vm = this
|
|
13700
13737
|
var _h = _vm.$createElement
|
|
13701
13738
|
var _c = _vm._self._c || _h
|
|
@@ -13816,6 +13853,7 @@ var selectUservue_type_template_id_3a5614a4_render = function () {
|
|
|
13816
13853
|
title: _vm.title,
|
|
13817
13854
|
showFilterListDep: false,
|
|
13818
13855
|
reset: "",
|
|
13856
|
+
destroyOnClose: "",
|
|
13819
13857
|
classify: _vm.classify,
|
|
13820
13858
|
"collapse-tags": _vm.selectorTags,
|
|
13821
13859
|
mix: _vm.mix,
|
|
@@ -13857,11 +13895,11 @@ var selectUservue_type_template_id_3a5614a4_render = function () {
|
|
|
13857
13895
|
1
|
|
13858
13896
|
)
|
|
13859
13897
|
}
|
|
13860
|
-
var
|
|
13861
|
-
|
|
13898
|
+
var selectUservue_type_template_id_08827ac3_staticRenderFns = []
|
|
13899
|
+
selectUservue_type_template_id_08827ac3_render._withStripped = true
|
|
13862
13900
|
|
|
13863
13901
|
|
|
13864
|
-
// CONCATENATED MODULE: ./packages/flow/src/selectUser.vue?vue&type=template&id=
|
|
13902
|
+
// CONCATENATED MODULE: ./packages/flow/src/selectUser.vue?vue&type=template&id=08827ac3&
|
|
13865
13903
|
|
|
13866
13904
|
// 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&
|
|
13867
13905
|
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; };
|
|
@@ -13969,6 +14007,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
13969
14007
|
//
|
|
13970
14008
|
//
|
|
13971
14009
|
//
|
|
14010
|
+
//
|
|
13972
14011
|
|
|
13973
14012
|
|
|
13974
14013
|
|
|
@@ -14274,6 +14313,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
14274
14313
|
getSelectUser: function getSelectUser(val) {
|
|
14275
14314
|
var _this4 = this;
|
|
14276
14315
|
|
|
14316
|
+
console.log(val, 'val');
|
|
14277
14317
|
this.newOptions = [];
|
|
14278
14318
|
var data = {};
|
|
14279
14319
|
if (this.mix) data = this.getMixList();
|
|
@@ -14392,8 +14432,8 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
14392
14432
|
|
|
14393
14433
|
var selectUser_component = Object(componentNormalizer["a" /* default */])(
|
|
14394
14434
|
src_selectUservue_type_script_lang_js_,
|
|
14395
|
-
|
|
14396
|
-
|
|
14435
|
+
selectUservue_type_template_id_08827ac3_render,
|
|
14436
|
+
selectUservue_type_template_id_08827ac3_staticRenderFns,
|
|
14397
14437
|
false,
|
|
14398
14438
|
null,
|
|
14399
14439
|
null,
|
|
@@ -21174,8 +21214,8 @@ var reset_component = Object(componentNormalizer["a" /* default */])(
|
|
|
21174
21214
|
)
|
|
21175
21215
|
|
|
21176
21216
|
/* harmony default export */ var src_reset = (reset_component.exports);
|
|
21177
|
-
// 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/taskUnionExamine.vue?vue&type=template&id=
|
|
21178
|
-
var
|
|
21217
|
+
// 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/taskUnionExamine.vue?vue&type=template&id=0724a5af&
|
|
21218
|
+
var taskUnionExaminevue_type_template_id_0724a5af_render = function () {
|
|
21179
21219
|
var _vm = this
|
|
21180
21220
|
var _h = _vm.$createElement
|
|
21181
21221
|
var _c = _vm._self._c || _h
|
|
@@ -21480,7 +21520,7 @@ var taskUnionExaminevue_type_template_id_f2f9c652_render = function () {
|
|
|
21480
21520
|
[
|
|
21481
21521
|
_c(
|
|
21482
21522
|
"el-button",
|
|
21483
|
-
{ attrs: { type: "primary" }, on: { click: _vm.
|
|
21523
|
+
{ attrs: { type: "primary" }, on: { click: _vm.subProcess } },
|
|
21484
21524
|
[_vm._v(" 确定 ")]
|
|
21485
21525
|
),
|
|
21486
21526
|
_c("el-button", { on: { click: _vm.quit } }, [_vm._v(" 取消 ")]),
|
|
@@ -21491,11 +21531,11 @@ var taskUnionExaminevue_type_template_id_f2f9c652_render = function () {
|
|
|
21491
21531
|
1
|
|
21492
21532
|
)
|
|
21493
21533
|
}
|
|
21494
|
-
var
|
|
21495
|
-
|
|
21534
|
+
var taskUnionExaminevue_type_template_id_0724a5af_staticRenderFns = []
|
|
21535
|
+
taskUnionExaminevue_type_template_id_0724a5af_render._withStripped = true
|
|
21496
21536
|
|
|
21497
21537
|
|
|
21498
|
-
// CONCATENATED MODULE: ./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=
|
|
21538
|
+
// CONCATENATED MODULE: ./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=0724a5af&
|
|
21499
21539
|
|
|
21500
21540
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/taskUnionExamine.vue?vue&type=script&lang=js&
|
|
21501
21541
|
var taskUnionExaminevue_type_script_lang_js_components;
|
|
@@ -21693,6 +21733,7 @@ var taskUnionExaminevue_type_script_lang_js_components;
|
|
|
21693
21733
|
simpleTips: { type: Boolean, default: true },
|
|
21694
21734
|
multiple: { type: Boolean, default: true },
|
|
21695
21735
|
hideBtn: { type: Boolean, default: false },
|
|
21736
|
+
isCancelSecondConfirmationType: { type: Boolean, default: false },
|
|
21696
21737
|
selectorParams: {
|
|
21697
21738
|
type: Object,
|
|
21698
21739
|
default: function _default() {
|
|
@@ -21761,6 +21802,16 @@ var taskUnionExaminevue_type_script_lang_js_components;
|
|
|
21761
21802
|
};
|
|
21762
21803
|
}
|
|
21763
21804
|
},
|
|
21805
|
+
watch: {
|
|
21806
|
+
oldOption: {
|
|
21807
|
+
handler: function handler(val) {
|
|
21808
|
+
this.opinion = val;
|
|
21809
|
+
},
|
|
21810
|
+
|
|
21811
|
+
immediate: true,
|
|
21812
|
+
deep: true
|
|
21813
|
+
}
|
|
21814
|
+
},
|
|
21764
21815
|
mounted: function mounted() {
|
|
21765
21816
|
this.loading = true;
|
|
21766
21817
|
this.newMultiple = this.multiple;
|
|
@@ -22002,10 +22053,42 @@ var taskUnionExaminevue_type_script_lang_js_components;
|
|
|
22002
22053
|
});
|
|
22003
22054
|
},
|
|
22004
22055
|
subProcess: function subProcess() {
|
|
22005
|
-
this
|
|
22056
|
+
var _this4 = this;
|
|
22057
|
+
|
|
22058
|
+
if (this.type === 'taskReview') return this.subTaskReview();
|
|
22059
|
+
var _infoList2 = this.infoList,
|
|
22060
|
+
nextCurrentOrgObj = _infoList2.nextCurrentOrgObj,
|
|
22061
|
+
nextOtherOrgObj = _infoList2.nextOtherOrgObj,
|
|
22062
|
+
isOpinionRequired = this.isOpinionRequired,
|
|
22063
|
+
opinion = this.opinion,
|
|
22064
|
+
type = this.type,
|
|
22065
|
+
isHideOtherOrg = this.isHideOtherOrg,
|
|
22066
|
+
isHideCurrentOrg = this.isHideCurrentOrg;
|
|
22067
|
+
|
|
22068
|
+
if (type == 'takeAdvice' && !nextCurrentOrgObj && isHideCurrentOrg == 0 && nextCurrentOrgObj.length == 0 && isHideOtherOrg == 0 && (!nextOtherOrgObj || nextOtherOrgObj.length == 0)) {
|
|
22069
|
+
return this.$message.warning('请选择处理对象!');
|
|
22070
|
+
} else if (isHideCurrentOrg == 0 && (!nextOtherOrgObj || nextOtherOrgObj.length == 0) && (!nextCurrentOrgObj || nextCurrentOrgObj.length == 0)) {
|
|
22071
|
+
return this.$message.warning('请选择处理对象!');
|
|
22072
|
+
}
|
|
22073
|
+
|
|
22074
|
+
if (isOpinionRequired == 1 && (opinion == '' || opinion == null)) {
|
|
22075
|
+
return this.$message.warning('当前步骤必须输入意见!');
|
|
22076
|
+
}
|
|
22077
|
+
if (this.isCancelSecondConfirmationType) {
|
|
22078
|
+
this.$confirm('确认提交吗?', '提示', {
|
|
22079
|
+
confirmButtonText: '确定',
|
|
22080
|
+
cancelButtonText: '取消',
|
|
22081
|
+
type: 'warning'
|
|
22082
|
+
}).then(function () {
|
|
22083
|
+
_this4.subMit();
|
|
22084
|
+
}).catch(function () {});
|
|
22085
|
+
} else {
|
|
22086
|
+
this.subMit();
|
|
22087
|
+
}
|
|
22088
|
+
;
|
|
22006
22089
|
},
|
|
22007
22090
|
subMit: function subMit() {
|
|
22008
|
-
var
|
|
22091
|
+
var _this5 = this;
|
|
22009
22092
|
|
|
22010
22093
|
// if (
|
|
22011
22094
|
// this.infoList.nextOtherOrgObjName == '' ||
|
|
@@ -22013,12 +22096,12 @@ var taskUnionExaminevue_type_script_lang_js_components;
|
|
|
22013
22096
|
// )
|
|
22014
22097
|
// return this.$message.warning('请选择联合单位');
|
|
22015
22098
|
if (this.type === 'taskReview') return this.subTaskReview();
|
|
22016
|
-
var
|
|
22017
|
-
nextCurrentOrgObj =
|
|
22018
|
-
nextOtherOrgObj =
|
|
22019
|
-
noticeType =
|
|
22020
|
-
customLimitTime =
|
|
22021
|
-
noticeInfo =
|
|
22099
|
+
var _infoList3 = this.infoList,
|
|
22100
|
+
nextCurrentOrgObj = _infoList3.nextCurrentOrgObj,
|
|
22101
|
+
nextOtherOrgObj = _infoList3.nextOtherOrgObj,
|
|
22102
|
+
noticeType = _infoList3.noticeType,
|
|
22103
|
+
customLimitTime = _infoList3.customLimitTime,
|
|
22104
|
+
noticeInfo = _infoList3.noticeInfo,
|
|
22022
22105
|
isOpinionRequired = this.isOpinionRequired,
|
|
22023
22106
|
opinion = this.opinion,
|
|
22024
22107
|
type = this.type,
|
|
@@ -22029,8 +22112,6 @@ var taskUnionExaminevue_type_script_lang_js_components;
|
|
|
22029
22112
|
isSubFlow = this.isSubFlow,
|
|
22030
22113
|
pendingId = this.pendingId;
|
|
22031
22114
|
|
|
22032
|
-
console.log(nextCurrentOrgObj);
|
|
22033
|
-
console.log(nextOtherOrgObj);
|
|
22034
22115
|
if (type == 'takeAdvice' && !nextCurrentOrgObj && isHideCurrentOrg == 0 && nextCurrentOrgObj.length == 0 && isHideOtherOrg == 0 && (!nextOtherOrgObj || nextOtherOrgObj.length == 0)) {
|
|
22035
22116
|
return this.$message.warning('请选择处理对象!');
|
|
22036
22117
|
} else if (isHideCurrentOrg == 0 && (!nextOtherOrgObj || nextOtherOrgObj.length == 0) && (!nextCurrentOrgObj || nextCurrentOrgObj.length == 0)) {
|
|
@@ -22063,7 +22144,6 @@ var taskUnionExaminevue_type_script_lang_js_components;
|
|
|
22063
22144
|
};
|
|
22064
22145
|
if (this.enableCustomLimitTimeSetting) {
|
|
22065
22146
|
param.data.customLimitTime = customLimitTime;
|
|
22066
|
-
console.log(this.validate(), 'this.validate()');
|
|
22067
22147
|
if (!this.validate()) return;
|
|
22068
22148
|
}
|
|
22069
22149
|
this.loading = true;
|
|
@@ -22071,17 +22151,17 @@ var taskUnionExaminevue_type_script_lang_js_components;
|
|
|
22071
22151
|
var message = res.message,
|
|
22072
22152
|
status = res.status;
|
|
22073
22153
|
|
|
22074
|
-
|
|
22154
|
+
_this5.loading = false;
|
|
22075
22155
|
if (status == 'success') {
|
|
22076
|
-
|
|
22077
|
-
|
|
22156
|
+
_this5.simpleTips && _this5.$message.success('提交成功');
|
|
22157
|
+
_this5.quit(true);
|
|
22078
22158
|
} else {
|
|
22079
|
-
|
|
22159
|
+
_this5.$message.error(message || '系统错误,请联系管理员!');
|
|
22080
22160
|
}
|
|
22081
22161
|
}).catch(function (err) {
|
|
22082
|
-
|
|
22162
|
+
_this5.loading = false;
|
|
22083
22163
|
if (err.message && err.message !== 'canceled') {
|
|
22084
|
-
|
|
22164
|
+
_this5.$message.error(err.message);
|
|
22085
22165
|
}
|
|
22086
22166
|
});
|
|
22087
22167
|
},
|
|
@@ -22114,7 +22194,7 @@ var taskUnionExaminevue_type_script_lang_js_components;
|
|
|
22114
22194
|
this.infoList[type] = newNextUser.join('|');
|
|
22115
22195
|
},
|
|
22116
22196
|
getNodeType: function getNodeType() {
|
|
22117
|
-
var
|
|
22197
|
+
var _this6 = this;
|
|
22118
22198
|
|
|
22119
22199
|
util["a" /* default */].ajax({
|
|
22120
22200
|
url: api["G" /* findCodeValues */],
|
|
@@ -22127,39 +22207,39 @@ var taskUnionExaminevue_type_script_lang_js_components;
|
|
|
22127
22207
|
var status = res.status,
|
|
22128
22208
|
data = res.data;
|
|
22129
22209
|
|
|
22130
|
-
|
|
22210
|
+
_this6.loading = false;
|
|
22131
22211
|
if (status === 'success') {
|
|
22132
|
-
|
|
22212
|
+
_this6.infoList.noticeList = data;
|
|
22133
22213
|
}
|
|
22134
22214
|
}).catch(function (err) {
|
|
22135
|
-
|
|
22215
|
+
_this6.loading = false;
|
|
22136
22216
|
if (err.message && err.message !== 'canceled') {
|
|
22137
|
-
|
|
22217
|
+
_this6.$message.error(err.message);
|
|
22138
22218
|
}
|
|
22139
22219
|
});
|
|
22140
22220
|
},
|
|
22141
22221
|
|
|
22142
22222
|
//获取通知信息
|
|
22143
22223
|
getMessage: function getMessage() {
|
|
22144
|
-
var
|
|
22224
|
+
var _this7 = this;
|
|
22145
22225
|
|
|
22146
22226
|
var params = {
|
|
22147
22227
|
pendingId: this.pendingId
|
|
22148
22228
|
};
|
|
22149
22229
|
util["a" /* default */].ajax({ url: api["cb" /* getNotificationMsg */], params: params, methods: 'post' }).then(function (res) {
|
|
22150
22230
|
if (res.status === 'success') {
|
|
22151
|
-
|
|
22231
|
+
_this7.infoList.noticeInfo = res.message;
|
|
22152
22232
|
}
|
|
22153
|
-
|
|
22233
|
+
_this7.loading = false;
|
|
22154
22234
|
}).catch(function (err) {
|
|
22155
|
-
|
|
22235
|
+
_this7.loading = false;
|
|
22156
22236
|
if (err.message && err.message !== 'canceled') {
|
|
22157
|
-
|
|
22237
|
+
_this7.$message.error(err.message);
|
|
22158
22238
|
}
|
|
22159
22239
|
});
|
|
22160
22240
|
},
|
|
22161
22241
|
getFind: function getFind() {
|
|
22162
|
-
var
|
|
22242
|
+
var _this8 = this;
|
|
22163
22243
|
|
|
22164
22244
|
util["a" /* default */].ajax({
|
|
22165
22245
|
url: api["I" /* findSysCodes */]
|
|
@@ -22168,24 +22248,24 @@ var taskUnionExaminevue_type_script_lang_js_components;
|
|
|
22168
22248
|
message = res.message;
|
|
22169
22249
|
|
|
22170
22250
|
if (status === 'success') {
|
|
22171
|
-
if (
|
|
22172
|
-
|
|
22251
|
+
if (_this8.hideMessage) return;
|
|
22252
|
+
_this8.infoList.noticeType = message.split(',');
|
|
22173
22253
|
var arr = [];
|
|
22174
|
-
|
|
22175
|
-
|
|
22254
|
+
_this8.infoList.noticeList.map(function (item) {
|
|
22255
|
+
_this8.infoList.noticeType.map(function (x) {
|
|
22176
22256
|
if (x == item.cciValue) {
|
|
22177
22257
|
arr.push(x);
|
|
22178
22258
|
}
|
|
22179
22259
|
});
|
|
22180
22260
|
});
|
|
22181
|
-
|
|
22261
|
+
_this8.infoList.noticeType = arr;
|
|
22182
22262
|
} else {
|
|
22183
|
-
|
|
22263
|
+
_this8.$message.error(message || '系统错误,请联系管理员!');
|
|
22184
22264
|
}
|
|
22185
22265
|
}).catch(function (err) {
|
|
22186
|
-
|
|
22266
|
+
_this8.loading = false;
|
|
22187
22267
|
if (err.message && err.message !== 'canceled') {
|
|
22188
|
-
|
|
22268
|
+
_this8.$message.error(err.message);
|
|
22189
22269
|
}
|
|
22190
22270
|
});
|
|
22191
22271
|
}
|
|
@@ -22203,8 +22283,8 @@ var taskUnionExaminevue_type_script_lang_js_components;
|
|
|
22203
22283
|
|
|
22204
22284
|
var taskUnionExamine_component = Object(componentNormalizer["a" /* default */])(
|
|
22205
22285
|
component_taskUnionExaminevue_type_script_lang_js_,
|
|
22206
|
-
|
|
22207
|
-
|
|
22286
|
+
taskUnionExaminevue_type_template_id_0724a5af_render,
|
|
22287
|
+
taskUnionExaminevue_type_template_id_0724a5af_staticRenderFns,
|
|
22208
22288
|
false,
|
|
22209
22289
|
null,
|
|
22210
22290
|
null,
|
|
@@ -30044,6 +30124,16 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
30044
30124
|
//
|
|
30045
30125
|
//
|
|
30046
30126
|
//
|
|
30127
|
+
//
|
|
30128
|
+
//
|
|
30129
|
+
//
|
|
30130
|
+
//
|
|
30131
|
+
//
|
|
30132
|
+
//
|
|
30133
|
+
//
|
|
30134
|
+
//
|
|
30135
|
+
//
|
|
30136
|
+
//
|
|
30047
30137
|
|
|
30048
30138
|
|
|
30049
30139
|
|
|
@@ -30274,6 +30364,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
30274
30364
|
nextNodeList: [],
|
|
30275
30365
|
removeUsers: [],
|
|
30276
30366
|
options: [],
|
|
30367
|
+
configInfo: {},
|
|
30277
30368
|
params: {
|
|
30278
30369
|
filid: 'all', //选择范围(my:本单位/ "" or all:全部)
|
|
30279
30370
|
selectmix: 'true1',
|
|
@@ -30799,7 +30890,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
30799
30890
|
},
|
|
30800
30891
|
setShrink: function setShrink() {
|
|
30801
30892
|
this.shrink = !this.shrink;
|
|
30802
|
-
this.styles = this.shrink ? { width:
|
|
30893
|
+
this.styles = this.shrink ? { width: '80px' } : { width: this.width ? parseInt(this.width, 10) + 'px' : '' };
|
|
30803
30894
|
this.$emit('shrink', this.shrink);
|
|
30804
30895
|
},
|
|
30805
30896
|
customLoading: function customLoading(type) {
|
|
@@ -30996,23 +31087,24 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
30996
31087
|
});
|
|
30997
31088
|
},
|
|
30998
31089
|
|
|
30999
|
-
/**
|
|
31000
|
-
* saveInfo
|
|
31001
|
-
* @desc:暂存
|
|
31002
|
-
* @author liufan
|
|
31003
|
-
* @date 2022年9月9日
|
|
31090
|
+
/**
|
|
31091
|
+
* saveInfo
|
|
31092
|
+
* @desc:暂存
|
|
31093
|
+
* @author liufan
|
|
31094
|
+
* @date 2022年9月9日
|
|
31004
31095
|
**/
|
|
31005
31096
|
saveInfo: function saveInfo(type, btn) {
|
|
31006
31097
|
var _this14 = this;
|
|
31007
31098
|
|
|
31008
31099
|
if (this.isFlow) {
|
|
31009
31100
|
if (!type) {
|
|
31101
|
+
console.log(btn);
|
|
31010
31102
|
if (btn && btn.before) {
|
|
31011
31103
|
btn.before(Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 1).then(function (next) {
|
|
31012
31104
|
_this14.$emit('save', _this14.businessIds);
|
|
31013
31105
|
}).catch(function (e) {});
|
|
31014
31106
|
} else if (this.beforeSubmit != undefined) {
|
|
31015
|
-
this.beforeSubmit(btn && Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 1).then(function (next) {
|
|
31107
|
+
this.beforeSubmit(btn && Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 1, btn.event).then(function (next) {
|
|
31016
31108
|
_this14.$emit('save', _this14.businessIds);
|
|
31017
31109
|
}).catch(function (e) {});
|
|
31018
31110
|
} else {
|
|
@@ -31062,11 +31154,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
31062
31154
|
});
|
|
31063
31155
|
},
|
|
31064
31156
|
|
|
31065
|
-
/**
|
|
31066
|
-
* rejectBtn
|
|
31067
|
-
* @desc:点击驳回
|
|
31068
|
-
* @author liufan
|
|
31069
|
-
* @date 2022年5月25日
|
|
31157
|
+
/**
|
|
31158
|
+
* rejectBtn
|
|
31159
|
+
* @desc:点击驳回
|
|
31160
|
+
* @author liufan
|
|
31161
|
+
* @date 2022年5月25日
|
|
31070
31162
|
**/
|
|
31071
31163
|
rejectBtn: function rejectBtn(res) {
|
|
31072
31164
|
var _this16 = this;
|
|
@@ -31086,16 +31178,17 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
31086
31178
|
}
|
|
31087
31179
|
},
|
|
31088
31180
|
|
|
31089
|
-
/**
|
|
31090
|
-
* taskReadBtn
|
|
31091
|
-
* @desc:点击分阅
|
|
31092
|
-
* @author liufan
|
|
31093
|
-
* @date 2022年5月25日
|
|
31181
|
+
/**
|
|
31182
|
+
* taskReadBtn
|
|
31183
|
+
* @desc:点击分阅
|
|
31184
|
+
* @author liufan
|
|
31185
|
+
* @date 2022年5月25日
|
|
31094
31186
|
**/
|
|
31095
31187
|
taskReadBtn: function taskReadBtn(res) {
|
|
31096
31188
|
var _this17 = this;
|
|
31097
31189
|
|
|
31098
31190
|
// return this.$message.warning('暂未开放!敬请期待');
|
|
31191
|
+
|
|
31099
31192
|
this.btnType = '';
|
|
31100
31193
|
setTimeout(function () {
|
|
31101
31194
|
if (_this17.beforeSubmit != undefined) {
|
|
@@ -31114,11 +31207,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
31114
31207
|
}, 0);
|
|
31115
31208
|
},
|
|
31116
31209
|
|
|
31117
|
-
/**
|
|
31118
|
-
* getFind
|
|
31119
|
-
* @desc:获取通知方式
|
|
31120
|
-
* @author liufan
|
|
31121
|
-
* @date 2022年5月25日
|
|
31210
|
+
/**
|
|
31211
|
+
* getFind
|
|
31212
|
+
* @desc:获取通知方式
|
|
31213
|
+
* @author liufan
|
|
31214
|
+
* @date 2022年5月25日
|
|
31122
31215
|
**/
|
|
31123
31216
|
getFind: function getFind() {
|
|
31124
31217
|
var _this18 = this;
|
|
@@ -31185,12 +31278,12 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
31185
31278
|
});
|
|
31186
31279
|
},
|
|
31187
31280
|
|
|
31188
|
-
/**
|
|
31189
|
-
* endFlows
|
|
31190
|
-
* @desc:直接办结
|
|
31191
|
-
* @author liufan
|
|
31192
|
-
* @param {Object} res 直接办结数据
|
|
31193
|
-
* @date 2022年5月25日
|
|
31281
|
+
/**
|
|
31282
|
+
* endFlows
|
|
31283
|
+
* @desc:直接办结
|
|
31284
|
+
* @author liufan
|
|
31285
|
+
* @param {Object} res 直接办结数据
|
|
31286
|
+
* @date 2022年5月25日
|
|
31194
31287
|
**/
|
|
31195
31288
|
endFlows: function endFlows(res) {
|
|
31196
31289
|
var _this20 = this;
|
|
@@ -31204,9 +31297,9 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
31204
31297
|
}
|
|
31205
31298
|
},
|
|
31206
31299
|
|
|
31207
|
-
/**
|
|
31208
|
-
* 获取弹性布局样式
|
|
31209
|
-
* @returns {string} 弹性布局值
|
|
31300
|
+
/**
|
|
31301
|
+
* 获取弹性布局样式
|
|
31302
|
+
* @returns {string} 弹性布局值
|
|
31210
31303
|
*/
|
|
31211
31304
|
getFlexStyle: function getFlexStyle() {
|
|
31212
31305
|
var isDefaultFlex = (!this.endFlow || this.nodeInfos.length > 1 || this.taskOperationShiftedNodeList) && this.newTypeCode != 'fenyue' && !this.shrink && this.btnType === 'default' || this.btnType != 'default';
|
|
@@ -31254,12 +31347,12 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
31254
31347
|
}).catch(function (e) {});
|
|
31255
31348
|
},
|
|
31256
31349
|
|
|
31257
|
-
/**
|
|
31258
|
-
* goView
|
|
31259
|
-
* @desc:更多流程按钮操作
|
|
31260
|
-
* @author liufan
|
|
31261
|
-
* @param {Object} res 当前点击操作按钮数据
|
|
31262
|
-
* @date 2022年5月25日
|
|
31350
|
+
/**
|
|
31351
|
+
* goView
|
|
31352
|
+
* @desc:更多流程按钮操作
|
|
31353
|
+
* @author liufan
|
|
31354
|
+
* @param {Object} res 当前点击操作按钮数据
|
|
31355
|
+
* @date 2022年5月25日
|
|
31263
31356
|
**/
|
|
31264
31357
|
goView: function goView(res) {
|
|
31265
31358
|
// 驳回并办结:rejectAndEndHtml
|
|
@@ -31350,11 +31443,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
31350
31443
|
// isCanStartSubFlow
|
|
31351
31444
|
},
|
|
31352
31445
|
|
|
31353
|
-
/**
|
|
31354
|
-
* toTakeAdvice
|
|
31355
|
-
* @desc:征求意见
|
|
31356
|
-
* @author liufan
|
|
31357
|
-
* @date 2022年9月29日
|
|
31446
|
+
/**
|
|
31447
|
+
* toTakeAdvice
|
|
31448
|
+
* @desc:征求意见
|
|
31449
|
+
* @author liufan
|
|
31450
|
+
* @date 2022年9月29日
|
|
31358
31451
|
**/
|
|
31359
31452
|
toTakeAdvice: function toTakeAdvice(res) {
|
|
31360
31453
|
var _this22 = this;
|
|
@@ -31402,12 +31495,12 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
31402
31495
|
});
|
|
31403
31496
|
},
|
|
31404
31497
|
|
|
31405
|
-
/**
|
|
31406
|
-
* toStartDraf
|
|
31407
|
-
* @desc: 稿件递送、联合审核、复核
|
|
31408
|
-
* @author liufan
|
|
31409
|
-
* @date 2022年9月29日
|
|
31410
|
-
**/
|
|
31498
|
+
/**
|
|
31499
|
+
* toStartDraf
|
|
31500
|
+
* @desc: 稿件递送、联合审核、复核
|
|
31501
|
+
* @author liufan
|
|
31502
|
+
* @date 2022年9月29日
|
|
31503
|
+
**/
|
|
31411
31504
|
toStartDraf: function toStartDraf(res) {
|
|
31412
31505
|
var _this24 = this;
|
|
31413
31506
|
|
|
@@ -31429,11 +31522,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
31429
31522
|
}
|
|
31430
31523
|
},
|
|
31431
31524
|
|
|
31432
|
-
/**
|
|
31433
|
-
* toSendMsg
|
|
31434
|
-
* @desc:核稿通知
|
|
31435
|
-
* @author liufan
|
|
31436
|
-
* @date 2022年9月29日
|
|
31525
|
+
/**
|
|
31526
|
+
* toSendMsg
|
|
31527
|
+
* @desc:核稿通知
|
|
31528
|
+
* @author liufan
|
|
31529
|
+
* @date 2022年9月29日
|
|
31437
31530
|
**/
|
|
31438
31531
|
toSendMsg: function toSendMsg(res) {
|
|
31439
31532
|
var _this25 = this;
|
|
@@ -31446,57 +31539,66 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
31446
31539
|
this.showSendMsg = true;
|
|
31447
31540
|
}
|
|
31448
31541
|
},
|
|
31542
|
+
isLoadRead: function isLoadRead() {
|
|
31543
|
+
var _this26 = this;
|
|
31449
31544
|
|
|
31450
|
-
|
|
31451
|
-
|
|
31452
|
-
|
|
31453
|
-
|
|
31454
|
-
|
|
31545
|
+
var funs = this.typeList.map(function (item) {
|
|
31546
|
+
return _this26.btnFunValue(item.fun);
|
|
31547
|
+
});
|
|
31548
|
+
return funs.includes('toStartTaskRead') && funs.includes('toTaskReadAndEnd');
|
|
31549
|
+
},
|
|
31550
|
+
|
|
31551
|
+
|
|
31552
|
+
/**
|
|
31553
|
+
* toTaskReadAndEnd
|
|
31554
|
+
* @desc:分阅并办结
|
|
31555
|
+
* @author liufan
|
|
31556
|
+
* @date 2022年9月29日
|
|
31455
31557
|
**/
|
|
31456
31558
|
toTaskReadAndEnd: function toTaskReadAndEnd(res) {
|
|
31457
|
-
var
|
|
31559
|
+
var _this27 = this;
|
|
31458
31560
|
|
|
31459
31561
|
this.btnType = '';
|
|
31460
31562
|
setTimeout(function () {
|
|
31461
|
-
if (
|
|
31462
|
-
|
|
31463
|
-
if (
|
|
31464
|
-
|
|
31465
|
-
|
|
31563
|
+
if (_this27.beforeSubmit != undefined) {
|
|
31564
|
+
_this27.beforeSubmit().then(function (next) {
|
|
31565
|
+
if (_this27.value === '') _this27.value = _this27.nodeDefaultRejectOpinion;
|
|
31566
|
+
_this27.taskReadType = 'taskReadAndEnd';
|
|
31567
|
+
_this27.btnType = _this27.btnFunValue(res.fun);
|
|
31466
31568
|
|
|
31467
31569
|
// this.showTaskRead = true;
|
|
31468
31570
|
}).catch(function (e) {});
|
|
31469
31571
|
} else {
|
|
31470
|
-
if (
|
|
31471
|
-
|
|
31472
|
-
|
|
31572
|
+
if (_this27.value === '') _this27.value = _this27.nodeDefaultRejectOpinion;
|
|
31573
|
+
_this27.taskReadType = 'taskReadAndEnd';
|
|
31574
|
+
_this27.btnType = _this27.btnFunValue(res.fun);
|
|
31473
31575
|
// this.showTaskRead = true;
|
|
31474
31576
|
}
|
|
31475
31577
|
}, 0);
|
|
31476
31578
|
},
|
|
31477
31579
|
|
|
31478
|
-
/**
|
|
31479
|
-
* rejectAndEnd
|
|
31480
|
-
* @desc:驳回并办结
|
|
31481
|
-
* @author liufan
|
|
31482
|
-
* @date 2022年9月29日
|
|
31580
|
+
/**
|
|
31581
|
+
* rejectAndEnd
|
|
31582
|
+
* @desc:驳回并办结
|
|
31583
|
+
* @author liufan
|
|
31584
|
+
* @date 2022年9月29日
|
|
31483
31585
|
**/
|
|
31484
31586
|
rejectAndEnd: function rejectAndEnd(res) {
|
|
31485
|
-
var
|
|
31587
|
+
var _this28 = this;
|
|
31486
31588
|
|
|
31487
31589
|
if (this.isOpinionRequired == 1 && (this.value == '' || !this.value)) {
|
|
31488
31590
|
if (!this.$refs.commonOpinions.validate()) return;
|
|
31489
31591
|
}
|
|
31490
31592
|
if (this.beforeSubmit != undefined) {
|
|
31491
31593
|
this.beforeSubmit().then(function (next) {
|
|
31492
|
-
|
|
31594
|
+
_this28.saveRejectAndEnd(res);
|
|
31493
31595
|
}).catch(function (e) {});
|
|
31494
31596
|
} else {
|
|
31495
31597
|
this.saveRejectAndEnd(res);
|
|
31496
31598
|
}
|
|
31497
31599
|
},
|
|
31498
31600
|
saveRejectAndEnd: function saveRejectAndEnd(res) {
|
|
31499
|
-
var
|
|
31601
|
+
var _this29 = this;
|
|
31500
31602
|
|
|
31501
31603
|
this.$confirm('确认' + res.value + '?').then(function () {
|
|
31502
31604
|
// return this.$message.warning('请填写意见');
|
|
@@ -31505,29 +31607,29 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
31505
31607
|
headers: { Accept: 'application/json,text/plain' },
|
|
31506
31608
|
method: 'post',
|
|
31507
31609
|
data: {
|
|
31508
|
-
opinion:
|
|
31509
|
-
pendingId:
|
|
31610
|
+
opinion: _this29.value,
|
|
31611
|
+
pendingId: _this29.pendingId,
|
|
31510
31612
|
isSinglePage: false
|
|
31511
31613
|
}
|
|
31512
31614
|
};
|
|
31513
|
-
|
|
31615
|
+
_this29.loading = util["a" /* default */].loading(_this29.$loading, '加载中...');
|
|
31514
31616
|
util["a" /* default */].ajax(params).then(function (res) {
|
|
31515
31617
|
var status = res.status,
|
|
31516
31618
|
message = res.message;
|
|
31517
31619
|
|
|
31518
|
-
|
|
31620
|
+
_this29.loading.close();
|
|
31519
31621
|
if (status === 'success') {
|
|
31520
|
-
|
|
31622
|
+
_this29.flowSuccess();
|
|
31521
31623
|
// this.$message.success('提交成功');
|
|
31522
31624
|
// this.$emit('success');
|
|
31523
31625
|
} else {
|
|
31524
|
-
|
|
31525
|
-
|
|
31626
|
+
_this29.$message.error(message || '系统错误,请联系管理员!');
|
|
31627
|
+
_this29.$emit('error');
|
|
31526
31628
|
}
|
|
31527
31629
|
}).catch(function (err) {
|
|
31528
|
-
|
|
31630
|
+
_this29.loading.close();
|
|
31529
31631
|
if (err.message && err.message !== 'canceled') {
|
|
31530
|
-
|
|
31632
|
+
_this29.$message.error(err.message);
|
|
31531
31633
|
}
|
|
31532
31634
|
});
|
|
31533
31635
|
}).catch(function () {
|
|
@@ -31535,37 +31637,42 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
31535
31637
|
});
|
|
31536
31638
|
},
|
|
31537
31639
|
|
|
31538
|
-
/**
|
|
31539
|
-
* toTransfer
|
|
31540
|
-
* @desc:转办
|
|
31541
|
-
* @author liufan
|
|
31542
|
-
* @date 2022年9月29日
|
|
31640
|
+
/**
|
|
31641
|
+
* toTransfer
|
|
31642
|
+
* @desc:转办
|
|
31643
|
+
* @author liufan
|
|
31644
|
+
* @date 2022年9月29日
|
|
31543
31645
|
**/
|
|
31544
31646
|
toTransfer: function toTransfer(res) {
|
|
31545
|
-
var
|
|
31647
|
+
var _this30 = this;
|
|
31546
31648
|
|
|
31547
|
-
|
|
31548
|
-
|
|
31549
|
-
|
|
31550
|
-
|
|
31551
|
-
|
|
31552
|
-
|
|
31553
|
-
|
|
31554
|
-
|
|
31555
|
-
|
|
31649
|
+
this.btnType = '';
|
|
31650
|
+
setTimeout(function () {
|
|
31651
|
+
if (_this30.beforeSubmit != undefined) {
|
|
31652
|
+
_this30.beforeSubmit(0).then(function (next) {
|
|
31653
|
+
_this30.taskReadType = 'transfer';
|
|
31654
|
+
// this.showTaskRead = true;
|
|
31655
|
+
_this30.btnType = _this30.btnFunValue(res.fun);
|
|
31656
|
+
}).catch(function (e) {});
|
|
31657
|
+
} else {
|
|
31658
|
+
_this30.taskReadType = 'transfer';
|
|
31659
|
+
_this30.btnType = _this30.btnFunValue(res.fun);
|
|
31660
|
+
// this.showTaskRead = true;
|
|
31661
|
+
}
|
|
31662
|
+
}, 0);
|
|
31556
31663
|
},
|
|
31557
31664
|
handleChangeTime: function handleChangeTime(val) {
|
|
31558
31665
|
this.nextNode.customLimitTime = val;
|
|
31559
31666
|
},
|
|
31560
31667
|
|
|
31561
|
-
/**
|
|
31562
|
-
* getNodeInfo
|
|
31563
|
-
* @desc:获取节点信息
|
|
31564
|
-
* @author liufan
|
|
31565
|
-
* @date 2022年5月25日
|
|
31668
|
+
/**
|
|
31669
|
+
* getNodeInfo
|
|
31670
|
+
* @desc:获取节点信息
|
|
31671
|
+
* @author liufan
|
|
31672
|
+
* @date 2022年5月25日
|
|
31566
31673
|
**/
|
|
31567
31674
|
getNodeInfo: function getNodeInfo() {
|
|
31568
|
-
var
|
|
31675
|
+
var _this31 = this;
|
|
31569
31676
|
|
|
31570
31677
|
var params = {
|
|
31571
31678
|
processDefinitionId: this.nodeInfo.nextNode,
|
|
@@ -31580,21 +31687,21 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
31580
31687
|
message = res.message,
|
|
31581
31688
|
data = res.data;
|
|
31582
31689
|
|
|
31583
|
-
|
|
31690
|
+
_this31.loading.close();
|
|
31584
31691
|
if (status === 'success') {
|
|
31585
|
-
|
|
31586
|
-
|
|
31587
|
-
|
|
31588
|
-
if (
|
|
31589
|
-
|
|
31692
|
+
_this31.isCurrentNodeForbiddenChangeCandidate = data.nodeExtAttr.isCurrentNodeForbiddenChangeCandidate;
|
|
31693
|
+
_this31.currentNodeEnableItemHandleDescription = data.nodeExtAttr.currentNodeEnableItemHandleDescription == 1;
|
|
31694
|
+
_this31.enableCustomLimitTimeSetting = data.nodeExtAttr.enableCustomLimitTimeSetting == 1;
|
|
31695
|
+
if (_this31.enableCustomLimitTimeSetting && data.nodeMoreInfo.defaultCustomLimitDays) {
|
|
31696
|
+
_this31.nextNode.customLimitTime = _this31.nextNode.customLimitTimeText = data.nodeMoreInfo.defaultCustomLimitDays + '';
|
|
31590
31697
|
}
|
|
31591
|
-
if (
|
|
31592
|
-
|
|
31698
|
+
if (_this31.currentOrgSelectorParams.department && !_this31.currentOrgSelectorParams.department.roleid && _this31.selectorParams.roleid && data.nodeExtAttr.deptRoleCode) {
|
|
31699
|
+
_this31.currentOrgSelectorParams.department.roleid = data.nodeExtAttr.deptRoleCode;
|
|
31593
31700
|
}
|
|
31594
31701
|
if (data.nodeMoreInfo.currentOrgDefaultSelectObjectItems) {
|
|
31595
31702
|
if (data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.deptIds.length > 0) {
|
|
31596
31703
|
data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.deptIds.map(function (x, i) {
|
|
31597
|
-
|
|
31704
|
+
_this31.nextCurrentOrgselectUserList.push({
|
|
31598
31705
|
showname: data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.deptNames[i],
|
|
31599
31706
|
showid: x,
|
|
31600
31707
|
stype: 'department'
|
|
@@ -31603,7 +31710,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
31603
31710
|
}
|
|
31604
31711
|
if (data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.userIds.length > 0) {
|
|
31605
31712
|
data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.userIds.map(function (x, i) {
|
|
31606
|
-
|
|
31713
|
+
_this31.nextCurrentOrgselectUserList.push({
|
|
31607
31714
|
showname: data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.userNames[i],
|
|
31608
31715
|
showid: x,
|
|
31609
31716
|
stype: 'employee'
|
|
@@ -31612,7 +31719,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
31612
31719
|
}
|
|
31613
31720
|
if (data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.orgIds.length > 0) {
|
|
31614
31721
|
data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.orgIds.map(function (x, i) {
|
|
31615
|
-
|
|
31722
|
+
_this31.nextCurrentOrgselectUserList.push({
|
|
31616
31723
|
showname: data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.orgNames[i],
|
|
31617
31724
|
showid: x,
|
|
31618
31725
|
stype: 'enterprise'
|
|
@@ -31621,44 +31728,44 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
31621
31728
|
}
|
|
31622
31729
|
}
|
|
31623
31730
|
if (data.nodeMoreInfo.chooseCurrentOrgUserCandidateNeedForbiddenSubDept === true) {
|
|
31624
|
-
|
|
31731
|
+
_this31.params.only_filid = true;
|
|
31625
31732
|
}
|
|
31626
|
-
data.otherOrgDisabledObjId && (
|
|
31627
|
-
data.currentOrgDisabledObjId && (
|
|
31733
|
+
data.otherOrgDisabledObjId && (_this31.otherOrgDisabledObjId = data.otherOrgDisabledObjId.split(','));
|
|
31734
|
+
data.currentOrgDisabledObjId && (_this31.currentOrgDisabledObjId = data.currentOrgDisabledObjId.split(','));
|
|
31628
31735
|
if (data != null) {
|
|
31629
31736
|
if (data.nodeExtAttr.userSelectionType == 7 || data.nodeExtAttr.userSelectionType == 8 || data.nodeExtAttr.userSelectionType == 9 || data.nodeExtAttr.userSelectionType == 10 || data.nodeExtAttr.userSelectionType == 11 || data.nodeExtAttr.userSelectionType == 12) {
|
|
31630
|
-
|
|
31737
|
+
_this31.getIsShowNextUser(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
|
|
31631
31738
|
} else {
|
|
31632
|
-
|
|
31739
|
+
_this31.isMultiple(data.nodeExtAttr && data.nodeExtAttr.userSelectionType, _this31.choiceOrgId, _this31.choiceDeptId, _this31.pOrgId);
|
|
31633
31740
|
}
|
|
31634
|
-
|
|
31635
|
-
|
|
31636
|
-
|
|
31637
|
-
|
|
31638
|
-
|
|
31741
|
+
_this31.isReadMultiple(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
|
|
31742
|
+
_this31.isTaskread = data.nodeExtAttr.isTaskread;
|
|
31743
|
+
_this31.isHandleExplain = data.nodeExtAttr.isHandleExplain;
|
|
31744
|
+
_this31.isLimitedTimeHandling = data.nodeExtAttr.isLimitedTimeHandling;
|
|
31745
|
+
_this31.nodeType = data.nodeExtAttr.nodeType;
|
|
31639
31746
|
//如果当前为承办节点/会签节点,则展示本单位外单位办理人选择
|
|
31640
|
-
if (
|
|
31641
|
-
|
|
31642
|
-
|
|
31643
|
-
|
|
31644
|
-
|
|
31645
|
-
|
|
31747
|
+
if (_this31.nodeType === 1 || _this31.nodeType === 2) {
|
|
31748
|
+
_this31.isMainSubProcess === true ? _this31.isNodeShowProcess = true : _this31.isNodeShowProcess = false;
|
|
31749
|
+
_this31.isMainSubProcess === true ? _this31.isMainSubProcess = true : _this31.isMainSubProcess = false;
|
|
31750
|
+
_this31.isNextUser = false;
|
|
31751
|
+
_this31.isHideCurrentOrg = res.data.nodeExtAttr.isHideCurrentOrg == 1 ? false : true; //判断是否隐藏本单位
|
|
31752
|
+
_this31.isHideOtherOrg = res.data.nodeExtAttr.isHideOtherOrg == 1 ? false : true; //判断是否隐藏外单位
|
|
31646
31753
|
} else {
|
|
31647
|
-
|
|
31648
|
-
|
|
31649
|
-
|
|
31650
|
-
|
|
31651
|
-
|
|
31754
|
+
_this31.isHideCurrentOrg = false;
|
|
31755
|
+
_this31.isHideOtherOrg = false;
|
|
31756
|
+
_this31.isNodeShowProcess = false;
|
|
31757
|
+
_this31.isMainSubProcess = false;
|
|
31758
|
+
_this31.isNextUser = _this31.nextNode.nextOperate != 9;
|
|
31652
31759
|
// this.isMainSubProcess === true
|
|
31653
31760
|
// ? (this.isMainSubProcess = true)
|
|
31654
31761
|
// : (this.isMainSubProcess = false);
|
|
31655
31762
|
}
|
|
31656
|
-
|
|
31657
|
-
if (
|
|
31763
|
+
_this31.multiple ? _this31.nextNode.nextUserId = [] : _this31.nextNode.nextUserId = '';
|
|
31764
|
+
if (_this31.multiple && data.nodeExtAttr.isDefSelectedObj == 1 && data.nextUserList !== undefined) {
|
|
31658
31765
|
data.nextUserList.map(function (item) {
|
|
31659
31766
|
if (item.userId && item.username) {
|
|
31660
|
-
|
|
31661
|
-
|
|
31767
|
+
_this31.nextNode.nextUserId.push(item.userId);
|
|
31768
|
+
_this31.selectUserList.push({
|
|
31662
31769
|
showname: item.username,
|
|
31663
31770
|
showid: item.userId
|
|
31664
31771
|
});
|
|
@@ -31667,57 +31774,57 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
31667
31774
|
}
|
|
31668
31775
|
data.nextUserList.map(function (item) {
|
|
31669
31776
|
if (item.userId && item.username) {
|
|
31670
|
-
|
|
31777
|
+
_this31.options.push({
|
|
31671
31778
|
showname: item.username,
|
|
31672
31779
|
showid: item.userId
|
|
31673
31780
|
});
|
|
31674
31781
|
}
|
|
31675
31782
|
});
|
|
31676
31783
|
if (data.nodeExtAttr.presetEdit != 0) {
|
|
31677
|
-
|
|
31784
|
+
_this31.radioList = _this31.options;
|
|
31678
31785
|
}
|
|
31679
|
-
if (!
|
|
31680
|
-
|
|
31681
|
-
|
|
31786
|
+
if (!_this31.multiple && data.nextUserList.length > 0 && data.nodeExtAttr.isDefSelectedObj == 1) {
|
|
31787
|
+
_this31.nextNode.nextUserId = data.nextUserList[0].userId;
|
|
31788
|
+
_this31.selectUserList.push({
|
|
31682
31789
|
showname: data.nextUserList[0].username,
|
|
31683
31790
|
showid: data.nextUserList[0].userId
|
|
31684
31791
|
});
|
|
31685
31792
|
}
|
|
31686
|
-
|
|
31687
|
-
|
|
31688
|
-
|
|
31689
|
-
|
|
31690
|
-
|
|
31793
|
+
_this31.isLimitedTimeHandling = data.nodeExtAttr.isLimitedTimeHandling;
|
|
31794
|
+
_this31.isCustomUser = data.nodeExtAttr.isCustomUser;
|
|
31795
|
+
_this31.presetEdit = data.nodeExtAttr.presetEdit;
|
|
31796
|
+
_this31.countersignaturetypeCode = data.countersignaturetypeCode; //是否展示处理方式
|
|
31797
|
+
_this31.handleMode = data.countersignaturetypeText;
|
|
31691
31798
|
if (data.globalNodeType === 'endEvent') {
|
|
31692
|
-
|
|
31693
|
-
data.globalNodeType === 'endEvent' ?
|
|
31799
|
+
_this31.isNextUser = data.globalNodeType != 'endEvent';
|
|
31800
|
+
data.globalNodeType === 'endEvent' ? _this31.endFlow = true : '';
|
|
31694
31801
|
}
|
|
31695
31802
|
}
|
|
31696
|
-
if (
|
|
31697
|
-
|
|
31698
|
-
|
|
31803
|
+
if (_this31.isCustomPreset) {
|
|
31804
|
+
_this31.$nextTick(function () {
|
|
31805
|
+
_this31.$refs.customPreset && _this31.$refs.customPreset.getPresetFlowInfo(_this31.nextNode.nextNodeId, _this31.nodeInfo.nextNode, true);
|
|
31699
31806
|
});
|
|
31700
31807
|
}
|
|
31701
31808
|
} else {
|
|
31702
|
-
|
|
31809
|
+
_this31.$message.error(message || '系统错误,请联系管理员!');
|
|
31703
31810
|
}
|
|
31704
31811
|
}).catch(function (err) {
|
|
31705
|
-
|
|
31812
|
+
_this31.loading.close();
|
|
31706
31813
|
if (err.message && err.message !== 'canceled') {
|
|
31707
|
-
|
|
31814
|
+
_this31.$message.error(err.message);
|
|
31708
31815
|
}
|
|
31709
31816
|
});
|
|
31710
31817
|
},
|
|
31711
31818
|
|
|
31712
|
-
/**
|
|
31713
|
-
* selecNext
|
|
31714
|
-
* @desc:下步节点变化时更新数据
|
|
31715
|
-
* @author liufan
|
|
31716
|
-
* @param {String} val 当前选中值
|
|
31717
|
-
* @date 2022年5月25日
|
|
31819
|
+
/**
|
|
31820
|
+
* selecNext
|
|
31821
|
+
* @desc:下步节点变化时更新数据
|
|
31822
|
+
* @author liufan
|
|
31823
|
+
* @param {String} val 当前选中值
|
|
31824
|
+
* @date 2022年5月25日
|
|
31718
31825
|
**/
|
|
31719
31826
|
selecNext: function selecNext(val, type, isDef) {
|
|
31720
|
-
var
|
|
31827
|
+
var _this32 = this;
|
|
31721
31828
|
|
|
31722
31829
|
var isNextNode = false;
|
|
31723
31830
|
if (type && val && this.operationList.length > 0) {
|
|
@@ -31767,13 +31874,13 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
31767
31874
|
this.operationList.forEach(function (item) {
|
|
31768
31875
|
if (item.key === val) {
|
|
31769
31876
|
if (!item.taskNodeList) {
|
|
31770
|
-
|
|
31877
|
+
_this32.nodeInfos = [];
|
|
31771
31878
|
} else {
|
|
31772
|
-
|
|
31879
|
+
_this32.nodeInfos = item.taskNodeList;
|
|
31773
31880
|
|
|
31774
|
-
if (
|
|
31775
|
-
|
|
31776
|
-
return
|
|
31881
|
+
if (_this32.taskOperationShiftedNodeList) {
|
|
31882
|
+
_this32.nodeInfos = item.taskNodeList.filter(function (x) {
|
|
31883
|
+
return _this32.taskOperationShiftedNodeList.indexOf(x.nodeId) == -1;
|
|
31777
31884
|
});
|
|
31778
31885
|
}
|
|
31779
31886
|
}
|
|
@@ -31782,7 +31889,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
31782
31889
|
});
|
|
31783
31890
|
if (this.defaultNextNode) {
|
|
31784
31891
|
var defaultNode = this.nodeInfos.filter(function (item) {
|
|
31785
|
-
return item.nodeId ==
|
|
31892
|
+
return item.nodeId == _this32.defaultNextNode;
|
|
31786
31893
|
});
|
|
31787
31894
|
if (this.nodeInfos.length > 0 && defaultNode.length == 0) {
|
|
31788
31895
|
this.nextNode.nextNodeId = this.nodeInfos[0].nodeId;
|
|
@@ -31854,11 +31961,11 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
31854
31961
|
}
|
|
31855
31962
|
},
|
|
31856
31963
|
|
|
31857
|
-
/**
|
|
31858
|
-
* isMultiple
|
|
31859
|
-
* @desc:是否多选
|
|
31860
|
-
* @author liufan
|
|
31861
|
-
* @date 2022年9月13日
|
|
31964
|
+
/**
|
|
31965
|
+
* isMultiple
|
|
31966
|
+
* @desc:是否多选
|
|
31967
|
+
* @author liufan
|
|
31968
|
+
* @date 2022年9月13日
|
|
31862
31969
|
**/
|
|
31863
31970
|
isMultiple: function isMultiple(val, choiceOrgId, choiceDeptId, pOrgId) {
|
|
31864
31971
|
if (val == 2 || val == 4 || val == 6 || val == 16) {
|
|
@@ -31893,14 +32000,14 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
31893
32000
|
return fun.replace('()', '');
|
|
31894
32001
|
},
|
|
31895
32002
|
|
|
31896
|
-
/**
|
|
31897
|
-
* getHedInfo
|
|
31898
|
-
* @desc:获取审核页面数据
|
|
31899
|
-
* @author liufan
|
|
31900
|
-
* @date 2022年5月25日
|
|
32003
|
+
/**
|
|
32004
|
+
* getHedInfo
|
|
32005
|
+
* @desc:获取审核页面数据
|
|
32006
|
+
* @author liufan
|
|
32007
|
+
* @date 2022年5月25日
|
|
31901
32008
|
**/
|
|
31902
32009
|
getHedInfo: function getHedInfo() {
|
|
31903
|
-
var
|
|
32010
|
+
var _this33 = this;
|
|
31904
32011
|
|
|
31905
32012
|
this.loading = util["a" /* default */].loading(this.$loading, '加载中...');
|
|
31906
32013
|
var params = {
|
|
@@ -31910,7 +32017,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
31910
32017
|
util["a" /* default */].ajax({ url: api["W" /* getHandleInfoHtml */], params: params }).then(function (res) {
|
|
31911
32018
|
//pc返回数据
|
|
31912
32019
|
|
|
31913
|
-
|
|
32020
|
+
_this33.loading.close();
|
|
31914
32021
|
|
|
31915
32022
|
if (res.status === 'success') {
|
|
31916
32023
|
var _res$data2 = res.data,
|
|
@@ -31952,17 +32059,18 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
31952
32059
|
isCanPreAddSign = _res$data2.isCanPreAddSign;
|
|
31953
32060
|
|
|
31954
32061
|
if (temporarySaveButtonName) {
|
|
31955
|
-
|
|
32062
|
+
_this33.saveButtonName = temporarySaveButtonName;
|
|
31956
32063
|
}
|
|
32064
|
+
_this33.configInfo = res.data;
|
|
31957
32065
|
if (simpleTips != undefined) {
|
|
31958
|
-
|
|
32066
|
+
_this33.simpleTips = simpleTips;
|
|
31959
32067
|
}
|
|
31960
|
-
|
|
31961
|
-
|
|
32068
|
+
_this33.$emit('startTaskRead', res);
|
|
32069
|
+
_this33.$emit('start-task-read', res);
|
|
31962
32070
|
if (taskOperationShiftedNodeList && taskOperationShiftedNodeList.length > 0) {
|
|
31963
|
-
|
|
32071
|
+
_this33.taskOperationShiftedNodeList = [];
|
|
31964
32072
|
taskOperationShiftedNodeList.map(function (x) {
|
|
31965
|
-
|
|
32073
|
+
_this33.taskOperationShiftedNodeList.push(x.nodeId);
|
|
31966
32074
|
taskOperations.push({
|
|
31967
32075
|
key: x.nodeId,
|
|
31968
32076
|
value: x.nodeName,
|
|
@@ -31971,159 +32079,159 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
31971
32079
|
});
|
|
31972
32080
|
});
|
|
31973
32081
|
}
|
|
31974
|
-
|
|
31975
|
-
|
|
32082
|
+
_this33.isHideTemporarySave = nodeInfoMap.nodeExtAttr.isHideTemporarySave == 1;
|
|
32083
|
+
_this33.pendingItemHandleDescription = pendingItemHandleDescription;
|
|
31976
32084
|
if (currentOrgSelectorParams.enableCurrentOrgConfig == 'true') {
|
|
31977
|
-
|
|
32085
|
+
_this33.currentOrgSelectorTabs = currentOrgSelectorParams.currentOrgType.split(',');
|
|
31978
32086
|
var currentOrgparams = currentOrgSelectorParams.currentOrgRange.split(',');
|
|
31979
|
-
|
|
31980
|
-
|
|
32087
|
+
_this33.currentOrgSelectorTabs.map(function (x, i) {
|
|
32088
|
+
_this33.currentOrgSelectorParams[x] = {
|
|
31981
32089
|
filid: currentOrgparams[i] == 'my' ? choiceOrgId : currentOrgparams[i],
|
|
31982
32090
|
only_filid: true,
|
|
31983
|
-
roleid:
|
|
32091
|
+
roleid: _this33.selectorParams.roleid
|
|
31984
32092
|
};
|
|
31985
32093
|
});
|
|
31986
32094
|
}
|
|
31987
32095
|
if (currentOrgSelectorParams.enableForeignOrgConfig == 'true') {
|
|
31988
|
-
|
|
32096
|
+
_this33.foreignOrgSelectorTabs = currentOrgSelectorParams.foreignOrgType.split(',');
|
|
31989
32097
|
var foreignOrgparams = currentOrgSelectorParams.foreignOrgRange.split(',');
|
|
31990
|
-
|
|
31991
|
-
|
|
32098
|
+
_this33.foreignOrgSelectorTabs.map(function (x, i) {
|
|
32099
|
+
_this33.foreignOrgSelectorParams[x] = {
|
|
31992
32100
|
filid: foreignOrgparams[i] == 'my' ? choiceOrgId : x == 'filgroup' ? '' : foreignOrgparams[i] == 'nofilidorg' || foreignOrgparams[i] == 'nofiliddept' ? 'all' : foreignOrgparams[i],
|
|
31993
32101
|
nofilid: foreignOrgparams[i] == 'nofilidorg' ? sessionStorage.getItem('orgId') : foreignOrgparams[i] == 'nofiliddept' ? sessionStorage.getItem('depId') : foreignOrgparams[i] == 'other' ? 1 : 0,
|
|
31994
|
-
roleid:
|
|
32102
|
+
roleid: _this33.circularReadParamsMap.circularReadOrgRoleCode || _this33.foreignOrgSelectorParams.roleid
|
|
31995
32103
|
};
|
|
31996
32104
|
});
|
|
31997
32105
|
}
|
|
31998
|
-
|
|
31999
|
-
if (
|
|
32000
|
-
|
|
32106
|
+
_this33.circularReadParamsMap = circularReadParamsMap || {};
|
|
32107
|
+
if (_this33.circularReadParamsMap.circularReadOrgRoleCode) {
|
|
32108
|
+
_this33.foreignOrgSelectorParams.roleid = _this33.circularReadParamsMap.circularReadOrgRoleCode;
|
|
32001
32109
|
}
|
|
32002
|
-
|
|
32003
|
-
|
|
32004
|
-
|
|
32005
|
-
|
|
32006
|
-
|
|
32007
|
-
|
|
32008
|
-
|
|
32009
|
-
|
|
32010
|
-
|
|
32011
|
-
|
|
32012
|
-
|
|
32013
|
-
|
|
32014
|
-
|
|
32015
|
-
|
|
32016
|
-
|
|
32017
|
-
|
|
32018
|
-
|
|
32019
|
-
|
|
32020
|
-
|
|
32021
|
-
|
|
32022
|
-
nextNodeCheckType && (
|
|
32023
|
-
|
|
32024
|
-
|
|
32110
|
+
_this33.currentOrgName = currentOrgName;
|
|
32111
|
+
_this33.nextOperateCheckType = nextOperateCheckType || 'select';
|
|
32112
|
+
_this33.currentNodeIsCircularReadNode = nodeInfoMap.nodeExtAttr.currentNodeIsCircularReadNode == 1;
|
|
32113
|
+
|
|
32114
|
+
_this33.submitButtonFunKey = nodeInfoMap.nodeExtAttr.submitButtonFunKey;
|
|
32115
|
+
_this33.taskNodeButtons = nodeInfoMap.nodeExtAttr.taskNodeButtons;
|
|
32116
|
+
_this33.readOnlyNotificationType = readOnlyNotificationType;
|
|
32117
|
+
|
|
32118
|
+
_this33.readOnlyNotificationType = readOnlyNotificationType;
|
|
32119
|
+
_this33.isSpecial = isSpecial;
|
|
32120
|
+
_this33.notificationMessageReadOnly = notificationMessageReadOnly == 'true';
|
|
32121
|
+
_this33.otherOrgName = otherOrgName;
|
|
32122
|
+
_this33.isCanPreAddSign = isCanPreAddSign;
|
|
32123
|
+
_this33.endFlowInfo.choiceOrgId = choiceOrgId;
|
|
32124
|
+
_this33.endFlowInfo.choiceDeptId = choiceDeptId;
|
|
32125
|
+
_this33.endFlowInfo.pendingId = _this33.pendingId;
|
|
32126
|
+
_this33.attachedCode = attachedCode;
|
|
32127
|
+
_this33.endFlowInfo.pOrgId = pOrgId;
|
|
32128
|
+
_this33.canPresetRead = canPresetRead;
|
|
32129
|
+
_this33.isCdjxjTaskHandle = isCdjxjTaskHandle;
|
|
32130
|
+
nextNodeCheckType && (_this33.nextNodeCheckType = nextNodeCheckType);
|
|
32131
|
+
_this33.operationList = taskOperations || [];
|
|
32132
|
+
_this33.customPresetHintMessage = customPresetHintMessage;
|
|
32025
32133
|
if (canPresetRead) {
|
|
32026
32134
|
var ids = nodeInfoMap.nodeExtAttr.presetReadCandinateIds.split(',');
|
|
32027
32135
|
var names = nodeInfoMap.nodeExtAttr.presetReadCandinateNames.split(',');
|
|
32028
32136
|
ids.map(function (item, index) {
|
|
32029
|
-
|
|
32137
|
+
_this33.presetReadUserId.push({
|
|
32030
32138
|
showid: item,
|
|
32031
32139
|
showname: names[index]
|
|
32032
32140
|
});
|
|
32033
|
-
|
|
32141
|
+
_this33.selectPresetUserList.push({
|
|
32034
32142
|
showid: item,
|
|
32035
32143
|
showname: names[index]
|
|
32036
32144
|
});
|
|
32037
|
-
|
|
32145
|
+
_this33.nextNode.presetReadUserId.push(item);
|
|
32038
32146
|
});
|
|
32039
32147
|
}
|
|
32040
|
-
if (!
|
|
32148
|
+
if (!_this33.isFlow) _this33.getFile(_this33.pendingId, attachedCode);
|
|
32041
32149
|
if (nextNodeList && nextNodeList.length != 0) {
|
|
32042
|
-
|
|
32150
|
+
_this33.nextNodeList = nextNodeList;
|
|
32043
32151
|
if (nextNodeList[0].nodeType === 'endEvent' && nextNodeList.length == 1) {
|
|
32044
|
-
|
|
32045
|
-
nextNodeList[0].nodeType === 'endEvent' ?
|
|
32152
|
+
_this33.isNextUser = nextNodeList[0].nodeType != 'endEvent';
|
|
32153
|
+
nextNodeList[0].nodeType === 'endEvent' ? _this33.endFlow = true : '';
|
|
32046
32154
|
}
|
|
32047
32155
|
}
|
|
32048
32156
|
|
|
32049
|
-
if (canRemoveSignUserList && canRemoveSignUserList.length != 0)
|
|
32157
|
+
if (canRemoveSignUserList && canRemoveSignUserList.length != 0) _this33.removeUsers = canRemoveSignUserList;
|
|
32050
32158
|
if (taskOperations && taskOperations.length != 0) {
|
|
32051
32159
|
var isSelected = false;
|
|
32052
32160
|
taskOperations.map(function (item) {
|
|
32053
|
-
if (item.key === 9)
|
|
32161
|
+
if (item.key === 9) _this33.isReject = true;
|
|
32054
32162
|
if (item.isSelected) {
|
|
32055
|
-
|
|
32056
|
-
|
|
32163
|
+
_this33.nodeInfos = [];
|
|
32164
|
+
_this33.nextNode.nextOperate = item.key;
|
|
32057
32165
|
if (item.taskNodeList != null) {
|
|
32058
|
-
|
|
32166
|
+
_this33.nodeInfos = item.taskNodeList;
|
|
32059
32167
|
}
|
|
32060
32168
|
isSelected = true;
|
|
32061
32169
|
}
|
|
32062
32170
|
});
|
|
32063
32171
|
if (taskOperations.length > 0 && !isSelected) {
|
|
32064
|
-
|
|
32065
|
-
|
|
32172
|
+
_this33.nodeInfos = [];
|
|
32173
|
+
_this33.nextNode.nextOperate = taskOperations[0].key;
|
|
32066
32174
|
if (taskOperations[0].taskNodeList != null) {
|
|
32067
|
-
|
|
32175
|
+
_this33.nodeInfos = taskOperations[0].taskNodeList;
|
|
32068
32176
|
}
|
|
32069
32177
|
}
|
|
32070
32178
|
}
|
|
32071
32179
|
if (nodeInfoMap && JSON.stringify(nodeInfoMap) != '{}') {
|
|
32072
|
-
|
|
32180
|
+
_this33.needRetrialAuth = !!nodeInfoMap.nodeExtAttr.isCurrentNodeSubmitNeedRetrialAuth;
|
|
32073
32181
|
if (nodeInfoMap.nodeExtAttr.nodeFixedOpinionSelectList) {
|
|
32074
32182
|
var notice = JSON.parse(nodeInfoMap.nodeExtAttr.nodeFixedOpinionSelectList);
|
|
32075
32183
|
notice.map(function (x) {
|
|
32076
|
-
|
|
32184
|
+
_this33.nodeFixedOpinionSelectList.push({ content: x });
|
|
32077
32185
|
});
|
|
32078
32186
|
}
|
|
32079
32187
|
|
|
32080
|
-
|
|
32081
|
-
|
|
32082
|
-
|
|
32083
|
-
|
|
32084
|
-
|
|
32085
|
-
|
|
32086
|
-
|
|
32188
|
+
_this33.value = opinion || '';
|
|
32189
|
+
_this33.nodeDefaultSubmitOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultSubmitOpinion;
|
|
32190
|
+
_this33.isSubmitButtonShowAgreeAndDisagree = nodeInfoMap.nodeExtAttr.isSubmitButtonShowAgreeAndDisagree;
|
|
32191
|
+
_this33.isBanInputOpinion = nodeInfoMap.nodeExtAttr.isBanInputOpinion;
|
|
32192
|
+
_this33.nodeDefaultRejectOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultRejectOpinion;
|
|
32193
|
+
_this33.isOpinionRequired = nodeInfoMap.nodeExtAttr.isOpinionRequired;
|
|
32194
|
+
_this33.isChooseNextNode = nodeInfoMap.nodeExtAttr.isChooseNextNode;
|
|
32087
32195
|
// this.isHideDefaultOperation =
|
|
32088
32196
|
// nodeInfoMap.nodeExtAttr.isHideDefaultOperation == 1;
|
|
32089
|
-
|
|
32197
|
+
_this33.defaultNextNode = nodeInfoMap.nodeExtAttr.defaultNextNode;
|
|
32090
32198
|
if (nodeInfoMap.nodeExtAttr.defaultNextNode) {
|
|
32091
|
-
var defaultNode =
|
|
32199
|
+
var defaultNode = _this33.nodeInfos.filter(function (item) {
|
|
32092
32200
|
return item.nodeId == nodeInfoMap.nodeExtAttr.defaultNextNode;
|
|
32093
32201
|
});
|
|
32094
|
-
if (
|
|
32095
|
-
|
|
32202
|
+
if (_this33.nodeInfos.length > 0 && defaultNode.length == 0) {
|
|
32203
|
+
_this33.nextNode.nextNodeId = _this33.nodeInfos[0].nodeId;
|
|
32096
32204
|
} else {
|
|
32097
|
-
|
|
32205
|
+
_this33.nextNode.nextNodeId = nodeInfoMap.nodeExtAttr.defaultNextNode;
|
|
32098
32206
|
}
|
|
32099
|
-
} else if (
|
|
32100
|
-
|
|
32207
|
+
} else if (_this33.nodeInfos.length > 0) {
|
|
32208
|
+
_this33.nextNode.nextNodeId = _this33.nodeInfos[0].nodeId;
|
|
32101
32209
|
}
|
|
32102
|
-
|
|
32210
|
+
_this33.isForceDisplayDefaultOptionForPrefix = nodeInfoMap.nodeExtAttr.isForceDisplayDefaultOptionForPrefix == 1;
|
|
32103
32211
|
if (nodeInfoMap.nodeExtAttr.submitText) {
|
|
32104
|
-
|
|
32212
|
+
_this33.btnList.map(function (x) {
|
|
32105
32213
|
if (x.event === 'sub') {
|
|
32106
32214
|
x.text = nodeInfoMap.nodeExtAttr.submitText;
|
|
32107
32215
|
}
|
|
32108
32216
|
});
|
|
32109
32217
|
}
|
|
32110
32218
|
}
|
|
32111
|
-
|
|
32112
|
-
|
|
32113
|
-
|
|
32219
|
+
_this33.choiceOrgId = choiceOrgId;
|
|
32220
|
+
_this33.choiceDeptId = choiceDeptId;
|
|
32221
|
+
_this33.pOrgId = pOrgId;
|
|
32114
32222
|
if (res.data && res.data.isEndUserTask != undefined) {
|
|
32115
|
-
|
|
32223
|
+
_this33.isEndUserTask = res.data.isEndUserTask;
|
|
32116
32224
|
}
|
|
32117
32225
|
if (JSON.stringify(taskExamine) != '{}' && taskExamine) {
|
|
32118
|
-
|
|
32119
|
-
|
|
32120
|
-
|
|
32121
|
-
|
|
32122
|
-
|
|
32123
|
-
|
|
32124
|
-
|
|
32125
|
-
|
|
32126
|
-
|
|
32226
|
+
_this33.nodeInfo.nextNode = taskExamine.processDefinitionId;
|
|
32227
|
+
_this33.NodeName = taskExamine.nodeName;
|
|
32228
|
+
_this33.taskId = taskExamine.taskId;
|
|
32229
|
+
_this33.businessIds = taskExamine.businessId;
|
|
32230
|
+
_this33.appId = taskExamine.appId;
|
|
32231
|
+
_this33.taskExamineInfo = taskExamine;
|
|
32232
|
+
_this33.taskExamineInfo.choiceOrgId = choiceOrgId;
|
|
32233
|
+
_this33.taskExamineInfo.choiceDeptId = choiceDeptId;
|
|
32234
|
+
_this33.endFlowInfo.processType = taskExamine.processType;
|
|
32127
32235
|
// this.endFlowInfo.isReturnSubmitter =
|
|
32128
32236
|
// taskExamine.isReturnSubmitter;
|
|
32129
32237
|
// this.nextNode.isReturnSubmitter = taskExamine.isReturnSubmitter;
|
|
@@ -32135,98 +32243,96 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
32135
32243
|
// this.nextNode.isReadDealEnd = taskExamine.isReadDealEnd;
|
|
32136
32244
|
// this.nextNode.isReturnRejectNode = taskExamine.isReturnRejectNode;
|
|
32137
32245
|
// this.nextNode.isSerialSubmit = taskExamine.isSerialSubmit;
|
|
32138
|
-
|
|
32139
|
-
|
|
32140
|
-
|
|
32141
|
-
|
|
32142
|
-
|
|
32143
|
-
|
|
32144
|
-
|
|
32145
|
-
|
|
32146
|
-
|
|
32246
|
+
_this33.endFlowInfo.isSubFlow = taskExamine.isSubFlow;
|
|
32247
|
+
_this33.endFlowInfo.isUndertakeReply = taskExamine.isUndertakeReply;
|
|
32248
|
+
_this33.endFlowInfo.isUndertakeEnd = taskExamine.isUndertakeEnd;
|
|
32249
|
+
_this33.endFlowInfo.isTakeAdviceEnd = taskExamine.isTakeAdviceEnd;
|
|
32250
|
+
_this33.endFlowInfo.isTakeAdviceReply = taskExamine.isTakeAdviceReply;
|
|
32251
|
+
_this33.endFlowInfo.isReadDealEnd = taskExamine.isReadDealEnd;
|
|
32252
|
+
_this33.endFlowInfo.isReadDealReply = taskExamine.isReadDealReply;
|
|
32253
|
+
_this33.endFlowInfo.isReturnRejectNode = taskExamine.isReturnRejectNode;
|
|
32254
|
+
_this33.endFlowInfo.isSerialSubmit = taskExamine.isSerialSubmit;
|
|
32147
32255
|
// this.endFlowInfo.isReadDealReply =
|
|
32148
32256
|
// taskExamine.isReadDealReplybusinessId;
|
|
32149
|
-
|
|
32150
|
-
|
|
32151
|
-
|
|
32152
|
-
|
|
32257
|
+
_this33.endFlowInfo.appId = taskExamine.appId;
|
|
32258
|
+
_this33.endFlowInfo.businessId = taskExamine.businessId;
|
|
32259
|
+
_this33.endFlowInfo.processDefinitionId = taskExamine.processDefinitionId;
|
|
32260
|
+
_this33.endFlowInfo.nodeId = taskExamine.nodeId;
|
|
32153
32261
|
}
|
|
32154
32262
|
if (extendData && extendData.pendingData && extendData.pendingData.itemname) {
|
|
32155
|
-
|
|
32263
|
+
_this33.NodeName = extendData.pendingData.itemname;
|
|
32156
32264
|
}
|
|
32157
|
-
if (
|
|
32158
|
-
|
|
32265
|
+
if (_this33.nodeName) {
|
|
32266
|
+
_this33.NodeName = _this33.nodeName;
|
|
32159
32267
|
}
|
|
32160
|
-
|
|
32161
|
-
|
|
32162
|
-
if (
|
|
32163
|
-
|
|
32268
|
+
_this33.isCanAddSign = isCanAddSign;
|
|
32269
|
+
_this33.processObj = res.data;
|
|
32270
|
+
if (_this33.isCanAddSign) {
|
|
32271
|
+
_this33.nextNode.isAddSign = '2';
|
|
32164
32272
|
}
|
|
32165
|
-
|
|
32166
|
-
if (
|
|
32167
|
-
|
|
32273
|
+
_this33.isCanRemoveSign = isCanRemoveSign;
|
|
32274
|
+
if (_this33.isCanRemoveSign) {
|
|
32275
|
+
_this33.nextNode.isRemoveSign = '2';
|
|
32168
32276
|
}
|
|
32169
32277
|
|
|
32170
|
-
if (!
|
|
32171
|
-
|
|
32278
|
+
if (!_this33.isOpinionRequired) {
|
|
32279
|
+
_this33.isOpinionRequired = 0;
|
|
32172
32280
|
}
|
|
32173
32281
|
// opinion && (this.value = opinion);
|
|
32174
|
-
|
|
32175
|
-
|
|
32282
|
+
_this33.nextNode.notificationMsg = defaultNotificationMessage;
|
|
32283
|
+
_this33.moreList = [];
|
|
32176
32284
|
if (taskButtonList && taskButtonList.length != 0) {
|
|
32177
32285
|
taskButtonList.map(function (item) {
|
|
32178
32286
|
if (item.fun === 'reject()') {
|
|
32179
|
-
|
|
32287
|
+
_this33.rejectObj = item;
|
|
32180
32288
|
} else if (item.fun === 'toStartTaskRead()') {
|
|
32181
|
-
|
|
32289
|
+
_this33.pointsReadingObj = item;
|
|
32182
32290
|
} else {
|
|
32183
|
-
|
|
32291
|
+
_this33.moreList.push(item);
|
|
32184
32292
|
}
|
|
32185
32293
|
});
|
|
32186
|
-
|
|
32294
|
+
_this33.typeList = _this33.typeList.concat(taskButtonList);
|
|
32187
32295
|
}
|
|
32188
|
-
|
|
32189
|
-
|
|
32190
|
-
|
|
32191
|
-
|
|
32192
|
-
|
|
32193
|
-
|
|
32194
|
-
|
|
32296
|
+
_this33.isMainSubProcess = res.data.isMainSubProcess == 'true';
|
|
32297
|
+
_this33.isCustomPreset = isCustomPreset;
|
|
32298
|
+
_this33.isPreset = isPreset;
|
|
32299
|
+
_this33.presetTaskNodeMap = presetTaskNodeMap;
|
|
32300
|
+
_this33.presetTaskNodeKeyStr = presetTaskNodeKeyStr;
|
|
32301
|
+
_this33.getFind();
|
|
32302
|
+
_this33.selecNext(_this33.nextNode.nextOperate, true, true);
|
|
32195
32303
|
// this.getNodeInfo();
|
|
32196
|
-
|
|
32304
|
+
_this33.StartTaskReadKey++;
|
|
32197
32305
|
} else {
|
|
32198
32306
|
if (res.status === 'taskCompleted') {
|
|
32199
|
-
|
|
32200
|
-
|
|
32201
|
-
|
|
32307
|
+
_this33.$emit('shrink', true);
|
|
32308
|
+
_this33.shrinkAbled = true;
|
|
32309
|
+
_this33.$message.warning(res.message || '系统错误,请联系管理员!');
|
|
32202
32310
|
} else {
|
|
32203
|
-
|
|
32311
|
+
_this33.$message.error(res.message || '系统错误,请联系管理员!');
|
|
32204
32312
|
}
|
|
32205
32313
|
}
|
|
32206
|
-
|
|
32314
|
+
_this33.showOpinion = false;
|
|
32207
32315
|
setTimeout(function () {
|
|
32208
|
-
|
|
32316
|
+
_this33.showOpinion = true;
|
|
32209
32317
|
}, 0);
|
|
32210
32318
|
}).catch(function (err) {
|
|
32211
|
-
|
|
32319
|
+
_this33.loading.close();
|
|
32212
32320
|
if (err.message && err.message !== 'canceled') {
|
|
32213
|
-
|
|
32321
|
+
_this33.$message.error(err.message);
|
|
32214
32322
|
}
|
|
32215
32323
|
});
|
|
32216
32324
|
},
|
|
32217
32325
|
|
|
32218
|
-
/**
|
|
32219
|
-
* closeProcess
|
|
32220
|
-
* @desc:关闭弹窗
|
|
32221
|
-
* @author liufan
|
|
32222
|
-
* @param {boolean} val 当前是否办理流程
|
|
32223
|
-
* @param {String} type 当前点击的弹窗类型
|
|
32224
|
-
* @date 2022年5月25日
|
|
32326
|
+
/**
|
|
32327
|
+
* closeProcess
|
|
32328
|
+
* @desc:关闭弹窗
|
|
32329
|
+
* @author liufan
|
|
32330
|
+
* @param {boolean} val 当前是否办理流程
|
|
32331
|
+
* @param {String} type 当前点击的弹窗类型
|
|
32332
|
+
* @date 2022年5月25日
|
|
32225
32333
|
**/
|
|
32226
32334
|
closeProcess: function closeProcess(val, type, closeParent) {
|
|
32227
|
-
if (
|
|
32228
|
-
this.$refs[type].handleClosed();
|
|
32229
|
-
} else if (!this.startFlowPageEmbeddedIntoStartFlowIndex) {
|
|
32335
|
+
if (!this.startFlowPageEmbeddedIntoStartFlowIndex) {
|
|
32230
32336
|
this[type] = false;
|
|
32231
32337
|
}
|
|
32232
32338
|
if (this.freeStartFlowParams.useScene && this.freeStartFlowParams.useScene != 'multiInsMidwayWithSubmitScene') {
|
|
@@ -32246,23 +32352,23 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
32246
32352
|
}
|
|
32247
32353
|
},
|
|
32248
32354
|
|
|
32249
|
-
/**
|
|
32250
|
-
* selectChange
|
|
32251
|
-
* @desc:常用语选择
|
|
32252
|
-
* @author liufan
|
|
32253
|
-
* @param {String} val 选中值
|
|
32254
|
-
* @date 2022年5月25日
|
|
32355
|
+
/**
|
|
32356
|
+
* selectChange
|
|
32357
|
+
* @desc:常用语选择
|
|
32358
|
+
* @author liufan
|
|
32359
|
+
* @param {String} val 选中值
|
|
32360
|
+
* @date 2022年5月25日
|
|
32255
32361
|
**/
|
|
32256
32362
|
selectChange: function selectChange(val) {
|
|
32257
32363
|
this.value = val;
|
|
32258
32364
|
},
|
|
32259
32365
|
|
|
32260
|
-
/**
|
|
32261
|
-
* upDate
|
|
32262
|
-
* @desc:修改常用语
|
|
32263
|
-
* @author liufan
|
|
32264
|
-
* @param {Object} val 修改值
|
|
32265
|
-
* @date 2022年5月25日
|
|
32366
|
+
/**
|
|
32367
|
+
* upDate
|
|
32368
|
+
* @desc:修改常用语
|
|
32369
|
+
* @author liufan
|
|
32370
|
+
* @param {Object} val 修改值
|
|
32371
|
+
* @date 2022年5月25日
|
|
32266
32372
|
**/
|
|
32267
32373
|
upDate: function upDate(val) {
|
|
32268
32374
|
this.FormData.id = val.id;
|
|
@@ -32270,14 +32376,14 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
32270
32376
|
},
|
|
32271
32377
|
|
|
32272
32378
|
|
|
32273
|
-
/**
|
|
32274
|
-
* getProcess
|
|
32275
|
-
* @desc:获取选择流程
|
|
32276
|
-
* @author liufan
|
|
32277
|
-
* @date 2022年5月25日
|
|
32379
|
+
/**
|
|
32380
|
+
* getProcess
|
|
32381
|
+
* @desc:获取选择流程
|
|
32382
|
+
* @author liufan
|
|
32383
|
+
* @date 2022年5月25日
|
|
32278
32384
|
**/
|
|
32279
32385
|
getProcess: function getProcess(val) {
|
|
32280
|
-
var
|
|
32386
|
+
var _this34 = this;
|
|
32281
32387
|
|
|
32282
32388
|
var params = flowvue_type_script_lang_js_extends({
|
|
32283
32389
|
businessId: this.businessId,
|
|
@@ -32295,56 +32401,56 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
32295
32401
|
message = res.message,
|
|
32296
32402
|
data = res.data;
|
|
32297
32403
|
|
|
32298
|
-
|
|
32404
|
+
_this34.loading.close();
|
|
32299
32405
|
if (status === 'success') {
|
|
32300
32406
|
if (data.simpleTips != undefined) {
|
|
32301
|
-
|
|
32302
|
-
}
|
|
32303
|
-
|
|
32304
|
-
if (!Object.keys(data).length || data.definitionList && !data.definitionList.length) {
|
|
32305
|
-
|
|
32306
|
-
} else {
|
|
32307
|
-
|
|
32308
|
-
|
|
32309
|
-
|
|
32310
|
-
|
|
32311
|
-
return item.processDefKey ==
|
|
32407
|
+
_this34.simpleTips = data.simpleTips;
|
|
32408
|
+
}
|
|
32409
|
+
_this34.isStartFlowChartView = data.isStartFlowChartView;
|
|
32410
|
+
if (!Object.keys(data).length || data.definitionList && !data.definitionList.length) {
|
|
32411
|
+
_this34.$message.error('流程不存在或未关联对应流程!');
|
|
32412
|
+
} else {
|
|
32413
|
+
_this34.startFlowPageEmbeddedIntoStartFlowIndex = data.startFlowPageEmbeddedIntoStartFlowIndex;
|
|
32414
|
+
_this34.activitiDefinitionSort = data.activitiDefinitionSort;
|
|
32415
|
+
_this34.nodeInfo.option = data.definitionList;
|
|
32416
|
+
_this34.nodeInfo.nextNode = data.definitionList.filter(function (item) {
|
|
32417
|
+
return item.processDefKey == _this34.defaultProcessKey;
|
|
32312
32418
|
});
|
|
32313
|
-
if (
|
|
32314
|
-
|
|
32419
|
+
if (_this34.nodeInfo.nextNode.length) {
|
|
32420
|
+
_this34.nodeInfo.nextNode = _this34.nodeInfo.nextNode[0].processDefId;
|
|
32315
32421
|
} else {
|
|
32316
32422
|
if (data.definitionList.length != 0) {
|
|
32317
|
-
|
|
32423
|
+
_this34.nodeInfo.nextNode = data.definitionList[0].processDefId;
|
|
32318
32424
|
} else {
|
|
32319
|
-
|
|
32425
|
+
_this34.nodeInfo.nextNode = '';
|
|
32320
32426
|
}
|
|
32321
32427
|
}
|
|
32322
|
-
if (
|
|
32323
|
-
|
|
32428
|
+
if (_this34.nodeInfo.nextNode) {
|
|
32429
|
+
_this34.handleChange(_this34.nodeInfo.nextNode, true);
|
|
32324
32430
|
}
|
|
32325
|
-
if (
|
|
32326
|
-
|
|
32431
|
+
if (_this34.showCirculate != undefined && !_this34.showCirculate && _this34.urgencyLevel) {
|
|
32432
|
+
_this34.getAdminMsgType();
|
|
32327
32433
|
}
|
|
32328
32434
|
}
|
|
32329
32435
|
} else {
|
|
32330
|
-
|
|
32436
|
+
_this34.$message.error(message || '系统错误,请联系管理员!');
|
|
32331
32437
|
}
|
|
32332
32438
|
}).catch(function (err) {
|
|
32333
|
-
|
|
32439
|
+
_this34.loading.close();
|
|
32334
32440
|
if (err.message && err.message !== 'canceled') {
|
|
32335
|
-
|
|
32441
|
+
_this34.$message.error(err.message);
|
|
32336
32442
|
}
|
|
32337
32443
|
});
|
|
32338
32444
|
},
|
|
32339
32445
|
|
|
32340
|
-
/**
|
|
32341
|
-
* getPendedhistoryList
|
|
32342
|
-
* @desc:获取流程列表
|
|
32343
|
-
* @author liufan
|
|
32344
|
-
* @date 2022年5月25日
|
|
32446
|
+
/**
|
|
32447
|
+
* getPendedhistoryList
|
|
32448
|
+
* @desc:获取流程列表
|
|
32449
|
+
* @author liufan
|
|
32450
|
+
* @date 2022年5月25日
|
|
32345
32451
|
**/
|
|
32346
32452
|
getPendedhistoryList: function getPendedhistoryList() {
|
|
32347
|
-
var
|
|
32453
|
+
var _this35 = this;
|
|
32348
32454
|
|
|
32349
32455
|
var params = {
|
|
32350
32456
|
apprecordId: this.businessIds,
|
|
@@ -32357,22 +32463,22 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
32357
32463
|
results = res.results;
|
|
32358
32464
|
|
|
32359
32465
|
if (!rCode) {
|
|
32360
|
-
|
|
32361
|
-
|
|
32362
|
-
|
|
32363
|
-
|
|
32364
|
-
|
|
32466
|
+
_this35.nextNode.nextUserId = [];
|
|
32467
|
+
_this35.showNews = false;
|
|
32468
|
+
_this35.nextNode.notificationType = [];
|
|
32469
|
+
_this35.pendingId = results[results.length - 1].attachId;
|
|
32470
|
+
_this35.getHedInfo();
|
|
32365
32471
|
} else {
|
|
32366
|
-
|
|
32472
|
+
_this35.$message.error(msg || '系统错误,请联系管理员!');
|
|
32367
32473
|
}
|
|
32368
32474
|
}).catch(function (err) {
|
|
32369
32475
|
if (err.message && err.message !== 'canceled') {
|
|
32370
|
-
|
|
32476
|
+
_this35.$message.error(err.message);
|
|
32371
32477
|
}
|
|
32372
32478
|
});
|
|
32373
32479
|
},
|
|
32374
32480
|
reqCircularRead: function reqCircularRead(type) {
|
|
32375
|
-
var
|
|
32481
|
+
var _this36 = this;
|
|
32376
32482
|
|
|
32377
32483
|
var _that = this;
|
|
32378
32484
|
var params = {
|
|
@@ -32386,7 +32492,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
32386
32492
|
};
|
|
32387
32493
|
this.loading = util["a" /* default */].loading(this.$loading, '提交中...');
|
|
32388
32494
|
util["a" /* default */].ajax(params).then(function (res) {
|
|
32389
|
-
|
|
32495
|
+
_this36.loading.close();
|
|
32390
32496
|
if (res.rCode == 0) {
|
|
32391
32497
|
if (res.results.alert) {
|
|
32392
32498
|
_that.$confirm(res.results.message, {
|
|
@@ -32410,20 +32516,20 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
32410
32516
|
|
|
32411
32517
|
// 提交流程前验证
|
|
32412
32518
|
beforeSubProcess: function beforeSubProcess(val, type) {
|
|
32413
|
-
var
|
|
32519
|
+
var _this37 = this;
|
|
32414
32520
|
|
|
32415
32521
|
return this.$refs['nextNode'].validate(function (valid) {
|
|
32416
32522
|
if (valid) {
|
|
32417
|
-
if (
|
|
32418
|
-
|
|
32419
|
-
|
|
32420
|
-
|
|
32523
|
+
if (_this37.isSubmitButtonShowAgreeAndDisagree == 1) {
|
|
32524
|
+
_this37.value = _this37.value.replace(RegExp('不同意。', 'g'), '');
|
|
32525
|
+
_this37.value = _this37.value.replace(RegExp('同意。', 'g'), '');
|
|
32526
|
+
_this37.value = val + _this37.value;
|
|
32421
32527
|
}
|
|
32422
|
-
if (!
|
|
32423
|
-
|
|
32528
|
+
if (!_this37.validInfo()) {
|
|
32529
|
+
_this37.freeValid = false;
|
|
32424
32530
|
return;
|
|
32425
32531
|
} else {
|
|
32426
|
-
|
|
32532
|
+
_this37.freeValid = true;
|
|
32427
32533
|
}
|
|
32428
32534
|
// if (
|
|
32429
32535
|
// this.currentNodeIsCircularReadNode &&
|
|
@@ -32433,42 +32539,42 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
32433
32539
|
// return;
|
|
32434
32540
|
// }
|
|
32435
32541
|
|
|
32436
|
-
if (
|
|
32437
|
-
var btnInfo =
|
|
32438
|
-
return x.key ===
|
|
32542
|
+
if (_this37.submitButtonFunKey) {
|
|
32543
|
+
var btnInfo = _this37.taskNodeButtons.filter(function (x) {
|
|
32544
|
+
return x.key === _this37.submitButtonFunKey;
|
|
32439
32545
|
});
|
|
32440
32546
|
if (btnInfo.length > 0) {
|
|
32441
32547
|
if (btnInfo[0].type == 4) {
|
|
32442
|
-
|
|
32548
|
+
_this37.$emit('buttonClick', { fun: btnInfo[0].fun, opinion: _this37.value }, _this37.sendData);
|
|
32443
32549
|
} else if (btnInfo[0].type == 2) {
|
|
32444
|
-
|
|
32550
|
+
_this37.goView(btnInfo[0]);
|
|
32445
32551
|
}
|
|
32446
32552
|
}
|
|
32447
32553
|
return;
|
|
32448
32554
|
}
|
|
32449
32555
|
if (type == 'multiInsMidwayWithSubmitScene') {
|
|
32450
|
-
|
|
32556
|
+
_this37.sendData(type);
|
|
32451
32557
|
return;
|
|
32452
32558
|
}
|
|
32453
|
-
if (
|
|
32454
|
-
|
|
32559
|
+
if (_this37.beforeSubmit == undefined) {
|
|
32560
|
+
_this37.subFun(_this37.sendData);
|
|
32455
32561
|
} else {
|
|
32456
|
-
|
|
32562
|
+
_this37.sendData();
|
|
32457
32563
|
}
|
|
32458
32564
|
}
|
|
32459
32565
|
});
|
|
32460
32566
|
},
|
|
32461
32567
|
|
|
32462
32568
|
// 提交流程
|
|
32463
|
-
/**
|
|
32464
|
-
* subProcess
|
|
32465
|
-
* @desc:提交流程
|
|
32466
|
-
* @author liufan
|
|
32467
|
-
* @param {String} formName 当前form表单ref值
|
|
32468
|
-
* @date 2022年5月25日
|
|
32569
|
+
/**
|
|
32570
|
+
* subProcess
|
|
32571
|
+
* @desc:提交流程
|
|
32572
|
+
* @author liufan
|
|
32573
|
+
* @param {String} formName 当前form表单ref值
|
|
32574
|
+
* @date 2022年5月25日
|
|
32469
32575
|
**/
|
|
32470
32576
|
subProcess: function subProcess(val, type) {
|
|
32471
|
-
var
|
|
32577
|
+
var _this38 = this;
|
|
32472
32578
|
|
|
32473
32579
|
if (this.btnType != 'default') {
|
|
32474
32580
|
if (this.btnType == 'reject' && this.$refs[this.btnType].rejectObj.length == 0) {
|
|
@@ -32482,7 +32588,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
32482
32588
|
this.beforeSubProcess(val, type);
|
|
32483
32589
|
} else {
|
|
32484
32590
|
this.beforeSubmit(1).then(function (next) {
|
|
32485
|
-
|
|
32591
|
+
_this38.beforeSubProcess(val, type);
|
|
32486
32592
|
}).catch(function (e) {});
|
|
32487
32593
|
}
|
|
32488
32594
|
},
|
|
@@ -32525,14 +32631,14 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
32525
32631
|
return true;
|
|
32526
32632
|
},
|
|
32527
32633
|
flowSuccess: function flowSuccess(hideMessage) {
|
|
32528
|
-
var
|
|
32634
|
+
var _this39 = this;
|
|
32529
32635
|
|
|
32530
32636
|
if (!this.simpleTips) {
|
|
32531
32637
|
this.$alert('提交成功', '', {
|
|
32532
32638
|
confirmButtonText: '确定',
|
|
32533
32639
|
type: 'success',
|
|
32534
32640
|
callback: function callback(action) {
|
|
32535
|
-
|
|
32641
|
+
_this39.$emit('success');
|
|
32536
32642
|
}
|
|
32537
32643
|
});
|
|
32538
32644
|
} else {
|
|
@@ -32543,7 +32649,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
32543
32649
|
}
|
|
32544
32650
|
},
|
|
32545
32651
|
sendData: function sendData(freetype) {
|
|
32546
|
-
var
|
|
32652
|
+
var _this40 = this;
|
|
32547
32653
|
|
|
32548
32654
|
if (this.isFlow && !this.nodeInfo.nextNode) {
|
|
32549
32655
|
this.$message.warning('请选择流程');
|
|
@@ -32569,70 +32675,70 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
32569
32675
|
break;
|
|
32570
32676
|
}
|
|
32571
32677
|
|
|
32572
|
-
if (!
|
|
32678
|
+
if (!_this40.isFlow) {
|
|
32573
32679
|
_context2.next = 7;
|
|
32574
32680
|
break;
|
|
32575
32681
|
}
|
|
32576
32682
|
|
|
32577
|
-
if (!(
|
|
32683
|
+
if (!(_this40.isOpinionRequired && !_this40.$refs.commonOpinions.validate())) {
|
|
32578
32684
|
_context2.next = 5;
|
|
32579
32685
|
break;
|
|
32580
32686
|
}
|
|
32581
32687
|
|
|
32582
|
-
|
|
32688
|
+
_this40.$message.warning('请输入审批意见');
|
|
32583
32689
|
return _context2.abrupt('return');
|
|
32584
32690
|
|
|
32585
32691
|
case 5:
|
|
32586
|
-
if (
|
|
32587
|
-
|
|
32692
|
+
if (_this40.directCreateCircularReadWhenFlowStarted) {
|
|
32693
|
+
_this40.circulateVisible = true;
|
|
32588
32694
|
} else {
|
|
32589
|
-
|
|
32695
|
+
_this40.handleVisible = true;
|
|
32590
32696
|
}
|
|
32591
32697
|
return _context2.abrupt('return');
|
|
32592
32698
|
|
|
32593
32699
|
case 7:
|
|
32594
32700
|
nextUserId = [];
|
|
32595
32701
|
|
|
32596
|
-
if (
|
|
32597
|
-
|
|
32702
|
+
if (_this40.multiple) {
|
|
32703
|
+
_this40.nextNode.nextUserId && _this40.nextNode.nextUserId.map(function (item) {
|
|
32598
32704
|
return nextUserId.push(item);
|
|
32599
32705
|
});
|
|
32600
32706
|
}
|
|
32601
32707
|
addSignUserId = [];
|
|
32602
32708
|
|
|
32603
|
-
if (
|
|
32604
|
-
|
|
32709
|
+
if (_this40.isCanAddSign && _this40.nextNode.isAddSign == '1') {
|
|
32710
|
+
_this40.nextNode.addSignUserId.map(function (item) {
|
|
32605
32711
|
addSignUserId.push(item);
|
|
32606
32712
|
});
|
|
32607
32713
|
}
|
|
32608
32714
|
removeSignUserId = [];
|
|
32609
32715
|
|
|
32610
|
-
if (
|
|
32611
|
-
|
|
32716
|
+
if (_this40.isCanRemoveSign && _this40.nextNode.isRemoveSign == '1') {
|
|
32717
|
+
_this40.nextNode.removeSignUserId.map(function (item) {
|
|
32612
32718
|
removeSignUserId.push(item);
|
|
32613
32719
|
});
|
|
32614
32720
|
}
|
|
32615
32721
|
str = '';
|
|
32616
32722
|
|
|
32617
|
-
if (
|
|
32618
|
-
str =
|
|
32723
|
+
if (_this40.value) {
|
|
32724
|
+
str = _this40.value.replace(/\s+/g, '');
|
|
32619
32725
|
}
|
|
32620
|
-
if ((!
|
|
32621
|
-
|
|
32726
|
+
if ((!_this40.value || str === '') && _this40.nodeDefaultSubmitOpinion) {
|
|
32727
|
+
_this40.value = _this40.nodeDefaultSubmitOpinion;
|
|
32622
32728
|
}
|
|
32623
|
-
if (!
|
|
32624
|
-
delete
|
|
32625
|
-
delete
|
|
32729
|
+
if (!_this40.isSpecial) {
|
|
32730
|
+
delete _this40.nextNode.nextOperate;
|
|
32731
|
+
delete _this40.nextNode.nextNodeId;
|
|
32626
32732
|
}
|
|
32627
|
-
if (
|
|
32628
|
-
|
|
32629
|
-
|
|
32733
|
+
if (_this40.nextNode.nextOperate === 9 || _this40.oldNextOperate == 9) {
|
|
32734
|
+
_this40.nextNode.isReturnRejectNode = 1;
|
|
32735
|
+
_this40.nextNode.processDefinitionId = _this40.processObj.taskExamine.processDefinitionId;
|
|
32630
32736
|
}
|
|
32631
|
-
if (
|
|
32632
|
-
delete
|
|
32737
|
+
if (_this40.nextNode.nextOperate != 0 && _this40.nextNode.nextOperate != 1 && _this40.oldNextOperate === '' || _this40.oldNextOperate !== '' && _this40.oldNextOperate != 0 && _this40.oldNextOperate != 1) {
|
|
32738
|
+
delete _this40.nextNode.nextNodeId;
|
|
32633
32739
|
}
|
|
32634
32740
|
|
|
32635
|
-
if (!(
|
|
32741
|
+
if (!(_this40.isCustomPreset && _this40.activeNames == '1')) {
|
|
32636
32742
|
_context2.next = 30;
|
|
32637
32743
|
break;
|
|
32638
32744
|
}
|
|
@@ -32640,20 +32746,20 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
32640
32746
|
i = 0;
|
|
32641
32747
|
|
|
32642
32748
|
case 21:
|
|
32643
|
-
if (!(i <
|
|
32749
|
+
if (!(i < _this40.presetList.length)) {
|
|
32644
32750
|
_context2.next = 30;
|
|
32645
32751
|
break;
|
|
32646
32752
|
}
|
|
32647
32753
|
|
|
32648
|
-
if (!(
|
|
32754
|
+
if (!(_this40.presetList[i].name && _this40.presetList[i].name != '1' && _this40.presetList[i].name != 'endEvent' && (!_this40.presetList[i].value || _this40.presetList[i].value.length == 0))) {
|
|
32649
32755
|
_context2.next = 26;
|
|
32650
32756
|
break;
|
|
32651
32757
|
}
|
|
32652
32758
|
|
|
32653
|
-
return _context2.abrupt('return',
|
|
32759
|
+
return _context2.abrupt('return', _this40.$message.warning('\u9884\u8BBE\u8282\u70B9<\u8282\u70B9' + _this40.presetList[i].sequence + '-' + _this40.presetList[i].label + '>\u5FC5\u987B\u9009\u62E9\u529E\u7406\u4EBA\uFF01'));
|
|
32654
32760
|
|
|
32655
32761
|
case 26:
|
|
32656
|
-
delete
|
|
32762
|
+
delete _this40.presetList[i].label;
|
|
32657
32763
|
|
|
32658
32764
|
case 27:
|
|
32659
32765
|
i++;
|
|
@@ -32661,12 +32767,12 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
32661
32767
|
break;
|
|
32662
32768
|
|
|
32663
32769
|
case 30:
|
|
32664
|
-
if (!
|
|
32770
|
+
if (!_this40.isCancelSecondConfirmationType) {
|
|
32665
32771
|
_context2.next = 33;
|
|
32666
32772
|
break;
|
|
32667
32773
|
}
|
|
32668
32774
|
|
|
32669
|
-
|
|
32775
|
+
_this40.$confirm('确认提交吗?', '提示', {
|
|
32670
32776
|
confirmButtonText: '确定',
|
|
32671
32777
|
cancelButtonText: '取消',
|
|
32672
32778
|
type: 'warning'
|
|
@@ -32682,46 +32788,46 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
32682
32788
|
}
|
|
32683
32789
|
|
|
32684
32790
|
_context.next = 3;
|
|
32685
|
-
return
|
|
32791
|
+
return _this40.saveInfo('subMit');
|
|
32686
32792
|
|
|
32687
32793
|
case 3:
|
|
32688
|
-
|
|
32794
|
+
_this40.loading = util["a" /* default */].loading(_this40.$loading, '加载中...');
|
|
32689
32795
|
|
|
32690
32796
|
case 4:
|
|
32691
32797
|
notificationType = '';
|
|
32692
32798
|
|
|
32693
|
-
notificationType =
|
|
32799
|
+
notificationType = _this40.nextNode.notificationType.join(',');
|
|
32694
32800
|
addSignUserId = addSignUserId.join(',');
|
|
32695
32801
|
removeSignUserId = removeSignUserId.join(',');
|
|
32696
|
-
if (!
|
|
32697
|
-
delete
|
|
32802
|
+
if (!_this40.isCanPreAddSign || _this40.nextNode.isAddSign != '1') {
|
|
32803
|
+
delete _this40.nextNode.addSignMode;
|
|
32698
32804
|
}
|
|
32699
32805
|
|
|
32700
|
-
params = flowvue_type_script_lang_js_extends({},
|
|
32701
|
-
nextOperate:
|
|
32702
|
-
pendingId:
|
|
32703
|
-
opinion:
|
|
32806
|
+
params = flowvue_type_script_lang_js_extends({}, _this40.nextNode, {
|
|
32807
|
+
nextOperate: _this40.oldNextOperate !== '' ? _this40.oldNextOperate : _this40.nextNode.nextOperate,
|
|
32808
|
+
pendingId: _this40.pendingId,
|
|
32809
|
+
opinion: _this40.isForceDisplayDefaultOptionForPrefix && !_this40.value.startsWith(_this40.nodeDefaultSubmitOpinion) ? _this40.nodeDefaultSubmitOpinion + _this40.value : _this40.value,
|
|
32704
32810
|
userId: util["a" /* default */].getStorage('userId'),
|
|
32705
|
-
nextUserId:
|
|
32811
|
+
nextUserId: _this40.multiple ? nextUserId.join(',') : _this40.nextNode.nextUserId,
|
|
32706
32812
|
addSignUserId: addSignUserId,
|
|
32707
|
-
customPresetUserJson: JSON.stringify(
|
|
32708
|
-
presetUserJson: JSON.stringify(
|
|
32813
|
+
customPresetUserJson: JSON.stringify(_this40.presetList),
|
|
32814
|
+
presetUserJson: JSON.stringify(_this40.presetUserJson),
|
|
32709
32815
|
removeSignUserId: removeSignUserId,
|
|
32710
|
-
nextReadUserId:
|
|
32711
|
-
nextOrgId: !
|
|
32712
|
-
presetReadUserId:
|
|
32816
|
+
nextReadUserId: _this40.readMultiple ? _this40.mixReadList ? _this40.mixReadList.join('|') : '' : _this40.nextNode.nextReadUserId.join(','),
|
|
32817
|
+
nextOrgId: !_this40.isShowNextUser ? _this40.multiple ? _this40.mixOrgIdList && _this40.mixOrgIdList.join('|') : _this40.nextNode.nextOrgId : '',
|
|
32818
|
+
presetReadUserId: _this40.mixPresetList && _this40.mixPresetList.length > 0 ? _this40.mixPresetList.join('|') : _this40.nextNode.presetReadUserId.join(','),
|
|
32713
32819
|
notificationType: notificationType
|
|
32714
32820
|
});
|
|
32715
32821
|
|
|
32716
|
-
if (
|
|
32822
|
+
if (_this40.activeNames != '1' || !_this40.isCustomPreset) delete params.customPresetUserJson;
|
|
32717
32823
|
delete params.customLimitTimeText;
|
|
32718
|
-
if (
|
|
32824
|
+
if (_this40.nextNode.isRemoveSign != '1') {
|
|
32719
32825
|
delete params.removeSignUserId;
|
|
32720
32826
|
}
|
|
32721
|
-
if (
|
|
32827
|
+
if (_this40.nextNode.isAddSign != '1') {
|
|
32722
32828
|
delete params.addSignUserId;
|
|
32723
32829
|
}
|
|
32724
|
-
if (!
|
|
32830
|
+
if (!_this40.isSpecial) {
|
|
32725
32831
|
delete params.nextUserId;
|
|
32726
32832
|
}
|
|
32727
32833
|
|
|
@@ -32730,13 +32836,13 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
32730
32836
|
break;
|
|
32731
32837
|
}
|
|
32732
32838
|
|
|
32733
|
-
params.isSubFlow =
|
|
32734
|
-
|
|
32839
|
+
params.isSubFlow = _this40.taskExamineInfo.isSubFlow;
|
|
32840
|
+
_this40.taskParams = params;
|
|
32735
32841
|
return _context.abrupt('return');
|
|
32736
32842
|
|
|
32737
32843
|
case 19:
|
|
32738
|
-
|
|
32739
|
-
isEndUserTask =
|
|
32844
|
+
_this40.loading = util["a" /* default */].loading(_this40.$loading, '提交中...');
|
|
32845
|
+
isEndUserTask = _this40.isEndUserTask, choiceOrgId = _this40.choiceOrgId, choiceDeptId = _this40.choiceDeptId, pOrgId = _this40.pOrgId, taskExamineInfo = _this40.taskExamineInfo, currentNodeIsCircularReadNode = _this40.currentNodeIsCircularReadNode, needRetrialAuth = _this40.needRetrialAuth, circularReadParamsMap = _this40.circularReadParamsMap, currentNodeEnableItemHandleDescription = _this40.currentNodeEnableItemHandleDescription;
|
|
32740
32846
|
|
|
32741
32847
|
params.isEndUserTask = isEndUserTask;
|
|
32742
32848
|
params.choiceOrgId = choiceOrgId;
|
|
@@ -32760,17 +32866,17 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
32760
32866
|
var status = res.status,
|
|
32761
32867
|
message = res.message;
|
|
32762
32868
|
|
|
32763
|
-
|
|
32869
|
+
_this40.loading.close();
|
|
32764
32870
|
if (status === 'success') {
|
|
32765
|
-
|
|
32871
|
+
_this40.flowSuccess();
|
|
32766
32872
|
} else {
|
|
32767
|
-
|
|
32768
|
-
|
|
32873
|
+
_this40.$message.error(message || '系统错误,请联系管理员!');
|
|
32874
|
+
_this40.$emit('error');
|
|
32769
32875
|
}
|
|
32770
32876
|
}).catch(function (err) {
|
|
32771
|
-
|
|
32877
|
+
_this40.loading.close();
|
|
32772
32878
|
if (err.message && err.message !== 'canceled') {
|
|
32773
|
-
|
|
32879
|
+
_this40.$message.error(err.message);
|
|
32774
32880
|
}
|
|
32775
32881
|
}));
|
|
32776
32882
|
|
|
@@ -32779,7 +32885,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
32779
32885
|
return _context.stop();
|
|
32780
32886
|
}
|
|
32781
32887
|
}
|
|
32782
|
-
}, _callee,
|
|
32888
|
+
}, _callee, _this40);
|
|
32783
32889
|
})));
|
|
32784
32890
|
return _context2.abrupt('return');
|
|
32785
32891
|
|
|
@@ -32790,46 +32896,46 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
32790
32896
|
}
|
|
32791
32897
|
|
|
32792
32898
|
_context2.next = 36;
|
|
32793
|
-
return
|
|
32899
|
+
return _this40.saveInfo('subMit');
|
|
32794
32900
|
|
|
32795
32901
|
case 36:
|
|
32796
|
-
|
|
32902
|
+
_this40.loading = util["a" /* default */].loading(_this40.$loading, '加载中...');
|
|
32797
32903
|
|
|
32798
32904
|
case 37:
|
|
32799
32905
|
notificationType = '';
|
|
32800
32906
|
|
|
32801
|
-
notificationType =
|
|
32907
|
+
notificationType = _this40.nextNode.notificationType.join(',');
|
|
32802
32908
|
addSignUserId = addSignUserId.join(',');
|
|
32803
32909
|
removeSignUserId = removeSignUserId.join(',');
|
|
32804
|
-
if (!
|
|
32805
|
-
delete
|
|
32910
|
+
if (!_this40.isCanPreAddSign || _this40.nextNode.isAddSign != '1') {
|
|
32911
|
+
delete _this40.nextNode.addSignMode;
|
|
32806
32912
|
}
|
|
32807
32913
|
|
|
32808
|
-
params = flowvue_type_script_lang_js_extends({},
|
|
32809
|
-
nextOperate:
|
|
32810
|
-
pendingId:
|
|
32811
|
-
opinion:
|
|
32914
|
+
params = flowvue_type_script_lang_js_extends({}, _this40.nextNode, {
|
|
32915
|
+
nextOperate: _this40.oldNextOperate !== '' ? _this40.oldNextOperate : _this40.nextNode.nextOperate,
|
|
32916
|
+
pendingId: _this40.pendingId,
|
|
32917
|
+
opinion: _this40.isForceDisplayDefaultOptionForPrefix && !_this40.value.startsWith(_this40.nodeDefaultSubmitOpinion) ? _this40.nodeDefaultSubmitOpinion + _this40.value : _this40.value,
|
|
32812
32918
|
userId: util["a" /* default */].getStorage('userId'),
|
|
32813
|
-
nextUserId:
|
|
32919
|
+
nextUserId: _this40.multiple ? nextUserId.join(',') : _this40.nextNode.nextUserId,
|
|
32814
32920
|
addSignUserId: addSignUserId,
|
|
32815
|
-
customPresetUserJson: JSON.stringify(
|
|
32816
|
-
presetUserJson: JSON.stringify(
|
|
32921
|
+
customPresetUserJson: JSON.stringify(_this40.presetList),
|
|
32922
|
+
presetUserJson: JSON.stringify(_this40.presetUserJson),
|
|
32817
32923
|
removeSignUserId: removeSignUserId,
|
|
32818
|
-
nextReadUserId:
|
|
32819
|
-
nextOrgId: !
|
|
32820
|
-
presetReadUserId:
|
|
32924
|
+
nextReadUserId: _this40.readMultiple ? _this40.mixReadList ? _this40.mixReadList.join('|') : '' : _this40.nextNode.nextReadUserId.join(','),
|
|
32925
|
+
nextOrgId: !_this40.isShowNextUser ? _this40.multiple ? _this40.mixOrgIdList && _this40.mixOrgIdList.join('|') : _this40.nextNode.nextOrgId : '',
|
|
32926
|
+
presetReadUserId: _this40.mixPresetList && _this40.mixPresetList.length > 0 ? _this40.mixPresetList.join('|') : _this40.nextNode.presetReadUserId.join(','),
|
|
32821
32927
|
notificationType: notificationType
|
|
32822
32928
|
});
|
|
32823
32929
|
|
|
32824
|
-
if (
|
|
32930
|
+
if (_this40.activeNames != '1' || !_this40.isCustomPreset) delete params.customPresetUserJson;
|
|
32825
32931
|
delete params.customLimitTimeText;
|
|
32826
|
-
if (
|
|
32932
|
+
if (_this40.nextNode.isRemoveSign != '1') {
|
|
32827
32933
|
delete params.removeSignUserId;
|
|
32828
32934
|
}
|
|
32829
|
-
if (
|
|
32935
|
+
if (_this40.nextNode.isAddSign != '1') {
|
|
32830
32936
|
delete params.addSignUserId;
|
|
32831
32937
|
}
|
|
32832
|
-
if (!
|
|
32938
|
+
if (!_this40.isSpecial) {
|
|
32833
32939
|
delete params.nextUserId;
|
|
32834
32940
|
}
|
|
32835
32941
|
|
|
@@ -32838,13 +32944,13 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
32838
32944
|
break;
|
|
32839
32945
|
}
|
|
32840
32946
|
|
|
32841
|
-
params.isSubFlow =
|
|
32842
|
-
|
|
32947
|
+
params.isSubFlow = _this40.taskExamineInfo.isSubFlow;
|
|
32948
|
+
_this40.taskParams = params;
|
|
32843
32949
|
return _context2.abrupt('return');
|
|
32844
32950
|
|
|
32845
32951
|
case 52:
|
|
32846
|
-
|
|
32847
|
-
isEndUserTask =
|
|
32952
|
+
_this40.loading = util["a" /* default */].loading(_this40.$loading, '提交中...');
|
|
32953
|
+
isEndUserTask = _this40.isEndUserTask, choiceOrgId = _this40.choiceOrgId, choiceDeptId = _this40.choiceDeptId, pOrgId = _this40.pOrgId, taskExamineInfo = _this40.taskExamineInfo, currentNodeIsCircularReadNode = _this40.currentNodeIsCircularReadNode, needRetrialAuth = _this40.needRetrialAuth, circularReadParamsMap = _this40.circularReadParamsMap, currentNodeEnableItemHandleDescription = _this40.currentNodeEnableItemHandleDescription;
|
|
32848
32954
|
|
|
32849
32955
|
params.isEndUserTask = isEndUserTask;
|
|
32850
32956
|
params.choiceOrgId = choiceOrgId;
|
|
@@ -32868,17 +32974,17 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
32868
32974
|
var status = res.status,
|
|
32869
32975
|
message = res.message;
|
|
32870
32976
|
|
|
32871
|
-
|
|
32977
|
+
_this40.loading.close();
|
|
32872
32978
|
if (status === 'success') {
|
|
32873
|
-
|
|
32979
|
+
_this40.flowSuccess();
|
|
32874
32980
|
} else {
|
|
32875
|
-
|
|
32876
|
-
|
|
32981
|
+
_this40.$message.error(message || '系统错误,请联系管理员!');
|
|
32982
|
+
_this40.$emit('error');
|
|
32877
32983
|
}
|
|
32878
32984
|
}).catch(function (err) {
|
|
32879
|
-
|
|
32985
|
+
_this40.loading.close();
|
|
32880
32986
|
if (err.message && err.message !== 'canceled') {
|
|
32881
|
-
|
|
32987
|
+
_this40.$message.error(err.message);
|
|
32882
32988
|
}
|
|
32883
32989
|
}));
|
|
32884
32990
|
|
|
@@ -32890,7 +32996,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
32890
32996
|
return _context2.stop();
|
|
32891
32997
|
}
|
|
32892
32998
|
}
|
|
32893
|
-
}, _callee2,
|
|
32999
|
+
}, _callee2, _this40);
|
|
32894
33000
|
}));
|
|
32895
33001
|
|
|
32896
33002
|
return function (_x) {
|
|
@@ -32946,8 +33052,8 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
32946
33052
|
|
|
32947
33053
|
var flow_component = Object(componentNormalizer["a" /* default */])(
|
|
32948
33054
|
src_flowvue_type_script_lang_js_,
|
|
32949
|
-
|
|
32950
|
-
|
|
33055
|
+
flowvue_type_template_id_d84c2cd8_render,
|
|
33056
|
+
flowvue_type_template_id_d84c2cd8_staticRenderFns,
|
|
32951
33057
|
false,
|
|
32952
33058
|
null,
|
|
32953
33059
|
null,
|
|
@@ -34261,6 +34367,8 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
34261
34367
|
//
|
|
34262
34368
|
//
|
|
34263
34369
|
//
|
|
34370
|
+
//
|
|
34371
|
+
//
|
|
34264
34372
|
|
|
34265
34373
|
|
|
34266
34374
|
|
|
@@ -34872,6 +34980,9 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
34872
34980
|
_this6.$refs.esContent.scrollTop += _this6.$refs.messagebox.clientHeight;
|
|
34873
34981
|
});
|
|
34874
34982
|
},
|
|
34983
|
+
handleNewFlowSave: function handleNewFlowSave(businessIds) {
|
|
34984
|
+
this.$emit('save', businessIds);
|
|
34985
|
+
},
|
|
34875
34986
|
handleNewFlowSuccess: function handleNewFlowSuccess(type) {
|
|
34876
34987
|
if (type == 'taskRead') {
|
|
34877
34988
|
this.$emit('successRead', type);
|
|
@@ -35002,9 +35113,9 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
35002
35113
|
}
|
|
35003
35114
|
}
|
|
35004
35115
|
},
|
|
35005
|
-
setShrink: function setShrink() {
|
|
35006
|
-
this.shrink =
|
|
35007
|
-
this.styles = this.shrink ? { width:
|
|
35116
|
+
setShrink: function setShrink(val) {
|
|
35117
|
+
this.shrink = val;
|
|
35118
|
+
this.styles = this.shrink ? { width: '80px' } : { width: this.width ? parseInt(this.width, 10) + 'px' : '' };
|
|
35008
35119
|
this.$emit('shrink', this.shrink);
|
|
35009
35120
|
},
|
|
35010
35121
|
customLoading: function customLoading(type) {
|
|
@@ -35203,11 +35314,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
35203
35314
|
});
|
|
35204
35315
|
},
|
|
35205
35316
|
|
|
35206
|
-
/**
|
|
35207
|
-
* saveInfo
|
|
35208
|
-
* @desc:暂存
|
|
35209
|
-
* @author liufan
|
|
35210
|
-
* @date 2022年9月9日
|
|
35317
|
+
/**
|
|
35318
|
+
* saveInfo
|
|
35319
|
+
* @desc:暂存
|
|
35320
|
+
* @author liufan
|
|
35321
|
+
* @date 2022年9月9日
|
|
35211
35322
|
**/
|
|
35212
35323
|
saveInfo: function saveInfo(type, btn) {
|
|
35213
35324
|
var _this14 = this;
|
|
@@ -35269,11 +35380,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
35269
35380
|
});
|
|
35270
35381
|
},
|
|
35271
35382
|
|
|
35272
|
-
/**
|
|
35273
|
-
* rejectBtn
|
|
35274
|
-
* @desc:点击驳回
|
|
35275
|
-
* @author liufan
|
|
35276
|
-
* @date 2022年5月25日
|
|
35383
|
+
/**
|
|
35384
|
+
* rejectBtn
|
|
35385
|
+
* @desc:点击驳回
|
|
35386
|
+
* @author liufan
|
|
35387
|
+
* @date 2022年5月25日
|
|
35277
35388
|
**/
|
|
35278
35389
|
rejectBtn: function rejectBtn() {
|
|
35279
35390
|
var _this16 = this;
|
|
@@ -35291,11 +35402,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
35291
35402
|
}
|
|
35292
35403
|
},
|
|
35293
35404
|
|
|
35294
|
-
/**
|
|
35295
|
-
* taskReadBtn
|
|
35296
|
-
* @desc:点击分阅
|
|
35297
|
-
* @author liufan
|
|
35298
|
-
* @date 2022年5月25日
|
|
35405
|
+
/**
|
|
35406
|
+
* taskReadBtn
|
|
35407
|
+
* @desc:点击分阅
|
|
35408
|
+
* @author liufan
|
|
35409
|
+
* @date 2022年5月25日
|
|
35299
35410
|
**/
|
|
35300
35411
|
taskReadBtn: function taskReadBtn() {
|
|
35301
35412
|
var _this17 = this;
|
|
@@ -35314,11 +35425,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
35314
35425
|
}
|
|
35315
35426
|
},
|
|
35316
35427
|
|
|
35317
|
-
/**
|
|
35318
|
-
* getFind
|
|
35319
|
-
* @desc:获取通知方式
|
|
35320
|
-
* @author liufan
|
|
35321
|
-
* @date 2022年5月25日
|
|
35428
|
+
/**
|
|
35429
|
+
* getFind
|
|
35430
|
+
* @desc:获取通知方式
|
|
35431
|
+
* @author liufan
|
|
35432
|
+
* @date 2022年5月25日
|
|
35322
35433
|
**/
|
|
35323
35434
|
getFind: function getFind() {
|
|
35324
35435
|
var _this18 = this;
|
|
@@ -35385,12 +35496,12 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
35385
35496
|
});
|
|
35386
35497
|
},
|
|
35387
35498
|
|
|
35388
|
-
/**
|
|
35389
|
-
* endFlows
|
|
35390
|
-
* @desc:直接办结
|
|
35391
|
-
* @author liufan
|
|
35392
|
-
* @param {Object} res 直接办结数据
|
|
35393
|
-
* @date 2022年5月25日
|
|
35499
|
+
/**
|
|
35500
|
+
* endFlows
|
|
35501
|
+
* @desc:直接办结
|
|
35502
|
+
* @author liufan
|
|
35503
|
+
* @param {Object} res 直接办结数据
|
|
35504
|
+
* @date 2022年5月25日
|
|
35394
35505
|
**/
|
|
35395
35506
|
endFlows: function endFlows(res) {
|
|
35396
35507
|
var _this20 = this;
|
|
@@ -35445,12 +35556,12 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
35445
35556
|
}).catch(function (e) {});
|
|
35446
35557
|
},
|
|
35447
35558
|
|
|
35448
|
-
/**
|
|
35449
|
-
* goView
|
|
35450
|
-
* @desc:更多流程按钮操作
|
|
35451
|
-
* @author liufan
|
|
35452
|
-
* @param {Object} res 当前点击操作按钮数据
|
|
35453
|
-
* @date 2022年5月25日
|
|
35559
|
+
/**
|
|
35560
|
+
* goView
|
|
35561
|
+
* @desc:更多流程按钮操作
|
|
35562
|
+
* @author liufan
|
|
35563
|
+
* @param {Object} res 当前点击操作按钮数据
|
|
35564
|
+
* @date 2022年5月25日
|
|
35454
35565
|
**/
|
|
35455
35566
|
goView: function goView(res) {
|
|
35456
35567
|
// 驳回并办结:rejectAndEndHtml
|
|
@@ -35538,11 +35649,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
35538
35649
|
// isCanStartSubFlow
|
|
35539
35650
|
},
|
|
35540
35651
|
|
|
35541
|
-
/**
|
|
35542
|
-
* toTakeAdvice
|
|
35543
|
-
* @desc:征求意见
|
|
35544
|
-
* @author liufan
|
|
35545
|
-
* @date 2022年9月29日
|
|
35652
|
+
/**
|
|
35653
|
+
* toTakeAdvice
|
|
35654
|
+
* @desc:征求意见
|
|
35655
|
+
* @author liufan
|
|
35656
|
+
* @date 2022年9月29日
|
|
35546
35657
|
**/
|
|
35547
35658
|
toTakeAdvice: function toTakeAdvice(res) {
|
|
35548
35659
|
var _this22 = this;
|
|
@@ -35586,11 +35697,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
35586
35697
|
});
|
|
35587
35698
|
},
|
|
35588
35699
|
|
|
35589
|
-
/**
|
|
35590
|
-
* toStartDraf
|
|
35591
|
-
* @desc: 稿件递送、联合审核、复核
|
|
35592
|
-
* @author liufan
|
|
35593
|
-
* @date 2022年9月29日
|
|
35700
|
+
/**
|
|
35701
|
+
* toStartDraf
|
|
35702
|
+
* @desc: 稿件递送、联合审核、复核
|
|
35703
|
+
* @author liufan
|
|
35704
|
+
* @date 2022年9月29日
|
|
35594
35705
|
**/
|
|
35595
35706
|
toStartDraf: function toStartDraf(res) {
|
|
35596
35707
|
var _this24 = this;
|
|
@@ -35604,11 +35715,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
35604
35715
|
}
|
|
35605
35716
|
},
|
|
35606
35717
|
|
|
35607
|
-
/**
|
|
35608
|
-
* toSendMsg
|
|
35609
|
-
* @desc:核稿通知
|
|
35610
|
-
* @author liufan
|
|
35611
|
-
* @date 2022年9月29日
|
|
35718
|
+
/**
|
|
35719
|
+
* toSendMsg
|
|
35720
|
+
* @desc:核稿通知
|
|
35721
|
+
* @author liufan
|
|
35722
|
+
* @date 2022年9月29日
|
|
35612
35723
|
**/
|
|
35613
35724
|
toSendMsg: function toSendMsg(res) {
|
|
35614
35725
|
var _this25 = this;
|
|
@@ -35622,11 +35733,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
35622
35733
|
}
|
|
35623
35734
|
},
|
|
35624
35735
|
|
|
35625
|
-
/**
|
|
35626
|
-
* toTaskReadAndEnd
|
|
35627
|
-
* @desc:分阅并办结
|
|
35628
|
-
* @author liufan
|
|
35629
|
-
* @date 2022年9月29日
|
|
35736
|
+
/**
|
|
35737
|
+
* toTaskReadAndEnd
|
|
35738
|
+
* @desc:分阅并办结
|
|
35739
|
+
* @author liufan
|
|
35740
|
+
* @date 2022年9月29日
|
|
35630
35741
|
**/
|
|
35631
35742
|
toTaskReadAndEnd: function toTaskReadAndEnd(res) {
|
|
35632
35743
|
var _this26 = this;
|
|
@@ -35644,11 +35755,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
35644
35755
|
}
|
|
35645
35756
|
},
|
|
35646
35757
|
|
|
35647
|
-
/**
|
|
35648
|
-
* rejectAndEnd
|
|
35649
|
-
* @desc:驳回并办结
|
|
35650
|
-
* @author liufan
|
|
35651
|
-
* @date 2022年9月29日
|
|
35758
|
+
/**
|
|
35759
|
+
* rejectAndEnd
|
|
35760
|
+
* @desc:驳回并办结
|
|
35761
|
+
* @author liufan
|
|
35762
|
+
* @date 2022年9月29日
|
|
35652
35763
|
**/
|
|
35653
35764
|
rejectAndEnd: function rejectAndEnd(res) {
|
|
35654
35765
|
var _this27 = this;
|
|
@@ -35704,11 +35815,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
35704
35815
|
});
|
|
35705
35816
|
},
|
|
35706
35817
|
|
|
35707
|
-
/**
|
|
35708
|
-
* toTransfer
|
|
35709
|
-
* @desc:转办
|
|
35710
|
-
* @author liufan
|
|
35711
|
-
* @date 2022年9月29日
|
|
35818
|
+
/**
|
|
35819
|
+
* toTransfer
|
|
35820
|
+
* @desc:转办
|
|
35821
|
+
* @author liufan
|
|
35822
|
+
* @date 2022年9月29日
|
|
35712
35823
|
**/
|
|
35713
35824
|
toTransfer: function toTransfer(res) {
|
|
35714
35825
|
var _this29 = this;
|
|
@@ -35727,11 +35838,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
35727
35838
|
this.nextNode.customLimitTime = val;
|
|
35728
35839
|
},
|
|
35729
35840
|
|
|
35730
|
-
/**
|
|
35731
|
-
* getNodeInfo
|
|
35732
|
-
* @desc:获取节点信息
|
|
35733
|
-
* @author liufan
|
|
35734
|
-
* @date 2022年5月25日
|
|
35841
|
+
/**
|
|
35842
|
+
* getNodeInfo
|
|
35843
|
+
* @desc:获取节点信息
|
|
35844
|
+
* @author liufan
|
|
35845
|
+
* @date 2022年5月25日
|
|
35735
35846
|
**/
|
|
35736
35847
|
getNodeInfo: function getNodeInfo() {
|
|
35737
35848
|
var _this30 = this;
|
|
@@ -35878,12 +35989,12 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
35878
35989
|
});
|
|
35879
35990
|
},
|
|
35880
35991
|
|
|
35881
|
-
/**
|
|
35882
|
-
* selecNext
|
|
35883
|
-
* @desc:下步节点变化时更新数据
|
|
35884
|
-
* @author liufan
|
|
35885
|
-
* @param {String} val 当前选中值
|
|
35886
|
-
* @date 2022年5月25日
|
|
35992
|
+
/**
|
|
35993
|
+
* selecNext
|
|
35994
|
+
* @desc:下步节点变化时更新数据
|
|
35995
|
+
* @author liufan
|
|
35996
|
+
* @param {String} val 当前选中值
|
|
35997
|
+
* @date 2022年5月25日
|
|
35887
35998
|
**/
|
|
35888
35999
|
selecNext: function selecNext(val, type, isDef) {
|
|
35889
36000
|
var _this31 = this;
|
|
@@ -36023,11 +36134,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
36023
36134
|
}
|
|
36024
36135
|
},
|
|
36025
36136
|
|
|
36026
|
-
/**
|
|
36027
|
-
* isMultiple
|
|
36028
|
-
* @desc:是否多选
|
|
36029
|
-
* @author liufan
|
|
36030
|
-
* @date 2022年9月13日
|
|
36137
|
+
/**
|
|
36138
|
+
* isMultiple
|
|
36139
|
+
* @desc:是否多选
|
|
36140
|
+
* @author liufan
|
|
36141
|
+
* @date 2022年9月13日
|
|
36031
36142
|
**/
|
|
36032
36143
|
isMultiple: function isMultiple(val, choiceOrgId, choiceDeptId, pOrgId) {
|
|
36033
36144
|
if (val == 2 || val == 4 || val == 6 || val == 16) {
|
|
@@ -36059,11 +36170,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
36059
36170
|
}
|
|
36060
36171
|
},
|
|
36061
36172
|
|
|
36062
|
-
/**
|
|
36063
|
-
* getHedInfo
|
|
36064
|
-
* @desc:获取审核页面数据
|
|
36065
|
-
* @author liufan
|
|
36066
|
-
* @date 2022年5月25日
|
|
36173
|
+
/**
|
|
36174
|
+
* getHedInfo
|
|
36175
|
+
* @desc:获取审核页面数据
|
|
36176
|
+
* @author liufan
|
|
36177
|
+
* @date 2022年5月25日
|
|
36067
36178
|
**/
|
|
36068
36179
|
getHedInfo: function getHedInfo() {
|
|
36069
36180
|
var _this32 = this;
|
|
@@ -36382,13 +36493,13 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
36382
36493
|
});
|
|
36383
36494
|
},
|
|
36384
36495
|
|
|
36385
|
-
/**
|
|
36386
|
-
* closeProcess
|
|
36387
|
-
* @desc:关闭弹窗
|
|
36388
|
-
* @author liufan
|
|
36389
|
-
* @param {boolean} val 当前是否办理流程
|
|
36390
|
-
* @param {String} type 当前点击的弹窗类型
|
|
36391
|
-
* @date 2022年5月25日
|
|
36496
|
+
/**
|
|
36497
|
+
* closeProcess
|
|
36498
|
+
* @desc:关闭弹窗
|
|
36499
|
+
* @author liufan
|
|
36500
|
+
* @param {boolean} val 当前是否办理流程
|
|
36501
|
+
* @param {String} type 当前点击的弹窗类型
|
|
36502
|
+
* @date 2022年5月25日
|
|
36392
36503
|
**/
|
|
36393
36504
|
closeProcess: function closeProcess(val, type, closeParent) {
|
|
36394
36505
|
if (this.closeParent && !this.startFlowPageEmbeddedIntoStartFlowIndex) {
|
|
@@ -36408,23 +36519,23 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
36408
36519
|
}
|
|
36409
36520
|
},
|
|
36410
36521
|
|
|
36411
|
-
/**
|
|
36412
|
-
* selectChange
|
|
36413
|
-
* @desc:常用语选择
|
|
36414
|
-
* @author liufan
|
|
36415
|
-
* @param {String} val 选中值
|
|
36416
|
-
* @date 2022年5月25日
|
|
36522
|
+
/**
|
|
36523
|
+
* selectChange
|
|
36524
|
+
* @desc:常用语选择
|
|
36525
|
+
* @author liufan
|
|
36526
|
+
* @param {String} val 选中值
|
|
36527
|
+
* @date 2022年5月25日
|
|
36417
36528
|
**/
|
|
36418
36529
|
selectChange: function selectChange(val) {
|
|
36419
36530
|
this.value = val;
|
|
36420
36531
|
},
|
|
36421
36532
|
|
|
36422
|
-
/**
|
|
36423
|
-
* upDate
|
|
36424
|
-
* @desc:修改常用语
|
|
36425
|
-
* @author liufan
|
|
36426
|
-
* @param {Object} val 修改值
|
|
36427
|
-
* @date 2022年5月25日
|
|
36533
|
+
/**
|
|
36534
|
+
* upDate
|
|
36535
|
+
* @desc:修改常用语
|
|
36536
|
+
* @author liufan
|
|
36537
|
+
* @param {Object} val 修改值
|
|
36538
|
+
* @date 2022年5月25日
|
|
36428
36539
|
**/
|
|
36429
36540
|
upDate: function upDate(val) {
|
|
36430
36541
|
this.FormData.id = val.id;
|
|
@@ -36432,11 +36543,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
36432
36543
|
},
|
|
36433
36544
|
|
|
36434
36545
|
|
|
36435
|
-
/**
|
|
36436
|
-
* getProcess
|
|
36437
|
-
* @desc:获取选择流程
|
|
36438
|
-
* @author liufan
|
|
36439
|
-
* @date 2022年5月25日
|
|
36546
|
+
/**
|
|
36547
|
+
* getProcess
|
|
36548
|
+
* @desc:获取选择流程
|
|
36549
|
+
* @author liufan
|
|
36550
|
+
* @date 2022年5月25日
|
|
36440
36551
|
**/
|
|
36441
36552
|
getProcess: function getProcess(val) {
|
|
36442
36553
|
var _this33 = this;
|
|
@@ -36499,11 +36610,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
36499
36610
|
});
|
|
36500
36611
|
},
|
|
36501
36612
|
|
|
36502
|
-
/**
|
|
36503
|
-
* getPendedhistoryList
|
|
36504
|
-
* @desc:获取流程列表
|
|
36505
|
-
* @author liufan
|
|
36506
|
-
* @date 2022年5月25日
|
|
36613
|
+
/**
|
|
36614
|
+
* getPendedhistoryList
|
|
36615
|
+
* @desc:获取流程列表
|
|
36616
|
+
* @author liufan
|
|
36617
|
+
* @date 2022年5月25日
|
|
36507
36618
|
**/
|
|
36508
36619
|
getPendedhistoryList: function getPendedhistoryList() {
|
|
36509
36620
|
var _this34 = this;
|
|
@@ -36576,12 +36687,12 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
36576
36687
|
beforeSubProcess: function beforeSubProcess() {},
|
|
36577
36688
|
|
|
36578
36689
|
// 提交流程
|
|
36579
|
-
/**
|
|
36580
|
-
* subProcess
|
|
36581
|
-
* @desc:提交流程
|
|
36582
|
-
* @author liufan
|
|
36583
|
-
* @param {String} formName 当前form表单ref值
|
|
36584
|
-
* @date 2022年5月25日
|
|
36690
|
+
/**
|
|
36691
|
+
* subProcess
|
|
36692
|
+
* @desc:提交流程
|
|
36693
|
+
* @author liufan
|
|
36694
|
+
* @param {String} formName 当前form表单ref值
|
|
36695
|
+
* @date 2022年5月25日
|
|
36585
36696
|
**/
|
|
36586
36697
|
subProcess: function subProcess(val, type) {
|
|
36587
36698
|
var _this36 = this;
|