ecinc-cloud-mappaio 9.6.99 → 9.6.102
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 +277 -140
- package/lib/ecmappaio.umd.js +277 -140
- package/lib/ecmappaio.umd.min.js +4 -4
- package/package.json +1 -1
package/lib/ecmappaio.umd.js
CHANGED
|
@@ -6615,6 +6615,10 @@ module.exports = {
|
|
|
6615
6615
|
opinionLabel: '处理意见标签',
|
|
6616
6616
|
reviewComments: '批阅意见'
|
|
6617
6617
|
},
|
|
6618
|
+
returnHistory: {
|
|
6619
|
+
selectHint: '请选择驳回节点',
|
|
6620
|
+
confirm: '您是否确认驳回到上一环节?'
|
|
6621
|
+
},
|
|
6618
6622
|
attachTitle: '{title}({listlength}个)',
|
|
6619
6623
|
attachTitle1: '附件:({item}个)',
|
|
6620
6624
|
togetherUpload: '当前限制选择{limitCount}个文件,本次选择了{valLength}个文件,共选择了{filelength}个文件',
|
|
@@ -6687,7 +6691,6 @@ module.exports = {
|
|
|
6687
6691
|
textTip: '确定',
|
|
6688
6692
|
writReviewComments: '请填写批阅意见',
|
|
6689
6693
|
noWritReview: '您的阅文记录不存在,不能填写批阅意见',
|
|
6690
|
-
returnHistory: '您是否确认驳回到上一环节?',
|
|
6691
6694
|
submitToNet: '您是否确认提交下一环节?'
|
|
6692
6695
|
}
|
|
6693
6696
|
}
|
|
@@ -6853,7 +6856,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "#wapp{position:fixed;top:0;left:0;bott
|
|
|
6853
6856
|
|
|
6854
6857
|
/***/ }),
|
|
6855
6858
|
|
|
6856
|
-
/***/
|
|
6859
|
+
/***/ 5781:
|
|
6857
6860
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6858
6861
|
|
|
6859
6862
|
"use strict";
|
|
@@ -6867,7 +6870,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6867
6870
|
|
|
6868
6871
|
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()));
|
|
6869
6872
|
// Module
|
|
6870
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".van-datetime-field[data-v-
|
|
6873
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".van-datetime-field[data-v-a8eabab6]{position:relative}.van-datetime-field[data-v-a8eabab6]: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)}", ""]);
|
|
6871
6874
|
// Exports
|
|
6872
6875
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
6873
6876
|
|
|
@@ -6916,7 +6919,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".van-textarea-field[data-v-67219e88]{p
|
|
|
6916
6919
|
|
|
6917
6920
|
/***/ }),
|
|
6918
6921
|
|
|
6919
|
-
/***/
|
|
6922
|
+
/***/ 6246:
|
|
6920
6923
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6921
6924
|
|
|
6922
6925
|
"use strict";
|
|
@@ -6930,14 +6933,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6930
6933
|
|
|
6931
6934
|
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()));
|
|
6932
6935
|
// Module
|
|
6933
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".van-input-field[data-v-
|
|
6936
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".van-input-field[data-v-6ca49595]{position:relative}.van-input-field[data-v-6ca49595]: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)}.van-field__body_suffix[data-v-6ca49595] .van-field__body:after{color:#323233;content:attr(value-suffix);line-height:22px}.van-field__body_suffix[data-v-6ca49595] .van-field__body .van-field__control{-webkit-box-flex:1;-ms-flex:1;flex:1}[data-v-6ca49595] .van-cell__right-icon{padding-left:10px}", ""]);
|
|
6934
6937
|
// Exports
|
|
6935
6938
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
6936
6939
|
|
|
6937
6940
|
|
|
6938
6941
|
/***/ }),
|
|
6939
6942
|
|
|
6940
|
-
/***/
|
|
6943
|
+
/***/ 2894:
|
|
6941
6944
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6942
6945
|
|
|
6943
6946
|
"use strict";
|
|
@@ -6951,14 +6954,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6951
6954
|
|
|
6952
6955
|
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()));
|
|
6953
6956
|
// Module
|
|
6954
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".van-select-field[data-v-
|
|
6957
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".van-select-field[data-v-ad290d08]{position:relative}.van-select-field[data-v-ad290d08]: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)}", ""]);
|
|
6955
6958
|
// Exports
|
|
6956
6959
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
6957
6960
|
|
|
6958
6961
|
|
|
6959
6962
|
/***/ }),
|
|
6960
6963
|
|
|
6961
|
-
/***/
|
|
6964
|
+
/***/ 8295:
|
|
6962
6965
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6963
6966
|
|
|
6964
6967
|
"use strict";
|
|
@@ -6972,14 +6975,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6972
6975
|
|
|
6973
6976
|
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()));
|
|
6974
6977
|
// Module
|
|
6975
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".van-switch-field[data-v-
|
|
6978
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".van-switch-field[data-v-61ed46da]{position:relative}.van-switch-field[data-v-61ed46da]: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)}", ""]);
|
|
6976
6979
|
// Exports
|
|
6977
6980
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
6978
6981
|
|
|
6979
6982
|
|
|
6980
6983
|
/***/ }),
|
|
6981
6984
|
|
|
6982
|
-
/***/
|
|
6985
|
+
/***/ 3303:
|
|
6983
6986
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6984
6987
|
|
|
6985
6988
|
"use strict";
|
|
@@ -6993,7 +6996,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6993
6996
|
|
|
6994
6997
|
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()));
|
|
6995
6998
|
// Module
|
|
6996
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".van-textarea-field[data-v-
|
|
6999
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".van-textarea-field[data-v-7096be8f]{position:relative}.van-textarea-field[data-v-7096be8f] .van-field__label{width:90%!important}.van-textarea-field[data-v-7096be8f]: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)}.richtext-content[data-v-7096be8f]{width:100%;white-space:pre-wrap}.richtext-content[data-v-7096be8f] img{-o-object-fit:contain;object-fit:contain;max-width:100%!important;height:auto!important}.richtext-content-hidden[data-v-7096be8f]{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical}.van-textarea-field[data-v-7096be8f] .field-flSubject .richtext-content,.van-textarea-field[data-v-7096be8f] .field-flSubject textarea.van-field__control{font-size:16px;font-weight:700}", ""]);
|
|
6997
7000
|
// Exports
|
|
6998
7001
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
6999
7002
|
|
|
@@ -7620,7 +7623,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".submit-handle-container .idea-button-
|
|
|
7620
7623
|
|
|
7621
7624
|
/***/ }),
|
|
7622
7625
|
|
|
7623
|
-
/***/
|
|
7626
|
+
/***/ 8230:
|
|
7624
7627
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7625
7628
|
|
|
7626
7629
|
"use strict";
|
|
@@ -7634,7 +7637,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7634
7637
|
|
|
7635
7638
|
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()));
|
|
7636
7639
|
// Module
|
|
7637
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".wf-nodelogs-container[data-v-
|
|
7640
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".wf-nodelogs-container[data-v-08c484c7]{margin-bottom:10px}.wf-nodelogs-container .call-back-file .van-steps[data-v-08c484c7]{height:calc(100% - 60px);overflow-y:auto}.wf-nodelogs-container[data-v-08c484c7] .popup-body/deep/.van-steps .van-step--vertical{padding-right:16px}.wf-nodelogs-container[data-v-08c484c7] .popup-body .active-step-finish .van-step__title{color:#444!important}.wf-nodelogs-container[data-v-08c484c7] .popup-body .active-step-finish .van-step__circle-container{color:#1989fa!important}.wf-nodelogs-container[data-v-08c484c7] .popup-body .active-step-finish .van-step__line{background-color:#ebedf0!important}.wf-nodelogs-container[data-v-08c484c7] .popup-body .elapsed-time{float:right}.wf-nodelogs-container[data-v-08c484c7] .popup-body .licont{color:#969799}.wf-nodelogs-container[data-v-08c484c7] .popup-body .licont .fr{float:right}.wf-nodelogs-container[data-v-08c484c7] .popup-body .van-icon{font-size:18px;background-color:#fff}.wf-nodelogs-container[data-v-08c484c7] .popup-body .handwritingIdea{width:200px}.wf-nodelogs-container[data-v-08c484c7] .popup-body .start-chat{padding-left:5px;padding-right:5px}", ""]);
|
|
7638
7641
|
// Exports
|
|
7639
7642
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
7640
7643
|
|
|
@@ -32239,19 +32242,19 @@ var update = add("5d7253e3", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
32239
32242
|
|
|
32240
32243
|
/***/ }),
|
|
32241
32244
|
|
|
32242
|
-
/***/
|
|
32245
|
+
/***/ 3406:
|
|
32243
32246
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
32244
32247
|
|
|
32245
32248
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
32246
32249
|
|
|
32247
32250
|
// load the styles
|
|
32248
|
-
var content = __webpack_require__(
|
|
32251
|
+
var content = __webpack_require__(5781);
|
|
32249
32252
|
if(content.__esModule) content = content.default;
|
|
32250
32253
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
32251
32254
|
if(content.locals) module.exports = content.locals;
|
|
32252
32255
|
// add the styles to the DOM
|
|
32253
32256
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
32254
|
-
var update = add("
|
|
32257
|
+
var update = add("2e21938f", content, true, {"sourceMap":false,"shadowMode":false});
|
|
32255
32258
|
|
|
32256
32259
|
/***/ }),
|
|
32257
32260
|
|
|
@@ -32287,67 +32290,67 @@ var update = add("55fc929e", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
32287
32290
|
|
|
32288
32291
|
/***/ }),
|
|
32289
32292
|
|
|
32290
|
-
/***/
|
|
32293
|
+
/***/ 1234:
|
|
32291
32294
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
32292
32295
|
|
|
32293
32296
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
32294
32297
|
|
|
32295
32298
|
// load the styles
|
|
32296
|
-
var content = __webpack_require__(
|
|
32299
|
+
var content = __webpack_require__(6246);
|
|
32297
32300
|
if(content.__esModule) content = content.default;
|
|
32298
32301
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
32299
32302
|
if(content.locals) module.exports = content.locals;
|
|
32300
32303
|
// add the styles to the DOM
|
|
32301
32304
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
32302
|
-
var update = add("
|
|
32305
|
+
var update = add("0452b4b5", content, true, {"sourceMap":false,"shadowMode":false});
|
|
32303
32306
|
|
|
32304
32307
|
/***/ }),
|
|
32305
32308
|
|
|
32306
|
-
/***/
|
|
32309
|
+
/***/ 3882:
|
|
32307
32310
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
32308
32311
|
|
|
32309
32312
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
32310
32313
|
|
|
32311
32314
|
// load the styles
|
|
32312
|
-
var content = __webpack_require__(
|
|
32315
|
+
var content = __webpack_require__(2894);
|
|
32313
32316
|
if(content.__esModule) content = content.default;
|
|
32314
32317
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
32315
32318
|
if(content.locals) module.exports = content.locals;
|
|
32316
32319
|
// add the styles to the DOM
|
|
32317
32320
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
32318
|
-
var update = add("
|
|
32321
|
+
var update = add("6bf69acd", content, true, {"sourceMap":false,"shadowMode":false});
|
|
32319
32322
|
|
|
32320
32323
|
/***/ }),
|
|
32321
32324
|
|
|
32322
|
-
/***/
|
|
32325
|
+
/***/ 7763:
|
|
32323
32326
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
32324
32327
|
|
|
32325
32328
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
32326
32329
|
|
|
32327
32330
|
// load the styles
|
|
32328
|
-
var content = __webpack_require__(
|
|
32331
|
+
var content = __webpack_require__(8295);
|
|
32329
32332
|
if(content.__esModule) content = content.default;
|
|
32330
32333
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
32331
32334
|
if(content.locals) module.exports = content.locals;
|
|
32332
32335
|
// add the styles to the DOM
|
|
32333
32336
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
32334
|
-
var update = add("
|
|
32337
|
+
var update = add("be4b9cec", content, true, {"sourceMap":false,"shadowMode":false});
|
|
32335
32338
|
|
|
32336
32339
|
/***/ }),
|
|
32337
32340
|
|
|
32338
|
-
/***/
|
|
32341
|
+
/***/ 3107:
|
|
32339
32342
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
32340
32343
|
|
|
32341
32344
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
32342
32345
|
|
|
32343
32346
|
// load the styles
|
|
32344
|
-
var content = __webpack_require__(
|
|
32347
|
+
var content = __webpack_require__(3303);
|
|
32345
32348
|
if(content.__esModule) content = content.default;
|
|
32346
32349
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
32347
32350
|
if(content.locals) module.exports = content.locals;
|
|
32348
32351
|
// add the styles to the DOM
|
|
32349
32352
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
32350
|
-
var update = add("
|
|
32353
|
+
var update = add("5b79e7f0", content, true, {"sourceMap":false,"shadowMode":false});
|
|
32351
32354
|
|
|
32352
32355
|
/***/ }),
|
|
32353
32356
|
|
|
@@ -32815,19 +32818,19 @@ var update = add("1b4ed348", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
32815
32818
|
|
|
32816
32819
|
/***/ }),
|
|
32817
32820
|
|
|
32818
|
-
/***/
|
|
32821
|
+
/***/ 8570:
|
|
32819
32822
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
32820
32823
|
|
|
32821
32824
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
32822
32825
|
|
|
32823
32826
|
// load the styles
|
|
32824
|
-
var content = __webpack_require__(
|
|
32827
|
+
var content = __webpack_require__(8230);
|
|
32825
32828
|
if(content.__esModule) content = content.default;
|
|
32826
32829
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
32827
32830
|
if(content.locals) module.exports = content.locals;
|
|
32828
32831
|
// add the styles to the DOM
|
|
32829
32832
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
32830
|
-
var update = add("
|
|
32833
|
+
var update = add("308c2d8c", content, true, {"sourceMap":false,"shadowMode":false});
|
|
32831
32834
|
|
|
32832
32835
|
/***/ }),
|
|
32833
32836
|
|
|
@@ -40251,30 +40254,34 @@ var wfengine_install = function install(Vue) {
|
|
|
40251
40254
|
});
|
|
40252
40255
|
},
|
|
40253
40256
|
setFlBodyFile: function setFlBodyFile($scope) {
|
|
40254
|
-
$scope.bodyfile =
|
|
40257
|
+
$scope.bodyfile = {
|
|
40258
|
+
file: {
|
|
40259
|
+
name: ''
|
|
40260
|
+
}
|
|
40261
|
+
};
|
|
40255
40262
|
$scope.redTitleFile = null;
|
|
40256
40263
|
$scope.noTracksFile = null;
|
|
40257
40264
|
var canEditBodyfile = false;
|
|
40265
|
+
var canEditFormat = 'doc,docx,xls,xlsx,ppt,pptx'.split(',');
|
|
40258
40266
|
if ($scope.vo.flBodyFilename || $scope.vo.flbodyfilename || $scope.vo.signedFileName) {
|
|
40259
40267
|
var bodyfileName = $scope.vo.flBodyFilename || $scope.vo.flbodyfilename || $scope.vo.signedFileName;
|
|
40260
40268
|
var bydyShortName = bodyfileName.substring(0, bodyfileName.lastIndexOf('.'));
|
|
40261
40269
|
for (var i = 0; i < $scope.attachments.length; i++) {
|
|
40262
40270
|
var attachShortName = $scope.attachments[i].fileName.substring(0, $scope.attachments[i].fileName.lastIndexOf('.'));
|
|
40263
40271
|
if ($scope.attachments[i].fileType.toUpperCase() === 'BODY') {
|
|
40272
|
+
var extName = $scope.attachments[i].originalName.split('.')[1].toLowerCase();
|
|
40264
40273
|
if (attachShortName === bydyShortName || $scope.attachments[i].originalName.split('.')[0] === bydyShortName) {
|
|
40265
|
-
var extName = $scope.attachments[i].originalName.split('.')[1].toLowerCase();
|
|
40266
|
-
|
|
40267
40274
|
// pdf格式优先
|
|
40268
|
-
if (!$scope.bodyfile || extName === 'pdf' || extName === 'ofd') {
|
|
40275
|
+
if (!$scope.bodyfile.id || extName === 'pdf' || extName === 'ofd') {
|
|
40269
40276
|
$scope.bodyfile = $scope.attachments[i];
|
|
40270
40277
|
}
|
|
40271
40278
|
}
|
|
40272
|
-
if (
|
|
40279
|
+
if (canEditFormat.indexOf(extName) !== -1 && $scope.attachments[i].originalName.split('.')[0] === $scope.wfInstance.bodyDocId) {
|
|
40273
40280
|
canEditBodyfile = true;
|
|
40274
40281
|
}
|
|
40275
40282
|
}
|
|
40276
40283
|
}
|
|
40277
|
-
if (!$scope.bodyfile) {
|
|
40284
|
+
if (!$scope.bodyfile.id) {
|
|
40278
40285
|
$scope.attachments.forEach(function (attachment) {
|
|
40279
40286
|
var extName = attachment.originalName.split('.')[1].toLowerCase();
|
|
40280
40287
|
if (attachment.fileType.toUpperCase() === 'BODY' && (extName === 'pdf' || extName === 'ofd')) {
|
|
@@ -40299,7 +40306,7 @@ var wfengine_install = function install(Vue) {
|
|
|
40299
40306
|
} else if (attachment.fileName.indexOf('SignedFile_') === 0) {
|
|
40300
40307
|
$scope.bodyfile = attachment;
|
|
40301
40308
|
}
|
|
40302
|
-
if (
|
|
40309
|
+
if (canEditFormat.indexOf(_extName) !== -1 && attachment.originalName.split('.')[0] === $scope.wfInstance.bodyDocId && attachment.filePath.indexOf('/noTracks/') === -1) {
|
|
40303
40310
|
canEditBodyfile = true;
|
|
40304
40311
|
if ($scope.wfInstance.haveDoc === 0) {
|
|
40305
40312
|
//修正删除正文后haveDoc错误的问题
|
|
@@ -40312,14 +40319,14 @@ var wfengine_install = function install(Vue) {
|
|
|
40312
40319
|
}
|
|
40313
40320
|
}
|
|
40314
40321
|
});
|
|
40315
|
-
if (!$scope.bodyfile) {
|
|
40322
|
+
if (!$scope.bodyfile.id) {
|
|
40316
40323
|
$scope.attachments.forEach(function (attachment) {
|
|
40317
40324
|
if (attachment.fileType.toUpperCase() === 'BODY' && attachment.originalName.split('.')[0] === $scope.wfInstance.bodyDocId) {
|
|
40318
40325
|
var _extName2 = attachment.originalName.split('.')[1].toLowerCase();
|
|
40319
40326
|
if (_extName2 === 'pdf' || _extName2 === 'ofd' || attachment.filePath.indexOf('/noTracks/') !== -1) {
|
|
40320
40327
|
// pdf格式优先、无修订DOC优先
|
|
40321
40328
|
$scope.bodyfile = attachment;
|
|
40322
|
-
} else if (!$scope.bodyfile &&
|
|
40329
|
+
} else if (!$scope.bodyfile.id && canEditFormat.indexOf(_extName2) !== -1) {
|
|
40323
40330
|
//doc格式正文
|
|
40324
40331
|
$scope.bodyfile = attachment;
|
|
40325
40332
|
}
|
|
@@ -40327,7 +40334,7 @@ var wfengine_install = function install(Vue) {
|
|
|
40327
40334
|
});
|
|
40328
40335
|
}
|
|
40329
40336
|
}
|
|
40330
|
-
if ($scope.bodyfile
|
|
40337
|
+
if ($scope.bodyfile.id && ($scope.bodyfile.originalName.indexOf($scope.wfInstance.bodyDocId + '.') === 0 || $scope.bodyfile.fileName.indexOf($scope.wfInstance.bodyDocId + '.') !== -1)) {
|
|
40331
40338
|
if ($scope.bodyfile.fileName.indexOf($scope.wfInstance.bodyDocId + '.') !== -1) {
|
|
40332
40339
|
$scope.bodyfile.bodyFileName = $scope.bodyfile.fileName;
|
|
40333
40340
|
$scope.bodyfile.fileName = $scope.wfInstance.title + '.' + $scope.bodyfile.fileName.split('.')[1];
|
|
@@ -54012,8 +54019,8 @@ var Basicform_src_component = (0,componentNormalizer/* default */.A)(
|
|
|
54012
54019
|
)
|
|
54013
54020
|
|
|
54014
54021
|
/* harmony default export */ var Basicform_src = (Basicform_src_component.exports);
|
|
54015
|
-
;// 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/DatetimeField.vue?vue&type=template&id=
|
|
54016
|
-
var
|
|
54022
|
+
;// 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/DatetimeField.vue?vue&type=template&id=a8eabab6&scoped=true
|
|
54023
|
+
var DatetimeFieldvue_type_template_id_a8eabab6_scoped_true_render = function render() {
|
|
54017
54024
|
var _vm = this,
|
|
54018
54025
|
_c = _vm._self._c;
|
|
54019
54026
|
return _vm.isShowField ? _c('div', {
|
|
@@ -54065,9 +54072,10 @@ var DatetimeFieldvue_type_template_id_9c6da034_scoped_true_render = function ren
|
|
|
54065
54072
|
}], null, false, 397611413)
|
|
54066
54073
|
})], 1) : _vm._e();
|
|
54067
54074
|
};
|
|
54068
|
-
var
|
|
54075
|
+
var DatetimeFieldvue_type_template_id_a8eabab6_scoped_true_staticRenderFns = [];
|
|
54069
54076
|
|
|
54070
54077
|
;// 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/DatetimeField.vue?vue&type=script&lang=js
|
|
54078
|
+
function DatetimeFieldvue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return DatetimeFieldvue_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; }, DatetimeFieldvue_type_script_lang_js_typeof(o); }
|
|
54071
54079
|
|
|
54072
54080
|
/* harmony default export */ var DatetimeFieldvue_type_script_lang_js = ({
|
|
54073
54081
|
name: 'DatetimeField',
|
|
@@ -54193,7 +54201,7 @@ var DatetimeFieldvue_type_template_id_9c6da034_scoped_true_staticRenderFns = [];
|
|
|
54193
54201
|
}
|
|
54194
54202
|
},
|
|
54195
54203
|
setDateValue: function setDateValue() {
|
|
54196
|
-
var dateValue = this.
|
|
54204
|
+
var dateValue = this.getFieldValue();
|
|
54197
54205
|
if (typeof dateValue === 'string') {
|
|
54198
54206
|
dateValue = formatTime(dateValue, this.format);
|
|
54199
54207
|
}
|
|
@@ -54202,19 +54210,42 @@ var DatetimeFieldvue_type_template_id_9c6da034_scoped_true_staticRenderFns = [];
|
|
|
54202
54210
|
selectDateTime: function selectDateTime() {
|
|
54203
54211
|
var _this = this;
|
|
54204
54212
|
if (this.nodeFieldReadOnly) return;
|
|
54205
|
-
var curTime = this.
|
|
54213
|
+
var curTime = this.getFieldValue();
|
|
54206
54214
|
this.$bus.emit('openDatetimePicker', curTime, function (rst) {
|
|
54207
|
-
_this
|
|
54215
|
+
_this.setFieldValue(rst);
|
|
54208
54216
|
_this.setDateValue();
|
|
54209
54217
|
}, this.type, this.minDate, this.stepNum);
|
|
54218
|
+
},
|
|
54219
|
+
getFieldValue: function getFieldValue() {
|
|
54220
|
+
if (this.model.split('.').length > 1) {
|
|
54221
|
+
if (DatetimeFieldvue_type_script_lang_js_typeof(this.vo[this.model.split('.')[0]]) === 'object' && this.vo[this.model.split('.')[0]] != null) {
|
|
54222
|
+
return this.vo[this.model.split('.')[0]][this.model.split('.')[1]];
|
|
54223
|
+
} else {
|
|
54224
|
+
return null;
|
|
54225
|
+
}
|
|
54226
|
+
} else {
|
|
54227
|
+
return this.vo[this.model];
|
|
54228
|
+
}
|
|
54229
|
+
},
|
|
54230
|
+
setFieldValue: function setFieldValue(val) {
|
|
54231
|
+
if (this.model.split('.').length > 1) {
|
|
54232
|
+
var valueObj = {};
|
|
54233
|
+
if (DatetimeFieldvue_type_script_lang_js_typeof(this.vo[this.model.split('.')[0]]) === 'object' && this.vo[this.model.split('.')[0]] != null) {
|
|
54234
|
+
valueObj = this.vo[this.model.split('.')[0]];
|
|
54235
|
+
}
|
|
54236
|
+
valueObj[this.model.split('.')[1]] = val;
|
|
54237
|
+
this.$set(this.vo, this.model.split('.')[0], valueObj);
|
|
54238
|
+
} else {
|
|
54239
|
+
this.$set(this.vo, this.model, val);
|
|
54240
|
+
}
|
|
54210
54241
|
}
|
|
54211
54242
|
}
|
|
54212
54243
|
});
|
|
54213
54244
|
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/DatetimeField.vue?vue&type=script&lang=js
|
|
54214
54245
|
/* harmony default export */ var FormField_DatetimeFieldvue_type_script_lang_js = (DatetimeFieldvue_type_script_lang_js);
|
|
54215
|
-
// 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/DatetimeField.vue?vue&type=style&index=0&id=
|
|
54216
|
-
var
|
|
54217
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/DatetimeField.vue?vue&type=style&index=0&id=
|
|
54246
|
+
// 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/DatetimeField.vue?vue&type=style&index=0&id=a8eabab6&prod&scoped=true&lang=scss
|
|
54247
|
+
var DatetimeFieldvue_type_style_index_0_id_a8eabab6_prod_scoped_true_lang_scss = __webpack_require__(3406);
|
|
54248
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/DatetimeField.vue?vue&type=style&index=0&id=a8eabab6&prod&scoped=true&lang=scss
|
|
54218
54249
|
|
|
54219
54250
|
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/DatetimeField.vue
|
|
54220
54251
|
|
|
@@ -54227,11 +54258,11 @@ var DatetimeFieldvue_type_style_index_0_id_9c6da034_prod_scoped_true_lang_scss =
|
|
|
54227
54258
|
|
|
54228
54259
|
var DatetimeField_component = (0,componentNormalizer/* default */.A)(
|
|
54229
54260
|
FormField_DatetimeFieldvue_type_script_lang_js,
|
|
54230
|
-
|
|
54231
|
-
|
|
54261
|
+
DatetimeFieldvue_type_template_id_a8eabab6_scoped_true_render,
|
|
54262
|
+
DatetimeFieldvue_type_template_id_a8eabab6_scoped_true_staticRenderFns,
|
|
54232
54263
|
false,
|
|
54233
54264
|
null,
|
|
54234
|
-
"
|
|
54265
|
+
"a8eabab6",
|
|
54235
54266
|
null
|
|
54236
54267
|
|
|
54237
54268
|
)
|
|
@@ -54653,8 +54684,8 @@ var FileField_component = (0,componentNormalizer/* default */.A)(
|
|
|
54653
54684
|
)
|
|
54654
54685
|
|
|
54655
54686
|
/* harmony default export */ var FileField = (FileField_component.exports);
|
|
54656
|
-
;// 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/InputField.vue?vue&type=template&id=
|
|
54657
|
-
var
|
|
54687
|
+
;// 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/InputField.vue?vue&type=template&id=6ca49595&scoped=true
|
|
54688
|
+
var InputFieldvue_type_template_id_6ca49595_scoped_true_render = function render() {
|
|
54658
54689
|
var _vm = this,
|
|
54659
54690
|
_c = _vm._self._c;
|
|
54660
54691
|
return _vm.isShowField ? _c('div', {
|
|
@@ -54716,7 +54747,7 @@ var InputFieldvue_type_template_id_085e4d48_scoped_true_render = function render
|
|
|
54716
54747
|
}], null, false, 333806362)
|
|
54717
54748
|
}) : _vm._e()], 1) : _vm._e();
|
|
54718
54749
|
};
|
|
54719
|
-
var
|
|
54750
|
+
var InputFieldvue_type_template_id_6ca49595_scoped_true_staticRenderFns = [];
|
|
54720
54751
|
|
|
54721
54752
|
;// CONCATENATED MODULE: ./src/global/filters/index.js
|
|
54722
54753
|
|
|
@@ -54933,7 +54964,8 @@ function InputFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != I
|
|
|
54933
54964
|
}
|
|
54934
54965
|
} else {
|
|
54935
54966
|
this.placeholder = '';
|
|
54936
|
-
|
|
54967
|
+
var fieldValue = this.getFieldValue();
|
|
54968
|
+
if (fieldValue === null || fieldValue === '') this.required = false;
|
|
54937
54969
|
}
|
|
54938
54970
|
},
|
|
54939
54971
|
vo: {
|
|
@@ -54997,33 +55029,34 @@ function InputFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != I
|
|
|
54997
55029
|
}
|
|
54998
55030
|
} else {
|
|
54999
55031
|
this.placeholder = '';
|
|
55000
|
-
|
|
55032
|
+
var fieldValue = this.getFieldValue();
|
|
55033
|
+
if (fieldValue === null || fieldValue === '') this.required = false;
|
|
55001
55034
|
}
|
|
55002
55035
|
},
|
|
55003
55036
|
formatDataValue: function formatDataValue() {
|
|
55004
55037
|
var _this2 = this;
|
|
55005
|
-
this.inputValue = this.
|
|
55038
|
+
this.inputValue = this.getFieldValue();
|
|
55006
55039
|
if (this.textFormatter === 'integer') {
|
|
55007
|
-
if (this.
|
|
55040
|
+
if (this.inputValue === '') {
|
|
55008
55041
|
this.inputValue = null;
|
|
55009
55042
|
} else if (this.defaultValue !== undefined && this.defaultValue !== '' && this.defaultValue !== '') {
|
|
55010
55043
|
this.inputValue = parseInt(this.defaultValue);
|
|
55011
|
-
this.
|
|
55044
|
+
this.setFieldValue(this.inputValue);
|
|
55012
55045
|
}
|
|
55013
55046
|
}
|
|
55014
55047
|
if (this.textFormatter === 'currency1') {
|
|
55015
|
-
if (this.
|
|
55016
|
-
this.inputValue = currency(this.
|
|
55048
|
+
if (this.inputValue !== null && this.inputValue !== '') {
|
|
55049
|
+
this.inputValue = currency(this.inputValue, '');
|
|
55017
55050
|
} else {
|
|
55018
55051
|
this.inputValue = '0.00';
|
|
55019
55052
|
}
|
|
55020
55053
|
if (this.readonly || this.elementReadonly === 1) this.number = false;
|
|
55021
55054
|
} else if (this.textFormatter === 'currency2') {
|
|
55022
|
-
if (this.
|
|
55055
|
+
if (this.inputValue !== null && this.inputValue !== '') {
|
|
55023
55056
|
if (this.readonly) {
|
|
55024
|
-
this.inputValue = !isNaN(Number(this.
|
|
55057
|
+
this.inputValue = !isNaN(Number(this.inputValue)) ? '¥' + Number(this.inputValue).toFixed(2) : this.inputValue;
|
|
55025
55058
|
} else {
|
|
55026
|
-
this.inputValue = !isNaN(Number(this.
|
|
55059
|
+
this.inputValue = !isNaN(Number(this.inputValue)) ? Number(this.inputValue).toFixed(2) : this.inputValue;
|
|
55027
55060
|
}
|
|
55028
55061
|
} else {
|
|
55029
55062
|
this.inputValue = '0.00';
|
|
@@ -55037,6 +55070,29 @@ function InputFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != I
|
|
|
55037
55070
|
}
|
|
55038
55071
|
}, 0);
|
|
55039
55072
|
},
|
|
55073
|
+
getFieldValue: function getFieldValue() {
|
|
55074
|
+
if (this.model.split('.').length > 1) {
|
|
55075
|
+
if (InputFieldvue_type_script_lang_js_typeof(this.vo[this.model.split('.')[0]]) === 'object' && this.vo[this.model.split('.')[0]] != null) {
|
|
55076
|
+
return this.vo[this.model.split('.')[0]][this.model.split('.')[1]];
|
|
55077
|
+
} else {
|
|
55078
|
+
return null;
|
|
55079
|
+
}
|
|
55080
|
+
} else {
|
|
55081
|
+
return this.vo[this.model];
|
|
55082
|
+
}
|
|
55083
|
+
},
|
|
55084
|
+
setFieldValue: function setFieldValue(val) {
|
|
55085
|
+
if (this.model.split('.').length > 1) {
|
|
55086
|
+
var valueObj = {};
|
|
55087
|
+
if (InputFieldvue_type_script_lang_js_typeof(this.vo[this.model.split('.')[0]]) === 'object' && this.vo[this.model.split('.')[0]] != null) {
|
|
55088
|
+
valueObj = this.vo[this.model.split('.')[0]];
|
|
55089
|
+
}
|
|
55090
|
+
valueObj[this.model.split('.')[1]] = val;
|
|
55091
|
+
this.$set(this.vo, this.model.split('.')[0], valueObj);
|
|
55092
|
+
} else {
|
|
55093
|
+
this.$set(this.vo, this.model, val);
|
|
55094
|
+
}
|
|
55095
|
+
},
|
|
55040
55096
|
inputFocus: function inputFocus(event) {
|
|
55041
55097
|
if (this.nodeFieldReadOnly || this.elementReadonly === 1) {
|
|
55042
55098
|
this.isInputFocus = false;
|
|
@@ -55048,7 +55104,7 @@ function InputFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != I
|
|
|
55048
55104
|
inputBlur: function inputBlur() {
|
|
55049
55105
|
var _this3 = this;
|
|
55050
55106
|
this.isInputFocus = false;
|
|
55051
|
-
this
|
|
55107
|
+
this.setFieldValue(this.inputValue === '' ? null : this.inputValue);
|
|
55052
55108
|
this.formatDataValue();
|
|
55053
55109
|
this.updateField = false;
|
|
55054
55110
|
this.$nextTick(function () {
|
|
@@ -55103,10 +55159,10 @@ function InputFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != I
|
|
|
55103
55159
|
if (selected !== '') selected += ',';
|
|
55104
55160
|
selected += item.title || item.text || item.name || item.label;
|
|
55105
55161
|
});
|
|
55106
|
-
_this
|
|
55162
|
+
_this.setFieldValue(selected);
|
|
55107
55163
|
}
|
|
55108
55164
|
}
|
|
55109
|
-
}, _this.
|
|
55165
|
+
}, _this.getFieldValue(), _this.field.dialogMultiple);
|
|
55110
55166
|
} else {
|
|
55111
55167
|
_this4.$dialog.alert({
|
|
55112
55168
|
message: res.message,
|
|
@@ -55198,7 +55254,7 @@ function InputFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != I
|
|
|
55198
55254
|
selectedNames += item.title;
|
|
55199
55255
|
selectedIds += item.id;
|
|
55200
55256
|
});
|
|
55201
|
-
_this
|
|
55257
|
+
_this.setFieldValue(selectedNames);
|
|
55202
55258
|
if (_this4.field.valueIdsField && _this4.field.valueIdsField.indexOf('vo.') === 0) {
|
|
55203
55259
|
_this4.vo[_this4.field.valueIdsField.substring(_this4.field.valueIdsField.indexOf('.') + 1)] = selectedIds;
|
|
55204
55260
|
}
|
|
@@ -55237,7 +55293,7 @@ function InputFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != I
|
|
|
55237
55293
|
selected += item.title;
|
|
55238
55294
|
selectedIds += item.id;
|
|
55239
55295
|
});
|
|
55240
|
-
_this
|
|
55296
|
+
_this.setFieldValue(selected);
|
|
55241
55297
|
if (_this4.field.valueIdsField && _this4.field.valueIdsField.indexOf('vo.') === 0) {
|
|
55242
55298
|
_this4.vo[_this4.field.valueIdsField.substring(_this4.field.valueIdsField.indexOf('.') + 1)] = selectedIds;
|
|
55243
55299
|
}
|
|
@@ -55264,9 +55320,9 @@ function InputFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != I
|
|
|
55264
55320
|
});
|
|
55265
55321
|
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/InputField.vue?vue&type=script&lang=js
|
|
55266
55322
|
/* harmony default export */ var FormField_InputFieldvue_type_script_lang_js = (InputFieldvue_type_script_lang_js);
|
|
55267
|
-
// 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/InputField.vue?vue&type=style&index=0&id=
|
|
55268
|
-
var
|
|
55269
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/InputField.vue?vue&type=style&index=0&id=
|
|
55323
|
+
// 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/InputField.vue?vue&type=style&index=0&id=6ca49595&prod&scoped=true&lang=scss
|
|
55324
|
+
var InputFieldvue_type_style_index_0_id_6ca49595_prod_scoped_true_lang_scss = __webpack_require__(1234);
|
|
55325
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/InputField.vue?vue&type=style&index=0&id=6ca49595&prod&scoped=true&lang=scss
|
|
55270
55326
|
|
|
55271
55327
|
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/InputField.vue
|
|
55272
55328
|
|
|
@@ -55279,18 +55335,18 @@ var InputFieldvue_type_style_index_0_id_085e4d48_prod_scoped_true_lang_scss = __
|
|
|
55279
55335
|
|
|
55280
55336
|
var InputField_component = (0,componentNormalizer/* default */.A)(
|
|
55281
55337
|
FormField_InputFieldvue_type_script_lang_js,
|
|
55282
|
-
|
|
55283
|
-
|
|
55338
|
+
InputFieldvue_type_template_id_6ca49595_scoped_true_render,
|
|
55339
|
+
InputFieldvue_type_template_id_6ca49595_scoped_true_staticRenderFns,
|
|
55284
55340
|
false,
|
|
55285
55341
|
null,
|
|
55286
|
-
"
|
|
55342
|
+
"6ca49595",
|
|
55287
55343
|
null
|
|
55288
55344
|
|
|
55289
55345
|
)
|
|
55290
55346
|
|
|
55291
55347
|
/* harmony default export */ var InputField = (InputField_component.exports);
|
|
55292
|
-
;// 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/SelectField.vue?vue&type=template&id=
|
|
55293
|
-
var
|
|
55348
|
+
;// 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/SelectField.vue?vue&type=template&id=ad290d08&scoped=true
|
|
55349
|
+
var SelectFieldvue_type_template_id_ad290d08_scoped_true_render = function render() {
|
|
55294
55350
|
var _vm = this,
|
|
55295
55351
|
_c = _vm._self._c;
|
|
55296
55352
|
return _vm.isShowField ? _c('div', {
|
|
@@ -55342,7 +55398,7 @@ var SelectFieldvue_type_template_id_565de7b0_scoped_true_render = function rende
|
|
|
55342
55398
|
}], null, false, 957041049)
|
|
55343
55399
|
})], 1) : _vm._e();
|
|
55344
55400
|
};
|
|
55345
|
-
var
|
|
55401
|
+
var SelectFieldvue_type_template_id_ad290d08_scoped_true_staticRenderFns = [];
|
|
55346
55402
|
|
|
55347
55403
|
;// 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/SelectField.vue?vue&type=script&lang=js
|
|
55348
55404
|
function SelectFieldvue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return SelectFieldvue_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; }, SelectFieldvue_type_script_lang_js_typeof(o); }
|
|
@@ -55505,8 +55561,8 @@ function SelectFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
|
|
|
55505
55561
|
this.isShowField = true;
|
|
55506
55562
|
}
|
|
55507
55563
|
var itemList = [];
|
|
55508
|
-
if (this.vo.passenger && this.vo.passenger[this.
|
|
55509
|
-
itemList = this.vo.passenger[this.
|
|
55564
|
+
if (this.vo.passenger && this.vo.passenger[this.getOptionsName()] !== undefined && SelectFieldvue_type_script_lang_js_typeof(this.vo.passenger[this.getOptionsName()]) === 'object' && this.vo.passenger[this.getOptionsName()].length > 0) {
|
|
55565
|
+
itemList = this.vo.passenger[this.getOptionsName()];
|
|
55510
55566
|
} else if (this.options !== undefined && this.options !== null) {
|
|
55511
55567
|
// console.log(this.options)
|
|
55512
55568
|
var options = JSON.parse(this.options);
|
|
@@ -55555,11 +55611,11 @@ function SelectFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
|
|
|
55555
55611
|
if (values !== '') values += ',';
|
|
55556
55612
|
values += item.value;
|
|
55557
55613
|
});
|
|
55558
|
-
_this
|
|
55614
|
+
_this.setFieldValue(values);
|
|
55559
55615
|
} else if (_this4.propType === 'Short' || _this4.propType === 'Integer' || _this4.propType === 'Lang') {
|
|
55560
|
-
_this
|
|
55616
|
+
_this.setFieldValue(parseInt(res.value.value));
|
|
55561
55617
|
} else {
|
|
55562
|
-
_this
|
|
55618
|
+
_this.setFieldValue(res.value.value);
|
|
55563
55619
|
}
|
|
55564
55620
|
_this4.setTextValue();
|
|
55565
55621
|
if (_this4.onClickEvent && _this4.onClickEvent.indexOf('@change') !== -1 && _this4.onClickEvent.indexOf('=') !== -1) {
|
|
@@ -55577,19 +55633,21 @@ function SelectFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
|
|
|
55577
55633
|
}
|
|
55578
55634
|
}
|
|
55579
55635
|
}
|
|
55580
|
-
}, this.
|
|
55636
|
+
}, this.getFieldValue(), this.multiple);
|
|
55581
55637
|
},
|
|
55582
55638
|
setTextValue: function setTextValue() {
|
|
55583
|
-
|
|
55584
|
-
|
|
55639
|
+
var fieldValue = this.getFieldValue();
|
|
55640
|
+
if (fieldValue === null && this.defaultValue !== undefined && this.defaultValue !== '' && this.defaultValue !== '') {
|
|
55641
|
+
this.setFieldValue(this.defaultValue);
|
|
55585
55642
|
}
|
|
55586
|
-
|
|
55643
|
+
fieldValue = this.getFieldValue();
|
|
55644
|
+
if (fieldValue !== undefined && fieldValue !== null) {
|
|
55587
55645
|
var textValue = '';
|
|
55588
55646
|
var values = [];
|
|
55589
|
-
if (typeof
|
|
55590
|
-
values =
|
|
55647
|
+
if (typeof fieldValue === 'string') {
|
|
55648
|
+
values = fieldValue.split(',');
|
|
55591
55649
|
} else {
|
|
55592
|
-
values = [
|
|
55650
|
+
values = [fieldValue];
|
|
55593
55651
|
}
|
|
55594
55652
|
this.itemList.forEach(function (item) {
|
|
55595
55653
|
values.forEach(function (val) {
|
|
@@ -55600,7 +55658,7 @@ function SelectFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
|
|
|
55600
55658
|
});
|
|
55601
55659
|
});
|
|
55602
55660
|
this.textValue = textValue;
|
|
55603
|
-
if (textValue === '') this.textValue = this.
|
|
55661
|
+
if (textValue === '') this.textValue = this.getFieldValue();
|
|
55604
55662
|
}
|
|
55605
55663
|
if (this.nodeFieldReadOnly) {
|
|
55606
55664
|
this.placeholder = '';
|
|
@@ -55612,14 +55670,40 @@ function SelectFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
|
|
|
55612
55670
|
this.placeholder = this.placeholder.replace('请输入', '请选择');
|
|
55613
55671
|
}
|
|
55614
55672
|
}
|
|
55673
|
+
},
|
|
55674
|
+
getFieldValue: function getFieldValue() {
|
|
55675
|
+
if (this.model.split('.').length > 1) {
|
|
55676
|
+
if (SelectFieldvue_type_script_lang_js_typeof(this.vo[this.model.split('.')[0]]) === 'object' && this.vo[this.model.split('.')[0]] != null) {
|
|
55677
|
+
return this.vo[this.model.split('.')[0]][this.model.split('.')[1]];
|
|
55678
|
+
} else {
|
|
55679
|
+
return null;
|
|
55680
|
+
}
|
|
55681
|
+
} else {
|
|
55682
|
+
return this.vo[this.model];
|
|
55683
|
+
}
|
|
55684
|
+
},
|
|
55685
|
+
setFieldValue: function setFieldValue(val) {
|
|
55686
|
+
if (this.model.split('.').length > 1) {
|
|
55687
|
+
var valueObj = {};
|
|
55688
|
+
if (SelectFieldvue_type_script_lang_js_typeof(this.vo[this.model.split('.')[0]]) === 'object' && this.vo[this.model.split('.')[0]] != null) {
|
|
55689
|
+
valueObj = this.vo[this.model.split('.')[0]];
|
|
55690
|
+
}
|
|
55691
|
+
valueObj[this.model.split('.')[1]] = val;
|
|
55692
|
+
this.$set(this.vo, this.model.split('.')[0], valueObj);
|
|
55693
|
+
} else {
|
|
55694
|
+
this.$set(this.vo, this.model, val);
|
|
55695
|
+
}
|
|
55696
|
+
},
|
|
55697
|
+
getOptionsName: function getOptionsName() {
|
|
55698
|
+
return this.model.replace('.', '') + 'Options';
|
|
55615
55699
|
}
|
|
55616
55700
|
}
|
|
55617
55701
|
});
|
|
55618
55702
|
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/SelectField.vue?vue&type=script&lang=js
|
|
55619
55703
|
/* harmony default export */ var FormField_SelectFieldvue_type_script_lang_js = (SelectFieldvue_type_script_lang_js);
|
|
55620
|
-
// 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/SelectField.vue?vue&type=style&index=0&id=
|
|
55621
|
-
var
|
|
55622
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/SelectField.vue?vue&type=style&index=0&id=
|
|
55704
|
+
// 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/SelectField.vue?vue&type=style&index=0&id=ad290d08&prod&scoped=true&lang=scss
|
|
55705
|
+
var SelectFieldvue_type_style_index_0_id_ad290d08_prod_scoped_true_lang_scss = __webpack_require__(3882);
|
|
55706
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/SelectField.vue?vue&type=style&index=0&id=ad290d08&prod&scoped=true&lang=scss
|
|
55623
55707
|
|
|
55624
55708
|
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/SelectField.vue
|
|
55625
55709
|
|
|
@@ -55632,18 +55716,18 @@ var SelectFieldvue_type_style_index_0_id_565de7b0_prod_scoped_true_lang_scss = _
|
|
|
55632
55716
|
|
|
55633
55717
|
var SelectField_component = (0,componentNormalizer/* default */.A)(
|
|
55634
55718
|
FormField_SelectFieldvue_type_script_lang_js,
|
|
55635
|
-
|
|
55636
|
-
|
|
55719
|
+
SelectFieldvue_type_template_id_ad290d08_scoped_true_render,
|
|
55720
|
+
SelectFieldvue_type_template_id_ad290d08_scoped_true_staticRenderFns,
|
|
55637
55721
|
false,
|
|
55638
55722
|
null,
|
|
55639
|
-
"
|
|
55723
|
+
"ad290d08",
|
|
55640
55724
|
null
|
|
55641
55725
|
|
|
55642
55726
|
)
|
|
55643
55727
|
|
|
55644
55728
|
/* harmony default export */ var SelectField = (SelectField_component.exports);
|
|
55645
|
-
;// 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/SwitchField.vue?vue&type=template&id=
|
|
55646
|
-
var
|
|
55729
|
+
;// 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/SwitchField.vue?vue&type=template&id=61ed46da&scoped=true
|
|
55730
|
+
var SwitchFieldvue_type_template_id_61ed46da_scoped_true_render = function render() {
|
|
55647
55731
|
var _vm = this,
|
|
55648
55732
|
_c = _vm._self._c;
|
|
55649
55733
|
return _c('div', {
|
|
@@ -55702,9 +55786,10 @@ var SwitchFieldvue_type_template_id_316c7b70_scoped_true_render = function rende
|
|
|
55702
55786
|
}])
|
|
55703
55787
|
})], 1);
|
|
55704
55788
|
};
|
|
55705
|
-
var
|
|
55789
|
+
var SwitchFieldvue_type_template_id_61ed46da_scoped_true_staticRenderFns = [];
|
|
55706
55790
|
|
|
55707
55791
|
;// 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/SwitchField.vue?vue&type=script&lang=js
|
|
55792
|
+
function SwitchFieldvue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return SwitchFieldvue_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; }, SwitchFieldvue_type_script_lang_js_typeof(o); }
|
|
55708
55793
|
/* harmony default export */ var SwitchFieldvue_type_script_lang_js = ({
|
|
55709
55794
|
name: 'SwitchField',
|
|
55710
55795
|
components: {},
|
|
@@ -55768,14 +55853,16 @@ var SwitchFieldvue_type_template_id_316c7b70_scoped_true_staticRenderFns = [];
|
|
|
55768
55853
|
},
|
|
55769
55854
|
beforeDestroy: function beforeDestroy() {},
|
|
55770
55855
|
mounted: function mounted() {
|
|
55771
|
-
|
|
55856
|
+
var fieldValue = this.getFieldValue();
|
|
55857
|
+
if (fieldValue === null && this.defaultValue !== null) {
|
|
55772
55858
|
this.defaultValue = parseInt(this.defaultValue);
|
|
55773
55859
|
if (!isNaN(this.defaultValue)) {
|
|
55774
|
-
this
|
|
55860
|
+
this.setFieldValue(this.defaultValue);
|
|
55775
55861
|
}
|
|
55776
55862
|
}
|
|
55777
55863
|
if (this.nodeFieldReadOnly) {
|
|
55778
|
-
|
|
55864
|
+
fieldValue = this.getFieldValue();
|
|
55865
|
+
if (fieldValue === null || fieldValue === '') this.required = false;
|
|
55779
55866
|
}
|
|
55780
55867
|
},
|
|
55781
55868
|
methods: {
|
|
@@ -55784,14 +55871,37 @@ var SwitchFieldvue_type_template_id_316c7b70_scoped_true_staticRenderFns = [];
|
|
|
55784
55871
|
this.$nextTick(function () {
|
|
55785
55872
|
_this.$bus.emit('setVanCellStyle');
|
|
55786
55873
|
});
|
|
55874
|
+
},
|
|
55875
|
+
getFieldValue: function getFieldValue() {
|
|
55876
|
+
if (this.model.split('.').length > 1) {
|
|
55877
|
+
if (SwitchFieldvue_type_script_lang_js_typeof(this.vo[this.model.split('.')[0]]) === 'object' && this.vo[this.model.split('.')[0]] != null) {
|
|
55878
|
+
return this.vo[this.model.split('.')[0]][this.model.split('.')[1]];
|
|
55879
|
+
} else {
|
|
55880
|
+
return null;
|
|
55881
|
+
}
|
|
55882
|
+
} else {
|
|
55883
|
+
return this.vo[this.model];
|
|
55884
|
+
}
|
|
55885
|
+
},
|
|
55886
|
+
setFieldValue: function setFieldValue(val) {
|
|
55887
|
+
if (this.model.split('.').length > 1) {
|
|
55888
|
+
var valueObj = {};
|
|
55889
|
+
if (SwitchFieldvue_type_script_lang_js_typeof(this.vo[this.model.split('.')[0]]) === 'object' && this.vo[this.model.split('.')[0]] != null) {
|
|
55890
|
+
valueObj = this.vo[this.model.split('.')[0]];
|
|
55891
|
+
}
|
|
55892
|
+
valueObj[this.model.split('.')[1]] = val;
|
|
55893
|
+
this.$set(this.vo, this.model.split('.')[0], valueObj);
|
|
55894
|
+
} else {
|
|
55895
|
+
this.$set(this.vo, this.model, val);
|
|
55896
|
+
}
|
|
55787
55897
|
}
|
|
55788
55898
|
}
|
|
55789
55899
|
});
|
|
55790
55900
|
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/SwitchField.vue?vue&type=script&lang=js
|
|
55791
55901
|
/* harmony default export */ var FormField_SwitchFieldvue_type_script_lang_js = (SwitchFieldvue_type_script_lang_js);
|
|
55792
|
-
// 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/SwitchField.vue?vue&type=style&index=0&id=
|
|
55793
|
-
var
|
|
55794
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/SwitchField.vue?vue&type=style&index=0&id=
|
|
55902
|
+
// 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/SwitchField.vue?vue&type=style&index=0&id=61ed46da&prod&scoped=true&lang=scss
|
|
55903
|
+
var SwitchFieldvue_type_style_index_0_id_61ed46da_prod_scoped_true_lang_scss = __webpack_require__(7763);
|
|
55904
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/SwitchField.vue?vue&type=style&index=0&id=61ed46da&prod&scoped=true&lang=scss
|
|
55795
55905
|
|
|
55796
55906
|
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/SwitchField.vue
|
|
55797
55907
|
|
|
@@ -55804,18 +55914,18 @@ var SwitchFieldvue_type_style_index_0_id_316c7b70_prod_scoped_true_lang_scss = _
|
|
|
55804
55914
|
|
|
55805
55915
|
var SwitchField_component = (0,componentNormalizer/* default */.A)(
|
|
55806
55916
|
FormField_SwitchFieldvue_type_script_lang_js,
|
|
55807
|
-
|
|
55808
|
-
|
|
55917
|
+
SwitchFieldvue_type_template_id_61ed46da_scoped_true_render,
|
|
55918
|
+
SwitchFieldvue_type_template_id_61ed46da_scoped_true_staticRenderFns,
|
|
55809
55919
|
false,
|
|
55810
55920
|
null,
|
|
55811
|
-
"
|
|
55921
|
+
"61ed46da",
|
|
55812
55922
|
null
|
|
55813
55923
|
|
|
55814
55924
|
)
|
|
55815
55925
|
|
|
55816
55926
|
/* harmony default export */ var SwitchField = (SwitchField_component.exports);
|
|
55817
|
-
;// 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/TextareaField.vue?vue&type=template&id=
|
|
55818
|
-
var
|
|
55927
|
+
;// 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/TextareaField.vue?vue&type=template&id=7096be8f&scoped=true
|
|
55928
|
+
var TextareaFieldvue_type_template_id_7096be8f_scoped_true_render = function render() {
|
|
55819
55929
|
var _vm = this,
|
|
55820
55930
|
_c = _vm._self._c;
|
|
55821
55931
|
return _vm.isShowField ? _c('div', {
|
|
@@ -55910,7 +56020,7 @@ var TextareaFieldvue_type_template_id_ca07d32c_scoped_true_render = function ren
|
|
|
55910
56020
|
}
|
|
55911
56021
|
}, [_vm._v(_vm._s(_vm.textName))])]) : _vm._e()], 1) : _vm._e();
|
|
55912
56022
|
};
|
|
55913
|
-
var
|
|
56023
|
+
var TextareaFieldvue_type_template_id_7096be8f_scoped_true_staticRenderFns = [];
|
|
55914
56024
|
|
|
55915
56025
|
;// 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/TextareaField.vue?vue&type=script&lang=js
|
|
55916
56026
|
function TextareaFieldvue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return TextareaFieldvue_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; }, TextareaFieldvue_type_script_lang_js_typeof(o); }
|
|
@@ -56007,7 +56117,8 @@ function TextareaFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !
|
|
|
56007
56117
|
}
|
|
56008
56118
|
}
|
|
56009
56119
|
}
|
|
56010
|
-
|
|
56120
|
+
var fieldValue = this.getFieldValue();
|
|
56121
|
+
if (!this.readonly && fieldValue !== undefined && fieldValue !== null && fieldValue.indexOf('<') !== -1 && fieldValue.indexOf('>') !== -1) {
|
|
56011
56122
|
this.readonly = true;
|
|
56012
56123
|
}
|
|
56013
56124
|
if (!this.placeholder) {
|
|
@@ -56035,7 +56146,8 @@ function TextareaFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !
|
|
|
56035
56146
|
}
|
|
56036
56147
|
if (this.nodeFieldReadOnly) {
|
|
56037
56148
|
this.placeholder = '';
|
|
56038
|
-
|
|
56149
|
+
var fieldValue = this.getFieldValue();
|
|
56150
|
+
if (fieldValue === null || fieldValue === '') this.required = false;
|
|
56039
56151
|
}
|
|
56040
56152
|
if (!(!this.nodeFieldReadOnly && this.maxLength !== '')) {
|
|
56041
56153
|
this.showDetailBtnFun();
|
|
@@ -56106,10 +56218,10 @@ function TextareaFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !
|
|
|
56106
56218
|
if (selected !== '') selected += ',';
|
|
56107
56219
|
selected += item.title || item.text || item.name || item.label;
|
|
56108
56220
|
});
|
|
56109
|
-
_this
|
|
56221
|
+
_this.setFieldValue(selected);
|
|
56110
56222
|
}
|
|
56111
56223
|
}
|
|
56112
|
-
}, _this.
|
|
56224
|
+
}, _this.getFieldValue(), _this.field.dialogMultiple);
|
|
56113
56225
|
} else {
|
|
56114
56226
|
_this3.$dialog.alert({
|
|
56115
56227
|
message: res.message,
|
|
@@ -56168,7 +56280,7 @@ function TextareaFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !
|
|
|
56168
56280
|
if (this.field.optionGenerateMethod) {
|
|
56169
56281
|
condition['option-generate-gethod'] = this.field.optionGenerateMethod;
|
|
56170
56282
|
}
|
|
56171
|
-
var pSelected = this.
|
|
56283
|
+
var pSelected = this.getFieldValue();
|
|
56172
56284
|
if (this.field.valueIdsField && this.field.valueIdsField.indexOf('vo.') === 0) {
|
|
56173
56285
|
pSelected = this.vo[this.field.valueIdsField.substring(this.field.valueIdsField.indexOf('.') + 1)];
|
|
56174
56286
|
} else if (this.field.valueIdsField && this.vo[this.field.valueIdsField]) {
|
|
@@ -56196,7 +56308,7 @@ function TextareaFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !
|
|
|
56196
56308
|
if (selected !== '') selected += '、';
|
|
56197
56309
|
selected += item.title;
|
|
56198
56310
|
});
|
|
56199
|
-
_this
|
|
56311
|
+
_this.setFieldValue(selected);
|
|
56200
56312
|
}
|
|
56201
56313
|
}
|
|
56202
56314
|
}, pSelected);
|
|
@@ -56227,10 +56339,10 @@ function TextareaFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !
|
|
|
56227
56339
|
if (selected !== '') selected += '、';
|
|
56228
56340
|
selected += item.title;
|
|
56229
56341
|
});
|
|
56230
|
-
_this
|
|
56342
|
+
_this.setFieldValue(selected);
|
|
56231
56343
|
}
|
|
56232
56344
|
}
|
|
56233
|
-
}, this.
|
|
56345
|
+
}, this.getFieldValue(), this.field.dialogMultiple);
|
|
56234
56346
|
}
|
|
56235
56347
|
},
|
|
56236
56348
|
onSelectTreeDataLoaded: function onSelectTreeDataLoaded(treedata, condition) {
|
|
@@ -56253,14 +56365,37 @@ function TextareaFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !
|
|
|
56253
56365
|
this.$nextTick(function () {
|
|
56254
56366
|
_this4.updateField = true;
|
|
56255
56367
|
});
|
|
56368
|
+
},
|
|
56369
|
+
getFieldValue: function getFieldValue() {
|
|
56370
|
+
if (this.model.split('.').length > 1) {
|
|
56371
|
+
if (TextareaFieldvue_type_script_lang_js_typeof(this.vo[this.model.split('.')[0]]) === 'object' && this.vo[this.model.split('.')[0]] != null) {
|
|
56372
|
+
return this.vo[this.model.split('.')[0]][this.model.split('.')[1]];
|
|
56373
|
+
} else {
|
|
56374
|
+
return null;
|
|
56375
|
+
}
|
|
56376
|
+
} else {
|
|
56377
|
+
return this.vo[this.model];
|
|
56378
|
+
}
|
|
56379
|
+
},
|
|
56380
|
+
setFieldValue: function setFieldValue(val) {
|
|
56381
|
+
if (this.model.split('.').length > 1) {
|
|
56382
|
+
var valueObj = {};
|
|
56383
|
+
if (TextareaFieldvue_type_script_lang_js_typeof(this.vo[this.model.split('.')[0]]) === 'object' && this.vo[this.model.split('.')[0]] != null) {
|
|
56384
|
+
valueObj = this.vo[this.model.split('.')[0]];
|
|
56385
|
+
}
|
|
56386
|
+
valueObj[this.model.split('.')[1]] = val;
|
|
56387
|
+
this.$set(this.vo, this.model.split('.')[0], valueObj);
|
|
56388
|
+
} else {
|
|
56389
|
+
this.$set(this.vo, this.model, val);
|
|
56390
|
+
}
|
|
56256
56391
|
}
|
|
56257
56392
|
}
|
|
56258
56393
|
});
|
|
56259
56394
|
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/TextareaField.vue?vue&type=script&lang=js
|
|
56260
56395
|
/* harmony default export */ var FormField_TextareaFieldvue_type_script_lang_js = (TextareaFieldvue_type_script_lang_js);
|
|
56261
|
-
// 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/TextareaField.vue?vue&type=style&index=0&id=
|
|
56262
|
-
var
|
|
56263
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/TextareaField.vue?vue&type=style&index=0&id=
|
|
56396
|
+
// 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/TextareaField.vue?vue&type=style&index=0&id=7096be8f&prod&scoped=true&lang=scss
|
|
56397
|
+
var TextareaFieldvue_type_style_index_0_id_7096be8f_prod_scoped_true_lang_scss = __webpack_require__(3107);
|
|
56398
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/TextareaField.vue?vue&type=style&index=0&id=7096be8f&prod&scoped=true&lang=scss
|
|
56264
56399
|
|
|
56265
56400
|
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/TextareaField.vue
|
|
56266
56401
|
|
|
@@ -56273,11 +56408,11 @@ var TextareaFieldvue_type_style_index_0_id_ca07d32c_prod_scoped_true_lang_scss =
|
|
|
56273
56408
|
|
|
56274
56409
|
var TextareaField_component = (0,componentNormalizer/* default */.A)(
|
|
56275
56410
|
FormField_TextareaFieldvue_type_script_lang_js,
|
|
56276
|
-
|
|
56277
|
-
|
|
56411
|
+
TextareaFieldvue_type_template_id_7096be8f_scoped_true_render,
|
|
56412
|
+
TextareaFieldvue_type_template_id_7096be8f_scoped_true_staticRenderFns,
|
|
56278
56413
|
false,
|
|
56279
56414
|
null,
|
|
56280
|
-
"
|
|
56415
|
+
"7096be8f",
|
|
56281
56416
|
null
|
|
56282
56417
|
|
|
56283
56418
|
)
|
|
@@ -63375,8 +63510,8 @@ var SubmitDialog_component = (0,componentNormalizer/* default */.A)(
|
|
|
63375
63510
|
)
|
|
63376
63511
|
|
|
63377
63512
|
/* harmony default export */ var SubmitDialog = (SubmitDialog_component.exports);
|
|
63378
|
-
;// 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/WfNodelogList.vue?vue&type=template&id=
|
|
63379
|
-
var
|
|
63513
|
+
;// 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/WfNodelogList.vue?vue&type=template&id=08c484c7&scoped=true
|
|
63514
|
+
var WfNodelogListvue_type_template_id_08c484c7_scoped_true_render = function render() {
|
|
63380
63515
|
var _vm = this,
|
|
63381
63516
|
_c = _vm._self._c;
|
|
63382
63517
|
return _c('div', {
|
|
@@ -63539,7 +63674,7 @@ var WfNodelogListvue_type_template_id_785b60a7_scoped_true_render = function ren
|
|
|
63539
63674
|
}
|
|
63540
63675
|
}, [_vm._v("收 回")])], 1) : _vm._e()], 1), _c('WriteToReadIdea'), _c('ModifyWflogAddUser'), _c('ModifyWflogForwardTodo')], 1);
|
|
63541
63676
|
};
|
|
63542
|
-
var
|
|
63677
|
+
var WfNodelogListvue_type_template_id_08c484c7_scoped_true_staticRenderFns = [];
|
|
63543
63678
|
|
|
63544
63679
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/ModifyWflogAddUser.vue?vue&type=template&id=897ddfa6&scoped=true
|
|
63545
63680
|
var ModifyWflogAddUservue_type_template_id_897ddfa6_scoped_true_render = function render() {
|
|
@@ -64689,15 +64824,17 @@ var WfNodelogListvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
64689
64824
|
});
|
|
64690
64825
|
});
|
|
64691
64826
|
if (historyNodes.length > 1) {
|
|
64692
|
-
_this6.$bus.emit('openListitemDialog', '
|
|
64827
|
+
_this6.$bus.emit('openListitemDialog', _this6.$tx('ecmapp.wflowform.returnHistory.selectHint', '请选择驳回节点'), historyNodes, function (rst) {
|
|
64693
64828
|
if (rst.code === 'success') {
|
|
64694
64829
|
var historyNode = JSON.parse(rst.value.value);
|
|
64695
64830
|
_this6.returnHistoryNodeSubmit(historyNode);
|
|
64696
64831
|
}
|
|
64697
|
-
}, null, null
|
|
64832
|
+
}, null, null
|
|
64833
|
+
//'rightDialog'
|
|
64834
|
+
);
|
|
64698
64835
|
} else if (historyNodes.length === 1) {
|
|
64699
64836
|
_this6.$dialog.confirm({
|
|
64700
|
-
message: _this6.$tx('
|
|
64837
|
+
message: _this6.$tx('ecmapp.wflowform.returnHistory.confirm', '您是否确认驳回到上一环节?')
|
|
64701
64838
|
}).then(function () {
|
|
64702
64839
|
var historyNode = JSON.parse(historyNodes[0].value);
|
|
64703
64840
|
_this6.returnHistoryNodeSubmit(historyNode);
|
|
@@ -64827,9 +64964,9 @@ var WfNodelogListvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
64827
64964
|
});
|
|
64828
64965
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/WfNodelogList.vue?vue&type=script&lang=js
|
|
64829
64966
|
/* harmony default export */ var src_WfNodelogListvue_type_script_lang_js = (WfNodelogListvue_type_script_lang_js);
|
|
64830
|
-
// 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/WfNodelogList.vue?vue&type=style&index=0&id=
|
|
64831
|
-
var
|
|
64832
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/WfNodelogList.vue?vue&type=style&index=0&id=
|
|
64967
|
+
// 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/WfNodelogList.vue?vue&type=style&index=0&id=08c484c7&prod&scoped=true&lang=scss
|
|
64968
|
+
var WfNodelogListvue_type_style_index_0_id_08c484c7_prod_scoped_true_lang_scss = __webpack_require__(8570);
|
|
64969
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/WfNodelogList.vue?vue&type=style&index=0&id=08c484c7&prod&scoped=true&lang=scss
|
|
64833
64970
|
|
|
64834
64971
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/WfNodelogList.vue
|
|
64835
64972
|
|
|
@@ -64842,11 +64979,11 @@ var WfNodelogListvue_type_style_index_0_id_785b60a7_prod_scoped_true_lang_scss =
|
|
|
64842
64979
|
|
|
64843
64980
|
var WfNodelogList_component = (0,componentNormalizer/* default */.A)(
|
|
64844
64981
|
src_WfNodelogListvue_type_script_lang_js,
|
|
64845
|
-
|
|
64846
|
-
|
|
64982
|
+
WfNodelogListvue_type_template_id_08c484c7_scoped_true_render,
|
|
64983
|
+
WfNodelogListvue_type_template_id_08c484c7_scoped_true_staticRenderFns,
|
|
64847
64984
|
false,
|
|
64848
64985
|
null,
|
|
64849
|
-
"
|
|
64986
|
+
"08c484c7",
|
|
64850
64987
|
null
|
|
64851
64988
|
|
|
64852
64989
|
)
|