centaline-data-driven 1.6.16 → 1.6.17
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/build/centaline/centaline.path.js +1 -0
- package/package.json +1 -1
- package/release-log.md +12 -0
- package/src/Form.vue +1 -1
- package/src/SearchList.vue +3 -2
- package/src/centaline/css/common.css +14 -0
- package/src/centaline/dynamicAppContainer/src/dynamicAppContainer.vue +1 -2
- package/src/centaline/dynamicFile/src/dynamicFile.vue +14 -7
- package/src/centaline/dynamicForm/src/dynamicForm.vue +47 -2
- package/src/centaline/dynamicLocation/index.js +11 -0
- package/src/centaline/dynamicLocation/src/dynamicLocation.vue +69 -0
- package/src/centaline/dynamicMapBaidu/src/dynamicMapBaidu.vue +64 -8
- package/src/centaline/dynamicSearchList/src/dynamicSearchScreen.vue +12 -9
- package/src/centaline/dynamicSearchList/src/dynamicSearchTable.vue +0 -1
- package/src/centaline/loader/src/ctl/File.js +10 -11
- package/src/centaline/loader/src/ctl/Location.js +11 -0
- package/src/centaline/loader/src/ctl/SearchScreen.js +2 -2
- package/src/centaline/loader/src/ctl/lib/Enum.js +5 -0
- package/src/centaline/loader/src/ctl/lib/LibFunction.js +9 -2
- package/src/centaline/loader/src/ctl.js +1 -0
- package/src/centaline/templateControls/src/dynamicTableCurrency.vue +3 -1
- package/src/centaline/validate/index.js +1 -0
- package/src/main.js +11 -7
- package/wwwroot/static/centaline/centaline-data-driven.js +2188 -1876
- package/wwwroot/static/centaline/centaline-data-driven.js.map +1 -1
|
@@ -333,6 +333,7 @@ const valid = {
|
|
|
333
333
|
case Enum.ControlType.DateRange:
|
|
334
334
|
case Enum.ControlType.DateTimeRange:
|
|
335
335
|
case Enum.ControlType.ComboBoxWithTextBox:
|
|
336
|
+
case Enum.ControlType.Location:
|
|
336
337
|
rtnValidate.push(valid.requiredArea);
|
|
337
338
|
break;
|
|
338
339
|
case Enum.ControlType.Address:
|
package/src/main.js
CHANGED
|
@@ -16,15 +16,16 @@ 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/",
|
|
20
|
+
// baseUrl: "http://10.88.22.46:22324/service-api/v1/form/router",
|
|
19
21
|
// baseUrl: "http://10.88.22.13:17070/max-uplink-api/",
|
|
20
22
|
// baseUrl: "http://10.88.22.13:6060/onecard-api/",
|
|
21
23
|
// baseUrl: "http://10.6.1.163:9000/max-uplink-api/v1/form/router",
|
|
22
|
-
baseUrl: "http://10.25.10.63:9999/service-api/",
|
|
23
|
-
baseUrl: "http://10.25.10.67:9999/service-api/",
|
|
24
|
+
// baseUrl: "http://10.25.10.63:9999/service-api/",
|
|
25
|
+
// baseUrl: "http://10.25.10.67:9999/service-api/",
|
|
24
26
|
// baseUrl: "http://10.25.10.69:8080/",
|
|
25
27
|
// baseUrl: "https://ccesutest.centaline.com.cn/service-api/v1/form/router",
|
|
26
28
|
// baseUrl: "http://10.88.22.69:8080/api/",
|
|
27
|
-
baseUrl: "http://10.88.22.46:9999/service-api/",
|
|
28
29
|
// baseUrl: "http://10.88.22.42:9999/service-api/",
|
|
29
30
|
// baseUrl: "http://10.1.245.111:31574/service-api/",
|
|
30
31
|
// baseUrl: "https://tjcptest.centaline.com.cn/",
|
|
@@ -54,6 +55,9 @@ Vue.use(centaline, {
|
|
|
54
55
|
openTabUrl: function (action) {
|
|
55
56
|
alert("打开tab页URL:" + action)
|
|
56
57
|
},
|
|
58
|
+
openAnnexVerify:function(submitData, pageTitle, parentModel){
|
|
59
|
+
alert("openAnnexVerify")
|
|
60
|
+
},
|
|
57
61
|
// 获取请求头
|
|
58
62
|
getRequestHeaders: function () {
|
|
59
63
|
return {
|
|
@@ -62,17 +66,17 @@ Vue.use(centaline, {
|
|
|
62
66
|
// authObject: '{token:"aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjksKAjEMQO_StYEkTZp2dq3TbjzE0JERxpX4AUW8u4qHcPd4m_ee7nKb3eDYxio1EJRKHoTFf8gzIKqOJbdajKfUssYRBZhTAWnWICbzoJR8xhhLLTLFLRIjE-g2G4hlhawtga9BLKKNWNht3HI_uYGMlFkl8cat_foT5BN-xe2ynHfL4x9zx-v6yRKbCR4QYp87SEeFzr1D2Hfbk4ZwQHOvNwAAAP__.WXDbBaPltpYZXolspry93UzYBfcZrKEmjpvrgrVTWFM"}',
|
|
63
67
|
|
|
64
68
|
// originalRequestURL: 'http://10.88.22.67:8080',
|
|
65
|
-
EstateInfo: '{"estateId":"
|
|
69
|
+
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"}',
|
|
66
70
|
estateId: '',
|
|
67
71
|
|
|
68
|
-
authObject: '{"currentEstate":{"estateId":"
|
|
69
|
-
AuthorizationCode:'Bearer eyJhbGciOiJIUzUxMiJ9.
|
|
72
|
+
authObject: '{"currentEstate":{"estateId":"2209201708108B8F50AB530A49EAA858","estateName":"U%E7%89%88%E6%B5%8B%E8%AF%95%E6%A5%BC%E7%9B%98%E7%82%B9%E4%BD%8D","estDeptPath":"009.001.001"},"platform":1,"osVersion":"","clientVersion":"","machineCode":"eeb8e2fc88b5bcbc2e4f297777142537","token":"","random":"VOLqzn","time":1723600566575,"sign":"32507ac205de93f235f893f5362882a9","systemSource":"CCESU","empNo":"csgl2","empId":"202110201430497BB5FE89123A054CCA"}',
|
|
73
|
+
AuthorizationCode:'Bearer eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6IjlkYmI0MWU2LThiNTMtNDIzMy1hNDdhLTkyMDZmODhjMTE4YyJ9.8OCB3SpvsX1OfMGyQnJ_wynzDRpR2MU7zNvogYTy_iG6shK2KzXfZ9hZLxJXgR7l4P_RS7flcmS6Admp7r2-xg',
|
|
70
74
|
};
|
|
71
75
|
},
|
|
72
76
|
// 请求完成事件,可判断是否登录过期执行响应操作
|
|
73
77
|
requestComplete: function (response) {
|
|
74
78
|
|
|
75
|
-
}
|
|
79
|
+
},
|
|
76
80
|
}});
|
|
77
81
|
|
|
78
82
|
/* eslint-disable no-new */
|