ecinc-cloud-mappaio 9.6.170 → 9.6.172
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/ecmappaio.common.js +87 -45
- package/lib/ecmappaio.umd.js +85 -43
- package/lib/ecmappaio.umd.min.js +3 -3
- package/package.json +1 -1
package/lib/ecmappaio.common.js
CHANGED
|
@@ -798,7 +798,7 @@ function convertToRoute(h5app) {
|
|
|
798
798
|
|
|
799
799
|
/***/ }),
|
|
800
800
|
|
|
801
|
-
/***/
|
|
801
|
+
/***/ 5197:
|
|
802
802
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
803
803
|
|
|
804
804
|
"use strict";
|
|
@@ -7744,7 +7744,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".handle-idea-container[data-v-3d821f70
|
|
|
7744
7744
|
|
|
7745
7745
|
/***/ }),
|
|
7746
7746
|
|
|
7747
|
-
/***/
|
|
7747
|
+
/***/ 1305:
|
|
7748
7748
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7749
7749
|
|
|
7750
7750
|
"use strict";
|
|
@@ -7758,7 +7758,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7758
7758
|
|
|
7759
7759
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
7760
7760
|
// Module
|
|
7761
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".van-cell__label[data-v-
|
|
7761
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".van-cell__label[data-v-8b3365dc]{color:#323323;font-size:14px}.van-cell__value[data-v-8b3365dc]{color:#666}.van-wform-operate-cell .van-button[data-v-8b3365dc]{color:#323323;border:1px;margin-right:0}.van-wform-operate-cell .van-button--info[data-v-8b3365dc]{color:#fff}", ""]);
|
|
7762
7762
|
// Exports
|
|
7763
7763
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
7764
7764
|
|
|
@@ -34634,19 +34634,19 @@ var update = add("8700a208", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
34634
34634
|
|
|
34635
34635
|
/***/ }),
|
|
34636
34636
|
|
|
34637
|
-
/***/
|
|
34637
|
+
/***/ 8727:
|
|
34638
34638
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
34639
34639
|
|
|
34640
34640
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
34641
34641
|
|
|
34642
34642
|
// load the styles
|
|
34643
|
-
var content = __webpack_require__(
|
|
34643
|
+
var content = __webpack_require__(1305);
|
|
34644
34644
|
if(content.__esModule) content = content.default;
|
|
34645
34645
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
34646
34646
|
if(content.locals) module.exports = content.locals;
|
|
34647
34647
|
// add the styles to the DOM
|
|
34648
34648
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
34649
|
-
var update = add("
|
|
34649
|
+
var update = add("610456cb", content, true, {"sourceMap":false,"shadowMode":false});
|
|
34650
34650
|
|
|
34651
34651
|
/***/ }),
|
|
34652
34652
|
|
|
@@ -36297,7 +36297,7 @@ webpackContext.id = 9326;
|
|
|
36297
36297
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
36298
36298
|
|
|
36299
36299
|
var map = {
|
|
36300
|
-
"./user.js":
|
|
36300
|
+
"./user.js": 5197
|
|
36301
36301
|
};
|
|
36302
36302
|
|
|
36303
36303
|
|
|
@@ -42637,9 +42637,38 @@ var wfengine_install = function install(Vue) {
|
|
|
42637
42637
|
}
|
|
42638
42638
|
}
|
|
42639
42639
|
}
|
|
42640
|
-
if (newWfJsonData.routes.length === 0) delete
|
|
42640
|
+
if (newWfJsonData.routes.length === 0) delete newWfJsonData.routes;
|
|
42641
|
+
$scope.wfJsonData = newWfJsonData;
|
|
42642
|
+
} else if ($scope.wfInstance.udmNodes && $scope.wfInstance.udmNodes !== '') {
|
|
42643
|
+
var udmNodes = JSON.parse($scope.wfInstance.udmNodes);
|
|
42644
|
+
for (var i = 0; i < udmNodes.length; i++) {
|
|
42645
|
+
if (udmNodes[i].name === 'chartData') {
|
|
42646
|
+
$scope.wfInstance.passenger.chartData = udmNodes[i];
|
|
42647
|
+
udmNodes.splice(i--, 1);
|
|
42648
|
+
}
|
|
42649
|
+
}
|
|
42650
|
+
$scope.wfInstance.udmNodes = udmNodes;
|
|
42651
|
+
} else if ($scope.wfInstance.passenger.udmjysp) {
|
|
42652
|
+
var tnUsers = [{
|
|
42653
|
+
id: $scope.curTN.staffID
|
|
42654
|
+
}];
|
|
42655
|
+
var udmNode = {
|
|
42656
|
+
todoMode: 0,
|
|
42657
|
+
canEdit: 1,
|
|
42658
|
+
status: 1,
|
|
42659
|
+
name: $scope.curTN.tnNodeName,
|
|
42660
|
+
userNames: $scope.curTN.userName,
|
|
42661
|
+
users: tnUsers,
|
|
42662
|
+
id: $scope.curTN.tnNodeID,
|
|
42663
|
+
uuid: $scope.curTN.tnNodeID,
|
|
42664
|
+
startNode: true,
|
|
42665
|
+
ideaLable: ''
|
|
42666
|
+
};
|
|
42667
|
+
$scope.wfInstance.udmNodes = [udmNode];
|
|
42668
|
+
}
|
|
42669
|
+
if ($scope.wfInstance.udmNodes && $scope.curTN.tnNodeID !== null) {
|
|
42670
|
+
$scope.wfJsonData.routes = _this3.setUdmCustomRoutes($scope);
|
|
42641
42671
|
}
|
|
42642
|
-
$scope.wfJsonData = newWfJsonData;
|
|
42643
42672
|
} else {
|
|
42644
42673
|
$scope.wfJsonData = $scope.wfJsonDatabak;
|
|
42645
42674
|
}
|
|
@@ -66672,8 +66701,8 @@ var WfNodelogListvue_type_template_id_873e0692_scoped_true_render = function ren
|
|
|
66672
66701
|
};
|
|
66673
66702
|
var WfNodelogListvue_type_template_id_873e0692_scoped_true_staticRenderFns = [];
|
|
66674
66703
|
|
|
66675
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/ModifyWflogAddUser.vue?vue&type=template&id=
|
|
66676
|
-
var
|
|
66704
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/ModifyWflogAddUser.vue?vue&type=template&id=8b3365dc&scoped=true
|
|
66705
|
+
var ModifyWflogAddUservue_type_template_id_8b3365dc_scoped_true_render = function render() {
|
|
66677
66706
|
var _vm = this,
|
|
66678
66707
|
_c = _vm._self._c;
|
|
66679
66708
|
return _vm.dialogFormVisible ? _c('PopupDialog', {
|
|
@@ -66867,7 +66896,7 @@ var ModifyWflogAddUservue_type_template_id_7884baa3_scoped_true_render = functio
|
|
|
66867
66896
|
}
|
|
66868
66897
|
}, [_vm._v("确 定")])], 1)], 1) : _vm._e();
|
|
66869
66898
|
};
|
|
66870
|
-
var
|
|
66899
|
+
var ModifyWflogAddUservue_type_template_id_8b3365dc_scoped_true_staticRenderFns = [];
|
|
66871
66900
|
|
|
66872
66901
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/ModifyWflogAddUser.vue?vue&type=script&lang=js
|
|
66873
66902
|
function ModifyWflogAddUservue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return ModifyWflogAddUservue_type_script_lang_js_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, ModifyWflogAddUservue_type_script_lang_js_typeof(o); }
|
|
@@ -67060,6 +67089,11 @@ function ModifyWflogAddUservue_type_script_lang_js_asyncToGenerator(n) { return
|
|
|
67060
67089
|
var curWflog = res.body.listdata.filter(function (wflog) {
|
|
67061
67090
|
return wflog.id === curTN.tnID;
|
|
67062
67091
|
});
|
|
67092
|
+
if (curWflog.length === 0) {
|
|
67093
|
+
curWflog = res.body.listdata.filter(function (wflog) {
|
|
67094
|
+
return wflog.staffAccount === curTN.userAccount;
|
|
67095
|
+
});
|
|
67096
|
+
}
|
|
67063
67097
|
if (curWflog.length > 0) {
|
|
67064
67098
|
//有办理权限的用户执行加签操作
|
|
67065
67099
|
_this4.wflog = curWflog[0];
|
|
@@ -67096,8 +67130,8 @@ function ModifyWflogAddUservue_type_script_lang_js_asyncToGenerator(n) { return
|
|
|
67096
67130
|
this.newNode = this.wfdNodeList[index];
|
|
67097
67131
|
this.setTimeLimit(index);
|
|
67098
67132
|
if (this.newNodeUsers === 'wfNodeUsers') {
|
|
67099
|
-
var $scope = this.$vnode.context.$vnode.context;
|
|
67100
|
-
var curTN = JSON.parse(JSON.stringify($scope.curTN));
|
|
67133
|
+
var _$scope = this.$vnode.context.$vnode.context;
|
|
67134
|
+
var curTN = JSON.parse(JSON.stringify(_$scope.curTN));
|
|
67101
67135
|
curTN.staffID = this.wflog.staffId;
|
|
67102
67136
|
curTN.tnNodeID = this.wflog.nodeId;
|
|
67103
67137
|
curTN.tnID = this.wflog.id;
|
|
@@ -67113,7 +67147,7 @@ function ModifyWflogAddUservue_type_script_lang_js_asyncToGenerator(n) { return
|
|
|
67113
67147
|
params: {
|
|
67114
67148
|
specifyNodeId: this.newNode.id
|
|
67115
67149
|
},
|
|
67116
|
-
url: (this.wfEngineUrl || $scope.wfEngineUrl) + '/getSpecifyNodeJsonData'
|
|
67150
|
+
url: (this.wfEngineUrl || _$scope.wfEngineUrl) + '/getSpecifyNodeJsonData'
|
|
67117
67151
|
}).then(function (res) {
|
|
67118
67152
|
if (res.code === 'success') {
|
|
67119
67153
|
_this.wfNodeName = _this.newNode.name;
|
|
@@ -67247,15 +67281,15 @@ function ModifyWflogAddUservue_type_script_lang_js_asyncToGenerator(n) { return
|
|
|
67247
67281
|
newNodeProp += ';' + this.wfdNodeList[this.wflog.newNode].name;
|
|
67248
67282
|
}
|
|
67249
67283
|
if (_this.modifyType === 'sendToAssistantUser' || _this.modifyType === 'sendToOtherUser') {
|
|
67250
|
-
var $
|
|
67284
|
+
var _$scope2 = _this.$vnode.context.$vnode.context;
|
|
67251
67285
|
var nextNode = _this.wfdNodeList[this.wflog.newNode];
|
|
67252
|
-
$
|
|
67286
|
+
_$scope2.submitHandle.needCheckOuterDeputy = [{
|
|
67253
67287
|
wfnodeId: nextNode.id,
|
|
67254
67288
|
wfnodeName: nextNode.name,
|
|
67255
67289
|
users: this.wflog.sendToUser,
|
|
67256
67290
|
todoType: nextNode.processType
|
|
67257
67291
|
}];
|
|
67258
|
-
$
|
|
67292
|
+
_$scope2.$wfEngine.checkOuterDeputy(_$scope2, _$scope2.wfParams).then( /*#__PURE__*/function () {
|
|
67259
67293
|
var _ref = ModifyWflogAddUservue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/ModifyWflogAddUservue_type_script_lang_js_regeneratorRuntime().mark(function _callee(res) {
|
|
67260
67294
|
var allSuccess, i, uploadRes, submitType, pathName, nextTN;
|
|
67261
67295
|
return ModifyWflogAddUservue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
@@ -67265,23 +67299,23 @@ function ModifyWflogAddUservue_type_script_lang_js_asyncToGenerator(n) { return
|
|
|
67265
67299
|
_context.next = 4;
|
|
67266
67300
|
break;
|
|
67267
67301
|
}
|
|
67268
|
-
$
|
|
67302
|
+
_$scope2.$dialog.alert({
|
|
67269
67303
|
message: res.message
|
|
67270
67304
|
});
|
|
67271
67305
|
_context.next = 20;
|
|
67272
67306
|
break;
|
|
67273
67307
|
case 4:
|
|
67274
|
-
$
|
|
67308
|
+
_$scope2.doing = true;
|
|
67275
67309
|
// 上传附件
|
|
67276
67310
|
allSuccess = true;
|
|
67277
67311
|
i = 0;
|
|
67278
67312
|
case 7:
|
|
67279
|
-
if (!(i < $
|
|
67313
|
+
if (!(i < _$scope2.refsAttachments.length)) {
|
|
67280
67314
|
_context.next = 17;
|
|
67281
67315
|
break;
|
|
67282
67316
|
}
|
|
67283
67317
|
_context.next = 10;
|
|
67284
|
-
return $
|
|
67318
|
+
return _$scope2.refsAttachments[i].uploadWflowAttach(_$scope2);
|
|
67285
67319
|
case 10:
|
|
67286
67320
|
uploadRes = _context.sent;
|
|
67287
67321
|
if (!(uploadRes.code !== 'success')) {
|
|
@@ -67296,19 +67330,19 @@ function ModifyWflogAddUservue_type_script_lang_js_asyncToGenerator(n) { return
|
|
|
67296
67330
|
break;
|
|
67297
67331
|
case 17:
|
|
67298
67332
|
if (_this9.ideaContent) {
|
|
67299
|
-
$
|
|
67300
|
-
$
|
|
67333
|
+
_$scope2.submitHandle.curUserIdea = _this9.ideaContent;
|
|
67334
|
+
_$scope2.curTN.tnIdeaSaveType = _this9.ideaSaveType;
|
|
67301
67335
|
}
|
|
67302
|
-
if (
|
|
67303
|
-
$
|
|
67304
|
-
$
|
|
67305
|
-
$
|
|
67336
|
+
if (!_$scope2.submitHandle.curUserIdea || _$scope2.curTN.tnIdeaSaveType === 2) {
|
|
67337
|
+
_$scope2.curTN.tnIdeaLabelID = null;
|
|
67338
|
+
_$scope2.curTN.tnIdeaLabelName = null;
|
|
67339
|
+
_$scope2.submitHandle.curUserIdea = '';
|
|
67306
67340
|
}
|
|
67307
67341
|
if (!allSuccess) {
|
|
67308
|
-
$
|
|
67309
|
-
message: $
|
|
67342
|
+
_$scope2.$dialog.alert({
|
|
67343
|
+
message: _$scope2.$tx('ecmapp.wflowform.IdeaInputBox.uploadFileFail', '上传文件失败')
|
|
67310
67344
|
});
|
|
67311
|
-
$
|
|
67345
|
+
_$scope2.doing = false;
|
|
67312
67346
|
} else {
|
|
67313
67347
|
submitType = 'SendToAsstSubmit';
|
|
67314
67348
|
pathName = _this9.wflog.pathName;
|
|
@@ -67323,28 +67357,28 @@ function ModifyWflogAddUservue_type_script_lang_js_asyncToGenerator(n) { return
|
|
|
67323
67357
|
tmLmtType: nextNode.tmLmtType,
|
|
67324
67358
|
pathType: _this9.wflog.pathType
|
|
67325
67359
|
}; //路径对应后续节点
|
|
67326
|
-
$
|
|
67360
|
+
_$scope2.submitHandle.route[nextNode.name] = {
|
|
67327
67361
|
users: _this9.wflog.sendToUser
|
|
67328
67362
|
}; //协办环节处理人
|
|
67329
|
-
$
|
|
67363
|
+
_$scope2.submitHandle.submitRoute = {
|
|
67330
67364
|
name: pathName,
|
|
67331
67365
|
type: _this9.wflog.pathType,
|
|
67332
67366
|
taskNodes: [nextTN]
|
|
67333
67367
|
}; //送协办环节处理人
|
|
67334
67368
|
|
|
67335
|
-
$
|
|
67369
|
+
_$scope2.$wfEngine.saveWfInstance(_$scope2, submitType, _$scope2.wfParams).then(function (res) {
|
|
67336
67370
|
if (res.code === 'success') {
|
|
67337
|
-
$
|
|
67371
|
+
_$scope2.$toast.success(res.message);
|
|
67338
67372
|
_this.$router.go(-1);
|
|
67339
67373
|
setTimeout(function () {
|
|
67340
|
-
$
|
|
67374
|
+
_$scope2.btnCloseClick();
|
|
67341
67375
|
}, 1000);
|
|
67342
67376
|
} else {
|
|
67343
|
-
$
|
|
67377
|
+
_$scope2.$dialog.alert({
|
|
67344
67378
|
message: res.message
|
|
67345
67379
|
});
|
|
67346
67380
|
}
|
|
67347
|
-
$
|
|
67381
|
+
_$scope2.doing = false;
|
|
67348
67382
|
});
|
|
67349
67383
|
}
|
|
67350
67384
|
case 20:
|
|
@@ -67358,11 +67392,19 @@ function ModifyWflogAddUservue_type_script_lang_js_asyncToGenerator(n) { return
|
|
|
67358
67392
|
};
|
|
67359
67393
|
}());
|
|
67360
67394
|
} else {
|
|
67395
|
+
if (!this.wflog.id) {
|
|
67396
|
+
$scope.doing = false;
|
|
67397
|
+
_this.$dialog.alert({
|
|
67398
|
+
message: '您未参与处理过此文件,不能加签!',
|
|
67399
|
+
type: 'warning'
|
|
67400
|
+
});
|
|
67401
|
+
return;
|
|
67402
|
+
}
|
|
67361
67403
|
var reqParams = {
|
|
67362
67404
|
wfInstanceId: this.wfInstance.id,
|
|
67363
67405
|
modifyType: this.modifyType,
|
|
67364
67406
|
newNodeProp: newNodeProp,
|
|
67365
|
-
selTNID: this.wflog.id,
|
|
67407
|
+
selTNID: this.wflog.id || '',
|
|
67366
67408
|
newStaffId: this.wflog.addNewStaffId
|
|
67367
67409
|
};
|
|
67368
67410
|
if (this.wfEngineUrl !== '') reqParams.wfEngineUrl = this.wfEngineUrl;
|
|
@@ -67405,9 +67447,9 @@ function ModifyWflogAddUservue_type_script_lang_js_asyncToGenerator(n) { return
|
|
|
67405
67447
|
});
|
|
67406
67448
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/ModifyWflogAddUser.vue?vue&type=script&lang=js
|
|
67407
67449
|
/* harmony default export */ var src_ModifyWflogAddUservue_type_script_lang_js = (ModifyWflogAddUservue_type_script_lang_js);
|
|
67408
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/ModifyWflogAddUser.vue?vue&type=style&index=0&id=
|
|
67409
|
-
var
|
|
67410
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/ModifyWflogAddUser.vue?vue&type=style&index=0&id=
|
|
67450
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/ModifyWflogAddUser.vue?vue&type=style&index=0&id=8b3365dc&prod&scoped=true&lang=scss
|
|
67451
|
+
var ModifyWflogAddUservue_type_style_index_0_id_8b3365dc_prod_scoped_true_lang_scss = __webpack_require__(8727);
|
|
67452
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/ModifyWflogAddUser.vue?vue&type=style&index=0&id=8b3365dc&prod&scoped=true&lang=scss
|
|
67411
67453
|
|
|
67412
67454
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/ModifyWflogAddUser.vue
|
|
67413
67455
|
|
|
@@ -67420,11 +67462,11 @@ var ModifyWflogAddUservue_type_style_index_0_id_7884baa3_prod_scoped_true_lang_s
|
|
|
67420
67462
|
|
|
67421
67463
|
var ModifyWflogAddUser_component = (0,componentNormalizer/* default */.A)(
|
|
67422
67464
|
src_ModifyWflogAddUservue_type_script_lang_js,
|
|
67423
|
-
|
|
67424
|
-
|
|
67465
|
+
ModifyWflogAddUservue_type_template_id_8b3365dc_scoped_true_render,
|
|
67466
|
+
ModifyWflogAddUservue_type_template_id_8b3365dc_scoped_true_staticRenderFns,
|
|
67425
67467
|
false,
|
|
67426
67468
|
null,
|
|
67427
|
-
"
|
|
67469
|
+
"8b3365dc",
|
|
67428
67470
|
null
|
|
67429
67471
|
|
|
67430
67472
|
)
|
package/lib/ecmappaio.umd.js
CHANGED
|
@@ -7754,7 +7754,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".handle-idea-container[data-v-3d821f70
|
|
|
7754
7754
|
|
|
7755
7755
|
/***/ }),
|
|
7756
7756
|
|
|
7757
|
-
/***/
|
|
7757
|
+
/***/ 2601:
|
|
7758
7758
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7759
7759
|
|
|
7760
7760
|
"use strict";
|
|
@@ -7768,7 +7768,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7768
7768
|
|
|
7769
7769
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
7770
7770
|
// Module
|
|
7771
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".van-cell__label[data-v-
|
|
7771
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".van-cell__label[data-v-8b3365dc]{color:#323323;font-size:14px}.van-cell__value[data-v-8b3365dc]{color:#666}.van-wform-operate-cell .van-button[data-v-8b3365dc]{color:#323323;border:1px;margin-right:0}.van-wform-operate-cell .van-button--info[data-v-8b3365dc]{color:#fff}", ""]);
|
|
7772
7772
|
// Exports
|
|
7773
7773
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
7774
7774
|
|
|
@@ -34644,19 +34644,19 @@ var update = add("7d0cd1c0", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
34644
34644
|
|
|
34645
34645
|
/***/ }),
|
|
34646
34646
|
|
|
34647
|
-
/***/
|
|
34647
|
+
/***/ 4149:
|
|
34648
34648
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
34649
34649
|
|
|
34650
34650
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
34651
34651
|
|
|
34652
34652
|
// load the styles
|
|
34653
|
-
var content = __webpack_require__(
|
|
34653
|
+
var content = __webpack_require__(2601);
|
|
34654
34654
|
if(content.__esModule) content = content.default;
|
|
34655
34655
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
34656
34656
|
if(content.locals) module.exports = content.locals;
|
|
34657
34657
|
// add the styles to the DOM
|
|
34658
34658
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
34659
|
-
var update = add("
|
|
34659
|
+
var update = add("8dc91ce2", content, true, {"sourceMap":false,"shadowMode":false});
|
|
34660
34660
|
|
|
34661
34661
|
/***/ }),
|
|
34662
34662
|
|
|
@@ -42647,9 +42647,38 @@ var wfengine_install = function install(Vue) {
|
|
|
42647
42647
|
}
|
|
42648
42648
|
}
|
|
42649
42649
|
}
|
|
42650
|
-
if (newWfJsonData.routes.length === 0) delete
|
|
42650
|
+
if (newWfJsonData.routes.length === 0) delete newWfJsonData.routes;
|
|
42651
|
+
$scope.wfJsonData = newWfJsonData;
|
|
42652
|
+
} else if ($scope.wfInstance.udmNodes && $scope.wfInstance.udmNodes !== '') {
|
|
42653
|
+
var udmNodes = JSON.parse($scope.wfInstance.udmNodes);
|
|
42654
|
+
for (var i = 0; i < udmNodes.length; i++) {
|
|
42655
|
+
if (udmNodes[i].name === 'chartData') {
|
|
42656
|
+
$scope.wfInstance.passenger.chartData = udmNodes[i];
|
|
42657
|
+
udmNodes.splice(i--, 1);
|
|
42658
|
+
}
|
|
42659
|
+
}
|
|
42660
|
+
$scope.wfInstance.udmNodes = udmNodes;
|
|
42661
|
+
} else if ($scope.wfInstance.passenger.udmjysp) {
|
|
42662
|
+
var tnUsers = [{
|
|
42663
|
+
id: $scope.curTN.staffID
|
|
42664
|
+
}];
|
|
42665
|
+
var udmNode = {
|
|
42666
|
+
todoMode: 0,
|
|
42667
|
+
canEdit: 1,
|
|
42668
|
+
status: 1,
|
|
42669
|
+
name: $scope.curTN.tnNodeName,
|
|
42670
|
+
userNames: $scope.curTN.userName,
|
|
42671
|
+
users: tnUsers,
|
|
42672
|
+
id: $scope.curTN.tnNodeID,
|
|
42673
|
+
uuid: $scope.curTN.tnNodeID,
|
|
42674
|
+
startNode: true,
|
|
42675
|
+
ideaLable: ''
|
|
42676
|
+
};
|
|
42677
|
+
$scope.wfInstance.udmNodes = [udmNode];
|
|
42678
|
+
}
|
|
42679
|
+
if ($scope.wfInstance.udmNodes && $scope.curTN.tnNodeID !== null) {
|
|
42680
|
+
$scope.wfJsonData.routes = _this3.setUdmCustomRoutes($scope);
|
|
42651
42681
|
}
|
|
42652
|
-
$scope.wfJsonData = newWfJsonData;
|
|
42653
42682
|
} else {
|
|
42654
42683
|
$scope.wfJsonData = $scope.wfJsonDatabak;
|
|
42655
42684
|
}
|
|
@@ -66682,8 +66711,8 @@ var WfNodelogListvue_type_template_id_873e0692_scoped_true_render = function ren
|
|
|
66682
66711
|
};
|
|
66683
66712
|
var WfNodelogListvue_type_template_id_873e0692_scoped_true_staticRenderFns = [];
|
|
66684
66713
|
|
|
66685
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/ModifyWflogAddUser.vue?vue&type=template&id=
|
|
66686
|
-
var
|
|
66714
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/ModifyWflogAddUser.vue?vue&type=template&id=8b3365dc&scoped=true
|
|
66715
|
+
var ModifyWflogAddUservue_type_template_id_8b3365dc_scoped_true_render = function render() {
|
|
66687
66716
|
var _vm = this,
|
|
66688
66717
|
_c = _vm._self._c;
|
|
66689
66718
|
return _vm.dialogFormVisible ? _c('PopupDialog', {
|
|
@@ -66877,7 +66906,7 @@ var ModifyWflogAddUservue_type_template_id_7884baa3_scoped_true_render = functio
|
|
|
66877
66906
|
}
|
|
66878
66907
|
}, [_vm._v("确 定")])], 1)], 1) : _vm._e();
|
|
66879
66908
|
};
|
|
66880
|
-
var
|
|
66909
|
+
var ModifyWflogAddUservue_type_template_id_8b3365dc_scoped_true_staticRenderFns = [];
|
|
66881
66910
|
|
|
66882
66911
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/ModifyWflogAddUser.vue?vue&type=script&lang=js
|
|
66883
66912
|
function ModifyWflogAddUservue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return ModifyWflogAddUservue_type_script_lang_js_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, ModifyWflogAddUservue_type_script_lang_js_typeof(o); }
|
|
@@ -67070,6 +67099,11 @@ function ModifyWflogAddUservue_type_script_lang_js_asyncToGenerator(n) { return
|
|
|
67070
67099
|
var curWflog = res.body.listdata.filter(function (wflog) {
|
|
67071
67100
|
return wflog.id === curTN.tnID;
|
|
67072
67101
|
});
|
|
67102
|
+
if (curWflog.length === 0) {
|
|
67103
|
+
curWflog = res.body.listdata.filter(function (wflog) {
|
|
67104
|
+
return wflog.staffAccount === curTN.userAccount;
|
|
67105
|
+
});
|
|
67106
|
+
}
|
|
67073
67107
|
if (curWflog.length > 0) {
|
|
67074
67108
|
//有办理权限的用户执行加签操作
|
|
67075
67109
|
_this4.wflog = curWflog[0];
|
|
@@ -67106,8 +67140,8 @@ function ModifyWflogAddUservue_type_script_lang_js_asyncToGenerator(n) { return
|
|
|
67106
67140
|
this.newNode = this.wfdNodeList[index];
|
|
67107
67141
|
this.setTimeLimit(index);
|
|
67108
67142
|
if (this.newNodeUsers === 'wfNodeUsers') {
|
|
67109
|
-
var $scope = this.$vnode.context.$vnode.context;
|
|
67110
|
-
var curTN = JSON.parse(JSON.stringify($scope.curTN));
|
|
67143
|
+
var _$scope = this.$vnode.context.$vnode.context;
|
|
67144
|
+
var curTN = JSON.parse(JSON.stringify(_$scope.curTN));
|
|
67111
67145
|
curTN.staffID = this.wflog.staffId;
|
|
67112
67146
|
curTN.tnNodeID = this.wflog.nodeId;
|
|
67113
67147
|
curTN.tnID = this.wflog.id;
|
|
@@ -67123,7 +67157,7 @@ function ModifyWflogAddUservue_type_script_lang_js_asyncToGenerator(n) { return
|
|
|
67123
67157
|
params: {
|
|
67124
67158
|
specifyNodeId: this.newNode.id
|
|
67125
67159
|
},
|
|
67126
|
-
url: (this.wfEngineUrl || $scope.wfEngineUrl) + '/getSpecifyNodeJsonData'
|
|
67160
|
+
url: (this.wfEngineUrl || _$scope.wfEngineUrl) + '/getSpecifyNodeJsonData'
|
|
67127
67161
|
}).then(function (res) {
|
|
67128
67162
|
if (res.code === 'success') {
|
|
67129
67163
|
_this.wfNodeName = _this.newNode.name;
|
|
@@ -67257,15 +67291,15 @@ function ModifyWflogAddUservue_type_script_lang_js_asyncToGenerator(n) { return
|
|
|
67257
67291
|
newNodeProp += ';' + this.wfdNodeList[this.wflog.newNode].name;
|
|
67258
67292
|
}
|
|
67259
67293
|
if (_this.modifyType === 'sendToAssistantUser' || _this.modifyType === 'sendToOtherUser') {
|
|
67260
|
-
var $
|
|
67294
|
+
var _$scope2 = _this.$vnode.context.$vnode.context;
|
|
67261
67295
|
var nextNode = _this.wfdNodeList[this.wflog.newNode];
|
|
67262
|
-
$
|
|
67296
|
+
_$scope2.submitHandle.needCheckOuterDeputy = [{
|
|
67263
67297
|
wfnodeId: nextNode.id,
|
|
67264
67298
|
wfnodeName: nextNode.name,
|
|
67265
67299
|
users: this.wflog.sendToUser,
|
|
67266
67300
|
todoType: nextNode.processType
|
|
67267
67301
|
}];
|
|
67268
|
-
$
|
|
67302
|
+
_$scope2.$wfEngine.checkOuterDeputy(_$scope2, _$scope2.wfParams).then( /*#__PURE__*/function () {
|
|
67269
67303
|
var _ref = ModifyWflogAddUservue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/ModifyWflogAddUservue_type_script_lang_js_regeneratorRuntime().mark(function _callee(res) {
|
|
67270
67304
|
var allSuccess, i, uploadRes, submitType, pathName, nextTN;
|
|
67271
67305
|
return ModifyWflogAddUservue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
@@ -67275,23 +67309,23 @@ function ModifyWflogAddUservue_type_script_lang_js_asyncToGenerator(n) { return
|
|
|
67275
67309
|
_context.next = 4;
|
|
67276
67310
|
break;
|
|
67277
67311
|
}
|
|
67278
|
-
$
|
|
67312
|
+
_$scope2.$dialog.alert({
|
|
67279
67313
|
message: res.message
|
|
67280
67314
|
});
|
|
67281
67315
|
_context.next = 20;
|
|
67282
67316
|
break;
|
|
67283
67317
|
case 4:
|
|
67284
|
-
$
|
|
67318
|
+
_$scope2.doing = true;
|
|
67285
67319
|
// 上传附件
|
|
67286
67320
|
allSuccess = true;
|
|
67287
67321
|
i = 0;
|
|
67288
67322
|
case 7:
|
|
67289
|
-
if (!(i < $
|
|
67323
|
+
if (!(i < _$scope2.refsAttachments.length)) {
|
|
67290
67324
|
_context.next = 17;
|
|
67291
67325
|
break;
|
|
67292
67326
|
}
|
|
67293
67327
|
_context.next = 10;
|
|
67294
|
-
return $
|
|
67328
|
+
return _$scope2.refsAttachments[i].uploadWflowAttach(_$scope2);
|
|
67295
67329
|
case 10:
|
|
67296
67330
|
uploadRes = _context.sent;
|
|
67297
67331
|
if (!(uploadRes.code !== 'success')) {
|
|
@@ -67306,19 +67340,19 @@ function ModifyWflogAddUservue_type_script_lang_js_asyncToGenerator(n) { return
|
|
|
67306
67340
|
break;
|
|
67307
67341
|
case 17:
|
|
67308
67342
|
if (_this9.ideaContent) {
|
|
67309
|
-
$
|
|
67310
|
-
$
|
|
67343
|
+
_$scope2.submitHandle.curUserIdea = _this9.ideaContent;
|
|
67344
|
+
_$scope2.curTN.tnIdeaSaveType = _this9.ideaSaveType;
|
|
67311
67345
|
}
|
|
67312
|
-
if (
|
|
67313
|
-
$
|
|
67314
|
-
$
|
|
67315
|
-
$
|
|
67346
|
+
if (!_$scope2.submitHandle.curUserIdea || _$scope2.curTN.tnIdeaSaveType === 2) {
|
|
67347
|
+
_$scope2.curTN.tnIdeaLabelID = null;
|
|
67348
|
+
_$scope2.curTN.tnIdeaLabelName = null;
|
|
67349
|
+
_$scope2.submitHandle.curUserIdea = '';
|
|
67316
67350
|
}
|
|
67317
67351
|
if (!allSuccess) {
|
|
67318
|
-
$
|
|
67319
|
-
message: $
|
|
67352
|
+
_$scope2.$dialog.alert({
|
|
67353
|
+
message: _$scope2.$tx('ecmapp.wflowform.IdeaInputBox.uploadFileFail', '上传文件失败')
|
|
67320
67354
|
});
|
|
67321
|
-
$
|
|
67355
|
+
_$scope2.doing = false;
|
|
67322
67356
|
} else {
|
|
67323
67357
|
submitType = 'SendToAsstSubmit';
|
|
67324
67358
|
pathName = _this9.wflog.pathName;
|
|
@@ -67333,28 +67367,28 @@ function ModifyWflogAddUservue_type_script_lang_js_asyncToGenerator(n) { return
|
|
|
67333
67367
|
tmLmtType: nextNode.tmLmtType,
|
|
67334
67368
|
pathType: _this9.wflog.pathType
|
|
67335
67369
|
}; //路径对应后续节点
|
|
67336
|
-
$
|
|
67370
|
+
_$scope2.submitHandle.route[nextNode.name] = {
|
|
67337
67371
|
users: _this9.wflog.sendToUser
|
|
67338
67372
|
}; //协办环节处理人
|
|
67339
|
-
$
|
|
67373
|
+
_$scope2.submitHandle.submitRoute = {
|
|
67340
67374
|
name: pathName,
|
|
67341
67375
|
type: _this9.wflog.pathType,
|
|
67342
67376
|
taskNodes: [nextTN]
|
|
67343
67377
|
}; //送协办环节处理人
|
|
67344
67378
|
|
|
67345
|
-
$
|
|
67379
|
+
_$scope2.$wfEngine.saveWfInstance(_$scope2, submitType, _$scope2.wfParams).then(function (res) {
|
|
67346
67380
|
if (res.code === 'success') {
|
|
67347
|
-
$
|
|
67381
|
+
_$scope2.$toast.success(res.message);
|
|
67348
67382
|
_this.$router.go(-1);
|
|
67349
67383
|
setTimeout(function () {
|
|
67350
|
-
$
|
|
67384
|
+
_$scope2.btnCloseClick();
|
|
67351
67385
|
}, 1000);
|
|
67352
67386
|
} else {
|
|
67353
|
-
$
|
|
67387
|
+
_$scope2.$dialog.alert({
|
|
67354
67388
|
message: res.message
|
|
67355
67389
|
});
|
|
67356
67390
|
}
|
|
67357
|
-
$
|
|
67391
|
+
_$scope2.doing = false;
|
|
67358
67392
|
});
|
|
67359
67393
|
}
|
|
67360
67394
|
case 20:
|
|
@@ -67368,11 +67402,19 @@ function ModifyWflogAddUservue_type_script_lang_js_asyncToGenerator(n) { return
|
|
|
67368
67402
|
};
|
|
67369
67403
|
}());
|
|
67370
67404
|
} else {
|
|
67405
|
+
if (!this.wflog.id) {
|
|
67406
|
+
$scope.doing = false;
|
|
67407
|
+
_this.$dialog.alert({
|
|
67408
|
+
message: '您未参与处理过此文件,不能加签!',
|
|
67409
|
+
type: 'warning'
|
|
67410
|
+
});
|
|
67411
|
+
return;
|
|
67412
|
+
}
|
|
67371
67413
|
var reqParams = {
|
|
67372
67414
|
wfInstanceId: this.wfInstance.id,
|
|
67373
67415
|
modifyType: this.modifyType,
|
|
67374
67416
|
newNodeProp: newNodeProp,
|
|
67375
|
-
selTNID: this.wflog.id,
|
|
67417
|
+
selTNID: this.wflog.id || '',
|
|
67376
67418
|
newStaffId: this.wflog.addNewStaffId
|
|
67377
67419
|
};
|
|
67378
67420
|
if (this.wfEngineUrl !== '') reqParams.wfEngineUrl = this.wfEngineUrl;
|
|
@@ -67415,9 +67457,9 @@ function ModifyWflogAddUservue_type_script_lang_js_asyncToGenerator(n) { return
|
|
|
67415
67457
|
});
|
|
67416
67458
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/ModifyWflogAddUser.vue?vue&type=script&lang=js
|
|
67417
67459
|
/* harmony default export */ var src_ModifyWflogAddUservue_type_script_lang_js = (ModifyWflogAddUservue_type_script_lang_js);
|
|
67418
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/ModifyWflogAddUser.vue?vue&type=style&index=0&id=
|
|
67419
|
-
var
|
|
67420
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/ModifyWflogAddUser.vue?vue&type=style&index=0&id=
|
|
67460
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/ModifyWflogAddUser.vue?vue&type=style&index=0&id=8b3365dc&prod&scoped=true&lang=scss
|
|
67461
|
+
var ModifyWflogAddUservue_type_style_index_0_id_8b3365dc_prod_scoped_true_lang_scss = __webpack_require__(4149);
|
|
67462
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/ModifyWflogAddUser.vue?vue&type=style&index=0&id=8b3365dc&prod&scoped=true&lang=scss
|
|
67421
67463
|
|
|
67422
67464
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/ModifyWflogAddUser.vue
|
|
67423
67465
|
|
|
@@ -67430,11 +67472,11 @@ var ModifyWflogAddUservue_type_style_index_0_id_7884baa3_prod_scoped_true_lang_s
|
|
|
67430
67472
|
|
|
67431
67473
|
var ModifyWflogAddUser_component = (0,componentNormalizer/* default */.A)(
|
|
67432
67474
|
src_ModifyWflogAddUservue_type_script_lang_js,
|
|
67433
|
-
|
|
67434
|
-
|
|
67475
|
+
ModifyWflogAddUservue_type_template_id_8b3365dc_scoped_true_render,
|
|
67476
|
+
ModifyWflogAddUservue_type_template_id_8b3365dc_scoped_true_staticRenderFns,
|
|
67435
67477
|
false,
|
|
67436
67478
|
null,
|
|
67437
|
-
"
|
|
67479
|
+
"8b3365dc",
|
|
67438
67480
|
null
|
|
67439
67481
|
|
|
67440
67482
|
)
|