ecinc-cloud-mappaio 9.6.41 → 9.6.43
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 +328 -188
- package/lib/ecmappaio.umd.js +328 -188
- package/lib/ecmappaio.umd.min.js +3 -3
- package/package.json +1 -1
package/lib/ecmappaio.umd.js
CHANGED
|
@@ -6681,7 +6681,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".van-file-field[data-v-1b7e9813]{posit
|
|
|
6681
6681
|
|
|
6682
6682
|
/***/ }),
|
|
6683
6683
|
|
|
6684
|
-
/***/
|
|
6684
|
+
/***/ 5837:
|
|
6685
6685
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6686
6686
|
|
|
6687
6687
|
"use strict";
|
|
@@ -6695,7 +6695,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6695
6695
|
|
|
6696
6696
|
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()));
|
|
6697
6697
|
// Module
|
|
6698
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".van-textarea-field[data-v-
|
|
6698
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".van-textarea-field[data-v-67219e88]{position:relative}.van-textarea-field[data-v-67219e88]:after{position:absolute;-webkit-box-sizing:border-box;box-sizing:border-box;content:\" \";pointer-events:none;right:0;bottom:0;left:16px;border-bottom:1px solid #ebedf0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}[data-v-67219e88] .van-cell-field-title{height:44px}[data-v-67219e88] .idea-content{width:100%}[data-v-67219e88] .idea-content .ideaDiv{margin:5px 0}[data-v-67219e88] .idea-content .ideaDiv p{margin-top:0;margin-bottom:0}[data-v-67219e88] .idea-content .ideaDiv span{display:inline-block}[data-v-67219e88] .idea-content .ideaDiv .handwritingIdea{width:200px}[data-v-67219e88] .idea-content .ideaDiv .ideaSignature{max-width:100px;max-height:50px}[data-v-67219e88] .idea-content .van-icon{font-size:20px}[data-v-67219e88] .idea-content .can-delete-idea{float:right;margin-top:-28px}[data-v-67219e88] .idea-content .can-delete-idea i{color:red;cursor:pointer;font-size:16px}", ""]);
|
|
6699
6699
|
// Exports
|
|
6700
6700
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
6701
6701
|
|
|
@@ -7233,7 +7233,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-0685b481] .van-nav-bar__title{
|
|
|
7233
7233
|
|
|
7234
7234
|
/***/ }),
|
|
7235
7235
|
|
|
7236
|
-
/***/
|
|
7236
|
+
/***/ 3379:
|
|
7237
7237
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7238
7238
|
|
|
7239
7239
|
"use strict";
|
|
@@ -7247,7 +7247,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7247
7247
|
|
|
7248
7248
|
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()));
|
|
7249
7249
|
// Module
|
|
7250
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".wfattach-container .van-cell__value[data-v-
|
|
7250
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".wfattach-container .van-cell__value[data-v-fb72985a],.wfattach-container[data-v-fb72985a] .van-cell__title{-webkit-box-flex:0;-ms-flex:none;flex:none}.wfattach-container[data-v-fb72985a] .van-cell__title{width:75%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400}.wfattach-container[data-v-fb72985a] .van-cell__value{width:25%;height:24px}.wfattach-container[data-v-fb72985a] .van-cell__value .van-icon-add-o{line-height:24px}.wfattach-container[data-v-fb72985a] .van-cell__value .van-circle{margin-top:2px}.wfattach-container[data-v-fb72985a] .van-cell__value .attach-icon{display:-webkit-box;display:-ms-flexbox;display:flex;float:right}.wfattach-container[data-v-fb72985a] .van-cell__value .attach-icon .van-icon{line-height:24px;margin-left:15px;font-size:16px}.wfattach-container[data-v-fb72985a]:after{border-top-width:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-fb72985a]{padding-left:70px;padding-right:36px}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-fb72985a]:after{right:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-fb72985a]:first-child:before{position:absolute;-webkit-box-sizing:border-box;box-sizing:border-box;content:\" \";pointer-events:none;right:0;top:0;left:16px;border-bottom:1px solid #ebedf0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title[data-v-fb72985a]{position:relative}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_photo[data-v-fb72985a]{position:absolute;left:-54px;height:44px;width:44px}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_name[data-v-fb72985a]{width:calc(100vw - 107px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.van-attachment-field[data-v-fb72985a]{position:relative}.van-attachment-field[data-v-fb72985a]:after{position:absolute;-webkit-box-sizing:border-box;box-sizing:border-box;content:\" \";pointer-events:none;top:unset;border-width:0;right:0;bottom:0;left:16px;border-bottom:1px solid #ebedf0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}", ""]);
|
|
7251
7251
|
// Exports
|
|
7252
7252
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
7253
7253
|
|
|
@@ -7338,7 +7338,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".popub-container[data-v-6850137e]{widt
|
|
|
7338
7338
|
|
|
7339
7339
|
/***/ }),
|
|
7340
7340
|
|
|
7341
|
-
/***/
|
|
7341
|
+
/***/ 4173:
|
|
7342
7342
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7343
7343
|
|
|
7344
7344
|
"use strict";
|
|
@@ -7357,7 +7357,7 @@ var ___CSS_LOADER_URL_IMPORT_0___ = new URL(/* asset import */ __webpack_require
|
|
|
7357
7357
|
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()));
|
|
7358
7358
|
var ___CSS_LOADER_URL_REPLACEMENT_0___ = _node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_0___);
|
|
7359
7359
|
// Module
|
|
7360
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".submit-handle-container .idea-button-container .van-cell__value[data-v-
|
|
7360
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".submit-handle-container .idea-button-container .van-cell__value[data-v-12d2821a]{text-align:right}.submit-handle-container .idea-button-container .van-cell__value .van-button[data-v-12d2821a]{margin-right:0;margin-left:5px}.submit-handle-container .curIdea-filed[data-v-12d2821a] .van-cell__title,.submit-handle-container .curIdea-filed[data-v-12d2821a]:after{display:none}.submit-handle-container .clearfix[data-v-12d2821a]:after{content:\".\";display:block;height:0;clear:both;visibility:hidden}.submit-handle-container .van-wflow-operate-detail-cell[data-v-12d2821a]:after{border-top-width:0}.submit-handle-container .van-wflow-operate-detail-cell-path[data-v-12d2821a]:after{border-width:1px;-webkit-transform:scale(.5);transform:scale(.5)}.submit-handle-container[data-v-12d2821a] .tnLimit-container .van-field{width:50px;display:inline-block;padding:0}.submit-handle-container[data-v-12d2821a] .tnLimit-container .van-field .van-field__body input{text-align:center}.submit-handle-container[data-v-12d2821a] .tnLimit-container .van-field__body:after{color:#323233;content:attr(value-suffix);word-break:keep-all}.submit-handle-container .delete-icon[data-v-12d2821a]{display:-webkit-box;display:-ms-flexbox;display:flex;float:right}.submit-handle-container .delete-icon .van-icon[data-v-12d2821a]{line-height:24px;margin-left:5px;font-size:16px}.selectBox_title[data-v-12d2821a]{height:45px;line-height:45px;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;font-size:14px}.selectBox_content[data-v-12d2821a],.selectBox_title[data-v-12d2821a]{display:-webkit-box;display:-ms-flexbox;display:flex;padding:0 15px}.selectBox_content[data-v-12d2821a]{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-wrap:wrap;flex-wrap:wrap}.selectBox_content .selectBox_content_son[data-v-12d2821a]{border:1px solid #f1f1f1}.selectBox_content .selectBox_content_son[data-v-12d2821a],.selectBox_content .selectBox_content_son_change[data-v-12d2821a]{padding:4px;background:#f8fafb;font-size:14px;margin-bottom:10px!important;text-align:center;height:22px;line-height:22px;width:calc(25% - 17.5px);margin-right:10px}.selectBox_content .selectBox_content_son_change[data-v-12d2821a]{border:1px solid #3f88f1;background-image:url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ");background-repeat:no-repeat;background-size:15px 15px;background-position:100% 100%;color:#3f88f1}.selectBox_content_sonall[data-v-12d2821a]{white-space:nowrap;overflow:hidden;overflow-x:scroll;-webkit-overflow-scrolling:touch}.selectBox_content_sonall[data-v-12d2821a]:nth-child(4n){margin-right:0}.selectBox_content_sonall[data-v-12d2821a]::-webkit-scrollbar{display:none}.viewAllComments[data-v-12d2821a]{height:45px;line-height:45px;text-align:center;color:#b7b7b7;font-size:12px;background:#fff;display:block;width:100%}", ""]);
|
|
7361
7361
|
// Exports
|
|
7362
7362
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
7363
7363
|
|
|
@@ -32015,19 +32015,19 @@ var update = add("5f43d393", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
32015
32015
|
|
|
32016
32016
|
/***/ }),
|
|
32017
32017
|
|
|
32018
|
-
/***/
|
|
32018
|
+
/***/ 4705:
|
|
32019
32019
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
32020
32020
|
|
|
32021
32021
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
32022
32022
|
|
|
32023
32023
|
// load the styles
|
|
32024
|
-
var content = __webpack_require__(
|
|
32024
|
+
var content = __webpack_require__(5837);
|
|
32025
32025
|
if(content.__esModule) content = content.default;
|
|
32026
32026
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
32027
32027
|
if(content.locals) module.exports = content.locals;
|
|
32028
32028
|
// add the styles to the DOM
|
|
32029
32029
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
32030
|
-
var update = add("
|
|
32030
|
+
var update = add("55fc929e", content, true, {"sourceMap":false,"shadowMode":false});
|
|
32031
32031
|
|
|
32032
32032
|
/***/ }),
|
|
32033
32033
|
|
|
@@ -32431,19 +32431,19 @@ var update = add("04d25616", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
32431
32431
|
|
|
32432
32432
|
/***/ }),
|
|
32433
32433
|
|
|
32434
|
-
/***/
|
|
32434
|
+
/***/ 8631:
|
|
32435
32435
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
32436
32436
|
|
|
32437
32437
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
32438
32438
|
|
|
32439
32439
|
// load the styles
|
|
32440
|
-
var content = __webpack_require__(
|
|
32440
|
+
var content = __webpack_require__(3379);
|
|
32441
32441
|
if(content.__esModule) content = content.default;
|
|
32442
32442
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
32443
32443
|
if(content.locals) module.exports = content.locals;
|
|
32444
32444
|
// add the styles to the DOM
|
|
32445
32445
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
32446
|
-
var update = add("
|
|
32446
|
+
var update = add("4bed1bee", content, true, {"sourceMap":false,"shadowMode":false});
|
|
32447
32447
|
|
|
32448
32448
|
/***/ }),
|
|
32449
32449
|
|
|
@@ -32511,19 +32511,19 @@ var update = add("41a40148", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
32511
32511
|
|
|
32512
32512
|
/***/ }),
|
|
32513
32513
|
|
|
32514
|
-
/***/
|
|
32514
|
+
/***/ 7449:
|
|
32515
32515
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
32516
32516
|
|
|
32517
32517
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
32518
32518
|
|
|
32519
32519
|
// load the styles
|
|
32520
|
-
var content = __webpack_require__(
|
|
32520
|
+
var content = __webpack_require__(4173);
|
|
32521
32521
|
if(content.__esModule) content = content.default;
|
|
32522
32522
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
32523
32523
|
if(content.locals) module.exports = content.locals;
|
|
32524
32524
|
// add the styles to the DOM
|
|
32525
32525
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
32526
|
-
var update = add("
|
|
32526
|
+
var update = add("336c06c0", content, true, {"sourceMap":false,"shadowMode":false});
|
|
32527
32527
|
|
|
32528
32528
|
/***/ }),
|
|
32529
32529
|
|
|
@@ -39604,7 +39604,7 @@ var wfengine_install = function install(Vue) {
|
|
|
39604
39604
|
} else {
|
|
39605
39605
|
var users = submitRoutes[0].taskNodes[0].users;
|
|
39606
39606
|
if (users.length > 1 && submitRoutes[0].taskNodes[0].autoCheckedAll !== '1') {
|
|
39607
|
-
//候选处理人大于1
|
|
39607
|
+
//候选处理人大于1人,且未设置自动全选,不允许快速办理
|
|
39608
39608
|
delete $scope.curTN.passenger.quickProcess;
|
|
39609
39609
|
}
|
|
39610
39610
|
}
|
|
@@ -40216,7 +40216,7 @@ var wfengine_install = function install(Vue) {
|
|
|
40216
40216
|
delete $scope.submitHandle.submitRoute['$$hashKey'];
|
|
40217
40217
|
delete $scope.submitHandle.submitRoute.taskNodes;
|
|
40218
40218
|
}
|
|
40219
|
-
if (
|
|
40219
|
+
if (!$scope.curTN.tnIdeaLabelID) {
|
|
40220
40220
|
// 表单点击任意意见标签填写意见
|
|
40221
40221
|
$scope.submitHandle.curUserIdea = '';
|
|
40222
40222
|
}
|
|
@@ -55757,8 +55757,8 @@ var TextareaField_component = (0,componentNormalizer/* default */.A)(
|
|
|
55757
55757
|
)
|
|
55758
55758
|
|
|
55759
55759
|
/* harmony default export */ var TextareaField = (TextareaField_component.exports);
|
|
55760
|
-
;// 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/Basicform/src/FormField/IdeaField.vue?vue&type=template&id=
|
|
55761
|
-
var
|
|
55760
|
+
;// 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/Basicform/src/FormField/IdeaField.vue?vue&type=template&id=67219e88&scoped=true
|
|
55761
|
+
var IdeaFieldvue_type_template_id_67219e88_scoped_true_render = function render() {
|
|
55762
55762
|
var _vm = this,
|
|
55763
55763
|
_c = _vm._self._c;
|
|
55764
55764
|
return _vm.showWfIdea ? _c('div', {
|
|
@@ -55833,7 +55833,7 @@ var IdeaFieldvue_type_template_id_e115d128_scoped_true_render = function render(
|
|
|
55833
55833
|
}
|
|
55834
55834
|
})], 1)])], 1) : _vm._e();
|
|
55835
55835
|
};
|
|
55836
|
-
var
|
|
55836
|
+
var IdeaFieldvue_type_template_id_67219e88_scoped_true_staticRenderFns = [];
|
|
55837
55837
|
|
|
55838
55838
|
;// 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/Basicform/src/FormField/IdeaField.vue?vue&type=script&lang=js
|
|
55839
55839
|
var IdeaFieldvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
@@ -55949,8 +55949,9 @@ var IdeaFieldvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
55949
55949
|
if (ideaLabel && typeof ideaLabel === 'string') {
|
|
55950
55950
|
var curTN = this.$vnode.context.curTN || this.$vnode.context.$vnode.context.curTN;
|
|
55951
55951
|
var wfInstance = this.$vnode.context.wfInstance || this.$vnode.context.$vnode.context.wfInstance;
|
|
55952
|
-
curTN.tnIdeaPosition = 2;
|
|
55953
55952
|
if (curTN.tnIdeaLabelName !== ideaLabel) this.newWriteIdea = '';
|
|
55953
|
+
this.oldTNIdeaPosition = curTN.tnIdeaPosition;
|
|
55954
|
+
curTN.tnIdeaPosition = 2;
|
|
55954
55955
|
|
|
55955
55956
|
// 填写意见到指定意见栏,根据意见标签名称查询意见标签
|
|
55956
55957
|
this.$http({
|
|
@@ -55986,6 +55987,7 @@ var IdeaFieldvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
55986
55987
|
this.ideaInputDialogVisible = true;
|
|
55987
55988
|
},
|
|
55988
55989
|
ideaInputDialogSubmit: function ideaInputDialogSubmit() {
|
|
55990
|
+
var _this4 = this;
|
|
55989
55991
|
var _this = this;
|
|
55990
55992
|
this.$set(this.submitHandle, 'curUserIdea', this.newWriteIdea);
|
|
55991
55993
|
var curTN = this.$vnode.context.curTN || this.$vnode.context.$vnode.context.curTN;
|
|
@@ -55997,19 +55999,24 @@ var IdeaFieldvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
55997
55999
|
if (this.$vnode.context.curTN.tnIdeaPosition === 2) {
|
|
55998
56000
|
var $scope = _this.$vnode.context.$vnode.context;
|
|
55999
56001
|
$scope.$wfEngine.saveWfInstance($scope, 'SaveIdea', $scope.wfParams).then(function (res) {
|
|
56002
|
+
_this4.ideaInputDialogClose();
|
|
56000
56003
|
if (res.code === 'success') {
|
|
56001
56004
|
$scope.$set($scope, 'wfIdeaList', res.body.wfInstance.passenger.wfIdeaList);
|
|
56002
56005
|
_this.$forceUpdate();
|
|
56003
56006
|
_this.$nextTick(function () {
|
|
56004
56007
|
_this.setShowWfIdea();
|
|
56005
56008
|
});
|
|
56009
|
+
} else {
|
|
56010
|
+
_this4.$dialog.alert({
|
|
56011
|
+
message: res.message,
|
|
56012
|
+
type: 'error'
|
|
56013
|
+
});
|
|
56006
56014
|
}
|
|
56007
56015
|
});
|
|
56008
56016
|
}
|
|
56009
56017
|
}
|
|
56010
56018
|
},
|
|
56011
56019
|
ideaInputDialogClose: function ideaInputDialogClose() {
|
|
56012
|
-
this.ideaInputDialogVisible = false;
|
|
56013
56020
|
if (this.speicalIdeaLabel) {
|
|
56014
56021
|
var curTN = this.$vnode.context.curTN || this.$vnode.context.$vnode.context.curTN;
|
|
56015
56022
|
curTN.tnIdeaLabelID = this.oldTnIdeaLabelID;
|
|
@@ -56018,7 +56025,9 @@ var IdeaFieldvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
56018
56025
|
curTN.tnIdeaSignType = this.oldTnIdeaSignType;
|
|
56019
56026
|
curTN.tnIdeaIsEmphasize = this.oldTnIdeaIsEmphasize;
|
|
56020
56027
|
curTN.tnIdeaShowScope = this.oldTnIdeaShowScope;
|
|
56028
|
+
curTN.tnIdeaPosition = this.oldTNIdeaPosition;
|
|
56021
56029
|
}
|
|
56030
|
+
this.ideaInputDialogVisible = false;
|
|
56022
56031
|
},
|
|
56023
56032
|
initDeleteIdeaBtn: function initDeleteIdeaBtn() {
|
|
56024
56033
|
if (this.curTN.tnNodeID) {
|
|
@@ -56029,7 +56038,7 @@ var IdeaFieldvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
56029
56038
|
}
|
|
56030
56039
|
},
|
|
56031
56040
|
deleteWfIdea: function deleteWfIdea() {
|
|
56032
|
-
var
|
|
56041
|
+
var _this5 = this;
|
|
56033
56042
|
var ideaId = document.querySelector('.delete-wfidea-btn').ideaId;
|
|
56034
56043
|
this.$http({
|
|
56035
56044
|
method: 'PUT',
|
|
@@ -56042,7 +56051,7 @@ var IdeaFieldvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
56042
56051
|
}
|
|
56043
56052
|
}).then(function (res) {
|
|
56044
56053
|
if (res.code === 'success') {
|
|
56045
|
-
|
|
56054
|
+
_this5.$dialog.alert({
|
|
56046
56055
|
message: res.message
|
|
56047
56056
|
}).then(function () {
|
|
56048
56057
|
var ideaDiv = document.getElementById(ideaId);
|
|
@@ -56055,7 +56064,7 @@ var IdeaFieldvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
56055
56064
|
}
|
|
56056
56065
|
});
|
|
56057
56066
|
} else {
|
|
56058
|
-
|
|
56067
|
+
_this5.$dialog.alert({
|
|
56059
56068
|
message: res.message,
|
|
56060
56069
|
type: 'error'
|
|
56061
56070
|
});
|
|
@@ -56071,9 +56080,9 @@ window.callDeleteIdeaBtnClick = function (ideaId) {
|
|
|
56071
56080
|
};
|
|
56072
56081
|
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/IdeaField.vue?vue&type=script&lang=js
|
|
56073
56082
|
/* harmony default export */ var FormField_IdeaFieldvue_type_script_lang_js = (IdeaFieldvue_type_script_lang_js);
|
|
56074
|
-
// 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/Basicform/src/FormField/IdeaField.vue?vue&type=style&index=0&id=
|
|
56075
|
-
var
|
|
56076
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/IdeaField.vue?vue&type=style&index=0&id=
|
|
56083
|
+
// 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/Basicform/src/FormField/IdeaField.vue?vue&type=style&index=0&id=67219e88&prod&scoped=true&lang=scss
|
|
56084
|
+
var IdeaFieldvue_type_style_index_0_id_67219e88_prod_scoped_true_lang_scss = __webpack_require__(4705);
|
|
56085
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/IdeaField.vue?vue&type=style&index=0&id=67219e88&prod&scoped=true&lang=scss
|
|
56077
56086
|
|
|
56078
56087
|
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/IdeaField.vue
|
|
56079
56088
|
|
|
@@ -56086,11 +56095,11 @@ var IdeaFieldvue_type_style_index_0_id_e115d128_prod_scoped_true_lang_scss = __w
|
|
|
56086
56095
|
|
|
56087
56096
|
var IdeaField_component = (0,componentNormalizer/* default */.A)(
|
|
56088
56097
|
FormField_IdeaFieldvue_type_script_lang_js,
|
|
56089
|
-
|
|
56090
|
-
|
|
56098
|
+
IdeaFieldvue_type_template_id_67219e88_scoped_true_render,
|
|
56099
|
+
IdeaFieldvue_type_template_id_67219e88_scoped_true_staticRenderFns,
|
|
56091
56100
|
false,
|
|
56092
56101
|
null,
|
|
56093
|
-
"
|
|
56102
|
+
"67219e88",
|
|
56094
56103
|
null
|
|
56095
56104
|
|
|
56096
56105
|
)
|
|
@@ -56230,8 +56239,8 @@ WfStatus_src.install = function (Vue) {
|
|
|
56230
56239
|
Vue.component(WfStatus_src.name, WfStatus_src);
|
|
56231
56240
|
};
|
|
56232
56241
|
/* harmony default export */ var WfStatus = (WfStatus_src);
|
|
56233
|
-
;// 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/Attachment.vue?vue&type=template&id=
|
|
56234
|
-
var
|
|
56242
|
+
;// 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/Attachment.vue?vue&type=template&id=fb72985a&scoped=true
|
|
56243
|
+
var Attachmentvue_type_template_id_fb72985a_scoped_true_render = function render() {
|
|
56235
56244
|
var _vm = this,
|
|
56236
56245
|
_c = _vm._self._c;
|
|
56237
56246
|
return _c('div', {
|
|
@@ -56492,7 +56501,7 @@ var Attachmentvue_type_template_id_26bea2c4_scoped_true_render = function render
|
|
|
56492
56501
|
}
|
|
56493
56502
|
})], 1) : _vm._e()], 1);
|
|
56494
56503
|
};
|
|
56495
|
-
var
|
|
56504
|
+
var Attachmentvue_type_template_id_fb72985a_scoped_true_staticRenderFns = [];
|
|
56496
56505
|
|
|
56497
56506
|
;// 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/Attachment.vue?vue&type=script&lang=js
|
|
56498
56507
|
function Attachmentvue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return Attachmentvue_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; }, Attachmentvue_type_script_lang_js_typeof(o); }
|
|
@@ -56856,79 +56865,208 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
56856
56865
|
},
|
|
56857
56866
|
handleUploadPreview: function handleUploadPreview(attach) {
|
|
56858
56867
|
var _this6 = this;
|
|
56859
|
-
|
|
56860
|
-
|
|
56861
|
-
|
|
56862
|
-
|
|
56863
|
-
|
|
56864
|
-
|
|
56865
|
-
|
|
56866
|
-
|
|
56867
|
-
|
|
56868
|
-
|
|
56869
|
-
|
|
56870
|
-
|
|
56871
|
-
|
|
56872
|
-
|
|
56873
|
-
|
|
56874
|
-
|
|
56875
|
-
|
|
56876
|
-
|
|
56877
|
-
|
|
56878
|
-
|
|
56879
|
-
|
|
56880
|
-
|
|
56881
|
-
|
|
56882
|
-
|
|
56868
|
+
return Attachmentvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/Attachmentvue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
|
|
56869
|
+
var device, topdf, extName, tSessionId, hostname, downUrl, convertType, appUrl, _tSessionId, _downUrl, WfModule, WFBodyDocId, WFBusiDataId, params, _appUrl, _tSessionId2, _downUrl2, url, fileName;
|
|
56870
|
+
return Attachmentvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
56871
|
+
while (1) switch (_context.prev = _context.next) {
|
|
56872
|
+
case 0:
|
|
56873
|
+
if (!(attach.id === undefined)) {
|
|
56874
|
+
_context.next = 2;
|
|
56875
|
+
break;
|
|
56876
|
+
}
|
|
56877
|
+
return _context.abrupt("return");
|
|
56878
|
+
case 2:
|
|
56879
|
+
if (!_this6.onAttachPreviewClick) {
|
|
56880
|
+
_context.next = 5;
|
|
56881
|
+
break;
|
|
56882
|
+
}
|
|
56883
|
+
// 自定义附件下载预览事件
|
|
56884
|
+
_this6.onAttachPreviewClick(attach);
|
|
56885
|
+
return _context.abrupt("return");
|
|
56886
|
+
case 5:
|
|
56887
|
+
device = js_cookie_default().get('device');
|
|
56888
|
+
topdf = false;
|
|
56889
|
+
extName = '';
|
|
56890
|
+
if (attach.fileName.indexOf('.') !== -1) {
|
|
56891
|
+
extName = attach.fileName.substring(attach.fileName.lastIndexOf('.')).toLowerCase();
|
|
56892
|
+
}
|
|
56893
|
+
if (device !== 'qywx' && device !== 'zwwx') {
|
|
56894
|
+
// 企业微信、粤政易支持文档在线预览,不需要转pdf
|
|
56895
|
+
if (extName !== '' && extName !== '.pdf' && extName !== '.pdfx' && (_this6.onlineFile + ',').indexOf(extName + ',') !== -1) {
|
|
56896
|
+
topdf = true;
|
|
56897
|
+
}
|
|
56898
|
+
} else if ((_this6.onlineFile + ',').indexOf('.ofd,') !== -1 && extName === '.ofd') {
|
|
56899
|
+
// 后端支持ofd转pdf
|
|
56900
|
+
topdf = true;
|
|
56901
|
+
}
|
|
56902
|
+
if (!(_this6.viewer.indexOf('dcs=') === 0 && (topdf || extName === '.ofd'))) {
|
|
56903
|
+
_context.next = 22;
|
|
56904
|
+
break;
|
|
56905
|
+
}
|
|
56906
|
+
_this6.$vnode.context.doing = true;
|
|
56907
|
+
tSessionId = res.body.tSessionId;
|
|
56908
|
+
hostname = location.href.split('mindex.html')[0];
|
|
56909
|
+
downUrl = hostname.substring(0, hostname.length - 1) + "/apigw" + '/' + _this6.wfAttachUrl + '/downloadById?attachIds=' + attach.id + '&httpPort=' + location.port + '&csrfToken=' + window.$auth.getCsrfToken() + '&tSessionId=' + tSessionId;
|
|
56910
|
+
convertType = '0';
|
|
56911
|
+
if (extName === '.pdf') {
|
|
56912
|
+
convertType = '20';
|
|
56913
|
+
} else if (extName === '.ofd') {
|
|
56914
|
+
convertType = '21';
|
|
56915
|
+
}
|
|
56916
|
+
downUrl = _this6.viewer.split('=')[1] + '/composite/httpfile?convertType=' + convertType + '&fileUrl=' + encodeURIComponent(downUrl + (_this6.waterMark ? '&waterMark=' + _this6.waterMark + '&markContent=' + _this6.markContent : ''));
|
|
56917
|
+
if (_this6.viewerUrlParams !== '' && _this6.viewerUrlParams !== null && _this6.viewerUrlParams !== undefined) {
|
|
56918
|
+
downUrl += _this6.viewerUrlParams;
|
|
56919
|
+
}
|
|
56920
|
+
$.post(downUrl, {}, function (res) {
|
|
56921
|
+
_this6.$vnode.context.doing = false;
|
|
56922
|
+
if (res.errorcode === 0) {
|
|
56923
|
+
window.open(res.data.viewUrl);
|
|
56924
|
+
} else {
|
|
56925
|
+
_this6.$dialog.alert({
|
|
56926
|
+
message: res.message
|
|
56927
|
+
});
|
|
56928
|
+
}
|
|
56929
|
+
}, 'json');
|
|
56930
|
+
_context.next = 66;
|
|
56931
|
+
break;
|
|
56932
|
+
case 22:
|
|
56933
|
+
if (!(_this6.viewer === 'wpsh5' && (topdf || extName === '.ofd'))) {
|
|
56934
|
+
_context.next = 41;
|
|
56935
|
+
break;
|
|
56936
|
+
}
|
|
56937
|
+
// 打开 wps h5
|
|
56938
|
+
appUrl = location.href.split('#')[0].split('windex.html')[0]; // 开发调试期间指定地址
|
|
56939
|
+
if (appUrl.indexOf('//127') !== -1 || appUrl.indexOf('//192') !== -1) {
|
|
56940
|
+
appUrl = 'http://toa.ecinc.com.cn:2028/';
|
|
56941
|
+
}
|
|
56942
|
+
_this6.$vnode.context.doing = true;
|
|
56943
|
+
_context.next = 28;
|
|
56944
|
+
return _this6.getSessionId();
|
|
56945
|
+
case 28:
|
|
56946
|
+
_tSessionId = _context.sent;
|
|
56947
|
+
//正文下载地址
|
|
56948
|
+
_downUrl = appUrl + "/apigw";
|
|
56949
|
+
_downUrl += _this6.wfAttachUrl.substring(0, 1) === '/' ? _this6.wfAttachUrl : '/' + _this6.wfAttachUrl;
|
|
56950
|
+
_downUrl += '/downloadById?attachIds=' + attach.id + '&topdf=false';
|
|
56951
|
+
//downUrl += this.waterMark ? '&waterMark=' + this.waterMark + '&markContent=' + this.markContent : ''
|
|
56952
|
+
_downUrl += '&httpPort=' + location.port + '&csrfToken=' + window.$auth.getCsrfToken() + '&tSessionId=' + _tSessionId;
|
|
56953
|
+
_downUrl += '&saveAs=' + attach.fileName;
|
|
56954
|
+
WfModule = _this6.$vnode.context.wfInstance.module;
|
|
56955
|
+
WFBodyDocId = _this6.$vnode.context.wfInstance.bodyDocId;
|
|
56956
|
+
WFBusiDataId = _this6.$vnode.context.vo.id;
|
|
56957
|
+
params = {
|
|
56958
|
+
openType: 'view',
|
|
56959
|
+
attachId: '',
|
|
56960
|
+
module: WfModule,
|
|
56961
|
+
busiDataId: WFBusiDataId,
|
|
56962
|
+
bodyDocId: WFBodyDocId,
|
|
56963
|
+
downUrl: encodeURI(_downUrl),
|
|
56964
|
+
attachName: attach.fileName,
|
|
56965
|
+
attachType: attach.fileType
|
|
56966
|
+
};
|
|
56967
|
+
_this6.$http({
|
|
56968
|
+
method: 'GET',
|
|
56969
|
+
params: params,
|
|
56970
|
+
url: 'wpsOffice/getAppToken'
|
|
56971
|
+
}).then(function (res) {
|
|
56972
|
+
if (res.code === 'success') {
|
|
56973
|
+
_this6.tSessionId = res.body.tSessionId;
|
|
56974
|
+
var editorUrl = './plugins/wpsjs/h5office/editor.html';
|
|
56975
|
+
editorUrl += '?token=' + encodeURI(res.body.accessToken);
|
|
56976
|
+
editorUrl += '&signatureurl=' + encodeURIComponent(res.body.url);
|
|
56977
|
+
window.open(editorUrl); // 打开
|
|
56978
|
+
} else {
|
|
56979
|
+
_this6.$dialog.alert({
|
|
56980
|
+
message: res.message
|
|
56981
|
+
});
|
|
56982
|
+
}
|
|
56983
|
+
_this6.$vnode.context.doing = false;
|
|
56984
|
+
});
|
|
56985
|
+
_context.next = 66;
|
|
56986
|
+
break;
|
|
56987
|
+
case 41:
|
|
56988
|
+
if (!(_this6.viewer === 'fuxin' && (topdf || extName === '.ofd'))) {
|
|
56989
|
+
_context.next = 58;
|
|
56990
|
+
break;
|
|
56991
|
+
}
|
|
56992
|
+
_appUrl = location.href.split('#')[0]; // url
|
|
56993
|
+
_context.next = 45;
|
|
56994
|
+
return _this6.getSessionId();
|
|
56995
|
+
case 45:
|
|
56996
|
+
_tSessionId2 = _context.sent;
|
|
56997
|
+
if (!(imgType.indexOf(extName.substring(1)) > -1 && window.openImgView)) {
|
|
56998
|
+
_context.next = 50;
|
|
56999
|
+
break;
|
|
57000
|
+
}
|
|
57001
|
+
sessionStorage.setItem('IMG_INDEX_' + _this6.vo.id, attach.index);
|
|
57002
|
+
window.open('#/imgView?wfAttachUrl=' + _this6.wfAttachUrl + '&busiDataId=' + _this6.vo.id);
|
|
57003
|
+
return _context.abrupt("return");
|
|
57004
|
+
case 50:
|
|
57005
|
+
_downUrl2 = _appUrl + "/apigw";
|
|
57006
|
+
_downUrl2 += _this6.wfAttachUrl.substring(0, 1) === '/' ? _this6.wfAttachUrl : '/' + _this6.wfAttachUrl;
|
|
57007
|
+
_downUrl2 += '/downloadById?attachIds=' + attach.id + '&topdf=' + topdf;
|
|
57008
|
+
_downUrl2 += _this6.waterMark ? '&waterMark=' + _this6.waterMark + '&markContent=' + _this6.markContent : '';
|
|
57009
|
+
_downUrl2 += '&httpPort=' + location.port + '&csrfToken=' + window.$auth.getCsrfToken() + '&tSessionId=' + _tSessionId2;
|
|
57010
|
+
if (_this6.fuxinBaseUrl) {
|
|
57011
|
+
window.open(_this6.fuxinBaseUrl + '?docuri=' + encodeURIComponent(_downUrl2));
|
|
57012
|
+
} else {
|
|
57013
|
+
_this6.$http({
|
|
57014
|
+
method: 'get',
|
|
57015
|
+
contentType: 'application/x-www-form-urlencoded',
|
|
57016
|
+
url: 'base/paramConfig/findParamValueByName?orgCode=standard¶mName=fuxin.viewer.url'
|
|
57017
|
+
}).then(function (res) {
|
|
57018
|
+
if (res.code === 'success') {
|
|
57019
|
+
_this6.fuxinBaseUrl = res.body.value;
|
|
57020
|
+
window.open(_this6.fuxinBaseUrl + '?docuri=' + encodeURIComponent(_downUrl2));
|
|
57021
|
+
} else {
|
|
57022
|
+
_this6.$dialog.alert({
|
|
57023
|
+
message: '未配置福星预览地址参数 fuxin.viewer.url'
|
|
57024
|
+
});
|
|
57025
|
+
}
|
|
57026
|
+
});
|
|
57027
|
+
}
|
|
57028
|
+
_context.next = 66;
|
|
57029
|
+
break;
|
|
57030
|
+
case 58:
|
|
57031
|
+
url = "/apigw";
|
|
57032
|
+
url += _this6.wfAttachUrl.substring(0, 1) === '/' ? _this6.wfAttachUrl : '/' + _this6.wfAttachUrl;
|
|
57033
|
+
url += '/downloadById?inline=true&attachIds=' + attach.id + '&topdf=' + topdf;
|
|
57034
|
+
url += _this6.waterMark ? '&waterMark=' + _this6.waterMark + '&markContent=' + _this6.markContent : '';
|
|
57035
|
+
url += '&httpPort=' + location.port + '&csrfToken=' + window.$auth.getCsrfToken();
|
|
57036
|
+
// console.log({ url: url, name: attach.fileName, size: attach.fileRealSize, title: '进行下载' })
|
|
57037
|
+
fileName = attach.fileName;
|
|
57038
|
+
if (topdf) {
|
|
57039
|
+
if (fileName.indexOf('.') > 0) {
|
|
57040
|
+
fileName = fileName.substring(0, fileName.lastIndexOf('.')) + '.pdf';
|
|
57041
|
+
} else {
|
|
57042
|
+
fileName = fileName + '.pdf';
|
|
57043
|
+
}
|
|
57044
|
+
}
|
|
57045
|
+
_this6.$mappUtils.downLoadAndOpenFile(_this6, url, fileName, attach.fileRealSize);
|
|
57046
|
+
case 66:
|
|
57047
|
+
case "end":
|
|
57048
|
+
return _context.stop();
|
|
57049
|
+
}
|
|
57050
|
+
}, _callee);
|
|
57051
|
+
}))();
|
|
57052
|
+
},
|
|
57053
|
+
getSessionId: function getSessionId() {
|
|
57054
|
+
var _this7 = this;
|
|
57055
|
+
return new Promise(function (resolve, reject) {
|
|
57056
|
+
_this7.$http({
|
|
56883
57057
|
method: 'GET',
|
|
57058
|
+
params: {
|
|
57059
|
+
timeLength: 60
|
|
57060
|
+
},
|
|
56884
57061
|
url: 'base/user/getSessionId'
|
|
56885
57062
|
}).then(function (res) {
|
|
56886
57063
|
if (res.code === 'success') {
|
|
56887
|
-
|
|
56888
|
-
var hostname = location.href.split('mindex.html')[0];
|
|
56889
|
-
var downUrl = hostname.substring(0, hostname.length - 1) + "/apigw" + '/' + _this6.wfAttachUrl + '/downloadById?attachIds=' + attach.id + '&httpPort=' + location.port + '&csrfToken=' + window.$auth.getCsrfToken() + '&tSessionId=' + tSessionId;
|
|
56890
|
-
var convertType = '0';
|
|
56891
|
-
if (extName === '.pdf') {
|
|
56892
|
-
convertType = '20';
|
|
56893
|
-
} else if (extName === '.ofd') {
|
|
56894
|
-
convertType = '21';
|
|
56895
|
-
}
|
|
56896
|
-
downUrl = _this6.viewer.split('=')[1] + '/composite/httpfile?convertType=' + convertType + '&fileUrl=' + encodeURIComponent(downUrl + (_this6.waterMark ? '&waterMark=' + _this6.waterMark + '&markContent=' + _this6.markContent : ''));
|
|
56897
|
-
if (_this6.viewerUrlParams !== '' && _this6.viewerUrlParams !== null && _this6.viewerUrlParams !== undefined) {
|
|
56898
|
-
downUrl += _this6.viewerUrlParams;
|
|
56899
|
-
}
|
|
56900
|
-
$.post(downUrl, {}, function (res) {
|
|
56901
|
-
_this6.$vnode.context.doing = false;
|
|
56902
|
-
if (res.errorcode === 0) {
|
|
56903
|
-
window.open(res.data.viewUrl);
|
|
56904
|
-
} else {
|
|
56905
|
-
_this6.$dialog.alert({
|
|
56906
|
-
message: res.message
|
|
56907
|
-
});
|
|
56908
|
-
}
|
|
56909
|
-
}, 'json');
|
|
57064
|
+
resolve(res.body.tSessionId);
|
|
56910
57065
|
} else {
|
|
56911
|
-
|
|
57066
|
+
reject(res.msg);
|
|
56912
57067
|
}
|
|
56913
57068
|
});
|
|
56914
|
-
}
|
|
56915
|
-
var url = "/apigw";
|
|
56916
|
-
url += this.wfAttachUrl.substring(0, 1) === '/' ? this.wfAttachUrl : '/' + this.wfAttachUrl;
|
|
56917
|
-
url += '/downloadById?inline=true&attachIds=' + attach.id + '&topdf=' + topdf;
|
|
56918
|
-
url += this.waterMark ? '&waterMark=' + this.waterMark + '&markContent=' + this.markContent : '';
|
|
56919
|
-
url += '&httpPort=' + location.port + '&csrfToken=' + window.$auth.getCsrfToken();
|
|
56920
|
-
// console.log({ url: url, name: attach.fileName, size: attach.fileRealSize, title: '进行下载' })
|
|
56921
|
-
|
|
56922
|
-
var fileName = attach.fileName;
|
|
56923
|
-
if (topdf) {
|
|
56924
|
-
if (fileName.indexOf('.') > 0) {
|
|
56925
|
-
fileName = fileName.substring(0, fileName.lastIndexOf('.')) + '.pdf';
|
|
56926
|
-
} else {
|
|
56927
|
-
fileName = fileName + '.pdf';
|
|
56928
|
-
}
|
|
56929
|
-
}
|
|
56930
|
-
this.$mappUtils.downLoadAndOpenFile(this, url, fileName, attach.fileRealSize);
|
|
56931
|
-
}
|
|
57069
|
+
});
|
|
56932
57070
|
},
|
|
56933
57071
|
handleUploadExceed: function handleUploadExceed(files, fileList) {
|
|
56934
57072
|
// this.$dialog.alert({ message: `当前限制选择 ${this.limitCount} 个文件,本次选择了 ${files.length} 个文件,共选择了 ${files.length + fileList.length} 个文件` })
|
|
@@ -56941,7 +57079,7 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
56941
57079
|
});
|
|
56942
57080
|
},
|
|
56943
57081
|
handleUploadRemove: function handleUploadRemove(file) {
|
|
56944
|
-
var
|
|
57082
|
+
var _this8 = this;
|
|
56945
57083
|
var _this = this;
|
|
56946
57084
|
if (file.id === undefined) {
|
|
56947
57085
|
for (var i = 0; i < this.attachments.length; i++) {
|
|
@@ -56950,7 +57088,7 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
56950
57088
|
}
|
|
56951
57089
|
}
|
|
56952
57090
|
this.attachList = this.attachments.filter(function (attach) {
|
|
56953
|
-
return attach.fileType ===
|
|
57091
|
+
return attach.fileType === _this8.attachsType;
|
|
56954
57092
|
});
|
|
56955
57093
|
for (var j = 0; j < this.uploadAttach.length; j++) {
|
|
56956
57094
|
if (this.uploadAttach[j] === file.file) {
|
|
@@ -56965,21 +57103,21 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
56965
57103
|
}
|
|
56966
57104
|
}
|
|
56967
57105
|
this.attachList = this.attachments.filter(function (attach) {
|
|
56968
|
-
return attach.fileType ===
|
|
57106
|
+
return attach.fileType === _this8.attachsType;
|
|
56969
57107
|
});
|
|
56970
57108
|
this.$forceUpdate();
|
|
56971
57109
|
} else {
|
|
56972
57110
|
this.$dialog.confirm({
|
|
56973
57111
|
message: this.$tx('ecmapp.message.sureDeleterAttach', '您是否确认删除选择的附件?')
|
|
56974
|
-
}).then( /*#__PURE__*/Attachmentvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/Attachmentvue_type_script_lang_js_regeneratorRuntime().mark(function
|
|
57112
|
+
}).then( /*#__PURE__*/Attachmentvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/Attachmentvue_type_script_lang_js_regeneratorRuntime().mark(function _callee2() {
|
|
56975
57113
|
var deleteUrl;
|
|
56976
|
-
return Attachmentvue_type_script_lang_js_regeneratorRuntime().wrap(function
|
|
56977
|
-
while (1) switch (
|
|
57114
|
+
return Attachmentvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
57115
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
56978
57116
|
case 0:
|
|
56979
|
-
deleteUrl =
|
|
56980
|
-
if (_this.$vnode.context.wfInstance === undefined || _this.$vnode.context.wfInstance === null || _this.$vnode.context.wfInstance.id === undefined) deleteUrl =
|
|
57117
|
+
deleteUrl = _this8.wfAttachUrl + '/delete';
|
|
57118
|
+
if (_this.$vnode.context.wfInstance === undefined || _this.$vnode.context.wfInstance === null || _this.$vnode.context.wfInstance.id === undefined) deleteUrl = _this8.wfAttachUrl + '/deleteAttach'; // 非流程表单
|
|
56981
57119
|
|
|
56982
|
-
|
|
57120
|
+
_this8.$http({
|
|
56983
57121
|
method: 'DELETE',
|
|
56984
57122
|
contentType: 'application/x-www-form-urlencoded',
|
|
56985
57123
|
params: {
|
|
@@ -56988,33 +57126,33 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
56988
57126
|
url: deleteUrl
|
|
56989
57127
|
}).then(function (res) {
|
|
56990
57128
|
if (res.code === 'success') {
|
|
56991
|
-
for (var i = 0; i <
|
|
56992
|
-
if (
|
|
56993
|
-
|
|
57129
|
+
for (var i = 0; i < _this8.attachments.length; i++) {
|
|
57130
|
+
if (_this8.attachments[i].id === file.id) {
|
|
57131
|
+
_this8.attachments.splice(i--, 1);
|
|
56994
57132
|
}
|
|
56995
57133
|
}
|
|
56996
|
-
|
|
56997
|
-
return attach.fileType ===
|
|
57134
|
+
_this8.attachList = _this8.attachments.filter(function (attach) {
|
|
57135
|
+
return attach.fileType === _this8.attachsType;
|
|
56998
57136
|
});
|
|
56999
|
-
|
|
57137
|
+
_this8.$forceUpdate();
|
|
57000
57138
|
} else {
|
|
57001
|
-
|
|
57139
|
+
_this8.$dialog.alert({
|
|
57002
57140
|
message: res.message
|
|
57003
57141
|
});
|
|
57004
57142
|
}
|
|
57005
57143
|
});
|
|
57006
57144
|
case 3:
|
|
57007
57145
|
case "end":
|
|
57008
|
-
return
|
|
57146
|
+
return _context2.stop();
|
|
57009
57147
|
}
|
|
57010
|
-
},
|
|
57148
|
+
}, _callee2);
|
|
57011
57149
|
}))).catch(function () {
|
|
57012
57150
|
console.log('cancel delete.');
|
|
57013
57151
|
});
|
|
57014
57152
|
}
|
|
57015
57153
|
},
|
|
57016
57154
|
handleUploadChange: function handleUploadChange(file) {
|
|
57017
|
-
var
|
|
57155
|
+
var _this9 = this;
|
|
57018
57156
|
if (this.accept && this.accept !== '*.*') {
|
|
57019
57157
|
// accept包含"/",例:image/jpeg等,格式比较多,不再检测扩展名是否匹配
|
|
57020
57158
|
if (this.accept.indexOf('/') === -1) {
|
|
@@ -57104,7 +57242,7 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
57104
57242
|
this.attachments.push(_attach);
|
|
57105
57243
|
}
|
|
57106
57244
|
this.attachList = this.attachments.filter(function (attach) {
|
|
57107
|
-
return attach.fileType ===
|
|
57245
|
+
return attach.fileType === _this9.attachsType;
|
|
57108
57246
|
});
|
|
57109
57247
|
this.$forceUpdate();
|
|
57110
57248
|
},
|
|
@@ -57137,18 +57275,18 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
57137
57275
|
}
|
|
57138
57276
|
},
|
|
57139
57277
|
uploadWflowAttach: function uploadWflowAttach($scope) {
|
|
57140
|
-
var
|
|
57278
|
+
var _this10 = this;
|
|
57141
57279
|
return new Promise( /*#__PURE__*/function () {
|
|
57142
|
-
var _ref2 = Attachmentvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/Attachmentvue_type_script_lang_js_regeneratorRuntime().mark(function
|
|
57280
|
+
var _ref2 = Attachmentvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/Attachmentvue_type_script_lang_js_regeneratorRuntime().mark(function _callee5(resole) {
|
|
57143
57281
|
var uploadAttach, _this, uploadAttachFile, _uploadAttachFile, bodyfile, resp, fileName, extName, docEditMode;
|
|
57144
|
-
return Attachmentvue_type_script_lang_js_regeneratorRuntime().wrap(function
|
|
57145
|
-
while (1) switch (
|
|
57282
|
+
return Attachmentvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee5$(_context5) {
|
|
57283
|
+
while (1) switch (_context5.prev = _context5.next) {
|
|
57146
57284
|
case 0:
|
|
57147
57285
|
_uploadAttachFile = function _uploadAttachFile3() {
|
|
57148
|
-
_uploadAttachFile = Attachmentvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/Attachmentvue_type_script_lang_js_regeneratorRuntime().mark(function
|
|
57286
|
+
_uploadAttachFile = Attachmentvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/Attachmentvue_type_script_lang_js_regeneratorRuntime().mark(function _callee4(attach, index) {
|
|
57149
57287
|
var file, config, module, reqData, uploadRst;
|
|
57150
|
-
return Attachmentvue_type_script_lang_js_regeneratorRuntime().wrap(function
|
|
57151
|
-
while (1) switch (
|
|
57288
|
+
return Attachmentvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
57289
|
+
while (1) switch (_context4.prev = _context4.next) {
|
|
57152
57290
|
case 0:
|
|
57153
57291
|
file = attach.file;
|
|
57154
57292
|
config = {
|
|
@@ -57181,16 +57319,16 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
57181
57319
|
// 代办佐证材料
|
|
57182
57320
|
reqData.uploadBy = attach.uploadBy;
|
|
57183
57321
|
}
|
|
57184
|
-
|
|
57322
|
+
_context4.next = 9;
|
|
57185
57323
|
return _this.$wfEngine.upload(_this, _this.wfAttachUrl + '/upload', file.file, reqData, config);
|
|
57186
57324
|
case 9:
|
|
57187
|
-
uploadRst =
|
|
57188
|
-
return
|
|
57325
|
+
uploadRst = _context4.sent;
|
|
57326
|
+
return _context4.abrupt("return", uploadRst);
|
|
57189
57327
|
case 11:
|
|
57190
57328
|
case "end":
|
|
57191
|
-
return
|
|
57329
|
+
return _context4.stop();
|
|
57192
57330
|
}
|
|
57193
|
-
},
|
|
57331
|
+
}, _callee4);
|
|
57194
57332
|
}));
|
|
57195
57333
|
return _uploadAttachFile.apply(this, arguments);
|
|
57196
57334
|
};
|
|
@@ -57199,13 +57337,13 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
57199
57337
|
};
|
|
57200
57338
|
uploadAttach = [];
|
|
57201
57339
|
if ($scope.doNextAttach && $scope.doNextAttach.file !== undefined && $scope.doNextAttach.file !== null && $scope.doNextAttach.file.progress === 0) {
|
|
57202
|
-
|
|
57340
|
+
_this10.attachments.push($scope.doNextAttach);
|
|
57203
57341
|
}
|
|
57204
|
-
|
|
57342
|
+
_this10.attachments.forEach(function (attach, index) {
|
|
57205
57343
|
if (attach.file != null && !attach.file.complete && attach.uploadIndex === undefined) {
|
|
57206
|
-
if (attach.fileType ===
|
|
57344
|
+
if (attach.fileType === _this10.attachsType || attach.uploadType === 'formfile' || attach.uploadType === 'DONEXT') {
|
|
57207
57345
|
attach.file.message = null;
|
|
57208
|
-
attach.file.fileType = attach.fileType ||
|
|
57346
|
+
attach.file.fileType = attach.fileType || _this10.attachsType;
|
|
57209
57347
|
attach.uploadIndex = index;
|
|
57210
57348
|
uploadAttach.push(attach);
|
|
57211
57349
|
}
|
|
@@ -57213,18 +57351,18 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
57213
57351
|
});
|
|
57214
57352
|
|
|
57215
57353
|
// 上传文件
|
|
57216
|
-
_this =
|
|
57354
|
+
_this = _this10; // 先上传正文
|
|
57217
57355
|
if (!($scope.bodyfile && $scope.bodyfile.file !== undefined && $scope.bodyfile.file !== null && $scope.bodyfile.file.progress === 0)) {
|
|
57218
|
-
|
|
57356
|
+
_context5.next = 14;
|
|
57219
57357
|
break;
|
|
57220
57358
|
}
|
|
57221
57359
|
bodyfile = $scope.bodyfile;
|
|
57222
57360
|
bodyfile.file.message = null;
|
|
57223
|
-
bodyfile.file.fileType = bodyfile.fileType ||
|
|
57224
|
-
|
|
57361
|
+
bodyfile.file.fileType = bodyfile.fileType || _this10.attachsType;
|
|
57362
|
+
_context5.next = 12;
|
|
57225
57363
|
return uploadAttachFile(bodyfile, 0);
|
|
57226
57364
|
case 12:
|
|
57227
|
-
resp =
|
|
57365
|
+
resp = _context5.sent;
|
|
57228
57366
|
if (resp.code === 'success') {
|
|
57229
57367
|
bodyfile.file.complete = true;
|
|
57230
57368
|
resp.body.uploadAttachList.forEach(function (attach) {
|
|
@@ -57235,7 +57373,7 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
57235
57373
|
break;
|
|
57236
57374
|
}
|
|
57237
57375
|
}
|
|
57238
|
-
|
|
57376
|
+
_this10.attachments.push(attach);
|
|
57239
57377
|
if (attach.fileName.indexOf('.pdf') || attach.fileName.indexOf('.ofd')) {
|
|
57240
57378
|
_this.$set($scope, 'bodyfile', attach);
|
|
57241
57379
|
if (typeof $scope.vo.flBodyFilename !== 'undefined') $scope.vo.flBodyFilename = attach.fileName;
|
|
@@ -57248,9 +57386,9 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
57248
57386
|
fileName = bodyfile.file.name;
|
|
57249
57387
|
extName = fileName.substring(fileName.lastIndexOf('.')).toLowerCase();
|
|
57250
57388
|
docEditMode = '';
|
|
57251
|
-
if (
|
|
57389
|
+
if (_this10.$vnode.context.wfInstance.passenger.docEditMode) {
|
|
57252
57390
|
// 当前模式获取
|
|
57253
|
-
docEditMode =
|
|
57391
|
+
docEditMode = _this10.$vnode.context.wfInstance.passenger.docEditMode;
|
|
57254
57392
|
}
|
|
57255
57393
|
if (docEditMode === 'RedTitle') {
|
|
57256
57394
|
// 红头模式默认上传 红头文件
|
|
@@ -57273,44 +57411,44 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
57273
57411
|
}
|
|
57274
57412
|
if (uploadAttach.length === 0) resole({
|
|
57275
57413
|
code: 'success',
|
|
57276
|
-
message:
|
|
57414
|
+
message: _this10.$tx('ecmapp.message.fileUploadSuccess', '文件正文上传成功!')
|
|
57277
57415
|
});
|
|
57278
|
-
|
|
57279
|
-
|
|
57416
|
+
_this10.$nextTick(function () {
|
|
57417
|
+
_this10.$bus.emit('onTabChanged', 0);
|
|
57280
57418
|
});
|
|
57281
57419
|
} else {
|
|
57282
57420
|
bodyfile.file.status = 'failure';
|
|
57283
57421
|
bodyfile.file.message = resp.message;
|
|
57284
|
-
|
|
57422
|
+
_this10.$bus.emit('onUploadProgress', bodyfile);
|
|
57285
57423
|
if (uploadAttach.length === 0) resole(resp);
|
|
57286
57424
|
}
|
|
57287
57425
|
case 14:
|
|
57288
57426
|
if (uploadAttach.length === 0) {
|
|
57289
|
-
if (
|
|
57290
|
-
|
|
57291
|
-
message:
|
|
57427
|
+
if (_this10.isRequired === 1 && _this10.attachList.length === 0) {
|
|
57428
|
+
_this10.$dialog.alert({
|
|
57429
|
+
message: _this10.$tx('ecmapp.message.needUploadFile', '请选择需要上传的附件!')
|
|
57292
57430
|
});
|
|
57293
57431
|
resole({
|
|
57294
57432
|
code: 'failure',
|
|
57295
|
-
message:
|
|
57433
|
+
message: _this10.$tx('ecmapp.message.noSelNeedUploadFile', '没有选择需要上传的附件')
|
|
57296
57434
|
});
|
|
57297
57435
|
} else {
|
|
57298
57436
|
resole({
|
|
57299
57437
|
code: 'success',
|
|
57300
|
-
message:
|
|
57438
|
+
message: _this10.$tx('ecmapp.message.noTobeUploadFile', '没有待上传附件')
|
|
57301
57439
|
});
|
|
57302
57440
|
}
|
|
57303
57441
|
}
|
|
57304
57442
|
uploadAttach.forEach( /*#__PURE__*/function () {
|
|
57305
|
-
var _ref3 = Attachmentvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/Attachmentvue_type_script_lang_js_regeneratorRuntime().mark(function
|
|
57443
|
+
var _ref3 = Attachmentvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/Attachmentvue_type_script_lang_js_regeneratorRuntime().mark(function _callee3(attach, index) {
|
|
57306
57444
|
var uploadRst, file, complete;
|
|
57307
|
-
return Attachmentvue_type_script_lang_js_regeneratorRuntime().wrap(function
|
|
57308
|
-
while (1) switch (
|
|
57445
|
+
return Attachmentvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
57446
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
57309
57447
|
case 0:
|
|
57310
|
-
|
|
57448
|
+
_context3.next = 2;
|
|
57311
57449
|
return uploadAttachFile(attach, index + 1);
|
|
57312
57450
|
case 2:
|
|
57313
|
-
uploadRst =
|
|
57451
|
+
uploadRst = _context3.sent;
|
|
57314
57452
|
file = attach.file;
|
|
57315
57453
|
if (uploadRst.code === 'success') {
|
|
57316
57454
|
file.complete = true;
|
|
@@ -57319,34 +57457,34 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
57319
57457
|
complete = true;
|
|
57320
57458
|
_this.attachments.forEach(function (iattach, iindex) {
|
|
57321
57459
|
if (file === iattach.file) {
|
|
57322
|
-
var attachments = $scope.attachments || $scope.vo.passenger.attachments ||
|
|
57460
|
+
var attachments = $scope.attachments || $scope.vo.passenger.attachments || _this10.attachments;
|
|
57323
57461
|
if (uploadRst.body.uploadAttachList.length === 2) {
|
|
57324
57462
|
attachments.splice(iindex, 1, uploadRst.body.uploadAttachList[0], uploadRst.body.uploadAttachList[1]);
|
|
57325
57463
|
} else {
|
|
57326
57464
|
attachments.splice(iindex, 1, uploadRst.body.uploadAttachList[0]);
|
|
57327
57465
|
}
|
|
57328
57466
|
}
|
|
57329
|
-
if (iattach.fileType ===
|
|
57467
|
+
if (iattach.fileType === _this10.attachsType && iattach.file && iattach.file.complete !== true) {
|
|
57330
57468
|
complete = false;
|
|
57331
57469
|
}
|
|
57332
57470
|
});
|
|
57333
57471
|
if (complete) {
|
|
57334
57472
|
resole({
|
|
57335
57473
|
code: 'success',
|
|
57336
|
-
message:
|
|
57474
|
+
message: _this10.$tx('ecmapp.message.attchUploadFile', '附件全部上传成功')
|
|
57337
57475
|
});
|
|
57338
57476
|
}
|
|
57339
57477
|
} else {
|
|
57340
57478
|
file.status = 'failure';
|
|
57341
57479
|
file.message = uploadRst.message;
|
|
57342
57480
|
resole(uploadRst);
|
|
57343
|
-
|
|
57481
|
+
_this10.$forceUpdate();
|
|
57344
57482
|
}
|
|
57345
57483
|
case 5:
|
|
57346
57484
|
case "end":
|
|
57347
|
-
return
|
|
57485
|
+
return _context3.stop();
|
|
57348
57486
|
}
|
|
57349
|
-
},
|
|
57487
|
+
}, _callee3);
|
|
57350
57488
|
}));
|
|
57351
57489
|
return function (_x4, _x5) {
|
|
57352
57490
|
return _ref3.apply(this, arguments);
|
|
@@ -57354,9 +57492,9 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
57354
57492
|
}());
|
|
57355
57493
|
case 16:
|
|
57356
57494
|
case "end":
|
|
57357
|
-
return
|
|
57495
|
+
return _context5.stop();
|
|
57358
57496
|
}
|
|
57359
|
-
},
|
|
57497
|
+
}, _callee5);
|
|
57360
57498
|
}));
|
|
57361
57499
|
return function (_x) {
|
|
57362
57500
|
return _ref2.apply(this, arguments);
|
|
@@ -57376,9 +57514,9 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
57376
57514
|
});
|
|
57377
57515
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=script&lang=js
|
|
57378
57516
|
/* harmony default export */ var src_Attachmentvue_type_script_lang_js = (Attachmentvue_type_script_lang_js);
|
|
57379
|
-
// 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/Attachment.vue?vue&type=style&index=0&id=
|
|
57380
|
-
var
|
|
57381
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=
|
|
57517
|
+
// 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/Attachment.vue?vue&type=style&index=0&id=fb72985a&prod&scoped=true&lang=scss
|
|
57518
|
+
var Attachmentvue_type_style_index_0_id_fb72985a_prod_scoped_true_lang_scss = __webpack_require__(8631);
|
|
57519
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=fb72985a&prod&scoped=true&lang=scss
|
|
57382
57520
|
|
|
57383
57521
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue
|
|
57384
57522
|
|
|
@@ -57391,11 +57529,11 @@ var Attachmentvue_type_style_index_0_id_26bea2c4_prod_scoped_true_lang_scss = __
|
|
|
57391
57529
|
|
|
57392
57530
|
var Attachment_component = (0,componentNormalizer/* default */.A)(
|
|
57393
57531
|
src_Attachmentvue_type_script_lang_js,
|
|
57394
|
-
|
|
57395
|
-
|
|
57532
|
+
Attachmentvue_type_template_id_fb72985a_scoped_true_render,
|
|
57533
|
+
Attachmentvue_type_template_id_fb72985a_scoped_true_staticRenderFns,
|
|
57396
57534
|
false,
|
|
57397
57535
|
null,
|
|
57398
|
-
"
|
|
57536
|
+
"fb72985a",
|
|
57399
57537
|
null
|
|
57400
57538
|
|
|
57401
57539
|
)
|
|
@@ -59426,8 +59564,8 @@ var SelectOuterDeputy_component = (0,componentNormalizer/* default */.A)(
|
|
|
59426
59564
|
)
|
|
59427
59565
|
|
|
59428
59566
|
/* harmony default export */ var SelectOuterDeputy = (SelectOuterDeputy_component.exports);
|
|
59429
|
-
;// 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/SubmitHandle.vue?vue&type=template&id=
|
|
59430
|
-
var
|
|
59567
|
+
;// 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/SubmitHandle.vue?vue&type=template&id=12d2821a&scoped=true
|
|
59568
|
+
var SubmitHandlevue_type_template_id_12d2821a_scoped_true_render = function render() {
|
|
59431
59569
|
var _vm = this,
|
|
59432
59570
|
_c = _vm._self._c;
|
|
59433
59571
|
return _vm.initiated ? _c('div', {
|
|
@@ -60118,7 +60256,7 @@ var SubmitHandlevue_type_template_id_26fa93ad_scoped_true_render = function rend
|
|
|
60118
60256
|
}
|
|
60119
60257
|
})], 1) : _vm._e()], 2) : _vm._e();
|
|
60120
60258
|
};
|
|
60121
|
-
var
|
|
60259
|
+
var SubmitHandlevue_type_template_id_12d2821a_scoped_true_staticRenderFns = [];
|
|
60122
60260
|
|
|
60123
60261
|
;// 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/WfTaskNode.vue?vue&type=template&id=8e60a7d4&scoped=true
|
|
60124
60262
|
var WfTaskNodevue_type_template_id_8e60a7d4_scoped_true_render = function render() {
|
|
@@ -61553,6 +61691,8 @@ var SubmitHandlevue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
61553
61691
|
selectBanlFn: function selectBanlFn(item, users, wfNode) {
|
|
61554
61692
|
var _this3 = this;
|
|
61555
61693
|
if (item.changed) {
|
|
61694
|
+
if (wfNode.autoCheckedAll === '1' && wfNode.showNodeUsers === 2) return; // 自动全选、并且不允许修改
|
|
61695
|
+
|
|
61556
61696
|
if (users.length > 1) {
|
|
61557
61697
|
item.changed = false;
|
|
61558
61698
|
} else {
|
|
@@ -62008,7 +62148,7 @@ var SubmitHandlevue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
62008
62148
|
},
|
|
62009
62149
|
selectWfNodeUser: function selectWfNodeUser(title, wfNode) {
|
|
62010
62150
|
var _this9 = this;
|
|
62011
|
-
if (wfNode.showNodeUsers === 2) return; // 自动全选、并且不允许修改
|
|
62151
|
+
if (wfNode.autoCheckedAll === '1' && wfNode.showNodeUsers === 2) return; // 自动全选、并且不允许修改
|
|
62012
62152
|
|
|
62013
62153
|
var condition = {
|
|
62014
62154
|
selectDialog: 'wfNodeUser',
|
|
@@ -62242,9 +62382,9 @@ var SubmitHandlevue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
62242
62382
|
});
|
|
62243
62383
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/SubmitHandle.vue?vue&type=script&lang=js
|
|
62244
62384
|
/* harmony default export */ var src_SubmitHandlevue_type_script_lang_js = (SubmitHandlevue_type_script_lang_js);
|
|
62245
|
-
// 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/SubmitHandle.vue?vue&type=style&index=0&id=
|
|
62246
|
-
var
|
|
62247
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/SubmitHandle.vue?vue&type=style&index=0&id=
|
|
62385
|
+
// 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/SubmitHandle.vue?vue&type=style&index=0&id=12d2821a&prod&scoped=true&lang=scss
|
|
62386
|
+
var SubmitHandlevue_type_style_index_0_id_12d2821a_prod_scoped_true_lang_scss = __webpack_require__(7449);
|
|
62387
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/SubmitHandle.vue?vue&type=style&index=0&id=12d2821a&prod&scoped=true&lang=scss
|
|
62248
62388
|
|
|
62249
62389
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/SubmitHandle.vue
|
|
62250
62390
|
|
|
@@ -62257,18 +62397,18 @@ var SubmitHandlevue_type_style_index_0_id_26fa93ad_prod_scoped_true_lang_scss =
|
|
|
62257
62397
|
|
|
62258
62398
|
var SubmitHandle_component = (0,componentNormalizer/* default */.A)(
|
|
62259
62399
|
src_SubmitHandlevue_type_script_lang_js,
|
|
62260
|
-
|
|
62261
|
-
|
|
62400
|
+
SubmitHandlevue_type_template_id_12d2821a_scoped_true_render,
|
|
62401
|
+
SubmitHandlevue_type_template_id_12d2821a_scoped_true_staticRenderFns,
|
|
62262
62402
|
false,
|
|
62263
62403
|
null,
|
|
62264
|
-
"
|
|
62404
|
+
"12d2821a",
|
|
62265
62405
|
null
|
|
62266
62406
|
|
|
62267
62407
|
)
|
|
62268
62408
|
|
|
62269
62409
|
/* harmony default export */ var SubmitHandle = (SubmitHandle_component.exports);
|
|
62270
|
-
;// 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/SubmitDialog.vue?vue&type=template&id=
|
|
62271
|
-
var
|
|
62410
|
+
;// 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/SubmitDialog.vue?vue&type=template&id=08cc6e1e&scoped=true
|
|
62411
|
+
var SubmitDialogvue_type_template_id_08cc6e1e_scoped_true_render = function render() {
|
|
62272
62412
|
var _vm = this,
|
|
62273
62413
|
_c = _vm._self._c;
|
|
62274
62414
|
return _c('div', [_c('PopupDialog', {
|
|
@@ -62370,7 +62510,7 @@ var SubmitDialogvue_type_template_id_66dc6ff7_scoped_true_render = function rend
|
|
|
62370
62510
|
}
|
|
62371
62511
|
})], 1)])], 1);
|
|
62372
62512
|
};
|
|
62373
|
-
var
|
|
62513
|
+
var SubmitDialogvue_type_template_id_08cc6e1e_scoped_true_staticRenderFns = [];
|
|
62374
62514
|
|
|
62375
62515
|
;// 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/SubmitDialog.vue?vue&type=script&lang=js
|
|
62376
62516
|
|
|
@@ -62576,11 +62716,11 @@ var SubmitDialogvue_type_template_id_66dc6ff7_scoped_true_staticRenderFns = [];
|
|
|
62576
62716
|
;
|
|
62577
62717
|
var SubmitDialog_component = (0,componentNormalizer/* default */.A)(
|
|
62578
62718
|
src_SubmitDialogvue_type_script_lang_js,
|
|
62579
|
-
|
|
62580
|
-
|
|
62719
|
+
SubmitDialogvue_type_template_id_08cc6e1e_scoped_true_render,
|
|
62720
|
+
SubmitDialogvue_type_template_id_08cc6e1e_scoped_true_staticRenderFns,
|
|
62581
62721
|
false,
|
|
62582
62722
|
null,
|
|
62583
|
-
"
|
|
62723
|
+
"08cc6e1e",
|
|
62584
62724
|
null
|
|
62585
62725
|
|
|
62586
62726
|
)
|