centaline-data-driven 1.6.30 → 1.6.32
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/SearchList.vue +1 -1
- package/src/centaline/dynamicForm/src/dynamicForm.vue +10 -1
- package/src/centaline/dynamicSearchList/src/dynamicSearchTable.vue +4 -0
- package/src/centaline/loader/src/ctl/SearchScreen.js +3 -0
- package/src/main.js +5 -4
- package/wwwroot/static/centaline/centaline-data-driven.js +29 -12
- package/wwwroot/static/centaline/centaline-data-driven.js.map +1 -1
package/package.json
CHANGED
package/release-log.md
CHANGED
package/src/SearchList.vue
CHANGED
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
|
|
110
110
|
<!-- <ct-searchlist :appRootUrl="appRootUrl" :searchConditionApi="'/SystemParameterList/getLayoutOfSearch'" :searchDataApi="'/SystemParameterList/getListOfSearchModel'"></ct-searchlist> -->
|
|
111
111
|
|
|
112
|
-
<ct-searchlist :appRootUrl="appRootUrl" :searchConditionApi="'/EmployeeResourcesTranList/getLayoutOfSearch'" :searchDataApi="'/EmployeeResourcesTranList/getListOfSearchModel'"></ct-searchlist>
|
|
112
|
+
<!-- <ct-searchlist :appRootUrl="appRootUrl" :searchConditionApi="'/EmployeeResourcesTranList/getLayoutOfSearch'" :searchDataApi="'/EmployeeResourcesTranList/getListOfSearchModel'"></ct-searchlist> -->
|
|
113
113
|
|
|
114
114
|
|
|
115
115
|
<!-- <ct-searchlist :apiParam="apiParam" :searchConditionApi="'/propertyPublishList/getLayoutOfSearch'"
|
|
@@ -204,6 +204,10 @@
|
|
|
204
204
|
String,
|
|
205
205
|
default: '',
|
|
206
206
|
},
|
|
207
|
+
isIframe: {
|
|
208
|
+
Boolean,
|
|
209
|
+
default: false,
|
|
210
|
+
},
|
|
207
211
|
},
|
|
208
212
|
data() {
|
|
209
213
|
return {
|
|
@@ -722,6 +726,7 @@
|
|
|
722
726
|
height: field.dialogHeight + 'px',
|
|
723
727
|
documentHeight: self.documentHeight,
|
|
724
728
|
documentWidth: self.documentWidth,
|
|
729
|
+
isIframe: self.isIframe,
|
|
725
730
|
},
|
|
726
731
|
on: {
|
|
727
732
|
submit(ev) {
|
|
@@ -760,7 +765,8 @@
|
|
|
760
765
|
searchDataApi: field.actionForSearch,
|
|
761
766
|
apiParam: submitData,
|
|
762
767
|
width: field.dialogWidth + 'px',
|
|
763
|
-
height: field.dialogHeight + 'px'
|
|
768
|
+
height: field.dialogHeight + 'px',
|
|
769
|
+
isIframe: self.isIframe,
|
|
764
770
|
},
|
|
765
771
|
on: {
|
|
766
772
|
submit(ev) {
|
|
@@ -1031,6 +1037,9 @@
|
|
|
1031
1037
|
submitData = field.getActionPara(submitData).para;
|
|
1032
1038
|
let title = field.pageTitle == undefined ? field.label : field.pageTitle;
|
|
1033
1039
|
submitData.actionType = field.actionType;
|
|
1040
|
+
if (self.isIframe) {
|
|
1041
|
+
submitData.isIframe = self.isIframe;
|
|
1042
|
+
}
|
|
1034
1043
|
var fun = self.$common.getDataDrivenOpts().handler[field.action];
|
|
1035
1044
|
fun(submitData, title, self.model);
|
|
1036
1045
|
}
|
|
@@ -1557,6 +1557,7 @@ export default {
|
|
|
1557
1557
|
documentHeight: self.documentHeight,
|
|
1558
1558
|
documentWidth: self.documentWidth,
|
|
1559
1559
|
flagScroll: true,
|
|
1560
|
+
isIframe: self.isIframe,
|
|
1560
1561
|
},
|
|
1561
1562
|
on: {
|
|
1562
1563
|
submit(ev) {
|
|
@@ -1620,6 +1621,7 @@ export default {
|
|
|
1620
1621
|
height: field.dialogHeight + "px",
|
|
1621
1622
|
documentHeight: self.documentHeight,
|
|
1622
1623
|
documentWidth: self.documentWidth,
|
|
1624
|
+
isIframe: self.isIframe,
|
|
1623
1625
|
},
|
|
1624
1626
|
on: {
|
|
1625
1627
|
refreshParent() {
|
|
@@ -1889,6 +1891,7 @@ export default {
|
|
|
1889
1891
|
width: field.dialogWidth + "px",
|
|
1890
1892
|
height: field.dialogHeight + "px",
|
|
1891
1893
|
flagScroll: true,
|
|
1894
|
+
isIframe: self.isIframe,
|
|
1892
1895
|
},
|
|
1893
1896
|
on: {
|
|
1894
1897
|
submit(ev) {
|
|
@@ -1929,6 +1932,7 @@ export default {
|
|
|
1929
1932
|
apiParam: field.getActionPara(submitData).para,
|
|
1930
1933
|
width: field.dialogWidth + "px",
|
|
1931
1934
|
height: field.dialogHeight + "px",
|
|
1935
|
+
isIframe: self.isIframe,
|
|
1932
1936
|
},
|
|
1933
1937
|
on: {
|
|
1934
1938
|
refreshParent() {
|
|
@@ -21,6 +21,9 @@ const SearchScreen = function (source, callBack, screenPara, prevParam) {
|
|
|
21
21
|
fieldsDic: null,//fieldsDic
|
|
22
22
|
_excuteListData: undefined,
|
|
23
23
|
|
|
24
|
+
enableRelationFields(FlagRelation) {
|
|
25
|
+
this.form.enableRelationFields = FlagRelation
|
|
26
|
+
},
|
|
24
27
|
//获取code1
|
|
25
28
|
getCode1ByField1(id) {
|
|
26
29
|
var rtn1 = this.fieldsDic[id];
|
package/src/main.js
CHANGED
|
@@ -16,10 +16,11 @@ Vue.config.productionTip = false;
|
|
|
16
16
|
Vue.use(centaline, {
|
|
17
17
|
// baseUrl: "http://10.88.22.46:17070/max-uplink-api/",
|
|
18
18
|
// baseUrl: "http://10.88.22.46:6060/onecard-api/",
|
|
19
|
-
baseUrl: "http://10.88.22.46:9999/service-api/",
|
|
19
|
+
// baseUrl: "http://10.88.22.46:9999/service-api/",
|
|
20
20
|
// baseUrl: "http://10.88.22.46:22324/service-api/v1/form/router",
|
|
21
21
|
// baseUrl: "http://10.88.22.13:17070/max-uplink-api/",
|
|
22
|
-
baseUrl: "http://10.88.22.13:9004/max-uplink-api/",
|
|
22
|
+
// baseUrl: "http://10.88.22.13:9004/max-uplink-api/",
|
|
23
|
+
baseUrl:"http://szamax-api.centaline.com.cn/max-uplink-api/",
|
|
23
24
|
// baseUrl: "http://10.88.22.13:6060/onecard-api/",
|
|
24
25
|
// baseUrl: "http://10.6.1.163:9000/max-uplink-api/v1/form/router",
|
|
25
26
|
// baseUrl: "http://10.28.21.164:9004/max-uplink-api/",
|
|
@@ -66,8 +67,8 @@ Vue.use(centaline, {
|
|
|
66
67
|
getRequestHeaders: function () {
|
|
67
68
|
return {
|
|
68
69
|
oldToken: 'da18df1e-9ee2-49fd-a5ca-a3e17c8947e5',
|
|
69
|
-
token:'
|
|
70
|
-
authObject: '{token:"aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.
|
|
70
|
+
token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjksOwjAMBe-SdS05tuPE7PpJNhwCBWglWCHaSiDE3SniEGznjfTm5eb16HYuIUWltoc-sYKkYGDcF_ApGWYzjrE_CHOHKANQxAJSYgYTCYBoahaC0qAHJc6lbRW8bLuUbpNIBDS3QTJhZiHXuPFxczsfmXxCJG3cpS4_gMb6Bes83vfj8x9x1-Wy3eJ48seQJuCaziATTWDRIlSazCNrlerd-wMAAP__.93H7c7k4TLTqbKpozp0aTSU4U_WrQu3eS990iS-TCpw',
|
|
71
|
+
authObject: '{token:"aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjksOwjAMBe-SdS05tuPE7PpJNhwCBWglWCHaSiDE3SniEGznjfTm5eb16HYuIUWltoc-sYKkYGDcF_ApGWYzjrE_CHOHKANQxAJSYgYTCYBoahaC0qAHJc6lbRW8bLuUbpNIBDS3QTJhZiHXuPFxczsfmXxCJG3cpS4_gMb6Bes83vfj8x9x1-Wy3eJ48seQJuCaziATTWDRIlSazCNrlerd-wMAAP__.93H7c7k4TLTqbKpozp0aTSU4U_WrQu3eS990iS-TCpw"}',
|
|
71
72
|
|
|
72
73
|
// originalRequestURL: 'http://10.88.22.67:8080',
|
|
73
74
|
EstateInfo: '{"estateId":"1c581b7c-d629-4670-8a7c-6d622860bc58","estateName":"0%E9%87%91%E9%9A%85%E4%BA%91%E7%AD%91%E5%A4%A9%E6%B4%A5","estDeptPath":"009.014.001.001"}',
|
|
@@ -11254,7 +11254,7 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABX
|
|
|
11254
11254
|
"use strict";
|
|
11255
11255
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicForm_vue__ = __webpack_require__(185);
|
|
11256
11256
|
/* unused harmony namespace reexport */
|
|
11257
|
-
/* harmony import */ var
|
|
11257
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_5b0ebfe6_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicForm_vue__ = __webpack_require__(617);
|
|
11258
11258
|
function injectStyle (ssrContext) {
|
|
11259
11259
|
__webpack_require__(611)
|
|
11260
11260
|
}
|
|
@@ -11274,7 +11274,7 @@ var __vue_scopeId__ = null
|
|
|
11274
11274
|
var __vue_module_identifier__ = null
|
|
11275
11275
|
var Component = normalizeComponent(
|
|
11276
11276
|
__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicForm_vue__["a" /* default */],
|
|
11277
|
-
|
|
11277
|
+
__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_5b0ebfe6_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicForm_vue__["a" /* default */],
|
|
11278
11278
|
__vue_template_functional__,
|
|
11279
11279
|
__vue_styles__,
|
|
11280
11280
|
__vue_scopeId__,
|
|
@@ -20224,7 +20224,7 @@ exports.f = __webpack_require__(30) ? gOPD : function getOwnPropertyDescriptor(O
|
|
|
20224
20224
|
"use strict";
|
|
20225
20225
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicSearchTable_vue__ = __webpack_require__(156);
|
|
20226
20226
|
/* unused harmony namespace reexport */
|
|
20227
|
-
/* harmony import */ var
|
|
20227
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_c8c25f46_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicSearchTable_vue__ = __webpack_require__(572);
|
|
20228
20228
|
function injectStyle (ssrContext) {
|
|
20229
20229
|
__webpack_require__(534)
|
|
20230
20230
|
}
|
|
@@ -20244,7 +20244,7 @@ var __vue_scopeId__ = null
|
|
|
20244
20244
|
var __vue_module_identifier__ = null
|
|
20245
20245
|
var Component = normalizeComponent(
|
|
20246
20246
|
__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicSearchTable_vue__["a" /* default */],
|
|
20247
|
-
|
|
20247
|
+
__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_c8c25f46_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicSearchTable_vue__["a" /* default */],
|
|
20248
20248
|
__vue_template_functional__,
|
|
20249
20249
|
__vue_styles__,
|
|
20250
20250
|
__vue_scopeId__,
|
|
@@ -21733,7 +21733,8 @@ var Component = normalizeComponent(
|
|
|
21733
21733
|
height: field.dialogHeight + "px",
|
|
21734
21734
|
documentHeight: self.documentHeight,
|
|
21735
21735
|
documentWidth: self.documentWidth,
|
|
21736
|
-
flagScroll: true
|
|
21736
|
+
flagScroll: true,
|
|
21737
|
+
isIframe: self.isIframe
|
|
21737
21738
|
},
|
|
21738
21739
|
on: {
|
|
21739
21740
|
submit: function submit(ev) {
|
|
@@ -21793,7 +21794,8 @@ var Component = normalizeComponent(
|
|
|
21793
21794
|
width: field.dialogWidth + "px",
|
|
21794
21795
|
height: field.dialogHeight + "px",
|
|
21795
21796
|
documentHeight: self.documentHeight,
|
|
21796
|
-
documentWidth: self.documentWidth
|
|
21797
|
+
documentWidth: self.documentWidth,
|
|
21798
|
+
isIframe: self.isIframe
|
|
21797
21799
|
},
|
|
21798
21800
|
on: {
|
|
21799
21801
|
refreshParent: function refreshParent() {
|
|
@@ -22026,7 +22028,8 @@ var Component = normalizeComponent(
|
|
|
22026
22028
|
showTitle: false,
|
|
22027
22029
|
width: field.dialogWidth + "px",
|
|
22028
22030
|
height: field.dialogHeight + "px",
|
|
22029
|
-
flagScroll: true
|
|
22031
|
+
flagScroll: true,
|
|
22032
|
+
isIframe: self.isIframe
|
|
22030
22033
|
},
|
|
22031
22034
|
on: {
|
|
22032
22035
|
submit: function submit(ev) {
|
|
@@ -22061,7 +22064,8 @@ var Component = normalizeComponent(
|
|
|
22061
22064
|
searchDataApi: field.actionForSearch,
|
|
22062
22065
|
apiParam: field.getActionPara(submitData).para,
|
|
22063
22066
|
width: field.dialogWidth + "px",
|
|
22064
|
-
height: field.dialogHeight + "px"
|
|
22067
|
+
height: field.dialogHeight + "px",
|
|
22068
|
+
isIframe: self.isIframe
|
|
22065
22069
|
},
|
|
22066
22070
|
on: {
|
|
22067
22071
|
refreshParent: function refreshParent() {
|
|
@@ -28873,6 +28877,10 @@ module.exports = g;
|
|
|
28873
28877
|
openType: {
|
|
28874
28878
|
String: String,
|
|
28875
28879
|
default: ''
|
|
28880
|
+
},
|
|
28881
|
+
isIframe: {
|
|
28882
|
+
Boolean: Boolean,
|
|
28883
|
+
default: false
|
|
28876
28884
|
}
|
|
28877
28885
|
},
|
|
28878
28886
|
data: function data() {
|
|
@@ -29360,7 +29368,8 @@ module.exports = g;
|
|
|
29360
29368
|
width: field.dialogWidth + 'px',
|
|
29361
29369
|
height: field.dialogHeight + 'px',
|
|
29362
29370
|
documentHeight: self.documentHeight,
|
|
29363
|
-
documentWidth: self.documentWidth
|
|
29371
|
+
documentWidth: self.documentWidth,
|
|
29372
|
+
isIframe: self.isIframe
|
|
29364
29373
|
},
|
|
29365
29374
|
on: {
|
|
29366
29375
|
submit: function submit(ev) {
|
|
@@ -29397,7 +29406,8 @@ module.exports = g;
|
|
|
29397
29406
|
searchDataApi: field.actionForSearch,
|
|
29398
29407
|
apiParam: submitData,
|
|
29399
29408
|
width: field.dialogWidth + 'px',
|
|
29400
|
-
height: field.dialogHeight + 'px'
|
|
29409
|
+
height: field.dialogHeight + 'px',
|
|
29410
|
+
isIframe: self.isIframe
|
|
29401
29411
|
},
|
|
29402
29412
|
on: {
|
|
29403
29413
|
submit: function submit(ev) {
|
|
@@ -29645,6 +29655,9 @@ module.exports = g;
|
|
|
29645
29655
|
submitData = field.getActionPara(submitData).para;
|
|
29646
29656
|
var title = field.pageTitle == undefined ? field.label : field.pageTitle;
|
|
29647
29657
|
submitData.actionType = field.actionType;
|
|
29658
|
+
if (self.isIframe) {
|
|
29659
|
+
submitData.isIframe = self.isIframe;
|
|
29660
|
+
}
|
|
29648
29661
|
var fun = self.$common.getDataDrivenOpts().handler[field.action];
|
|
29649
29662
|
fun(submitData, title, self.model);
|
|
29650
29663
|
}
|
|
@@ -56571,6 +56584,10 @@ var SearchScreen = function SearchScreen(source, callBack, screenPara, prevParam
|
|
|
56571
56584
|
fieldsDic: null, //fieldsDic
|
|
56572
56585
|
_excuteListData: undefined,
|
|
56573
56586
|
|
|
56587
|
+
enableRelationFields: function enableRelationFields(FlagRelation) {
|
|
56588
|
+
this.form.enableRelationFields = FlagRelation;
|
|
56589
|
+
},
|
|
56590
|
+
|
|
56574
56591
|
//获取code1
|
|
56575
56592
|
getCode1ByField1: function getCode1ByField1(id) {
|
|
56576
56593
|
var rtn1 = this.fieldsDic[id];
|
|
@@ -74254,7 +74271,7 @@ var content = __webpack_require__(535);
|
|
|
74254
74271
|
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
74255
74272
|
if(content.locals) module.exports = content.locals;
|
|
74256
74273
|
// add the styles to the DOM
|
|
74257
|
-
var update = __webpack_require__(3)("
|
|
74274
|
+
var update = __webpack_require__(3)("5f599561", content, true, {});
|
|
74258
74275
|
|
|
74259
74276
|
/***/ }),
|
|
74260
74277
|
/* 535 */
|
|
@@ -75674,7 +75691,7 @@ var content = __webpack_require__(612);
|
|
|
75674
75691
|
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
75675
75692
|
if(content.locals) module.exports = content.locals;
|
|
75676
75693
|
// add the styles to the DOM
|
|
75677
|
-
var update = __webpack_require__(3)("
|
|
75694
|
+
var update = __webpack_require__(3)("37ef10e5", content, true, {});
|
|
75678
75695
|
|
|
75679
75696
|
/***/ }),
|
|
75680
75697
|
/* 612 */
|