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.common.js
CHANGED
|
@@ -6671,7 +6671,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".van-file-field[data-v-1b7e9813]{posit
|
|
|
6671
6671
|
|
|
6672
6672
|
/***/ }),
|
|
6673
6673
|
|
|
6674
|
-
/***/
|
|
6674
|
+
/***/ 1613:
|
|
6675
6675
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6676
6676
|
|
|
6677
6677
|
"use strict";
|
|
@@ -6685,7 +6685,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6685
6685
|
|
|
6686
6686
|
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()));
|
|
6687
6687
|
// Module
|
|
6688
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".van-textarea-field[data-v-
|
|
6688
|
+
___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}", ""]);
|
|
6689
6689
|
// Exports
|
|
6690
6690
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
6691
6691
|
|
|
@@ -7223,7 +7223,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-0685b481] .van-nav-bar__title{
|
|
|
7223
7223
|
|
|
7224
7224
|
/***/ }),
|
|
7225
7225
|
|
|
7226
|
-
/***/
|
|
7226
|
+
/***/ 6275:
|
|
7227
7227
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7228
7228
|
|
|
7229
7229
|
"use strict";
|
|
@@ -7237,7 +7237,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7237
7237
|
|
|
7238
7238
|
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()));
|
|
7239
7239
|
// Module
|
|
7240
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".wfattach-container .van-cell__value[data-v-
|
|
7240
|
+
___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)}", ""]);
|
|
7241
7241
|
// Exports
|
|
7242
7242
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
7243
7243
|
|
|
@@ -7328,7 +7328,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".popub-container[data-v-6850137e]{widt
|
|
|
7328
7328
|
|
|
7329
7329
|
/***/ }),
|
|
7330
7330
|
|
|
7331
|
-
/***/
|
|
7331
|
+
/***/ 9325:
|
|
7332
7332
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7333
7333
|
|
|
7334
7334
|
"use strict";
|
|
@@ -7347,7 +7347,7 @@ var ___CSS_LOADER_URL_IMPORT_0___ = new URL(/* asset import */ __webpack_require
|
|
|
7347
7347
|
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()));
|
|
7348
7348
|
var ___CSS_LOADER_URL_REPLACEMENT_0___ = _node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_0___);
|
|
7349
7349
|
// Module
|
|
7350
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".submit-handle-container .idea-button-container .van-cell__value[data-v-
|
|
7350
|
+
___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%}", ""]);
|
|
7351
7351
|
// Exports
|
|
7352
7352
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
7353
7353
|
|
|
@@ -32005,19 +32005,19 @@ var update = add("6ba9a1da", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
32005
32005
|
|
|
32006
32006
|
/***/ }),
|
|
32007
32007
|
|
|
32008
|
-
/***/
|
|
32008
|
+
/***/ 171:
|
|
32009
32009
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
32010
32010
|
|
|
32011
32011
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
32012
32012
|
|
|
32013
32013
|
// load the styles
|
|
32014
|
-
var content = __webpack_require__(
|
|
32014
|
+
var content = __webpack_require__(1613);
|
|
32015
32015
|
if(content.__esModule) content = content.default;
|
|
32016
32016
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
32017
32017
|
if(content.locals) module.exports = content.locals;
|
|
32018
32018
|
// add the styles to the DOM
|
|
32019
32019
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
32020
|
-
var update = add("
|
|
32020
|
+
var update = add("3fe91231", content, true, {"sourceMap":false,"shadowMode":false});
|
|
32021
32021
|
|
|
32022
32022
|
/***/ }),
|
|
32023
32023
|
|
|
@@ -32421,19 +32421,19 @@ var update = add("a502c74c", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
32421
32421
|
|
|
32422
32422
|
/***/ }),
|
|
32423
32423
|
|
|
32424
|
-
/***/
|
|
32424
|
+
/***/ 4317:
|
|
32425
32425
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
32426
32426
|
|
|
32427
32427
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
32428
32428
|
|
|
32429
32429
|
// load the styles
|
|
32430
|
-
var content = __webpack_require__(
|
|
32430
|
+
var content = __webpack_require__(6275);
|
|
32431
32431
|
if(content.__esModule) content = content.default;
|
|
32432
32432
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
32433
32433
|
if(content.locals) module.exports = content.locals;
|
|
32434
32434
|
// add the styles to the DOM
|
|
32435
32435
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
32436
|
-
var update = add("
|
|
32436
|
+
var update = add("197c4f45", content, true, {"sourceMap":false,"shadowMode":false});
|
|
32437
32437
|
|
|
32438
32438
|
/***/ }),
|
|
32439
32439
|
|
|
@@ -32501,19 +32501,19 @@ var update = add("0bbd0584", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
32501
32501
|
|
|
32502
32502
|
/***/ }),
|
|
32503
32503
|
|
|
32504
|
-
/***/
|
|
32504
|
+
/***/ 3575:
|
|
32505
32505
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
32506
32506
|
|
|
32507
32507
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
32508
32508
|
|
|
32509
32509
|
// load the styles
|
|
32510
|
-
var content = __webpack_require__(
|
|
32510
|
+
var content = __webpack_require__(9325);
|
|
32511
32511
|
if(content.__esModule) content = content.default;
|
|
32512
32512
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
32513
32513
|
if(content.locals) module.exports = content.locals;
|
|
32514
32514
|
// add the styles to the DOM
|
|
32515
32515
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
32516
|
-
var update = add("
|
|
32516
|
+
var update = add("4a53dbdc", content, true, {"sourceMap":false,"shadowMode":false});
|
|
32517
32517
|
|
|
32518
32518
|
/***/ }),
|
|
32519
32519
|
|
|
@@ -39594,7 +39594,7 @@ var wfengine_install = function install(Vue) {
|
|
|
39594
39594
|
} else {
|
|
39595
39595
|
var users = submitRoutes[0].taskNodes[0].users;
|
|
39596
39596
|
if (users.length > 1 && submitRoutes[0].taskNodes[0].autoCheckedAll !== '1') {
|
|
39597
|
-
//候选处理人大于1
|
|
39597
|
+
//候选处理人大于1人,且未设置自动全选,不允许快速办理
|
|
39598
39598
|
delete $scope.curTN.passenger.quickProcess;
|
|
39599
39599
|
}
|
|
39600
39600
|
}
|
|
@@ -40206,7 +40206,7 @@ var wfengine_install = function install(Vue) {
|
|
|
40206
40206
|
delete $scope.submitHandle.submitRoute['$$hashKey'];
|
|
40207
40207
|
delete $scope.submitHandle.submitRoute.taskNodes;
|
|
40208
40208
|
}
|
|
40209
|
-
if (
|
|
40209
|
+
if (!$scope.curTN.tnIdeaLabelID) {
|
|
40210
40210
|
// 表单点击任意意见标签填写意见
|
|
40211
40211
|
$scope.submitHandle.curUserIdea = '';
|
|
40212
40212
|
}
|
|
@@ -55747,8 +55747,8 @@ var TextareaField_component = (0,componentNormalizer/* default */.A)(
|
|
|
55747
55747
|
)
|
|
55748
55748
|
|
|
55749
55749
|
/* harmony default export */ var TextareaField = (TextareaField_component.exports);
|
|
55750
|
-
;// 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/Basicform/src/FormField/IdeaField.vue?vue&type=template&id=
|
|
55751
|
-
var
|
|
55750
|
+
;// 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/Basicform/src/FormField/IdeaField.vue?vue&type=template&id=67219e88&scoped=true
|
|
55751
|
+
var IdeaFieldvue_type_template_id_67219e88_scoped_true_render = function render() {
|
|
55752
55752
|
var _vm = this,
|
|
55753
55753
|
_c = _vm._self._c;
|
|
55754
55754
|
return _vm.showWfIdea ? _c('div', {
|
|
@@ -55823,7 +55823,7 @@ var IdeaFieldvue_type_template_id_e115d128_scoped_true_render = function render(
|
|
|
55823
55823
|
}
|
|
55824
55824
|
})], 1)])], 1) : _vm._e();
|
|
55825
55825
|
};
|
|
55826
|
-
var
|
|
55826
|
+
var IdeaFieldvue_type_template_id_67219e88_scoped_true_staticRenderFns = [];
|
|
55827
55827
|
|
|
55828
55828
|
;// 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/Basicform/src/FormField/IdeaField.vue?vue&type=script&lang=js
|
|
55829
55829
|
var IdeaFieldvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
@@ -55939,8 +55939,9 @@ var IdeaFieldvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
55939
55939
|
if (ideaLabel && typeof ideaLabel === 'string') {
|
|
55940
55940
|
var curTN = this.$vnode.context.curTN || this.$vnode.context.$vnode.context.curTN;
|
|
55941
55941
|
var wfInstance = this.$vnode.context.wfInstance || this.$vnode.context.$vnode.context.wfInstance;
|
|
55942
|
-
curTN.tnIdeaPosition = 2;
|
|
55943
55942
|
if (curTN.tnIdeaLabelName !== ideaLabel) this.newWriteIdea = '';
|
|
55943
|
+
this.oldTNIdeaPosition = curTN.tnIdeaPosition;
|
|
55944
|
+
curTN.tnIdeaPosition = 2;
|
|
55944
55945
|
|
|
55945
55946
|
// 填写意见到指定意见栏,根据意见标签名称查询意见标签
|
|
55946
55947
|
this.$http({
|
|
@@ -55976,6 +55977,7 @@ var IdeaFieldvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
55976
55977
|
this.ideaInputDialogVisible = true;
|
|
55977
55978
|
},
|
|
55978
55979
|
ideaInputDialogSubmit: function ideaInputDialogSubmit() {
|
|
55980
|
+
var _this4 = this;
|
|
55979
55981
|
var _this = this;
|
|
55980
55982
|
this.$set(this.submitHandle, 'curUserIdea', this.newWriteIdea);
|
|
55981
55983
|
var curTN = this.$vnode.context.curTN || this.$vnode.context.$vnode.context.curTN;
|
|
@@ -55987,19 +55989,24 @@ var IdeaFieldvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
55987
55989
|
if (this.$vnode.context.curTN.tnIdeaPosition === 2) {
|
|
55988
55990
|
var $scope = _this.$vnode.context.$vnode.context;
|
|
55989
55991
|
$scope.$wfEngine.saveWfInstance($scope, 'SaveIdea', $scope.wfParams).then(function (res) {
|
|
55992
|
+
_this4.ideaInputDialogClose();
|
|
55990
55993
|
if (res.code === 'success') {
|
|
55991
55994
|
$scope.$set($scope, 'wfIdeaList', res.body.wfInstance.passenger.wfIdeaList);
|
|
55992
55995
|
_this.$forceUpdate();
|
|
55993
55996
|
_this.$nextTick(function () {
|
|
55994
55997
|
_this.setShowWfIdea();
|
|
55995
55998
|
});
|
|
55999
|
+
} else {
|
|
56000
|
+
_this4.$dialog.alert({
|
|
56001
|
+
message: res.message,
|
|
56002
|
+
type: 'error'
|
|
56003
|
+
});
|
|
55996
56004
|
}
|
|
55997
56005
|
});
|
|
55998
56006
|
}
|
|
55999
56007
|
}
|
|
56000
56008
|
},
|
|
56001
56009
|
ideaInputDialogClose: function ideaInputDialogClose() {
|
|
56002
|
-
this.ideaInputDialogVisible = false;
|
|
56003
56010
|
if (this.speicalIdeaLabel) {
|
|
56004
56011
|
var curTN = this.$vnode.context.curTN || this.$vnode.context.$vnode.context.curTN;
|
|
56005
56012
|
curTN.tnIdeaLabelID = this.oldTnIdeaLabelID;
|
|
@@ -56008,7 +56015,9 @@ var IdeaFieldvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
56008
56015
|
curTN.tnIdeaSignType = this.oldTnIdeaSignType;
|
|
56009
56016
|
curTN.tnIdeaIsEmphasize = this.oldTnIdeaIsEmphasize;
|
|
56010
56017
|
curTN.tnIdeaShowScope = this.oldTnIdeaShowScope;
|
|
56018
|
+
curTN.tnIdeaPosition = this.oldTNIdeaPosition;
|
|
56011
56019
|
}
|
|
56020
|
+
this.ideaInputDialogVisible = false;
|
|
56012
56021
|
},
|
|
56013
56022
|
initDeleteIdeaBtn: function initDeleteIdeaBtn() {
|
|
56014
56023
|
if (this.curTN.tnNodeID) {
|
|
@@ -56019,7 +56028,7 @@ var IdeaFieldvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
56019
56028
|
}
|
|
56020
56029
|
},
|
|
56021
56030
|
deleteWfIdea: function deleteWfIdea() {
|
|
56022
|
-
var
|
|
56031
|
+
var _this5 = this;
|
|
56023
56032
|
var ideaId = document.querySelector('.delete-wfidea-btn').ideaId;
|
|
56024
56033
|
this.$http({
|
|
56025
56034
|
method: 'PUT',
|
|
@@ -56032,7 +56041,7 @@ var IdeaFieldvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
56032
56041
|
}
|
|
56033
56042
|
}).then(function (res) {
|
|
56034
56043
|
if (res.code === 'success') {
|
|
56035
|
-
|
|
56044
|
+
_this5.$dialog.alert({
|
|
56036
56045
|
message: res.message
|
|
56037
56046
|
}).then(function () {
|
|
56038
56047
|
var ideaDiv = document.getElementById(ideaId);
|
|
@@ -56045,7 +56054,7 @@ var IdeaFieldvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
56045
56054
|
}
|
|
56046
56055
|
});
|
|
56047
56056
|
} else {
|
|
56048
|
-
|
|
56057
|
+
_this5.$dialog.alert({
|
|
56049
56058
|
message: res.message,
|
|
56050
56059
|
type: 'error'
|
|
56051
56060
|
});
|
|
@@ -56061,9 +56070,9 @@ window.callDeleteIdeaBtnClick = function (ideaId) {
|
|
|
56061
56070
|
};
|
|
56062
56071
|
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/IdeaField.vue?vue&type=script&lang=js
|
|
56063
56072
|
/* harmony default export */ var FormField_IdeaFieldvue_type_script_lang_js = (IdeaFieldvue_type_script_lang_js);
|
|
56064
|
-
// 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/Basicform/src/FormField/IdeaField.vue?vue&type=style&index=0&id=
|
|
56065
|
-
var
|
|
56066
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/IdeaField.vue?vue&type=style&index=0&id=
|
|
56073
|
+
// 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/Basicform/src/FormField/IdeaField.vue?vue&type=style&index=0&id=67219e88&prod&scoped=true&lang=scss
|
|
56074
|
+
var IdeaFieldvue_type_style_index_0_id_67219e88_prod_scoped_true_lang_scss = __webpack_require__(171);
|
|
56075
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/IdeaField.vue?vue&type=style&index=0&id=67219e88&prod&scoped=true&lang=scss
|
|
56067
56076
|
|
|
56068
56077
|
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/IdeaField.vue
|
|
56069
56078
|
|
|
@@ -56076,11 +56085,11 @@ var IdeaFieldvue_type_style_index_0_id_e115d128_prod_scoped_true_lang_scss = __w
|
|
|
56076
56085
|
|
|
56077
56086
|
var IdeaField_component = (0,componentNormalizer/* default */.A)(
|
|
56078
56087
|
FormField_IdeaFieldvue_type_script_lang_js,
|
|
56079
|
-
|
|
56080
|
-
|
|
56088
|
+
IdeaFieldvue_type_template_id_67219e88_scoped_true_render,
|
|
56089
|
+
IdeaFieldvue_type_template_id_67219e88_scoped_true_staticRenderFns,
|
|
56081
56090
|
false,
|
|
56082
56091
|
null,
|
|
56083
|
-
"
|
|
56092
|
+
"67219e88",
|
|
56084
56093
|
null
|
|
56085
56094
|
|
|
56086
56095
|
)
|
|
@@ -56220,8 +56229,8 @@ WfStatus_src.install = function (Vue) {
|
|
|
56220
56229
|
Vue.component(WfStatus_src.name, WfStatus_src);
|
|
56221
56230
|
};
|
|
56222
56231
|
/* harmony default export */ var WfStatus = (WfStatus_src);
|
|
56223
|
-
;// 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/Attachment.vue?vue&type=template&id=
|
|
56224
|
-
var
|
|
56232
|
+
;// 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/Attachment.vue?vue&type=template&id=fb72985a&scoped=true
|
|
56233
|
+
var Attachmentvue_type_template_id_fb72985a_scoped_true_render = function render() {
|
|
56225
56234
|
var _vm = this,
|
|
56226
56235
|
_c = _vm._self._c;
|
|
56227
56236
|
return _c('div', {
|
|
@@ -56482,7 +56491,7 @@ var Attachmentvue_type_template_id_26bea2c4_scoped_true_render = function render
|
|
|
56482
56491
|
}
|
|
56483
56492
|
})], 1) : _vm._e()], 1);
|
|
56484
56493
|
};
|
|
56485
|
-
var
|
|
56494
|
+
var Attachmentvue_type_template_id_fb72985a_scoped_true_staticRenderFns = [];
|
|
56486
56495
|
|
|
56487
56496
|
;// 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/Attachment.vue?vue&type=script&lang=js
|
|
56488
56497
|
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); }
|
|
@@ -56846,79 +56855,208 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
56846
56855
|
},
|
|
56847
56856
|
handleUploadPreview: function handleUploadPreview(attach) {
|
|
56848
56857
|
var _this6 = this;
|
|
56849
|
-
|
|
56850
|
-
|
|
56851
|
-
|
|
56852
|
-
|
|
56853
|
-
|
|
56854
|
-
|
|
56855
|
-
|
|
56856
|
-
|
|
56857
|
-
|
|
56858
|
-
|
|
56859
|
-
|
|
56860
|
-
|
|
56861
|
-
|
|
56862
|
-
|
|
56863
|
-
|
|
56864
|
-
|
|
56865
|
-
|
|
56866
|
-
|
|
56867
|
-
|
|
56868
|
-
|
|
56869
|
-
|
|
56870
|
-
|
|
56871
|
-
|
|
56872
|
-
|
|
56858
|
+
return Attachmentvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/Attachmentvue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
|
|
56859
|
+
var device, topdf, extName, tSessionId, hostname, downUrl, convertType, appUrl, _tSessionId, _downUrl, WfModule, WFBodyDocId, WFBusiDataId, params, _appUrl, _tSessionId2, _downUrl2, url, fileName;
|
|
56860
|
+
return Attachmentvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
56861
|
+
while (1) switch (_context.prev = _context.next) {
|
|
56862
|
+
case 0:
|
|
56863
|
+
if (!(attach.id === undefined)) {
|
|
56864
|
+
_context.next = 2;
|
|
56865
|
+
break;
|
|
56866
|
+
}
|
|
56867
|
+
return _context.abrupt("return");
|
|
56868
|
+
case 2:
|
|
56869
|
+
if (!_this6.onAttachPreviewClick) {
|
|
56870
|
+
_context.next = 5;
|
|
56871
|
+
break;
|
|
56872
|
+
}
|
|
56873
|
+
// 自定义附件下载预览事件
|
|
56874
|
+
_this6.onAttachPreviewClick(attach);
|
|
56875
|
+
return _context.abrupt("return");
|
|
56876
|
+
case 5:
|
|
56877
|
+
device = js_cookie_default().get('device');
|
|
56878
|
+
topdf = false;
|
|
56879
|
+
extName = '';
|
|
56880
|
+
if (attach.fileName.indexOf('.') !== -1) {
|
|
56881
|
+
extName = attach.fileName.substring(attach.fileName.lastIndexOf('.')).toLowerCase();
|
|
56882
|
+
}
|
|
56883
|
+
if (device !== 'qywx' && device !== 'zwwx') {
|
|
56884
|
+
// 企业微信、粤政易支持文档在线预览,不需要转pdf
|
|
56885
|
+
if (extName !== '' && extName !== '.pdf' && extName !== '.pdfx' && (_this6.onlineFile + ',').indexOf(extName + ',') !== -1) {
|
|
56886
|
+
topdf = true;
|
|
56887
|
+
}
|
|
56888
|
+
} else if ((_this6.onlineFile + ',').indexOf('.ofd,') !== -1 && extName === '.ofd') {
|
|
56889
|
+
// 后端支持ofd转pdf
|
|
56890
|
+
topdf = true;
|
|
56891
|
+
}
|
|
56892
|
+
if (!(_this6.viewer.indexOf('dcs=') === 0 && (topdf || extName === '.ofd'))) {
|
|
56893
|
+
_context.next = 22;
|
|
56894
|
+
break;
|
|
56895
|
+
}
|
|
56896
|
+
_this6.$vnode.context.doing = true;
|
|
56897
|
+
tSessionId = res.body.tSessionId;
|
|
56898
|
+
hostname = location.href.split('mindex.html')[0];
|
|
56899
|
+
downUrl = hostname.substring(0, hostname.length - 1) + "/apigw" + '/' + _this6.wfAttachUrl + '/downloadById?attachIds=' + attach.id + '&httpPort=' + location.port + '&csrfToken=' + window.$auth.getCsrfToken() + '&tSessionId=' + tSessionId;
|
|
56900
|
+
convertType = '0';
|
|
56901
|
+
if (extName === '.pdf') {
|
|
56902
|
+
convertType = '20';
|
|
56903
|
+
} else if (extName === '.ofd') {
|
|
56904
|
+
convertType = '21';
|
|
56905
|
+
}
|
|
56906
|
+
downUrl = _this6.viewer.split('=')[1] + '/composite/httpfile?convertType=' + convertType + '&fileUrl=' + encodeURIComponent(downUrl + (_this6.waterMark ? '&waterMark=' + _this6.waterMark + '&markContent=' + _this6.markContent : ''));
|
|
56907
|
+
if (_this6.viewerUrlParams !== '' && _this6.viewerUrlParams !== null && _this6.viewerUrlParams !== undefined) {
|
|
56908
|
+
downUrl += _this6.viewerUrlParams;
|
|
56909
|
+
}
|
|
56910
|
+
$.post(downUrl, {}, function (res) {
|
|
56911
|
+
_this6.$vnode.context.doing = false;
|
|
56912
|
+
if (res.errorcode === 0) {
|
|
56913
|
+
window.open(res.data.viewUrl);
|
|
56914
|
+
} else {
|
|
56915
|
+
_this6.$dialog.alert({
|
|
56916
|
+
message: res.message
|
|
56917
|
+
});
|
|
56918
|
+
}
|
|
56919
|
+
}, 'json');
|
|
56920
|
+
_context.next = 66;
|
|
56921
|
+
break;
|
|
56922
|
+
case 22:
|
|
56923
|
+
if (!(_this6.viewer === 'wpsh5' && (topdf || extName === '.ofd'))) {
|
|
56924
|
+
_context.next = 41;
|
|
56925
|
+
break;
|
|
56926
|
+
}
|
|
56927
|
+
// 打开 wps h5
|
|
56928
|
+
appUrl = location.href.split('#')[0].split('windex.html')[0]; // 开发调试期间指定地址
|
|
56929
|
+
if (appUrl.indexOf('//127') !== -1 || appUrl.indexOf('//192') !== -1) {
|
|
56930
|
+
appUrl = 'http://toa.ecinc.com.cn:2028/';
|
|
56931
|
+
}
|
|
56932
|
+
_this6.$vnode.context.doing = true;
|
|
56933
|
+
_context.next = 28;
|
|
56934
|
+
return _this6.getSessionId();
|
|
56935
|
+
case 28:
|
|
56936
|
+
_tSessionId = _context.sent;
|
|
56937
|
+
//正文下载地址
|
|
56938
|
+
_downUrl = appUrl + "/apigw";
|
|
56939
|
+
_downUrl += _this6.wfAttachUrl.substring(0, 1) === '/' ? _this6.wfAttachUrl : '/' + _this6.wfAttachUrl;
|
|
56940
|
+
_downUrl += '/downloadById?attachIds=' + attach.id + '&topdf=false';
|
|
56941
|
+
//downUrl += this.waterMark ? '&waterMark=' + this.waterMark + '&markContent=' + this.markContent : ''
|
|
56942
|
+
_downUrl += '&httpPort=' + location.port + '&csrfToken=' + window.$auth.getCsrfToken() + '&tSessionId=' + _tSessionId;
|
|
56943
|
+
_downUrl += '&saveAs=' + attach.fileName;
|
|
56944
|
+
WfModule = _this6.$vnode.context.wfInstance.module;
|
|
56945
|
+
WFBodyDocId = _this6.$vnode.context.wfInstance.bodyDocId;
|
|
56946
|
+
WFBusiDataId = _this6.$vnode.context.vo.id;
|
|
56947
|
+
params = {
|
|
56948
|
+
openType: 'view',
|
|
56949
|
+
attachId: '',
|
|
56950
|
+
module: WfModule,
|
|
56951
|
+
busiDataId: WFBusiDataId,
|
|
56952
|
+
bodyDocId: WFBodyDocId,
|
|
56953
|
+
downUrl: encodeURI(_downUrl),
|
|
56954
|
+
attachName: attach.fileName,
|
|
56955
|
+
attachType: attach.fileType
|
|
56956
|
+
};
|
|
56957
|
+
_this6.$http({
|
|
56958
|
+
method: 'GET',
|
|
56959
|
+
params: params,
|
|
56960
|
+
url: 'wpsOffice/getAppToken'
|
|
56961
|
+
}).then(function (res) {
|
|
56962
|
+
if (res.code === 'success') {
|
|
56963
|
+
_this6.tSessionId = res.body.tSessionId;
|
|
56964
|
+
var editorUrl = './plugins/wpsjs/h5office/editor.html';
|
|
56965
|
+
editorUrl += '?token=' + encodeURI(res.body.accessToken);
|
|
56966
|
+
editorUrl += '&signatureurl=' + encodeURIComponent(res.body.url);
|
|
56967
|
+
window.open(editorUrl); // 打开
|
|
56968
|
+
} else {
|
|
56969
|
+
_this6.$dialog.alert({
|
|
56970
|
+
message: res.message
|
|
56971
|
+
});
|
|
56972
|
+
}
|
|
56973
|
+
_this6.$vnode.context.doing = false;
|
|
56974
|
+
});
|
|
56975
|
+
_context.next = 66;
|
|
56976
|
+
break;
|
|
56977
|
+
case 41:
|
|
56978
|
+
if (!(_this6.viewer === 'fuxin' && (topdf || extName === '.ofd'))) {
|
|
56979
|
+
_context.next = 58;
|
|
56980
|
+
break;
|
|
56981
|
+
}
|
|
56982
|
+
_appUrl = location.href.split('#')[0]; // url
|
|
56983
|
+
_context.next = 45;
|
|
56984
|
+
return _this6.getSessionId();
|
|
56985
|
+
case 45:
|
|
56986
|
+
_tSessionId2 = _context.sent;
|
|
56987
|
+
if (!(imgType.indexOf(extName.substring(1)) > -1 && window.openImgView)) {
|
|
56988
|
+
_context.next = 50;
|
|
56989
|
+
break;
|
|
56990
|
+
}
|
|
56991
|
+
sessionStorage.setItem('IMG_INDEX_' + _this6.vo.id, attach.index);
|
|
56992
|
+
window.open('#/imgView?wfAttachUrl=' + _this6.wfAttachUrl + '&busiDataId=' + _this6.vo.id);
|
|
56993
|
+
return _context.abrupt("return");
|
|
56994
|
+
case 50:
|
|
56995
|
+
_downUrl2 = _appUrl + "/apigw";
|
|
56996
|
+
_downUrl2 += _this6.wfAttachUrl.substring(0, 1) === '/' ? _this6.wfAttachUrl : '/' + _this6.wfAttachUrl;
|
|
56997
|
+
_downUrl2 += '/downloadById?attachIds=' + attach.id + '&topdf=' + topdf;
|
|
56998
|
+
_downUrl2 += _this6.waterMark ? '&waterMark=' + _this6.waterMark + '&markContent=' + _this6.markContent : '';
|
|
56999
|
+
_downUrl2 += '&httpPort=' + location.port + '&csrfToken=' + window.$auth.getCsrfToken() + '&tSessionId=' + _tSessionId2;
|
|
57000
|
+
if (_this6.fuxinBaseUrl) {
|
|
57001
|
+
window.open(_this6.fuxinBaseUrl + '?docuri=' + encodeURIComponent(_downUrl2));
|
|
57002
|
+
} else {
|
|
57003
|
+
_this6.$http({
|
|
57004
|
+
method: 'get',
|
|
57005
|
+
contentType: 'application/x-www-form-urlencoded',
|
|
57006
|
+
url: 'base/paramConfig/findParamValueByName?orgCode=standard¶mName=fuxin.viewer.url'
|
|
57007
|
+
}).then(function (res) {
|
|
57008
|
+
if (res.code === 'success') {
|
|
57009
|
+
_this6.fuxinBaseUrl = res.body.value;
|
|
57010
|
+
window.open(_this6.fuxinBaseUrl + '?docuri=' + encodeURIComponent(_downUrl2));
|
|
57011
|
+
} else {
|
|
57012
|
+
_this6.$dialog.alert({
|
|
57013
|
+
message: '未配置福星预览地址参数 fuxin.viewer.url'
|
|
57014
|
+
});
|
|
57015
|
+
}
|
|
57016
|
+
});
|
|
57017
|
+
}
|
|
57018
|
+
_context.next = 66;
|
|
57019
|
+
break;
|
|
57020
|
+
case 58:
|
|
57021
|
+
url = "/apigw";
|
|
57022
|
+
url += _this6.wfAttachUrl.substring(0, 1) === '/' ? _this6.wfAttachUrl : '/' + _this6.wfAttachUrl;
|
|
57023
|
+
url += '/downloadById?inline=true&attachIds=' + attach.id + '&topdf=' + topdf;
|
|
57024
|
+
url += _this6.waterMark ? '&waterMark=' + _this6.waterMark + '&markContent=' + _this6.markContent : '';
|
|
57025
|
+
url += '&httpPort=' + location.port + '&csrfToken=' + window.$auth.getCsrfToken();
|
|
57026
|
+
// console.log({ url: url, name: attach.fileName, size: attach.fileRealSize, title: '进行下载' })
|
|
57027
|
+
fileName = attach.fileName;
|
|
57028
|
+
if (topdf) {
|
|
57029
|
+
if (fileName.indexOf('.') > 0) {
|
|
57030
|
+
fileName = fileName.substring(0, fileName.lastIndexOf('.')) + '.pdf';
|
|
57031
|
+
} else {
|
|
57032
|
+
fileName = fileName + '.pdf';
|
|
57033
|
+
}
|
|
57034
|
+
}
|
|
57035
|
+
_this6.$mappUtils.downLoadAndOpenFile(_this6, url, fileName, attach.fileRealSize);
|
|
57036
|
+
case 66:
|
|
57037
|
+
case "end":
|
|
57038
|
+
return _context.stop();
|
|
57039
|
+
}
|
|
57040
|
+
}, _callee);
|
|
57041
|
+
}))();
|
|
57042
|
+
},
|
|
57043
|
+
getSessionId: function getSessionId() {
|
|
57044
|
+
var _this7 = this;
|
|
57045
|
+
return new Promise(function (resolve, reject) {
|
|
57046
|
+
_this7.$http({
|
|
56873
57047
|
method: 'GET',
|
|
57048
|
+
params: {
|
|
57049
|
+
timeLength: 60
|
|
57050
|
+
},
|
|
56874
57051
|
url: 'base/user/getSessionId'
|
|
56875
57052
|
}).then(function (res) {
|
|
56876
57053
|
if (res.code === 'success') {
|
|
56877
|
-
|
|
56878
|
-
var hostname = location.href.split('mindex.html')[0];
|
|
56879
|
-
var downUrl = hostname.substring(0, hostname.length - 1) + "/apigw" + '/' + _this6.wfAttachUrl + '/downloadById?attachIds=' + attach.id + '&httpPort=' + location.port + '&csrfToken=' + window.$auth.getCsrfToken() + '&tSessionId=' + tSessionId;
|
|
56880
|
-
var convertType = '0';
|
|
56881
|
-
if (extName === '.pdf') {
|
|
56882
|
-
convertType = '20';
|
|
56883
|
-
} else if (extName === '.ofd') {
|
|
56884
|
-
convertType = '21';
|
|
56885
|
-
}
|
|
56886
|
-
downUrl = _this6.viewer.split('=')[1] + '/composite/httpfile?convertType=' + convertType + '&fileUrl=' + encodeURIComponent(downUrl + (_this6.waterMark ? '&waterMark=' + _this6.waterMark + '&markContent=' + _this6.markContent : ''));
|
|
56887
|
-
if (_this6.viewerUrlParams !== '' && _this6.viewerUrlParams !== null && _this6.viewerUrlParams !== undefined) {
|
|
56888
|
-
downUrl += _this6.viewerUrlParams;
|
|
56889
|
-
}
|
|
56890
|
-
$.post(downUrl, {}, function (res) {
|
|
56891
|
-
_this6.$vnode.context.doing = false;
|
|
56892
|
-
if (res.errorcode === 0) {
|
|
56893
|
-
window.open(res.data.viewUrl);
|
|
56894
|
-
} else {
|
|
56895
|
-
_this6.$dialog.alert({
|
|
56896
|
-
message: res.message
|
|
56897
|
-
});
|
|
56898
|
-
}
|
|
56899
|
-
}, 'json');
|
|
57054
|
+
resolve(res.body.tSessionId);
|
|
56900
57055
|
} else {
|
|
56901
|
-
|
|
57056
|
+
reject(res.msg);
|
|
56902
57057
|
}
|
|
56903
57058
|
});
|
|
56904
|
-
}
|
|
56905
|
-
var url = "/apigw";
|
|
56906
|
-
url += this.wfAttachUrl.substring(0, 1) === '/' ? this.wfAttachUrl : '/' + this.wfAttachUrl;
|
|
56907
|
-
url += '/downloadById?inline=true&attachIds=' + attach.id + '&topdf=' + topdf;
|
|
56908
|
-
url += this.waterMark ? '&waterMark=' + this.waterMark + '&markContent=' + this.markContent : '';
|
|
56909
|
-
url += '&httpPort=' + location.port + '&csrfToken=' + window.$auth.getCsrfToken();
|
|
56910
|
-
// console.log({ url: url, name: attach.fileName, size: attach.fileRealSize, title: '进行下载' })
|
|
56911
|
-
|
|
56912
|
-
var fileName = attach.fileName;
|
|
56913
|
-
if (topdf) {
|
|
56914
|
-
if (fileName.indexOf('.') > 0) {
|
|
56915
|
-
fileName = fileName.substring(0, fileName.lastIndexOf('.')) + '.pdf';
|
|
56916
|
-
} else {
|
|
56917
|
-
fileName = fileName + '.pdf';
|
|
56918
|
-
}
|
|
56919
|
-
}
|
|
56920
|
-
this.$mappUtils.downLoadAndOpenFile(this, url, fileName, attach.fileRealSize);
|
|
56921
|
-
}
|
|
57059
|
+
});
|
|
56922
57060
|
},
|
|
56923
57061
|
handleUploadExceed: function handleUploadExceed(files, fileList) {
|
|
56924
57062
|
// this.$dialog.alert({ message: `当前限制选择 ${this.limitCount} 个文件,本次选择了 ${files.length} 个文件,共选择了 ${files.length + fileList.length} 个文件` })
|
|
@@ -56931,7 +57069,7 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
56931
57069
|
});
|
|
56932
57070
|
},
|
|
56933
57071
|
handleUploadRemove: function handleUploadRemove(file) {
|
|
56934
|
-
var
|
|
57072
|
+
var _this8 = this;
|
|
56935
57073
|
var _this = this;
|
|
56936
57074
|
if (file.id === undefined) {
|
|
56937
57075
|
for (var i = 0; i < this.attachments.length; i++) {
|
|
@@ -56940,7 +57078,7 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
56940
57078
|
}
|
|
56941
57079
|
}
|
|
56942
57080
|
this.attachList = this.attachments.filter(function (attach) {
|
|
56943
|
-
return attach.fileType ===
|
|
57081
|
+
return attach.fileType === _this8.attachsType;
|
|
56944
57082
|
});
|
|
56945
57083
|
for (var j = 0; j < this.uploadAttach.length; j++) {
|
|
56946
57084
|
if (this.uploadAttach[j] === file.file) {
|
|
@@ -56955,21 +57093,21 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
56955
57093
|
}
|
|
56956
57094
|
}
|
|
56957
57095
|
this.attachList = this.attachments.filter(function (attach) {
|
|
56958
|
-
return attach.fileType ===
|
|
57096
|
+
return attach.fileType === _this8.attachsType;
|
|
56959
57097
|
});
|
|
56960
57098
|
this.$forceUpdate();
|
|
56961
57099
|
} else {
|
|
56962
57100
|
this.$dialog.confirm({
|
|
56963
57101
|
message: this.$tx('ecmapp.message.sureDeleterAttach', '您是否确认删除选择的附件?')
|
|
56964
|
-
}).then( /*#__PURE__*/Attachmentvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/Attachmentvue_type_script_lang_js_regeneratorRuntime().mark(function
|
|
57102
|
+
}).then( /*#__PURE__*/Attachmentvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/Attachmentvue_type_script_lang_js_regeneratorRuntime().mark(function _callee2() {
|
|
56965
57103
|
var deleteUrl;
|
|
56966
|
-
return Attachmentvue_type_script_lang_js_regeneratorRuntime().wrap(function
|
|
56967
|
-
while (1) switch (
|
|
57104
|
+
return Attachmentvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
57105
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
56968
57106
|
case 0:
|
|
56969
|
-
deleteUrl =
|
|
56970
|
-
if (_this.$vnode.context.wfInstance === undefined || _this.$vnode.context.wfInstance === null || _this.$vnode.context.wfInstance.id === undefined) deleteUrl =
|
|
57107
|
+
deleteUrl = _this8.wfAttachUrl + '/delete';
|
|
57108
|
+
if (_this.$vnode.context.wfInstance === undefined || _this.$vnode.context.wfInstance === null || _this.$vnode.context.wfInstance.id === undefined) deleteUrl = _this8.wfAttachUrl + '/deleteAttach'; // 非流程表单
|
|
56971
57109
|
|
|
56972
|
-
|
|
57110
|
+
_this8.$http({
|
|
56973
57111
|
method: 'DELETE',
|
|
56974
57112
|
contentType: 'application/x-www-form-urlencoded',
|
|
56975
57113
|
params: {
|
|
@@ -56978,33 +57116,33 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
56978
57116
|
url: deleteUrl
|
|
56979
57117
|
}).then(function (res) {
|
|
56980
57118
|
if (res.code === 'success') {
|
|
56981
|
-
for (var i = 0; i <
|
|
56982
|
-
if (
|
|
56983
|
-
|
|
57119
|
+
for (var i = 0; i < _this8.attachments.length; i++) {
|
|
57120
|
+
if (_this8.attachments[i].id === file.id) {
|
|
57121
|
+
_this8.attachments.splice(i--, 1);
|
|
56984
57122
|
}
|
|
56985
57123
|
}
|
|
56986
|
-
|
|
56987
|
-
return attach.fileType ===
|
|
57124
|
+
_this8.attachList = _this8.attachments.filter(function (attach) {
|
|
57125
|
+
return attach.fileType === _this8.attachsType;
|
|
56988
57126
|
});
|
|
56989
|
-
|
|
57127
|
+
_this8.$forceUpdate();
|
|
56990
57128
|
} else {
|
|
56991
|
-
|
|
57129
|
+
_this8.$dialog.alert({
|
|
56992
57130
|
message: res.message
|
|
56993
57131
|
});
|
|
56994
57132
|
}
|
|
56995
57133
|
});
|
|
56996
57134
|
case 3:
|
|
56997
57135
|
case "end":
|
|
56998
|
-
return
|
|
57136
|
+
return _context2.stop();
|
|
56999
57137
|
}
|
|
57000
|
-
},
|
|
57138
|
+
}, _callee2);
|
|
57001
57139
|
}))).catch(function () {
|
|
57002
57140
|
console.log('cancel delete.');
|
|
57003
57141
|
});
|
|
57004
57142
|
}
|
|
57005
57143
|
},
|
|
57006
57144
|
handleUploadChange: function handleUploadChange(file) {
|
|
57007
|
-
var
|
|
57145
|
+
var _this9 = this;
|
|
57008
57146
|
if (this.accept && this.accept !== '*.*') {
|
|
57009
57147
|
// accept包含"/",例:image/jpeg等,格式比较多,不再检测扩展名是否匹配
|
|
57010
57148
|
if (this.accept.indexOf('/') === -1) {
|
|
@@ -57094,7 +57232,7 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
57094
57232
|
this.attachments.push(_attach);
|
|
57095
57233
|
}
|
|
57096
57234
|
this.attachList = this.attachments.filter(function (attach) {
|
|
57097
|
-
return attach.fileType ===
|
|
57235
|
+
return attach.fileType === _this9.attachsType;
|
|
57098
57236
|
});
|
|
57099
57237
|
this.$forceUpdate();
|
|
57100
57238
|
},
|
|
@@ -57127,18 +57265,18 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
57127
57265
|
}
|
|
57128
57266
|
},
|
|
57129
57267
|
uploadWflowAttach: function uploadWflowAttach($scope) {
|
|
57130
|
-
var
|
|
57268
|
+
var _this10 = this;
|
|
57131
57269
|
return new Promise( /*#__PURE__*/function () {
|
|
57132
|
-
var _ref2 = Attachmentvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/Attachmentvue_type_script_lang_js_regeneratorRuntime().mark(function
|
|
57270
|
+
var _ref2 = Attachmentvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/Attachmentvue_type_script_lang_js_regeneratorRuntime().mark(function _callee5(resole) {
|
|
57133
57271
|
var uploadAttach, _this, uploadAttachFile, _uploadAttachFile, bodyfile, resp, fileName, extName, docEditMode;
|
|
57134
|
-
return Attachmentvue_type_script_lang_js_regeneratorRuntime().wrap(function
|
|
57135
|
-
while (1) switch (
|
|
57272
|
+
return Attachmentvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee5$(_context5) {
|
|
57273
|
+
while (1) switch (_context5.prev = _context5.next) {
|
|
57136
57274
|
case 0:
|
|
57137
57275
|
_uploadAttachFile = function _uploadAttachFile3() {
|
|
57138
|
-
_uploadAttachFile = Attachmentvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/Attachmentvue_type_script_lang_js_regeneratorRuntime().mark(function
|
|
57276
|
+
_uploadAttachFile = Attachmentvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/Attachmentvue_type_script_lang_js_regeneratorRuntime().mark(function _callee4(attach, index) {
|
|
57139
57277
|
var file, config, module, reqData, uploadRst;
|
|
57140
|
-
return Attachmentvue_type_script_lang_js_regeneratorRuntime().wrap(function
|
|
57141
|
-
while (1) switch (
|
|
57278
|
+
return Attachmentvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
57279
|
+
while (1) switch (_context4.prev = _context4.next) {
|
|
57142
57280
|
case 0:
|
|
57143
57281
|
file = attach.file;
|
|
57144
57282
|
config = {
|
|
@@ -57171,16 +57309,16 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
57171
57309
|
// 代办佐证材料
|
|
57172
57310
|
reqData.uploadBy = attach.uploadBy;
|
|
57173
57311
|
}
|
|
57174
|
-
|
|
57312
|
+
_context4.next = 9;
|
|
57175
57313
|
return _this.$wfEngine.upload(_this, _this.wfAttachUrl + '/upload', file.file, reqData, config);
|
|
57176
57314
|
case 9:
|
|
57177
|
-
uploadRst =
|
|
57178
|
-
return
|
|
57315
|
+
uploadRst = _context4.sent;
|
|
57316
|
+
return _context4.abrupt("return", uploadRst);
|
|
57179
57317
|
case 11:
|
|
57180
57318
|
case "end":
|
|
57181
|
-
return
|
|
57319
|
+
return _context4.stop();
|
|
57182
57320
|
}
|
|
57183
|
-
},
|
|
57321
|
+
}, _callee4);
|
|
57184
57322
|
}));
|
|
57185
57323
|
return _uploadAttachFile.apply(this, arguments);
|
|
57186
57324
|
};
|
|
@@ -57189,13 +57327,13 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
57189
57327
|
};
|
|
57190
57328
|
uploadAttach = [];
|
|
57191
57329
|
if ($scope.doNextAttach && $scope.doNextAttach.file !== undefined && $scope.doNextAttach.file !== null && $scope.doNextAttach.file.progress === 0) {
|
|
57192
|
-
|
|
57330
|
+
_this10.attachments.push($scope.doNextAttach);
|
|
57193
57331
|
}
|
|
57194
|
-
|
|
57332
|
+
_this10.attachments.forEach(function (attach, index) {
|
|
57195
57333
|
if (attach.file != null && !attach.file.complete && attach.uploadIndex === undefined) {
|
|
57196
|
-
if (attach.fileType ===
|
|
57334
|
+
if (attach.fileType === _this10.attachsType || attach.uploadType === 'formfile' || attach.uploadType === 'DONEXT') {
|
|
57197
57335
|
attach.file.message = null;
|
|
57198
|
-
attach.file.fileType = attach.fileType ||
|
|
57336
|
+
attach.file.fileType = attach.fileType || _this10.attachsType;
|
|
57199
57337
|
attach.uploadIndex = index;
|
|
57200
57338
|
uploadAttach.push(attach);
|
|
57201
57339
|
}
|
|
@@ -57203,18 +57341,18 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
57203
57341
|
});
|
|
57204
57342
|
|
|
57205
57343
|
// 上传文件
|
|
57206
|
-
_this =
|
|
57344
|
+
_this = _this10; // 先上传正文
|
|
57207
57345
|
if (!($scope.bodyfile && $scope.bodyfile.file !== undefined && $scope.bodyfile.file !== null && $scope.bodyfile.file.progress === 0)) {
|
|
57208
|
-
|
|
57346
|
+
_context5.next = 14;
|
|
57209
57347
|
break;
|
|
57210
57348
|
}
|
|
57211
57349
|
bodyfile = $scope.bodyfile;
|
|
57212
57350
|
bodyfile.file.message = null;
|
|
57213
|
-
bodyfile.file.fileType = bodyfile.fileType ||
|
|
57214
|
-
|
|
57351
|
+
bodyfile.file.fileType = bodyfile.fileType || _this10.attachsType;
|
|
57352
|
+
_context5.next = 12;
|
|
57215
57353
|
return uploadAttachFile(bodyfile, 0);
|
|
57216
57354
|
case 12:
|
|
57217
|
-
resp =
|
|
57355
|
+
resp = _context5.sent;
|
|
57218
57356
|
if (resp.code === 'success') {
|
|
57219
57357
|
bodyfile.file.complete = true;
|
|
57220
57358
|
resp.body.uploadAttachList.forEach(function (attach) {
|
|
@@ -57225,7 +57363,7 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
57225
57363
|
break;
|
|
57226
57364
|
}
|
|
57227
57365
|
}
|
|
57228
|
-
|
|
57366
|
+
_this10.attachments.push(attach);
|
|
57229
57367
|
if (attach.fileName.indexOf('.pdf') || attach.fileName.indexOf('.ofd')) {
|
|
57230
57368
|
_this.$set($scope, 'bodyfile', attach);
|
|
57231
57369
|
if (typeof $scope.vo.flBodyFilename !== 'undefined') $scope.vo.flBodyFilename = attach.fileName;
|
|
@@ -57238,9 +57376,9 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
57238
57376
|
fileName = bodyfile.file.name;
|
|
57239
57377
|
extName = fileName.substring(fileName.lastIndexOf('.')).toLowerCase();
|
|
57240
57378
|
docEditMode = '';
|
|
57241
|
-
if (
|
|
57379
|
+
if (_this10.$vnode.context.wfInstance.passenger.docEditMode) {
|
|
57242
57380
|
// 当前模式获取
|
|
57243
|
-
docEditMode =
|
|
57381
|
+
docEditMode = _this10.$vnode.context.wfInstance.passenger.docEditMode;
|
|
57244
57382
|
}
|
|
57245
57383
|
if (docEditMode === 'RedTitle') {
|
|
57246
57384
|
// 红头模式默认上传 红头文件
|
|
@@ -57263,44 +57401,44 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
57263
57401
|
}
|
|
57264
57402
|
if (uploadAttach.length === 0) resole({
|
|
57265
57403
|
code: 'success',
|
|
57266
|
-
message:
|
|
57404
|
+
message: _this10.$tx('ecmapp.message.fileUploadSuccess', '文件正文上传成功!')
|
|
57267
57405
|
});
|
|
57268
|
-
|
|
57269
|
-
|
|
57406
|
+
_this10.$nextTick(function () {
|
|
57407
|
+
_this10.$bus.emit('onTabChanged', 0);
|
|
57270
57408
|
});
|
|
57271
57409
|
} else {
|
|
57272
57410
|
bodyfile.file.status = 'failure';
|
|
57273
57411
|
bodyfile.file.message = resp.message;
|
|
57274
|
-
|
|
57412
|
+
_this10.$bus.emit('onUploadProgress', bodyfile);
|
|
57275
57413
|
if (uploadAttach.length === 0) resole(resp);
|
|
57276
57414
|
}
|
|
57277
57415
|
case 14:
|
|
57278
57416
|
if (uploadAttach.length === 0) {
|
|
57279
|
-
if (
|
|
57280
|
-
|
|
57281
|
-
message:
|
|
57417
|
+
if (_this10.isRequired === 1 && _this10.attachList.length === 0) {
|
|
57418
|
+
_this10.$dialog.alert({
|
|
57419
|
+
message: _this10.$tx('ecmapp.message.needUploadFile', '请选择需要上传的附件!')
|
|
57282
57420
|
});
|
|
57283
57421
|
resole({
|
|
57284
57422
|
code: 'failure',
|
|
57285
|
-
message:
|
|
57423
|
+
message: _this10.$tx('ecmapp.message.noSelNeedUploadFile', '没有选择需要上传的附件')
|
|
57286
57424
|
});
|
|
57287
57425
|
} else {
|
|
57288
57426
|
resole({
|
|
57289
57427
|
code: 'success',
|
|
57290
|
-
message:
|
|
57428
|
+
message: _this10.$tx('ecmapp.message.noTobeUploadFile', '没有待上传附件')
|
|
57291
57429
|
});
|
|
57292
57430
|
}
|
|
57293
57431
|
}
|
|
57294
57432
|
uploadAttach.forEach( /*#__PURE__*/function () {
|
|
57295
|
-
var _ref3 = Attachmentvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/Attachmentvue_type_script_lang_js_regeneratorRuntime().mark(function
|
|
57433
|
+
var _ref3 = Attachmentvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/Attachmentvue_type_script_lang_js_regeneratorRuntime().mark(function _callee3(attach, index) {
|
|
57296
57434
|
var uploadRst, file, complete;
|
|
57297
|
-
return Attachmentvue_type_script_lang_js_regeneratorRuntime().wrap(function
|
|
57298
|
-
while (1) switch (
|
|
57435
|
+
return Attachmentvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
57436
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
57299
57437
|
case 0:
|
|
57300
|
-
|
|
57438
|
+
_context3.next = 2;
|
|
57301
57439
|
return uploadAttachFile(attach, index + 1);
|
|
57302
57440
|
case 2:
|
|
57303
|
-
uploadRst =
|
|
57441
|
+
uploadRst = _context3.sent;
|
|
57304
57442
|
file = attach.file;
|
|
57305
57443
|
if (uploadRst.code === 'success') {
|
|
57306
57444
|
file.complete = true;
|
|
@@ -57309,34 +57447,34 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
57309
57447
|
complete = true;
|
|
57310
57448
|
_this.attachments.forEach(function (iattach, iindex) {
|
|
57311
57449
|
if (file === iattach.file) {
|
|
57312
|
-
var attachments = $scope.attachments || $scope.vo.passenger.attachments ||
|
|
57450
|
+
var attachments = $scope.attachments || $scope.vo.passenger.attachments || _this10.attachments;
|
|
57313
57451
|
if (uploadRst.body.uploadAttachList.length === 2) {
|
|
57314
57452
|
attachments.splice(iindex, 1, uploadRst.body.uploadAttachList[0], uploadRst.body.uploadAttachList[1]);
|
|
57315
57453
|
} else {
|
|
57316
57454
|
attachments.splice(iindex, 1, uploadRst.body.uploadAttachList[0]);
|
|
57317
57455
|
}
|
|
57318
57456
|
}
|
|
57319
|
-
if (iattach.fileType ===
|
|
57457
|
+
if (iattach.fileType === _this10.attachsType && iattach.file && iattach.file.complete !== true) {
|
|
57320
57458
|
complete = false;
|
|
57321
57459
|
}
|
|
57322
57460
|
});
|
|
57323
57461
|
if (complete) {
|
|
57324
57462
|
resole({
|
|
57325
57463
|
code: 'success',
|
|
57326
|
-
message:
|
|
57464
|
+
message: _this10.$tx('ecmapp.message.attchUploadFile', '附件全部上传成功')
|
|
57327
57465
|
});
|
|
57328
57466
|
}
|
|
57329
57467
|
} else {
|
|
57330
57468
|
file.status = 'failure';
|
|
57331
57469
|
file.message = uploadRst.message;
|
|
57332
57470
|
resole(uploadRst);
|
|
57333
|
-
|
|
57471
|
+
_this10.$forceUpdate();
|
|
57334
57472
|
}
|
|
57335
57473
|
case 5:
|
|
57336
57474
|
case "end":
|
|
57337
|
-
return
|
|
57475
|
+
return _context3.stop();
|
|
57338
57476
|
}
|
|
57339
|
-
},
|
|
57477
|
+
}, _callee3);
|
|
57340
57478
|
}));
|
|
57341
57479
|
return function (_x4, _x5) {
|
|
57342
57480
|
return _ref3.apply(this, arguments);
|
|
@@ -57344,9 +57482,9 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
57344
57482
|
}());
|
|
57345
57483
|
case 16:
|
|
57346
57484
|
case "end":
|
|
57347
|
-
return
|
|
57485
|
+
return _context5.stop();
|
|
57348
57486
|
}
|
|
57349
|
-
},
|
|
57487
|
+
}, _callee5);
|
|
57350
57488
|
}));
|
|
57351
57489
|
return function (_x) {
|
|
57352
57490
|
return _ref2.apply(this, arguments);
|
|
@@ -57366,9 +57504,9 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
57366
57504
|
});
|
|
57367
57505
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=script&lang=js
|
|
57368
57506
|
/* harmony default export */ var src_Attachmentvue_type_script_lang_js = (Attachmentvue_type_script_lang_js);
|
|
57369
|
-
// 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/Attachment.vue?vue&type=style&index=0&id=
|
|
57370
|
-
var
|
|
57371
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=
|
|
57507
|
+
// 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/Attachment.vue?vue&type=style&index=0&id=fb72985a&prod&scoped=true&lang=scss
|
|
57508
|
+
var Attachmentvue_type_style_index_0_id_fb72985a_prod_scoped_true_lang_scss = __webpack_require__(4317);
|
|
57509
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=fb72985a&prod&scoped=true&lang=scss
|
|
57372
57510
|
|
|
57373
57511
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue
|
|
57374
57512
|
|
|
@@ -57381,11 +57519,11 @@ var Attachmentvue_type_style_index_0_id_26bea2c4_prod_scoped_true_lang_scss = __
|
|
|
57381
57519
|
|
|
57382
57520
|
var Attachment_component = (0,componentNormalizer/* default */.A)(
|
|
57383
57521
|
src_Attachmentvue_type_script_lang_js,
|
|
57384
|
-
|
|
57385
|
-
|
|
57522
|
+
Attachmentvue_type_template_id_fb72985a_scoped_true_render,
|
|
57523
|
+
Attachmentvue_type_template_id_fb72985a_scoped_true_staticRenderFns,
|
|
57386
57524
|
false,
|
|
57387
57525
|
null,
|
|
57388
|
-
"
|
|
57526
|
+
"fb72985a",
|
|
57389
57527
|
null
|
|
57390
57528
|
|
|
57391
57529
|
)
|
|
@@ -59416,8 +59554,8 @@ var SelectOuterDeputy_component = (0,componentNormalizer/* default */.A)(
|
|
|
59416
59554
|
)
|
|
59417
59555
|
|
|
59418
59556
|
/* harmony default export */ var SelectOuterDeputy = (SelectOuterDeputy_component.exports);
|
|
59419
|
-
;// 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/SubmitHandle.vue?vue&type=template&id=
|
|
59420
|
-
var
|
|
59557
|
+
;// 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/SubmitHandle.vue?vue&type=template&id=12d2821a&scoped=true
|
|
59558
|
+
var SubmitHandlevue_type_template_id_12d2821a_scoped_true_render = function render() {
|
|
59421
59559
|
var _vm = this,
|
|
59422
59560
|
_c = _vm._self._c;
|
|
59423
59561
|
return _vm.initiated ? _c('div', {
|
|
@@ -60108,7 +60246,7 @@ var SubmitHandlevue_type_template_id_26fa93ad_scoped_true_render = function rend
|
|
|
60108
60246
|
}
|
|
60109
60247
|
})], 1) : _vm._e()], 2) : _vm._e();
|
|
60110
60248
|
};
|
|
60111
|
-
var
|
|
60249
|
+
var SubmitHandlevue_type_template_id_12d2821a_scoped_true_staticRenderFns = [];
|
|
60112
60250
|
|
|
60113
60251
|
;// 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/WfTaskNode.vue?vue&type=template&id=8e60a7d4&scoped=true
|
|
60114
60252
|
var WfTaskNodevue_type_template_id_8e60a7d4_scoped_true_render = function render() {
|
|
@@ -61543,6 +61681,8 @@ var SubmitHandlevue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
61543
61681
|
selectBanlFn: function selectBanlFn(item, users, wfNode) {
|
|
61544
61682
|
var _this3 = this;
|
|
61545
61683
|
if (item.changed) {
|
|
61684
|
+
if (wfNode.autoCheckedAll === '1' && wfNode.showNodeUsers === 2) return; // 自动全选、并且不允许修改
|
|
61685
|
+
|
|
61546
61686
|
if (users.length > 1) {
|
|
61547
61687
|
item.changed = false;
|
|
61548
61688
|
} else {
|
|
@@ -61998,7 +62138,7 @@ var SubmitHandlevue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
61998
62138
|
},
|
|
61999
62139
|
selectWfNodeUser: function selectWfNodeUser(title, wfNode) {
|
|
62000
62140
|
var _this9 = this;
|
|
62001
|
-
if (wfNode.showNodeUsers === 2) return; // 自动全选、并且不允许修改
|
|
62141
|
+
if (wfNode.autoCheckedAll === '1' && wfNode.showNodeUsers === 2) return; // 自动全选、并且不允许修改
|
|
62002
62142
|
|
|
62003
62143
|
var condition = {
|
|
62004
62144
|
selectDialog: 'wfNodeUser',
|
|
@@ -62232,9 +62372,9 @@ var SubmitHandlevue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
62232
62372
|
});
|
|
62233
62373
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/SubmitHandle.vue?vue&type=script&lang=js
|
|
62234
62374
|
/* harmony default export */ var src_SubmitHandlevue_type_script_lang_js = (SubmitHandlevue_type_script_lang_js);
|
|
62235
|
-
// 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/SubmitHandle.vue?vue&type=style&index=0&id=
|
|
62236
|
-
var
|
|
62237
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/SubmitHandle.vue?vue&type=style&index=0&id=
|
|
62375
|
+
// 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/SubmitHandle.vue?vue&type=style&index=0&id=12d2821a&prod&scoped=true&lang=scss
|
|
62376
|
+
var SubmitHandlevue_type_style_index_0_id_12d2821a_prod_scoped_true_lang_scss = __webpack_require__(3575);
|
|
62377
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/SubmitHandle.vue?vue&type=style&index=0&id=12d2821a&prod&scoped=true&lang=scss
|
|
62238
62378
|
|
|
62239
62379
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/SubmitHandle.vue
|
|
62240
62380
|
|
|
@@ -62247,18 +62387,18 @@ var SubmitHandlevue_type_style_index_0_id_26fa93ad_prod_scoped_true_lang_scss =
|
|
|
62247
62387
|
|
|
62248
62388
|
var SubmitHandle_component = (0,componentNormalizer/* default */.A)(
|
|
62249
62389
|
src_SubmitHandlevue_type_script_lang_js,
|
|
62250
|
-
|
|
62251
|
-
|
|
62390
|
+
SubmitHandlevue_type_template_id_12d2821a_scoped_true_render,
|
|
62391
|
+
SubmitHandlevue_type_template_id_12d2821a_scoped_true_staticRenderFns,
|
|
62252
62392
|
false,
|
|
62253
62393
|
null,
|
|
62254
|
-
"
|
|
62394
|
+
"12d2821a",
|
|
62255
62395
|
null
|
|
62256
62396
|
|
|
62257
62397
|
)
|
|
62258
62398
|
|
|
62259
62399
|
/* harmony default export */ var SubmitHandle = (SubmitHandle_component.exports);
|
|
62260
|
-
;// 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/SubmitDialog.vue?vue&type=template&id=
|
|
62261
|
-
var
|
|
62400
|
+
;// 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/SubmitDialog.vue?vue&type=template&id=08cc6e1e&scoped=true
|
|
62401
|
+
var SubmitDialogvue_type_template_id_08cc6e1e_scoped_true_render = function render() {
|
|
62262
62402
|
var _vm = this,
|
|
62263
62403
|
_c = _vm._self._c;
|
|
62264
62404
|
return _c('div', [_c('PopupDialog', {
|
|
@@ -62360,7 +62500,7 @@ var SubmitDialogvue_type_template_id_66dc6ff7_scoped_true_render = function rend
|
|
|
62360
62500
|
}
|
|
62361
62501
|
})], 1)])], 1);
|
|
62362
62502
|
};
|
|
62363
|
-
var
|
|
62503
|
+
var SubmitDialogvue_type_template_id_08cc6e1e_scoped_true_staticRenderFns = [];
|
|
62364
62504
|
|
|
62365
62505
|
;// 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/SubmitDialog.vue?vue&type=script&lang=js
|
|
62366
62506
|
|
|
@@ -62566,11 +62706,11 @@ var SubmitDialogvue_type_template_id_66dc6ff7_scoped_true_staticRenderFns = [];
|
|
|
62566
62706
|
;
|
|
62567
62707
|
var SubmitDialog_component = (0,componentNormalizer/* default */.A)(
|
|
62568
62708
|
src_SubmitDialogvue_type_script_lang_js,
|
|
62569
|
-
|
|
62570
|
-
|
|
62709
|
+
SubmitDialogvue_type_template_id_08cc6e1e_scoped_true_render,
|
|
62710
|
+
SubmitDialogvue_type_template_id_08cc6e1e_scoped_true_staticRenderFns,
|
|
62571
62711
|
false,
|
|
62572
62712
|
null,
|
|
62573
|
-
"
|
|
62713
|
+
"08cc6e1e",
|
|
62574
62714
|
null
|
|
62575
62715
|
|
|
62576
62716
|
)
|