eoss-ui 0.8.11 → 0.8.12
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 +520 -498
- package/lib/flow.js +511 -489
- package/lib/index.js +1 -1
- 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/main.vue +28 -12
- package/packages/theme-chalk/src/flow.scss +1 -1
- package/src/index.js +1 -1
package/lib/eoss-ui.common.js
CHANGED
|
@@ -28417,8 +28417,8 @@ form_src_main.install = function (Vue) {
|
|
|
28417
28417
|
};
|
|
28418
28418
|
|
|
28419
28419
|
/* harmony default export */ var packages_form = (form_src_main);
|
|
28420
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=
|
|
28421
|
-
var
|
|
28420
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=5f0c32cd&
|
|
28421
|
+
var mainvue_type_template_id_5f0c32cd_render = function () {
|
|
28422
28422
|
var _vm = this
|
|
28423
28423
|
var _h = _vm.$createElement
|
|
28424
28424
|
var _c = _vm._self._c || _h
|
|
@@ -28744,7 +28744,12 @@ var mainvue_type_template_id_70db76e0_render = function () {
|
|
|
28744
28744
|
})
|
|
28745
28745
|
: _c(
|
|
28746
28746
|
"div",
|
|
28747
|
-
{
|
|
28747
|
+
{
|
|
28748
|
+
staticClass: "es-flow-content",
|
|
28749
|
+
style: {
|
|
28750
|
+
"justify-content": _vm.fullFlow ? "space-between" : "unset",
|
|
28751
|
+
},
|
|
28752
|
+
},
|
|
28748
28753
|
[
|
|
28749
28754
|
_c(
|
|
28750
28755
|
"div",
|
|
@@ -31476,11 +31481,11 @@ var mainvue_type_template_id_70db76e0_render = function () {
|
|
|
31476
31481
|
)
|
|
31477
31482
|
: _vm._e()
|
|
31478
31483
|
}
|
|
31479
|
-
var
|
|
31480
|
-
|
|
31484
|
+
var mainvue_type_template_id_5f0c32cd_staticRenderFns = []
|
|
31485
|
+
mainvue_type_template_id_5f0c32cd_render._withStripped = true
|
|
31481
31486
|
|
|
31482
31487
|
|
|
31483
|
-
// CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=
|
|
31488
|
+
// CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=5f0c32cd&
|
|
31484
31489
|
|
|
31485
31490
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/CommonOpinions.vue?vue&type=template&id=7b4f1542&
|
|
31486
31491
|
var CommonOpinionsvue_type_template_id_7b4f1542_render = function () {
|
|
@@ -49473,6 +49478,14 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
49473
49478
|
return {};
|
|
49474
49479
|
}
|
|
49475
49480
|
},
|
|
49481
|
+
fullFlow: {
|
|
49482
|
+
type: Boolean,
|
|
49483
|
+
default: true
|
|
49484
|
+
},
|
|
49485
|
+
showReadConfirm: {
|
|
49486
|
+
type: Boolean,
|
|
49487
|
+
default: true
|
|
49488
|
+
},
|
|
49476
49489
|
width: {
|
|
49477
49490
|
type: String
|
|
49478
49491
|
},
|
|
@@ -50117,63 +50130,72 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50117
50130
|
this.loading.close();
|
|
50118
50131
|
}
|
|
50119
50132
|
},
|
|
50120
|
-
|
|
50133
|
+
subRead: function subRead() {
|
|
50121
50134
|
var _this8 = this;
|
|
50122
50135
|
|
|
50136
|
+
this.loading = utils_util.loading(this.$loading, '加载中...');
|
|
50137
|
+
var _taskExamineInfo2 = this.taskExamineInfo,
|
|
50138
|
+
businessId = _taskExamineInfo2.businessId,
|
|
50139
|
+
appId = _taskExamineInfo2.appId,
|
|
50140
|
+
processDefinitionId = _taskExamineInfo2.processDefinitionId,
|
|
50141
|
+
pendingId = _taskExamineInfo2.pendingId;
|
|
50142
|
+
|
|
50143
|
+
var params = {
|
|
50144
|
+
businessId: businessId,
|
|
50145
|
+
appId: appId,
|
|
50146
|
+
processDefinitionId: processDefinitionId,
|
|
50147
|
+
pendingId: pendingId,
|
|
50148
|
+
opinion: this.value,
|
|
50149
|
+
taskAction: 'complete'
|
|
50150
|
+
};
|
|
50151
|
+
utils_util.ajax({
|
|
50152
|
+
url: taskReadHtml,
|
|
50153
|
+
params: { taskAction: 'complete' },
|
|
50154
|
+
headers: {
|
|
50155
|
+
Accept: 'application/json,text/plain'
|
|
50156
|
+
},
|
|
50157
|
+
method: 'post',
|
|
50158
|
+
data: params
|
|
50159
|
+
}).then(function (res) {
|
|
50160
|
+
var status = res.status,
|
|
50161
|
+
message = res.message;
|
|
50162
|
+
|
|
50163
|
+
_this8.loading.close();
|
|
50164
|
+
if (status === 'success') {
|
|
50165
|
+
_this8.flowSuccess();
|
|
50166
|
+
// this.$message.success('提交成功');
|
|
50167
|
+
// this.$emit('success');
|
|
50168
|
+
} else {
|
|
50169
|
+
_this8.$message.error(message || '系统错误,请联系管理员!');
|
|
50170
|
+
_this8.$emit('error');
|
|
50171
|
+
}
|
|
50172
|
+
}).catch(function (err) {
|
|
50173
|
+
_this8.loading.close();
|
|
50174
|
+
if (err.message && err.message !== 'canceled') {
|
|
50175
|
+
_this8.$message.error(err.message);
|
|
50176
|
+
}
|
|
50177
|
+
});
|
|
50178
|
+
},
|
|
50179
|
+
taskRead: function taskRead() {
|
|
50180
|
+
var _this9 = this;
|
|
50181
|
+
|
|
50123
50182
|
if (this.taskReadOpinionRequired == 'true' && !this.value) {
|
|
50124
50183
|
if (!this.$refs.commonOpinions.validate()) return;
|
|
50125
50184
|
}
|
|
50126
|
-
this
|
|
50127
|
-
|
|
50128
|
-
|
|
50129
|
-
|
|
50130
|
-
|
|
50131
|
-
|
|
50132
|
-
|
|
50133
|
-
|
|
50134
|
-
|
|
50135
|
-
|
|
50136
|
-
|
|
50137
|
-
|
|
50138
|
-
var params = {
|
|
50139
|
-
businessId: businessId,
|
|
50140
|
-
appId: appId,
|
|
50141
|
-
processDefinitionId: processDefinitionId,
|
|
50142
|
-
pendingId: pendingId,
|
|
50143
|
-
opinion: _this8.value,
|
|
50144
|
-
taskAction: 'complete'
|
|
50145
|
-
};
|
|
50146
|
-
utils_util.ajax({
|
|
50147
|
-
url: taskReadHtml,
|
|
50148
|
-
params: { taskAction: 'complete' },
|
|
50149
|
-
headers: {
|
|
50150
|
-
Accept: 'application/json,text/plain'
|
|
50151
|
-
},
|
|
50152
|
-
method: 'post',
|
|
50153
|
-
data: params
|
|
50154
|
-
}).then(function (res) {
|
|
50155
|
-
var status = res.status,
|
|
50156
|
-
message = res.message;
|
|
50157
|
-
|
|
50158
|
-
_this8.loading.close();
|
|
50159
|
-
if (status === 'success') {
|
|
50160
|
-
_this8.flowSuccess();
|
|
50161
|
-
// this.$message.success('提交成功');
|
|
50162
|
-
// this.$emit('success');
|
|
50163
|
-
} else {
|
|
50164
|
-
_this8.$message.error(message || '系统错误,请联系管理员!');
|
|
50165
|
-
_this8.$emit('error');
|
|
50166
|
-
}
|
|
50167
|
-
}).catch(function (err) {
|
|
50168
|
-
_this8.loading.close();
|
|
50169
|
-
if (err.message && err.message !== 'canceled') {
|
|
50170
|
-
_this8.$message.error(err.message);
|
|
50171
|
-
}
|
|
50172
|
-
});
|
|
50173
|
-
}).catch(function () {});
|
|
50185
|
+
if (this.showReadConfirm) {
|
|
50186
|
+
this.$confirm('确认提交?', '提示', {
|
|
50187
|
+
confirmButtonText: '确定',
|
|
50188
|
+
cancelButtonText: '取消',
|
|
50189
|
+
type: 'warning'
|
|
50190
|
+
}).then(function () {
|
|
50191
|
+
_this9.subRead();
|
|
50192
|
+
}).catch(function () {});
|
|
50193
|
+
} else {
|
|
50194
|
+
this.subRead();
|
|
50195
|
+
}
|
|
50174
50196
|
},
|
|
50175
50197
|
validReadTransferHandle: function validReadTransferHandle(readTransferHandleBusinessId, readTransferHandleProcessKey) {
|
|
50176
|
-
var
|
|
50198
|
+
var _this10 = this;
|
|
50177
50199
|
|
|
50178
50200
|
var params = {
|
|
50179
50201
|
url: checkBusinessIdStartedReadTransferHandle,
|
|
@@ -50184,14 +50206,14 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50184
50206
|
}
|
|
50185
50207
|
};
|
|
50186
50208
|
utils_util.ajax(params).then(function (res) {
|
|
50187
|
-
|
|
50209
|
+
_this10.loading.close();
|
|
50188
50210
|
if (res.rCode == 0) {
|
|
50189
|
-
|
|
50211
|
+
_this10.readTransferHandleDisabled = !res.results.canReadTransferHandle;
|
|
50190
50212
|
}
|
|
50191
50213
|
});
|
|
50192
50214
|
},
|
|
50193
50215
|
getTaskReadFlow: function getTaskReadFlow() {
|
|
50194
|
-
var
|
|
50216
|
+
var _this11 = this;
|
|
50195
50217
|
|
|
50196
50218
|
this.loading = utils_util.loading(this.$loading, '加载中...');
|
|
50197
50219
|
utils_util.ajax({
|
|
@@ -50208,32 +50230,32 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50208
50230
|
defaultNotificationMessage = _res$data.defaultNotificationMessage;
|
|
50209
50231
|
|
|
50210
50232
|
if (status === 'success') {
|
|
50211
|
-
|
|
50212
|
-
|
|
50213
|
-
|
|
50214
|
-
|
|
50215
|
-
|
|
50216
|
-
|
|
50217
|
-
if (
|
|
50218
|
-
|
|
50219
|
-
}
|
|
50220
|
-
if (
|
|
50221
|
-
|
|
50222
|
-
}
|
|
50223
|
-
|
|
50233
|
+
_this11.taskExamineInfo = taskExamine;
|
|
50234
|
+
_this11.nodeName = _this11.nodename || taskExamine.nodeName || '分阅';
|
|
50235
|
+
_this11.taskReadOpinionRequired = taskReadOpinionRequired;
|
|
50236
|
+
_this11.nextNode.notificationMsg = defaultNotificationMessage;
|
|
50237
|
+
_this11.isCanReadTransferHandle = isCanReadTransferHandle;
|
|
50238
|
+
_this11.isCanFenyue = isCanFenyue;
|
|
50239
|
+
if (_this11.nodeName) {
|
|
50240
|
+
_this11.NodeName = _this11.nodeName;
|
|
50241
|
+
}
|
|
50242
|
+
if (_this11.isCanReadTransferHandle) {
|
|
50243
|
+
_this11.validReadTransferHandle(taskExamine.businessId, taskExamine.processDefinitionId);
|
|
50244
|
+
}
|
|
50245
|
+
_this11.getNodeType();
|
|
50224
50246
|
} else {
|
|
50225
|
-
|
|
50247
|
+
_this11.$message.error(message || '系统错误,请联系管理员!');
|
|
50226
50248
|
}
|
|
50227
|
-
|
|
50249
|
+
_this11.loading.close();
|
|
50228
50250
|
}).catch(function (err) {
|
|
50229
|
-
|
|
50251
|
+
_this11.loading.close();
|
|
50230
50252
|
if (err.message && err.message !== 'canceled') {
|
|
50231
|
-
|
|
50253
|
+
_this11.$message.error(err.message);
|
|
50232
50254
|
}
|
|
50233
50255
|
});
|
|
50234
50256
|
},
|
|
50235
50257
|
getUserInfo: function getUserInfo() {
|
|
50236
|
-
var
|
|
50258
|
+
var _this12 = this;
|
|
50237
50259
|
|
|
50238
50260
|
var mainConfig = utils_util.getStorage('mainConfig');
|
|
50239
50261
|
if (mainConfig) {
|
|
@@ -50244,14 +50266,14 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50244
50266
|
data = res.data;
|
|
50245
50267
|
|
|
50246
50268
|
if (status == 'success') {
|
|
50247
|
-
|
|
50269
|
+
_this12.userModel = data;
|
|
50248
50270
|
} else {
|
|
50249
50271
|
var msg = res.msg || '系统错误,请联系管理员!';
|
|
50250
|
-
|
|
50272
|
+
_this12.$message.error(msg);
|
|
50251
50273
|
}
|
|
50252
50274
|
}).catch(function (err) {
|
|
50253
50275
|
if (err.message && err.message !== 'canceled') {
|
|
50254
|
-
|
|
50276
|
+
_this12.$message.error(err.message);
|
|
50255
50277
|
}
|
|
50256
50278
|
});
|
|
50257
50279
|
}
|
|
@@ -50271,7 +50293,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50271
50293
|
}
|
|
50272
50294
|
},
|
|
50273
50295
|
getNodeType: function getNodeType() {
|
|
50274
|
-
var
|
|
50296
|
+
var _this13 = this;
|
|
50275
50297
|
|
|
50276
50298
|
var params = {
|
|
50277
50299
|
url: findCodeValues,
|
|
@@ -50286,11 +50308,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50286
50308
|
data = res.data;
|
|
50287
50309
|
|
|
50288
50310
|
if (status === 'success') {
|
|
50289
|
-
|
|
50311
|
+
_this13.newsList = data;
|
|
50290
50312
|
}
|
|
50291
50313
|
}).catch(function (err) {
|
|
50292
50314
|
if (err.message && err.message !== 'canceled') {
|
|
50293
|
-
|
|
50315
|
+
_this13.$message.error(err.message);
|
|
50294
50316
|
}
|
|
50295
50317
|
});
|
|
50296
50318
|
},
|
|
@@ -50302,17 +50324,17 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50302
50324
|
* @date 2022年9月9日
|
|
50303
50325
|
**/
|
|
50304
50326
|
saveInfo: function saveInfo(type, btn) {
|
|
50305
|
-
var
|
|
50327
|
+
var _this14 = this;
|
|
50306
50328
|
|
|
50307
50329
|
if (this.isFlow) {
|
|
50308
50330
|
if (!type) {
|
|
50309
50331
|
if (btn && btn.before) {
|
|
50310
50332
|
btn.before(Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 1).then(function (next) {
|
|
50311
|
-
|
|
50333
|
+
_this14.$emit('save', _this14.businessIds);
|
|
50312
50334
|
}).catch(function (e) {});
|
|
50313
50335
|
} else if (this.beforeSubmit != undefined) {
|
|
50314
50336
|
this.beforeSubmit(btn && Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 1).then(function (next) {
|
|
50315
|
-
|
|
50337
|
+
_this14.$emit('save', _this14.businessIds);
|
|
50316
50338
|
}).catch(function (e) {});
|
|
50317
50339
|
} else {
|
|
50318
50340
|
this.$emit('save', this.businessIds);
|
|
@@ -50321,13 +50343,13 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50321
50343
|
} else {
|
|
50322
50344
|
if (btn && btn.before && !type) {
|
|
50323
50345
|
btn.before(Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 2).then(function (next) {
|
|
50324
|
-
|
|
50346
|
+
_this14.saveFlowInfo();
|
|
50325
50347
|
}).catch(function (e) {});
|
|
50326
50348
|
} else if (this.beforeSubmit == undefined && !type) {
|
|
50327
50349
|
this.subFun(this.saveFlowInfo);
|
|
50328
50350
|
} else if (!type && this.beforeSubmit != undefined) {
|
|
50329
50351
|
this.beforeSubmit(btn && Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 2).then(function (next) {
|
|
50330
|
-
|
|
50352
|
+
_this14.saveFlowInfo();
|
|
50331
50353
|
}).catch(function (e) {});
|
|
50332
50354
|
} else {
|
|
50333
50355
|
this.saveFlowInfo(type);
|
|
@@ -50335,7 +50357,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50335
50357
|
}
|
|
50336
50358
|
},
|
|
50337
50359
|
saveFlowInfo: function saveFlowInfo(isSave) {
|
|
50338
|
-
var
|
|
50360
|
+
var _this15 = this;
|
|
50339
50361
|
|
|
50340
50362
|
var params = {
|
|
50341
50363
|
opinion: this.value,
|
|
@@ -50346,17 +50368,17 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50346
50368
|
var status = res.status,
|
|
50347
50369
|
message = res.message;
|
|
50348
50370
|
|
|
50349
|
-
if (!isSave)
|
|
50371
|
+
if (!isSave) _this15.loading.close();
|
|
50350
50372
|
if (status == 'success') {
|
|
50351
50373
|
// this.$message.success('暂存成功');
|
|
50352
|
-
!isSave &&
|
|
50374
|
+
!isSave && _this15.$emit('save', _this15.businessIds);
|
|
50353
50375
|
} else {
|
|
50354
|
-
|
|
50376
|
+
_this15.$message.error(message || '系统错误,请联系管理员!');
|
|
50355
50377
|
}
|
|
50356
50378
|
}).catch(function (err) {
|
|
50357
|
-
if (!isSave)
|
|
50379
|
+
if (!isSave) _this15.loading.close();
|
|
50358
50380
|
if (err.message && err.message !== 'canceled') {
|
|
50359
|
-
|
|
50381
|
+
_this15.$message.error(err.message);
|
|
50360
50382
|
}
|
|
50361
50383
|
});
|
|
50362
50384
|
},
|
|
@@ -50368,7 +50390,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50368
50390
|
* @date 2022年5月25日
|
|
50369
50391
|
**/
|
|
50370
50392
|
rejectBtn: function rejectBtn() {
|
|
50371
|
-
var
|
|
50393
|
+
var _this16 = this;
|
|
50372
50394
|
|
|
50373
50395
|
if (this.value === '') this.value = this.nodeDefaultRejectOpinion;
|
|
50374
50396
|
if (!this.value) {
|
|
@@ -50376,7 +50398,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50376
50398
|
}
|
|
50377
50399
|
if (this.beforeSubmit != undefined) {
|
|
50378
50400
|
this.beforeSubmit(0).then(function (next) {
|
|
50379
|
-
|
|
50401
|
+
_this16.showReject = true;
|
|
50380
50402
|
}).catch(function (e) {});
|
|
50381
50403
|
} else {
|
|
50382
50404
|
this.showReject = true;
|
|
@@ -50390,14 +50412,14 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50390
50412
|
* @date 2022年5月25日
|
|
50391
50413
|
**/
|
|
50392
50414
|
taskReadBtn: function taskReadBtn() {
|
|
50393
|
-
var
|
|
50415
|
+
var _this17 = this;
|
|
50394
50416
|
|
|
50395
50417
|
// return this.$message.warning('暂未开放!敬请期待');
|
|
50396
50418
|
if (this.beforeSubmit != undefined) {
|
|
50397
50419
|
this.beforeSubmit().then(function (next) {
|
|
50398
|
-
if (
|
|
50399
|
-
|
|
50400
|
-
|
|
50420
|
+
if (_this17.value === '') _this17.value = _this17.nodeDefaultRejectOpinion;
|
|
50421
|
+
_this17.taskReadType = 'create';
|
|
50422
|
+
_this17.showTaskRead = true;
|
|
50401
50423
|
}).catch(function (e) {});
|
|
50402
50424
|
} else {
|
|
50403
50425
|
if (this.value === '') this.value = this.nodeDefaultRejectOpinion;
|
|
@@ -50413,7 +50435,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50413
50435
|
* @date 2022年5月25日
|
|
50414
50436
|
**/
|
|
50415
50437
|
getFind: function getFind() {
|
|
50416
|
-
var
|
|
50438
|
+
var _this18 = this;
|
|
50417
50439
|
|
|
50418
50440
|
utils_util.ajax({
|
|
50419
50441
|
url: findSysCodes
|
|
@@ -50422,26 +50444,26 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50422
50444
|
message = res.message;
|
|
50423
50445
|
|
|
50424
50446
|
if (status === 'success') {
|
|
50425
|
-
if (
|
|
50426
|
-
|
|
50447
|
+
if (_this18.hideMessage) return;
|
|
50448
|
+
_this18.nextNode.notificationType = message.split(',');
|
|
50427
50449
|
var arr = [];
|
|
50428
|
-
|
|
50429
|
-
|
|
50450
|
+
_this18.newsList.map(function (item) {
|
|
50451
|
+
_this18.nextNode.notificationType.map(function (x) {
|
|
50430
50452
|
if (x == item.cciValue) {
|
|
50431
50453
|
arr.push(x);
|
|
50432
50454
|
}
|
|
50433
50455
|
});
|
|
50434
50456
|
});
|
|
50435
|
-
|
|
50457
|
+
_this18.nextNode.notificationType = arr;
|
|
50436
50458
|
}
|
|
50437
50459
|
}).catch(function (err) {
|
|
50438
50460
|
if (err.message && err.message !== 'canceled') {
|
|
50439
|
-
|
|
50461
|
+
_this18.$message.error(err.message);
|
|
50440
50462
|
}
|
|
50441
50463
|
});
|
|
50442
50464
|
},
|
|
50443
50465
|
getFreeStartParams: function getFreeStartParams() {
|
|
50444
|
-
var
|
|
50466
|
+
var _this19 = this;
|
|
50445
50467
|
|
|
50446
50468
|
var _endFlowInfo = this.endFlowInfo,
|
|
50447
50469
|
businessId = _endFlowInfo.businessId,
|
|
@@ -50459,20 +50481,20 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50459
50481
|
};
|
|
50460
50482
|
this.loading = utils_util.loading(this.$loading, '加载中...');
|
|
50461
50483
|
utils_util.ajax(param).then(function (res) {
|
|
50462
|
-
|
|
50484
|
+
_this19.loading.close();
|
|
50463
50485
|
if (res.rCode == 0 || res.status == 'success') {
|
|
50464
|
-
|
|
50465
|
-
if (res.results.useScene === 'multiInsMidwayWithSubmitScene')
|
|
50466
|
-
if (!
|
|
50467
|
-
if (res.results.startFlowIndexProcessKeys && res.results.startFlowIndexProcessKeys.length == 0 || !res.results.startFlowIndexProcessKeys) return
|
|
50486
|
+
_this19.freeStartFlowParams = res.results;
|
|
50487
|
+
if (res.results.useScene === 'multiInsMidwayWithSubmitScene') _this19.subProcess('同意。', res.results.useScene);
|
|
50488
|
+
if (!_this19.freeValid) return;
|
|
50489
|
+
if (res.results.startFlowIndexProcessKeys && res.results.startFlowIndexProcessKeys.length == 0 || !res.results.startFlowIndexProcessKeys) return _this19.$message.warning('未找到流程定义!');
|
|
50468
50490
|
if (res.results.startFlowIndexProcessKeys.length == 1) {
|
|
50469
|
-
|
|
50470
|
-
|
|
50491
|
+
_this19.freeStartFlowNextNode = res.results.startFlowIndexProcessKeys[0];
|
|
50492
|
+
_this19.handleVisible = true;
|
|
50471
50493
|
} else {
|
|
50472
|
-
|
|
50494
|
+
_this19.showFreeStartFlow = true;
|
|
50473
50495
|
}
|
|
50474
50496
|
} else {
|
|
50475
|
-
|
|
50497
|
+
_this19.$message.error(res.message || '系统错误,请联系管理员!');
|
|
50476
50498
|
}
|
|
50477
50499
|
});
|
|
50478
50500
|
},
|
|
@@ -50485,53 +50507,53 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50485
50507
|
* @date 2022年5月25日
|
|
50486
50508
|
**/
|
|
50487
50509
|
endFlows: function endFlows(res) {
|
|
50488
|
-
var
|
|
50510
|
+
var _this20 = this;
|
|
50489
50511
|
|
|
50490
50512
|
if (this.beforeSubmit != undefined) {
|
|
50491
50513
|
this.beforeSubmit().then(function (next) {
|
|
50492
|
-
|
|
50514
|
+
_this20.saveEndFlows(res);
|
|
50493
50515
|
}).catch(function (e) {});
|
|
50494
50516
|
} else {
|
|
50495
50517
|
this.saveEndFlows(res);
|
|
50496
50518
|
}
|
|
50497
50519
|
},
|
|
50498
50520
|
saveEndFlows: function saveEndFlows(res) {
|
|
50499
|
-
var
|
|
50521
|
+
var _this21 = this;
|
|
50500
50522
|
|
|
50501
50523
|
this.$confirm('确认' + res.value + '?').then(function () {
|
|
50502
50524
|
var params = {
|
|
50503
50525
|
url: endFlowHtml,
|
|
50504
50526
|
headers: { Accept: 'application/json,text/plain' },
|
|
50505
50527
|
method: 'post',
|
|
50506
|
-
data: flow_src_mainvue_type_script_lang_js_extends({},
|
|
50507
|
-
opinion:
|
|
50528
|
+
data: flow_src_mainvue_type_script_lang_js_extends({}, _this21.endFlowInfo, _this21.nextNode, {
|
|
50529
|
+
opinion: _this21.value,
|
|
50508
50530
|
userId: utils_util.getStorage('userId'),
|
|
50509
|
-
nextUserId:
|
|
50510
|
-
addSignUserId:
|
|
50511
|
-
customPresetUserJson: JSON.stringify(
|
|
50512
|
-
presetUserJson: JSON.stringify(
|
|
50513
|
-
removeSignUserId:
|
|
50514
|
-
notificationType:
|
|
50531
|
+
nextUserId: _this21.multiple ? _this21.nextNode.nextUserId.join(',') : _this21.nextNode.nextUserId,
|
|
50532
|
+
addSignUserId: _this21.nextNode.addSignUserId.join(','),
|
|
50533
|
+
customPresetUserJson: JSON.stringify(_this21.presetList),
|
|
50534
|
+
presetUserJson: JSON.stringify(_this21.presetUserJson),
|
|
50535
|
+
removeSignUserId: _this21.nextNode.removeSignUserId.join(','),
|
|
50536
|
+
notificationType: _this21.nextNode.notificationType.join(',')
|
|
50515
50537
|
})
|
|
50516
50538
|
};
|
|
50517
|
-
|
|
50539
|
+
_this21.loading = utils_util.loading(_this21.$loading, '加载中...');
|
|
50518
50540
|
utils_util.ajax(params).then(function (res) {
|
|
50519
50541
|
var status = res.status,
|
|
50520
50542
|
message = res.message;
|
|
50521
50543
|
|
|
50522
|
-
|
|
50544
|
+
_this21.loading.close();
|
|
50523
50545
|
if (status === 'success') {
|
|
50524
|
-
|
|
50546
|
+
_this21.flowSuccess();
|
|
50525
50547
|
// this.$message.success('提交成功');
|
|
50526
50548
|
// this.$emit('success');
|
|
50527
50549
|
} else {
|
|
50528
|
-
|
|
50529
|
-
|
|
50550
|
+
_this21.$message.error(message || '系统错误,请联系管理员!');
|
|
50551
|
+
_this21.$emit('error');
|
|
50530
50552
|
}
|
|
50531
50553
|
}).catch(function (err) {
|
|
50532
|
-
|
|
50554
|
+
_this21.loading.close();
|
|
50533
50555
|
if (err.message && err.message !== 'canceled') {
|
|
50534
|
-
|
|
50556
|
+
_this21.$message.error(err.message);
|
|
50535
50557
|
}
|
|
50536
50558
|
});
|
|
50537
50559
|
}).catch(function (e) {});
|
|
@@ -50636,11 +50658,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50636
50658
|
* @date 2022年9月29日
|
|
50637
50659
|
**/
|
|
50638
50660
|
toTakeAdvice: function toTakeAdvice(res) {
|
|
50639
|
-
var
|
|
50661
|
+
var _this22 = this;
|
|
50640
50662
|
|
|
50641
50663
|
if (this.beforeSubmit != undefined) {
|
|
50642
50664
|
this.beforeSubmit().then(function (next) {
|
|
50643
|
-
|
|
50665
|
+
_this22.saveToTakeAdvice(res);
|
|
50644
50666
|
}).catch(function (e) {});
|
|
50645
50667
|
} else {
|
|
50646
50668
|
this.saveToTakeAdvice(res);
|
|
@@ -50648,7 +50670,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50648
50670
|
// return this.$message.warning('暂未开放!敬请期待');
|
|
50649
50671
|
},
|
|
50650
50672
|
saveToTakeAdvice: function saveToTakeAdvice(res) {
|
|
50651
|
-
var
|
|
50673
|
+
var _this23 = this;
|
|
50652
50674
|
|
|
50653
50675
|
var params = {
|
|
50654
50676
|
url: isCanStartSubFlow,
|
|
@@ -50663,16 +50685,16 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50663
50685
|
utils_util.ajax(params).then(function (res) {
|
|
50664
50686
|
var message = res.message;
|
|
50665
50687
|
|
|
50666
|
-
|
|
50688
|
+
_this23.loading.close();
|
|
50667
50689
|
if (message == 'success') {
|
|
50668
|
-
|
|
50690
|
+
_this23.showTaskUnionExamine = true;
|
|
50669
50691
|
} else {
|
|
50670
|
-
|
|
50692
|
+
_this23.$message.error(message || '系统错误,请联系管理员!');
|
|
50671
50693
|
}
|
|
50672
50694
|
}).catch(function (err) {
|
|
50673
|
-
|
|
50695
|
+
_this23.loading.close();
|
|
50674
50696
|
if (err.message && err.message !== 'canceled') {
|
|
50675
|
-
|
|
50697
|
+
_this23.$message.error(err.message);
|
|
50676
50698
|
}
|
|
50677
50699
|
});
|
|
50678
50700
|
},
|
|
@@ -50684,11 +50706,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50684
50706
|
* @date 2022年9月29日
|
|
50685
50707
|
**/
|
|
50686
50708
|
toStartDraf: function toStartDraf(res) {
|
|
50687
|
-
var
|
|
50709
|
+
var _this24 = this;
|
|
50688
50710
|
|
|
50689
50711
|
if (this.beforeSubmit != undefined) {
|
|
50690
50712
|
this.beforeSubmit().then(function (next) {
|
|
50691
|
-
|
|
50713
|
+
_this24.showTaskUnionExamine = true;
|
|
50692
50714
|
}).catch(function (e) {});
|
|
50693
50715
|
} else {
|
|
50694
50716
|
this.showTaskUnionExamine = true;
|
|
@@ -50702,11 +50724,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50702
50724
|
* @date 2022年9月29日
|
|
50703
50725
|
**/
|
|
50704
50726
|
toSendMsg: function toSendMsg(res) {
|
|
50705
|
-
var
|
|
50727
|
+
var _this25 = this;
|
|
50706
50728
|
|
|
50707
50729
|
if (this.beforeSubmit != undefined) {
|
|
50708
50730
|
this.beforeSubmit().then(function (next) {
|
|
50709
|
-
|
|
50731
|
+
_this25.showSendMsg = true;
|
|
50710
50732
|
}).catch(function (e) {});
|
|
50711
50733
|
} else {
|
|
50712
50734
|
this.showSendMsg = true;
|
|
@@ -50720,13 +50742,13 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50720
50742
|
* @date 2022年9月29日
|
|
50721
50743
|
**/
|
|
50722
50744
|
toTaskReadAndEnd: function toTaskReadAndEnd(res) {
|
|
50723
|
-
var
|
|
50745
|
+
var _this26 = this;
|
|
50724
50746
|
|
|
50725
50747
|
if (this.beforeSubmit != undefined) {
|
|
50726
50748
|
this.beforeSubmit().then(function (next) {
|
|
50727
|
-
if (
|
|
50728
|
-
|
|
50729
|
-
|
|
50749
|
+
if (_this26.value === '') _this26.value = _this26.nodeDefaultRejectOpinion;
|
|
50750
|
+
_this26.taskReadType = 'taskReadAndEnd';
|
|
50751
|
+
_this26.showTaskRead = true;
|
|
50730
50752
|
}).catch(function (e) {});
|
|
50731
50753
|
} else {
|
|
50732
50754
|
if (this.value === '') this.value = this.nodeDefaultRejectOpinion;
|
|
@@ -50742,21 +50764,21 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50742
50764
|
* @date 2022年9月29日
|
|
50743
50765
|
**/
|
|
50744
50766
|
rejectAndEnd: function rejectAndEnd(res) {
|
|
50745
|
-
var
|
|
50767
|
+
var _this27 = this;
|
|
50746
50768
|
|
|
50747
50769
|
if (this.isOpinionRequired == 1 && (this.value == '' || !this.value)) {
|
|
50748
50770
|
if (!this.$refs.commonOpinions.validate()) return;
|
|
50749
50771
|
}
|
|
50750
50772
|
if (this.beforeSubmit != undefined) {
|
|
50751
50773
|
this.beforeSubmit().then(function (next) {
|
|
50752
|
-
|
|
50774
|
+
_this27.saveRejectAndEnd(res);
|
|
50753
50775
|
}).catch(function (e) {});
|
|
50754
50776
|
} else {
|
|
50755
50777
|
this.saveRejectAndEnd(res);
|
|
50756
50778
|
}
|
|
50757
50779
|
},
|
|
50758
50780
|
saveRejectAndEnd: function saveRejectAndEnd(res) {
|
|
50759
|
-
var
|
|
50781
|
+
var _this28 = this;
|
|
50760
50782
|
|
|
50761
50783
|
this.$confirm('确认' + res.value + '?').then(function () {
|
|
50762
50784
|
// return this.$message.warning('请填写意见');
|
|
@@ -50765,29 +50787,29 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50765
50787
|
headers: { Accept: 'application/json,text/plain' },
|
|
50766
50788
|
method: 'post',
|
|
50767
50789
|
data: {
|
|
50768
|
-
opinion:
|
|
50769
|
-
pendingId:
|
|
50790
|
+
opinion: _this28.value,
|
|
50791
|
+
pendingId: _this28.pendingId,
|
|
50770
50792
|
isSinglePage: false
|
|
50771
50793
|
}
|
|
50772
50794
|
};
|
|
50773
|
-
|
|
50795
|
+
_this28.loading = utils_util.loading(_this28.$loading, '加载中...');
|
|
50774
50796
|
utils_util.ajax(params).then(function (res) {
|
|
50775
50797
|
var status = res.status,
|
|
50776
50798
|
message = res.message;
|
|
50777
50799
|
|
|
50778
|
-
|
|
50800
|
+
_this28.loading.close();
|
|
50779
50801
|
if (status === 'success') {
|
|
50780
|
-
|
|
50802
|
+
_this28.flowSuccess();
|
|
50781
50803
|
// this.$message.success('提交成功');
|
|
50782
50804
|
// this.$emit('success');
|
|
50783
50805
|
} else {
|
|
50784
|
-
|
|
50785
|
-
|
|
50806
|
+
_this28.$message.error(message || '系统错误,请联系管理员!');
|
|
50807
|
+
_this28.$emit('error');
|
|
50786
50808
|
}
|
|
50787
50809
|
}).catch(function (err) {
|
|
50788
|
-
|
|
50810
|
+
_this28.loading.close();
|
|
50789
50811
|
if (err.message && err.message !== 'canceled') {
|
|
50790
|
-
|
|
50812
|
+
_this28.$message.error(err.message);
|
|
50791
50813
|
}
|
|
50792
50814
|
});
|
|
50793
50815
|
}).catch(function () {
|
|
@@ -50802,12 +50824,12 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50802
50824
|
* @date 2022年9月29日
|
|
50803
50825
|
**/
|
|
50804
50826
|
toTransfer: function toTransfer(res) {
|
|
50805
|
-
var
|
|
50827
|
+
var _this29 = this;
|
|
50806
50828
|
|
|
50807
50829
|
if (this.beforeSubmit != undefined) {
|
|
50808
50830
|
this.beforeSubmit(0).then(function (next) {
|
|
50809
|
-
|
|
50810
|
-
|
|
50831
|
+
_this29.taskReadType = 'transfer';
|
|
50832
|
+
_this29.showTaskRead = true;
|
|
50811
50833
|
}).catch(function (e) {});
|
|
50812
50834
|
} else {
|
|
50813
50835
|
this.taskReadType = 'transfer';
|
|
@@ -50825,7 +50847,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50825
50847
|
* @date 2022年5月25日
|
|
50826
50848
|
**/
|
|
50827
50849
|
getNodeInfo: function getNodeInfo() {
|
|
50828
|
-
var
|
|
50850
|
+
var _this30 = this;
|
|
50829
50851
|
|
|
50830
50852
|
var params = {
|
|
50831
50853
|
processDefinitionId: this.nodeInfo.nextNode,
|
|
@@ -50840,53 +50862,53 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50840
50862
|
message = res.message,
|
|
50841
50863
|
data = res.data;
|
|
50842
50864
|
|
|
50843
|
-
|
|
50865
|
+
_this30.loading.close();
|
|
50844
50866
|
if (status === 'success') {
|
|
50845
|
-
|
|
50846
|
-
|
|
50847
|
-
|
|
50848
|
-
if (
|
|
50849
|
-
|
|
50867
|
+
_this30.isCurrentNodeForbiddenChangeCandidate = data.nodeExtAttr.isCurrentNodeForbiddenChangeCandidate;
|
|
50868
|
+
_this30.currentNodeEnableItemHandleDescription = data.nodeExtAttr.currentNodeEnableItemHandleDescription == 1;
|
|
50869
|
+
_this30.enableCustomLimitTimeSetting = data.nodeExtAttr.enableCustomLimitTimeSetting == 1;
|
|
50870
|
+
if (_this30.enableCustomLimitTimeSetting && data.nodeMoreInfo.defaultCustomLimitDays) {
|
|
50871
|
+
_this30.nextNode.customLimitTime = _this30.nextNode.customLimitTimeText = data.nodeMoreInfo.defaultCustomLimitDays + '';
|
|
50850
50872
|
}
|
|
50851
50873
|
if (data.nodeMoreInfo.chooseCurrentOrgUserCandidateNeedForbiddenSubDept === true) {
|
|
50852
|
-
|
|
50874
|
+
_this30.params.only_filid = true;
|
|
50853
50875
|
}
|
|
50854
|
-
data.otherOrgDisabledObjId && (
|
|
50855
|
-
data.currentOrgDisabledObjId && (
|
|
50876
|
+
data.otherOrgDisabledObjId && (_this30.otherOrgDisabledObjId = data.otherOrgDisabledObjId.split(','));
|
|
50877
|
+
data.currentOrgDisabledObjId && (_this30.currentOrgDisabledObjId = data.currentOrgDisabledObjId.split(','));
|
|
50856
50878
|
if (data != null) {
|
|
50857
50879
|
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) {
|
|
50858
|
-
|
|
50880
|
+
_this30.getIsShowNextUser(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
|
|
50859
50881
|
} else {
|
|
50860
|
-
|
|
50882
|
+
_this30.isMultiple(data.nodeExtAttr && data.nodeExtAttr.userSelectionType, _this30.choiceOrgId, _this30.choiceDeptId, _this30.pOrgId);
|
|
50861
50883
|
}
|
|
50862
|
-
|
|
50863
|
-
|
|
50864
|
-
|
|
50865
|
-
|
|
50866
|
-
|
|
50884
|
+
_this30.isReadMultiple(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
|
|
50885
|
+
_this30.isTaskread = data.nodeExtAttr.isTaskread;
|
|
50886
|
+
_this30.isHandleExplain = data.nodeExtAttr.isHandleExplain;
|
|
50887
|
+
_this30.isLimitedTimeHandling = data.nodeExtAttr.isLimitedTimeHandling;
|
|
50888
|
+
_this30.nodeType = data.nodeExtAttr.nodeType;
|
|
50867
50889
|
//如果当前为承办节点/会签节点,则展示本单位外单位办理人选择
|
|
50868
|
-
if (
|
|
50869
|
-
|
|
50870
|
-
|
|
50871
|
-
|
|
50872
|
-
|
|
50873
|
-
|
|
50890
|
+
if (_this30.nodeType === 1 || _this30.nodeType === 2) {
|
|
50891
|
+
_this30.isMainSubProcess === true ? _this30.isNodeShowProcess = true : _this30.isNodeShowProcess = false;
|
|
50892
|
+
_this30.isMainSubProcess === true ? _this30.isMainSubProcess = true : _this30.isMainSubProcess = false;
|
|
50893
|
+
_this30.isNextUser = false;
|
|
50894
|
+
_this30.isHideCurrentOrg = res.data.nodeExtAttr.isHideCurrentOrg == 1 ? false : true; //判断是否隐藏本单位
|
|
50895
|
+
_this30.isHideOtherOrg = res.data.nodeExtAttr.isHideOtherOrg == 1 ? false : true; //判断是否隐藏外单位
|
|
50874
50896
|
} else {
|
|
50875
|
-
|
|
50876
|
-
|
|
50877
|
-
|
|
50878
|
-
|
|
50879
|
-
|
|
50897
|
+
_this30.isHideCurrentOrg = false;
|
|
50898
|
+
_this30.isHideOtherOrg = false;
|
|
50899
|
+
_this30.isNodeShowProcess = false;
|
|
50900
|
+
_this30.isMainSubProcess = false;
|
|
50901
|
+
_this30.isNextUser = _this30.nextNode.nextOperate != 9;
|
|
50880
50902
|
// this.isMainSubProcess === true
|
|
50881
50903
|
// ? (this.isMainSubProcess = true)
|
|
50882
50904
|
// : (this.isMainSubProcess = false);
|
|
50883
50905
|
}
|
|
50884
|
-
|
|
50885
|
-
if (
|
|
50906
|
+
_this30.multiple ? _this30.nextNode.nextUserId = [] : _this30.nextNode.nextUserId = '';
|
|
50907
|
+
if (_this30.multiple && data.nodeExtAttr.isDefSelectedObj == 1 && data.nextUserList !== undefined) {
|
|
50886
50908
|
data.nextUserList.map(function (item) {
|
|
50887
50909
|
if (item.userId && item.username) {
|
|
50888
|
-
|
|
50889
|
-
|
|
50910
|
+
_this30.nextNode.nextUserId.push(item.userId);
|
|
50911
|
+
_this30.selectUserList.push({
|
|
50890
50912
|
showname: item.username,
|
|
50891
50913
|
showid: item.userId
|
|
50892
50914
|
});
|
|
@@ -50895,40 +50917,40 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50895
50917
|
}
|
|
50896
50918
|
data.nextUserList.map(function (item) {
|
|
50897
50919
|
if (item.userId && item.username) {
|
|
50898
|
-
|
|
50920
|
+
_this30.options.push({
|
|
50899
50921
|
showname: item.username,
|
|
50900
50922
|
showid: item.userId
|
|
50901
50923
|
});
|
|
50902
50924
|
}
|
|
50903
50925
|
});
|
|
50904
50926
|
if (data.nodeExtAttr.presetEdit != 0) {
|
|
50905
|
-
|
|
50927
|
+
_this30.radioList = _this30.options;
|
|
50906
50928
|
}
|
|
50907
|
-
if (!
|
|
50908
|
-
|
|
50909
|
-
|
|
50929
|
+
if (!_this30.multiple && data.nextUserList.length > 0 && data.nodeExtAttr.isDefSelectedObj == 1) {
|
|
50930
|
+
_this30.nextNode.nextUserId = data.nextUserList[0].userId;
|
|
50931
|
+
_this30.selectUserList.push({
|
|
50910
50932
|
showname: data.nextUserList[0].username,
|
|
50911
50933
|
showid: data.nextUserList[0].userId
|
|
50912
50934
|
});
|
|
50913
50935
|
}
|
|
50914
|
-
|
|
50915
|
-
|
|
50916
|
-
|
|
50917
|
-
|
|
50918
|
-
|
|
50936
|
+
_this30.isLimitedTimeHandling = data.nodeExtAttr.isLimitedTimeHandling;
|
|
50937
|
+
_this30.isCustomUser = data.nodeExtAttr.isCustomUser;
|
|
50938
|
+
_this30.presetEdit = data.nodeExtAttr.presetEdit;
|
|
50939
|
+
_this30.countersignaturetypeCode = data.countersignaturetypeCode; //是否展示处理方式
|
|
50940
|
+
_this30.handleMode = data.countersignaturetypeText;
|
|
50919
50941
|
if (data.globalNodeType === 'endEvent') {
|
|
50920
|
-
|
|
50921
|
-
data.globalNodeType === 'endEvent' ?
|
|
50942
|
+
_this30.isNextUser = data.globalNodeType != 'endEvent';
|
|
50943
|
+
data.globalNodeType === 'endEvent' ? _this30.endFlow = true : '';
|
|
50922
50944
|
}
|
|
50923
50945
|
}
|
|
50924
|
-
|
|
50946
|
+
_this30.isCustomPreset && _this30.$refs.customPreset.getPresetFlowInfo(_this30.nextNode.nextNodeId, _this30.nodeInfo.nextNode, true);
|
|
50925
50947
|
} else {
|
|
50926
|
-
|
|
50948
|
+
_this30.$message.error(message || '系统错误,请联系管理员!');
|
|
50927
50949
|
}
|
|
50928
50950
|
}).catch(function (err) {
|
|
50929
|
-
|
|
50951
|
+
_this30.loading.close();
|
|
50930
50952
|
if (err.message && err.message !== 'canceled') {
|
|
50931
|
-
|
|
50953
|
+
_this30.$message.error(err.message);
|
|
50932
50954
|
}
|
|
50933
50955
|
});
|
|
50934
50956
|
},
|
|
@@ -50941,7 +50963,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50941
50963
|
* @date 2022年5月25日
|
|
50942
50964
|
**/
|
|
50943
50965
|
selecNext: function selecNext(val, type, isDef) {
|
|
50944
|
-
var
|
|
50966
|
+
var _this31 = this;
|
|
50945
50967
|
|
|
50946
50968
|
var isNextNode = false;
|
|
50947
50969
|
if (type && val && this.operationList.length > 0) {
|
|
@@ -50991,13 +51013,13 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50991
51013
|
this.operationList.forEach(function (item) {
|
|
50992
51014
|
if (item.key === val) {
|
|
50993
51015
|
if (!item.taskNodeList) {
|
|
50994
|
-
|
|
51016
|
+
_this31.nodeInfos = [];
|
|
50995
51017
|
} else {
|
|
50996
|
-
|
|
51018
|
+
_this31.nodeInfos = item.taskNodeList;
|
|
50997
51019
|
|
|
50998
|
-
if (
|
|
50999
|
-
|
|
51000
|
-
return
|
|
51020
|
+
if (_this31.taskOperationShiftedNodeList) {
|
|
51021
|
+
_this31.nodeInfos = item.taskNodeList.filter(function (x) {
|
|
51022
|
+
return _this31.taskOperationShiftedNodeList.indexOf(x.nodeId) == -1;
|
|
51001
51023
|
});
|
|
51002
51024
|
}
|
|
51003
51025
|
}
|
|
@@ -51006,7 +51028,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
51006
51028
|
});
|
|
51007
51029
|
if (this.defaultNextNode) {
|
|
51008
51030
|
var defaultNode = this.nodeInfos.filter(function (item) {
|
|
51009
|
-
return item.nodeId ==
|
|
51031
|
+
return item.nodeId == _this31.defaultNextNode;
|
|
51010
51032
|
});
|
|
51011
51033
|
if (this.nodeInfos.length > 0 && defaultNode.length == 0) {
|
|
51012
51034
|
this.nextNode.nextNodeId = this.nodeInfos[0].nodeId;
|
|
@@ -51121,7 +51143,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
51121
51143
|
* @date 2022年5月25日
|
|
51122
51144
|
**/
|
|
51123
51145
|
getHedInfo: function getHedInfo() {
|
|
51124
|
-
var
|
|
51146
|
+
var _this32 = this;
|
|
51125
51147
|
|
|
51126
51148
|
this.loading = utils_util.loading(this.$loading, '加载中...');
|
|
51127
51149
|
var params = {
|
|
@@ -51131,7 +51153,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
51131
51153
|
utils_util.ajax({ url: getHandleInfoHtml, params: params }).then(function (res) {
|
|
51132
51154
|
//pc返回数据
|
|
51133
51155
|
|
|
51134
|
-
|
|
51156
|
+
_this32.loading.close();
|
|
51135
51157
|
|
|
51136
51158
|
if (res.status === 'success') {
|
|
51137
51159
|
var _res$data2 = res.data,
|
|
@@ -51173,17 +51195,17 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
51173
51195
|
isCanPreAddSign = _res$data2.isCanPreAddSign;
|
|
51174
51196
|
|
|
51175
51197
|
if (temporarySaveButtonName) {
|
|
51176
|
-
|
|
51198
|
+
_this32.saveButtonName = temporarySaveButtonName;
|
|
51177
51199
|
}
|
|
51178
51200
|
if (simpleTips != undefined) {
|
|
51179
|
-
|
|
51201
|
+
_this32.simpleTips = simpleTips;
|
|
51180
51202
|
}
|
|
51181
|
-
|
|
51182
|
-
|
|
51203
|
+
_this32.$emit('startTaskRead', res);
|
|
51204
|
+
_this32.$emit('start-task-read', res);
|
|
51183
51205
|
if (taskOperationShiftedNodeList && taskOperationShiftedNodeList.length > 0) {
|
|
51184
|
-
|
|
51206
|
+
_this32.taskOperationShiftedNodeList = [];
|
|
51185
51207
|
taskOperationShiftedNodeList.map(function (x) {
|
|
51186
|
-
|
|
51208
|
+
_this32.taskOperationShiftedNodeList.push(x.nodeId);
|
|
51187
51209
|
taskOperations.push({
|
|
51188
51210
|
key: x.nodeId,
|
|
51189
51211
|
value: x.nodeName,
|
|
@@ -51192,158 +51214,158 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
51192
51214
|
});
|
|
51193
51215
|
});
|
|
51194
51216
|
}
|
|
51195
|
-
|
|
51196
|
-
|
|
51217
|
+
_this32.isHideTemporarySave = nodeInfoMap.nodeExtAttr.isHideTemporarySave == 1;
|
|
51218
|
+
_this32.pendingItemHandleDescription = pendingItemHandleDescription;
|
|
51197
51219
|
if (currentOrgSelectorParams.enableCurrentOrgConfig == 'true') {
|
|
51198
|
-
|
|
51220
|
+
_this32.currentOrgSelectorTabs = currentOrgSelectorParams.currentOrgType.split(',');
|
|
51199
51221
|
var currentOrgparams = currentOrgSelectorParams.currentOrgRange.split(',');
|
|
51200
|
-
|
|
51201
|
-
|
|
51222
|
+
_this32.currentOrgSelectorTabs.map(function (x, i) {
|
|
51223
|
+
_this32.currentOrgSelectorParams[x] = {
|
|
51202
51224
|
filid: currentOrgparams[i] == 'my' ? choiceOrgId : currentOrgparams[i],
|
|
51203
51225
|
only_filid: true
|
|
51204
51226
|
};
|
|
51205
51227
|
});
|
|
51206
51228
|
}
|
|
51207
51229
|
if (currentOrgSelectorParams.enableForeignOrgConfig == 'true') {
|
|
51208
|
-
|
|
51230
|
+
_this32.foreignOrgSelectorTabs = currentOrgSelectorParams.foreignOrgType.split(',');
|
|
51209
51231
|
var foreignOrgparams = currentOrgSelectorParams.foreignOrgRange.split(',');
|
|
51210
|
-
|
|
51211
|
-
|
|
51232
|
+
_this32.foreignOrgSelectorTabs.map(function (x, i) {
|
|
51233
|
+
_this32.foreignOrgSelectorParams[x] = {
|
|
51212
51234
|
filid: foreignOrgparams[i] == 'my' ? choiceOrgId : x == 'filgroup' ? '' : foreignOrgparams[i] == 'nofilidorg' || foreignOrgparams[i] == 'nofiliddept' ? 'all' : foreignOrgparams[i],
|
|
51213
51235
|
nofilid: foreignOrgparams[i] == 'nofilidorg' ? sessionStorage.getItem('orgId') : foreignOrgparams[i] == 'nofiliddept' ? sessionStorage.getItem('depId') : foreignOrgparams[i] == 'other' ? 1 : 0,
|
|
51214
|
-
roleid:
|
|
51236
|
+
roleid: _this32.circularReadParamsMap.circularReadOrgRoleCode || _this32.foreignOrgSelectorParams.roleid
|
|
51215
51237
|
};
|
|
51216
51238
|
});
|
|
51217
51239
|
}
|
|
51218
|
-
|
|
51219
|
-
if (
|
|
51220
|
-
|
|
51221
|
-
}
|
|
51222
|
-
|
|
51223
|
-
|
|
51224
|
-
|
|
51225
|
-
|
|
51226
|
-
|
|
51227
|
-
|
|
51228
|
-
|
|
51229
|
-
|
|
51230
|
-
|
|
51231
|
-
|
|
51232
|
-
|
|
51233
|
-
|
|
51234
|
-
|
|
51235
|
-
|
|
51236
|
-
|
|
51237
|
-
|
|
51238
|
-
|
|
51239
|
-
|
|
51240
|
-
|
|
51241
|
-
|
|
51242
|
-
nextNodeCheckType && (
|
|
51243
|
-
|
|
51244
|
-
|
|
51240
|
+
_this32.circularReadParamsMap = circularReadParamsMap || {};
|
|
51241
|
+
if (_this32.circularReadParamsMap.circularReadOrgRoleCode) {
|
|
51242
|
+
_this32.foreignOrgSelectorParams.roleid = _this32.circularReadParamsMap.circularReadOrgRoleCode;
|
|
51243
|
+
}
|
|
51244
|
+
_this32.currentOrgName = currentOrgName;
|
|
51245
|
+
_this32.nextOperateCheckType = nextOperateCheckType || 'select';
|
|
51246
|
+
_this32.currentNodeIsCircularReadNode = nodeInfoMap.nodeExtAttr.currentNodeIsCircularReadNode == 1;
|
|
51247
|
+
|
|
51248
|
+
_this32.submitButtonFunKey = nodeInfoMap.nodeExtAttr.submitButtonFunKey;
|
|
51249
|
+
_this32.taskNodeButtons = nodeInfoMap.nodeExtAttr.taskNodeButtons;
|
|
51250
|
+
_this32.readOnlyNotificationType = readOnlyNotificationType;
|
|
51251
|
+
|
|
51252
|
+
_this32.readOnlyNotificationType = readOnlyNotificationType;
|
|
51253
|
+
_this32.isSpecial = isSpecial;
|
|
51254
|
+
_this32.notificationMessageReadOnly = notificationMessageReadOnly == 'true';
|
|
51255
|
+
_this32.otherOrgName = otherOrgName;
|
|
51256
|
+
_this32.isCanPreAddSign = isCanPreAddSign;
|
|
51257
|
+
_this32.endFlowInfo.choiceOrgId = choiceOrgId;
|
|
51258
|
+
_this32.endFlowInfo.choiceDeptId = choiceDeptId;
|
|
51259
|
+
_this32.endFlowInfo.pendingId = _this32.pendingId;
|
|
51260
|
+
_this32.attachedCode = attachedCode;
|
|
51261
|
+
_this32.endFlowInfo.pOrgId = pOrgId;
|
|
51262
|
+
_this32.canPresetRead = canPresetRead;
|
|
51263
|
+
_this32.isCdjxjTaskHandle = isCdjxjTaskHandle;
|
|
51264
|
+
nextNodeCheckType && (_this32.nextNodeCheckType = nextNodeCheckType);
|
|
51265
|
+
_this32.operationList = taskOperations || [];
|
|
51266
|
+
_this32.customPresetHintMessage = customPresetHintMessage;
|
|
51245
51267
|
if (canPresetRead) {
|
|
51246
51268
|
var ids = nodeInfoMap.nodeExtAttr.presetReadCandinateIds.split(',');
|
|
51247
51269
|
var names = nodeInfoMap.nodeExtAttr.presetReadCandinateNames.split(',');
|
|
51248
51270
|
ids.map(function (item, index) {
|
|
51249
|
-
|
|
51271
|
+
_this32.presetReadUserId.push({
|
|
51250
51272
|
showid: item,
|
|
51251
51273
|
showname: names[index]
|
|
51252
51274
|
});
|
|
51253
|
-
|
|
51275
|
+
_this32.selectPresetUserList.push({
|
|
51254
51276
|
showid: item,
|
|
51255
51277
|
showname: names[index]
|
|
51256
51278
|
});
|
|
51257
|
-
|
|
51279
|
+
_this32.nextNode.presetReadUserId.push(item);
|
|
51258
51280
|
});
|
|
51259
51281
|
}
|
|
51260
|
-
if (!
|
|
51282
|
+
if (!_this32.isFlow) _this32.getFile(_this32.pendingId, attachedCode);
|
|
51261
51283
|
if (nextNodeList && nextNodeList.length != 0) {
|
|
51262
|
-
|
|
51284
|
+
_this32.nextNodeList = nextNodeList;
|
|
51263
51285
|
if (nextNodeList[0].nodeType === 'endEvent') {
|
|
51264
|
-
|
|
51265
|
-
nextNodeList[0].nodeType === 'endEvent' ?
|
|
51286
|
+
_this32.isNextUser = nextNodeList[0].nodeType != 'endEvent';
|
|
51287
|
+
nextNodeList[0].nodeType === 'endEvent' ? _this32.endFlow = true : '';
|
|
51266
51288
|
}
|
|
51267
51289
|
}
|
|
51268
51290
|
|
|
51269
|
-
if (canRemoveSignUserList && canRemoveSignUserList.length != 0)
|
|
51291
|
+
if (canRemoveSignUserList && canRemoveSignUserList.length != 0) _this32.removeUsers = canRemoveSignUserList;
|
|
51270
51292
|
if (taskOperations && taskOperations.length != 0) {
|
|
51271
51293
|
var isSelected = false;
|
|
51272
51294
|
taskOperations.map(function (item) {
|
|
51273
|
-
if (item.key === 9)
|
|
51295
|
+
if (item.key === 9) _this32.isReject = true;
|
|
51274
51296
|
if (item.isSelected) {
|
|
51275
|
-
|
|
51276
|
-
|
|
51297
|
+
_this32.nodeInfos = [];
|
|
51298
|
+
_this32.nextNode.nextOperate = item.key;
|
|
51277
51299
|
if (item.taskNodeList != null) {
|
|
51278
|
-
|
|
51300
|
+
_this32.nodeInfos = item.taskNodeList;
|
|
51279
51301
|
}
|
|
51280
51302
|
isSelected = true;
|
|
51281
51303
|
}
|
|
51282
51304
|
});
|
|
51283
51305
|
if (taskOperations.length > 0 && !isSelected) {
|
|
51284
|
-
|
|
51285
|
-
|
|
51306
|
+
_this32.nodeInfos = [];
|
|
51307
|
+
_this32.nextNode.nextOperate = taskOperations[0].key;
|
|
51286
51308
|
if (taskOperations[0].taskNodeList != null) {
|
|
51287
|
-
|
|
51309
|
+
_this32.nodeInfos = taskOperations[0].taskNodeList;
|
|
51288
51310
|
}
|
|
51289
51311
|
}
|
|
51290
51312
|
}
|
|
51291
51313
|
if (nodeInfoMap && JSON.stringify(nodeInfoMap) != '{}') {
|
|
51292
|
-
|
|
51314
|
+
_this32.needRetrialAuth = !!nodeInfoMap.nodeExtAttr.isCurrentNodeSubmitNeedRetrialAuth;
|
|
51293
51315
|
if (nodeInfoMap.nodeExtAttr.nodeFixedOpinionSelectList) {
|
|
51294
51316
|
var notice = JSON.parse(nodeInfoMap.nodeExtAttr.nodeFixedOpinionSelectList);
|
|
51295
51317
|
notice.map(function (x) {
|
|
51296
|
-
|
|
51318
|
+
_this32.nodeFixedOpinionSelectList.push({ content: x });
|
|
51297
51319
|
});
|
|
51298
51320
|
}
|
|
51299
51321
|
|
|
51300
|
-
|
|
51301
|
-
|
|
51302
|
-
|
|
51303
|
-
|
|
51304
|
-
|
|
51305
|
-
|
|
51306
|
-
|
|
51322
|
+
_this32.value = opinion || '';
|
|
51323
|
+
_this32.nodeDefaultSubmitOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultSubmitOpinion;
|
|
51324
|
+
_this32.isSubmitButtonShowAgreeAndDisagree = nodeInfoMap.nodeExtAttr.isSubmitButtonShowAgreeAndDisagree;
|
|
51325
|
+
_this32.isBanInputOpinion = nodeInfoMap.nodeExtAttr.isBanInputOpinion;
|
|
51326
|
+
_this32.nodeDefaultRejectOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultRejectOpinion;
|
|
51327
|
+
_this32.isOpinionRequired = nodeInfoMap.nodeExtAttr.isOpinionRequired;
|
|
51328
|
+
_this32.isChooseNextNode = nodeInfoMap.nodeExtAttr.isChooseNextNode;
|
|
51307
51329
|
// this.isHideDefaultOperation =
|
|
51308
51330
|
// nodeInfoMap.nodeExtAttr.isHideDefaultOperation == 1;
|
|
51309
|
-
|
|
51331
|
+
_this32.defaultNextNode = nodeInfoMap.nodeExtAttr.defaultNextNode;
|
|
51310
51332
|
if (nodeInfoMap.nodeExtAttr.defaultNextNode) {
|
|
51311
|
-
var defaultNode =
|
|
51333
|
+
var defaultNode = _this32.nodeInfos.filter(function (item) {
|
|
51312
51334
|
return item.nodeId == nodeInfoMap.nodeExtAttr.defaultNextNode;
|
|
51313
51335
|
});
|
|
51314
|
-
if (
|
|
51315
|
-
|
|
51336
|
+
if (_this32.nodeInfos.length > 0 && defaultNode.length == 0) {
|
|
51337
|
+
_this32.nextNode.nextNodeId = _this32.nodeInfos[0].nodeId;
|
|
51316
51338
|
} else {
|
|
51317
|
-
|
|
51339
|
+
_this32.nextNode.nextNodeId = nodeInfoMap.nodeExtAttr.defaultNextNode;
|
|
51318
51340
|
}
|
|
51319
|
-
} else if (
|
|
51320
|
-
|
|
51341
|
+
} else if (_this32.nodeInfos.length > 0) {
|
|
51342
|
+
_this32.nextNode.nextNodeId = _this32.nodeInfos[0].nodeId;
|
|
51321
51343
|
}
|
|
51322
|
-
|
|
51344
|
+
_this32.isForceDisplayDefaultOptionForPrefix = nodeInfoMap.nodeExtAttr.isForceDisplayDefaultOptionForPrefix == 1;
|
|
51323
51345
|
if (nodeInfoMap.nodeExtAttr.submitText) {
|
|
51324
|
-
|
|
51346
|
+
_this32.btnList.map(function (x) {
|
|
51325
51347
|
if (x.event === 'sub') {
|
|
51326
51348
|
x.text = nodeInfoMap.nodeExtAttr.submitText;
|
|
51327
51349
|
}
|
|
51328
51350
|
});
|
|
51329
51351
|
}
|
|
51330
51352
|
}
|
|
51331
|
-
|
|
51332
|
-
|
|
51333
|
-
|
|
51353
|
+
_this32.choiceOrgId = choiceOrgId;
|
|
51354
|
+
_this32.choiceDeptId = choiceDeptId;
|
|
51355
|
+
_this32.pOrgId = pOrgId;
|
|
51334
51356
|
if (res.data && res.data.isEndUserTask != undefined) {
|
|
51335
|
-
|
|
51357
|
+
_this32.isEndUserTask = res.data.isEndUserTask;
|
|
51336
51358
|
}
|
|
51337
51359
|
if (JSON.stringify(taskExamine) != '{}' && taskExamine) {
|
|
51338
|
-
|
|
51339
|
-
|
|
51340
|
-
|
|
51341
|
-
|
|
51342
|
-
|
|
51343
|
-
|
|
51344
|
-
|
|
51345
|
-
|
|
51346
|
-
|
|
51360
|
+
_this32.nodeInfo.nextNode = taskExamine.processDefinitionId;
|
|
51361
|
+
_this32.NodeName = taskExamine.nodeName;
|
|
51362
|
+
_this32.taskId = taskExamine.taskId;
|
|
51363
|
+
_this32.businessIds = taskExamine.businessId;
|
|
51364
|
+
_this32.appId = taskExamine.appId;
|
|
51365
|
+
_this32.taskExamineInfo = taskExamine;
|
|
51366
|
+
_this32.taskExamineInfo.choiceOrgId = choiceOrgId;
|
|
51367
|
+
_this32.taskExamineInfo.choiceDeptId = choiceDeptId;
|
|
51368
|
+
_this32.endFlowInfo.processType = taskExamine.processType;
|
|
51347
51369
|
// this.endFlowInfo.isReturnSubmitter =
|
|
51348
51370
|
// taskExamine.isReturnSubmitter;
|
|
51349
51371
|
// this.nextNode.isReturnSubmitter = taskExamine.isReturnSubmitter;
|
|
@@ -51355,81 +51377,81 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
51355
51377
|
// this.nextNode.isReadDealEnd = taskExamine.isReadDealEnd;
|
|
51356
51378
|
// this.nextNode.isReturnRejectNode = taskExamine.isReturnRejectNode;
|
|
51357
51379
|
// this.nextNode.isSerialSubmit = taskExamine.isSerialSubmit;
|
|
51358
|
-
|
|
51359
|
-
|
|
51360
|
-
|
|
51361
|
-
|
|
51362
|
-
|
|
51363
|
-
|
|
51364
|
-
|
|
51365
|
-
|
|
51366
|
-
|
|
51380
|
+
_this32.endFlowInfo.isSubFlow = taskExamine.isSubFlow;
|
|
51381
|
+
_this32.endFlowInfo.isUndertakeReply = taskExamine.isUndertakeReply;
|
|
51382
|
+
_this32.endFlowInfo.isUndertakeEnd = taskExamine.isUndertakeEnd;
|
|
51383
|
+
_this32.endFlowInfo.isTakeAdviceEnd = taskExamine.isTakeAdviceEnd;
|
|
51384
|
+
_this32.endFlowInfo.isTakeAdviceReply = taskExamine.isTakeAdviceReply;
|
|
51385
|
+
_this32.endFlowInfo.isReadDealEnd = taskExamine.isReadDealEnd;
|
|
51386
|
+
_this32.endFlowInfo.isReadDealReply = taskExamine.isReadDealReply;
|
|
51387
|
+
_this32.endFlowInfo.isReturnRejectNode = taskExamine.isReturnRejectNode;
|
|
51388
|
+
_this32.endFlowInfo.isSerialSubmit = taskExamine.isSerialSubmit;
|
|
51367
51389
|
// this.endFlowInfo.isReadDealReply =
|
|
51368
51390
|
// taskExamine.isReadDealReplybusinessId;
|
|
51369
|
-
|
|
51370
|
-
|
|
51371
|
-
|
|
51372
|
-
|
|
51391
|
+
_this32.endFlowInfo.appId = taskExamine.appId;
|
|
51392
|
+
_this32.endFlowInfo.businessId = taskExamine.businessId;
|
|
51393
|
+
_this32.endFlowInfo.processDefinitionId = taskExamine.processDefinitionId;
|
|
51394
|
+
_this32.endFlowInfo.nodeId = taskExamine.nodeId;
|
|
51373
51395
|
}
|
|
51374
51396
|
if (extendData && extendData.pendingData && extendData.pendingData.itemname) {
|
|
51375
|
-
|
|
51397
|
+
_this32.NodeName = extendData.pendingData.itemname;
|
|
51376
51398
|
}
|
|
51377
|
-
if (
|
|
51378
|
-
|
|
51399
|
+
if (_this32.nodeName) {
|
|
51400
|
+
_this32.NodeName = _this32.nodeName;
|
|
51379
51401
|
}
|
|
51380
|
-
|
|
51381
|
-
|
|
51382
|
-
if (
|
|
51383
|
-
|
|
51402
|
+
_this32.isCanAddSign = isCanAddSign;
|
|
51403
|
+
_this32.processObj = res.data;
|
|
51404
|
+
if (_this32.isCanAddSign) {
|
|
51405
|
+
_this32.nextNode.isAddSign = '2';
|
|
51384
51406
|
}
|
|
51385
|
-
|
|
51386
|
-
if (
|
|
51387
|
-
|
|
51407
|
+
_this32.isCanRemoveSign = isCanRemoveSign;
|
|
51408
|
+
if (_this32.isCanRemoveSign) {
|
|
51409
|
+
_this32.nextNode.isRemoveSign = '2';
|
|
51388
51410
|
}
|
|
51389
51411
|
|
|
51390
|
-
if (!
|
|
51391
|
-
|
|
51412
|
+
if (!_this32.isOpinionRequired) {
|
|
51413
|
+
_this32.isOpinionRequired = 0;
|
|
51392
51414
|
}
|
|
51393
51415
|
// opinion && (this.value = opinion);
|
|
51394
|
-
|
|
51395
|
-
|
|
51416
|
+
_this32.nextNode.notificationMsg = defaultNotificationMessage;
|
|
51417
|
+
_this32.moreList = [];
|
|
51396
51418
|
if (taskButtonList && taskButtonList.length != 0) {
|
|
51397
51419
|
taskButtonList.map(function (item) {
|
|
51398
51420
|
if (item.fun === 'reject()') {
|
|
51399
|
-
|
|
51421
|
+
_this32.rejectObj = item;
|
|
51400
51422
|
} else if (item.fun === 'toStartTaskRead()') {
|
|
51401
|
-
|
|
51423
|
+
_this32.pointsReadingObj = item;
|
|
51402
51424
|
} else {
|
|
51403
|
-
|
|
51425
|
+
_this32.moreList.push(item);
|
|
51404
51426
|
}
|
|
51405
51427
|
});
|
|
51406
51428
|
}
|
|
51407
|
-
|
|
51408
|
-
|
|
51409
|
-
|
|
51410
|
-
|
|
51411
|
-
|
|
51412
|
-
|
|
51413
|
-
|
|
51429
|
+
_this32.isMainSubProcess = res.data.isMainSubProcess == 'true';
|
|
51430
|
+
_this32.isCustomPreset = isCustomPreset;
|
|
51431
|
+
_this32.isPreset = isPreset;
|
|
51432
|
+
_this32.presetTaskNodeMap = presetTaskNodeMap;
|
|
51433
|
+
_this32.presetTaskNodeKeyStr = presetTaskNodeKeyStr;
|
|
51434
|
+
_this32.getFind();
|
|
51435
|
+
_this32.selecNext(_this32.nextNode.nextOperate, true, true);
|
|
51414
51436
|
// this.getNodeInfo();
|
|
51415
|
-
|
|
51437
|
+
_this32.StartTaskReadKey++;
|
|
51416
51438
|
} else {
|
|
51417
51439
|
if (res.status === 'taskCompleted') {
|
|
51418
|
-
|
|
51419
|
-
|
|
51420
|
-
|
|
51440
|
+
_this32.$emit('shrink', true);
|
|
51441
|
+
_this32.shrinkAbled = true;
|
|
51442
|
+
_this32.$message.warning(res.message || '系统错误,请联系管理员!');
|
|
51421
51443
|
} else {
|
|
51422
|
-
|
|
51444
|
+
_this32.$message.error(res.message || '系统错误,请联系管理员!');
|
|
51423
51445
|
}
|
|
51424
51446
|
}
|
|
51425
|
-
|
|
51447
|
+
_this32.showOpinion = false;
|
|
51426
51448
|
setTimeout(function () {
|
|
51427
|
-
|
|
51449
|
+
_this32.showOpinion = true;
|
|
51428
51450
|
}, 0);
|
|
51429
51451
|
}).catch(function (err) {
|
|
51430
|
-
|
|
51452
|
+
_this32.loading.close();
|
|
51431
51453
|
if (err.message && err.message !== 'canceled') {
|
|
51432
|
-
|
|
51454
|
+
_this32.$message.error(err.message);
|
|
51433
51455
|
}
|
|
51434
51456
|
});
|
|
51435
51457
|
},
|
|
@@ -51491,7 +51513,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
51491
51513
|
* @date 2022年5月25日
|
|
51492
51514
|
**/
|
|
51493
51515
|
getProcess: function getProcess(val) {
|
|
51494
|
-
var
|
|
51516
|
+
var _this33 = this;
|
|
51495
51517
|
|
|
51496
51518
|
var params = flow_src_mainvue_type_script_lang_js_extends({
|
|
51497
51519
|
businessId: this.businessId,
|
|
@@ -51506,44 +51528,44 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
51506
51528
|
message = res.message,
|
|
51507
51529
|
data = res.data;
|
|
51508
51530
|
|
|
51509
|
-
|
|
51531
|
+
_this33.loading.close();
|
|
51510
51532
|
if (status === 'success') {
|
|
51511
51533
|
if (data.simpleTips != undefined) {
|
|
51512
|
-
|
|
51534
|
+
_this33.simpleTips = data.simpleTips;
|
|
51513
51535
|
}
|
|
51514
|
-
|
|
51536
|
+
_this33.isStartFlowChartView = data.isStartFlowChartView;
|
|
51515
51537
|
if (!Object.keys(data).length || data.definitionList && !data.definitionList.length) {
|
|
51516
|
-
|
|
51538
|
+
_this33.$message.error('流程不存在或未关联对应流程!');
|
|
51517
51539
|
} else {
|
|
51518
|
-
|
|
51519
|
-
|
|
51520
|
-
|
|
51521
|
-
|
|
51522
|
-
return item.processDefKey ==
|
|
51540
|
+
_this33.startFlowPageEmbeddedIntoStartFlowIndex = data.startFlowPageEmbeddedIntoStartFlowIndex;
|
|
51541
|
+
_this33.activitiDefinitionSort = data.activitiDefinitionSort;
|
|
51542
|
+
_this33.nodeInfo.option = data.definitionList;
|
|
51543
|
+
_this33.nodeInfo.nextNode = data.definitionList.filter(function (item) {
|
|
51544
|
+
return item.processDefKey == _this33.defaultProcessKey;
|
|
51523
51545
|
});
|
|
51524
|
-
if (
|
|
51525
|
-
|
|
51546
|
+
if (_this33.nodeInfo.nextNode.length) {
|
|
51547
|
+
_this33.nodeInfo.nextNode = _this33.nodeInfo.nextNode[0].processDefId;
|
|
51526
51548
|
} else {
|
|
51527
51549
|
if (data.definitionList.length != 0) {
|
|
51528
|
-
|
|
51550
|
+
_this33.nodeInfo.nextNode = data.definitionList[0].processDefId;
|
|
51529
51551
|
} else {
|
|
51530
|
-
|
|
51552
|
+
_this33.nodeInfo.nextNode = '';
|
|
51531
51553
|
}
|
|
51532
51554
|
}
|
|
51533
|
-
if (
|
|
51534
|
-
|
|
51555
|
+
if (_this33.nodeInfo.nextNode) {
|
|
51556
|
+
_this33.handleChange(_this33.nodeInfo.nextNode, true);
|
|
51535
51557
|
}
|
|
51536
|
-
if (
|
|
51537
|
-
|
|
51558
|
+
if (_this33.showCirculate != undefined && !_this33.showCirculate && _this33.urgencyLevel) {
|
|
51559
|
+
_this33.getAdminMsgType();
|
|
51538
51560
|
}
|
|
51539
51561
|
}
|
|
51540
51562
|
} else {
|
|
51541
|
-
|
|
51563
|
+
_this33.$message.error(message || '系统错误,请联系管理员!');
|
|
51542
51564
|
}
|
|
51543
51565
|
}).catch(function (err) {
|
|
51544
|
-
|
|
51566
|
+
_this33.loading.close();
|
|
51545
51567
|
if (err.message && err.message !== 'canceled') {
|
|
51546
|
-
|
|
51568
|
+
_this33.$message.error(err.message);
|
|
51547
51569
|
}
|
|
51548
51570
|
});
|
|
51549
51571
|
},
|
|
@@ -51555,7 +51577,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
51555
51577
|
* @date 2022年5月25日
|
|
51556
51578
|
**/
|
|
51557
51579
|
getPendedhistoryList: function getPendedhistoryList() {
|
|
51558
|
-
var
|
|
51580
|
+
var _this34 = this;
|
|
51559
51581
|
|
|
51560
51582
|
var params = {
|
|
51561
51583
|
apprecordId: this.businessIds,
|
|
@@ -51568,22 +51590,22 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
51568
51590
|
results = res.results;
|
|
51569
51591
|
|
|
51570
51592
|
if (!rCode) {
|
|
51571
|
-
|
|
51572
|
-
|
|
51573
|
-
|
|
51574
|
-
|
|
51575
|
-
|
|
51593
|
+
_this34.nextNode.nextUserId = [];
|
|
51594
|
+
_this34.showNews = false;
|
|
51595
|
+
_this34.nextNode.notificationType = [];
|
|
51596
|
+
_this34.pendingId = results[results.length - 1].attachId;
|
|
51597
|
+
_this34.getHedInfo();
|
|
51576
51598
|
} else {
|
|
51577
|
-
|
|
51599
|
+
_this34.$message.error(msg || '系统错误,请联系管理员!');
|
|
51578
51600
|
}
|
|
51579
51601
|
}).catch(function (err) {
|
|
51580
51602
|
if (err.message && err.message !== 'canceled') {
|
|
51581
|
-
|
|
51603
|
+
_this34.$message.error(err.message);
|
|
51582
51604
|
}
|
|
51583
51605
|
});
|
|
51584
51606
|
},
|
|
51585
51607
|
reqCircularRead: function reqCircularRead(type) {
|
|
51586
|
-
var
|
|
51608
|
+
var _this35 = this;
|
|
51587
51609
|
|
|
51588
51610
|
var _that = this;
|
|
51589
51611
|
var params = {
|
|
@@ -51597,7 +51619,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
51597
51619
|
};
|
|
51598
51620
|
this.loading = utils_util.loading(this.$loading, '提交中...');
|
|
51599
51621
|
utils_util.ajax(params).then(function (res) {
|
|
51600
|
-
|
|
51622
|
+
_this35.loading.close();
|
|
51601
51623
|
if (res.rCode == 0) {
|
|
51602
51624
|
if (res.results.alert) {
|
|
51603
51625
|
_that.$confirm(res.results.message, {
|
|
@@ -51631,20 +51653,20 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
51631
51653
|
* @date 2022年5月25日
|
|
51632
51654
|
**/
|
|
51633
51655
|
subProcess: function subProcess(val, type) {
|
|
51634
|
-
var
|
|
51656
|
+
var _this36 = this;
|
|
51635
51657
|
|
|
51636
51658
|
return this.$refs['nextNode'].validate(function (valid) {
|
|
51637
51659
|
if (valid) {
|
|
51638
|
-
if (
|
|
51639
|
-
|
|
51640
|
-
|
|
51641
|
-
|
|
51660
|
+
if (_this36.isSubmitButtonShowAgreeAndDisagree == 1) {
|
|
51661
|
+
_this36.value = _this36.value.replace(RegExp('不同意。', 'g'), '');
|
|
51662
|
+
_this36.value = _this36.value.replace(RegExp('同意。', 'g'), '');
|
|
51663
|
+
_this36.value = val + _this36.value;
|
|
51642
51664
|
}
|
|
51643
|
-
if (!
|
|
51644
|
-
|
|
51665
|
+
if (!_this36.validInfo()) {
|
|
51666
|
+
_this36.freeValid = false;
|
|
51645
51667
|
return;
|
|
51646
51668
|
} else {
|
|
51647
|
-
|
|
51669
|
+
_this36.freeValid = true;
|
|
51648
51670
|
}
|
|
51649
51671
|
// if (
|
|
51650
51672
|
// this.currentNodeIsCircularReadNode &&
|
|
@@ -51653,28 +51675,28 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
51653
51675
|
// this.reqCircularRead(type);
|
|
51654
51676
|
// return;
|
|
51655
51677
|
// }
|
|
51656
|
-
if (
|
|
51657
|
-
var btnInfo =
|
|
51658
|
-
return x.key ===
|
|
51678
|
+
if (_this36.submitButtonFunKey) {
|
|
51679
|
+
var btnInfo = _this36.taskNodeButtons.filter(function (x) {
|
|
51680
|
+
return x.key === _this36.submitButtonFunKey;
|
|
51659
51681
|
});
|
|
51660
51682
|
if (btnInfo.length > 0) {
|
|
51661
51683
|
if (btnInfo[0].type == 4) {
|
|
51662
|
-
|
|
51684
|
+
_this36.$emit('buttonClick', { fun: btnInfo[0].fun, opinion: _this36.value }, _this36.sendData);
|
|
51663
51685
|
} else if (btnInfo[0].type == 2) {
|
|
51664
|
-
|
|
51686
|
+
_this36.goView(btnInfo[0]);
|
|
51665
51687
|
}
|
|
51666
51688
|
}
|
|
51667
51689
|
return;
|
|
51668
51690
|
}
|
|
51669
51691
|
if (type == 'multiInsMidwayWithSubmitScene') {
|
|
51670
|
-
|
|
51692
|
+
_this36.sendData(type);
|
|
51671
51693
|
return;
|
|
51672
51694
|
}
|
|
51673
|
-
if (
|
|
51674
|
-
|
|
51695
|
+
if (_this36.beforeSubmit == undefined) {
|
|
51696
|
+
_this36.subFun(_this36.sendData);
|
|
51675
51697
|
} else {
|
|
51676
|
-
|
|
51677
|
-
|
|
51698
|
+
_this36.beforeSubmit(1).then(function (next) {
|
|
51699
|
+
_this36.sendData();
|
|
51678
51700
|
}).catch(function (e) {});
|
|
51679
51701
|
}
|
|
51680
51702
|
}
|
|
@@ -51719,14 +51741,14 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
51719
51741
|
return true;
|
|
51720
51742
|
},
|
|
51721
51743
|
flowSuccess: function flowSuccess(hideMessage) {
|
|
51722
|
-
var
|
|
51744
|
+
var _this37 = this;
|
|
51723
51745
|
|
|
51724
51746
|
if (!this.simpleTips) {
|
|
51725
51747
|
this.$alert('提交成功', '', {
|
|
51726
51748
|
confirmButtonText: '确定',
|
|
51727
51749
|
type: 'success',
|
|
51728
51750
|
callback: function callback(action) {
|
|
51729
|
-
|
|
51751
|
+
_this37.$emit('success');
|
|
51730
51752
|
}
|
|
51731
51753
|
});
|
|
51732
51754
|
} else {
|
|
@@ -51737,7 +51759,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
51737
51759
|
}
|
|
51738
51760
|
},
|
|
51739
51761
|
sendData: function sendData(freetype) {
|
|
51740
|
-
var
|
|
51762
|
+
var _this38 = this;
|
|
51741
51763
|
|
|
51742
51764
|
if (this.isFlow && this.nodeInfo.nextNode && this.startFlowPageEmbeddedIntoStartFlowIndex) {
|
|
51743
51765
|
if (this.directCreateCircularReadWhenFlowStarted) {
|
|
@@ -51759,75 +51781,75 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
51759
51781
|
break;
|
|
51760
51782
|
}
|
|
51761
51783
|
|
|
51762
|
-
if (!
|
|
51784
|
+
if (!_this38.isFlow) {
|
|
51763
51785
|
_context2.next = 7;
|
|
51764
51786
|
break;
|
|
51765
51787
|
}
|
|
51766
51788
|
|
|
51767
|
-
if (!(
|
|
51789
|
+
if (!(_this38.isOpinionRequired && !_this38.$refs.commonOpinions.validate())) {
|
|
51768
51790
|
_context2.next = 5;
|
|
51769
51791
|
break;
|
|
51770
51792
|
}
|
|
51771
51793
|
|
|
51772
|
-
|
|
51794
|
+
_this38.$message.warning('请输入审批意见');
|
|
51773
51795
|
return _context2.abrupt('return');
|
|
51774
51796
|
|
|
51775
51797
|
case 5:
|
|
51776
|
-
if (
|
|
51777
|
-
|
|
51798
|
+
if (_this38.directCreateCircularReadWhenFlowStarted) {
|
|
51799
|
+
_this38.circulateVisible = true;
|
|
51778
51800
|
} else {
|
|
51779
|
-
|
|
51801
|
+
_this38.handleVisible = true;
|
|
51780
51802
|
}
|
|
51781
51803
|
return _context2.abrupt('return');
|
|
51782
51804
|
|
|
51783
51805
|
case 7:
|
|
51784
51806
|
nextUserId = [];
|
|
51785
51807
|
|
|
51786
|
-
if (
|
|
51787
|
-
|
|
51808
|
+
if (_this38.multiple) {
|
|
51809
|
+
_this38.nextNode.nextUserId && _this38.nextNode.nextUserId.map(function (item) {
|
|
51788
51810
|
return nextUserId.push(item);
|
|
51789
51811
|
});
|
|
51790
51812
|
}
|
|
51791
51813
|
addSignUserId = [];
|
|
51792
51814
|
|
|
51793
|
-
if (
|
|
51794
|
-
|
|
51815
|
+
if (_this38.isCanAddSign && _this38.nextNode.isAddSign == '1') {
|
|
51816
|
+
_this38.nextNode.addSignUserId.map(function (item) {
|
|
51795
51817
|
addSignUserId.push(item);
|
|
51796
51818
|
});
|
|
51797
51819
|
}
|
|
51798
51820
|
removeSignUserId = [];
|
|
51799
51821
|
|
|
51800
|
-
if (
|
|
51801
|
-
|
|
51822
|
+
if (_this38.isCanRemoveSign && _this38.nextNode.isRemoveSign == '1') {
|
|
51823
|
+
_this38.nextNode.removeSignUserId.map(function (item) {
|
|
51802
51824
|
removeSignUserId.push(item);
|
|
51803
51825
|
});
|
|
51804
51826
|
}
|
|
51805
51827
|
str = '';
|
|
51806
51828
|
|
|
51807
|
-
if (
|
|
51808
|
-
str =
|
|
51829
|
+
if (_this38.value) {
|
|
51830
|
+
str = _this38.value.replace(/\s+/g, '');
|
|
51809
51831
|
}
|
|
51810
|
-
if ((!
|
|
51811
|
-
|
|
51832
|
+
if ((!_this38.value || str === '') && _this38.nodeDefaultSubmitOpinion) {
|
|
51833
|
+
_this38.value = _this38.nodeDefaultSubmitOpinion;
|
|
51812
51834
|
}
|
|
51813
|
-
if (!
|
|
51814
|
-
delete
|
|
51815
|
-
delete
|
|
51835
|
+
if (!_this38.isSpecial) {
|
|
51836
|
+
delete _this38.nextNode.nextOperate;
|
|
51837
|
+
delete _this38.nextNode.nextNodeId;
|
|
51816
51838
|
}
|
|
51817
|
-
if (
|
|
51818
|
-
|
|
51819
|
-
|
|
51839
|
+
if (_this38.nextNode.nextOperate === 9 || _this38.oldNextOperate == 9) {
|
|
51840
|
+
_this38.nextNode.isReturnRejectNode = 1;
|
|
51841
|
+
_this38.nextNode.processDefinitionId = _this38.processObj.taskExamine.processDefinitionId;
|
|
51820
51842
|
}
|
|
51821
|
-
if (
|
|
51822
|
-
delete
|
|
51843
|
+
if (_this38.nextNode.nextOperate != 0 && _this38.nextNode.nextOperate != 1 && _this38.oldNextOperate === '' || _this38.oldNextOperate !== '' && _this38.oldNextOperate != 0 && _this38.oldNextOperate != 1) {
|
|
51844
|
+
delete _this38.nextNode.nextNodeId;
|
|
51823
51845
|
}
|
|
51824
51846
|
|
|
51825
|
-
if (!
|
|
51847
|
+
if (!_this38.isCancelSecondConfirmationType) {
|
|
51826
51848
|
_context2.next = 22;
|
|
51827
51849
|
break;
|
|
51828
51850
|
}
|
|
51829
51851
|
|
|
51830
|
-
|
|
51852
|
+
_this38.$confirm('确认提交吗?', '提示', {
|
|
51831
51853
|
confirmButtonText: '确定',
|
|
51832
51854
|
cancelButtonText: '取消',
|
|
51833
51855
|
type: 'warning'
|
|
@@ -51843,46 +51865,46 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
51843
51865
|
}
|
|
51844
51866
|
|
|
51845
51867
|
_context.next = 3;
|
|
51846
|
-
return
|
|
51868
|
+
return _this38.saveInfo('subMit');
|
|
51847
51869
|
|
|
51848
51870
|
case 3:
|
|
51849
|
-
|
|
51871
|
+
_this38.loading = utils_util.loading(_this38.$loading, '加载中...');
|
|
51850
51872
|
|
|
51851
51873
|
case 4:
|
|
51852
51874
|
notificationType = '';
|
|
51853
51875
|
|
|
51854
|
-
notificationType =
|
|
51876
|
+
notificationType = _this38.nextNode.notificationType.join(',');
|
|
51855
51877
|
addSignUserId = addSignUserId.join(',');
|
|
51856
51878
|
removeSignUserId = removeSignUserId.join(',');
|
|
51857
|
-
if (!
|
|
51858
|
-
delete
|
|
51879
|
+
if (!_this38.isCanPreAddSign || _this38.nextNode.isAddSign != '1') {
|
|
51880
|
+
delete _this38.nextNode.addSignMode;
|
|
51859
51881
|
}
|
|
51860
51882
|
|
|
51861
|
-
params = flow_src_mainvue_type_script_lang_js_extends({},
|
|
51862
|
-
nextOperate:
|
|
51863
|
-
pendingId:
|
|
51864
|
-
opinion:
|
|
51883
|
+
params = flow_src_mainvue_type_script_lang_js_extends({}, _this38.nextNode, {
|
|
51884
|
+
nextOperate: _this38.oldNextOperate !== '' ? _this38.oldNextOperate : _this38.nextNode.nextOperate,
|
|
51885
|
+
pendingId: _this38.pendingId,
|
|
51886
|
+
opinion: _this38.isForceDisplayDefaultOptionForPrefix && !_this38.value.startsWith(_this38.nodeDefaultSubmitOpinion) ? _this38.nodeDefaultSubmitOpinion + _this38.value : _this38.value,
|
|
51865
51887
|
userId: utils_util.getStorage('userId'),
|
|
51866
|
-
nextUserId:
|
|
51888
|
+
nextUserId: _this38.multiple ? nextUserId.join(',') : _this38.nextNode.nextUserId,
|
|
51867
51889
|
addSignUserId: addSignUserId,
|
|
51868
|
-
customPresetUserJson: JSON.stringify(
|
|
51869
|
-
presetUserJson: JSON.stringify(
|
|
51890
|
+
customPresetUserJson: JSON.stringify(_this38.presetList),
|
|
51891
|
+
presetUserJson: JSON.stringify(_this38.presetUserJson),
|
|
51870
51892
|
removeSignUserId: removeSignUserId,
|
|
51871
|
-
nextReadUserId:
|
|
51872
|
-
nextOrgId: !
|
|
51873
|
-
presetReadUserId:
|
|
51893
|
+
nextReadUserId: _this38.readMultiple ? _this38.mixReadList && _this38.mixReadList.join('|') : _this38.nextNode.nextReadUserId,
|
|
51894
|
+
nextOrgId: !_this38.isShowNextUser ? _this38.multiple ? _this38.mixOrgIdList && _this38.mixOrgIdList.join('|') : _this38.nextNode.nextOrgId : '',
|
|
51895
|
+
presetReadUserId: _this38.mixPresetList && _this38.mixPresetList.length > 0 ? _this38.mixPresetList.join('|') : _this38.nextNode.presetReadUserId.join(','),
|
|
51874
51896
|
notificationType: notificationType
|
|
51875
51897
|
});
|
|
51876
51898
|
|
|
51877
|
-
if (
|
|
51899
|
+
if (_this38.activeNames != '1') delete params.customPresetUserJson;
|
|
51878
51900
|
delete params.customLimitTimeText;
|
|
51879
|
-
if (
|
|
51901
|
+
if (_this38.nextNode.isRemoveSign != '1') {
|
|
51880
51902
|
delete params.removeSignUserId;
|
|
51881
51903
|
}
|
|
51882
|
-
if (
|
|
51904
|
+
if (_this38.nextNode.isAddSign != '1') {
|
|
51883
51905
|
delete params.addSignUserId;
|
|
51884
51906
|
}
|
|
51885
|
-
if (!
|
|
51907
|
+
if (!_this38.isSpecial) {
|
|
51886
51908
|
delete params.nextUserId;
|
|
51887
51909
|
}
|
|
51888
51910
|
|
|
@@ -51891,13 +51913,13 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
51891
51913
|
break;
|
|
51892
51914
|
}
|
|
51893
51915
|
|
|
51894
|
-
params.isSubFlow =
|
|
51895
|
-
|
|
51916
|
+
params.isSubFlow = _this38.taskExamineInfo.isSubFlow;
|
|
51917
|
+
_this38.taskParams = params;
|
|
51896
51918
|
return _context.abrupt('return');
|
|
51897
51919
|
|
|
51898
51920
|
case 19:
|
|
51899
|
-
|
|
51900
|
-
isEndUserTask =
|
|
51921
|
+
_this38.loading = utils_util.loading(_this38.$loading, '提交中...');
|
|
51922
|
+
isEndUserTask = _this38.isEndUserTask, choiceOrgId = _this38.choiceOrgId, choiceDeptId = _this38.choiceDeptId, pOrgId = _this38.pOrgId, taskExamineInfo = _this38.taskExamineInfo, currentNodeIsCircularReadNode = _this38.currentNodeIsCircularReadNode, needRetrialAuth = _this38.needRetrialAuth, circularReadParamsMap = _this38.circularReadParamsMap, currentNodeEnableItemHandleDescription = _this38.currentNodeEnableItemHandleDescription;
|
|
51901
51923
|
|
|
51902
51924
|
params.isEndUserTask = isEndUserTask;
|
|
51903
51925
|
params.choiceOrgId = choiceOrgId;
|
|
@@ -51921,17 +51943,17 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
51921
51943
|
var status = res.status,
|
|
51922
51944
|
message = res.message;
|
|
51923
51945
|
|
|
51924
|
-
|
|
51946
|
+
_this38.loading.close();
|
|
51925
51947
|
if (status === 'success') {
|
|
51926
|
-
|
|
51948
|
+
_this38.flowSuccess();
|
|
51927
51949
|
} else {
|
|
51928
|
-
|
|
51929
|
-
|
|
51950
|
+
_this38.$message.error(message || '系统错误,请联系管理员!');
|
|
51951
|
+
_this38.$emit('error');
|
|
51930
51952
|
}
|
|
51931
51953
|
}).catch(function (err) {
|
|
51932
|
-
|
|
51954
|
+
_this38.loading.close();
|
|
51933
51955
|
if (err.message && err.message !== 'canceled') {
|
|
51934
|
-
|
|
51956
|
+
_this38.$message.error(err.message);
|
|
51935
51957
|
}
|
|
51936
51958
|
}));
|
|
51937
51959
|
|
|
@@ -51940,7 +51962,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
51940
51962
|
return _context.stop();
|
|
51941
51963
|
}
|
|
51942
51964
|
}
|
|
51943
|
-
}, _callee,
|
|
51965
|
+
}, _callee, _this38);
|
|
51944
51966
|
})));
|
|
51945
51967
|
return _context2.abrupt('return');
|
|
51946
51968
|
|
|
@@ -51951,46 +51973,46 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
51951
51973
|
}
|
|
51952
51974
|
|
|
51953
51975
|
_context2.next = 25;
|
|
51954
|
-
return
|
|
51976
|
+
return _this38.saveInfo('subMit');
|
|
51955
51977
|
|
|
51956
51978
|
case 25:
|
|
51957
|
-
|
|
51979
|
+
_this38.loading = utils_util.loading(_this38.$loading, '加载中...');
|
|
51958
51980
|
|
|
51959
51981
|
case 26:
|
|
51960
51982
|
notificationType = '';
|
|
51961
51983
|
|
|
51962
|
-
notificationType =
|
|
51984
|
+
notificationType = _this38.nextNode.notificationType.join(',');
|
|
51963
51985
|
addSignUserId = addSignUserId.join(',');
|
|
51964
51986
|
removeSignUserId = removeSignUserId.join(',');
|
|
51965
|
-
if (!
|
|
51966
|
-
delete
|
|
51987
|
+
if (!_this38.isCanPreAddSign || _this38.nextNode.isAddSign != '1') {
|
|
51988
|
+
delete _this38.nextNode.addSignMode;
|
|
51967
51989
|
}
|
|
51968
51990
|
|
|
51969
|
-
params = flow_src_mainvue_type_script_lang_js_extends({},
|
|
51970
|
-
nextOperate:
|
|
51971
|
-
pendingId:
|
|
51972
|
-
opinion:
|
|
51991
|
+
params = flow_src_mainvue_type_script_lang_js_extends({}, _this38.nextNode, {
|
|
51992
|
+
nextOperate: _this38.oldNextOperate !== '' ? _this38.oldNextOperate : _this38.nextNode.nextOperate,
|
|
51993
|
+
pendingId: _this38.pendingId,
|
|
51994
|
+
opinion: _this38.isForceDisplayDefaultOptionForPrefix && !_this38.value.startsWith(_this38.nodeDefaultSubmitOpinion) ? _this38.nodeDefaultSubmitOpinion + _this38.value : _this38.value,
|
|
51973
51995
|
userId: utils_util.getStorage('userId'),
|
|
51974
|
-
nextUserId:
|
|
51996
|
+
nextUserId: _this38.multiple ? nextUserId.join(',') : _this38.nextNode.nextUserId,
|
|
51975
51997
|
addSignUserId: addSignUserId,
|
|
51976
|
-
customPresetUserJson: JSON.stringify(
|
|
51977
|
-
presetUserJson: JSON.stringify(
|
|
51998
|
+
customPresetUserJson: JSON.stringify(_this38.presetList),
|
|
51999
|
+
presetUserJson: JSON.stringify(_this38.presetUserJson),
|
|
51978
52000
|
removeSignUserId: removeSignUserId,
|
|
51979
|
-
nextReadUserId:
|
|
51980
|
-
nextOrgId: !
|
|
51981
|
-
presetReadUserId:
|
|
52001
|
+
nextReadUserId: _this38.readMultiple ? _this38.mixReadList && _this38.mixReadList.join('|') : _this38.nextNode.nextReadUserId,
|
|
52002
|
+
nextOrgId: !_this38.isShowNextUser ? _this38.multiple ? _this38.mixOrgIdList && _this38.mixOrgIdList.join('|') : _this38.nextNode.nextOrgId : '',
|
|
52003
|
+
presetReadUserId: _this38.mixPresetList && _this38.mixPresetList.length > 0 ? _this38.mixPresetList.join('|') : _this38.nextNode.presetReadUserId.join(','),
|
|
51982
52004
|
notificationType: notificationType
|
|
51983
52005
|
});
|
|
51984
52006
|
|
|
51985
|
-
if (
|
|
52007
|
+
if (_this38.activeNames != '1') delete params.customPresetUserJson;
|
|
51986
52008
|
delete params.customLimitTimeText;
|
|
51987
|
-
if (
|
|
52009
|
+
if (_this38.nextNode.isRemoveSign != '1') {
|
|
51988
52010
|
delete params.removeSignUserId;
|
|
51989
52011
|
}
|
|
51990
|
-
if (
|
|
52012
|
+
if (_this38.nextNode.isAddSign != '1') {
|
|
51991
52013
|
delete params.addSignUserId;
|
|
51992
52014
|
}
|
|
51993
|
-
if (!
|
|
52015
|
+
if (!_this38.isSpecial) {
|
|
51994
52016
|
delete params.nextUserId;
|
|
51995
52017
|
}
|
|
51996
52018
|
|
|
@@ -51999,13 +52021,13 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
51999
52021
|
break;
|
|
52000
52022
|
}
|
|
52001
52023
|
|
|
52002
|
-
params.isSubFlow =
|
|
52003
|
-
|
|
52024
|
+
params.isSubFlow = _this38.taskExamineInfo.isSubFlow;
|
|
52025
|
+
_this38.taskParams = params;
|
|
52004
52026
|
return _context2.abrupt('return');
|
|
52005
52027
|
|
|
52006
52028
|
case 41:
|
|
52007
|
-
|
|
52008
|
-
isEndUserTask =
|
|
52029
|
+
_this38.loading = utils_util.loading(_this38.$loading, '提交中...');
|
|
52030
|
+
isEndUserTask = _this38.isEndUserTask, choiceOrgId = _this38.choiceOrgId, choiceDeptId = _this38.choiceDeptId, pOrgId = _this38.pOrgId, taskExamineInfo = _this38.taskExamineInfo, currentNodeIsCircularReadNode = _this38.currentNodeIsCircularReadNode, needRetrialAuth = _this38.needRetrialAuth, circularReadParamsMap = _this38.circularReadParamsMap, currentNodeEnableItemHandleDescription = _this38.currentNodeEnableItemHandleDescription;
|
|
52009
52031
|
|
|
52010
52032
|
params.isEndUserTask = isEndUserTask;
|
|
52011
52033
|
params.choiceOrgId = choiceOrgId;
|
|
@@ -52029,17 +52051,17 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
52029
52051
|
var status = res.status,
|
|
52030
52052
|
message = res.message;
|
|
52031
52053
|
|
|
52032
|
-
|
|
52054
|
+
_this38.loading.close();
|
|
52033
52055
|
if (status === 'success') {
|
|
52034
|
-
|
|
52056
|
+
_this38.flowSuccess();
|
|
52035
52057
|
} else {
|
|
52036
|
-
|
|
52037
|
-
|
|
52058
|
+
_this38.$message.error(message || '系统错误,请联系管理员!');
|
|
52059
|
+
_this38.$emit('error');
|
|
52038
52060
|
}
|
|
52039
52061
|
}).catch(function (err) {
|
|
52040
|
-
|
|
52062
|
+
_this38.loading.close();
|
|
52041
52063
|
if (err.message && err.message !== 'canceled') {
|
|
52042
|
-
|
|
52064
|
+
_this38.$message.error(err.message);
|
|
52043
52065
|
}
|
|
52044
52066
|
}));
|
|
52045
52067
|
|
|
@@ -52051,7 +52073,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
52051
52073
|
return _context2.stop();
|
|
52052
52074
|
}
|
|
52053
52075
|
}
|
|
52054
|
-
}, _callee2,
|
|
52076
|
+
}, _callee2, _this38);
|
|
52055
52077
|
}));
|
|
52056
52078
|
|
|
52057
52079
|
return function (_x) {
|
|
@@ -52107,8 +52129,8 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
52107
52129
|
|
|
52108
52130
|
var flow_src_main_component = normalizeComponent(
|
|
52109
52131
|
packages_flow_src_mainvue_type_script_lang_js_,
|
|
52110
|
-
|
|
52111
|
-
|
|
52132
|
+
mainvue_type_template_id_5f0c32cd_render,
|
|
52133
|
+
mainvue_type_template_id_5f0c32cd_staticRenderFns,
|
|
52112
52134
|
false,
|
|
52113
52135
|
null,
|
|
52114
52136
|
null,
|
|
@@ -102944,7 +102966,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
102944
102966
|
}
|
|
102945
102967
|
|
|
102946
102968
|
/* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
|
|
102947
|
-
version: '0.8.
|
|
102969
|
+
version: '0.8.12',
|
|
102948
102970
|
install: install,
|
|
102949
102971
|
Button: packages_button,
|
|
102950
102972
|
ButtonGroup: button_group,
|