eoss-mobiles 0.3.14 → 0.3.16
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/checkbox.js +26 -8
- package/lib/config/api.js +14 -2
- package/lib/eoss-mobile.common.js +1312 -60
- package/lib/flow-btn.js +26 -8
- package/lib/flow-list.js +26 -8
- package/lib/flow.js +1329 -71
- package/lib/index.js +1 -1
- package/lib/picker.js +26 -8
- package/lib/radio.js +26 -8
- package/lib/retrial-auth.js +26 -8
- package/lib/selector.js +26 -8
- package/lib/table-column.js +26 -8
- package/lib/theme-chalk/flow.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/package.json +1 -1
- package/packages/flow/src/components/Handle.vue +2 -5
- package/packages/flow/src/components/Message.vue +1 -1
- package/packages/flow/src/components/StartFlow.vue +5 -5
- package/packages/flow/src/components/reset.vue +709 -0
- package/packages/flow/src/components/supervise.vue +118 -0
- package/packages/flow/src/main.vue +16 -0
- package/packages/theme-chalk/lib/flow.css +1 -1
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/src/flow.scss +1 -1
- package/src/config/api.js +14 -0
- package/src/index.js +1 -1
package/lib/flow.js
CHANGED
|
@@ -1620,25 +1620,25 @@ function normalizeComponent(
|
|
|
1620
1620
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "y", function() { return taskHandleHtmlImg; });
|
|
1621
1621
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "u", function() { return registerNew; });
|
|
1622
1622
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return getNodeInfo; });
|
|
1623
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1623
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "H", function() { return toStartFlow; });
|
|
1624
1624
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return findUserBaseInfo; });
|
|
1625
1625
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "A", function() { return taskRejectHtml; });
|
|
1626
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1626
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "J", function() { return toTaskRejectHtml; });
|
|
1627
1627
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "q", function() { return handleTaskRead; });
|
|
1628
1628
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "z", function() { return taskReadHtml; });
|
|
1629
1629
|
/* unused harmony export toStartTaskRead */
|
|
1630
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1631
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1630
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "I", function() { return toStartTaskReadHtml; });
|
|
1631
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "O", function() { return toTaskTransferIndex; });
|
|
1632
1632
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "D", function() { return taskTransfer; });
|
|
1633
1633
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return findSysCodes; });
|
|
1634
1634
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return getNotificationMsg; });
|
|
1635
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1635
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "P", function() { return toTaskUnionExamine; });
|
|
1636
1636
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "E", function() { return taskUnionExamine; });
|
|
1637
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1637
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "N", function() { return toTaskTakeAdvice; });
|
|
1638
1638
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "C", function() { return taskTakeAdvice; });
|
|
1639
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1639
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "K", function() { return toTaskStartDraft; });
|
|
1640
1640
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "B", function() { return taskStartDraft; });
|
|
1641
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1641
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Q", function() { return toTaskUnionSeal; });
|
|
1642
1642
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "F", function() { return taskUnionSeal; });
|
|
1643
1643
|
/* unused harmony export toTwoOfficesDispatch */
|
|
1644
1644
|
/* unused harmony export twoOfficesDispatch */
|
|
@@ -1651,6 +1651,12 @@ function normalizeComponent(
|
|
|
1651
1651
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return getProcessDefList; });
|
|
1652
1652
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "w", function() { return startReadTransferHandleFlowWithTaskReadEnd; });
|
|
1653
1653
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return freeStartFlowWithSubmitTask; });
|
|
1654
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "L", function() { return toTaskSupervise; });
|
|
1655
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "M", function() { return toTaskSuperviseSub; });
|
|
1656
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "G", function() { return toResetProcessIndex; });
|
|
1657
|
+
/* unused harmony export resetProcess */
|
|
1658
|
+
/* unused harmony export toTaskContinuationIndex */
|
|
1659
|
+
/* unused harmony export taskContinuation */
|
|
1654
1660
|
/* harmony import */ var _utils_util__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
|
|
1655
1661
|
|
|
1656
1662
|
var activiti = '/bpm';
|
|
@@ -1756,6 +1762,18 @@ var getProcessDefList = '/bpm/v1/mecpItask/getProcessDefList.json';
|
|
|
1756
1762
|
var startReadTransferHandleFlowWithTaskReadEnd = '/bpm/bpmBackend/startReadTransferHandleFlowWithTaskReadEnd';
|
|
1757
1763
|
// 自由发起流程提交
|
|
1758
1764
|
var freeStartFlowWithSubmitTask = '/bpm/bpmBackend/freeStartFlowWithSubmitTask';
|
|
1765
|
+
// 获取督办页面信息
|
|
1766
|
+
var toTaskSupervise = '/bpm/bpmBackend/toTaskSupervise';
|
|
1767
|
+
// 督办提交
|
|
1768
|
+
var toTaskSuperviseSub = '/bpm/bpmBackend/taskSupervise';
|
|
1769
|
+
// 重设流程
|
|
1770
|
+
var toResetProcessIndex = '/bpm/bpmBackend/toResetProcessIndex';
|
|
1771
|
+
// 提交重设流程
|
|
1772
|
+
var resetProcess = '/bpm/task/taskHandle/resetProcess.dhtml';
|
|
1773
|
+
// 续办流程
|
|
1774
|
+
var toTaskContinuationIndex = '/bpm/bpmBackend/toTaskContinuationIndex';
|
|
1775
|
+
// 续办提交
|
|
1776
|
+
var taskContinuation = '/bpm/task/taskHandle/taskContinuation.dhtml';
|
|
1759
1777
|
|
|
1760
1778
|
/***/ }),
|
|
1761
1779
|
/* 3 */
|
|
@@ -2095,7 +2113,7 @@ module.exports = require("sm-crypto");
|
|
|
2095
2113
|
// ESM COMPAT FLAG
|
|
2096
2114
|
__webpack_require__.r(__webpack_exports__);
|
|
2097
2115
|
|
|
2098
|
-
// 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=
|
|
2116
|
+
// 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=a746ec3a
|
|
2099
2117
|
var render = function () {
|
|
2100
2118
|
var _vm = this
|
|
2101
2119
|
var _h = _vm.$createElement
|
|
@@ -2181,6 +2199,27 @@ var render = function () {
|
|
|
2181
2199
|
false
|
|
2182
2200
|
)
|
|
2183
2201
|
)
|
|
2202
|
+
: _vm.type === "supervise"
|
|
2203
|
+
? _c(
|
|
2204
|
+
"Supervise",
|
|
2205
|
+
_vm._b(
|
|
2206
|
+
{ attrs: { userId: _vm.userId, type: _vm.type } },
|
|
2207
|
+
"Supervise",
|
|
2208
|
+
_vm.$attrs,
|
|
2209
|
+
false
|
|
2210
|
+
)
|
|
2211
|
+
)
|
|
2212
|
+
: _vm._e(),
|
|
2213
|
+
_vm.type === "reset" || _vm.type == "continuation"
|
|
2214
|
+
? _c(
|
|
2215
|
+
"Reset",
|
|
2216
|
+
_vm._b(
|
|
2217
|
+
{ attrs: { userId: _vm.userId, beforeSubmit: _vm.beforeSubmit } },
|
|
2218
|
+
"Reset",
|
|
2219
|
+
_vm.$attrs,
|
|
2220
|
+
false
|
|
2221
|
+
)
|
|
2222
|
+
)
|
|
2184
2223
|
: _vm._e(),
|
|
2185
2224
|
],
|
|
2186
2225
|
1
|
|
@@ -2190,10 +2229,10 @@ var staticRenderFns = []
|
|
|
2190
2229
|
render._withStripped = true
|
|
2191
2230
|
|
|
2192
2231
|
|
|
2193
|
-
// CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=
|
|
2232
|
+
// CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=a746ec3a
|
|
2194
2233
|
|
|
2195
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/StartFlow.vue?vue&type=template&id=
|
|
2196
|
-
var
|
|
2234
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/StartFlow.vue?vue&type=template&id=00776333
|
|
2235
|
+
var StartFlowvue_type_template_id_00776333_render = function () {
|
|
2197
2236
|
var _vm = this
|
|
2198
2237
|
var _h = _vm.$createElement
|
|
2199
2238
|
var _c = _vm._self._c || _h
|
|
@@ -2503,11 +2542,11 @@ var StartFlowvue_type_template_id_46cbe8d2_render = function () {
|
|
|
2503
2542
|
]),
|
|
2504
2543
|
])
|
|
2505
2544
|
}
|
|
2506
|
-
var
|
|
2507
|
-
|
|
2545
|
+
var StartFlowvue_type_template_id_00776333_staticRenderFns = []
|
|
2546
|
+
StartFlowvue_type_template_id_00776333_render._withStripped = true
|
|
2508
2547
|
|
|
2509
2548
|
|
|
2510
|
-
// CONCATENATED MODULE: ./packages/flow/src/components/StartFlow.vue?vue&type=template&id=
|
|
2549
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/StartFlow.vue?vue&type=template&id=00776333
|
|
2511
2550
|
|
|
2512
2551
|
// EXTERNAL MODULE: ./src/config/api.js
|
|
2513
2552
|
var api = __webpack_require__(2);
|
|
@@ -3046,8 +3085,8 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
3046
3085
|
)
|
|
3047
3086
|
|
|
3048
3087
|
/* harmony default export */ var Opinion = (component.exports);
|
|
3049
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Message.vue?vue&type=template&id=
|
|
3050
|
-
var
|
|
3088
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Message.vue?vue&type=template&id=0e3cd890
|
|
3089
|
+
var Messagevue_type_template_id_0e3cd890_render = function () {
|
|
3051
3090
|
var _vm = this
|
|
3052
3091
|
var _h = _vm.$createElement
|
|
3053
3092
|
var _c = _vm._self._c || _h
|
|
@@ -3135,11 +3174,11 @@ var Messagevue_type_template_id_0946c64a_render = function () {
|
|
|
3135
3174
|
1
|
|
3136
3175
|
)
|
|
3137
3176
|
}
|
|
3138
|
-
var
|
|
3139
|
-
|
|
3177
|
+
var Messagevue_type_template_id_0e3cd890_staticRenderFns = []
|
|
3178
|
+
Messagevue_type_template_id_0e3cd890_render._withStripped = true
|
|
3140
3179
|
|
|
3141
3180
|
|
|
3142
|
-
// CONCATENATED MODULE: ./packages/flow/src/components/Message.vue?vue&type=template&id=
|
|
3181
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/Message.vue?vue&type=template&id=0e3cd890
|
|
3143
3182
|
|
|
3144
3183
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Message.vue?vue&type=script&lang=js
|
|
3145
3184
|
//
|
|
@@ -3261,7 +3300,7 @@ Messagevue_type_template_id_0946c64a_render._withStripped = true
|
|
|
3261
3300
|
},
|
|
3262
3301
|
// 监听默认消息类型
|
|
3263
3302
|
defaultNotificationType: function defaultNotificationType(val) {
|
|
3264
|
-
|
|
3303
|
+
console.log(val);
|
|
3265
3304
|
if (val) {
|
|
3266
3305
|
var arr = [];
|
|
3267
3306
|
this.newList.map(function (item) {
|
|
@@ -3359,8 +3398,8 @@ Messagevue_type_template_id_0946c64a_render._withStripped = true
|
|
|
3359
3398
|
|
|
3360
3399
|
var Message_component = Object(componentNormalizer["a" /* default */])(
|
|
3361
3400
|
components_Messagevue_type_script_lang_js,
|
|
3362
|
-
|
|
3363
|
-
|
|
3401
|
+
Messagevue_type_template_id_0e3cd890_render,
|
|
3402
|
+
Messagevue_type_template_id_0e3cd890_staticRenderFns,
|
|
3364
3403
|
false,
|
|
3365
3404
|
null,
|
|
3366
3405
|
null,
|
|
@@ -4071,7 +4110,7 @@ var StartFlowvue_type_script_lang_js_typeof = typeof Symbol === "function" && ty
|
|
|
4071
4110
|
},
|
|
4072
4111
|
formType: {
|
|
4073
4112
|
type: String,
|
|
4074
|
-
default: '
|
|
4113
|
+
default: ''
|
|
4075
4114
|
},
|
|
4076
4115
|
taskParams: {
|
|
4077
4116
|
type: Object,
|
|
@@ -4308,11 +4347,11 @@ var StartFlowvue_type_script_lang_js_typeof = typeof Symbol === "function" && ty
|
|
|
4308
4347
|
if (_that.formType == 'freeStart' && !_that.isFreeStartFlow) {
|
|
4309
4348
|
_this2.$emit('closePop');
|
|
4310
4349
|
} else {
|
|
4311
|
-
if
|
|
4312
|
-
|
|
4313
|
-
}
|
|
4314
|
-
|
|
4315
|
-
}
|
|
4350
|
+
// if(_that.formType == 'freeStart'){
|
|
4351
|
+
// _that.$emit('success');
|
|
4352
|
+
// }else{
|
|
4353
|
+
_that.$parent.$emit('success');
|
|
4354
|
+
// }
|
|
4316
4355
|
}
|
|
4317
4356
|
} else {
|
|
4318
4357
|
_this2.$toast(res.msg);
|
|
@@ -4416,7 +4455,7 @@ var StartFlowvue_type_script_lang_js_typeof = typeof Symbol === "function" && ty
|
|
|
4416
4455
|
var that = this;
|
|
4417
4456
|
return new Promise(function (resolve, reiect) {
|
|
4418
4457
|
Object(http["a" /* default */])({
|
|
4419
|
-
url: that.apiBaseUrl ? that.apiBaseUrl + api["
|
|
4458
|
+
url: that.apiBaseUrl ? that.apiBaseUrl + api["H" /* toStartFlow */] : api["H" /* toStartFlow */],
|
|
4420
4459
|
params: {
|
|
4421
4460
|
params: StartFlowvue_type_script_lang_js_extends({}, res, {
|
|
4422
4461
|
userId: that.userId || util["a" /* default */].getStorage('userId')
|
|
@@ -4542,8 +4581,8 @@ var StartFlowvue_type_script_lang_js_typeof = typeof Symbol === "function" && ty
|
|
|
4542
4581
|
|
|
4543
4582
|
var StartFlow_component = Object(componentNormalizer["a" /* default */])(
|
|
4544
4583
|
components_StartFlowvue_type_script_lang_js,
|
|
4545
|
-
|
|
4546
|
-
|
|
4584
|
+
StartFlowvue_type_template_id_00776333_render,
|
|
4585
|
+
StartFlowvue_type_template_id_00776333_staticRenderFns,
|
|
4547
4586
|
false,
|
|
4548
4587
|
null,
|
|
4549
4588
|
null,
|
|
@@ -4552,8 +4591,8 @@ var StartFlow_component = Object(componentNormalizer["a" /* default */])(
|
|
|
4552
4591
|
)
|
|
4553
4592
|
|
|
4554
4593
|
/* harmony default export */ var StartFlow = (StartFlow_component.exports);
|
|
4555
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Handle.vue?vue&type=template&id=
|
|
4556
|
-
var
|
|
4594
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Handle.vue?vue&type=template&id=2f778f92
|
|
4595
|
+
var Handlevue_type_template_id_2f778f92_render = function () {
|
|
4557
4596
|
var _vm = this
|
|
4558
4597
|
var _h = _vm.$createElement
|
|
4559
4598
|
var _c = _vm._self._c || _h
|
|
@@ -4580,7 +4619,6 @@ var Handlevue_type_template_id_12279880_render = function () {
|
|
|
4580
4619
|
close: function ($event) {
|
|
4581
4620
|
_vm.showFreeStart = false
|
|
4582
4621
|
},
|
|
4583
|
-
success: _vm.handleSuccess,
|
|
4584
4622
|
closePop: function ($event) {
|
|
4585
4623
|
_vm.showFreeStart = false
|
|
4586
4624
|
},
|
|
@@ -5890,11 +5928,11 @@ var Handlevue_type_template_id_12279880_render = function () {
|
|
|
5890
5928
|
1
|
|
5891
5929
|
)
|
|
5892
5930
|
}
|
|
5893
|
-
var
|
|
5894
|
-
|
|
5931
|
+
var Handlevue_type_template_id_2f778f92_staticRenderFns = []
|
|
5932
|
+
Handlevue_type_template_id_2f778f92_render._withStripped = true
|
|
5895
5933
|
|
|
5896
5934
|
|
|
5897
|
-
// CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=
|
|
5935
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=2f778f92
|
|
5898
5936
|
|
|
5899
5937
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Reject.vue?vue&type=template&id=46f10c43
|
|
5900
5938
|
var Rejectvue_type_template_id_46f10c43_render = function () {
|
|
@@ -6213,7 +6251,7 @@ var Rejectvue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
6213
6251
|
duration: 0
|
|
6214
6252
|
});
|
|
6215
6253
|
Object(http["a" /* default */])({
|
|
6216
|
-
url: _that.baseUrl ? _that.baseUrl + api["
|
|
6254
|
+
url: _that.baseUrl ? _that.baseUrl + api["J" /* toTaskRejectHtml */] : api["J" /* toTaskRejectHtml */],
|
|
6217
6255
|
params: {
|
|
6218
6256
|
pendingId: this.pendingId,
|
|
6219
6257
|
isSinglePage: false,
|
|
@@ -6312,7 +6350,7 @@ var Reject_component = Object(componentNormalizer["a" /* default */])(
|
|
|
6312
6350
|
duration: 0
|
|
6313
6351
|
});
|
|
6314
6352
|
Object(http["a" /* default */])({
|
|
6315
|
-
url: _that.baseUrl ? _that.baseUrl + api["
|
|
6353
|
+
url: _that.baseUrl ? _that.baseUrl + api["J" /* toTaskRejectHtml */] : api["J" /* toTaskRejectHtml */],
|
|
6316
6354
|
params: {
|
|
6317
6355
|
appid: this.appid,
|
|
6318
6356
|
pendingId: this.pendingId,
|
|
@@ -6537,7 +6575,7 @@ var Reject_component = Object(componentNormalizer["a" /* default */])(
|
|
|
6537
6575
|
|
|
6538
6576
|
var _that = this;
|
|
6539
6577
|
Object(http["a" /* default */])({
|
|
6540
|
-
url: _that.baseUrl ? _that.baseUrl + api["
|
|
6578
|
+
url: _that.baseUrl ? _that.baseUrl + api["I" /* toStartTaskReadHtml */] : api["I" /* toStartTaskReadHtml */],
|
|
6541
6579
|
params: {
|
|
6542
6580
|
appId: this.appid,
|
|
6543
6581
|
pendingId: this.pendingId,
|
|
@@ -7122,7 +7160,6 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
7122
7160
|
//
|
|
7123
7161
|
//
|
|
7124
7162
|
//
|
|
7125
|
-
//
|
|
7126
7163
|
|
|
7127
7164
|
|
|
7128
7165
|
|
|
@@ -7181,7 +7218,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
7181
7218
|
return _ref = {
|
|
7182
7219
|
AddSignList: [{ name: '前置加签', value: 'preAddSign' }, { name: '后置加签', value: 'postAddSign' }],
|
|
7183
7220
|
otherOrgDisabledObjId: [],
|
|
7184
|
-
processFormType:
|
|
7221
|
+
processFormType: 'freeStart',
|
|
7185
7222
|
currentOrgDisabledObjId: [],
|
|
7186
7223
|
nextNodeDefault: 0,
|
|
7187
7224
|
showDefList: false,
|
|
@@ -7318,9 +7355,6 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
7318
7355
|
}
|
|
7319
7356
|
},
|
|
7320
7357
|
methods: {
|
|
7321
|
-
handleSuccess: function handleSuccess() {
|
|
7322
|
-
this.$parent.$emit('success');
|
|
7323
|
-
},
|
|
7324
7358
|
handleClickDefList: function handleClickDefList(info) {
|
|
7325
7359
|
this.freeStartFlowParams.defId = info.defId;
|
|
7326
7360
|
this.showFreeStart = true;
|
|
@@ -8059,7 +8093,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
8059
8093
|
var _this8 = this;
|
|
8060
8094
|
|
|
8061
8095
|
Object(http["a" /* default */])({
|
|
8062
|
-
url: this.baseUrl ? this.baseUrl + api["
|
|
8096
|
+
url: this.baseUrl ? this.baseUrl + api["I" /* toStartTaskReadHtml */] : api["I" /* toStartTaskReadHtml */],
|
|
8063
8097
|
params: { pendingId: this.pendingId, userId: this.userId }
|
|
8064
8098
|
}).then(function (res) {
|
|
8065
8099
|
var status = res.status,
|
|
@@ -8249,8 +8283,8 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
8249
8283
|
|
|
8250
8284
|
var Handle_component = Object(componentNormalizer["a" /* default */])(
|
|
8251
8285
|
components_Handlevue_type_script_lang_js,
|
|
8252
|
-
|
|
8253
|
-
|
|
8286
|
+
Handlevue_type_template_id_2f778f92_render,
|
|
8287
|
+
Handlevue_type_template_id_2f778f92_staticRenderFns,
|
|
8254
8288
|
false,
|
|
8255
8289
|
null,
|
|
8256
8290
|
null,
|
|
@@ -8795,7 +8829,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
8795
8829
|
taskExamine = this.taskExamine;
|
|
8796
8830
|
|
|
8797
8831
|
var params = {
|
|
8798
|
-
url: this.baseUrl ? this.baseUrl + api["
|
|
8832
|
+
url: this.baseUrl ? this.baseUrl + api["O" /* toTaskTransferIndex */] : api["O" /* toTaskTransferIndex */],
|
|
8799
8833
|
params: {
|
|
8800
8834
|
opinion: opinion,
|
|
8801
8835
|
pendingId: pendingId,
|
|
@@ -8903,7 +8937,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
8903
8937
|
if (_that.newType != 'taskReadAndEnd') delete params.taskAction;
|
|
8904
8938
|
|
|
8905
8939
|
Object(http["a" /* default */])({
|
|
8906
|
-
url: _that.baseUrl ? _that.baseUrl + api["
|
|
8940
|
+
url: _that.baseUrl ? _that.baseUrl + api["I" /* toStartTaskReadHtml */] : api["I" /* toStartTaskReadHtml */],
|
|
8907
8941
|
params: params
|
|
8908
8942
|
}).then(function (res) {
|
|
8909
8943
|
_that.$toast.clear();
|
|
@@ -9628,7 +9662,7 @@ taskUnionExaminevue_type_template_id_78d96d93_render._withStripped = true
|
|
|
9628
9662
|
var _this5 = this;
|
|
9629
9663
|
|
|
9630
9664
|
var params = {
|
|
9631
|
-
url: this.type == 'takeAdvice' ? api["
|
|
9665
|
+
url: this.type == 'takeAdvice' ? api["N" /* toTaskTakeAdvice */] : this.type === 'startDraf' ? api["K" /* toTaskStartDraft */] : this.type == 'unionSeal' ? api["Q" /* toTaskUnionSeal */] : this.type == 'twoOfficesDispatch' ? toTwoOfficesDispatch : api["P" /* toTaskUnionExamine */],
|
|
9632
9666
|
params: { pendingId: this.pendingId, userId: this.userId },
|
|
9633
9667
|
headers: { Accept: 'application/json,text/plain' }
|
|
9634
9668
|
};
|
|
@@ -9853,7 +9887,7 @@ taskUnionExaminevue_type_template_id_78d96d93_render._withStripped = true
|
|
|
9853
9887
|
// duration: 0
|
|
9854
9888
|
// });
|
|
9855
9889
|
Object(http["a" /* default */])({
|
|
9856
|
-
url: _that.baseUrl ? _that.baseUrl + api["
|
|
9890
|
+
url: _that.baseUrl ? _that.baseUrl + api["P" /* toTaskUnionExamine */] : api["P" /* toTaskUnionExamine */],
|
|
9857
9891
|
params: {
|
|
9858
9892
|
pendingId: this.pendingId
|
|
9859
9893
|
}
|
|
@@ -9922,24 +9956,76 @@ var taskUnionExamine_component = Object(componentNormalizer["a" /* default */])(
|
|
|
9922
9956
|
)
|
|
9923
9957
|
|
|
9924
9958
|
/* harmony default export */ var taskUnionExamine = (taskUnionExamine_component.exports);
|
|
9925
|
-
// CONCATENATED MODULE: ./node_modules/
|
|
9926
|
-
|
|
9927
|
-
|
|
9928
|
-
|
|
9929
|
-
|
|
9930
|
-
|
|
9931
|
-
|
|
9932
|
-
|
|
9933
|
-
|
|
9934
|
-
|
|
9935
|
-
|
|
9936
|
-
|
|
9937
|
-
|
|
9938
|
-
|
|
9939
|
-
|
|
9940
|
-
|
|
9941
|
-
|
|
9942
|
-
|
|
9959
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/supervise.vue?vue&type=template&id=3c4c1f3e
|
|
9960
|
+
var supervisevue_type_template_id_3c4c1f3e_render = function () {
|
|
9961
|
+
var _vm = this
|
|
9962
|
+
var _h = _vm.$createElement
|
|
9963
|
+
var _c = _vm._self._c || _h
|
|
9964
|
+
return _c(
|
|
9965
|
+
"div",
|
|
9966
|
+
{ staticClass: "flow-supervise" },
|
|
9967
|
+
[
|
|
9968
|
+
_c("em-input", {
|
|
9969
|
+
attrs: { "label-width": "90", label: "标题", readonly: "" },
|
|
9970
|
+
model: {
|
|
9971
|
+
value: _vm.form.pendTitle,
|
|
9972
|
+
callback: function ($$v) {
|
|
9973
|
+
_vm.$set(_vm.form, "pendTitle", $$v)
|
|
9974
|
+
},
|
|
9975
|
+
expression: "form.pendTitle",
|
|
9976
|
+
},
|
|
9977
|
+
}),
|
|
9978
|
+
_c("em-input", {
|
|
9979
|
+
attrs: { "label-width": "90", label: "当前办理节点", readonly: "" },
|
|
9980
|
+
model: {
|
|
9981
|
+
value: _vm.form.currentHandleNode,
|
|
9982
|
+
callback: function ($$v) {
|
|
9983
|
+
_vm.$set(_vm.form, "currentHandleNode", $$v)
|
|
9984
|
+
},
|
|
9985
|
+
expression: "form.currentHandleNode",
|
|
9986
|
+
},
|
|
9987
|
+
}),
|
|
9988
|
+
_c("em-input", {
|
|
9989
|
+
attrs: { "label-width": "90", label: "当前办理人", readonly: "" },
|
|
9990
|
+
model: {
|
|
9991
|
+
value: _vm.form.pendingUserNames,
|
|
9992
|
+
callback: function ($$v) {
|
|
9993
|
+
_vm.$set(_vm.form, "pendingUserNames", $$v)
|
|
9994
|
+
},
|
|
9995
|
+
expression: "form.pendingUserNames",
|
|
9996
|
+
},
|
|
9997
|
+
}),
|
|
9998
|
+
_c("Message", {
|
|
9999
|
+
ref: "message",
|
|
10000
|
+
attrs: {
|
|
10001
|
+
code: "notification_type",
|
|
10002
|
+
baseUrl: _vm.baseUrl,
|
|
10003
|
+
showMsg: true,
|
|
10004
|
+
defaultNotificationType: _vm.form.noticeType,
|
|
10005
|
+
defaultNotificationMsg: _vm.form.notifyMessage,
|
|
10006
|
+
onlyShowType: "",
|
|
10007
|
+
},
|
|
10008
|
+
on: { onInputMsg: _vm.onInputMsg },
|
|
10009
|
+
}),
|
|
10010
|
+
_c("div", { staticClass: "btn-list" }, [
|
|
10011
|
+
_c("div", { staticClass: "btn", on: { click: _vm.goBack } }, [
|
|
10012
|
+
_vm._v("取消"),
|
|
10013
|
+
]),
|
|
10014
|
+
_c("div", { staticClass: "btn", on: { click: _vm.onSubmit } }, [
|
|
10015
|
+
_vm._v("确定"),
|
|
10016
|
+
]),
|
|
10017
|
+
]),
|
|
10018
|
+
],
|
|
10019
|
+
1
|
|
10020
|
+
)
|
|
10021
|
+
}
|
|
10022
|
+
var supervisevue_type_template_id_3c4c1f3e_staticRenderFns = []
|
|
10023
|
+
supervisevue_type_template_id_3c4c1f3e_render._withStripped = true
|
|
10024
|
+
|
|
10025
|
+
|
|
10026
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/supervise.vue?vue&type=template&id=3c4c1f3e
|
|
10027
|
+
|
|
10028
|
+
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/supervise.vue?vue&type=script&lang=js
|
|
9943
10029
|
//
|
|
9944
10030
|
//
|
|
9945
10031
|
//
|
|
@@ -9967,6 +10053,1176 @@ var taskUnionExamine_component = Object(componentNormalizer["a" /* default */])(
|
|
|
9967
10053
|
|
|
9968
10054
|
|
|
9969
10055
|
|
|
10056
|
+
/* harmony default export */ var supervisevue_type_script_lang_js = ({
|
|
10057
|
+
components: { Message: Message },
|
|
10058
|
+
props: {
|
|
10059
|
+
baseUrl: String,
|
|
10060
|
+
businessId: String
|
|
10061
|
+
},
|
|
10062
|
+
data: function data() {
|
|
10063
|
+
return {
|
|
10064
|
+
form: {
|
|
10065
|
+
title: '123'
|
|
10066
|
+
}
|
|
10067
|
+
};
|
|
10068
|
+
},
|
|
10069
|
+
mounted: function mounted() {
|
|
10070
|
+
this.getFlowInfo();
|
|
10071
|
+
},
|
|
10072
|
+
|
|
10073
|
+
methods: {
|
|
10074
|
+
onSubmit: function onSubmit() {
|
|
10075
|
+
var _this = this;
|
|
10076
|
+
|
|
10077
|
+
console.log('点击了提交');
|
|
10078
|
+
if (this.form.noticeType.length == 0) {
|
|
10079
|
+
this.$toast('请选择通知方式');
|
|
10080
|
+
return;
|
|
10081
|
+
}
|
|
10082
|
+
if (!this.form.notificationMsg) {
|
|
10083
|
+
this.$toast('请填写通知消息内容');
|
|
10084
|
+
return;
|
|
10085
|
+
}
|
|
10086
|
+
var _form = this.form,
|
|
10087
|
+
noticeType = _form.noticeType,
|
|
10088
|
+
notificationMsg = _form.notificationMsg,
|
|
10089
|
+
pendingUserIds = _form.pendingUserIds;
|
|
10090
|
+
|
|
10091
|
+
var params = {
|
|
10092
|
+
url: api["M" /* toTaskSuperviseSub */],
|
|
10093
|
+
params: {
|
|
10094
|
+
userId: util["a" /* default */].getStorage('userId'),
|
|
10095
|
+
urgeUserIds: pendingUserIds,
|
|
10096
|
+
notificationType: noticeType, notificationMessage: notificationMsg,
|
|
10097
|
+
businessId: this.businessId
|
|
10098
|
+
}
|
|
10099
|
+
};
|
|
10100
|
+
this.$toast.loading({
|
|
10101
|
+
duration: 0,
|
|
10102
|
+
forbidClick: true,
|
|
10103
|
+
message: '提交中...'
|
|
10104
|
+
});
|
|
10105
|
+
Object(http["a" /* default */])(params).then(function (res) {
|
|
10106
|
+
_this.$toast.clear();
|
|
10107
|
+
if (res.rCode == 0 || res.status == 'success') {
|
|
10108
|
+
_this.$toast('提交成功');
|
|
10109
|
+
_this.$parent.$emit('success');
|
|
10110
|
+
} else {
|
|
10111
|
+
_this.$message.error(res.message || '系统错误,请联系管理员!');
|
|
10112
|
+
}
|
|
10113
|
+
});
|
|
10114
|
+
},
|
|
10115
|
+
goBack: function goBack() {
|
|
10116
|
+
this.$parent.$emit('close');
|
|
10117
|
+
},
|
|
10118
|
+
getFlowInfo: function getFlowInfo() {
|
|
10119
|
+
var _this2 = this;
|
|
10120
|
+
|
|
10121
|
+
this.$toast.loading({
|
|
10122
|
+
duration: 0,
|
|
10123
|
+
forbidClick: true,
|
|
10124
|
+
message: '加载中...'
|
|
10125
|
+
});
|
|
10126
|
+
Object(http["a" /* default */])({
|
|
10127
|
+
url: api["L" /* toTaskSupervise */],
|
|
10128
|
+
params: {
|
|
10129
|
+
businessId: this.businessId,
|
|
10130
|
+
userId: util["a" /* default */].getStorage('userId')
|
|
10131
|
+
}
|
|
10132
|
+
}).then(function (res) {
|
|
10133
|
+
_this2.$toast.clear();
|
|
10134
|
+
if (res.rCode == 0) {
|
|
10135
|
+
_this2.form = res.results;
|
|
10136
|
+
_this2.form.noticeType = res.results.defaultNotificationType.split(',');
|
|
10137
|
+
} else {
|
|
10138
|
+
_this2.$toast(res.msg);
|
|
10139
|
+
_this2.goBack();
|
|
10140
|
+
}
|
|
10141
|
+
});
|
|
10142
|
+
},
|
|
10143
|
+
|
|
10144
|
+
// 通知消息回调
|
|
10145
|
+
onInputMsg: function onInputMsg(obj) {
|
|
10146
|
+
this.form.noticeType = obj.notificationType.join(',');
|
|
10147
|
+
this.form.notificationMsg = obj.notificationMsg;
|
|
10148
|
+
}
|
|
10149
|
+
}
|
|
10150
|
+
});
|
|
10151
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/supervise.vue?vue&type=script&lang=js
|
|
10152
|
+
/* harmony default export */ var components_supervisevue_type_script_lang_js = (supervisevue_type_script_lang_js);
|
|
10153
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/supervise.vue
|
|
10154
|
+
|
|
10155
|
+
|
|
10156
|
+
|
|
10157
|
+
|
|
10158
|
+
|
|
10159
|
+
/* normalize component */
|
|
10160
|
+
|
|
10161
|
+
var supervise_component = Object(componentNormalizer["a" /* default */])(
|
|
10162
|
+
components_supervisevue_type_script_lang_js,
|
|
10163
|
+
supervisevue_type_template_id_3c4c1f3e_render,
|
|
10164
|
+
supervisevue_type_template_id_3c4c1f3e_staticRenderFns,
|
|
10165
|
+
false,
|
|
10166
|
+
null,
|
|
10167
|
+
null,
|
|
10168
|
+
null
|
|
10169
|
+
|
|
10170
|
+
)
|
|
10171
|
+
|
|
10172
|
+
/* harmony default export */ var supervise = (supervise_component.exports);
|
|
10173
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/reset.vue?vue&type=template&id=b2f284b2
|
|
10174
|
+
var resetvue_type_template_id_b2f284b2_render = function () {
|
|
10175
|
+
var _vm = this
|
|
10176
|
+
var _h = _vm.$createElement
|
|
10177
|
+
var _c = _vm._self._c || _h
|
|
10178
|
+
return _c("div", { staticClass: "process-start" }, [
|
|
10179
|
+
_c(
|
|
10180
|
+
"div",
|
|
10181
|
+
{ staticClass: "startFlow-content" },
|
|
10182
|
+
[
|
|
10183
|
+
_vm.showPresentNode
|
|
10184
|
+
? _c("div", { staticClass: "present-node" }, [
|
|
10185
|
+
_c("div", { staticClass: "label" }, [_vm._v("当前节点:")]),
|
|
10186
|
+
_c("div", [_vm._v(_vm._s(_vm.processObj.nodeName))]),
|
|
10187
|
+
])
|
|
10188
|
+
: _vm._e(),
|
|
10189
|
+
_vm.showOpinion
|
|
10190
|
+
? _c("Opinion", {
|
|
10191
|
+
attrs: {
|
|
10192
|
+
code: _vm.processObj.attachedCode,
|
|
10193
|
+
ownId: _vm.businessId,
|
|
10194
|
+
esign: _vm.esign,
|
|
10195
|
+
oldOpinion: _vm.form.opinion,
|
|
10196
|
+
esignLineWidth:
|
|
10197
|
+
_vm.$attrs["esign-line-width"] ||
|
|
10198
|
+
_vm.$attrs["esignLineWidth"],
|
|
10199
|
+
isFile: false,
|
|
10200
|
+
baseUrl: _vm.baseUrl,
|
|
10201
|
+
isOpinionRequired: _vm.isOpinionRequired,
|
|
10202
|
+
disabled: _vm.isBanInputOpinion != 0,
|
|
10203
|
+
},
|
|
10204
|
+
on: { onInputOpintion: _vm.onInputOpintion },
|
|
10205
|
+
})
|
|
10206
|
+
: _vm._e(),
|
|
10207
|
+
_c("div", { staticClass: "input-box" }, [
|
|
10208
|
+
_c(
|
|
10209
|
+
"div",
|
|
10210
|
+
[
|
|
10211
|
+
_c(
|
|
10212
|
+
"div",
|
|
10213
|
+
{
|
|
10214
|
+
directives: [
|
|
10215
|
+
{
|
|
10216
|
+
name: "show",
|
|
10217
|
+
rawName: "v-show",
|
|
10218
|
+
value: _vm.isNextBox,
|
|
10219
|
+
expression: "isNextBox",
|
|
10220
|
+
},
|
|
10221
|
+
],
|
|
10222
|
+
staticClass: "next-box",
|
|
10223
|
+
},
|
|
10224
|
+
[
|
|
10225
|
+
_c(
|
|
10226
|
+
"div",
|
|
10227
|
+
{ staticClass: "item" },
|
|
10228
|
+
[
|
|
10229
|
+
_c("em-picker", {
|
|
10230
|
+
attrs: {
|
|
10231
|
+
title: "下步节点",
|
|
10232
|
+
label: "下步节点",
|
|
10233
|
+
required: "",
|
|
10234
|
+
"show-toolbar": "",
|
|
10235
|
+
"label-width": "100%",
|
|
10236
|
+
columns: _vm.nodeList,
|
|
10237
|
+
"value-key": "nodeId",
|
|
10238
|
+
"label-key": "nodeName",
|
|
10239
|
+
},
|
|
10240
|
+
on: {
|
|
10241
|
+
confirm: _vm.onConfirmNextNode,
|
|
10242
|
+
cancel: function ($event) {
|
|
10243
|
+
_vm.showNextNodeList = false
|
|
10244
|
+
},
|
|
10245
|
+
},
|
|
10246
|
+
model: {
|
|
10247
|
+
value: _vm.form.nextNodeName,
|
|
10248
|
+
callback: function ($$v) {
|
|
10249
|
+
_vm.$set(_vm.form, "nextNodeName", $$v)
|
|
10250
|
+
},
|
|
10251
|
+
expression: "form.nextNodeName",
|
|
10252
|
+
},
|
|
10253
|
+
}),
|
|
10254
|
+
],
|
|
10255
|
+
1
|
|
10256
|
+
),
|
|
10257
|
+
]
|
|
10258
|
+
),
|
|
10259
|
+
_c(
|
|
10260
|
+
"div",
|
|
10261
|
+
{ staticClass: "item item-two-line" },
|
|
10262
|
+
[
|
|
10263
|
+
_c("em-selector", {
|
|
10264
|
+
attrs: {
|
|
10265
|
+
multiple: !_vm.isRadio,
|
|
10266
|
+
isAllCheck: _vm.isAllCheck,
|
|
10267
|
+
required: "",
|
|
10268
|
+
param: {
|
|
10269
|
+
pid: _vm.pid,
|
|
10270
|
+
onlyMyOrg: false,
|
|
10271
|
+
},
|
|
10272
|
+
disabled:
|
|
10273
|
+
!_vm.isCustomUser ||
|
|
10274
|
+
_vm.isCurrentNodeForbiddenChangeCandidate == 1,
|
|
10275
|
+
baseUrl: _vm.apiBaseUrl,
|
|
10276
|
+
paddingTop: _vm.paddingTop,
|
|
10277
|
+
objType: _vm.objType,
|
|
10278
|
+
nextUserList: _vm.nextUserList,
|
|
10279
|
+
label: "办理人",
|
|
10280
|
+
},
|
|
10281
|
+
on: {
|
|
10282
|
+
change: function ($event) {
|
|
10283
|
+
_vm.handleChange($event, "nextUserSelectList")
|
|
10284
|
+
},
|
|
10285
|
+
},
|
|
10286
|
+
model: {
|
|
10287
|
+
value: _vm.nextUserSelectList,
|
|
10288
|
+
callback: function ($$v) {
|
|
10289
|
+
_vm.nextUserSelectList = $$v
|
|
10290
|
+
},
|
|
10291
|
+
expression: "nextUserSelectList",
|
|
10292
|
+
},
|
|
10293
|
+
}),
|
|
10294
|
+
],
|
|
10295
|
+
1
|
|
10296
|
+
),
|
|
10297
|
+
_vm.enableCustomLimitTimeSetting
|
|
10298
|
+
? _c(
|
|
10299
|
+
"div",
|
|
10300
|
+
{ staticClass: "item" },
|
|
10301
|
+
[
|
|
10302
|
+
!_vm.showCustomLimitTimeText
|
|
10303
|
+
? _c(
|
|
10304
|
+
"em-picker",
|
|
10305
|
+
{
|
|
10306
|
+
attrs: {
|
|
10307
|
+
label: "限时办理",
|
|
10308
|
+
title: "限时办理",
|
|
10309
|
+
placeholder: "请选择",
|
|
10310
|
+
sysAppCode: "bpm_custom_limit_time",
|
|
10311
|
+
"show-toolbar": "",
|
|
10312
|
+
},
|
|
10313
|
+
model: {
|
|
10314
|
+
value: _vm.form.customLimitTime,
|
|
10315
|
+
callback: function ($$v) {
|
|
10316
|
+
_vm.$set(_vm.form, "customLimitTime", $$v)
|
|
10317
|
+
},
|
|
10318
|
+
expression: "form.customLimitTime",
|
|
10319
|
+
},
|
|
10320
|
+
},
|
|
10321
|
+
[
|
|
10322
|
+
_c(
|
|
10323
|
+
"template",
|
|
10324
|
+
{ slot: "button" },
|
|
10325
|
+
[
|
|
10326
|
+
_c(
|
|
10327
|
+
"em-button",
|
|
10328
|
+
{
|
|
10329
|
+
attrs: { size: "small", type: "primary" },
|
|
10330
|
+
on: {
|
|
10331
|
+
click: function () {
|
|
10332
|
+
_vm.form.customLimitTime = ""
|
|
10333
|
+
_vm.showCustomLimitTimeText =
|
|
10334
|
+
!_vm.showCustomLimitTimeText
|
|
10335
|
+
},
|
|
10336
|
+
},
|
|
10337
|
+
},
|
|
10338
|
+
[_vm._v("切换文本框")]
|
|
10339
|
+
),
|
|
10340
|
+
],
|
|
10341
|
+
1
|
|
10342
|
+
),
|
|
10343
|
+
],
|
|
10344
|
+
2
|
|
10345
|
+
)
|
|
10346
|
+
: _c(
|
|
10347
|
+
"em-input",
|
|
10348
|
+
{
|
|
10349
|
+
attrs: {
|
|
10350
|
+
center: "",
|
|
10351
|
+
label: "限时办理",
|
|
10352
|
+
clearable: "",
|
|
10353
|
+
placeholder: "请输入限时办理天数",
|
|
10354
|
+
},
|
|
10355
|
+
on: { change: _vm.changeCustomLimitTime },
|
|
10356
|
+
model: {
|
|
10357
|
+
value: _vm.form.customLimitTime,
|
|
10358
|
+
callback: function ($$v) {
|
|
10359
|
+
_vm.$set(_vm.form, "customLimitTime", $$v)
|
|
10360
|
+
},
|
|
10361
|
+
expression: "form.customLimitTime",
|
|
10362
|
+
},
|
|
10363
|
+
},
|
|
10364
|
+
[
|
|
10365
|
+
_c(
|
|
10366
|
+
"template",
|
|
10367
|
+
{ slot: "button" },
|
|
10368
|
+
[
|
|
10369
|
+
_c(
|
|
10370
|
+
"em-button",
|
|
10371
|
+
{
|
|
10372
|
+
attrs: { size: "small", type: "primary" },
|
|
10373
|
+
on: {
|
|
10374
|
+
click: function () {
|
|
10375
|
+
_vm.form.customLimitTime = ""
|
|
10376
|
+
_vm.showCustomLimitTimeText =
|
|
10377
|
+
!_vm.showCustomLimitTimeText
|
|
10378
|
+
},
|
|
10379
|
+
},
|
|
10380
|
+
},
|
|
10381
|
+
[_vm._v("切换选择框")]
|
|
10382
|
+
),
|
|
10383
|
+
],
|
|
10384
|
+
1
|
|
10385
|
+
),
|
|
10386
|
+
],
|
|
10387
|
+
2
|
|
10388
|
+
),
|
|
10389
|
+
],
|
|
10390
|
+
1
|
|
10391
|
+
)
|
|
10392
|
+
: _vm._e(),
|
|
10393
|
+
_vm.processObj.isCustomPreset && _vm.isPreset
|
|
10394
|
+
? _c("ProcessSetting", {
|
|
10395
|
+
ref: "processSetting",
|
|
10396
|
+
attrs: {
|
|
10397
|
+
processDefinitionId: _vm.processObj.processDefinitionId,
|
|
10398
|
+
customPresetHintMessage:
|
|
10399
|
+
_vm.processObj.customPresetHintMessage,
|
|
10400
|
+
nodeId: _vm.form.nextNodeId,
|
|
10401
|
+
taskId: _vm.processObj.taskId,
|
|
10402
|
+
pendingId: _vm.processObj.pendingId,
|
|
10403
|
+
businessId: _vm.processObj.businessId,
|
|
10404
|
+
apiBaseUrl: _vm.apiBaseUrl,
|
|
10405
|
+
paddingTop: _vm.paddingTop,
|
|
10406
|
+
choiceOrgId: _vm.orgId,
|
|
10407
|
+
pOrgId: _vm.orgId,
|
|
10408
|
+
choiceDeptId: _vm.depId,
|
|
10409
|
+
},
|
|
10410
|
+
})
|
|
10411
|
+
: _vm._e(),
|
|
10412
|
+
_c("Message", {
|
|
10413
|
+
ref: "message",
|
|
10414
|
+
attrs: {
|
|
10415
|
+
code: "notification_type",
|
|
10416
|
+
readOnlyNotificationType: _vm.readOnlyNotificationType,
|
|
10417
|
+
notificationMessageReadOnly: _vm.notificationMessageReadOnly,
|
|
10418
|
+
defaultNotificationMsg: _vm.form.notificationMsg,
|
|
10419
|
+
baseUrl: _vm.baseUrl,
|
|
10420
|
+
defaultNotificationType: _vm.defaultNotificationType,
|
|
10421
|
+
},
|
|
10422
|
+
on: { onInputMsg: _vm.onInputMsg },
|
|
10423
|
+
}),
|
|
10424
|
+
],
|
|
10425
|
+
1
|
|
10426
|
+
),
|
|
10427
|
+
]),
|
|
10428
|
+
],
|
|
10429
|
+
1
|
|
10430
|
+
),
|
|
10431
|
+
_c("div", { staticClass: "btn-list" }, [
|
|
10432
|
+
_c("div", { staticClass: "btn", on: { click: _vm.goBack } }, [
|
|
10433
|
+
_vm._v("取消"),
|
|
10434
|
+
]),
|
|
10435
|
+
_c(
|
|
10436
|
+
"div",
|
|
10437
|
+
{
|
|
10438
|
+
staticClass: "btn",
|
|
10439
|
+
on: {
|
|
10440
|
+
click: function ($event) {
|
|
10441
|
+
_vm.onSubmit()
|
|
10442
|
+
},
|
|
10443
|
+
},
|
|
10444
|
+
},
|
|
10445
|
+
[_vm._v("确定")]
|
|
10446
|
+
),
|
|
10447
|
+
]),
|
|
10448
|
+
])
|
|
10449
|
+
}
|
|
10450
|
+
var resetvue_type_template_id_b2f284b2_staticRenderFns = []
|
|
10451
|
+
resetvue_type_template_id_b2f284b2_render._withStripped = true
|
|
10452
|
+
|
|
10453
|
+
|
|
10454
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/reset.vue?vue&type=template&id=b2f284b2
|
|
10455
|
+
|
|
10456
|
+
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/reset.vue?vue&type=script&lang=js
|
|
10457
|
+
var resetvue_type_script_lang_js_typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
|
|
10458
|
+
|
|
10459
|
+
//
|
|
10460
|
+
//
|
|
10461
|
+
//
|
|
10462
|
+
//
|
|
10463
|
+
//
|
|
10464
|
+
//
|
|
10465
|
+
//
|
|
10466
|
+
//
|
|
10467
|
+
//
|
|
10468
|
+
//
|
|
10469
|
+
//
|
|
10470
|
+
//
|
|
10471
|
+
//
|
|
10472
|
+
//
|
|
10473
|
+
//
|
|
10474
|
+
//
|
|
10475
|
+
//
|
|
10476
|
+
//
|
|
10477
|
+
//
|
|
10478
|
+
//
|
|
10479
|
+
//
|
|
10480
|
+
//
|
|
10481
|
+
//
|
|
10482
|
+
//
|
|
10483
|
+
//
|
|
10484
|
+
//
|
|
10485
|
+
//
|
|
10486
|
+
//
|
|
10487
|
+
//
|
|
10488
|
+
//
|
|
10489
|
+
//
|
|
10490
|
+
//
|
|
10491
|
+
//
|
|
10492
|
+
//
|
|
10493
|
+
//
|
|
10494
|
+
//
|
|
10495
|
+
//
|
|
10496
|
+
//
|
|
10497
|
+
//
|
|
10498
|
+
//
|
|
10499
|
+
//
|
|
10500
|
+
//
|
|
10501
|
+
//
|
|
10502
|
+
//
|
|
10503
|
+
//
|
|
10504
|
+
//
|
|
10505
|
+
//
|
|
10506
|
+
//
|
|
10507
|
+
//
|
|
10508
|
+
//
|
|
10509
|
+
//
|
|
10510
|
+
//
|
|
10511
|
+
//
|
|
10512
|
+
//
|
|
10513
|
+
//
|
|
10514
|
+
//
|
|
10515
|
+
//
|
|
10516
|
+
//
|
|
10517
|
+
//
|
|
10518
|
+
//
|
|
10519
|
+
//
|
|
10520
|
+
//
|
|
10521
|
+
//
|
|
10522
|
+
//
|
|
10523
|
+
//
|
|
10524
|
+
//
|
|
10525
|
+
//
|
|
10526
|
+
//
|
|
10527
|
+
//
|
|
10528
|
+
//
|
|
10529
|
+
//
|
|
10530
|
+
//
|
|
10531
|
+
//
|
|
10532
|
+
//
|
|
10533
|
+
//
|
|
10534
|
+
//
|
|
10535
|
+
//
|
|
10536
|
+
//
|
|
10537
|
+
//
|
|
10538
|
+
//
|
|
10539
|
+
//
|
|
10540
|
+
//
|
|
10541
|
+
//
|
|
10542
|
+
//
|
|
10543
|
+
//
|
|
10544
|
+
//
|
|
10545
|
+
//
|
|
10546
|
+
//
|
|
10547
|
+
//
|
|
10548
|
+
//
|
|
10549
|
+
//
|
|
10550
|
+
//
|
|
10551
|
+
//
|
|
10552
|
+
//
|
|
10553
|
+
//
|
|
10554
|
+
//
|
|
10555
|
+
//
|
|
10556
|
+
//
|
|
10557
|
+
//
|
|
10558
|
+
//
|
|
10559
|
+
//
|
|
10560
|
+
//
|
|
10561
|
+
//
|
|
10562
|
+
//
|
|
10563
|
+
//
|
|
10564
|
+
//
|
|
10565
|
+
//
|
|
10566
|
+
//
|
|
10567
|
+
//
|
|
10568
|
+
//
|
|
10569
|
+
//
|
|
10570
|
+
//
|
|
10571
|
+
//
|
|
10572
|
+
//
|
|
10573
|
+
//
|
|
10574
|
+
//
|
|
10575
|
+
//
|
|
10576
|
+
//
|
|
10577
|
+
//
|
|
10578
|
+
//
|
|
10579
|
+
//
|
|
10580
|
+
//
|
|
10581
|
+
//
|
|
10582
|
+
//
|
|
10583
|
+
//
|
|
10584
|
+
//
|
|
10585
|
+
//
|
|
10586
|
+
//
|
|
10587
|
+
//
|
|
10588
|
+
//
|
|
10589
|
+
//
|
|
10590
|
+
//
|
|
10591
|
+
//
|
|
10592
|
+
//
|
|
10593
|
+
//
|
|
10594
|
+
//
|
|
10595
|
+
//
|
|
10596
|
+
//
|
|
10597
|
+
//
|
|
10598
|
+
//
|
|
10599
|
+
//
|
|
10600
|
+
//
|
|
10601
|
+
//
|
|
10602
|
+
//
|
|
10603
|
+
//
|
|
10604
|
+
//
|
|
10605
|
+
//
|
|
10606
|
+
//
|
|
10607
|
+
//
|
|
10608
|
+
//
|
|
10609
|
+
//
|
|
10610
|
+
//
|
|
10611
|
+
//
|
|
10612
|
+
//
|
|
10613
|
+
//
|
|
10614
|
+
//
|
|
10615
|
+
//
|
|
10616
|
+
//
|
|
10617
|
+
//
|
|
10618
|
+
//
|
|
10619
|
+
//
|
|
10620
|
+
//
|
|
10621
|
+
//
|
|
10622
|
+
//
|
|
10623
|
+
//
|
|
10624
|
+
//
|
|
10625
|
+
//
|
|
10626
|
+
//
|
|
10627
|
+
|
|
10628
|
+
|
|
10629
|
+
|
|
10630
|
+
|
|
10631
|
+
|
|
10632
|
+
|
|
10633
|
+
|
|
10634
|
+
|
|
10635
|
+
/* harmony default export */ var resetvue_type_script_lang_js = ({
|
|
10636
|
+
name: 'reset',
|
|
10637
|
+
inheritAttrs: false,
|
|
10638
|
+
props: {
|
|
10639
|
+
showPresentNode: {
|
|
10640
|
+
type: Boolean,
|
|
10641
|
+
default: true // 是否当前节点
|
|
10642
|
+
},
|
|
10643
|
+
beforeSubmit: Function,
|
|
10644
|
+
businessId: String, //提交意见附件所需id一般是业务id
|
|
10645
|
+
defId: String, //流程id
|
|
10646
|
+
baseUrl: String, //流程地址
|
|
10647
|
+
apiBaseUrl: String,
|
|
10648
|
+
orgId: String,
|
|
10649
|
+
depId: String,
|
|
10650
|
+
appId: String,
|
|
10651
|
+
paddingTop: {
|
|
10652
|
+
type: [String, Number],
|
|
10653
|
+
default: 0
|
|
10654
|
+
},
|
|
10655
|
+
isAllCheck: {
|
|
10656
|
+
type: Boolean,
|
|
10657
|
+
default: false
|
|
10658
|
+
},
|
|
10659
|
+
isPreset: {
|
|
10660
|
+
type: Boolean,
|
|
10661
|
+
default: false
|
|
10662
|
+
},
|
|
10663
|
+
esign: {
|
|
10664
|
+
type: Boolean,
|
|
10665
|
+
default: false
|
|
10666
|
+
},
|
|
10667
|
+
userId: {
|
|
10668
|
+
type: String,
|
|
10669
|
+
default: ''
|
|
10670
|
+
},
|
|
10671
|
+
isFreeStartFlow: {
|
|
10672
|
+
type: Boolean,
|
|
10673
|
+
default: false
|
|
10674
|
+
},
|
|
10675
|
+
copyHistory: {
|
|
10676
|
+
type: String,
|
|
10677
|
+
default: ''
|
|
10678
|
+
},
|
|
10679
|
+
formType: {
|
|
10680
|
+
type: String,
|
|
10681
|
+
default: 'freeStart'
|
|
10682
|
+
},
|
|
10683
|
+
taskParams: {
|
|
10684
|
+
type: Object,
|
|
10685
|
+
default: function _default() {}
|
|
10686
|
+
},
|
|
10687
|
+
opinion: {
|
|
10688
|
+
type: String,
|
|
10689
|
+
default: ''
|
|
10690
|
+
}
|
|
10691
|
+
},
|
|
10692
|
+
data: function data() {
|
|
10693
|
+
return {
|
|
10694
|
+
showOpinion: true,
|
|
10695
|
+
readOnlyNotificationType: '',
|
|
10696
|
+
notificationMessageReadOnly: false,
|
|
10697
|
+
isCustomUser: 1,
|
|
10698
|
+
isCurrentNodeForbiddenChangeCandidate: 0,
|
|
10699
|
+
form: {
|
|
10700
|
+
nextNodeId: undefined, // 流程节点id
|
|
10701
|
+
nextNodeName: undefined, // 流程节点名称
|
|
10702
|
+
customLimitTime: '', //限时天数
|
|
10703
|
+
nextUserName: undefined, // 办理人
|
|
10704
|
+
nextUserId: undefined, // 办理人id
|
|
10705
|
+
nextName: undefined, //下一步
|
|
10706
|
+
opinion: undefined, // 审批意见
|
|
10707
|
+
nodeId: undefined,
|
|
10708
|
+
notificationMsg: undefined, //系统消息
|
|
10709
|
+
notificationType: [],
|
|
10710
|
+
isImageOpinion: 0
|
|
10711
|
+
},
|
|
10712
|
+
file: '',
|
|
10713
|
+
nextUserList: [],
|
|
10714
|
+
isChooseNextNode: 0,
|
|
10715
|
+
isOpinionRequired: 0, //办理意见是否必填
|
|
10716
|
+
isBanInputOpinion: 0, //是否禁用意见
|
|
10717
|
+
isNextBox: true, // 是否展开隐藏下步操作
|
|
10718
|
+
defaultNotificationType: [], //选中消息数组
|
|
10719
|
+
// showAppUser: false, // 办理人遮罩层
|
|
10720
|
+
showNextList: false, // 下一步遮罩层
|
|
10721
|
+
showNextNodeList: false, // 流程节点遮罩层
|
|
10722
|
+
nextList: [], //下一步列表
|
|
10723
|
+
nodeList: [], // 流程节点列表
|
|
10724
|
+
processObj: {}, //流程信息
|
|
10725
|
+
peopleObj: {}, //办理人信息
|
|
10726
|
+
isRadio: false, //办理人是否单选
|
|
10727
|
+
treeType: undefined, //办理人选择类别
|
|
10728
|
+
pid: undefined, // 办理人树选择pid
|
|
10729
|
+
objType: 'enterprise', //办理人树选择objType
|
|
10730
|
+
selectType: '', //办理人树选择selectType
|
|
10731
|
+
nextUserSelectList: [], //选中人数组
|
|
10732
|
+
enableCustomLimitTimeSetting: false,
|
|
10733
|
+
showCustomLimitTimeText: false,
|
|
10734
|
+
flowObj: {} //流程参数信息
|
|
10735
|
+
};
|
|
10736
|
+
},
|
|
10737
|
+
|
|
10738
|
+
components: {
|
|
10739
|
+
Opinion: Opinion,
|
|
10740
|
+
Message: Message,
|
|
10741
|
+
ProcessSetting: ProcessSettings
|
|
10742
|
+
},
|
|
10743
|
+
mounted: function mounted() {
|
|
10744
|
+
var obj = {
|
|
10745
|
+
processDefinitionId: this.defId,
|
|
10746
|
+
// isOnly: true,
|
|
10747
|
+
// hideTempSave: true,
|
|
10748
|
+
businessId: this.businessId
|
|
10749
|
+
};
|
|
10750
|
+
if (this.formType == 'freeStart' || this.copyHistory) {
|
|
10751
|
+
this.form.opinion = this.opinion;
|
|
10752
|
+
}
|
|
10753
|
+
this.geAllData(obj);
|
|
10754
|
+
this.getDefNoticeType();
|
|
10755
|
+
},
|
|
10756
|
+
|
|
10757
|
+
|
|
10758
|
+
methods: {
|
|
10759
|
+
getDefNoticeType: function getDefNoticeType() {
|
|
10760
|
+
var _this = this;
|
|
10761
|
+
|
|
10762
|
+
Object(http["a" /* default */])({
|
|
10763
|
+
url: api["d" /* findSysCodes */]
|
|
10764
|
+
}).then(function (res) {
|
|
10765
|
+
// this.form.notificationMsg = res.message;
|
|
10766
|
+
_this.defaultNotificationType = res.message.split(',');
|
|
10767
|
+
});
|
|
10768
|
+
},
|
|
10769
|
+
getMessage: function getMessage() {
|
|
10770
|
+
var _this2 = this;
|
|
10771
|
+
|
|
10772
|
+
var params = {
|
|
10773
|
+
url: api["l" /* getNotificationMsg */],
|
|
10774
|
+
params: {
|
|
10775
|
+
processDefinitionId: this.processObj.processDefinitionId,
|
|
10776
|
+
businessId: this.processObj.businessId,
|
|
10777
|
+
nodeId: this.form.nextNodeId
|
|
10778
|
+
}
|
|
10779
|
+
};
|
|
10780
|
+
Object(http["a" /* default */])(params).then(function (res) {
|
|
10781
|
+
// this.message=res.data.message
|
|
10782
|
+
_this2.form.notificationMsg = res.message;
|
|
10783
|
+
});
|
|
10784
|
+
},
|
|
10785
|
+
goBack: function goBack() {
|
|
10786
|
+
this.$parent.$emit('close');
|
|
10787
|
+
this.$emit('close');
|
|
10788
|
+
},
|
|
10789
|
+
handleChange: function handleChange(val, selectLabel) {
|
|
10790
|
+
// this[res.label] = res.list;
|
|
10791
|
+
// this.showAppUser = false;
|
|
10792
|
+
var label = selectLabel.substring(0, selectLabel.lastIndexOf('SelectList'));
|
|
10793
|
+
var idStr = '';
|
|
10794
|
+
val.list.map(function (r, i) {
|
|
10795
|
+
idStr = idStr + r.showid + (i === val.list.length - 1 ? '' : ',');
|
|
10796
|
+
});
|
|
10797
|
+
this.form[label + 'Id'] = idStr;
|
|
10798
|
+
},
|
|
10799
|
+
geAllData: function geAllData(res) {
|
|
10800
|
+
var _this3 = this;
|
|
10801
|
+
|
|
10802
|
+
this.flowObj = res;
|
|
10803
|
+
this.$toast.loading({
|
|
10804
|
+
message: '加载中...',
|
|
10805
|
+
forbidClick: true,
|
|
10806
|
+
loadingType: 'spinner',
|
|
10807
|
+
overlay: true,
|
|
10808
|
+
duration: 0
|
|
10809
|
+
});
|
|
10810
|
+
//获取流程发起信息后去获取节点信息和办理人信息
|
|
10811
|
+
Promise.all([this.getProcessObj(res)]).then(function () {
|
|
10812
|
+
console.log(res, _this3.form, 'asd');
|
|
10813
|
+
_this3.getPeopleObj(_this3.form.nextNodeId);
|
|
10814
|
+
});
|
|
10815
|
+
},
|
|
10816
|
+
|
|
10817
|
+
// 通知消息回调
|
|
10818
|
+
onInputMsg: function onInputMsg(obj) {
|
|
10819
|
+
this.form.notificationType = obj.notificationType.join(',');
|
|
10820
|
+
this.form.notificationMsg = obj.notificationMsg;
|
|
10821
|
+
},
|
|
10822
|
+
|
|
10823
|
+
// 删除.
|
|
10824
|
+
delteList: function delteList(label, i) {
|
|
10825
|
+
this[label].splice(i, 1);
|
|
10826
|
+
},
|
|
10827
|
+
|
|
10828
|
+
// 意见回调
|
|
10829
|
+
onInputOpintion: function onInputOpintion(val) {
|
|
10830
|
+
var opinion = val.opinion,
|
|
10831
|
+
isImageOpinion = val.isImageOpinion,
|
|
10832
|
+
file = val.file;
|
|
10833
|
+
|
|
10834
|
+
this.form.opinion = opinion;
|
|
10835
|
+
this.form.isImageOpinion = isImageOpinion;
|
|
10836
|
+
this.file = file;
|
|
10837
|
+
},
|
|
10838
|
+
|
|
10839
|
+
// 提交流程
|
|
10840
|
+
onSubmit: function onSubmit() {
|
|
10841
|
+
var _this4 = this;
|
|
10842
|
+
|
|
10843
|
+
if (!this.form.opinion && this.isOpinionRequired == 1 && this.form.isImageOpinion == 0 || !this.file && this.isOpinionRequired == 1 && this.form.isImageOpinion == 1) {
|
|
10844
|
+
this.$toast('请选择输入审批意见');
|
|
10845
|
+
return;
|
|
10846
|
+
}
|
|
10847
|
+
if (!this.form.nextUserId) {
|
|
10848
|
+
this.$toast('请选择办理人');
|
|
10849
|
+
return;
|
|
10850
|
+
}
|
|
10851
|
+
if (!this.form.nextNodeId) {
|
|
10852
|
+
this.$toast('请选择流程节点');
|
|
10853
|
+
return;
|
|
10854
|
+
}
|
|
10855
|
+
// if (!this.form.notificationType) {
|
|
10856
|
+
// this.$toast('请选择通知消息');
|
|
10857
|
+
// return;
|
|
10858
|
+
// }
|
|
10859
|
+
|
|
10860
|
+
var info = {
|
|
10861
|
+
processDefinitionId: this.flowObj.processDefinitionId,
|
|
10862
|
+
nextUserId: this.form.nextUserId,
|
|
10863
|
+
nextNodeId: this.form.nextNodeId,
|
|
10864
|
+
businessId: this.businessId,
|
|
10865
|
+
notificationType: Array.isArray(this.form.notificationType) ? '' : this.form.notificationType,
|
|
10866
|
+
opinion: this.form.opinion,
|
|
10867
|
+
customLimitTime: resetvue_type_script_lang_js_typeof(this.form.customLimitTime) === 'object' ? this.form.customLimitTime.cciValue : this.form.customLimitTime,
|
|
10868
|
+
nodeId: this.form.nodeId,
|
|
10869
|
+
notificationMsg: this.form.notificationMsg,
|
|
10870
|
+
loginType: 2, //登录方式
|
|
10871
|
+
isImageOpinion: this.form.isImageOpinion,
|
|
10872
|
+
userId: this.userId || util["a" /* default */].getStorage('userId'),
|
|
10873
|
+
mobileKey: util["a" /* default */].getStorage('deviceId') || '123'
|
|
10874
|
+
};
|
|
10875
|
+
if (!this.enableCustomLimitTimeSetting) {
|
|
10876
|
+
delete info.customLimitTime;
|
|
10877
|
+
}
|
|
10878
|
+
if (this.processObj.isCustomPreset && this.isPreset) {
|
|
10879
|
+
if (this.$refs.processSetting.active.length != 0) {
|
|
10880
|
+
if (!this.$refs.processSetting.getValue()) return;
|
|
10881
|
+
info.customPresetUserJson = this.$refs.processSetting.getValue();
|
|
10882
|
+
info.isCustomPreset = true;
|
|
10883
|
+
} else {
|
|
10884
|
+
delete info.customPresetUserJson;
|
|
10885
|
+
delete info.isCustomPreset;
|
|
10886
|
+
}
|
|
10887
|
+
}
|
|
10888
|
+
if (this.isFreeStartFlow || this.formType === 'readTransfer') {
|
|
10889
|
+
var newParm = {};
|
|
10890
|
+
newParm.copyHistory = this.copyHistory === 'needCopyPendedHistory';
|
|
10891
|
+
newParm.startFlowParamJson = info;
|
|
10892
|
+
newParm.startFlowParamJson.businessId = this.businessId; //this.businessId
|
|
10893
|
+
newParm.startFlowParamJson = JSON.stringify(newParm.startFlowParamJson);
|
|
10894
|
+
for (var key in this.taskParams) {
|
|
10895
|
+
if (Array.isArray(this.taskParams[key])) {
|
|
10896
|
+
this.taskParams[key] = this.taskParams[key].length > 0 ? this.taskParams[key].join(',') : '';
|
|
10897
|
+
}
|
|
10898
|
+
}
|
|
10899
|
+
|
|
10900
|
+
newParm.submitTaskParamJson = JSON.stringify(this.taskParams);
|
|
10901
|
+
if (this.formType == 'readTransfer') {
|
|
10902
|
+
newParm.readTransferHandleStartFlowParamJson = JSON.stringify(info);
|
|
10903
|
+
newParm.taskReadEndParamJson = JSON.stringify(this.taskParams);
|
|
10904
|
+
delete newParm.copyHistory;
|
|
10905
|
+
delete newParm.startFlowParamJson;
|
|
10906
|
+
delete newParm.submitTaskParamJson;
|
|
10907
|
+
}
|
|
10908
|
+
info = newParm;
|
|
10909
|
+
}
|
|
10910
|
+
if (this.formType == 'freeStart' && !this.isFreeStartFlow) {
|
|
10911
|
+
info.businessId = this.businessId; //this.businessId
|
|
10912
|
+
}
|
|
10913
|
+
if (this.beforeSubmit) {
|
|
10914
|
+
this.beforeSubmit(info);
|
|
10915
|
+
return;
|
|
10916
|
+
}
|
|
10917
|
+
var formData = new FormData();
|
|
10918
|
+
// if (this.form.isImageOpinion == 1) {
|
|
10919
|
+
// formData.append('file', this.file);
|
|
10920
|
+
// }
|
|
10921
|
+
// for (let key in info) {
|
|
10922
|
+
// if (info[key] !== '' && info[key] !== undefined) {
|
|
10923
|
+
// formData.append(key, info[key]);
|
|
10924
|
+
// }
|
|
10925
|
+
// }
|
|
10926
|
+
this.$toast.loading({
|
|
10927
|
+
message: '加载中...',
|
|
10928
|
+
forbidClick: true,
|
|
10929
|
+
loadingType: 'spinner',
|
|
10930
|
+
overlay: true,
|
|
10931
|
+
duration: 0
|
|
10932
|
+
});
|
|
10933
|
+
var _that = this;
|
|
10934
|
+
Object(http["a" /* default */])({
|
|
10935
|
+
url: (_that.apiBaseUrl || '') + (_that.isFreeStartFlow ? api["f" /* freeStartFlowWithSubmitTask */] : _that.formType == 'readTransfer' ? api["w" /* startReadTransferHandleFlowWithTaskReadEnd */] : api["u" /* registerNew */]),
|
|
10936
|
+
type: 'post',
|
|
10937
|
+
params: _that.isFreeStartFlow || _that.formType == 'readTransfer' ? info : { params: info },
|
|
10938
|
+
format: false
|
|
10939
|
+
}).then(function (res) {
|
|
10940
|
+
_this4.$toast.clear();
|
|
10941
|
+
if (res.rCode == 0 || res.status == 'success') {
|
|
10942
|
+
_this4.$toast('操作成功');
|
|
10943
|
+
if (_that.formType == 'freeStart' && !_that.isFreeStartFlow) {
|
|
10944
|
+
_this4.$emit('closePop');
|
|
10945
|
+
} else {
|
|
10946
|
+
if (_that.formType == 'freeStart') {
|
|
10947
|
+
_that.$emit('success');
|
|
10948
|
+
} else {
|
|
10949
|
+
_that.$parent.$emit('success');
|
|
10950
|
+
}
|
|
10951
|
+
}
|
|
10952
|
+
} else {
|
|
10953
|
+
_this4.$toast(res.msg);
|
|
10954
|
+
setTimeout(function () {
|
|
10955
|
+
_this4.$parent.$emit('error');
|
|
10956
|
+
}, 1000);
|
|
10957
|
+
}
|
|
10958
|
+
});
|
|
10959
|
+
},
|
|
10960
|
+
|
|
10961
|
+
// 确认常用意见
|
|
10962
|
+
onConfirmOpinion: function onConfirmOpinion(val) {
|
|
10963
|
+
this.form.opinion = val.content;
|
|
10964
|
+
this.showOpinion = false;
|
|
10965
|
+
},
|
|
10966
|
+
|
|
10967
|
+
// 选择办理人
|
|
10968
|
+
onClickPeople: function onClickPeople(label) {
|
|
10969
|
+
this.$nextTick(function () {
|
|
10970
|
+
this.$refs.selectTree.getContent(label);
|
|
10971
|
+
});
|
|
10972
|
+
var obj = {
|
|
10973
|
+
label: '请选择办理人',
|
|
10974
|
+
show: true
|
|
10975
|
+
};
|
|
10976
|
+
this.$emit('informNav', obj);
|
|
10977
|
+
this.showAppUser = true;
|
|
10978
|
+
},
|
|
10979
|
+
|
|
10980
|
+
// 获取树选择范围
|
|
10981
|
+
getTreeChangeType: function getTreeChangeType() {
|
|
10982
|
+
/**
|
|
10983
|
+
* 办理人选择方式(1:机构内单选人;2:机构内多选;3:所有机构单选人;4:所有机构多选人;5:科室内单选人;6:科室内多选人;11:单选机构;12:多选机构;13:本部门角色;14:本单位角色;15:上级单位单选人;16:上级单位多选人;)
|
|
10984
|
+
*/
|
|
10985
|
+
this.treeType % 2 == 0 ? this.isRadio = false : this.isRadio = true;
|
|
10986
|
+
if (this.treeType === 1 || this.treeType === 2) {
|
|
10987
|
+
this.pid = this.orgId;
|
|
10988
|
+
this.objType = 'enterprise';
|
|
10989
|
+
this.selectType = 'employee';
|
|
10990
|
+
} else if (this.treeType === 3 || this.treeType === 4) {
|
|
10991
|
+
this.pid = 'root';
|
|
10992
|
+
this.selectType = 'employee';
|
|
10993
|
+
this.objType = 'employee';
|
|
10994
|
+
} else if (this.treeType === 5 || this.treeType === 6) {
|
|
10995
|
+
this.pid = this.depId;
|
|
10996
|
+
this.selectType = 'employee';
|
|
10997
|
+
this.objType = 'employee';
|
|
10998
|
+
} else if (this.treeType === 11 || this.treeType === 12) {
|
|
10999
|
+
this.selectType = 'employee';
|
|
11000
|
+
this.objType = 'enterprise';
|
|
11001
|
+
this.pid = '';
|
|
11002
|
+
} else if (this.treeType === 13) {
|
|
11003
|
+
this.pid = this.depId;
|
|
11004
|
+
this.selectType = 'employee';
|
|
11005
|
+
} else if (this.treeType === 14) {
|
|
11006
|
+
this.pid = this.orgId;
|
|
11007
|
+
this.selectType = 'employee';
|
|
11008
|
+
} else if (this.treeType === 15 || this.treeType === 16) {
|
|
11009
|
+
this.pid = this.orgId;
|
|
11010
|
+
this.selectType = 'employee';
|
|
11011
|
+
} else if (this.treeType == 'department') {
|
|
11012
|
+
this.pid = '';
|
|
11013
|
+
this.selectType = 'department';
|
|
11014
|
+
this.objType = 'department';
|
|
11015
|
+
}
|
|
11016
|
+
},
|
|
11017
|
+
|
|
11018
|
+
// 确认下一步操作
|
|
11019
|
+
onConfirmNext: function onConfirmNext(val) {
|
|
11020
|
+
this.form.nextName = val.itemName;
|
|
11021
|
+
this.nodeList = val.list;
|
|
11022
|
+
this.form.nextNodeId = val.list[0].nodeId;
|
|
11023
|
+
this.form.nextNodeName = val.list[0].nodeName;
|
|
11024
|
+
val.list[0].transactorInfos && (this.nextUserList = val.list[0].transactorInfos);
|
|
11025
|
+
this.showNextList = false;
|
|
11026
|
+
this.getPeopleObj(this.form.nextNodeId);
|
|
11027
|
+
},
|
|
11028
|
+
|
|
11029
|
+
// 确认流程节点操作
|
|
11030
|
+
onConfirmNextNode: function onConfirmNextNode(val) {
|
|
11031
|
+
this.form.nextNodeId = val.nodeId;
|
|
11032
|
+
this.form.nextNodeName = val.nodeName;
|
|
11033
|
+
this.showNextNodeList = false;
|
|
11034
|
+
this.getPeopleObj(this.form.nextNodeId);
|
|
11035
|
+
},
|
|
11036
|
+
|
|
11037
|
+
// 办理人选择完回调
|
|
11038
|
+
disposeAppUser: function disposeAppUser(res) {
|
|
11039
|
+
this[res.label] = res.list;
|
|
11040
|
+
this.showAppUser = false;
|
|
11041
|
+
var label = res.label.substring(0, res.label.lastIndexOf('SelectList'));
|
|
11042
|
+
var idStr = '';
|
|
11043
|
+
res.list.map(function (r, i) {
|
|
11044
|
+
idStr = idStr + r.showid + (i === res.list.length - 1 ? '' : ',');
|
|
11045
|
+
});
|
|
11046
|
+
this.form[label + 'Id'] = idStr;
|
|
11047
|
+
},
|
|
11048
|
+
|
|
11049
|
+
// 获取发起流程信息
|
|
11050
|
+
getProcessObj: function getProcessObj(res) {
|
|
11051
|
+
var that = this;
|
|
11052
|
+
return new Promise(function (resolve, reiect) {
|
|
11053
|
+
Object(http["a" /* default */])({
|
|
11054
|
+
url: that.apiBaseUrl ? that.apiBaseUrl + api["G" /* toResetProcessIndex */] : api["G" /* toResetProcessIndex */],
|
|
11055
|
+
params: {
|
|
11056
|
+
appId: that.appId,
|
|
11057
|
+
userId: that.userId || util["a" /* default */].getStorage('userId')
|
|
11058
|
+
}
|
|
11059
|
+
}).then(function (res) {
|
|
11060
|
+
if (res.rCode == 0 || res.status == 'success') {
|
|
11061
|
+
that.isCurrentNodeForbiddenChangeCandidate = res.data.nodeInfoMap.nodeExtAttr.isCurrentNodeForbiddenChangeCandidate;
|
|
11062
|
+
that.processObj = res.data.taskExamine;
|
|
11063
|
+
that.isOpinionRequired = res.data.nodeInfoMap.nodeExtAttr.isOpinionRequired;
|
|
11064
|
+
that.isBanInputOpinion = res.data.nodeInfoMap.nodeExtAttr.isBanInputOpinion;
|
|
11065
|
+
if (!that.isOpinionRequired) {
|
|
11066
|
+
that.isOpinionRequired = 0;
|
|
11067
|
+
}
|
|
11068
|
+
if (!that.isBanInputOpinion) {
|
|
11069
|
+
that.isBanInputOpinion = 0;
|
|
11070
|
+
}
|
|
11071
|
+
that.isChooseNextNode = res.data.nodeInfoMap.nodeExtAttr.isChooseNextNode;
|
|
11072
|
+
if (res.data.taskNodeList && res.data.taskNodeList.length > 0) {
|
|
11073
|
+
var obj = res.data.taskNodeList[0];
|
|
11074
|
+
for (var key in obj) {
|
|
11075
|
+
that.nodeList.push({ nodeName: obj[key], nodeId: key });
|
|
11076
|
+
}
|
|
11077
|
+
}
|
|
11078
|
+
|
|
11079
|
+
that.form.nextNodeId = that.nodeList[0].nodeId;
|
|
11080
|
+
that.form.nextNodeName = that.nodeList[0].nodeName;
|
|
11081
|
+
|
|
11082
|
+
// that.form.notificationMsg = res.results.notificationMsg;
|
|
11083
|
+
// that.form.nodeId = res.results.nodeId;
|
|
11084
|
+
that.getMessage();
|
|
11085
|
+
resolve();
|
|
11086
|
+
} else {
|
|
11087
|
+
that.$toast(res.message);
|
|
11088
|
+
reiect();
|
|
11089
|
+
}
|
|
11090
|
+
});
|
|
11091
|
+
});
|
|
11092
|
+
},
|
|
11093
|
+
|
|
11094
|
+
// 获取节点信息(获取节点属性及办理人)
|
|
11095
|
+
getPeopleObj: function getPeopleObj(res) {
|
|
11096
|
+
var _this5 = this;
|
|
11097
|
+
|
|
11098
|
+
var _that = this;
|
|
11099
|
+
Object(http["a" /* default */])({
|
|
11100
|
+
url: _that.apiBaseUrl ? _that.apiBaseUrl + api["j" /* getNodeInfo */] : api["j" /* getNodeInfo */],
|
|
11101
|
+
params: {
|
|
11102
|
+
params: {
|
|
11103
|
+
processDefinitionId: this.processObj.processDefinitionId,
|
|
11104
|
+
nodeId: res,
|
|
11105
|
+
// taskId: this.processObj.taskId,
|
|
11106
|
+
userId: _that.userId
|
|
11107
|
+
}
|
|
11108
|
+
}
|
|
11109
|
+
}).then(function (res) {
|
|
11110
|
+
_this5.$toast.clear();
|
|
11111
|
+
if (res.rCode == 0) {
|
|
11112
|
+
_that.isCustomUser = res.data.nodeInfoMap.nodeExtAttr.isCustomUser;
|
|
11113
|
+
_this5.peopleObj = res.data.nodeInfoMap.nodeExtAttr;
|
|
11114
|
+
_that.enableCustomLimitTimeSetting = _this5.peopleObj.enableCustomLimitTimeSetting == 1;
|
|
11115
|
+
if (res.data.nodeInfoMap.nodeExtAttr.userSelectionType) {
|
|
11116
|
+
_this5.treeType = res.data.nodeInfoMap.nodeExtAttr.userSelectionType;
|
|
11117
|
+
if (res.data.nodeInfoMap.nodeExtAttr) {
|
|
11118
|
+
var idStr = '';
|
|
11119
|
+
if (res.data.nodeInfoMap.nodeExtAttr.isDefSelectedObj == 1 && _this5.nextUserList.length > 0) {
|
|
11120
|
+
_this5.nextUserList[0].checked = true;
|
|
11121
|
+
_this5.nextUserSelectList = [_this5.nextUserList[0]];
|
|
11122
|
+
idStr = _this5.nextUserSelectList[0].showid;
|
|
11123
|
+
}
|
|
11124
|
+
if (res.data.nodeInfoMap.nodeExtAttr.isSelectedAllObj == 1 && _this5.nextUserList.length > 0) {
|
|
11125
|
+
_this5.nextUserSelectList = [];
|
|
11126
|
+
idStr = '';
|
|
11127
|
+
_this5.nextUserList.map(function (x) {
|
|
11128
|
+
x.checked = true;
|
|
11129
|
+
_this5.nextUserSelectList.push(x);
|
|
11130
|
+
idStr = idStr ? idStr + ',' + x.showid : idStr;
|
|
11131
|
+
});
|
|
11132
|
+
}
|
|
11133
|
+
_this5.form.nextUserId = idStr;
|
|
11134
|
+
}
|
|
11135
|
+
// this.nextUserSelectList = list.filter(x => x.showname && x.showid);
|
|
11136
|
+
_this5.getTreeChangeType();
|
|
11137
|
+
}
|
|
11138
|
+
} else {
|
|
11139
|
+
_this5.$toast(res.message);
|
|
11140
|
+
}
|
|
11141
|
+
});
|
|
11142
|
+
}
|
|
11143
|
+
}
|
|
11144
|
+
});
|
|
11145
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/reset.vue?vue&type=script&lang=js
|
|
11146
|
+
/* harmony default export */ var components_resetvue_type_script_lang_js = (resetvue_type_script_lang_js);
|
|
11147
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/reset.vue
|
|
11148
|
+
|
|
11149
|
+
|
|
11150
|
+
|
|
11151
|
+
|
|
11152
|
+
|
|
11153
|
+
/* normalize component */
|
|
11154
|
+
|
|
11155
|
+
var reset_component = Object(componentNormalizer["a" /* default */])(
|
|
11156
|
+
components_resetvue_type_script_lang_js,
|
|
11157
|
+
resetvue_type_template_id_b2f284b2_render,
|
|
11158
|
+
resetvue_type_template_id_b2f284b2_staticRenderFns,
|
|
11159
|
+
false,
|
|
11160
|
+
null,
|
|
11161
|
+
null,
|
|
11162
|
+
null
|
|
11163
|
+
|
|
11164
|
+
)
|
|
11165
|
+
|
|
11166
|
+
/* harmony default export */ var components_reset = (reset_component.exports);
|
|
11167
|
+
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=script&lang=js
|
|
11168
|
+
//
|
|
11169
|
+
//
|
|
11170
|
+
//
|
|
11171
|
+
//
|
|
11172
|
+
//
|
|
11173
|
+
//
|
|
11174
|
+
//
|
|
11175
|
+
//
|
|
11176
|
+
//
|
|
11177
|
+
//
|
|
11178
|
+
//
|
|
11179
|
+
//
|
|
11180
|
+
//
|
|
11181
|
+
//
|
|
11182
|
+
//
|
|
11183
|
+
//
|
|
11184
|
+
//
|
|
11185
|
+
//
|
|
11186
|
+
//
|
|
11187
|
+
//
|
|
11188
|
+
//
|
|
11189
|
+
//
|
|
11190
|
+
//
|
|
11191
|
+
//
|
|
11192
|
+
//
|
|
11193
|
+
//
|
|
11194
|
+
//
|
|
11195
|
+
//
|
|
11196
|
+
//
|
|
11197
|
+
//
|
|
11198
|
+
//
|
|
11199
|
+
//
|
|
11200
|
+
//
|
|
11201
|
+
//
|
|
11202
|
+
//
|
|
11203
|
+
//
|
|
11204
|
+
//
|
|
11205
|
+
//
|
|
11206
|
+
//
|
|
11207
|
+
//
|
|
11208
|
+
//
|
|
11209
|
+
//
|
|
11210
|
+
//
|
|
11211
|
+
//
|
|
11212
|
+
//
|
|
11213
|
+
//
|
|
11214
|
+
//
|
|
11215
|
+
//
|
|
11216
|
+
//
|
|
11217
|
+
//
|
|
11218
|
+
//
|
|
11219
|
+
|
|
11220
|
+
|
|
11221
|
+
|
|
11222
|
+
|
|
11223
|
+
|
|
11224
|
+
|
|
11225
|
+
|
|
9970
11226
|
|
|
9971
11227
|
/* harmony default export */ var mainvue_type_script_lang_js = ({
|
|
9972
11228
|
name: 'EmFlow',
|
|
@@ -9976,6 +11232,8 @@ var taskUnionExamine_component = Object(componentNormalizer["a" /* default */])(
|
|
|
9976
11232
|
StartFlow: StartFlow,
|
|
9977
11233
|
Reject: Reject,
|
|
9978
11234
|
TaskRead: TaskRead,
|
|
11235
|
+
Supervise: supervise,
|
|
11236
|
+
Reset: components_reset,
|
|
9979
11237
|
TaskUnionExamineVue: taskUnionExamine
|
|
9980
11238
|
},
|
|
9981
11239
|
props: {
|