eoss-mobiles 0.1.62 → 0.1.63
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 +11 -8
- package/lib/config/api.js +3 -1
- package/lib/eoss-mobile.common.js +184 -87
- package/lib/flow.js +197 -99
- package/lib/index.js +1 -1
- package/lib/picker.js +11 -8
- package/lib/radio.js +11 -8
- package/lib/selector.js +11 -8
- package/package.json +1 -1
- package/packages/flow/src/components/Handle.vue +97 -8
- package/packages/flow/src/components/TaskRead.vue +13 -9
- package/src/config/api.js +3 -1
- package/src/index.js +1 -1
package/lib/checkbox.js
CHANGED
|
@@ -1526,20 +1526,21 @@ var exclAttribute = function exclAttribute(_ref4) {
|
|
|
1526
1526
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return getNodeInfo; });
|
|
1527
1527
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "s", function() { return toStartFlow; });
|
|
1528
1528
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return taskRejectHtml; });
|
|
1529
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1529
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "v", function() { return toTaskRejectHtml; });
|
|
1530
1530
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return handleTaskRead; });
|
|
1531
1531
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return taskReadHtml; });
|
|
1532
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return
|
|
1533
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1532
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return toStartTaskRead; });
|
|
1533
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "u", function() { return toStartTaskReadHtml; });
|
|
1534
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "y", function() { return toTaskTransferIndex; });
|
|
1534
1535
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return findSysCodes; });
|
|
1535
1536
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return getNotificationMsg; });
|
|
1536
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1537
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "z", function() { return toTaskUnionExamine; });
|
|
1537
1538
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "q", function() { return taskUnionExamine; });
|
|
1538
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1539
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "x", function() { return toTaskTakeAdvice; });
|
|
1539
1540
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "p", function() { return taskTakeAdvice; });
|
|
1540
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1541
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "w", function() { return toTaskStartDraft; });
|
|
1541
1542
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return taskStartDraft; });
|
|
1542
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1543
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "A", function() { return toTaskUnionSeal; });
|
|
1543
1544
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "r", function() { return taskUnionSeal; });
|
|
1544
1545
|
/* unused harmony export toTwoOfficesDispatch */
|
|
1545
1546
|
/* unused harmony export twoOfficesDispatch */
|
|
@@ -1586,7 +1587,9 @@ var handleTaskRead = '/api/mecp/v1/mecpItask/handleTaskRead.json';
|
|
|
1586
1587
|
var taskReadHtml = activiti + '/task/taskHandle/taskRead.dhtml';
|
|
1587
1588
|
// 获取分阅页面信息
|
|
1588
1589
|
// export const toStartTaskReadHtml = '/api/mecp/v1/mecpItask/toStartTaskReadHtml.json';
|
|
1589
|
-
|
|
1590
|
+
// 获取分阅信息
|
|
1591
|
+
var toStartTaskRead = '/bpm/bpmBackend/toStartTaskRead';
|
|
1592
|
+
var toStartTaskReadHtml = activiti + '/bpmBackend/toTaskReadIndex';
|
|
1590
1593
|
// 获取转办页面数据
|
|
1591
1594
|
var toTaskTransferIndex = activiti + '/bpmBackend/toTaskTransferIndex';
|
|
1592
1595
|
// 获取默认通知消息
|
package/lib/config/api.js
CHANGED
|
@@ -43,7 +43,9 @@ var handleTaskRead = exports.handleTaskRead = '/api/mecp/v1/mecpItask/handleTask
|
|
|
43
43
|
var taskReadHtml = exports.taskReadHtml = activiti + '/task/taskHandle/taskRead.dhtml';
|
|
44
44
|
// 获取分阅页面信息
|
|
45
45
|
// export const toStartTaskReadHtml = '/api/mecp/v1/mecpItask/toStartTaskReadHtml.json';
|
|
46
|
-
|
|
46
|
+
// 获取分阅信息
|
|
47
|
+
var toStartTaskRead = exports.toStartTaskRead = '/bpm/bpmBackend/toStartTaskRead';
|
|
48
|
+
var toStartTaskReadHtml = exports.toStartTaskReadHtml = activiti + '/bpmBackend/toTaskReadIndex';
|
|
47
49
|
// 获取转办页面数据
|
|
48
50
|
var toTaskTransferIndex = exports.toTaskTransferIndex = activiti + '/bpmBackend/toTaskTransferIndex';
|
|
49
51
|
// 获取默认通知消息
|
|
@@ -1274,7 +1274,9 @@ var handleTaskRead = '/api/mecp/v1/mecpItask/handleTaskRead.json';
|
|
|
1274
1274
|
var taskReadHtml = activiti + '/task/taskHandle/taskRead.dhtml';
|
|
1275
1275
|
// 获取分阅页面信息
|
|
1276
1276
|
// export const toStartTaskReadHtml = '/api/mecp/v1/mecpItask/toStartTaskReadHtml.json';
|
|
1277
|
-
|
|
1277
|
+
// 获取分阅信息
|
|
1278
|
+
var toStartTaskRead = '/bpm/bpmBackend/toStartTaskRead';
|
|
1279
|
+
var toStartTaskReadHtml = activiti + '/bpmBackend/toTaskReadIndex';
|
|
1278
1280
|
// 获取转办页面数据
|
|
1279
1281
|
var toTaskTransferIndex = activiti + '/bpmBackend/toTaskTransferIndex';
|
|
1280
1282
|
// 获取默认通知消息
|
|
@@ -11251,8 +11253,8 @@ var StartFlow_component = normalizeComponent(
|
|
|
11251
11253
|
)
|
|
11252
11254
|
|
|
11253
11255
|
/* harmony default export */ var StartFlow = (StartFlow_component.exports);
|
|
11254
|
-
// 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=
|
|
11255
|
-
var
|
|
11256
|
+
// 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=d491c1dc&
|
|
11257
|
+
var Handlevue_type_template_id_d491c1dc_render = function () {
|
|
11256
11258
|
var _vm = this
|
|
11257
11259
|
var _h = _vm.$createElement
|
|
11258
11260
|
var _c = _vm._self._c || _h
|
|
@@ -11295,7 +11297,7 @@ var Handlevue_type_template_id_3b9018af_render = function () {
|
|
|
11295
11297
|
},
|
|
11296
11298
|
on: { onInputOpintion: _vm.onInputOpintion },
|
|
11297
11299
|
}),
|
|
11298
|
-
_vm.isSpecial
|
|
11300
|
+
_vm.isSpecial && _vm.typeCode != "fenyue"
|
|
11299
11301
|
? _c(
|
|
11300
11302
|
"div",
|
|
11301
11303
|
{ staticClass: "special-box input-box" },
|
|
@@ -12231,11 +12233,11 @@ var Handlevue_type_template_id_3b9018af_render = function () {
|
|
|
12231
12233
|
1
|
|
12232
12234
|
)
|
|
12233
12235
|
}
|
|
12234
|
-
var
|
|
12235
|
-
|
|
12236
|
+
var Handlevue_type_template_id_d491c1dc_staticRenderFns = []
|
|
12237
|
+
Handlevue_type_template_id_d491c1dc_render._withStripped = true
|
|
12236
12238
|
|
|
12237
12239
|
|
|
12238
|
-
// CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=
|
|
12240
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=d491c1dc&
|
|
12239
12241
|
|
|
12240
12242
|
// 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=873f59d2&
|
|
12241
12243
|
var Rejectvue_type_template_id_873f59d2_render = function () {
|
|
@@ -13242,6 +13244,9 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
13242
13244
|
//
|
|
13243
13245
|
//
|
|
13244
13246
|
//
|
|
13247
|
+
//
|
|
13248
|
+
//
|
|
13249
|
+
//
|
|
13245
13250
|
|
|
13246
13251
|
|
|
13247
13252
|
|
|
@@ -13266,6 +13271,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
13266
13271
|
depId: String, //部门id
|
|
13267
13272
|
baseUrl: String,
|
|
13268
13273
|
apiBaseUrl: String,
|
|
13274
|
+
typeCode: String,
|
|
13269
13275
|
paddingTop: {
|
|
13270
13276
|
type: [String, Number],
|
|
13271
13277
|
default: 0
|
|
@@ -13332,7 +13338,8 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
13332
13338
|
advanceNoticeDay: undefined, //限时办理 天
|
|
13333
13339
|
advanceNoticeHour: undefined, //限时办理 时
|
|
13334
13340
|
advanceNoticeType: [] //催办通知方式
|
|
13335
|
-
}
|
|
13341
|
+
},
|
|
13342
|
+
isCanFenyue: '0'
|
|
13336
13343
|
}, _ref['isChooseNextNode'] = 1, _ref.isOpinionRequired = 0, _ref.isBanInputOpinion = 0, _ref.showTimeList = false, _ref.timeList = [], _ref.nextUserList = [], _ref.nextCurrentOrgObjSelect = [], _ref.nextOtherOrgObjSelect = [], _ref.nextReadUserSelectList = [], _ref.addSignUserSelectList = [], _ref.removeSignUserSelectList = [], _ref.nextUserSelectList = [], _ref.showAppUser = false, _ref.showNextOperate = false, _ref.showNextNodeList = false, _ref.nodeList = [], _ref.selectList = [], _ref.opinionList = [], _ref.processObj = { taskExamine: { nodeName: undefined } }, _ref.peopleObj = {}, _ref.userInfo = {}, _ref.isCanAddSign = false, _ref.isCanRemoveSign = false, _ref.isSpecial = true, _ref.taskOperations = [], _ref.countersignaturetypeCode = false, _ref.countersignaturetypeText = undefined, _ref.isCustomPreset = true, _ref.isHideCurrentOrg = false, _ref.isHideOtherOrg = false, _ref.isHandleExplain = false, _ref.isTaskread = false, _ref.defaultNotificationType = undefined, _ref.selectUnitType = 'department', _ref.isHiddenNextStepInfo = false, _ref.presetEdit = true, _ref.isLimitedTimeHandling = false, _ref.userSelectionType = undefined, _ref.orgSelectionType = undefined, _ref.notificationType = undefined, _ref.nodeType = undefined, _ref.deptRoleCode = undefined, _ref.orgRoleCode = undefined, _ref.appointNotUserIds = undefined, _ref.handleRoleId = undefined, _ref.nextRole = undefined, _ref.filterCandinateIds = undefined, _ref.selectorDefShowDeptId = undefined, _ref.isRadio = true, _ref.otherOrgName = undefined, _ref.currentOrgName = undefined, _ref.isMainSubProcess = false, _ref.isNextUser = false, _ref.isDealObject = false, _ref.isDealRole = false, _ref.nextUserflag = false, _ref.isSubmitButtonShowAgreeAndDisagree = 0, _ref.isCustomUserClick = false, _ref.timeListLable = undefined, _ref.nodeDefaultSubmitOpinion = undefined, _ref.isCustomUser = 0, _ref.choiceOrgId = '', _ref.choiceDeptId = '', _ref.taskExamineInfo = {}, _ref.nodeInfoMapInfo = {}, _ref.isEndUserTask = '', _ref.pOrgId = '', _ref;
|
|
13337
13344
|
},
|
|
13338
13345
|
created: function created() {
|
|
@@ -13352,13 +13359,17 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
13352
13359
|
duration: 0
|
|
13353
13360
|
});
|
|
13354
13361
|
// 获取审核详情后去获取节点信息和办理人信息。
|
|
13355
|
-
|
|
13356
|
-
|
|
13357
|
-
|
|
13358
|
-
|
|
13359
|
-
_this2
|
|
13360
|
-
|
|
13361
|
-
|
|
13362
|
+
if (this.typeCode == 'fenyue') {
|
|
13363
|
+
this.getToStartTaskReadIndex();
|
|
13364
|
+
} else {
|
|
13365
|
+
Promise.all([this.getProcessObjNew()]).then(function () {
|
|
13366
|
+
if (_this2.form.nextNodeId) {
|
|
13367
|
+
_this2.getNodeObj(_this2.form.nextNodeId);
|
|
13368
|
+
} else {
|
|
13369
|
+
_this2.$toast.clear();
|
|
13370
|
+
}
|
|
13371
|
+
});
|
|
13372
|
+
}
|
|
13362
13373
|
},
|
|
13363
13374
|
|
|
13364
13375
|
computed: {
|
|
@@ -13417,14 +13428,65 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
13417
13428
|
navigateBack: function navigateBack() {
|
|
13418
13429
|
this.$parent.$emit('close');
|
|
13419
13430
|
},
|
|
13431
|
+
subRead: function subRead() {
|
|
13432
|
+
var _this3 = this;
|
|
13433
|
+
|
|
13434
|
+
var _taskExamineInfo = this.taskExamineInfo,
|
|
13435
|
+
businessId = _taskExamineInfo.businessId,
|
|
13436
|
+
appId = _taskExamineInfo.appId,
|
|
13437
|
+
processDefinitionId = _taskExamineInfo.processDefinitionId,
|
|
13438
|
+
pendingId = _taskExamineInfo.pendingId;
|
|
13439
|
+
|
|
13440
|
+
var params = {
|
|
13441
|
+
businessId: businessId,
|
|
13442
|
+
appId: appId,
|
|
13443
|
+
processDefinitionId: processDefinitionId,
|
|
13444
|
+
pendingId: pendingId,
|
|
13445
|
+
opinion: this.form.opinion,
|
|
13446
|
+
taskAction: 'complete'
|
|
13447
|
+
};
|
|
13448
|
+
this.$toast.loading({
|
|
13449
|
+
message: '加载中...',
|
|
13450
|
+
forbidClick: true,
|
|
13451
|
+
loadingType: 'spinner',
|
|
13452
|
+
overlay: true,
|
|
13453
|
+
duration: 0
|
|
13454
|
+
});
|
|
13455
|
+
utils_http({
|
|
13456
|
+
url: taskReadHtml,
|
|
13457
|
+
headers: {
|
|
13458
|
+
Accept: 'application/json,text/plain'
|
|
13459
|
+
},
|
|
13460
|
+
type: 'post',
|
|
13461
|
+
params: params
|
|
13462
|
+
}).then(function (res) {
|
|
13463
|
+
var status = res.status,
|
|
13464
|
+
message = res.message;
|
|
13465
|
+
|
|
13466
|
+
_this3.$toast.clear();
|
|
13467
|
+
if (status === 'success') {
|
|
13468
|
+
_this3.$toast.success('提交成功');
|
|
13469
|
+
_this3.$emit('success');
|
|
13470
|
+
} else {
|
|
13471
|
+
_this3.$toast(message || '系统错误,请联系管理员!');
|
|
13472
|
+
_this3.$emit('error');
|
|
13473
|
+
}
|
|
13474
|
+
}).catch(function (err) {
|
|
13475
|
+
_this3.loading.close();
|
|
13476
|
+
if (err.message && err.message !== 'canceled') {
|
|
13477
|
+
_this3.$toast(err.message);
|
|
13478
|
+
}
|
|
13479
|
+
});
|
|
13480
|
+
},
|
|
13420
13481
|
|
|
13421
13482
|
// 提交流程
|
|
13422
13483
|
onSubmit: function onSubmit() {
|
|
13423
|
-
var
|
|
13484
|
+
var _this4 = this;
|
|
13424
13485
|
|
|
13486
|
+
if (this.typeCode == 'fenyue') return this.subRead();
|
|
13425
13487
|
var idStr = '';
|
|
13426
13488
|
this.nextUserSelectList.map(function (r, i) {
|
|
13427
|
-
idStr = idStr + r.showid + (i ===
|
|
13489
|
+
idStr = idStr + r.showid + (i === _this4.nextUserSelectList.length - 1 ? '' : ',');
|
|
13428
13490
|
});
|
|
13429
13491
|
this.form.nextUserId = idStr;
|
|
13430
13492
|
if (this.isSpecial && this.isNextUser && !this.form.nextUserId && idStr === '' && !this.isReject) {
|
|
@@ -13523,13 +13585,13 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
13523
13585
|
pendingId: _that.pendingId
|
|
13524
13586
|
}, _that.form)
|
|
13525
13587
|
}).then(function (res) {
|
|
13526
|
-
|
|
13588
|
+
_this4.$toast.clear();
|
|
13527
13589
|
if (res.status == 'success') {
|
|
13528
|
-
|
|
13529
|
-
|
|
13590
|
+
_this4.$toast('操作成功');
|
|
13591
|
+
_this4.$parent.$emit('success');
|
|
13530
13592
|
} else {
|
|
13531
|
-
|
|
13532
|
-
|
|
13593
|
+
_this4.$emit('error');
|
|
13594
|
+
_this4.$toast(res.message);
|
|
13533
13595
|
}
|
|
13534
13596
|
});
|
|
13535
13597
|
},
|
|
@@ -13895,10 +13957,40 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
13895
13957
|
});
|
|
13896
13958
|
});
|
|
13897
13959
|
},
|
|
13960
|
+
getToStartTaskReadIndex: function getToStartTaskReadIndex() {
|
|
13961
|
+
var _this5 = this;
|
|
13962
|
+
|
|
13963
|
+
utils_http({
|
|
13964
|
+
url: toStartTaskReadHtml,
|
|
13965
|
+
params: { pendingId: this.pendingId }
|
|
13966
|
+
}).then(function (res) {
|
|
13967
|
+
var status = res.status,
|
|
13968
|
+
message = res.message,
|
|
13969
|
+
_res$data2 = res.data,
|
|
13970
|
+
isCanFenyue = _res$data2.isCanFenyue,
|
|
13971
|
+
taskExamine = _res$data2.taskExamine;
|
|
13972
|
+
|
|
13973
|
+
if (status === 'success') {
|
|
13974
|
+
_this5.taskExamineInfo = taskExamine;
|
|
13975
|
+
_this5.isCanFenyue = isCanFenyue;
|
|
13976
|
+
// if (this.nodeName) {
|
|
13977
|
+
_this5.processObj.taskExamine.nodeName = '分阅';
|
|
13978
|
+
// }
|
|
13979
|
+
} else {
|
|
13980
|
+
_this5.$toast(message || '系统错误,请联系管理员!');
|
|
13981
|
+
}
|
|
13982
|
+
_this5.$toast.clear();
|
|
13983
|
+
}).catch(function (err) {
|
|
13984
|
+
_this5.$toast.clear();
|
|
13985
|
+
if (err.message && err.message !== 'canceled') {
|
|
13986
|
+
_this5.$toast(err.message);
|
|
13987
|
+
}
|
|
13988
|
+
});
|
|
13989
|
+
},
|
|
13898
13990
|
|
|
13899
13991
|
// 获取节点信息(获取节点属性及办理人)
|
|
13900
13992
|
getNodeObj: function getNodeObj(res) {
|
|
13901
|
-
var
|
|
13993
|
+
var _this6 = this;
|
|
13902
13994
|
|
|
13903
13995
|
var _that = this;
|
|
13904
13996
|
utils_http({
|
|
@@ -13911,83 +14003,83 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
13911
14003
|
businessId: this.taskExamineInfo.businessId
|
|
13912
14004
|
}
|
|
13913
14005
|
}).then(function (res) {
|
|
13914
|
-
|
|
14006
|
+
_this6.$toast.clear();
|
|
13915
14007
|
if (res.status == 'success') {
|
|
13916
|
-
|
|
13917
|
-
|
|
13918
|
-
|
|
13919
|
-
|
|
13920
|
-
|
|
13921
|
-
|
|
14008
|
+
_this6.appointNotUserIds = res.data.appointNotUserIds;
|
|
14009
|
+
_this6.handleRoleId = res.data.handleRoleId;
|
|
14010
|
+
_this6.nextRole = res.data.nextRole;
|
|
14011
|
+
_this6.filterCandinateIds = res.data.nodeExtAttr.filterCandinateIds;
|
|
14012
|
+
_this6.selectorDefShowDeptId = res.data.nodeExtAttr.selectorDefShowDeptId;
|
|
14013
|
+
_this6.userSelectionType = res.data.nodeExtAttr.userSelectionType;
|
|
13922
14014
|
// this.changePidObjtype();
|
|
13923
|
-
|
|
13924
|
-
|
|
13925
|
-
|
|
13926
|
-
|
|
13927
|
-
|
|
13928
|
-
|
|
13929
|
-
|
|
13930
|
-
|
|
13931
|
-
|
|
13932
|
-
|
|
14015
|
+
_this6.orgSelectionType = res.data.nodeExtAttr.orgSelectionType;
|
|
14016
|
+
_this6.notificationType = res.data.nodeExtAttr.notificationType;
|
|
14017
|
+
_this6.nodeType = res.data.nodeExtAttr.nodeType;
|
|
14018
|
+
_this6.deptRoleCode = res.data.nodeExtAttr.deptRoleCode;
|
|
14019
|
+
_this6.orgRoleCode = res.data.nodeExtAttr.orgRoleCode;
|
|
14020
|
+
_this6.isCustomUser = res.data.nodeExtAttr.isCustomUser;
|
|
14021
|
+
_this6.presetEdit = res.data.nodeExtAttr.presetEdit;
|
|
14022
|
+
_this6.isLimitedTimeHandling = res.data.nodeExtAttr.isLimitedTimeHandling;
|
|
14023
|
+
_this6.peopleObj = res.data.nodeExtAttr;
|
|
14024
|
+
_this6.nextUserList = res.data.nextUserList.filter(function (x) {
|
|
13933
14025
|
return x.userId && x.username;
|
|
13934
14026
|
});
|
|
13935
|
-
var _this =
|
|
13936
|
-
|
|
14027
|
+
var _this = _this6;
|
|
14028
|
+
_this6.nextUserList.map(function (r) {
|
|
13937
14029
|
_this.$set(r, 'checked', false);
|
|
13938
14030
|
});
|
|
13939
14031
|
|
|
13940
|
-
|
|
13941
|
-
|
|
13942
|
-
|
|
13943
|
-
|
|
13944
|
-
|
|
14032
|
+
_this6.isHandleExplain = res.data.nodeExtAttr.isHandleExplain == 1 ? true : false; //判断是否隐藏办理说明
|
|
14033
|
+
_this6.isCustomUserClick = res.data.nodeExtAttr.isCustomUser == 1 ? true : false; // 判断办理人是否可点击显示弹框
|
|
14034
|
+
_this6.isTaskread = res.data.nodeExtAttr.isTaskread == 1 ? true : false; // 判断是否显示分阅
|
|
14035
|
+
_this6.countersignaturetypeCode = res.data.countersignaturetypeCode !== 0 ? true : false; //判断是否隐藏处理方式
|
|
14036
|
+
_this6.countersignaturetypeText = res.data.countersignaturetypeText;
|
|
13945
14037
|
//如果当前为承办节点/会签节点,则展示本单位外单位办理人选择
|
|
13946
|
-
if (
|
|
13947
|
-
|
|
13948
|
-
|
|
13949
|
-
|
|
13950
|
-
|
|
14038
|
+
if (_this6.nodeType === 1 || _this6.nodeType === 2) {
|
|
14039
|
+
_this6.isMainSubProcess === true ? _this6.isMainSubProcess = true : _this6.isMainSubProcess = false;
|
|
14040
|
+
_this6.isNextUser = false;
|
|
14041
|
+
_this6.isHideCurrentOrg = res.data.nodeExtAttr.isHideCurrentOrg == 1 ? false : true; //判断是否隐藏本单位
|
|
14042
|
+
_this6.isHideOtherOrg = res.data.nodeExtAttr.isHideOtherOrg == 1 ? false : true; //判断是否隐藏外单位
|
|
13951
14043
|
} else {
|
|
13952
|
-
|
|
13953
|
-
|
|
13954
|
-
|
|
13955
|
-
|
|
14044
|
+
_this6.isHideCurrentOrg = false;
|
|
14045
|
+
_this6.isHideOtherOrg = false;
|
|
14046
|
+
_this6.isMainSubProcess = false;
|
|
14047
|
+
_this6.isNextUser = true;
|
|
13956
14048
|
// this.isMainSubProcess === true
|
|
13957
14049
|
// ? (this.isMainSubProcess = true)
|
|
13958
14050
|
// : (this.isMainSubProcess = false);
|
|
13959
14051
|
}
|
|
13960
14052
|
// userSelectionType 机构内单选人1,机构内多选人2,所有机构单选人3,所有部门多选人4,本部门单选人5,本部门多选人6,本单位单选部门7,本单位多选部门8,单选单位9,多选单位10,单选机构11,多选机构12,本部门角色13,本单位角色14
|
|
13961
|
-
|
|
14053
|
+
_this6.userSelectionType == 2 || _this6.userSelectionType == 4 || _this6.userSelectionType == 6 || _this6.userSelectionType == 8 || _this6.userSelectionType == 10 || _this6.userSelectionType == 11 || _this6.userSelectionType == 12 ? _this6.isRadio = false : _this6.isRadio = true; //判断办理人单选多选
|
|
13962
14054
|
|
|
13963
|
-
if (
|
|
13964
|
-
|
|
13965
|
-
|
|
14055
|
+
if (_this6.userSelectionType == 7 || _this6.userSelectionType == 8 || _this6.userSelectionType == 9 || _this6.userSelectionType == 10 || _this6.userSelectionType == 11 || _this6.userSelectionType == 12) {
|
|
14056
|
+
_this6.isDealObject = true;
|
|
14057
|
+
_this6.isNextUser = false;
|
|
13966
14058
|
}
|
|
13967
|
-
if (
|
|
13968
|
-
|
|
13969
|
-
|
|
13970
|
-
|
|
13971
|
-
|
|
14059
|
+
if (_this6.userSelectionType == 13 || _this6.userSelectionType == 14) {
|
|
14060
|
+
_this6.isNextUser = false;
|
|
14061
|
+
_this6.isDealObject = false;
|
|
14062
|
+
_this6.isDealRole = true;
|
|
14063
|
+
_this6.nextUserflag = true;
|
|
13972
14064
|
}
|
|
13973
|
-
|
|
14065
|
+
_this6.isHiddenNextStepInfo = res.data.nodeExtAttr.isHiddenNextStepInfo == 1 && _this6.nextUserflag ? true : false; // 判断是否隐藏下一步节点信息和接收人信息
|
|
13974
14066
|
if (res.data.globalNodeType === 'endEvent') {
|
|
13975
|
-
|
|
13976
|
-
|
|
14067
|
+
_this6.isNextUser = false;
|
|
14068
|
+
_this6.form.nextUserId = '流程办结';
|
|
13977
14069
|
} else {
|
|
13978
|
-
|
|
14070
|
+
_this6.nodeType != 1 && _this6.nodeType != 2 && (_this6.isNextUser = true); //判断是否是流程办结 办结下步办理人不显示
|
|
13979
14071
|
}
|
|
13980
|
-
|
|
13981
|
-
|
|
14072
|
+
_this6.changeDefPeople(res.data.nodeExtAttr.isDefSelectedObj, res.data.nodeExtAttr.isSelectedAllObj);
|
|
14073
|
+
_this6.changePidObjtype(res.data.nodeExtAttr.userSelectionType, _this6.choiceOrgId, _this6.choiceDeptId, _this6.pOrgId);
|
|
13982
14074
|
} else {
|
|
13983
|
-
|
|
14075
|
+
_this6.$toast(res.message);
|
|
13984
14076
|
}
|
|
13985
14077
|
});
|
|
13986
14078
|
},
|
|
13987
14079
|
|
|
13988
14080
|
// 修改默认办理人
|
|
13989
14081
|
changeDefPeople: function changeDefPeople(def, all) {
|
|
13990
|
-
var
|
|
14082
|
+
var _this7 = this;
|
|
13991
14083
|
|
|
13992
14084
|
this.nextUserSelectList = [];
|
|
13993
14085
|
if (def == 1 && all == 1 || def == 0 && all == 1) {
|
|
@@ -13995,9 +14087,9 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
13995
14087
|
this.nextUserList.map(function (r, i) {
|
|
13996
14088
|
r.showid = r.userId;
|
|
13997
14089
|
r.showname = r.username;
|
|
13998
|
-
|
|
13999
|
-
|
|
14000
|
-
ids += r.userId + (i ===
|
|
14090
|
+
_this7.$set(r, 'checked', true);
|
|
14091
|
+
_this7.nextUserSelectList.push(r);
|
|
14092
|
+
ids += r.userId + (i === _this7.nextUserList.length - 1 ? '' : ',');
|
|
14001
14093
|
});
|
|
14002
14094
|
this.form.nextUserId = ids;
|
|
14003
14095
|
} else if (def == 1 && (!all || all == 0) && this.nextUserList.length > 0) {
|
|
@@ -14049,8 +14141,8 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
14049
14141
|
|
|
14050
14142
|
var Handle_component = normalizeComponent(
|
|
14051
14143
|
components_Handlevue_type_script_lang_js_,
|
|
14052
|
-
|
|
14053
|
-
|
|
14144
|
+
Handlevue_type_template_id_d491c1dc_render,
|
|
14145
|
+
Handlevue_type_template_id_d491c1dc_staticRenderFns,
|
|
14054
14146
|
false,
|
|
14055
14147
|
null,
|
|
14056
14148
|
null,
|
|
@@ -14059,8 +14151,8 @@ var Handle_component = normalizeComponent(
|
|
|
14059
14151
|
)
|
|
14060
14152
|
|
|
14061
14153
|
/* harmony default export */ var Handle = (Handle_component.exports);
|
|
14062
|
-
// 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/TaskRead.vue?vue&type=template&id=
|
|
14063
|
-
var
|
|
14154
|
+
// 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/TaskRead.vue?vue&type=template&id=3ed83bd6&
|
|
14155
|
+
var TaskReadvue_type_template_id_3ed83bd6_render = function () {
|
|
14064
14156
|
var _vm = this
|
|
14065
14157
|
var _h = _vm.$createElement
|
|
14066
14158
|
var _c = _vm._self._c || _h
|
|
@@ -14227,11 +14319,11 @@ var TaskReadvue_type_template_id_428fc047_render = function () {
|
|
|
14227
14319
|
]),
|
|
14228
14320
|
])
|
|
14229
14321
|
}
|
|
14230
|
-
var
|
|
14231
|
-
|
|
14322
|
+
var TaskReadvue_type_template_id_3ed83bd6_staticRenderFns = []
|
|
14323
|
+
TaskReadvue_type_template_id_3ed83bd6_render._withStripped = true
|
|
14232
14324
|
|
|
14233
14325
|
|
|
14234
|
-
// CONCATENATED MODULE: ./packages/flow/src/components/TaskRead.vue?vue&type=template&id=
|
|
14326
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/TaskRead.vue?vue&type=template&id=3ed83bd6&
|
|
14235
14327
|
|
|
14236
14328
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/TaskRead.vue?vue&type=script&lang=js&
|
|
14237
14329
|
var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
|
@@ -14329,6 +14421,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
14329
14421
|
nextReadUserId: undefined,
|
|
14330
14422
|
handleExplain: undefined //办理说明
|
|
14331
14423
|
},
|
|
14424
|
+
taskExamineInfo: {},
|
|
14332
14425
|
processObj: {
|
|
14333
14426
|
taskExamine: { nodeName: undefined },
|
|
14334
14427
|
nodeInfoMap: { nextUserList: [] }
|
|
@@ -14501,7 +14594,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
14501
14594
|
};
|
|
14502
14595
|
if (_that.newType != 'taskReadAndEnd') delete params.taskAction;
|
|
14503
14596
|
utils_http({
|
|
14504
|
-
url: _that.baseUrl ? _that.baseUrl +
|
|
14597
|
+
url: _that.baseUrl ? _that.baseUrl + toStartTaskRead : toStartTaskRead,
|
|
14505
14598
|
params: params
|
|
14506
14599
|
}).then(function (res) {
|
|
14507
14600
|
if (res.status == 'success') {
|
|
@@ -14619,6 +14712,8 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
14619
14712
|
businessId = _taskExamine.businessId,
|
|
14620
14713
|
choiceDeptId = _taskExamine.choiceDeptId,
|
|
14621
14714
|
choiceOrgId = _taskExamine.choiceOrgId,
|
|
14715
|
+
bCode = _taskExamine.bCode,
|
|
14716
|
+
bName = _taskExamine.bName,
|
|
14622
14717
|
businessName = _taskExamine.businessName,
|
|
14623
14718
|
processDefinitionId = _taskExamine.processDefinitionId;
|
|
14624
14719
|
|
|
@@ -14633,6 +14728,8 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
14633
14728
|
choiceOrgId: choiceOrgId,
|
|
14634
14729
|
businessName: businessName,
|
|
14635
14730
|
processDefinitionId: processDefinitionId,
|
|
14731
|
+
bCode: bCode,
|
|
14732
|
+
bName: bName,
|
|
14636
14733
|
loginType: 2,
|
|
14637
14734
|
handleExplain: this.form.handleExplain,
|
|
14638
14735
|
currentOrgProcessKey: processDefinitionId,
|
|
@@ -14679,8 +14776,8 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
14679
14776
|
|
|
14680
14777
|
var TaskRead_component = normalizeComponent(
|
|
14681
14778
|
components_TaskReadvue_type_script_lang_js_,
|
|
14682
|
-
|
|
14683
|
-
|
|
14779
|
+
TaskReadvue_type_template_id_3ed83bd6_render,
|
|
14780
|
+
TaskReadvue_type_template_id_3ed83bd6_staticRenderFns,
|
|
14684
14781
|
false,
|
|
14685
14782
|
null,
|
|
14686
14783
|
null,
|
|
@@ -17729,7 +17826,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
17729
17826
|
}
|
|
17730
17827
|
|
|
17731
17828
|
/* harmony default export */ var src = __webpack_exports__["default"] = ({
|
|
17732
|
-
version: '0.1.
|
|
17829
|
+
version: '0.1.63',
|
|
17733
17830
|
install: install,
|
|
17734
17831
|
Button: packages_button,
|
|
17735
17832
|
ButtonGroup: button_group,
|