centaline-data-driven 1.6.7 → 1.6.8
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
CHANGED
package/release-log.md
CHANGED
package/src/SearchList.vue
CHANGED
|
@@ -68,11 +68,11 @@
|
|
|
68
68
|
|
|
69
69
|
<!-- <ct-searchlist :searchCategoryApi="'/PropertyPublishList/getLayoutOfSearchCategory'" :searchConditionApi="'/PropertyPublishList/getLayoutOfSearchForRET'" :searchStatsApi="'/PropertyPublishList/getListStatsForRET'" :searchDataApi="'/PropertyPublishList/getListOfSearchModelForRET'"></ct-searchlist> -->
|
|
70
70
|
|
|
71
|
-
|
|
71
|
+
<ct-searchlist :searchConditionApi="'/PropertyRETList/getLayoutOfSearch'"
|
|
72
72
|
:searchDataApi="'/PropertyRETList/getListOfSearchModel'"
|
|
73
73
|
:searchCategoryApi="'/PropertyRETList/getLayoutOfSearchCategory'"
|
|
74
74
|
:searchStatsApi="'/PropertyRETList/getListStats'">
|
|
75
|
-
</ct-searchlist>
|
|
75
|
+
</ct-searchlist>
|
|
76
76
|
|
|
77
77
|
<!-- <ct-searchlist :searchConditionApi="'/PropertyOFIList/getLayoutOfSearch'" :appRootUrl="appRootUrl"
|
|
78
78
|
:searchDataApi="'/PropertyOFIList/getListOfSearchModel'"
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
|
|
123
123
|
<!-- <ct-searchlist :appRootUrl="appRootUrl" :searchConditionApi="'/OvertimeList/getLayoutOfSearch'" :searchDataApi="'/OvertimeList/getListOfSearchModel'"></ct-searchlist> -->
|
|
124
124
|
|
|
125
|
-
<ct-searchlist :appRootUrl="appRootUrl" :searchConditionApi="'/TrainingAllowanceTotalList/getLayoutOfSearch'" :searchDataApi="'/TrainingAllowanceTotalList/getListOfSearchModel'"></ct-searchlist>
|
|
125
|
+
<!-- <ct-searchlist :appRootUrl="appRootUrl" :searchConditionApi="'/TrainingAllowanceTotalList/getLayoutOfSearch'" :searchDataApi="'/TrainingAllowanceTotalList/getListOfSearchModel'"></ct-searchlist> -->
|
|
126
126
|
|
|
127
127
|
<ct-dialog-list></ct-dialog-list>
|
|
128
128
|
</div>
|
|
@@ -276,7 +276,17 @@ const Base = function (source) {
|
|
|
276
276
|
get groupName() { return source.groupName || source.fieldName1; },
|
|
277
277
|
get operation() { return source.searchOperation; },
|
|
278
278
|
get searchDataType() { return source.searchDataType; } ,
|
|
279
|
-
get searchValue1() {
|
|
279
|
+
get searchValue1() {
|
|
280
|
+
if(source.controlType === Enum.ControlType.TextBox){
|
|
281
|
+
if(source.code1) {
|
|
282
|
+
let rtn = source.code1.trim();
|
|
283
|
+
rtn = rtn.replace(/\n/g, '');
|
|
284
|
+
rtn = rtn.replace(/\t/g, '');
|
|
285
|
+
return rtn;
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
return source.code1;
|
|
289
|
+
},
|
|
280
290
|
get searchValue2() { return source.code2; }
|
|
281
291
|
},
|
|
282
292
|
get searchDataType() {//检索的数据类型
|
package/src/main.js
CHANGED
|
@@ -23,7 +23,7 @@ Vue.use(centaline, {
|
|
|
23
23
|
// baseUrl: "http://10.25.10.69:8080/",
|
|
24
24
|
// baseUrl: "https://ccesutest.centaline.com.cn/service-api/v1/form/router",
|
|
25
25
|
// baseUrl: "http://10.88.22.69:8080/api/",
|
|
26
|
-
baseUrl: "http://10.88.22.42:9999/service-api/",
|
|
26
|
+
// baseUrl: "http://10.88.22.42:9999/service-api/",
|
|
27
27
|
// baseUrl: "http://10.1.245.111:31574/service-api/",
|
|
28
28
|
// baseUrl: "http://tjcptest.centaline.com.cn/",
|
|
29
29
|
// baseUrl: "https://shccai.centaline.com.cn/api/",
|
|
@@ -55,15 +55,15 @@ Vue.use(centaline, {
|
|
|
55
55
|
// 获取请求头
|
|
56
56
|
getRequestHeaders: function () {
|
|
57
57
|
return {
|
|
58
|
-
oldToken: '
|
|
58
|
+
oldToken: '686f748d-ac9a-457d-99be-bc959c08c1e0',
|
|
59
59
|
token:'1080-1762727915918856192',
|
|
60
|
-
authObject: '{token:"
|
|
60
|
+
authObject: '{token:"aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjksKAjEMQO_StYEkTZp2dq3TbjzE0JERxpX4AUW8u4qHcPd4m_ee7nKb3eDYxio1EJRKHoTFf8gzIKqOJbdajKfUssYRBZhTAWnWICbzoJR8xhhLLTLFLRIjE-g2G4hlhawtga9BLKKNWNht3HI_uYGMlFkl8cat_foT5BN-xe2ynHfL4x9zx-v6yRKbCR4QYp87SEeFzr1D2Hfbk4ZwQHOvNwAAAP__.WXDbBaPltpYZXolspry93UzYBfcZrKEmjpvrgrVTWFM"}',
|
|
61
61
|
|
|
62
62
|
// originalRequestURL: 'http://10.88.22.67:8080',
|
|
63
63
|
EstateInfo: '{"estateId":"23112217144782E4C3D5F8164CB2AE3E","estateName":"%E9%93%B8%E5%B1%B1%E7%85%AE%E6%B5%B7","estDeptPath":"009.007.001.002"}',
|
|
64
64
|
estateId: '',
|
|
65
65
|
|
|
66
|
-
authObject: '{"currentEstate":{"estateId":"23112217144782E4C3D5F8164CB2AE3E","estateName":"%E9%93%B8%E5%B1%B1%E7%85%AE%E6%B5%B7","estDeptPath":"009.007.001.002"},"platform":1,"osVersion":"","clientVersion":"","machineCode":"d2131a034036ffd8415011c894807824","token":"","random":"UXhMhQ","time":1714015400375,"sign":"c3be796d30d5a04d4f1037e8a12bd5b1","systemSource":"CCESU","empNo":"zhangtm","empId":"20201030134831BAA0AC5CDC9344B21E"}',
|
|
66
|
+
// authObject: '{"currentEstate":{"estateId":"23112217144782E4C3D5F8164CB2AE3E","estateName":"%E9%93%B8%E5%B1%B1%E7%85%AE%E6%B5%B7","estDeptPath":"009.007.001.002"},"platform":1,"osVersion":"","clientVersion":"","machineCode":"d2131a034036ffd8415011c894807824","token":"","random":"UXhMhQ","time":1714015400375,"sign":"c3be796d30d5a04d4f1037e8a12bd5b1","systemSource":"CCESU","empNo":"zhangtm","empId":"20201030134831BAA0AC5CDC9344B21E"}',
|
|
67
67
|
AuthorizationCode:'Bearer eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6IjE2MjI4MGZlLTdkMWMtNDZiNS1hYTA4LTBjMDhmNTdlNDU0MSJ9.GBTB2O5oLnvhjrexjS_SO5F9YWZks7qoVPYYuPBsxzgMuwBZ095A2SD_ELf05jPl9Bxt2zwhz99pIfoSS-2DWA',
|
|
68
68
|
};
|
|
69
69
|
},
|
|
@@ -6842,6 +6842,14 @@ var Base = function Base(source) {
|
|
|
6842
6842
|
return source.searchDataType;
|
|
6843
6843
|
},
|
|
6844
6844
|
get searchValue1() {
|
|
6845
|
+
if (source.controlType === __WEBPACK_IMPORTED_MODULE_2__ctl_lib_Enum__["default"].ControlType.TextBox) {
|
|
6846
|
+
if (source.code1) {
|
|
6847
|
+
var _rtn = source.code1.trim();
|
|
6848
|
+
_rtn = _rtn.replace(/\n/g, '');
|
|
6849
|
+
_rtn = _rtn.replace(/\t/g, '');
|
|
6850
|
+
return _rtn;
|
|
6851
|
+
}
|
|
6852
|
+
}
|
|
6845
6853
|
return source.code1;
|
|
6846
6854
|
},
|
|
6847
6855
|
get searchValue2() {
|