ecinc-cloud-mappaio 9.6.99 → 9.6.100
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 +254 -122
- package/lib/ecmappaio.umd.js +254 -122
- package/lib/ecmappaio.umd.min.js +4 -4
- package/package.json +1 -1
package/lib/ecmappaio.umd.js
CHANGED
|
@@ -6853,7 +6853,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "#wapp{position:fixed;top:0;left:0;bott
|
|
|
6853
6853
|
|
|
6854
6854
|
/***/ }),
|
|
6855
6855
|
|
|
6856
|
-
/***/
|
|
6856
|
+
/***/ 5781:
|
|
6857
6857
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6858
6858
|
|
|
6859
6859
|
"use strict";
|
|
@@ -6867,7 +6867,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6867
6867
|
|
|
6868
6868
|
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
6869
|
// Module
|
|
6870
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".van-datetime-field[data-v-
|
|
6870
|
+
___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
6871
|
// Exports
|
|
6872
6872
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
6873
6873
|
|
|
@@ -6916,7 +6916,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".van-textarea-field[data-v-67219e88]{p
|
|
|
6916
6916
|
|
|
6917
6917
|
/***/ }),
|
|
6918
6918
|
|
|
6919
|
-
/***/
|
|
6919
|
+
/***/ 6246:
|
|
6920
6920
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6921
6921
|
|
|
6922
6922
|
"use strict";
|
|
@@ -6930,14 +6930,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6930
6930
|
|
|
6931
6931
|
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
6932
|
// Module
|
|
6933
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".van-input-field[data-v-
|
|
6933
|
+
___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
6934
|
// Exports
|
|
6935
6935
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
6936
6936
|
|
|
6937
6937
|
|
|
6938
6938
|
/***/ }),
|
|
6939
6939
|
|
|
6940
|
-
/***/
|
|
6940
|
+
/***/ 2894:
|
|
6941
6941
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6942
6942
|
|
|
6943
6943
|
"use strict";
|
|
@@ -6951,14 +6951,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6951
6951
|
|
|
6952
6952
|
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
6953
|
// Module
|
|
6954
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".van-select-field[data-v-
|
|
6954
|
+
___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
6955
|
// Exports
|
|
6956
6956
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
6957
6957
|
|
|
6958
6958
|
|
|
6959
6959
|
/***/ }),
|
|
6960
6960
|
|
|
6961
|
-
/***/
|
|
6961
|
+
/***/ 8295:
|
|
6962
6962
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6963
6963
|
|
|
6964
6964
|
"use strict";
|
|
@@ -6972,14 +6972,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6972
6972
|
|
|
6973
6973
|
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
6974
|
// Module
|
|
6975
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".van-switch-field[data-v-
|
|
6975
|
+
___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
6976
|
// Exports
|
|
6977
6977
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
6978
6978
|
|
|
6979
6979
|
|
|
6980
6980
|
/***/ }),
|
|
6981
6981
|
|
|
6982
|
-
/***/
|
|
6982
|
+
/***/ 3303:
|
|
6983
6983
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6984
6984
|
|
|
6985
6985
|
"use strict";
|
|
@@ -6993,7 +6993,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6993
6993
|
|
|
6994
6994
|
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
6995
|
// Module
|
|
6996
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".van-textarea-field[data-v-
|
|
6996
|
+
___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
6997
|
// Exports
|
|
6998
6998
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
6999
6999
|
|
|
@@ -32239,19 +32239,19 @@ var update = add("5d7253e3", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
32239
32239
|
|
|
32240
32240
|
/***/ }),
|
|
32241
32241
|
|
|
32242
|
-
/***/
|
|
32242
|
+
/***/ 3406:
|
|
32243
32243
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
32244
32244
|
|
|
32245
32245
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
32246
32246
|
|
|
32247
32247
|
// load the styles
|
|
32248
|
-
var content = __webpack_require__(
|
|
32248
|
+
var content = __webpack_require__(5781);
|
|
32249
32249
|
if(content.__esModule) content = content.default;
|
|
32250
32250
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
32251
32251
|
if(content.locals) module.exports = content.locals;
|
|
32252
32252
|
// add the styles to the DOM
|
|
32253
32253
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
32254
|
-
var update = add("
|
|
32254
|
+
var update = add("2e21938f", content, true, {"sourceMap":false,"shadowMode":false});
|
|
32255
32255
|
|
|
32256
32256
|
/***/ }),
|
|
32257
32257
|
|
|
@@ -32287,67 +32287,67 @@ var update = add("55fc929e", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
32287
32287
|
|
|
32288
32288
|
/***/ }),
|
|
32289
32289
|
|
|
32290
|
-
/***/
|
|
32290
|
+
/***/ 1234:
|
|
32291
32291
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
32292
32292
|
|
|
32293
32293
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
32294
32294
|
|
|
32295
32295
|
// load the styles
|
|
32296
|
-
var content = __webpack_require__(
|
|
32296
|
+
var content = __webpack_require__(6246);
|
|
32297
32297
|
if(content.__esModule) content = content.default;
|
|
32298
32298
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
32299
32299
|
if(content.locals) module.exports = content.locals;
|
|
32300
32300
|
// add the styles to the DOM
|
|
32301
32301
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
32302
|
-
var update = add("
|
|
32302
|
+
var update = add("0452b4b5", content, true, {"sourceMap":false,"shadowMode":false});
|
|
32303
32303
|
|
|
32304
32304
|
/***/ }),
|
|
32305
32305
|
|
|
32306
|
-
/***/
|
|
32306
|
+
/***/ 3882:
|
|
32307
32307
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
32308
32308
|
|
|
32309
32309
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
32310
32310
|
|
|
32311
32311
|
// load the styles
|
|
32312
|
-
var content = __webpack_require__(
|
|
32312
|
+
var content = __webpack_require__(2894);
|
|
32313
32313
|
if(content.__esModule) content = content.default;
|
|
32314
32314
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
32315
32315
|
if(content.locals) module.exports = content.locals;
|
|
32316
32316
|
// add the styles to the DOM
|
|
32317
32317
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
32318
|
-
var update = add("
|
|
32318
|
+
var update = add("6bf69acd", content, true, {"sourceMap":false,"shadowMode":false});
|
|
32319
32319
|
|
|
32320
32320
|
/***/ }),
|
|
32321
32321
|
|
|
32322
|
-
/***/
|
|
32322
|
+
/***/ 7763:
|
|
32323
32323
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
32324
32324
|
|
|
32325
32325
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
32326
32326
|
|
|
32327
32327
|
// load the styles
|
|
32328
|
-
var content = __webpack_require__(
|
|
32328
|
+
var content = __webpack_require__(8295);
|
|
32329
32329
|
if(content.__esModule) content = content.default;
|
|
32330
32330
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
32331
32331
|
if(content.locals) module.exports = content.locals;
|
|
32332
32332
|
// add the styles to the DOM
|
|
32333
32333
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
32334
|
-
var update = add("
|
|
32334
|
+
var update = add("be4b9cec", content, true, {"sourceMap":false,"shadowMode":false});
|
|
32335
32335
|
|
|
32336
32336
|
/***/ }),
|
|
32337
32337
|
|
|
32338
|
-
/***/
|
|
32338
|
+
/***/ 3107:
|
|
32339
32339
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
32340
32340
|
|
|
32341
32341
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
32342
32342
|
|
|
32343
32343
|
// load the styles
|
|
32344
|
-
var content = __webpack_require__(
|
|
32344
|
+
var content = __webpack_require__(3303);
|
|
32345
32345
|
if(content.__esModule) content = content.default;
|
|
32346
32346
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
32347
32347
|
if(content.locals) module.exports = content.locals;
|
|
32348
32348
|
// add the styles to the DOM
|
|
32349
32349
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
32350
|
-
var update = add("
|
|
32350
|
+
var update = add("5b79e7f0", content, true, {"sourceMap":false,"shadowMode":false});
|
|
32351
32351
|
|
|
32352
32352
|
/***/ }),
|
|
32353
32353
|
|
|
@@ -40251,30 +40251,34 @@ var wfengine_install = function install(Vue) {
|
|
|
40251
40251
|
});
|
|
40252
40252
|
},
|
|
40253
40253
|
setFlBodyFile: function setFlBodyFile($scope) {
|
|
40254
|
-
$scope.bodyfile =
|
|
40254
|
+
$scope.bodyfile = {
|
|
40255
|
+
file: {
|
|
40256
|
+
name: ''
|
|
40257
|
+
}
|
|
40258
|
+
};
|
|
40255
40259
|
$scope.redTitleFile = null;
|
|
40256
40260
|
$scope.noTracksFile = null;
|
|
40257
40261
|
var canEditBodyfile = false;
|
|
40262
|
+
var canEditFormat = 'doc,docx,xls,xlsx,ppt,pptx'.split(',');
|
|
40258
40263
|
if ($scope.vo.flBodyFilename || $scope.vo.flbodyfilename || $scope.vo.signedFileName) {
|
|
40259
40264
|
var bodyfileName = $scope.vo.flBodyFilename || $scope.vo.flbodyfilename || $scope.vo.signedFileName;
|
|
40260
40265
|
var bydyShortName = bodyfileName.substring(0, bodyfileName.lastIndexOf('.'));
|
|
40261
40266
|
for (var i = 0; i < $scope.attachments.length; i++) {
|
|
40262
40267
|
var attachShortName = $scope.attachments[i].fileName.substring(0, $scope.attachments[i].fileName.lastIndexOf('.'));
|
|
40263
40268
|
if ($scope.attachments[i].fileType.toUpperCase() === 'BODY') {
|
|
40269
|
+
var extName = $scope.attachments[i].originalName.split('.')[1].toLowerCase();
|
|
40264
40270
|
if (attachShortName === bydyShortName || $scope.attachments[i].originalName.split('.')[0] === bydyShortName) {
|
|
40265
|
-
var extName = $scope.attachments[i].originalName.split('.')[1].toLowerCase();
|
|
40266
|
-
|
|
40267
40271
|
// pdf格式优先
|
|
40268
|
-
if (!$scope.bodyfile || extName === 'pdf' || extName === 'ofd') {
|
|
40272
|
+
if (!$scope.bodyfile.id || extName === 'pdf' || extName === 'ofd') {
|
|
40269
40273
|
$scope.bodyfile = $scope.attachments[i];
|
|
40270
40274
|
}
|
|
40271
40275
|
}
|
|
40272
|
-
if (
|
|
40276
|
+
if (canEditFormat.indexOf(extName) !== -1 && $scope.attachments[i].originalName.split('.')[0] === $scope.wfInstance.bodyDocId) {
|
|
40273
40277
|
canEditBodyfile = true;
|
|
40274
40278
|
}
|
|
40275
40279
|
}
|
|
40276
40280
|
}
|
|
40277
|
-
if (!$scope.bodyfile) {
|
|
40281
|
+
if (!$scope.bodyfile.id) {
|
|
40278
40282
|
$scope.attachments.forEach(function (attachment) {
|
|
40279
40283
|
var extName = attachment.originalName.split('.')[1].toLowerCase();
|
|
40280
40284
|
if (attachment.fileType.toUpperCase() === 'BODY' && (extName === 'pdf' || extName === 'ofd')) {
|
|
@@ -40299,7 +40303,7 @@ var wfengine_install = function install(Vue) {
|
|
|
40299
40303
|
} else if (attachment.fileName.indexOf('SignedFile_') === 0) {
|
|
40300
40304
|
$scope.bodyfile = attachment;
|
|
40301
40305
|
}
|
|
40302
|
-
if (
|
|
40306
|
+
if (canEditFormat.indexOf(_extName) !== -1 && attachment.originalName.split('.')[0] === $scope.wfInstance.bodyDocId && attachment.filePath.indexOf('/noTracks/') === -1) {
|
|
40303
40307
|
canEditBodyfile = true;
|
|
40304
40308
|
if ($scope.wfInstance.haveDoc === 0) {
|
|
40305
40309
|
//修正删除正文后haveDoc错误的问题
|
|
@@ -40312,14 +40316,14 @@ var wfengine_install = function install(Vue) {
|
|
|
40312
40316
|
}
|
|
40313
40317
|
}
|
|
40314
40318
|
});
|
|
40315
|
-
if (!$scope.bodyfile) {
|
|
40319
|
+
if (!$scope.bodyfile.id) {
|
|
40316
40320
|
$scope.attachments.forEach(function (attachment) {
|
|
40317
40321
|
if (attachment.fileType.toUpperCase() === 'BODY' && attachment.originalName.split('.')[0] === $scope.wfInstance.bodyDocId) {
|
|
40318
40322
|
var _extName2 = attachment.originalName.split('.')[1].toLowerCase();
|
|
40319
40323
|
if (_extName2 === 'pdf' || _extName2 === 'ofd' || attachment.filePath.indexOf('/noTracks/') !== -1) {
|
|
40320
40324
|
// pdf格式优先、无修订DOC优先
|
|
40321
40325
|
$scope.bodyfile = attachment;
|
|
40322
|
-
} else if (!$scope.bodyfile &&
|
|
40326
|
+
} else if (!$scope.bodyfile.id && canEditFormat.indexOf(_extName2) !== -1) {
|
|
40323
40327
|
//doc格式正文
|
|
40324
40328
|
$scope.bodyfile = attachment;
|
|
40325
40329
|
}
|
|
@@ -40327,7 +40331,7 @@ var wfengine_install = function install(Vue) {
|
|
|
40327
40331
|
});
|
|
40328
40332
|
}
|
|
40329
40333
|
}
|
|
40330
|
-
if ($scope.bodyfile
|
|
40334
|
+
if ($scope.bodyfile.id && ($scope.bodyfile.originalName.indexOf($scope.wfInstance.bodyDocId + '.') === 0 || $scope.bodyfile.fileName.indexOf($scope.wfInstance.bodyDocId + '.') !== -1)) {
|
|
40331
40335
|
if ($scope.bodyfile.fileName.indexOf($scope.wfInstance.bodyDocId + '.') !== -1) {
|
|
40332
40336
|
$scope.bodyfile.bodyFileName = $scope.bodyfile.fileName;
|
|
40333
40337
|
$scope.bodyfile.fileName = $scope.wfInstance.title + '.' + $scope.bodyfile.fileName.split('.')[1];
|
|
@@ -54012,8 +54016,8 @@ var Basicform_src_component = (0,componentNormalizer/* default */.A)(
|
|
|
54012
54016
|
)
|
|
54013
54017
|
|
|
54014
54018
|
/* 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
|
|
54019
|
+
;// 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
|
|
54020
|
+
var DatetimeFieldvue_type_template_id_a8eabab6_scoped_true_render = function render() {
|
|
54017
54021
|
var _vm = this,
|
|
54018
54022
|
_c = _vm._self._c;
|
|
54019
54023
|
return _vm.isShowField ? _c('div', {
|
|
@@ -54065,9 +54069,10 @@ var DatetimeFieldvue_type_template_id_9c6da034_scoped_true_render = function ren
|
|
|
54065
54069
|
}], null, false, 397611413)
|
|
54066
54070
|
})], 1) : _vm._e();
|
|
54067
54071
|
};
|
|
54068
|
-
var
|
|
54072
|
+
var DatetimeFieldvue_type_template_id_a8eabab6_scoped_true_staticRenderFns = [];
|
|
54069
54073
|
|
|
54070
54074
|
;// 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
|
|
54075
|
+
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
54076
|
|
|
54072
54077
|
/* harmony default export */ var DatetimeFieldvue_type_script_lang_js = ({
|
|
54073
54078
|
name: 'DatetimeField',
|
|
@@ -54193,7 +54198,7 @@ var DatetimeFieldvue_type_template_id_9c6da034_scoped_true_staticRenderFns = [];
|
|
|
54193
54198
|
}
|
|
54194
54199
|
},
|
|
54195
54200
|
setDateValue: function setDateValue() {
|
|
54196
|
-
var dateValue = this.
|
|
54201
|
+
var dateValue = this.getFieldValue();
|
|
54197
54202
|
if (typeof dateValue === 'string') {
|
|
54198
54203
|
dateValue = formatTime(dateValue, this.format);
|
|
54199
54204
|
}
|
|
@@ -54202,19 +54207,42 @@ var DatetimeFieldvue_type_template_id_9c6da034_scoped_true_staticRenderFns = [];
|
|
|
54202
54207
|
selectDateTime: function selectDateTime() {
|
|
54203
54208
|
var _this = this;
|
|
54204
54209
|
if (this.nodeFieldReadOnly) return;
|
|
54205
|
-
var curTime = this.
|
|
54210
|
+
var curTime = this.getFieldValue();
|
|
54206
54211
|
this.$bus.emit('openDatetimePicker', curTime, function (rst) {
|
|
54207
|
-
_this
|
|
54212
|
+
_this.setFieldValue(rst);
|
|
54208
54213
|
_this.setDateValue();
|
|
54209
54214
|
}, this.type, this.minDate, this.stepNum);
|
|
54215
|
+
},
|
|
54216
|
+
getFieldValue: function getFieldValue() {
|
|
54217
|
+
if (this.model.split('.').length > 1) {
|
|
54218
|
+
if (DatetimeFieldvue_type_script_lang_js_typeof(this.vo[this.model.split('.')[0]]) === 'object' && this.vo[this.model.split('.')[0]] != null) {
|
|
54219
|
+
return this.vo[this.model.split('.')[0]][this.model.split('.')[1]];
|
|
54220
|
+
} else {
|
|
54221
|
+
return null;
|
|
54222
|
+
}
|
|
54223
|
+
} else {
|
|
54224
|
+
return this.vo[this.model];
|
|
54225
|
+
}
|
|
54226
|
+
},
|
|
54227
|
+
setFieldValue: function setFieldValue(val) {
|
|
54228
|
+
if (this.model.split('.').length > 1) {
|
|
54229
|
+
var valueObj = {};
|
|
54230
|
+
if (DatetimeFieldvue_type_script_lang_js_typeof(this.vo[this.model.split('.')[0]]) === 'object' && this.vo[this.model.split('.')[0]] != null) {
|
|
54231
|
+
valueObj = this.vo[this.model.split('.')[0]];
|
|
54232
|
+
}
|
|
54233
|
+
valueObj[this.model.split('.')[1]] = val;
|
|
54234
|
+
this.$set(this.vo, this.model.split('.')[0], valueObj);
|
|
54235
|
+
} else {
|
|
54236
|
+
this.$set(this.vo, this.model, val);
|
|
54237
|
+
}
|
|
54210
54238
|
}
|
|
54211
54239
|
}
|
|
54212
54240
|
});
|
|
54213
54241
|
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/DatetimeField.vue?vue&type=script&lang=js
|
|
54214
54242
|
/* 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=
|
|
54243
|
+
// 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
|
|
54244
|
+
var DatetimeFieldvue_type_style_index_0_id_a8eabab6_prod_scoped_true_lang_scss = __webpack_require__(3406);
|
|
54245
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/DatetimeField.vue?vue&type=style&index=0&id=a8eabab6&prod&scoped=true&lang=scss
|
|
54218
54246
|
|
|
54219
54247
|
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/DatetimeField.vue
|
|
54220
54248
|
|
|
@@ -54227,11 +54255,11 @@ var DatetimeFieldvue_type_style_index_0_id_9c6da034_prod_scoped_true_lang_scss =
|
|
|
54227
54255
|
|
|
54228
54256
|
var DatetimeField_component = (0,componentNormalizer/* default */.A)(
|
|
54229
54257
|
FormField_DatetimeFieldvue_type_script_lang_js,
|
|
54230
|
-
|
|
54231
|
-
|
|
54258
|
+
DatetimeFieldvue_type_template_id_a8eabab6_scoped_true_render,
|
|
54259
|
+
DatetimeFieldvue_type_template_id_a8eabab6_scoped_true_staticRenderFns,
|
|
54232
54260
|
false,
|
|
54233
54261
|
null,
|
|
54234
|
-
"
|
|
54262
|
+
"a8eabab6",
|
|
54235
54263
|
null
|
|
54236
54264
|
|
|
54237
54265
|
)
|
|
@@ -54653,8 +54681,8 @@ var FileField_component = (0,componentNormalizer/* default */.A)(
|
|
|
54653
54681
|
)
|
|
54654
54682
|
|
|
54655
54683
|
/* 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
|
|
54684
|
+
;// 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
|
|
54685
|
+
var InputFieldvue_type_template_id_6ca49595_scoped_true_render = function render() {
|
|
54658
54686
|
var _vm = this,
|
|
54659
54687
|
_c = _vm._self._c;
|
|
54660
54688
|
return _vm.isShowField ? _c('div', {
|
|
@@ -54716,7 +54744,7 @@ var InputFieldvue_type_template_id_085e4d48_scoped_true_render = function render
|
|
|
54716
54744
|
}], null, false, 333806362)
|
|
54717
54745
|
}) : _vm._e()], 1) : _vm._e();
|
|
54718
54746
|
};
|
|
54719
|
-
var
|
|
54747
|
+
var InputFieldvue_type_template_id_6ca49595_scoped_true_staticRenderFns = [];
|
|
54720
54748
|
|
|
54721
54749
|
;// CONCATENATED MODULE: ./src/global/filters/index.js
|
|
54722
54750
|
|
|
@@ -54933,7 +54961,8 @@ function InputFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != I
|
|
|
54933
54961
|
}
|
|
54934
54962
|
} else {
|
|
54935
54963
|
this.placeholder = '';
|
|
54936
|
-
|
|
54964
|
+
var fieldValue = this.getFieldValue();
|
|
54965
|
+
if (fieldValue === null || fieldValue === '') this.required = false;
|
|
54937
54966
|
}
|
|
54938
54967
|
},
|
|
54939
54968
|
vo: {
|
|
@@ -54997,33 +55026,34 @@ function InputFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != I
|
|
|
54997
55026
|
}
|
|
54998
55027
|
} else {
|
|
54999
55028
|
this.placeholder = '';
|
|
55000
|
-
|
|
55029
|
+
var fieldValue = this.getFieldValue();
|
|
55030
|
+
if (fieldValue === null || fieldValue === '') this.required = false;
|
|
55001
55031
|
}
|
|
55002
55032
|
},
|
|
55003
55033
|
formatDataValue: function formatDataValue() {
|
|
55004
55034
|
var _this2 = this;
|
|
55005
|
-
this.inputValue = this.
|
|
55035
|
+
this.inputValue = this.getFieldValue();
|
|
55006
55036
|
if (this.textFormatter === 'integer') {
|
|
55007
|
-
if (this.
|
|
55037
|
+
if (this.inputValue === '') {
|
|
55008
55038
|
this.inputValue = null;
|
|
55009
55039
|
} else if (this.defaultValue !== undefined && this.defaultValue !== '' && this.defaultValue !== '') {
|
|
55010
55040
|
this.inputValue = parseInt(this.defaultValue);
|
|
55011
|
-
this.
|
|
55041
|
+
this.setFieldValue(this.inputValue);
|
|
55012
55042
|
}
|
|
55013
55043
|
}
|
|
55014
55044
|
if (this.textFormatter === 'currency1') {
|
|
55015
|
-
if (this.
|
|
55016
|
-
this.inputValue = currency(this.
|
|
55045
|
+
if (this.inputValue !== null && this.inputValue !== '') {
|
|
55046
|
+
this.inputValue = currency(this.inputValue, '');
|
|
55017
55047
|
} else {
|
|
55018
55048
|
this.inputValue = '0.00';
|
|
55019
55049
|
}
|
|
55020
55050
|
if (this.readonly || this.elementReadonly === 1) this.number = false;
|
|
55021
55051
|
} else if (this.textFormatter === 'currency2') {
|
|
55022
|
-
if (this.
|
|
55052
|
+
if (this.inputValue !== null && this.inputValue !== '') {
|
|
55023
55053
|
if (this.readonly) {
|
|
55024
|
-
this.inputValue = !isNaN(Number(this.
|
|
55054
|
+
this.inputValue = !isNaN(Number(this.inputValue)) ? '¥' + Number(this.inputValue).toFixed(2) : this.inputValue;
|
|
55025
55055
|
} else {
|
|
55026
|
-
this.inputValue = !isNaN(Number(this.
|
|
55056
|
+
this.inputValue = !isNaN(Number(this.inputValue)) ? Number(this.inputValue).toFixed(2) : this.inputValue;
|
|
55027
55057
|
}
|
|
55028
55058
|
} else {
|
|
55029
55059
|
this.inputValue = '0.00';
|
|
@@ -55037,6 +55067,29 @@ function InputFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != I
|
|
|
55037
55067
|
}
|
|
55038
55068
|
}, 0);
|
|
55039
55069
|
},
|
|
55070
|
+
getFieldValue: function getFieldValue() {
|
|
55071
|
+
if (this.model.split('.').length > 1) {
|
|
55072
|
+
if (InputFieldvue_type_script_lang_js_typeof(this.vo[this.model.split('.')[0]]) === 'object' && this.vo[this.model.split('.')[0]] != null) {
|
|
55073
|
+
return this.vo[this.model.split('.')[0]][this.model.split('.')[1]];
|
|
55074
|
+
} else {
|
|
55075
|
+
return null;
|
|
55076
|
+
}
|
|
55077
|
+
} else {
|
|
55078
|
+
return this.vo[this.model];
|
|
55079
|
+
}
|
|
55080
|
+
},
|
|
55081
|
+
setFieldValue: function setFieldValue(val) {
|
|
55082
|
+
if (this.model.split('.').length > 1) {
|
|
55083
|
+
var valueObj = {};
|
|
55084
|
+
if (InputFieldvue_type_script_lang_js_typeof(this.vo[this.model.split('.')[0]]) === 'object' && this.vo[this.model.split('.')[0]] != null) {
|
|
55085
|
+
valueObj = this.vo[this.model.split('.')[0]];
|
|
55086
|
+
}
|
|
55087
|
+
valueObj[this.model.split('.')[1]] = val;
|
|
55088
|
+
this.$set(this.vo, this.model.split('.')[0], valueObj);
|
|
55089
|
+
} else {
|
|
55090
|
+
this.$set(this.vo, this.model, val);
|
|
55091
|
+
}
|
|
55092
|
+
},
|
|
55040
55093
|
inputFocus: function inputFocus(event) {
|
|
55041
55094
|
if (this.nodeFieldReadOnly || this.elementReadonly === 1) {
|
|
55042
55095
|
this.isInputFocus = false;
|
|
@@ -55048,7 +55101,7 @@ function InputFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != I
|
|
|
55048
55101
|
inputBlur: function inputBlur() {
|
|
55049
55102
|
var _this3 = this;
|
|
55050
55103
|
this.isInputFocus = false;
|
|
55051
|
-
this
|
|
55104
|
+
this.setFieldValue(this.inputValue === '' ? null : this.inputValue);
|
|
55052
55105
|
this.formatDataValue();
|
|
55053
55106
|
this.updateField = false;
|
|
55054
55107
|
this.$nextTick(function () {
|
|
@@ -55103,10 +55156,10 @@ function InputFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != I
|
|
|
55103
55156
|
if (selected !== '') selected += ',';
|
|
55104
55157
|
selected += item.title || item.text || item.name || item.label;
|
|
55105
55158
|
});
|
|
55106
|
-
_this
|
|
55159
|
+
_this.setFieldValue(selected);
|
|
55107
55160
|
}
|
|
55108
55161
|
}
|
|
55109
|
-
}, _this.
|
|
55162
|
+
}, _this.getFieldValue(), _this.field.dialogMultiple);
|
|
55110
55163
|
} else {
|
|
55111
55164
|
_this4.$dialog.alert({
|
|
55112
55165
|
message: res.message,
|
|
@@ -55198,7 +55251,7 @@ function InputFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != I
|
|
|
55198
55251
|
selectedNames += item.title;
|
|
55199
55252
|
selectedIds += item.id;
|
|
55200
55253
|
});
|
|
55201
|
-
_this
|
|
55254
|
+
_this.setFieldValue(selectedNames);
|
|
55202
55255
|
if (_this4.field.valueIdsField && _this4.field.valueIdsField.indexOf('vo.') === 0) {
|
|
55203
55256
|
_this4.vo[_this4.field.valueIdsField.substring(_this4.field.valueIdsField.indexOf('.') + 1)] = selectedIds;
|
|
55204
55257
|
}
|
|
@@ -55237,7 +55290,7 @@ function InputFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != I
|
|
|
55237
55290
|
selected += item.title;
|
|
55238
55291
|
selectedIds += item.id;
|
|
55239
55292
|
});
|
|
55240
|
-
_this
|
|
55293
|
+
_this.setFieldValue(selected);
|
|
55241
55294
|
if (_this4.field.valueIdsField && _this4.field.valueIdsField.indexOf('vo.') === 0) {
|
|
55242
55295
|
_this4.vo[_this4.field.valueIdsField.substring(_this4.field.valueIdsField.indexOf('.') + 1)] = selectedIds;
|
|
55243
55296
|
}
|
|
@@ -55264,9 +55317,9 @@ function InputFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != I
|
|
|
55264
55317
|
});
|
|
55265
55318
|
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/InputField.vue?vue&type=script&lang=js
|
|
55266
55319
|
/* 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=
|
|
55320
|
+
// 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
|
|
55321
|
+
var InputFieldvue_type_style_index_0_id_6ca49595_prod_scoped_true_lang_scss = __webpack_require__(1234);
|
|
55322
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/InputField.vue?vue&type=style&index=0&id=6ca49595&prod&scoped=true&lang=scss
|
|
55270
55323
|
|
|
55271
55324
|
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/InputField.vue
|
|
55272
55325
|
|
|
@@ -55279,18 +55332,18 @@ var InputFieldvue_type_style_index_0_id_085e4d48_prod_scoped_true_lang_scss = __
|
|
|
55279
55332
|
|
|
55280
55333
|
var InputField_component = (0,componentNormalizer/* default */.A)(
|
|
55281
55334
|
FormField_InputFieldvue_type_script_lang_js,
|
|
55282
|
-
|
|
55283
|
-
|
|
55335
|
+
InputFieldvue_type_template_id_6ca49595_scoped_true_render,
|
|
55336
|
+
InputFieldvue_type_template_id_6ca49595_scoped_true_staticRenderFns,
|
|
55284
55337
|
false,
|
|
55285
55338
|
null,
|
|
55286
|
-
"
|
|
55339
|
+
"6ca49595",
|
|
55287
55340
|
null
|
|
55288
55341
|
|
|
55289
55342
|
)
|
|
55290
55343
|
|
|
55291
55344
|
/* 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
|
|
55345
|
+
;// 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
|
|
55346
|
+
var SelectFieldvue_type_template_id_ad290d08_scoped_true_render = function render() {
|
|
55294
55347
|
var _vm = this,
|
|
55295
55348
|
_c = _vm._self._c;
|
|
55296
55349
|
return _vm.isShowField ? _c('div', {
|
|
@@ -55342,7 +55395,7 @@ var SelectFieldvue_type_template_id_565de7b0_scoped_true_render = function rende
|
|
|
55342
55395
|
}], null, false, 957041049)
|
|
55343
55396
|
})], 1) : _vm._e();
|
|
55344
55397
|
};
|
|
55345
|
-
var
|
|
55398
|
+
var SelectFieldvue_type_template_id_ad290d08_scoped_true_staticRenderFns = [];
|
|
55346
55399
|
|
|
55347
55400
|
;// 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
55401
|
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 +55558,8 @@ function SelectFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
|
|
|
55505
55558
|
this.isShowField = true;
|
|
55506
55559
|
}
|
|
55507
55560
|
var itemList = [];
|
|
55508
|
-
if (this.vo.passenger && this.vo.passenger[this.
|
|
55509
|
-
itemList = this.vo.passenger[this.
|
|
55561
|
+
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) {
|
|
55562
|
+
itemList = this.vo.passenger[this.getOptionsName()];
|
|
55510
55563
|
} else if (this.options !== undefined && this.options !== null) {
|
|
55511
55564
|
// console.log(this.options)
|
|
55512
55565
|
var options = JSON.parse(this.options);
|
|
@@ -55555,11 +55608,11 @@ function SelectFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
|
|
|
55555
55608
|
if (values !== '') values += ',';
|
|
55556
55609
|
values += item.value;
|
|
55557
55610
|
});
|
|
55558
|
-
_this
|
|
55611
|
+
_this.setFieldValue(values);
|
|
55559
55612
|
} else if (_this4.propType === 'Short' || _this4.propType === 'Integer' || _this4.propType === 'Lang') {
|
|
55560
|
-
_this
|
|
55613
|
+
_this.setFieldValue(parseInt(res.value.value));
|
|
55561
55614
|
} else {
|
|
55562
|
-
_this
|
|
55615
|
+
_this.setFieldValue(res.value.value);
|
|
55563
55616
|
}
|
|
55564
55617
|
_this4.setTextValue();
|
|
55565
55618
|
if (_this4.onClickEvent && _this4.onClickEvent.indexOf('@change') !== -1 && _this4.onClickEvent.indexOf('=') !== -1) {
|
|
@@ -55577,19 +55630,21 @@ function SelectFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
|
|
|
55577
55630
|
}
|
|
55578
55631
|
}
|
|
55579
55632
|
}
|
|
55580
|
-
}, this.
|
|
55633
|
+
}, this.getFieldValue(), this.multiple);
|
|
55581
55634
|
},
|
|
55582
55635
|
setTextValue: function setTextValue() {
|
|
55583
|
-
|
|
55584
|
-
|
|
55636
|
+
var fieldValue = this.getFieldValue();
|
|
55637
|
+
if (fieldValue === null && this.defaultValue !== undefined && this.defaultValue !== '' && this.defaultValue !== '') {
|
|
55638
|
+
this.setFieldValue(this.defaultValue);
|
|
55585
55639
|
}
|
|
55586
|
-
|
|
55640
|
+
fieldValue = this.getFieldValue();
|
|
55641
|
+
if (fieldValue !== undefined && fieldValue !== null) {
|
|
55587
55642
|
var textValue = '';
|
|
55588
55643
|
var values = [];
|
|
55589
|
-
if (typeof
|
|
55590
|
-
values =
|
|
55644
|
+
if (typeof fieldValue === 'string') {
|
|
55645
|
+
values = fieldValue.split(',');
|
|
55591
55646
|
} else {
|
|
55592
|
-
values = [
|
|
55647
|
+
values = [fieldValue];
|
|
55593
55648
|
}
|
|
55594
55649
|
this.itemList.forEach(function (item) {
|
|
55595
55650
|
values.forEach(function (val) {
|
|
@@ -55600,7 +55655,7 @@ function SelectFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
|
|
|
55600
55655
|
});
|
|
55601
55656
|
});
|
|
55602
55657
|
this.textValue = textValue;
|
|
55603
|
-
if (textValue === '') this.textValue = this.
|
|
55658
|
+
if (textValue === '') this.textValue = this.getFieldValue();
|
|
55604
55659
|
}
|
|
55605
55660
|
if (this.nodeFieldReadOnly) {
|
|
55606
55661
|
this.placeholder = '';
|
|
@@ -55612,14 +55667,40 @@ function SelectFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
|
|
|
55612
55667
|
this.placeholder = this.placeholder.replace('请输入', '请选择');
|
|
55613
55668
|
}
|
|
55614
55669
|
}
|
|
55670
|
+
},
|
|
55671
|
+
getFieldValue: function getFieldValue() {
|
|
55672
|
+
if (this.model.split('.').length > 1) {
|
|
55673
|
+
if (SelectFieldvue_type_script_lang_js_typeof(this.vo[this.model.split('.')[0]]) === 'object' && this.vo[this.model.split('.')[0]] != null) {
|
|
55674
|
+
return this.vo[this.model.split('.')[0]][this.model.split('.')[1]];
|
|
55675
|
+
} else {
|
|
55676
|
+
return null;
|
|
55677
|
+
}
|
|
55678
|
+
} else {
|
|
55679
|
+
return this.vo[this.model];
|
|
55680
|
+
}
|
|
55681
|
+
},
|
|
55682
|
+
setFieldValue: function setFieldValue(val) {
|
|
55683
|
+
if (this.model.split('.').length > 1) {
|
|
55684
|
+
var valueObj = {};
|
|
55685
|
+
if (SelectFieldvue_type_script_lang_js_typeof(this.vo[this.model.split('.')[0]]) === 'object' && this.vo[this.model.split('.')[0]] != null) {
|
|
55686
|
+
valueObj = this.vo[this.model.split('.')[0]];
|
|
55687
|
+
}
|
|
55688
|
+
valueObj[this.model.split('.')[1]] = val;
|
|
55689
|
+
this.$set(this.vo, this.model.split('.')[0], valueObj);
|
|
55690
|
+
} else {
|
|
55691
|
+
this.$set(this.vo, this.model, val);
|
|
55692
|
+
}
|
|
55693
|
+
},
|
|
55694
|
+
getOptionsName: function getOptionsName() {
|
|
55695
|
+
return this.model.replace('.', '') + 'Options';
|
|
55615
55696
|
}
|
|
55616
55697
|
}
|
|
55617
55698
|
});
|
|
55618
55699
|
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/SelectField.vue?vue&type=script&lang=js
|
|
55619
55700
|
/* 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=
|
|
55701
|
+
// 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
|
|
55702
|
+
var SelectFieldvue_type_style_index_0_id_ad290d08_prod_scoped_true_lang_scss = __webpack_require__(3882);
|
|
55703
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/SelectField.vue?vue&type=style&index=0&id=ad290d08&prod&scoped=true&lang=scss
|
|
55623
55704
|
|
|
55624
55705
|
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/SelectField.vue
|
|
55625
55706
|
|
|
@@ -55632,18 +55713,18 @@ var SelectFieldvue_type_style_index_0_id_565de7b0_prod_scoped_true_lang_scss = _
|
|
|
55632
55713
|
|
|
55633
55714
|
var SelectField_component = (0,componentNormalizer/* default */.A)(
|
|
55634
55715
|
FormField_SelectFieldvue_type_script_lang_js,
|
|
55635
|
-
|
|
55636
|
-
|
|
55716
|
+
SelectFieldvue_type_template_id_ad290d08_scoped_true_render,
|
|
55717
|
+
SelectFieldvue_type_template_id_ad290d08_scoped_true_staticRenderFns,
|
|
55637
55718
|
false,
|
|
55638
55719
|
null,
|
|
55639
|
-
"
|
|
55720
|
+
"ad290d08",
|
|
55640
55721
|
null
|
|
55641
55722
|
|
|
55642
55723
|
)
|
|
55643
55724
|
|
|
55644
55725
|
/* 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
|
|
55726
|
+
;// 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
|
|
55727
|
+
var SwitchFieldvue_type_template_id_61ed46da_scoped_true_render = function render() {
|
|
55647
55728
|
var _vm = this,
|
|
55648
55729
|
_c = _vm._self._c;
|
|
55649
55730
|
return _c('div', {
|
|
@@ -55702,9 +55783,10 @@ var SwitchFieldvue_type_template_id_316c7b70_scoped_true_render = function rende
|
|
|
55702
55783
|
}])
|
|
55703
55784
|
})], 1);
|
|
55704
55785
|
};
|
|
55705
|
-
var
|
|
55786
|
+
var SwitchFieldvue_type_template_id_61ed46da_scoped_true_staticRenderFns = [];
|
|
55706
55787
|
|
|
55707
55788
|
;// 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
|
|
55789
|
+
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
55790
|
/* harmony default export */ var SwitchFieldvue_type_script_lang_js = ({
|
|
55709
55791
|
name: 'SwitchField',
|
|
55710
55792
|
components: {},
|
|
@@ -55768,14 +55850,16 @@ var SwitchFieldvue_type_template_id_316c7b70_scoped_true_staticRenderFns = [];
|
|
|
55768
55850
|
},
|
|
55769
55851
|
beforeDestroy: function beforeDestroy() {},
|
|
55770
55852
|
mounted: function mounted() {
|
|
55771
|
-
|
|
55853
|
+
var fieldValue = this.getFieldValue();
|
|
55854
|
+
if (fieldValue === null && this.defaultValue !== null) {
|
|
55772
55855
|
this.defaultValue = parseInt(this.defaultValue);
|
|
55773
55856
|
if (!isNaN(this.defaultValue)) {
|
|
55774
|
-
this
|
|
55857
|
+
this.setFieldValue(this.defaultValue);
|
|
55775
55858
|
}
|
|
55776
55859
|
}
|
|
55777
55860
|
if (this.nodeFieldReadOnly) {
|
|
55778
|
-
|
|
55861
|
+
fieldValue = this.getFieldValue();
|
|
55862
|
+
if (fieldValue === null || fieldValue === '') this.required = false;
|
|
55779
55863
|
}
|
|
55780
55864
|
},
|
|
55781
55865
|
methods: {
|
|
@@ -55784,14 +55868,37 @@ var SwitchFieldvue_type_template_id_316c7b70_scoped_true_staticRenderFns = [];
|
|
|
55784
55868
|
this.$nextTick(function () {
|
|
55785
55869
|
_this.$bus.emit('setVanCellStyle');
|
|
55786
55870
|
});
|
|
55871
|
+
},
|
|
55872
|
+
getFieldValue: function getFieldValue() {
|
|
55873
|
+
if (this.model.split('.').length > 1) {
|
|
55874
|
+
if (SwitchFieldvue_type_script_lang_js_typeof(this.vo[this.model.split('.')[0]]) === 'object' && this.vo[this.model.split('.')[0]] != null) {
|
|
55875
|
+
return this.vo[this.model.split('.')[0]][this.model.split('.')[1]];
|
|
55876
|
+
} else {
|
|
55877
|
+
return null;
|
|
55878
|
+
}
|
|
55879
|
+
} else {
|
|
55880
|
+
return this.vo[this.model];
|
|
55881
|
+
}
|
|
55882
|
+
},
|
|
55883
|
+
setFieldValue: function setFieldValue(val) {
|
|
55884
|
+
if (this.model.split('.').length > 1) {
|
|
55885
|
+
var valueObj = {};
|
|
55886
|
+
if (SwitchFieldvue_type_script_lang_js_typeof(this.vo[this.model.split('.')[0]]) === 'object' && this.vo[this.model.split('.')[0]] != null) {
|
|
55887
|
+
valueObj = this.vo[this.model.split('.')[0]];
|
|
55888
|
+
}
|
|
55889
|
+
valueObj[this.model.split('.')[1]] = val;
|
|
55890
|
+
this.$set(this.vo, this.model.split('.')[0], valueObj);
|
|
55891
|
+
} else {
|
|
55892
|
+
this.$set(this.vo, this.model, val);
|
|
55893
|
+
}
|
|
55787
55894
|
}
|
|
55788
55895
|
}
|
|
55789
55896
|
});
|
|
55790
55897
|
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/SwitchField.vue?vue&type=script&lang=js
|
|
55791
55898
|
/* 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=
|
|
55899
|
+
// 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
|
|
55900
|
+
var SwitchFieldvue_type_style_index_0_id_61ed46da_prod_scoped_true_lang_scss = __webpack_require__(7763);
|
|
55901
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/SwitchField.vue?vue&type=style&index=0&id=61ed46da&prod&scoped=true&lang=scss
|
|
55795
55902
|
|
|
55796
55903
|
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/SwitchField.vue
|
|
55797
55904
|
|
|
@@ -55804,18 +55911,18 @@ var SwitchFieldvue_type_style_index_0_id_316c7b70_prod_scoped_true_lang_scss = _
|
|
|
55804
55911
|
|
|
55805
55912
|
var SwitchField_component = (0,componentNormalizer/* default */.A)(
|
|
55806
55913
|
FormField_SwitchFieldvue_type_script_lang_js,
|
|
55807
|
-
|
|
55808
|
-
|
|
55914
|
+
SwitchFieldvue_type_template_id_61ed46da_scoped_true_render,
|
|
55915
|
+
SwitchFieldvue_type_template_id_61ed46da_scoped_true_staticRenderFns,
|
|
55809
55916
|
false,
|
|
55810
55917
|
null,
|
|
55811
|
-
"
|
|
55918
|
+
"61ed46da",
|
|
55812
55919
|
null
|
|
55813
55920
|
|
|
55814
55921
|
)
|
|
55815
55922
|
|
|
55816
55923
|
/* 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
|
|
55924
|
+
;// 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
|
|
55925
|
+
var TextareaFieldvue_type_template_id_7096be8f_scoped_true_render = function render() {
|
|
55819
55926
|
var _vm = this,
|
|
55820
55927
|
_c = _vm._self._c;
|
|
55821
55928
|
return _vm.isShowField ? _c('div', {
|
|
@@ -55910,7 +56017,7 @@ var TextareaFieldvue_type_template_id_ca07d32c_scoped_true_render = function ren
|
|
|
55910
56017
|
}
|
|
55911
56018
|
}, [_vm._v(_vm._s(_vm.textName))])]) : _vm._e()], 1) : _vm._e();
|
|
55912
56019
|
};
|
|
55913
|
-
var
|
|
56020
|
+
var TextareaFieldvue_type_template_id_7096be8f_scoped_true_staticRenderFns = [];
|
|
55914
56021
|
|
|
55915
56022
|
;// 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
56023
|
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 +56114,8 @@ function TextareaFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !
|
|
|
56007
56114
|
}
|
|
56008
56115
|
}
|
|
56009
56116
|
}
|
|
56010
|
-
|
|
56117
|
+
var fieldValue = this.getFieldValue();
|
|
56118
|
+
if (!this.readonly && fieldValue !== undefined && fieldValue !== null && fieldValue.indexOf('<') !== -1 && fieldValue.indexOf('>') !== -1) {
|
|
56011
56119
|
this.readonly = true;
|
|
56012
56120
|
}
|
|
56013
56121
|
if (!this.placeholder) {
|
|
@@ -56035,7 +56143,8 @@ function TextareaFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !
|
|
|
56035
56143
|
}
|
|
56036
56144
|
if (this.nodeFieldReadOnly) {
|
|
56037
56145
|
this.placeholder = '';
|
|
56038
|
-
|
|
56146
|
+
var fieldValue = this.getFieldValue();
|
|
56147
|
+
if (fieldValue === null || fieldValue === '') this.required = false;
|
|
56039
56148
|
}
|
|
56040
56149
|
if (!(!this.nodeFieldReadOnly && this.maxLength !== '')) {
|
|
56041
56150
|
this.showDetailBtnFun();
|
|
@@ -56106,10 +56215,10 @@ function TextareaFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !
|
|
|
56106
56215
|
if (selected !== '') selected += ',';
|
|
56107
56216
|
selected += item.title || item.text || item.name || item.label;
|
|
56108
56217
|
});
|
|
56109
|
-
_this
|
|
56218
|
+
_this.setFieldValue(selected);
|
|
56110
56219
|
}
|
|
56111
56220
|
}
|
|
56112
|
-
}, _this.
|
|
56221
|
+
}, _this.getFieldValue(), _this.field.dialogMultiple);
|
|
56113
56222
|
} else {
|
|
56114
56223
|
_this3.$dialog.alert({
|
|
56115
56224
|
message: res.message,
|
|
@@ -56168,7 +56277,7 @@ function TextareaFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !
|
|
|
56168
56277
|
if (this.field.optionGenerateMethod) {
|
|
56169
56278
|
condition['option-generate-gethod'] = this.field.optionGenerateMethod;
|
|
56170
56279
|
}
|
|
56171
|
-
var pSelected = this.
|
|
56280
|
+
var pSelected = this.getFieldValue();
|
|
56172
56281
|
if (this.field.valueIdsField && this.field.valueIdsField.indexOf('vo.') === 0) {
|
|
56173
56282
|
pSelected = this.vo[this.field.valueIdsField.substring(this.field.valueIdsField.indexOf('.') + 1)];
|
|
56174
56283
|
} else if (this.field.valueIdsField && this.vo[this.field.valueIdsField]) {
|
|
@@ -56196,7 +56305,7 @@ function TextareaFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !
|
|
|
56196
56305
|
if (selected !== '') selected += '、';
|
|
56197
56306
|
selected += item.title;
|
|
56198
56307
|
});
|
|
56199
|
-
_this
|
|
56308
|
+
_this.setFieldValue(selected);
|
|
56200
56309
|
}
|
|
56201
56310
|
}
|
|
56202
56311
|
}, pSelected);
|
|
@@ -56227,10 +56336,10 @@ function TextareaFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !
|
|
|
56227
56336
|
if (selected !== '') selected += '、';
|
|
56228
56337
|
selected += item.title;
|
|
56229
56338
|
});
|
|
56230
|
-
_this
|
|
56339
|
+
_this.setFieldValue(selected);
|
|
56231
56340
|
}
|
|
56232
56341
|
}
|
|
56233
|
-
}, this.
|
|
56342
|
+
}, this.getFieldValue(), this.field.dialogMultiple);
|
|
56234
56343
|
}
|
|
56235
56344
|
},
|
|
56236
56345
|
onSelectTreeDataLoaded: function onSelectTreeDataLoaded(treedata, condition) {
|
|
@@ -56253,14 +56362,37 @@ function TextareaFieldvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !
|
|
|
56253
56362
|
this.$nextTick(function () {
|
|
56254
56363
|
_this4.updateField = true;
|
|
56255
56364
|
});
|
|
56365
|
+
},
|
|
56366
|
+
getFieldValue: function getFieldValue() {
|
|
56367
|
+
if (this.model.split('.').length > 1) {
|
|
56368
|
+
if (TextareaFieldvue_type_script_lang_js_typeof(this.vo[this.model.split('.')[0]]) === 'object' && this.vo[this.model.split('.')[0]] != null) {
|
|
56369
|
+
return this.vo[this.model.split('.')[0]][this.model.split('.')[1]];
|
|
56370
|
+
} else {
|
|
56371
|
+
return null;
|
|
56372
|
+
}
|
|
56373
|
+
} else {
|
|
56374
|
+
return this.vo[this.model];
|
|
56375
|
+
}
|
|
56376
|
+
},
|
|
56377
|
+
setFieldValue: function setFieldValue(val) {
|
|
56378
|
+
if (this.model.split('.').length > 1) {
|
|
56379
|
+
var valueObj = {};
|
|
56380
|
+
if (TextareaFieldvue_type_script_lang_js_typeof(this.vo[this.model.split('.')[0]]) === 'object' && this.vo[this.model.split('.')[0]] != null) {
|
|
56381
|
+
valueObj = this.vo[this.model.split('.')[0]];
|
|
56382
|
+
}
|
|
56383
|
+
valueObj[this.model.split('.')[1]] = val;
|
|
56384
|
+
this.$set(this.vo, this.model.split('.')[0], valueObj);
|
|
56385
|
+
} else {
|
|
56386
|
+
this.$set(this.vo, this.model, val);
|
|
56387
|
+
}
|
|
56256
56388
|
}
|
|
56257
56389
|
}
|
|
56258
56390
|
});
|
|
56259
56391
|
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/TextareaField.vue?vue&type=script&lang=js
|
|
56260
56392
|
/* 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=
|
|
56393
|
+
// 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
|
|
56394
|
+
var TextareaFieldvue_type_style_index_0_id_7096be8f_prod_scoped_true_lang_scss = __webpack_require__(3107);
|
|
56395
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/TextareaField.vue?vue&type=style&index=0&id=7096be8f&prod&scoped=true&lang=scss
|
|
56264
56396
|
|
|
56265
56397
|
;// CONCATENATED MODULE: ./packages/ecmapp/Basicform/src/FormField/TextareaField.vue
|
|
56266
56398
|
|
|
@@ -56273,11 +56405,11 @@ var TextareaFieldvue_type_style_index_0_id_ca07d32c_prod_scoped_true_lang_scss =
|
|
|
56273
56405
|
|
|
56274
56406
|
var TextareaField_component = (0,componentNormalizer/* default */.A)(
|
|
56275
56407
|
FormField_TextareaFieldvue_type_script_lang_js,
|
|
56276
|
-
|
|
56277
|
-
|
|
56408
|
+
TextareaFieldvue_type_template_id_7096be8f_scoped_true_render,
|
|
56409
|
+
TextareaFieldvue_type_template_id_7096be8f_scoped_true_staticRenderFns,
|
|
56278
56410
|
false,
|
|
56279
56411
|
null,
|
|
56280
|
-
"
|
|
56412
|
+
"7096be8f",
|
|
56281
56413
|
null
|
|
56282
56414
|
|
|
56283
56415
|
)
|