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.common.js
CHANGED
|
@@ -6605,6 +6605,10 @@ module.exports = {
|
|
|
6605
6605
|
opinionLabel: '处理意见标签',
|
|
6606
6606
|
reviewComments: '批阅意见'
|
|
6607
6607
|
},
|
|
6608
|
+
returnHistory: {
|
|
6609
|
+
selectHint: '请选择驳回节点',
|
|
6610
|
+
confirm: '您是否确认驳回到上一环节?'
|
|
6611
|
+
},
|
|
6608
6612
|
attachTitle: '{title}({listlength}个)',
|
|
6609
6613
|
attachTitle1: '附件:({item}个)',
|
|
6610
6614
|
togetherUpload: '当前限制选择{limitCount}个文件,本次选择了{valLength}个文件,共选择了{filelength}个文件',
|
|
@@ -6677,7 +6681,6 @@ module.exports = {
|
|
|
6677
6681
|
textTip: '确定',
|
|
6678
6682
|
writReviewComments: '请填写批阅意见',
|
|
6679
6683
|
noWritReview: '您的阅文记录不存在,不能填写批阅意见',
|
|
6680
|
-
returnHistory: '您是否确认驳回到上一环节?',
|
|
6681
6684
|
submitToNet: '您是否确认提交下一环节?'
|
|
6682
6685
|
}
|
|
6683
6686
|
}
|
|
@@ -6843,7 +6846,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "#wapp{position:fixed;top:0;left:0;bott
|
|
|
6843
6846
|
|
|
6844
6847
|
/***/ }),
|
|
6845
6848
|
|
|
6846
|
-
/***/
|
|
6849
|
+
/***/ 501:
|
|
6847
6850
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6848
6851
|
|
|
6849
6852
|
"use strict";
|
|
@@ -6857,7 +6860,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6857
6860
|
|
|
6858
6861
|
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()));
|
|
6859
6862
|
// Module
|
|
6860
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".van-datetime-field[data-v-
|
|
6863
|
+
___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)}", ""]);
|
|
6861
6864
|
// Exports
|
|
6862
6865
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
6863
6866
|
|
|
@@ -6906,7 +6909,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".van-textarea-field[data-v-67219e88]{p
|
|
|
6906
6909
|
|
|
6907
6910
|
/***/ }),
|
|
6908
6911
|
|
|
6909
|
-
/***/
|
|
6912
|
+
/***/ 9542:
|
|
6910
6913
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6911
6914
|
|
|
6912
6915
|
"use strict";
|
|
@@ -6920,14 +6923,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6920
6923
|
|
|
6921
6924
|
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()));
|
|
6922
6925
|
// Module
|
|
6923
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".van-input-field[data-v-
|
|
6926
|
+
___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}", ""]);
|
|
6924
6927
|
// Exports
|
|
6925
6928
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
6926
6929
|
|
|
6927
6930
|
|
|
6928
6931
|
/***/ }),
|
|
6929
6932
|
|
|
6930
|
-
/***/
|
|
6933
|
+
/***/ 5793:
|
|
6931
6934
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6932
6935
|
|
|
6933
6936
|
"use strict";
|
|
@@ -6941,14 +6944,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6941
6944
|
|
|
6942
6945
|
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()));
|
|
6943
6946
|
// Module
|
|
6944
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".van-select-field[data-v-
|
|
6947
|
+
___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)}", ""]);
|
|
6945
6948
|
// Exports
|
|
6946
6949
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
6947
6950
|
|
|
6948
6951
|
|
|
6949
6952
|
/***/ }),
|
|
6950
6953
|
|
|
6951
|
-
/***/
|
|
6954
|
+
/***/ 3575:
|
|
6952
6955
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6953
6956
|
|
|
6954
6957
|
"use strict";
|
|
@@ -6962,14 +6965,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6962
6965
|
|
|
6963
6966
|
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()));
|
|
6964
6967
|
// Module
|
|
6965
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".van-switch-field[data-v-
|
|
6968
|
+
___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)}", ""]);
|
|
6966
6969
|
// Exports
|
|
6967
6970
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
6968
6971
|
|
|
6969
6972
|
|
|
6970
6973
|
/***/ }),
|
|
6971
6974
|
|
|
6972
|
-
/***/
|
|
6975
|
+
/***/ 4375:
|
|
6973
6976
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6974
6977
|
|
|
6975
6978
|
"use strict";
|
|
@@ -6983,7 +6986,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6983
6986
|
|
|
6984
6987
|
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()));
|
|
6985
6988
|
// Module
|
|
6986
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".van-textarea-field[data-v-
|
|
6989
|
+
___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}", ""]);
|
|
6987
6990
|
// Exports
|
|
6988
6991
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
6989
6992
|
|
|
@@ -7610,7 +7613,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".submit-handle-container .idea-button-
|
|
|
7610
7613
|
|
|
7611
7614
|
/***/ }),
|
|
7612
7615
|
|
|
7613
|
-
/***/
|
|
7616
|
+
/***/ 1958:
|
|
7614
7617
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7615
7618
|
|
|
7616
7619
|
"use strict";
|
|
@@ -7624,7 +7627,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7624
7627
|
|
|
7625
7628
|
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()));
|
|
7626
7629
|
// Module
|
|
7627
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".wf-nodelogs-container[data-v-
|
|
7630
|
+
___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}", ""]);
|
|
7628
7631
|
// Exports
|
|
7629
7632
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
7630
7633
|
|
|
@@ -32229,19 +32232,19 @@ var update = add("77e90461", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
32229
32232
|
|
|
32230
32233
|
/***/ }),
|
|
32231
32234
|
|
|
32232
|
-
/***/
|
|
32235
|
+
/***/ 1835:
|
|
32233
32236
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
32234
32237
|
|
|
32235
32238
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
32236
32239
|
|
|
32237
32240
|
// load the styles
|
|
32238
|
-
var content = __webpack_require__(
|
|
32241
|
+
var content = __webpack_require__(501);
|
|
32239
32242
|
if(content.__esModule) content = content.default;
|
|
32240
32243
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
32241
32244
|
if(content.locals) module.exports = content.locals;
|
|
32242
32245
|
// add the styles to the DOM
|
|
32243
32246
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
32244
|
-
var update = add("
|
|
32247
|
+
var update = add("37b56f0f", content, true, {"sourceMap":false,"shadowMode":false});
|
|
32245
32248
|
|
|
32246
32249
|
/***/ }),
|
|
32247
32250
|
|
|
@@ -32277,67 +32280,67 @@ var update = add("3fe91231", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
32277
32280
|
|
|
32278
32281
|
/***/ }),
|
|
32279
32282
|
|
|
32280
|
-
/***/
|
|
32283
|
+
/***/ 864:
|
|
32281
32284
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
32282
32285
|
|
|
32283
32286
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
32284
32287
|
|
|
32285
32288
|
// load the styles
|
|
32286
|
-
var content = __webpack_require__(
|
|
32289
|
+
var content = __webpack_require__(9542);
|
|
32287
32290
|
if(content.__esModule) content = content.default;
|
|
32288
32291
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
32289
32292
|
if(content.locals) module.exports = content.locals;
|
|
32290
32293
|
// add the styles to the DOM
|
|
32291
32294
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
32292
|
-
var update = add("
|
|
32295
|
+
var update = add("52d13035", content, true, {"sourceMap":false,"shadowMode":false});
|
|
32293
32296
|
|
|
32294
32297
|
/***/ }),
|
|
32295
32298
|
|
|
32296
|
-
/***/
|
|
32299
|
+
/***/ 4932:
|
|
32297
32300
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
32298
32301
|
|
|
32299
32302
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
32300
32303
|
|
|
32301
32304
|
// load the styles
|
|
32302
|
-
var content = __webpack_require__(
|
|
32305
|
+
var content = __webpack_require__(5793);
|
|
32303
32306
|
if(content.__esModule) content = content.default;
|
|
32304
32307
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
32305
32308
|
if(content.locals) module.exports = content.locals;
|
|
32306
32309
|
// add the styles to the DOM
|
|
32307
32310
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
32308
|
-
var update = add("
|
|
32311
|
+
var update = add("14c4364d", content, true, {"sourceMap":false,"shadowMode":false});
|
|
32309
32312
|
|
|
32310
32313
|
/***/ }),
|
|
32311
32314
|
|
|
32312
|
-
/***/
|
|
32315
|
+
/***/ 5285:
|
|
32313
32316
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
32314
32317
|
|
|
32315
32318
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
32316
32319
|
|
|
32317
32320
|
// load the styles
|
|
32318
|
-
var content = __webpack_require__(
|
|
32321
|
+
var content = __webpack_require__(3575);
|
|
32319
32322
|
if(content.__esModule) content = content.default;
|
|
32320
32323
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
32321
32324
|
if(content.locals) module.exports = content.locals;
|
|
32322
32325
|
// add the styles to the DOM
|
|
32323
32326
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
32324
|
-
var update = add("
|
|
32327
|
+
var update = add("49a7cd0a", content, true, {"sourceMap":false,"shadowMode":false});
|
|
32325
32328
|
|
|
32326
32329
|
/***/ }),
|
|
32327
32330
|
|
|
32328
|
-
/***/
|
|
32331
|
+
/***/ 1077:
|
|
32329
32332
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
32330
32333
|
|
|
32331
32334
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
32332
32335
|
|
|
32333
32336
|
// load the styles
|
|
32334
|
-
var content = __webpack_require__(
|
|
32337
|
+
var content = __webpack_require__(4375);
|
|
32335
32338
|
if(content.__esModule) content = content.default;
|
|
32336
32339
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
32337
32340
|
if(content.locals) module.exports = content.locals;
|
|
32338
32341
|
// add the styles to the DOM
|
|
32339
32342
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
32340
|
-
var update = add("
|
|
32343
|
+
var update = add("650dc370", content, true, {"sourceMap":false,"shadowMode":false});
|
|
32341
32344
|
|
|
32342
32345
|
/***/ }),
|
|
32343
32346
|
|
|
@@ -32805,19 +32808,19 @@ var update = add("56627598", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
32805
32808
|
|
|
32806
32809
|
/***/ }),
|
|
32807
32810
|
|
|
32808
|
-
/***/
|
|
32811
|
+
/***/ 5932:
|
|
32809
32812
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
32810
32813
|
|
|
32811
32814
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
32812
32815
|
|
|
32813
32816
|
// load the styles
|
|
32814
|
-
var content = __webpack_require__(
|
|
32817
|
+
var content = __webpack_require__(1958);
|
|
32815
32818
|
if(content.__esModule) content = content.default;
|
|
32816
32819
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
32817
32820
|
if(content.locals) module.exports = content.locals;
|
|
32818
32821
|
// add the styles to the DOM
|
|
32819
32822
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
32820
|
-
var update = add("
|
|
32823
|
+
var update = add("70c8e976", content, true, {"sourceMap":false,"shadowMode":false});
|
|
32821
32824
|
|
|
32822
32825
|
/***/ }),
|
|
32823
32826
|
|
|
@@ -40241,30 +40244,34 @@ var wfengine_install = function install(Vue) {
|
|
|
40241
40244
|
});
|
|
40242
40245
|
},
|
|
40243
40246
|
setFlBodyFile: function setFlBodyFile($scope) {
|
|
40244
|
-
$scope.bodyfile =
|
|
40247
|
+
$scope.bodyfile = {
|
|
40248
|
+
file: {
|
|
40249
|
+
name: ''
|
|
40250
|
+
}
|
|
40251
|
+
};
|
|
40245
40252
|
$scope.redTitleFile = null;
|
|
40246
40253
|
$scope.noTracksFile = null;
|
|
40247
40254
|
var canEditBodyfile = false;
|
|
40255
|
+
var canEditFormat = 'doc,docx,xls,xlsx,ppt,pptx'.split(',');
|
|
40248
40256
|
if ($scope.vo.flBodyFilename || $scope.vo.flbodyfilename || $scope.vo.signedFileName) {
|
|
40249
40257
|
var bodyfileName = $scope.vo.flBodyFilename || $scope.vo.flbodyfilename || $scope.vo.signedFileName;
|
|
40250
40258
|
var bydyShortName = bodyfileName.substring(0, bodyfileName.lastIndexOf('.'));
|
|
40251
40259
|
for (var i = 0; i < $scope.attachments.length; i++) {
|
|
40252
40260
|
var attachShortName = $scope.attachments[i].fileName.substring(0, $scope.attachments[i].fileName.lastIndexOf('.'));
|
|
40253
40261
|
if ($scope.attachments[i].fileType.toUpperCase() === 'BODY') {
|
|
40262
|
+
var extName = $scope.attachments[i].originalName.split('.')[1].toLowerCase();
|
|
40254
40263
|
if (attachShortName === bydyShortName || $scope.attachments[i].originalName.split('.')[0] === bydyShortName) {
|
|
40255
|
-
var extName = $scope.attachments[i].originalName.split('.')[1].toLowerCase();
|
|
40256
|
-
|
|
40257
40264
|
// pdf格式优先
|
|
40258
|
-
if (!$scope.bodyfile || extName === 'pdf' || extName === 'ofd') {
|
|
40265
|
+
if (!$scope.bodyfile.id || extName === 'pdf' || extName === 'ofd') {
|
|
40259
40266
|
$scope.bodyfile = $scope.attachments[i];
|
|
40260
40267
|
}
|
|
40261
40268
|
}
|
|
40262
|
-
if (
|
|
40269
|
+
if (canEditFormat.indexOf(extName) !== -1 && $scope.attachments[i].originalName.split('.')[0] === $scope.wfInstance.bodyDocId) {
|
|
40263
40270
|
canEditBodyfile = true;
|
|
40264
40271
|
}
|
|
40265
40272
|
}
|
|
40266
40273
|
}
|
|
40267
|
-
if (!$scope.bodyfile) {
|
|
40274
|
+
if (!$scope.bodyfile.id) {
|
|
40268
40275
|
$scope.attachments.forEach(function (attachment) {
|
|
40269
40276
|
var extName = attachment.originalName.split('.')[1].toLowerCase();
|
|
40270
40277
|
if (attachment.fileType.toUpperCase() === 'BODY' && (extName === 'pdf' || extName === 'ofd')) {
|
|
@@ -40289,7 +40296,7 @@ var wfengine_install = function install(Vue) {
|
|
|
40289
40296
|
} else if (attachment.fileName.indexOf('SignedFile_') === 0) {
|
|
40290
40297
|
$scope.bodyfile = attachment;
|
|
40291
40298
|
}
|
|
40292
|
-
if (
|
|
40299
|
+
if (canEditFormat.indexOf(_extName) !== -1 && attachment.originalName.split('.')[0] === $scope.wfInstance.bodyDocId && attachment.filePath.indexOf('/noTracks/') === -1) {
|
|
40293
40300
|
canEditBodyfile = true;
|
|
40294
40301
|
if ($scope.wfInstance.haveDoc === 0) {
|
|
40295
40302
|
//修正删除正文后haveDoc错误的问题
|
|
@@ -40302,14 +40309,14 @@ var wfengine_install = function install(Vue) {
|
|
|
40302
40309
|
}
|
|
40303
40310
|
}
|
|
40304
40311
|
});
|
|
40305
|
-
if (!$scope.bodyfile) {
|
|
40312
|
+
if (!$scope.bodyfile.id) {
|
|
40306
40313
|
$scope.attachments.forEach(function (attachment) {
|
|
40307
40314
|
if (attachment.fileType.toUpperCase() === 'BODY' && attachment.originalName.split('.')[0] === $scope.wfInstance.bodyDocId) {
|
|
40308
40315
|
var _extName2 = attachment.originalName.split('.')[1].toLowerCase();
|
|
40309
40316
|
if (_extName2 === 'pdf' || _extName2 === 'ofd' || attachment.filePath.indexOf('/noTracks/') !== -1) {
|
|
40310
40317
|
// pdf格式优先、无修订DOC优先
|
|
40311
40318
|
$scope.bodyfile = attachment;
|
|
40312
|
-
} else if (!$scope.bodyfile &&
|
|
40319
|
+
} else if (!$scope.bodyfile.id && canEditFormat.indexOf(_extName2) !== -1) {
|
|
40313
40320
|
//doc格式正文
|
|
40314
40321
|
$scope.bodyfile = attachment;
|
|
40315
40322
|
}
|
|
@@ -40317,7 +40324,7 @@ var wfengine_install = function install(Vue) {
|
|
|
40317
40324
|
});
|
|
40318
40325
|
}
|
|
40319
40326
|
}
|
|
40320
|
-
if ($scope.bodyfile
|
|
40327
|
+
if ($scope.bodyfile.id && ($scope.bodyfile.originalName.indexOf($scope.wfInstance.bodyDocId + '.') === 0 || $scope.bodyfile.fileName.indexOf($scope.wfInstance.bodyDocId + '.') !== -1)) {
|
|
40321
40328
|
if ($scope.bodyfile.fileName.indexOf($scope.wfInstance.bodyDocId + '.') !== -1) {
|
|
40322
40329
|
$scope.bodyfile.bodyFileName = $scope.bodyfile.fileName;
|
|
40323
40330
|
$scope.bodyfile.fileName = $scope.wfInstance.title + '.' + $scope.bodyfile.fileName.split('.')[1];
|
|
@@ -54002,8 +54009,8 @@ var Basicform_src_component = (0,componentNormalizer/* default */.A)(
|
|
|
54002
54009
|
)
|
|
54003
54010
|
|
|
54004
54011
|
/* harmony default export */ var Basicform_src = (Basicform_src_component.exports);
|
|
54005
|
-
;// 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/DatetimeField.vue?vue&type=template&id=
|
|
54006
|
-
var
|
|
54012
|
+
;// 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/DatetimeField.vue?vue&type=template&id=a8eabab6&scoped=true
|
|
54013
|
+
var DatetimeFieldvue_type_template_id_a8eabab6_scoped_true_render = function render() {
|
|
54007
54014
|
var _vm = this,
|
|
54008
54015
|
_c = _vm._self._c;
|
|
54009
54016
|
return _vm.isShowField ? _c('div', {
|
|
@@ -54055,9 +54062,10 @@ var DatetimeFieldvue_type_template_id_9c6da034_scoped_true_render = function ren
|
|
|
54055
54062
|
}], null, false, 397611413)
|
|
54056
54063
|
})], 1) : _vm._e();
|
|
54057
54064
|
};
|
|
54058
|
-
var
|
|
54065
|
+
var DatetimeFieldvue_type_template_id_a8eabab6_scoped_true_staticRenderFns = [];
|
|
54059
54066
|
|
|
54060
54067
|
;// 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/DatetimeField.vue?vue&type=script&lang=js
|
|
54068
|
+
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); }
|
|
54061
54069
|
|
|
54062
54070
|
/* harmony default export */ var DatetimeFieldvue_type_script_lang_js = ({
|
|
54063
54071
|
name: 'DatetimeField',
|
|
@@ -54183,7 +54191,7 @@ var DatetimeFieldvue_type_template_id_9c6da034_scoped_true_staticRenderFns = [];
|
|
|
54183
54191
|
}
|
|
54184
54192
|
},
|
|
54185
54193
|
setDateValue: function setDateValue() {
|
|
54186
|
-
var dateValue = this.
|
|
54194
|
+
var dateValue = this.getFieldValue();
|
|
54187
54195
|
if (typeof dateValue === 'string') {
|
|
54188
54196
|
dateValue = formatTime(dateValue, this.format);
|
|
54189
54197
|
}
|
|
@@ -54192,19 +54200,42 @@ var DatetimeFieldvue_type_template_id_9c6da034_scoped_true_staticRenderFns = [];
|
|
|
54192
54200
|
selectDateTime: function selectDateTime() {
|
|
54193
54201
|
var _this = this;
|
|
54194
54202
|
if (this.nodeFieldReadOnly) return;
|
|
54195
|
-
var curTime = this.
|
|
54203
|
+
var curTime = this.getFieldValue();
|
|
54196
54204
|
this.$bus.emit('openDatetimePicker', curTime, function (rst) {
|
|
54197
|
-
_this
|
|
54205
|
+
_this.setFieldValue(rst);
|
|
54198
54206
|
_this.setDateValue();
|
|
54199
54207
|
}, this.type, this.minDate, this.stepNum);
|
|
54208
|
+
},
|
|
54209
|
+
getFieldValue: function getFieldValue() {
|
|
54210
|
+
if (this.model.split('.').length > 1) {
|
|
54211
|
+
if (DatetimeFieldvue_type_script_lang_js_typeof(this.vo[this.model.split('.')[0]]) === 'object' && this.vo[this.model.split('.')[0]] != null) {
|
|
54212
|
+
return this.vo[this.model.split('.')[0]][this.model.split('.')[1]];
|
|
54213
|
+
} else {
|
|
54214
|
+
return null;
|
|
54215
|
+
}
|
|
54216
|
+
} else {
|
|
54217
|
+
return this.vo[this.model];
|
|
54218
|
+
}
|
|
54219
|
+
},
|
|
54220
|
+
setFieldValue: function setFieldValue(val) {
|
|
54221
|
+
if (this.model.split('.').length > 1) {
|
|
54222
|
+
var valueObj = {};
|
|
54223
|
+
if (DatetimeFieldvue_type_script_lang_js_typeof(this.vo[this.model.split('.')[0]]) === 'object' && this.vo[this.model.split('.')[0]] != null) {
|
|
54224
|
+
valueObj = this.vo[this.model.split('.')[0]];
|
|
54225
|
+
}
|
|
54226
|
+
valueObj[this.model.split('.')[1]] = val;
|
|
54227
|
+
this.$set(this.vo, this.model.split('.')[0], valueObj);
|
|
54228
|
+
} else {
|
|
54229
|
+
this.$set(this.vo, this.model, val);
|
|
54230
|
+
}
|
|
54200
54231
|
}
|
|
54201
54232
|
}
|
|
54202
54233
|
});
|
|
54203
54234
|
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/DatetimeField.vue?vue&type=script&lang=js
|
|
54204
54235
|
/* harmony default export */ var FormField_DatetimeFieldvue_type_script_lang_js = (DatetimeFieldvue_type_script_lang_js);
|
|
54205
|
-
// 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/DatetimeField.vue?vue&type=style&index=0&id=
|
|
54206
|
-
var
|
|
54207
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/DatetimeField.vue?vue&type=style&index=0&id=
|
|
54236
|
+
// 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/DatetimeField.vue?vue&type=style&index=0&id=a8eabab6&prod&scoped=true&lang=scss
|
|
54237
|
+
var DatetimeFieldvue_type_style_index_0_id_a8eabab6_prod_scoped_true_lang_scss = __webpack_require__(1835);
|
|
54238
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/DatetimeField.vue?vue&type=style&index=0&id=a8eabab6&prod&scoped=true&lang=scss
|
|
54208
54239
|
|
|
54209
54240
|
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/DatetimeField.vue
|
|
54210
54241
|
|
|
@@ -54217,11 +54248,11 @@ var DatetimeFieldvue_type_style_index_0_id_9c6da034_prod_scoped_true_lang_scss =
|
|
|
54217
54248
|
|
|
54218
54249
|
var DatetimeField_component = (0,componentNormalizer/* default */.A)(
|
|
54219
54250
|
FormField_DatetimeFieldvue_type_script_lang_js,
|
|
54220
|
-
|
|
54221
|
-
|
|
54251
|
+
DatetimeFieldvue_type_template_id_a8eabab6_scoped_true_render,
|
|
54252
|
+
DatetimeFieldvue_type_template_id_a8eabab6_scoped_true_staticRenderFns,
|
|
54222
54253
|
false,
|
|
54223
54254
|
null,
|
|
54224
|
-
"
|
|
54255
|
+
"a8eabab6",
|
|
54225
54256
|
null
|
|
54226
54257
|
|
|
54227
54258
|
)
|
|
@@ -54643,8 +54674,8 @@ var FileField_component = (0,componentNormalizer/* default */.A)(
|
|
|
54643
54674
|
)
|
|
54644
54675
|
|
|
54645
54676
|
/* harmony default export */ var FileField = (FileField_component.exports);
|
|
54646
|
-
;// 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/InputField.vue?vue&type=template&id=
|
|
54647
|
-
var
|
|
54677
|
+
;// 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/InputField.vue?vue&type=template&id=6ca49595&scoped=true
|
|
54678
|
+
var InputFieldvue_type_template_id_6ca49595_scoped_true_render = function render() {
|
|
54648
54679
|
var _vm = this,
|
|
54649
54680
|
_c = _vm._self._c;
|
|
54650
54681
|
return _vm.isShowField ? _c('div', {
|
|
@@ -54706,7 +54737,7 @@ var InputFieldvue_type_template_id_085e4d48_scoped_true_render = function render
|
|
|
54706
54737
|
}], null, false, 333806362)
|
|
54707
54738
|
}) : _vm._e()], 1) : _vm._e();
|
|
54708
54739
|
};
|
|
54709
|
-
var
|
|
54740
|
+
var InputFieldvue_type_template_id_6ca49595_scoped_true_staticRenderFns = [];
|
|
54710
54741
|
|
|
54711
54742
|
;// CONCATENATED MODULE: ./src/global/filters/index.js
|
|
54712
54743
|
|
|
@@ -54923,7 +54954,8 @@ function InputFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != I
|
|
|
54923
54954
|
}
|
|
54924
54955
|
} else {
|
|
54925
54956
|
this.placeholder = '';
|
|
54926
|
-
|
|
54957
|
+
var fieldValue = this.getFieldValue();
|
|
54958
|
+
if (fieldValue === null || fieldValue === '') this.required = false;
|
|
54927
54959
|
}
|
|
54928
54960
|
},
|
|
54929
54961
|
vo: {
|
|
@@ -54987,33 +55019,34 @@ function InputFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != I
|
|
|
54987
55019
|
}
|
|
54988
55020
|
} else {
|
|
54989
55021
|
this.placeholder = '';
|
|
54990
|
-
|
|
55022
|
+
var fieldValue = this.getFieldValue();
|
|
55023
|
+
if (fieldValue === null || fieldValue === '') this.required = false;
|
|
54991
55024
|
}
|
|
54992
55025
|
},
|
|
54993
55026
|
formatDataValue: function formatDataValue() {
|
|
54994
55027
|
var _this2 = this;
|
|
54995
|
-
this.inputValue = this.
|
|
55028
|
+
this.inputValue = this.getFieldValue();
|
|
54996
55029
|
if (this.textFormatter === 'integer') {
|
|
54997
|
-
if (this.
|
|
55030
|
+
if (this.inputValue === '') {
|
|
54998
55031
|
this.inputValue = null;
|
|
54999
55032
|
} else if (this.defaultValue !== undefined && this.defaultValue !== '' && this.defaultValue !== '') {
|
|
55000
55033
|
this.inputValue = parseInt(this.defaultValue);
|
|
55001
|
-
this.
|
|
55034
|
+
this.setFieldValue(this.inputValue);
|
|
55002
55035
|
}
|
|
55003
55036
|
}
|
|
55004
55037
|
if (this.textFormatter === 'currency1') {
|
|
55005
|
-
if (this.
|
|
55006
|
-
this.inputValue = currency(this.
|
|
55038
|
+
if (this.inputValue !== null && this.inputValue !== '') {
|
|
55039
|
+
this.inputValue = currency(this.inputValue, '');
|
|
55007
55040
|
} else {
|
|
55008
55041
|
this.inputValue = '0.00';
|
|
55009
55042
|
}
|
|
55010
55043
|
if (this.readonly || this.elementReadonly === 1) this.number = false;
|
|
55011
55044
|
} else if (this.textFormatter === 'currency2') {
|
|
55012
|
-
if (this.
|
|
55045
|
+
if (this.inputValue !== null && this.inputValue !== '') {
|
|
55013
55046
|
if (this.readonly) {
|
|
55014
|
-
this.inputValue = !isNaN(Number(this.
|
|
55047
|
+
this.inputValue = !isNaN(Number(this.inputValue)) ? '¥' + Number(this.inputValue).toFixed(2) : this.inputValue;
|
|
55015
55048
|
} else {
|
|
55016
|
-
this.inputValue = !isNaN(Number(this.
|
|
55049
|
+
this.inputValue = !isNaN(Number(this.inputValue)) ? Number(this.inputValue).toFixed(2) : this.inputValue;
|
|
55017
55050
|
}
|
|
55018
55051
|
} else {
|
|
55019
55052
|
this.inputValue = '0.00';
|
|
@@ -55027,6 +55060,29 @@ function InputFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != I
|
|
|
55027
55060
|
}
|
|
55028
55061
|
}, 0);
|
|
55029
55062
|
},
|
|
55063
|
+
getFieldValue: function getFieldValue() {
|
|
55064
|
+
if (this.model.split('.').length > 1) {
|
|
55065
|
+
if (InputFieldvue_type_script_lang_js_typeof(this.vo[this.model.split('.')[0]]) === 'object' && this.vo[this.model.split('.')[0]] != null) {
|
|
55066
|
+
return this.vo[this.model.split('.')[0]][this.model.split('.')[1]];
|
|
55067
|
+
} else {
|
|
55068
|
+
return null;
|
|
55069
|
+
}
|
|
55070
|
+
} else {
|
|
55071
|
+
return this.vo[this.model];
|
|
55072
|
+
}
|
|
55073
|
+
},
|
|
55074
|
+
setFieldValue: function setFieldValue(val) {
|
|
55075
|
+
if (this.model.split('.').length > 1) {
|
|
55076
|
+
var valueObj = {};
|
|
55077
|
+
if (InputFieldvue_type_script_lang_js_typeof(this.vo[this.model.split('.')[0]]) === 'object' && this.vo[this.model.split('.')[0]] != null) {
|
|
55078
|
+
valueObj = this.vo[this.model.split('.')[0]];
|
|
55079
|
+
}
|
|
55080
|
+
valueObj[this.model.split('.')[1]] = val;
|
|
55081
|
+
this.$set(this.vo, this.model.split('.')[0], valueObj);
|
|
55082
|
+
} else {
|
|
55083
|
+
this.$set(this.vo, this.model, val);
|
|
55084
|
+
}
|
|
55085
|
+
},
|
|
55030
55086
|
inputFocus: function inputFocus(event) {
|
|
55031
55087
|
if (this.nodeFieldReadOnly || this.elementReadonly === 1) {
|
|
55032
55088
|
this.isInputFocus = false;
|
|
@@ -55038,7 +55094,7 @@ function InputFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != I
|
|
|
55038
55094
|
inputBlur: function inputBlur() {
|
|
55039
55095
|
var _this3 = this;
|
|
55040
55096
|
this.isInputFocus = false;
|
|
55041
|
-
this
|
|
55097
|
+
this.setFieldValue(this.inputValue === '' ? null : this.inputValue);
|
|
55042
55098
|
this.formatDataValue();
|
|
55043
55099
|
this.updateField = false;
|
|
55044
55100
|
this.$nextTick(function () {
|
|
@@ -55093,10 +55149,10 @@ function InputFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != I
|
|
|
55093
55149
|
if (selected !== '') selected += ',';
|
|
55094
55150
|
selected += item.title || item.text || item.name || item.label;
|
|
55095
55151
|
});
|
|
55096
|
-
_this
|
|
55152
|
+
_this.setFieldValue(selected);
|
|
55097
55153
|
}
|
|
55098
55154
|
}
|
|
55099
|
-
}, _this.
|
|
55155
|
+
}, _this.getFieldValue(), _this.field.dialogMultiple);
|
|
55100
55156
|
} else {
|
|
55101
55157
|
_this4.$dialog.alert({
|
|
55102
55158
|
message: res.message,
|
|
@@ -55188,7 +55244,7 @@ function InputFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != I
|
|
|
55188
55244
|
selectedNames += item.title;
|
|
55189
55245
|
selectedIds += item.id;
|
|
55190
55246
|
});
|
|
55191
|
-
_this
|
|
55247
|
+
_this.setFieldValue(selectedNames);
|
|
55192
55248
|
if (_this4.field.valueIdsField && _this4.field.valueIdsField.indexOf('vo.') === 0) {
|
|
55193
55249
|
_this4.vo[_this4.field.valueIdsField.substring(_this4.field.valueIdsField.indexOf('.') + 1)] = selectedIds;
|
|
55194
55250
|
}
|
|
@@ -55227,7 +55283,7 @@ function InputFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != I
|
|
|
55227
55283
|
selected += item.title;
|
|
55228
55284
|
selectedIds += item.id;
|
|
55229
55285
|
});
|
|
55230
|
-
_this
|
|
55286
|
+
_this.setFieldValue(selected);
|
|
55231
55287
|
if (_this4.field.valueIdsField && _this4.field.valueIdsField.indexOf('vo.') === 0) {
|
|
55232
55288
|
_this4.vo[_this4.field.valueIdsField.substring(_this4.field.valueIdsField.indexOf('.') + 1)] = selectedIds;
|
|
55233
55289
|
}
|
|
@@ -55254,9 +55310,9 @@ function InputFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != I
|
|
|
55254
55310
|
});
|
|
55255
55311
|
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/InputField.vue?vue&type=script&lang=js
|
|
55256
55312
|
/* harmony default export */ var FormField_InputFieldvue_type_script_lang_js = (InputFieldvue_type_script_lang_js);
|
|
55257
|
-
// 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/InputField.vue?vue&type=style&index=0&id=
|
|
55258
|
-
var
|
|
55259
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/InputField.vue?vue&type=style&index=0&id=
|
|
55313
|
+
// 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/InputField.vue?vue&type=style&index=0&id=6ca49595&prod&scoped=true&lang=scss
|
|
55314
|
+
var InputFieldvue_type_style_index_0_id_6ca49595_prod_scoped_true_lang_scss = __webpack_require__(864);
|
|
55315
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/InputField.vue?vue&type=style&index=0&id=6ca49595&prod&scoped=true&lang=scss
|
|
55260
55316
|
|
|
55261
55317
|
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/InputField.vue
|
|
55262
55318
|
|
|
@@ -55269,18 +55325,18 @@ var InputFieldvue_type_style_index_0_id_085e4d48_prod_scoped_true_lang_scss = __
|
|
|
55269
55325
|
|
|
55270
55326
|
var InputField_component = (0,componentNormalizer/* default */.A)(
|
|
55271
55327
|
FormField_InputFieldvue_type_script_lang_js,
|
|
55272
|
-
|
|
55273
|
-
|
|
55328
|
+
InputFieldvue_type_template_id_6ca49595_scoped_true_render,
|
|
55329
|
+
InputFieldvue_type_template_id_6ca49595_scoped_true_staticRenderFns,
|
|
55274
55330
|
false,
|
|
55275
55331
|
null,
|
|
55276
|
-
"
|
|
55332
|
+
"6ca49595",
|
|
55277
55333
|
null
|
|
55278
55334
|
|
|
55279
55335
|
)
|
|
55280
55336
|
|
|
55281
55337
|
/* harmony default export */ var InputField = (InputField_component.exports);
|
|
55282
|
-
;// 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/SelectField.vue?vue&type=template&id=
|
|
55283
|
-
var
|
|
55338
|
+
;// 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/SelectField.vue?vue&type=template&id=ad290d08&scoped=true
|
|
55339
|
+
var SelectFieldvue_type_template_id_ad290d08_scoped_true_render = function render() {
|
|
55284
55340
|
var _vm = this,
|
|
55285
55341
|
_c = _vm._self._c;
|
|
55286
55342
|
return _vm.isShowField ? _c('div', {
|
|
@@ -55332,7 +55388,7 @@ var SelectFieldvue_type_template_id_565de7b0_scoped_true_render = function rende
|
|
|
55332
55388
|
}], null, false, 957041049)
|
|
55333
55389
|
})], 1) : _vm._e();
|
|
55334
55390
|
};
|
|
55335
|
-
var
|
|
55391
|
+
var SelectFieldvue_type_template_id_ad290d08_scoped_true_staticRenderFns = [];
|
|
55336
55392
|
|
|
55337
55393
|
;// 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/SelectField.vue?vue&type=script&lang=js
|
|
55338
55394
|
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); }
|
|
@@ -55495,8 +55551,8 @@ function SelectFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
|
|
|
55495
55551
|
this.isShowField = true;
|
|
55496
55552
|
}
|
|
55497
55553
|
var itemList = [];
|
|
55498
|
-
if (this.vo.passenger && this.vo.passenger[this.
|
|
55499
|
-
itemList = this.vo.passenger[this.
|
|
55554
|
+
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) {
|
|
55555
|
+
itemList = this.vo.passenger[this.getOptionsName()];
|
|
55500
55556
|
} else if (this.options !== undefined && this.options !== null) {
|
|
55501
55557
|
// console.log(this.options)
|
|
55502
55558
|
var options = JSON.parse(this.options);
|
|
@@ -55545,11 +55601,11 @@ function SelectFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
|
|
|
55545
55601
|
if (values !== '') values += ',';
|
|
55546
55602
|
values += item.value;
|
|
55547
55603
|
});
|
|
55548
|
-
_this
|
|
55604
|
+
_this.setFieldValue(values);
|
|
55549
55605
|
} else if (_this4.propType === 'Short' || _this4.propType === 'Integer' || _this4.propType === 'Lang') {
|
|
55550
|
-
_this
|
|
55606
|
+
_this.setFieldValue(parseInt(res.value.value));
|
|
55551
55607
|
} else {
|
|
55552
|
-
_this
|
|
55608
|
+
_this.setFieldValue(res.value.value);
|
|
55553
55609
|
}
|
|
55554
55610
|
_this4.setTextValue();
|
|
55555
55611
|
if (_this4.onClickEvent && _this4.onClickEvent.indexOf('@change') !== -1 && _this4.onClickEvent.indexOf('=') !== -1) {
|
|
@@ -55567,19 +55623,21 @@ function SelectFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
|
|
|
55567
55623
|
}
|
|
55568
55624
|
}
|
|
55569
55625
|
}
|
|
55570
|
-
}, this.
|
|
55626
|
+
}, this.getFieldValue(), this.multiple);
|
|
55571
55627
|
},
|
|
55572
55628
|
setTextValue: function setTextValue() {
|
|
55573
|
-
|
|
55574
|
-
|
|
55629
|
+
var fieldValue = this.getFieldValue();
|
|
55630
|
+
if (fieldValue === null && this.defaultValue !== undefined && this.defaultValue !== '' && this.defaultValue !== '') {
|
|
55631
|
+
this.setFieldValue(this.defaultValue);
|
|
55575
55632
|
}
|
|
55576
|
-
|
|
55633
|
+
fieldValue = this.getFieldValue();
|
|
55634
|
+
if (fieldValue !== undefined && fieldValue !== null) {
|
|
55577
55635
|
var textValue = '';
|
|
55578
55636
|
var values = [];
|
|
55579
|
-
if (typeof
|
|
55580
|
-
values =
|
|
55637
|
+
if (typeof fieldValue === 'string') {
|
|
55638
|
+
values = fieldValue.split(',');
|
|
55581
55639
|
} else {
|
|
55582
|
-
values = [
|
|
55640
|
+
values = [fieldValue];
|
|
55583
55641
|
}
|
|
55584
55642
|
this.itemList.forEach(function (item) {
|
|
55585
55643
|
values.forEach(function (val) {
|
|
@@ -55590,7 +55648,7 @@ function SelectFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
|
|
|
55590
55648
|
});
|
|
55591
55649
|
});
|
|
55592
55650
|
this.textValue = textValue;
|
|
55593
|
-
if (textValue === '') this.textValue = this.
|
|
55651
|
+
if (textValue === '') this.textValue = this.getFieldValue();
|
|
55594
55652
|
}
|
|
55595
55653
|
if (this.nodeFieldReadOnly) {
|
|
55596
55654
|
this.placeholder = '';
|
|
@@ -55602,14 +55660,40 @@ function SelectFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
|
|
|
55602
55660
|
this.placeholder = this.placeholder.replace('请输入', '请选择');
|
|
55603
55661
|
}
|
|
55604
55662
|
}
|
|
55663
|
+
},
|
|
55664
|
+
getFieldValue: function getFieldValue() {
|
|
55665
|
+
if (this.model.split('.').length > 1) {
|
|
55666
|
+
if (SelectFieldvue_type_script_lang_js_typeof(this.vo[this.model.split('.')[0]]) === 'object' && this.vo[this.model.split('.')[0]] != null) {
|
|
55667
|
+
return this.vo[this.model.split('.')[0]][this.model.split('.')[1]];
|
|
55668
|
+
} else {
|
|
55669
|
+
return null;
|
|
55670
|
+
}
|
|
55671
|
+
} else {
|
|
55672
|
+
return this.vo[this.model];
|
|
55673
|
+
}
|
|
55674
|
+
},
|
|
55675
|
+
setFieldValue: function setFieldValue(val) {
|
|
55676
|
+
if (this.model.split('.').length > 1) {
|
|
55677
|
+
var valueObj = {};
|
|
55678
|
+
if (SelectFieldvue_type_script_lang_js_typeof(this.vo[this.model.split('.')[0]]) === 'object' && this.vo[this.model.split('.')[0]] != null) {
|
|
55679
|
+
valueObj = this.vo[this.model.split('.')[0]];
|
|
55680
|
+
}
|
|
55681
|
+
valueObj[this.model.split('.')[1]] = val;
|
|
55682
|
+
this.$set(this.vo, this.model.split('.')[0], valueObj);
|
|
55683
|
+
} else {
|
|
55684
|
+
this.$set(this.vo, this.model, val);
|
|
55685
|
+
}
|
|
55686
|
+
},
|
|
55687
|
+
getOptionsName: function getOptionsName() {
|
|
55688
|
+
return this.model.replace('.', '') + 'Options';
|
|
55605
55689
|
}
|
|
55606
55690
|
}
|
|
55607
55691
|
});
|
|
55608
55692
|
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/SelectField.vue?vue&type=script&lang=js
|
|
55609
55693
|
/* harmony default export */ var FormField_SelectFieldvue_type_script_lang_js = (SelectFieldvue_type_script_lang_js);
|
|
55610
|
-
// 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/SelectField.vue?vue&type=style&index=0&id=
|
|
55611
|
-
var
|
|
55612
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/SelectField.vue?vue&type=style&index=0&id=
|
|
55694
|
+
// 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/SelectField.vue?vue&type=style&index=0&id=ad290d08&prod&scoped=true&lang=scss
|
|
55695
|
+
var SelectFieldvue_type_style_index_0_id_ad290d08_prod_scoped_true_lang_scss = __webpack_require__(4932);
|
|
55696
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/SelectField.vue?vue&type=style&index=0&id=ad290d08&prod&scoped=true&lang=scss
|
|
55613
55697
|
|
|
55614
55698
|
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/SelectField.vue
|
|
55615
55699
|
|
|
@@ -55622,18 +55706,18 @@ var SelectFieldvue_type_style_index_0_id_565de7b0_prod_scoped_true_lang_scss = _
|
|
|
55622
55706
|
|
|
55623
55707
|
var SelectField_component = (0,componentNormalizer/* default */.A)(
|
|
55624
55708
|
FormField_SelectFieldvue_type_script_lang_js,
|
|
55625
|
-
|
|
55626
|
-
|
|
55709
|
+
SelectFieldvue_type_template_id_ad290d08_scoped_true_render,
|
|
55710
|
+
SelectFieldvue_type_template_id_ad290d08_scoped_true_staticRenderFns,
|
|
55627
55711
|
false,
|
|
55628
55712
|
null,
|
|
55629
|
-
"
|
|
55713
|
+
"ad290d08",
|
|
55630
55714
|
null
|
|
55631
55715
|
|
|
55632
55716
|
)
|
|
55633
55717
|
|
|
55634
55718
|
/* harmony default export */ var SelectField = (SelectField_component.exports);
|
|
55635
|
-
;// 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/SwitchField.vue?vue&type=template&id=
|
|
55636
|
-
var
|
|
55719
|
+
;// 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/SwitchField.vue?vue&type=template&id=61ed46da&scoped=true
|
|
55720
|
+
var SwitchFieldvue_type_template_id_61ed46da_scoped_true_render = function render() {
|
|
55637
55721
|
var _vm = this,
|
|
55638
55722
|
_c = _vm._self._c;
|
|
55639
55723
|
return _c('div', {
|
|
@@ -55692,9 +55776,10 @@ var SwitchFieldvue_type_template_id_316c7b70_scoped_true_render = function rende
|
|
|
55692
55776
|
}])
|
|
55693
55777
|
})], 1);
|
|
55694
55778
|
};
|
|
55695
|
-
var
|
|
55779
|
+
var SwitchFieldvue_type_template_id_61ed46da_scoped_true_staticRenderFns = [];
|
|
55696
55780
|
|
|
55697
55781
|
;// 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/SwitchField.vue?vue&type=script&lang=js
|
|
55782
|
+
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); }
|
|
55698
55783
|
/* harmony default export */ var SwitchFieldvue_type_script_lang_js = ({
|
|
55699
55784
|
name: 'SwitchField',
|
|
55700
55785
|
components: {},
|
|
@@ -55758,14 +55843,16 @@ var SwitchFieldvue_type_template_id_316c7b70_scoped_true_staticRenderFns = [];
|
|
|
55758
55843
|
},
|
|
55759
55844
|
beforeDestroy: function beforeDestroy() {},
|
|
55760
55845
|
mounted: function mounted() {
|
|
55761
|
-
|
|
55846
|
+
var fieldValue = this.getFieldValue();
|
|
55847
|
+
if (fieldValue === null && this.defaultValue !== null) {
|
|
55762
55848
|
this.defaultValue = parseInt(this.defaultValue);
|
|
55763
55849
|
if (!isNaN(this.defaultValue)) {
|
|
55764
|
-
this
|
|
55850
|
+
this.setFieldValue(this.defaultValue);
|
|
55765
55851
|
}
|
|
55766
55852
|
}
|
|
55767
55853
|
if (this.nodeFieldReadOnly) {
|
|
55768
|
-
|
|
55854
|
+
fieldValue = this.getFieldValue();
|
|
55855
|
+
if (fieldValue === null || fieldValue === '') this.required = false;
|
|
55769
55856
|
}
|
|
55770
55857
|
},
|
|
55771
55858
|
methods: {
|
|
@@ -55774,14 +55861,37 @@ var SwitchFieldvue_type_template_id_316c7b70_scoped_true_staticRenderFns = [];
|
|
|
55774
55861
|
this.$nextTick(function () {
|
|
55775
55862
|
_this.$bus.emit('setVanCellStyle');
|
|
55776
55863
|
});
|
|
55864
|
+
},
|
|
55865
|
+
getFieldValue: function getFieldValue() {
|
|
55866
|
+
if (this.model.split('.').length > 1) {
|
|
55867
|
+
if (SwitchFieldvue_type_script_lang_js_typeof(this.vo[this.model.split('.')[0]]) === 'object' && this.vo[this.model.split('.')[0]] != null) {
|
|
55868
|
+
return this.vo[this.model.split('.')[0]][this.model.split('.')[1]];
|
|
55869
|
+
} else {
|
|
55870
|
+
return null;
|
|
55871
|
+
}
|
|
55872
|
+
} else {
|
|
55873
|
+
return this.vo[this.model];
|
|
55874
|
+
}
|
|
55875
|
+
},
|
|
55876
|
+
setFieldValue: function setFieldValue(val) {
|
|
55877
|
+
if (this.model.split('.').length > 1) {
|
|
55878
|
+
var valueObj = {};
|
|
55879
|
+
if (SwitchFieldvue_type_script_lang_js_typeof(this.vo[this.model.split('.')[0]]) === 'object' && this.vo[this.model.split('.')[0]] != null) {
|
|
55880
|
+
valueObj = this.vo[this.model.split('.')[0]];
|
|
55881
|
+
}
|
|
55882
|
+
valueObj[this.model.split('.')[1]] = val;
|
|
55883
|
+
this.$set(this.vo, this.model.split('.')[0], valueObj);
|
|
55884
|
+
} else {
|
|
55885
|
+
this.$set(this.vo, this.model, val);
|
|
55886
|
+
}
|
|
55777
55887
|
}
|
|
55778
55888
|
}
|
|
55779
55889
|
});
|
|
55780
55890
|
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/SwitchField.vue?vue&type=script&lang=js
|
|
55781
55891
|
/* harmony default export */ var FormField_SwitchFieldvue_type_script_lang_js = (SwitchFieldvue_type_script_lang_js);
|
|
55782
|
-
// 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/SwitchField.vue?vue&type=style&index=0&id=
|
|
55783
|
-
var
|
|
55784
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/SwitchField.vue?vue&type=style&index=0&id=
|
|
55892
|
+
// 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/SwitchField.vue?vue&type=style&index=0&id=61ed46da&prod&scoped=true&lang=scss
|
|
55893
|
+
var SwitchFieldvue_type_style_index_0_id_61ed46da_prod_scoped_true_lang_scss = __webpack_require__(5285);
|
|
55894
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/SwitchField.vue?vue&type=style&index=0&id=61ed46da&prod&scoped=true&lang=scss
|
|
55785
55895
|
|
|
55786
55896
|
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/SwitchField.vue
|
|
55787
55897
|
|
|
@@ -55794,18 +55904,18 @@ var SwitchFieldvue_type_style_index_0_id_316c7b70_prod_scoped_true_lang_scss = _
|
|
|
55794
55904
|
|
|
55795
55905
|
var SwitchField_component = (0,componentNormalizer/* default */.A)(
|
|
55796
55906
|
FormField_SwitchFieldvue_type_script_lang_js,
|
|
55797
|
-
|
|
55798
|
-
|
|
55907
|
+
SwitchFieldvue_type_template_id_61ed46da_scoped_true_render,
|
|
55908
|
+
SwitchFieldvue_type_template_id_61ed46da_scoped_true_staticRenderFns,
|
|
55799
55909
|
false,
|
|
55800
55910
|
null,
|
|
55801
|
-
"
|
|
55911
|
+
"61ed46da",
|
|
55802
55912
|
null
|
|
55803
55913
|
|
|
55804
55914
|
)
|
|
55805
55915
|
|
|
55806
55916
|
/* harmony default export */ var SwitchField = (SwitchField_component.exports);
|
|
55807
|
-
;// 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/TextareaField.vue?vue&type=template&id=
|
|
55808
|
-
var
|
|
55917
|
+
;// 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/TextareaField.vue?vue&type=template&id=7096be8f&scoped=true
|
|
55918
|
+
var TextareaFieldvue_type_template_id_7096be8f_scoped_true_render = function render() {
|
|
55809
55919
|
var _vm = this,
|
|
55810
55920
|
_c = _vm._self._c;
|
|
55811
55921
|
return _vm.isShowField ? _c('div', {
|
|
@@ -55900,7 +56010,7 @@ var TextareaFieldvue_type_template_id_ca07d32c_scoped_true_render = function ren
|
|
|
55900
56010
|
}
|
|
55901
56011
|
}, [_vm._v(_vm._s(_vm.textName))])]) : _vm._e()], 1) : _vm._e();
|
|
55902
56012
|
};
|
|
55903
|
-
var
|
|
56013
|
+
var TextareaFieldvue_type_template_id_7096be8f_scoped_true_staticRenderFns = [];
|
|
55904
56014
|
|
|
55905
56015
|
;// 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/TextareaField.vue?vue&type=script&lang=js
|
|
55906
56016
|
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); }
|
|
@@ -55997,7 +56107,8 @@ function TextareaFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !
|
|
|
55997
56107
|
}
|
|
55998
56108
|
}
|
|
55999
56109
|
}
|
|
56000
|
-
|
|
56110
|
+
var fieldValue = this.getFieldValue();
|
|
56111
|
+
if (!this.readonly && fieldValue !== undefined && fieldValue !== null && fieldValue.indexOf('<') !== -1 && fieldValue.indexOf('>') !== -1) {
|
|
56001
56112
|
this.readonly = true;
|
|
56002
56113
|
}
|
|
56003
56114
|
if (!this.placeholder) {
|
|
@@ -56025,7 +56136,8 @@ function TextareaFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !
|
|
|
56025
56136
|
}
|
|
56026
56137
|
if (this.nodeFieldReadOnly) {
|
|
56027
56138
|
this.placeholder = '';
|
|
56028
|
-
|
|
56139
|
+
var fieldValue = this.getFieldValue();
|
|
56140
|
+
if (fieldValue === null || fieldValue === '') this.required = false;
|
|
56029
56141
|
}
|
|
56030
56142
|
if (!(!this.nodeFieldReadOnly && this.maxLength !== '')) {
|
|
56031
56143
|
this.showDetailBtnFun();
|
|
@@ -56096,10 +56208,10 @@ function TextareaFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !
|
|
|
56096
56208
|
if (selected !== '') selected += ',';
|
|
56097
56209
|
selected += item.title || item.text || item.name || item.label;
|
|
56098
56210
|
});
|
|
56099
|
-
_this
|
|
56211
|
+
_this.setFieldValue(selected);
|
|
56100
56212
|
}
|
|
56101
56213
|
}
|
|
56102
|
-
}, _this.
|
|
56214
|
+
}, _this.getFieldValue(), _this.field.dialogMultiple);
|
|
56103
56215
|
} else {
|
|
56104
56216
|
_this3.$dialog.alert({
|
|
56105
56217
|
message: res.message,
|
|
@@ -56158,7 +56270,7 @@ function TextareaFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !
|
|
|
56158
56270
|
if (this.field.optionGenerateMethod) {
|
|
56159
56271
|
condition['option-generate-gethod'] = this.field.optionGenerateMethod;
|
|
56160
56272
|
}
|
|
56161
|
-
var pSelected = this.
|
|
56273
|
+
var pSelected = this.getFieldValue();
|
|
56162
56274
|
if (this.field.valueIdsField && this.field.valueIdsField.indexOf('vo.') === 0) {
|
|
56163
56275
|
pSelected = this.vo[this.field.valueIdsField.substring(this.field.valueIdsField.indexOf('.') + 1)];
|
|
56164
56276
|
} else if (this.field.valueIdsField && this.vo[this.field.valueIdsField]) {
|
|
@@ -56186,7 +56298,7 @@ function TextareaFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !
|
|
|
56186
56298
|
if (selected !== '') selected += '、';
|
|
56187
56299
|
selected += item.title;
|
|
56188
56300
|
});
|
|
56189
|
-
_this
|
|
56301
|
+
_this.setFieldValue(selected);
|
|
56190
56302
|
}
|
|
56191
56303
|
}
|
|
56192
56304
|
}, pSelected);
|
|
@@ -56217,10 +56329,10 @@ function TextareaFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !
|
|
|
56217
56329
|
if (selected !== '') selected += '、';
|
|
56218
56330
|
selected += item.title;
|
|
56219
56331
|
});
|
|
56220
|
-
_this
|
|
56332
|
+
_this.setFieldValue(selected);
|
|
56221
56333
|
}
|
|
56222
56334
|
}
|
|
56223
|
-
}, this.
|
|
56335
|
+
}, this.getFieldValue(), this.field.dialogMultiple);
|
|
56224
56336
|
}
|
|
56225
56337
|
},
|
|
56226
56338
|
onSelectTreeDataLoaded: function onSelectTreeDataLoaded(treedata, condition) {
|
|
@@ -56243,14 +56355,37 @@ function TextareaFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !
|
|
|
56243
56355
|
this.$nextTick(function () {
|
|
56244
56356
|
_this4.updateField = true;
|
|
56245
56357
|
});
|
|
56358
|
+
},
|
|
56359
|
+
getFieldValue: function getFieldValue() {
|
|
56360
|
+
if (this.model.split('.').length > 1) {
|
|
56361
|
+
if (TextareaFieldvue_type_script_lang_js_typeof(this.vo[this.model.split('.')[0]]) === 'object' && this.vo[this.model.split('.')[0]] != null) {
|
|
56362
|
+
return this.vo[this.model.split('.')[0]][this.model.split('.')[1]];
|
|
56363
|
+
} else {
|
|
56364
|
+
return null;
|
|
56365
|
+
}
|
|
56366
|
+
} else {
|
|
56367
|
+
return this.vo[this.model];
|
|
56368
|
+
}
|
|
56369
|
+
},
|
|
56370
|
+
setFieldValue: function setFieldValue(val) {
|
|
56371
|
+
if (this.model.split('.').length > 1) {
|
|
56372
|
+
var valueObj = {};
|
|
56373
|
+
if (TextareaFieldvue_type_script_lang_js_typeof(this.vo[this.model.split('.')[0]]) === 'object' && this.vo[this.model.split('.')[0]] != null) {
|
|
56374
|
+
valueObj = this.vo[this.model.split('.')[0]];
|
|
56375
|
+
}
|
|
56376
|
+
valueObj[this.model.split('.')[1]] = val;
|
|
56377
|
+
this.$set(this.vo, this.model.split('.')[0], valueObj);
|
|
56378
|
+
} else {
|
|
56379
|
+
this.$set(this.vo, this.model, val);
|
|
56380
|
+
}
|
|
56246
56381
|
}
|
|
56247
56382
|
}
|
|
56248
56383
|
});
|
|
56249
56384
|
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/TextareaField.vue?vue&type=script&lang=js
|
|
56250
56385
|
/* harmony default export */ var FormField_TextareaFieldvue_type_script_lang_js = (TextareaFieldvue_type_script_lang_js);
|
|
56251
|
-
// 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/TextareaField.vue?vue&type=style&index=0&id=
|
|
56252
|
-
var
|
|
56253
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/TextareaField.vue?vue&type=style&index=0&id=
|
|
56386
|
+
// 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/TextareaField.vue?vue&type=style&index=0&id=7096be8f&prod&scoped=true&lang=scss
|
|
56387
|
+
var TextareaFieldvue_type_style_index_0_id_7096be8f_prod_scoped_true_lang_scss = __webpack_require__(1077);
|
|
56388
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/TextareaField.vue?vue&type=style&index=0&id=7096be8f&prod&scoped=true&lang=scss
|
|
56254
56389
|
|
|
56255
56390
|
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/TextareaField.vue
|
|
56256
56391
|
|
|
@@ -56263,11 +56398,11 @@ var TextareaFieldvue_type_style_index_0_id_ca07d32c_prod_scoped_true_lang_scss =
|
|
|
56263
56398
|
|
|
56264
56399
|
var TextareaField_component = (0,componentNormalizer/* default */.A)(
|
|
56265
56400
|
FormField_TextareaFieldvue_type_script_lang_js,
|
|
56266
|
-
|
|
56267
|
-
|
|
56401
|
+
TextareaFieldvue_type_template_id_7096be8f_scoped_true_render,
|
|
56402
|
+
TextareaFieldvue_type_template_id_7096be8f_scoped_true_staticRenderFns,
|
|
56268
56403
|
false,
|
|
56269
56404
|
null,
|
|
56270
|
-
"
|
|
56405
|
+
"7096be8f",
|
|
56271
56406
|
null
|
|
56272
56407
|
|
|
56273
56408
|
)
|
|
@@ -63365,8 +63500,8 @@ var SubmitDialog_component = (0,componentNormalizer/* default */.A)(
|
|
|
63365
63500
|
)
|
|
63366
63501
|
|
|
63367
63502
|
/* harmony default export */ var SubmitDialog = (SubmitDialog_component.exports);
|
|
63368
|
-
;// 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/WfNodelogList.vue?vue&type=template&id=
|
|
63369
|
-
var
|
|
63503
|
+
;// 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/WfNodelogList.vue?vue&type=template&id=08c484c7&scoped=true
|
|
63504
|
+
var WfNodelogListvue_type_template_id_08c484c7_scoped_true_render = function render() {
|
|
63370
63505
|
var _vm = this,
|
|
63371
63506
|
_c = _vm._self._c;
|
|
63372
63507
|
return _c('div', {
|
|
@@ -63529,7 +63664,7 @@ var WfNodelogListvue_type_template_id_785b60a7_scoped_true_render = function ren
|
|
|
63529
63664
|
}
|
|
63530
63665
|
}, [_vm._v("收 回")])], 1) : _vm._e()], 1), _c('WriteToReadIdea'), _c('ModifyWflogAddUser'), _c('ModifyWflogForwardTodo')], 1);
|
|
63531
63666
|
};
|
|
63532
|
-
var
|
|
63667
|
+
var WfNodelogListvue_type_template_id_08c484c7_scoped_true_staticRenderFns = [];
|
|
63533
63668
|
|
|
63534
63669
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/ModifyWflogAddUser.vue?vue&type=template&id=897ddfa6&scoped=true
|
|
63535
63670
|
var ModifyWflogAddUservue_type_template_id_897ddfa6_scoped_true_render = function render() {
|
|
@@ -64679,15 +64814,17 @@ var WfNodelogListvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
64679
64814
|
});
|
|
64680
64815
|
});
|
|
64681
64816
|
if (historyNodes.length > 1) {
|
|
64682
|
-
_this6.$bus.emit('openListitemDialog', '
|
|
64817
|
+
_this6.$bus.emit('openListitemDialog', _this6.$tx('ecmapp.wflowform.returnHistory.selectHint', '请选择驳回节点'), historyNodes, function (rst) {
|
|
64683
64818
|
if (rst.code === 'success') {
|
|
64684
64819
|
var historyNode = JSON.parse(rst.value.value);
|
|
64685
64820
|
_this6.returnHistoryNodeSubmit(historyNode);
|
|
64686
64821
|
}
|
|
64687
|
-
}, null, null
|
|
64822
|
+
}, null, null
|
|
64823
|
+
//'rightDialog'
|
|
64824
|
+
);
|
|
64688
64825
|
} else if (historyNodes.length === 1) {
|
|
64689
64826
|
_this6.$dialog.confirm({
|
|
64690
|
-
message: _this6.$tx('
|
|
64827
|
+
message: _this6.$tx('ecmapp.wflowform.returnHistory.confirm', '您是否确认驳回到上一环节?')
|
|
64691
64828
|
}).then(function () {
|
|
64692
64829
|
var historyNode = JSON.parse(historyNodes[0].value);
|
|
64693
64830
|
_this6.returnHistoryNodeSubmit(historyNode);
|
|
@@ -64817,9 +64954,9 @@ var WfNodelogListvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
64817
64954
|
});
|
|
64818
64955
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/WfNodelogList.vue?vue&type=script&lang=js
|
|
64819
64956
|
/* harmony default export */ var src_WfNodelogListvue_type_script_lang_js = (WfNodelogListvue_type_script_lang_js);
|
|
64820
|
-
// 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/WfNodelogList.vue?vue&type=style&index=0&id=
|
|
64821
|
-
var
|
|
64822
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/WfNodelogList.vue?vue&type=style&index=0&id=
|
|
64957
|
+
// 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/WfNodelogList.vue?vue&type=style&index=0&id=08c484c7&prod&scoped=true&lang=scss
|
|
64958
|
+
var WfNodelogListvue_type_style_index_0_id_08c484c7_prod_scoped_true_lang_scss = __webpack_require__(5932);
|
|
64959
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/WfNodelogList.vue?vue&type=style&index=0&id=08c484c7&prod&scoped=true&lang=scss
|
|
64823
64960
|
|
|
64824
64961
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/WfNodelogList.vue
|
|
64825
64962
|
|
|
@@ -64832,11 +64969,11 @@ var WfNodelogListvue_type_style_index_0_id_785b60a7_prod_scoped_true_lang_scss =
|
|
|
64832
64969
|
|
|
64833
64970
|
var WfNodelogList_component = (0,componentNormalizer/* default */.A)(
|
|
64834
64971
|
src_WfNodelogListvue_type_script_lang_js,
|
|
64835
|
-
|
|
64836
|
-
|
|
64972
|
+
WfNodelogListvue_type_template_id_08c484c7_scoped_true_render,
|
|
64973
|
+
WfNodelogListvue_type_template_id_08c484c7_scoped_true_staticRenderFns,
|
|
64837
64974
|
false,
|
|
64838
64975
|
null,
|
|
64839
|
-
"
|
|
64976
|
+
"08c484c7",
|
|
64840
64977
|
null
|
|
64841
64978
|
|
|
64842
64979
|
)
|