centaline-data-driven 1.5.55 → 1.5.57
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/.vs/Centaline.Front_End.DataDriven/DesignTimeBuild/.dtbcache +0 -0
- package/.vs/Centaline.Front_End.DataDriven/v16/Server/sqlite3/db.lock +0 -0
- package/.vs/Centaline.Front_End.DataDriven/v16/Server/sqlite3/storage.ide +0 -0
- package/obj/Centaline.Front_End.DataDriven.csproj.nuget.dgspec.json +11 -10
- package/obj/Centaline.Front_End.DataDriven.csproj.nuget.g.props +11 -14
- package/obj/Centaline.Front_End.DataDriven.csproj.nuget.g.targets +7 -7
- package/obj/project.assets.json +11 -52
- package/package.json +1 -1
- package/release-log.md +9 -0
- package/src/Detail.vue +3 -3
- package/src/Form.vue +2 -3
- package/src/SearchList.vue +28 -20
- package/src/SearchTree.vue +2 -2
- package/src/centaline/css/common.css +32 -31
- package/src/centaline/css/max.css +14 -14
- package/src/centaline/dynamicCb/src/dynamicCb.vue +1 -1
- package/src/centaline/dynamicCheckbox/src/dynamicCheckbox.vue +4 -4
- package/src/centaline/dynamicContact/src/dynamicContact.vue +1 -1
- package/src/centaline/dynamicContainer/src/dynamicContainer.vue +1 -1
- package/src/centaline/dynamicDetail/src/dynamicContactList.vue +4 -4
- package/src/centaline/dynamicDetail/src/dynamicCustomerSimpleDetail.vue +1 -1
- package/src/centaline/dynamicDetail/src/dynamicEstateBuildingDetail.vue +11 -11
- package/src/centaline/dynamicDetail/src/dynamicEstateSimpleDetail.vue +2 -2
- package/src/centaline/dynamicDetail/src/dynamicMatchCustomer.vue +1 -1
- package/src/centaline/dynamicDetail/src/dynamicPropertyDetailOFI.vue +13 -13
- package/src/centaline/dynamicDetail/src/dynamicPropertyDetailRET.vue +13 -13
- package/src/centaline/dynamicDetail/src/dynamicPropertySimpleDetailRET.vue +2 -2
- package/src/centaline/dynamicDragSort/src/dynamicDragSort.vue +1 -1
- package/src/centaline/dynamicHyperLink/index.js +1 -1
- package/src/centaline/dynamicInputNumber/src/dynamicInputNumber.vue +9 -7
- package/src/centaline/dynamicIti/src/dynamicIti.vue +7 -1
- package/src/centaline/dynamicLayout/src/dynamicLayoutChildren.vue +17 -17
- package/src/centaline/dynamicMo/src/dynamicMo.vue +6 -6
- package/src/centaline/dynamicPlaceHolder/index.js +1 -1
- package/src/centaline/dynamicPopupSearchList/src/dynamicPopupSearchListTable.vue +1 -1
- package/src/centaline/dynamicRepeat/src/dynamicRepeat.vue +6 -9
- package/src/centaline/dynamicSearchList/src/dynamicSearchTable.vue +3 -3
- package/src/centaline/dynamicSeg/src/dynamicSeg.vue +2 -2
- package/src/centaline/dynamicSo/src/dynamicSo.vue +6 -6
- package/src/centaline/dynamicSos/src/dynamicSos.vue +8 -8
- package/src/centaline/dynamicSw/src/dynamicSw.vue +1 -1
- package/src/centaline/dynamicT/src/dynamicT.vue +2 -2
- package/src/centaline/dynamicTags/src/dynamicTags.vue +6 -6
- package/src/centaline/loader/src/ctl/Button.js +16 -16
- package/src/centaline/loader/src/ctl/PlaceHolder.js +2 -2
- package/src/centaline/loader/src/ctl/Sos.js +2 -2
- package/src/centaline/templateControls/src/dynamicTableCurrency.vue +5 -5
- package/src/main.js +10 -7
- package/wwwroot/static/centaline/centaline-data-driven.js +140 -134
- package/wwwroot/static/centaline/centaline-data-driven.js.map +1 -1
- package/.vs/Centaline.Front_End.DataDriven/DesignTimeBuild/.dtbcache.v2 +0 -0
- package/.vs/Centaline.Front_End.DataDriven/config/applicationhost.config +0 -1034
- package/obj/Debug/netcoreapp2.1/Centaline.Front_End.DataDriven.csproj.FileListAbsolute.txt +0 -6
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import base from '../../index';
|
|
2
|
-
import Base from './Base';
|
|
3
|
-
import common from '../../../common';
|
|
4
|
-
import Router from './Router';
|
|
2
|
+
import Base from './Base';
|
|
3
|
+
import common from '../../../common';
|
|
4
|
+
import Router from './Router';
|
|
5
5
|
import Vue from 'vue';
|
|
6
6
|
const Button = function (source, router) {
|
|
7
7
|
var rtn = {
|
|
@@ -15,7 +15,7 @@ const Button = function (source, router) {
|
|
|
15
15
|
},
|
|
16
16
|
set label(v) {
|
|
17
17
|
source.controlLabel = v;
|
|
18
|
-
},
|
|
18
|
+
},
|
|
19
19
|
get routerKey() {
|
|
20
20
|
return source.routerKey;
|
|
21
21
|
},
|
|
@@ -24,8 +24,8 @@ const Button = function (source, router) {
|
|
|
24
24
|
return router.isHyperLink;
|
|
25
25
|
}
|
|
26
26
|
return false;
|
|
27
|
-
},
|
|
28
|
-
get isSearchRouterKey() {
|
|
27
|
+
},
|
|
28
|
+
get isSearchRouterKey() {
|
|
29
29
|
if (source.controlType == 16 && source.routerKey) {
|
|
30
30
|
return true;
|
|
31
31
|
}
|
|
@@ -48,10 +48,10 @@ const Button = function (source, router) {
|
|
|
48
48
|
get borderColor() {
|
|
49
49
|
return source.borderColor ? source.borderColor + '' : (source.bgColor ? source.bgColor + '' : '');
|
|
50
50
|
},
|
|
51
|
-
icon: '',
|
|
52
|
-
getApiData(callback, field) {
|
|
51
|
+
icon: '',
|
|
52
|
+
getApiData(callback, field) {
|
|
53
53
|
var params = {
|
|
54
|
-
action: field.actionForSearch,
|
|
54
|
+
action: field.actionForSearch,
|
|
55
55
|
para: {
|
|
56
56
|
searchFields: field.getSearchPara(),
|
|
57
57
|
pageAttribute: {
|
|
@@ -59,11 +59,11 @@ const Button = function (source, router) {
|
|
|
59
59
|
},
|
|
60
60
|
flagSearch: true
|
|
61
61
|
}
|
|
62
|
-
};
|
|
62
|
+
};
|
|
63
63
|
Vue.prototype.$api.postHandler(common.globalUri(), params).then((response) => {
|
|
64
|
-
if (response.rtnCode === 200) {
|
|
65
|
-
var Buttons = [];
|
|
66
|
-
if (response.content.toolButtons) {
|
|
64
|
+
if (response.rtnCode === 200) {
|
|
65
|
+
var Buttons = [];
|
|
66
|
+
if (response.content.toolButtons) {
|
|
67
67
|
response.content.toolButtons.forEach((v) => {
|
|
68
68
|
var button = Router(v);
|
|
69
69
|
button.is = "ct-btn";
|
|
@@ -72,11 +72,11 @@ const Button = function (source, router) {
|
|
|
72
72
|
class: 'max-btn-gray'
|
|
73
73
|
}
|
|
74
74
|
Buttons.push(button);
|
|
75
|
-
});
|
|
76
|
-
}
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
77
|
callback(response.content, Buttons);
|
|
78
78
|
}
|
|
79
|
-
});
|
|
79
|
+
});
|
|
80
80
|
},
|
|
81
81
|
};
|
|
82
82
|
if(router){
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import base from '../../index';
|
|
2
|
-
import Base from './Base';
|
|
2
|
+
import Base from './Base';
|
|
3
3
|
|
|
4
4
|
const PlaceHolder = function (source) {
|
|
5
5
|
var rtn = {
|
|
@@ -14,4 +14,4 @@ const PlaceHolder = function (source) {
|
|
|
14
14
|
return rtn;
|
|
15
15
|
};
|
|
16
16
|
|
|
17
|
-
export default PlaceHolder;
|
|
17
|
+
export default PlaceHolder;
|
|
@@ -6,7 +6,7 @@ import common from '../../../common';
|
|
|
6
6
|
import Vue from 'vue';
|
|
7
7
|
const Sos = function (source, moreActionRouter) {
|
|
8
8
|
var rtn = {
|
|
9
|
-
options: [{ code: source.code1, name: source.name1 }],
|
|
9
|
+
options: [{ code: source.code1, name: source.name1 }],
|
|
10
10
|
enableRelationFields: true,
|
|
11
11
|
get text() {
|
|
12
12
|
if (source.isList && source.name1 && rtn.attrs.placeholder && rtn.displayLabelAfterSelected) {
|
|
@@ -31,7 +31,7 @@ const Sos = function (source, moreActionRouter) {
|
|
|
31
31
|
},
|
|
32
32
|
get parentName() {
|
|
33
33
|
return source.parentField;
|
|
34
|
-
},
|
|
34
|
+
},
|
|
35
35
|
reset() {
|
|
36
36
|
this.value = this.defaultValue;
|
|
37
37
|
this.text = this.defaultText;
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
</div>
|
|
35
35
|
</template>
|
|
36
36
|
|
|
37
|
-
<script>
|
|
37
|
+
<script>
|
|
38
38
|
import Cookies from 'js-cookie';
|
|
39
39
|
export default {
|
|
40
40
|
name: 'ct-tablecurrency',
|
|
@@ -67,8 +67,8 @@
|
|
|
67
67
|
return false;
|
|
68
68
|
},
|
|
69
69
|
},
|
|
70
|
-
created() {
|
|
71
|
-
this.isVisited();
|
|
70
|
+
created() {
|
|
71
|
+
this.isVisited();
|
|
72
72
|
},
|
|
73
73
|
data() {
|
|
74
74
|
return {
|
|
@@ -98,8 +98,8 @@
|
|
|
98
98
|
}
|
|
99
99
|
this.labelColor='mazarine'
|
|
100
100
|
|
|
101
|
-
},
|
|
102
|
-
isVisited() {
|
|
101
|
+
},
|
|
102
|
+
isVisited() {
|
|
103
103
|
var key = this.router.action + this.rowData.chanceID;
|
|
104
104
|
if (typeof Cookies.get(key) !== "undefined") {
|
|
105
105
|
this.labelColor = 'mazarine'
|
package/src/main.js
CHANGED
|
@@ -14,14 +14,14 @@ Vue.use(ElementUI, { size: 'mini'});
|
|
|
14
14
|
// 关闭生产模式下给出的提示
|
|
15
15
|
Vue.config.productionTip = false;
|
|
16
16
|
Vue.use(centaline, {
|
|
17
|
-
baseUrl: "http://10.88.22.
|
|
17
|
+
baseUrl: "http://10.88.22.46:17070/max-uplink-api/",
|
|
18
18
|
// baseUrl: "http://10.88.22.13:17070/max-uplink-api/",
|
|
19
19
|
// baseUrl: "http://10.6.1.163:9000/max-uplink-api/v1/form/router",
|
|
20
|
-
// baseUrl: "http://10.25.10.
|
|
20
|
+
// baseUrl: "http://10.25.10.63:9999/service-api/v1/form/router",
|
|
21
21
|
// baseUrl: "http://10.25.10.67:8080/",
|
|
22
22
|
// baseUrl: "http://10.88.22.42:9999/service-api/v1/form/router",
|
|
23
23
|
// baseUrl: "http://10.88.22.69:8080/api/",
|
|
24
|
-
// baseUrl: "http://10.88.22.
|
|
24
|
+
// baseUrl: "http://10.88.22.16:8080/",
|
|
25
25
|
// baseUrl: "http://10.58.2.108:8080/",
|
|
26
26
|
// baseUrl: "http://tjcptest.centaline.com.cn/",
|
|
27
27
|
// baseUrl: "http://tjcpuat.centaline.com.cn:9090/",
|
|
@@ -37,6 +37,9 @@ Vue.use(centaline, {
|
|
|
37
37
|
openTabSearch: function (field, submitData) {
|
|
38
38
|
alert("打开tab页Search:" + field.action)
|
|
39
39
|
},
|
|
40
|
+
openTabSearchRouter: function (action) {
|
|
41
|
+
alert("打开tab页:" + action)
|
|
42
|
+
},
|
|
40
43
|
openDetail: function (action) {
|
|
41
44
|
alert("打开tab页:" + action)
|
|
42
45
|
},
|
|
@@ -53,16 +56,16 @@ Vue.use(centaline, {
|
|
|
53
56
|
// 获取请求头
|
|
54
57
|
getRequestHeaders: function () {
|
|
55
58
|
return {
|
|
56
|
-
oldToken: '
|
|
59
|
+
oldToken: 'aed9a1f3-c668-4d9e-aa6d-47ebe2b4eedb',
|
|
57
60
|
token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjjsOwjAQRO_iOiv5s1570zn-NBwiIuBIoUIkkUCIuxMEdPRMMRq95s1dzOsgWmHIccikIFr0gKQsMJYCURKxKdKYlHr-BH7UNz26yCFkByg7Aiw2A-tYwLDtEubgUibRiHo9i1aRRy-dtdSIab-8gdNKvcA618uu3v5x7rRMm3YkOZAfR6BtAWp_3LQHBNI8KHbkqlHi8QQAAP__.RrBgBqaFlp478oO3g5k_EEtjPt_o8qpJBkzgSP78Wa4',
|
|
58
|
-
authObject: '{token:"aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.
|
|
61
|
+
authObject: '{token:"aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjjsOgzAQBe_impVs72Kv6bANTQ6BDDYSqaIAUqIod89HSZc-U7ximnk3se6jaETkVlLoEUKna6Boa2h7y-ADs_TaInke3Af4MV8GpchZZTponQ1AhhBYBYZAJlAfOww-ikqUy0k0yjiUaJhcJZa0vYV2taSX2NdyPpTrP84dt-WZtTmnWU8IM08aqB41sEYNORuZik0qWxT3BwAAAP__.OaHsKNbZPKHHLfNzajh-v0slwZc0WeyUnjVhsMXKtkE"}',
|
|
59
62
|
|
|
60
63
|
originalRequestURL: 'http://10.88.22.67:8080',
|
|
61
64
|
EstateInfo: '{"estateId":"201806071109550C867184E8BCA56EC3","estateName":"C%E5%BE%A1%E6%9E%97%E5%B1%B1%E6%99%AF%E6%A5%BC"}',
|
|
62
65
|
estateId: '201806071109550C867184E8BCA56EC3',
|
|
63
66
|
|
|
64
|
-
// authObject: '{"currentEstate":{
|
|
65
|
-
AuthorizationCode:'Bearer eyJhbGciOiJIUzUxMiJ9.
|
|
67
|
+
// authObject: '{"currentEstate":{},"platform":1,"osVersion":"","clientVersion":"","machineCode":"470cac848b892484b949c6135dff97d6","token":"","random":"IVMfRJ","time":1689822719042,"sign":"19a04c54292bd44dfa5187983e27c530"}',
|
|
68
|
+
AuthorizationCode:'Bearer eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6Ijc5OTlkYWY4LTAzN2ItNDMyMi1iMTRmLTA1OGU4OTgxMzk3OCJ9.6ltiN_svSpuTIi45IHktKTVZLpP2Y1w3oJsjPGFKaNaZ51XDvhhqkEe_0GhnNsJWLxQc4FX4Lpfhgne0SmJjHA',
|
|
66
69
|
};
|
|
67
70
|
},
|
|
68
71
|
// 请求完成事件,可判断是否登录过期执行响应操作
|