centaline-data-driven 1.5.74 → 1.5.76
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/package.json +1 -1
- package/release-log.md +14 -0
- package/src/Form.vue +2 -2
- package/src/centaline/css/common.css +4 -0
- package/src/centaline/dynamicCb/src/dynamicCb.vue +1 -1
- package/src/centaline/dynamicCheckbox/src/dynamicCheckbox.vue +1 -1
- package/src/centaline/dynamicT/src/dynamicT.vue +2 -1
- package/src/centaline/loader/src/ctl/Form.js +4 -0
- package/src/main.js +3 -3
- package/wwwroot/static/centaline/centaline-data-driven.js +17 -13
- package/wwwroot/static/centaline/centaline-data-driven.js.map +1 -1
package/package.json
CHANGED
package/release-log.md
CHANGED
package/src/Form.vue
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div id="form-app" class="data-driven" style="width:100%;height:100%;overflow:auto">
|
|
3
3
|
<!-- <ct-form :source="formdata.content" :apiParam="apiParam"></ct-form> -->
|
|
4
|
-
<ct-form :api="'/
|
|
4
|
+
<ct-form :api="'/api/distribution/agent/detail'" :apiParam="apiParam" :topHeight="topHeight"></ct-form>
|
|
5
5
|
<ct-dialog-list></ct-dialog-list>
|
|
6
6
|
</div>
|
|
7
7
|
</template>
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
data() {
|
|
13
13
|
return {
|
|
14
14
|
apiParam:{
|
|
15
|
-
"actionType":2,"
|
|
15
|
+
"actionType":"2","pageStyle":"2","pageTitle":"新增分销项目","pageOnly":"true"
|
|
16
16
|
},
|
|
17
17
|
topHeight:10,
|
|
18
18
|
}
|
|
@@ -803,6 +803,10 @@ color: var(--centalinePlaceholder);
|
|
|
803
803
|
.field-top .el-input--mini .el-input__inner{
|
|
804
804
|
height: 26px!important;
|
|
805
805
|
line-height: 26px!important;
|
|
806
|
+
}
|
|
807
|
+
.field-top .textarea-box .el-input--mini .el-input__inner{
|
|
808
|
+
height: 24px!important;
|
|
809
|
+
line-height: 24px!important;
|
|
806
810
|
}
|
|
807
811
|
.el-input--mini .el-input__inner{
|
|
808
812
|
height: 26px;
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
</el-input>
|
|
32
32
|
</el-popover>
|
|
33
33
|
|
|
34
|
-
<div v-else class="textarea-box" ref="input">
|
|
34
|
+
<div v-else class="textarea-box" ref="input">
|
|
35
35
|
<div ref="highlights" v-if="model.forbiddenWords" class="backdrop hoverColor" :style="{width:forbiddenWordsWidth+'px',height:forbiddenWordsHeight+'px',left:forbiddenWordsLeft+'px',top:forbiddenWordsTop+'px'}">
|
|
36
36
|
<div class="highlights" v-html="forbiddenWordsValue"></div>
|
|
37
37
|
</div>
|
|
@@ -316,6 +316,7 @@
|
|
|
316
316
|
width: 100%;
|
|
317
317
|
position: relative;
|
|
318
318
|
border-radius: 4px;
|
|
319
|
+
min-height: 26px;
|
|
319
320
|
}
|
|
320
321
|
.textarea-box:active,.textarea-box:focus,.textarea-box:hover{
|
|
321
322
|
border-color: var(--centalineBlue) !important;
|
|
@@ -433,6 +433,10 @@ const Form = function (source, callBack, apiParam, failCallBack, isFormList) {
|
|
|
433
433
|
if (typeof currentField.self.$forceUpdate === "function") {
|
|
434
434
|
currentField.self.$forceUpdate();
|
|
435
435
|
}
|
|
436
|
+
if (data.field) {
|
|
437
|
+
data.field.source[attrName] = value;
|
|
438
|
+
data.listData.updateListField(data.listData.$self.$refs.FieldsLabel, data.listData.source.rows[rowNum].$sourceIndex, fiedlId);
|
|
439
|
+
}
|
|
436
440
|
}
|
|
437
441
|
else if (data.field) {
|
|
438
442
|
data.field.source[attrName] = value;
|
package/src/main.js
CHANGED
|
@@ -20,7 +20,7 @@ Vue.use(centaline, {
|
|
|
20
20
|
// baseUrl: "http://10.6.1.163:9000/max-uplink-api/v1/form/router",
|
|
21
21
|
// baseUrl: "http://10.25.10.63:22026/service-api/v1/form/router",
|
|
22
22
|
// baseUrl: "http://10.25.10.67:8080/",
|
|
23
|
-
// baseUrl: "http://10.88.22.42:
|
|
23
|
+
// baseUrl: "http://10.88.22.42:20403/service-api/v1/form/router",
|
|
24
24
|
// baseUrl: "http://10.88.22.69:8080/api/",
|
|
25
25
|
// baseUrl: "http://10.88.22.40:8080/api/",
|
|
26
26
|
// baseUrl: "http://10.58.2.108:8080/",
|
|
@@ -62,8 +62,8 @@ Vue.use(centaline, {
|
|
|
62
62
|
// EstateInfo: '{"estateId":"201806071109550C867184E8BCA56EC3","estateName":"C%E5%BE%A1%E6%9E%97%E5%B1%B1%E6%99%AF%E6%A5%BC"}',
|
|
63
63
|
// estateId: '201806071109550C867184E8BCA56EC3',
|
|
64
64
|
|
|
65
|
-
authObject: '{"currentEstate":{},"platform":1,"osVersion":"","clientVersion":"","machineCode":"
|
|
66
|
-
AuthorizationCode:'Bearer eyJhbGciOiJIUzUxMiJ9.
|
|
65
|
+
authObject: '{"currentEstate":{},"platform":1,"osVersion":"","clientVersion":"","machineCode":"5ef835681759e8f03f1b0575f89b6395","token":"","random":"LXytrk","time":1699411683024,"sign":"58681c540225cca828714e80c27dee93"}',
|
|
66
|
+
AuthorizationCode:'Bearer eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6ImYyOTI5ZTRlLThhMTQtNDQ3MC1hOTg3LTkzMmQ3MDhhMmQ5MSJ9.OkwHos3cukPp7PxDLBL0rB_ETrmd7IOvrUOvckBixSwmI7uYPyKph-3QdQmaqSZv_0LZs-oFxvPAQE-Nh7j2Wg',
|
|
67
67
|
};
|
|
68
68
|
},
|
|
69
69
|
// 请求完成事件,可判断是否登录过期执行响应操作
|
|
@@ -58515,6 +58515,10 @@ var Form = function Form(source, callBack, apiParam, failCallBack, isFormList) {
|
|
|
58515
58515
|
if (typeof currentField.self.$forceUpdate === "function") {
|
|
58516
58516
|
currentField.self.$forceUpdate();
|
|
58517
58517
|
}
|
|
58518
|
+
if (data.field) {
|
|
58519
|
+
data.field.source[attrName] = value;
|
|
58520
|
+
data.listData.updateListField(data.listData.$self.$refs.FieldsLabel, data.listData.source.rows[rowNum].$sourceIndex, fiedlId);
|
|
58521
|
+
}
|
|
58518
58522
|
} else if (data.field) {
|
|
58519
58523
|
data.field.source[attrName] = value;
|
|
58520
58524
|
data.listData.updateListField(data.listData.$self.$refs.FieldsLabel, data.listData.source.rows[rowNum].$sourceIndex, fiedlId);
|
|
@@ -70464,7 +70468,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
70464
70468
|
"use strict";
|
|
70465
70469
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicCb_vue__ = __webpack_require__(286);
|
|
70466
70470
|
/* unused harmony namespace reexport */
|
|
70467
|
-
/* harmony import */ var
|
|
70471
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_0aeb236f_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicCb_vue__ = __webpack_require__(519);
|
|
70468
70472
|
function injectStyle (ssrContext) {
|
|
70469
70473
|
__webpack_require__(517)
|
|
70470
70474
|
}
|
|
@@ -70484,7 +70488,7 @@ var __vue_scopeId__ = null
|
|
|
70484
70488
|
var __vue_module_identifier__ = null
|
|
70485
70489
|
var Component = normalizeComponent(
|
|
70486
70490
|
__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicCb_vue__["a" /* default */],
|
|
70487
|
-
|
|
70491
|
+
__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_0aeb236f_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicCb_vue__["a" /* default */],
|
|
70488
70492
|
__vue_template_functional__,
|
|
70489
70493
|
__vue_styles__,
|
|
70490
70494
|
__vue_scopeId__,
|
|
@@ -70505,7 +70509,7 @@ var content = __webpack_require__(518);
|
|
|
70505
70509
|
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
70506
70510
|
if(content.locals) module.exports = content.locals;
|
|
70507
70511
|
// add the styles to the DOM
|
|
70508
|
-
var update = __webpack_require__(3)("
|
|
70512
|
+
var update = __webpack_require__(3)("3498d2be", content, true, {});
|
|
70509
70513
|
|
|
70510
70514
|
/***/ }),
|
|
70511
70515
|
/* 518 */
|
|
@@ -70516,7 +70520,7 @@ exports = module.exports = __webpack_require__(2)(false);
|
|
|
70516
70520
|
|
|
70517
70521
|
|
|
70518
70522
|
// module
|
|
70519
|
-
exports.push([module.i, ".ct-checkbox{font-size:12px;width:100%}.ct-checkbox .ct-radios{color:#606266;padding-bottom:3px;padding-top:3px}.ct-form .line-feed{white-space:normal;cursor:pointer}.ct-checkbox .ct-radios .el-checkbox{min-width:0}.ct-form .checkboxHeight{height:1px;min-height:
|
|
70523
|
+
exports.push([module.i, ".ct-checkbox{font-size:12px;width:100%}.ct-checkbox .ct-radios{color:#606266;padding-bottom:3px;padding-top:3px}.ct-form .line-feed{white-space:normal;cursor:pointer}.ct-checkbox .ct-radios .el-checkbox{min-width:0}.ct-form .checkboxHeight{height:1px;min-height:26px}", ""]);
|
|
70520
70524
|
|
|
70521
70525
|
// exports
|
|
70522
70526
|
|
|
@@ -70557,7 +70561,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
70557
70561
|
"use strict";
|
|
70558
70562
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicCheckbox_vue__ = __webpack_require__(287);
|
|
70559
70563
|
/* unused harmony namespace reexport */
|
|
70560
|
-
/* harmony import */ var
|
|
70564
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_3be82ca8_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicCheckbox_vue__ = __webpack_require__(524);
|
|
70561
70565
|
function injectStyle (ssrContext) {
|
|
70562
70566
|
__webpack_require__(522)
|
|
70563
70567
|
}
|
|
@@ -70577,7 +70581,7 @@ var __vue_scopeId__ = null
|
|
|
70577
70581
|
var __vue_module_identifier__ = null
|
|
70578
70582
|
var Component = normalizeComponent(
|
|
70579
70583
|
__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicCheckbox_vue__["a" /* default */],
|
|
70580
|
-
|
|
70584
|
+
__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_3be82ca8_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicCheckbox_vue__["a" /* default */],
|
|
70581
70585
|
__vue_template_functional__,
|
|
70582
70586
|
__vue_styles__,
|
|
70583
70587
|
__vue_scopeId__,
|
|
@@ -70598,7 +70602,7 @@ var content = __webpack_require__(523);
|
|
|
70598
70602
|
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
70599
70603
|
if(content.locals) module.exports = content.locals;
|
|
70600
70604
|
// add the styles to the DOM
|
|
70601
|
-
var update = __webpack_require__(3)("
|
|
70605
|
+
var update = __webpack_require__(3)("f40fce56", content, true, {});
|
|
70602
70606
|
|
|
70603
70607
|
/***/ }),
|
|
70604
70608
|
/* 523 */
|
|
@@ -70609,7 +70613,7 @@ exports = module.exports = __webpack_require__(2)(false);
|
|
|
70609
70613
|
|
|
70610
70614
|
|
|
70611
70615
|
// module
|
|
70612
|
-
exports.push([module.i, ".ct-checkbox{min-height:
|
|
70616
|
+
exports.push([module.i, ".ct-checkbox{min-height:26px}.ct-checkbox .ct-checkbox-mian{color:var(--bagGray);border-radius:4px;min-height:22px;line-height:16px;padding-top:4px;padding-left:15px;-webkit-box-sizing:content-box;box-sizing:content-box}.ct-checkbox .ct-checkbox-mian:hover{border-color:var(--bagGray)}.ct-checkbox .ct-checkbox-mian .el-radio{margin-left:0;margin-right:10px}.ct-checkbox .showLabel.ct-checkbox-mian{padding-right:15px}.ct-checkbox .ct-checkbox-mian .ct-checkbox-label{margin-right:10px}.ct-checkbox .cover-list-item-span{display:none;min-height:26px;font-size:12px}.cover-list-item-span .el-input__icon{line-height:normal}.ct-checkbox .ct-checkbox-mian .el-icon-circle-close:hover{color:#606266}.ct-checkbox .ct-checkbox-mian:hover .cover-list-item-span{display:initial;color:var(--bagGray)}", ""]);
|
|
70613
70617
|
|
|
70614
70618
|
// exports
|
|
70615
70619
|
|
|
@@ -78405,7 +78409,7 @@ var esExports = { render: render, staticRenderFns: staticRenderFns }
|
|
|
78405
78409
|
"use strict";
|
|
78406
78410
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicT_vue__ = __webpack_require__(352);
|
|
78407
78411
|
/* unused harmony namespace reexport */
|
|
78408
|
-
/* harmony import */ var
|
|
78412
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_72ab2325_hasScoped_true_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicT_vue__ = __webpack_require__(716);
|
|
78409
78413
|
function injectStyle (ssrContext) {
|
|
78410
78414
|
__webpack_require__(709)
|
|
78411
78415
|
}
|
|
@@ -78420,12 +78424,12 @@ var __vue_template_functional__ = false
|
|
|
78420
78424
|
/* styles */
|
|
78421
78425
|
var __vue_styles__ = injectStyle
|
|
78422
78426
|
/* scopeId */
|
|
78423
|
-
var __vue_scopeId__ = "data-v-
|
|
78427
|
+
var __vue_scopeId__ = "data-v-72ab2325"
|
|
78424
78428
|
/* moduleIdentifier (server only) */
|
|
78425
78429
|
var __vue_module_identifier__ = null
|
|
78426
78430
|
var Component = normalizeComponent(
|
|
78427
78431
|
__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicT_vue__["a" /* default */],
|
|
78428
|
-
|
|
78432
|
+
__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_72ab2325_hasScoped_true_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicT_vue__["a" /* default */],
|
|
78429
78433
|
__vue_template_functional__,
|
|
78430
78434
|
__vue_styles__,
|
|
78431
78435
|
__vue_scopeId__,
|
|
@@ -78446,7 +78450,7 @@ var content = __webpack_require__(710);
|
|
|
78446
78450
|
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
78447
78451
|
if(content.locals) module.exports = content.locals;
|
|
78448
78452
|
// add the styles to the DOM
|
|
78449
|
-
var update = __webpack_require__(3)("
|
|
78453
|
+
var update = __webpack_require__(3)("1e9b7b5d", content, true, {});
|
|
78450
78454
|
|
|
78451
78455
|
/***/ }),
|
|
78452
78456
|
/* 710 */
|
|
@@ -78458,7 +78462,7 @@ exports = module.exports = __webpack_require__(2)(false);
|
|
|
78458
78462
|
|
|
78459
78463
|
|
|
78460
78464
|
// module
|
|
78461
|
-
exports.push([module.i, ".errorMessageMarginLeft[data-v-
|
|
78465
|
+
exports.push([module.i, ".errorMessageMarginLeft[data-v-72ab2325]{margin-left:108px}.hoverColor[data-v-72ab2325]:hover{border-color:var(--centalineBlue)}.is-show-Span[data-v-72ab2325]{display:none}.hoverColor:hover .is-show-Span[data-v-72ab2325]{display:inline-block}.backdrop[data-v-72ab2325]{position:absolute;z-index:1;border:none;background-color:#fff;pointer-events:none;overflow-y:auto;border-radius:4px;-webkit-transition:-webkit-transform 1s;transition:-webkit-transform 1s;transition:transform 1s;transition:transform 1s,-webkit-transform 1s}.highlights[data-v-72ab2325]{white-space:pre-wrap;word-wrap:break-word;color:transparent;padding:5px 15px 5px 5px;line-height:1.5;font-family:monospace}.autoFill[data-v-72ab2325]{width:100%}.textarea-box[data-v-72ab2325]{border:1px solid var(--bagGray);width:100%;position:relative;border-radius:4px;min-height:26px}.textarea-box[data-v-72ab2325]:active,.textarea-box[data-v-72ab2325]:focus,.textarea-box[data-v-72ab2325]:hover{border-color:var(--centalineBlue)!important}.textarea-tip[data-v-72ab2325]{margin-left:5px;color:#606266}.textarea-count[data-v-72ab2325]{position:absolute;right:10px}.textarea-icon[data-v-72ab2325]{background:url(" + escape(__webpack_require__(711)) + ")no-repeat;background-size:100% 100%;width:12px;height:12px;display:inline-block;position:absolute;right:0;bottom:0}", ""]);
|
|
78462
78466
|
|
|
78463
78467
|
// exports
|
|
78464
78468
|
|