centaline-data-driven 1.5.82 → 1.5.83
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 +7 -0
- package/src/Form.vue +2 -2
- package/src/centaline/dynamicD/src/dynamicD.vue +4 -3
- package/src/centaline/dynamicSearchList/src/dynamicSearchTable.vue +5 -2
- package/src/main.js +6 -6
- package/wwwroot/static/centaline/centaline-data-driven.js +12 -8
- 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="'/salemanage/ContractByPoint/readDetail'" :apiParam="apiParam" :topHeight="topHeight"></ct-form>
|
|
4
|
+
<ct-form :api="'/service-api/salemanage/ContractByPoint/readDetail'" :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
|
-
"
|
|
15
|
+
"estateId":"23112217144782E4C3D5F8164CB2AE3E","propertyId":"2311221734023A5414C450CA4B9CA072","actionType":2,"commissionMode":"2"
|
|
16
16
|
},
|
|
17
17
|
topHeight:10,
|
|
18
18
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
{{model.label}}
|
|
7
7
|
</div>
|
|
8
8
|
<el-date-picker :class="[model.showLabel?'ct-date-editor':'']" v-model="model.value" v-bind="model.attrs"
|
|
9
|
-
@input="inputHandler($event)" @change="
|
|
9
|
+
@input="inputHandler($event)" @change="change($event)" @blur="dateBlur"
|
|
10
10
|
:picker-options="pickerOptions" :disabled="model.lock">
|
|
11
11
|
</el-date-picker>
|
|
12
12
|
</div>
|
|
@@ -38,8 +38,9 @@
|
|
|
38
38
|
isAutoSearch(){
|
|
39
39
|
if(this.model.autoSearch) this.$emit('click');
|
|
40
40
|
},
|
|
41
|
-
|
|
42
|
-
|
|
41
|
+
change(){
|
|
42
|
+
this.changeHandler(this.model.value);
|
|
43
|
+
this.isAutoSearch()
|
|
43
44
|
},
|
|
44
45
|
getPickerOptions() {
|
|
45
46
|
let self = this
|
|
@@ -775,11 +775,14 @@ export default {
|
|
|
775
775
|
if (this.$refs.searchTable && this.$refs.toolbar &&
|
|
776
776
|
this.$refs.searchTable.parentElement && !self.isLayout) {
|
|
777
777
|
var h1 = this.$refs.searchTable.parentElement.offsetHeight | 0;
|
|
778
|
-
|
|
778
|
+
var h1top = 0;
|
|
779
779
|
var h2 = this.$refs.searchTable.offsetTop | 0;
|
|
780
780
|
if(this.from && this.from=='detail'){
|
|
781
781
|
h2=h2-this.screenTop - 13;
|
|
782
782
|
}
|
|
783
|
+
if(this.from && this.from=='hasTop'){
|
|
784
|
+
h1top=this.$refs.searchTable.parentElement.offsetTop| 0;
|
|
785
|
+
}
|
|
783
786
|
var h3 = this.$refs.toolbar.$el.offsetHeight | 0;
|
|
784
787
|
var h4 = this.$refs.footer.$el.offsetHeight | 0;
|
|
785
788
|
var h5 = this.$refs.listHeader ? (this.$refs.listHeader.$el.offsetHeight + 8) | 0 : 0;
|
|
@@ -799,7 +802,7 @@ export default {
|
|
|
799
802
|
&& this.$parent.$parent.$parent.$children[0].$el.classList.contains('el-aside')) {
|
|
800
803
|
h9 = 4
|
|
801
804
|
}
|
|
802
|
-
let tableHeight = h1 - h2 - h3 - h4 - h5 - h6 - h7 - h8 + h9 - 8+h1top
|
|
805
|
+
let tableHeight = h1 - h2 - h3 - h4 - h5 - h6 - h7 - h8 + h9 - 8 +h1top;
|
|
803
806
|
|
|
804
807
|
this.model.tableHeight = tableHeight < 40 ? 350 : tableHeight;
|
|
805
808
|
this.$nextTick(() => {
|
package/src/main.js
CHANGED
|
@@ -15,14 +15,14 @@ Vue.use(ElementUI, { size: 'mini'});
|
|
|
15
15
|
Vue.config.productionTip = false;
|
|
16
16
|
Vue.use(centaline, {
|
|
17
17
|
// baseUrl: "http://10.88.22.46:17070/max-uplink-api/",
|
|
18
|
-
baseUrl: "http://10.88.22.46:6060/onecard-api/",
|
|
18
|
+
// baseUrl: "http://10.88.22.46:6060/onecard-api/",
|
|
19
19
|
// baseUrl: "http://10.88.22.13:17070/max-uplink-api/",
|
|
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
23
|
// baseUrl: "https://ccesutest.centaline.com.cn/service-api/v1/form/router",
|
|
24
24
|
// baseUrl: "http://10.88.22.69:8080/api/",
|
|
25
|
-
|
|
25
|
+
baseUrl: "http://10.88.22.42:9999/",
|
|
26
26
|
// baseUrl: "http://10.1.245.111:38028/",
|
|
27
27
|
// baseUrl: "http://tjcptest.centaline.com.cn/",
|
|
28
28
|
// baseUrl: "http://tjcpuat.centaline.com.cn:9090/",
|
|
@@ -56,14 +56,14 @@ Vue.use(centaline, {
|
|
|
56
56
|
return {
|
|
57
57
|
oldToken: '1f487e18-c090-4d24-b9a7-630de58cfccc',
|
|
58
58
|
// token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjjsOwjAQRO_iOiv5s1570zn-NBwiIuBIoUIkkUCIuxMEdPRMMRq95s1dzOsgWmHIccikIFr0gKQsMJYCURKxKdKYlHr-BH7UNz26yCFkByg7Aiw2A-tYwLDtEubgUibRiHo9i1aRRy-dtdSIab-8gdNKvcA618uu3v5x7rRMm3YkOZAfR6BtAWp_3LQHBNI8KHbkqlHi8QQAAP__.RrBgBqaFlp478oO3g5k_EEtjPt_o8qpJBkzgSP78Wa4',
|
|
59
|
-
authObject: '{token:"1080-1729370391807397888"}',
|
|
59
|
+
// authObject: '{token:"1080-1729370391807397888"}',
|
|
60
60
|
|
|
61
61
|
// originalRequestURL: 'http://10.88.22.67:8080',
|
|
62
|
-
|
|
62
|
+
EstateInfo: ' {"estateId":"23112217144782E4C3D5F8164CB2AE3E","estateName":"%E9%93%B8%E5%B1%B1%E7%85%AE%E6%B5%B7"}',
|
|
63
63
|
estateId: '',
|
|
64
64
|
|
|
65
|
-
|
|
66
|
-
AuthorizationCode:'Bearer eyJhbGciOiJIUzUxMiJ9.
|
|
65
|
+
authObject: '{"currentEstate":{"estateId":"23112217144782E4C3D5F8164CB2AE3E","estateName":"%E9%93%B8%E5%B1%B1%E7%85%AE%E6%B5%B7"},"platform":1,"osVersion":"","clientVersion":"","machineCode":"03a1d8ca0f1509b312a49669c4755289","token":"","random":"0u4g7A","time":1701323733472,"sign":"03256aa2a841cf9e2dd92a6606f4c862"}',
|
|
66
|
+
AuthorizationCode:'Bearer eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6ImMxYTFjZmQ5LTE1N2MtNDFiMi05MGYxLTlmMThlMjkwMmYyYSJ9.RHLvLqZv2r4xQC5l4UFZyHlD_sOtfpg1U5j4tFFe3XzcjewBWUxLs1A91pF1Udi0DqIgdiyM_RWLhTnHR0tLPA',
|
|
67
67
|
};
|
|
68
68
|
},
|
|
69
69
|
// 请求完成事件,可判断是否登录过期执行响应操作
|
|
@@ -36401,7 +36401,8 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
36401
36401
|
isAutoSearch: function isAutoSearch() {
|
|
36402
36402
|
if (this.model.autoSearch) this.$emit('click');
|
|
36403
36403
|
},
|
|
36404
|
-
|
|
36404
|
+
change: function change() {
|
|
36405
|
+
this.changeHandler(this.model.value);
|
|
36405
36406
|
this.isAutoSearch();
|
|
36406
36407
|
},
|
|
36407
36408
|
getPickerOptions: function getPickerOptions() {
|
|
@@ -38320,7 +38321,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
38320
38321
|
"use strict";
|
|
38321
38322
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicSearchTable_vue__ = __webpack_require__(302);
|
|
38322
38323
|
/* unused harmony namespace reexport */
|
|
38323
|
-
/* harmony import */ var
|
|
38324
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_ecf9331a_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicSearchTable_vue__ = __webpack_require__(606);
|
|
38324
38325
|
function injectStyle (ssrContext) {
|
|
38325
38326
|
__webpack_require__(568)
|
|
38326
38327
|
}
|
|
@@ -38340,7 +38341,7 @@ var __vue_scopeId__ = null
|
|
|
38340
38341
|
var __vue_module_identifier__ = null
|
|
38341
38342
|
var Component = normalizeComponent(
|
|
38342
38343
|
__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicSearchTable_vue__["a" /* default */],
|
|
38343
|
-
|
|
38344
|
+
__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_ecf9331a_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicSearchTable_vue__["a" /* default */],
|
|
38344
38345
|
__vue_template_functional__,
|
|
38345
38346
|
__vue_styles__,
|
|
38346
38347
|
__vue_scopeId__,
|
|
@@ -39105,11 +39106,14 @@ var Component = normalizeComponent(
|
|
|
39105
39106
|
this.$nextTick(function () {
|
|
39106
39107
|
if (_this3.$refs.searchTable && _this3.$refs.toolbar && _this3.$refs.searchTable.parentElement && !self.isLayout) {
|
|
39107
39108
|
var h1 = _this3.$refs.searchTable.parentElement.offsetHeight | 0;
|
|
39108
|
-
var h1top =
|
|
39109
|
+
var h1top = 0;
|
|
39109
39110
|
var h2 = _this3.$refs.searchTable.offsetTop | 0;
|
|
39110
39111
|
if (_this3.from && _this3.from == 'detail') {
|
|
39111
39112
|
h2 = h2 - _this3.screenTop - 13;
|
|
39112
39113
|
}
|
|
39114
|
+
if (_this3.from && _this3.from == 'hasTop') {
|
|
39115
|
+
h1top = _this3.$refs.searchTable.parentElement.offsetTop | 0;
|
|
39116
|
+
}
|
|
39113
39117
|
var h3 = _this3.$refs.toolbar.$el.offsetHeight | 0;
|
|
39114
39118
|
var h4 = _this3.$refs.footer.$el.offsetHeight | 0;
|
|
39115
39119
|
var h5 = _this3.$refs.listHeader ? _this3.$refs.listHeader.$el.offsetHeight + 8 | 0 : 0;
|
|
@@ -71366,7 +71370,7 @@ var esExports = { render: render, staticRenderFns: staticRenderFns }
|
|
|
71366
71370
|
"use strict";
|
|
71367
71371
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicD_vue__ = __webpack_require__(296);
|
|
71368
71372
|
/* unused harmony namespace reexport */
|
|
71369
|
-
/* harmony import */ var
|
|
71373
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_3ebcb0af_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicD_vue__ = __webpack_require__(553);
|
|
71370
71374
|
var normalizeComponent = __webpack_require__(1)
|
|
71371
71375
|
/* script */
|
|
71372
71376
|
|
|
@@ -71383,7 +71387,7 @@ var __vue_scopeId__ = null
|
|
|
71383
71387
|
var __vue_module_identifier__ = null
|
|
71384
71388
|
var Component = normalizeComponent(
|
|
71385
71389
|
__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicD_vue__["a" /* default */],
|
|
71386
|
-
|
|
71390
|
+
__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_3ebcb0af_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicD_vue__["a" /* default */],
|
|
71387
71391
|
__vue_template_functional__,
|
|
71388
71392
|
__vue_styles__,
|
|
71389
71393
|
__vue_scopeId__,
|
|
@@ -71398,7 +71402,7 @@ var Component = normalizeComponent(
|
|
|
71398
71402
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
71399
71403
|
|
|
71400
71404
|
"use strict";
|
|
71401
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"field-top"},[_c('div',{staticClass:"ct-date",class:[_vm.model.attrs.size?'ct-date-'+_vm.model.attrs.size:''],staticStyle:{"width":"100%","display":"flex"}},[_c('div',{class:[_vm.model.showLabel?'el-input-group el-input-group--prepend':'',!_vm.valid?'inputError':''],staticStyle:{"flex":"1"}},[(_vm.model.showLabel && _vm.model.label)?_c('div',{staticClass:"el-input-group__prepend",class:[_vm.model.labelClass]},[_vm._v("\n "+_vm._s(_vm.model.label)+"\n ")]):_vm._e(),_vm._v(" "),_c('el-date-picker',_vm._b({class:[_vm.model.showLabel?'ct-date-editor':''],attrs:{"picker-options":_vm.pickerOptions,"disabled":_vm.model.lock},on:{"input":function($event){_vm.inputHandler($event)},"change":function($event){_vm.
|
|
71405
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"field-top"},[_c('div',{staticClass:"ct-date",class:[_vm.model.attrs.size?'ct-date-'+_vm.model.attrs.size:''],staticStyle:{"width":"100%","display":"flex"}},[_c('div',{class:[_vm.model.showLabel?'el-input-group el-input-group--prepend':'',!_vm.valid?'inputError':''],staticStyle:{"flex":"1"}},[(_vm.model.showLabel && _vm.model.label)?_c('div',{staticClass:"el-input-group__prepend",class:[_vm.model.labelClass]},[_vm._v("\n "+_vm._s(_vm.model.label)+"\n ")]):_vm._e(),_vm._v(" "),_c('el-date-picker',_vm._b({class:[_vm.model.showLabel?'ct-date-editor':''],attrs:{"picker-options":_vm.pickerOptions,"disabled":_vm.model.lock},on:{"input":function($event){_vm.inputHandler($event)},"change":function($event){_vm.change($event)},"blur":_vm.dateBlur},model:{value:(_vm.model.value),callback:function ($$v) {_vm.$set(_vm.model, "value", $$v)},expression:"model.value"}},'el-date-picker',_vm.model.attrs,false))],1),_vm._v(" "),(_vm.model.sufLabel)?_c('span',{staticClass:"spanMessage ct-flex-div-span"},[_vm._v(_vm._s(_vm.model.sufLabel))]):_vm._e(),_vm._v(" "),_c('transition',{attrs:{"name":"el-fade-in"}},[_c('span',{directives:[{name:"show",rawName:"v-show",value:(!_vm.valid),expression:"!valid"}],staticClass:"errorMessage"},[_vm._v("\n "+_vm._s(_vm.validMessage)+"\n ")])]),_vm._v(" "),(_vm.model.paramName && !_vm.model.lock)?_c('ct-quick-input',{attrs:{"pn":_vm.model.paramName,"action":_vm.api},on:{"input":function($event){_vm.model.value=$event}}}):_vm._e()],1)])}
|
|
71402
71406
|
var staticRenderFns = []
|
|
71403
71407
|
var esExports = { render: render, staticRenderFns: staticRenderFns }
|
|
71404
71408
|
/* harmony default export */ __webpack_exports__["a"] = (esExports);
|
|
@@ -72400,7 +72404,7 @@ var content = __webpack_require__(569);
|
|
|
72400
72404
|
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
72401
72405
|
if(content.locals) module.exports = content.locals;
|
|
72402
72406
|
// add the styles to the DOM
|
|
72403
|
-
var update = __webpack_require__(3)("
|
|
72407
|
+
var update = __webpack_require__(3)("2697e50b", content, true, {});
|
|
72404
72408
|
|
|
72405
72409
|
/***/ }),
|
|
72406
72410
|
/* 569 */
|