centaline-data-driven 1.5.7 → 1.5.9
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/src/Form.vue +16 -2
- package/src/SearchList.vue +4 -4
- package/src/centaline/dynamicDetail/src/dynamicPropertyDetailOFI.vue +4 -13
- package/src/centaline/dynamicDetail/src/dynamicPropertyDetailRET.vue +4 -12
- package/src/centaline/dynamicForm/src/dynamicFormListTable.vue +6 -1
- package/src/centaline/dynamicPhotoSelect/src/dynamicPhotoSelect.vue +5 -2
- package/src/centaline/loader/src/ctl/PhotoSelect.js +4 -4
- package/src/main.js +4 -4
- package/wwwroot/static/centaline/centaline-data-driven.js +2 -2
- package/wwwroot/static/centaline/centaline-data-driven.js.map +1 -1
package/package.json
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="'/api/
|
|
4
|
+
<ct-form :api="'/api/third-dept-tran/transaction/detail'" :apiParam="apiParam" :topHeight="topHeight"></ct-form>
|
|
5
5
|
<ct-dialog-list></ct-dialog-list>
|
|
6
6
|
</div>
|
|
7
7
|
</template>
|
|
@@ -12,7 +12,21 @@
|
|
|
12
12
|
data() {
|
|
13
13
|
return {
|
|
14
14
|
apiParam:{
|
|
15
|
-
|
|
15
|
+
actionType
|
|
16
|
+
:
|
|
17
|
+
"1",
|
|
18
|
+
originalTraId
|
|
19
|
+
:
|
|
20
|
+
"1654759860127432706",
|
|
21
|
+
pageOnly
|
|
22
|
+
:
|
|
23
|
+
"true",
|
|
24
|
+
pageStyle
|
|
25
|
+
:
|
|
26
|
+
"2",
|
|
27
|
+
pageTitle
|
|
28
|
+
:
|
|
29
|
+
"成交报告"
|
|
16
30
|
},
|
|
17
31
|
topHeight:10,
|
|
18
32
|
}
|
package/src/SearchList.vue
CHANGED
|
@@ -9,18 +9,18 @@
|
|
|
9
9
|
:searchDataApi="'/api/third-dept-tran/tran-list'">
|
|
10
10
|
</ct-searchlist> -->
|
|
11
11
|
|
|
12
|
-
<ct-searchlist :apiParam="para"
|
|
12
|
+
<!-- <ct-searchlist :apiParam="para"
|
|
13
13
|
:searchConditionApi="'/commissionquery/CustomerReferralTranListReport/getLayoutOfSearch'"
|
|
14
14
|
:searchDataApi="'/commissionquery/CustomerReferralTranListReport/getList'">
|
|
15
|
-
</ct-searchlist>
|
|
15
|
+
</ct-searchlist> -->
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
<ct-searchlist :apiParam="para"
|
|
19
19
|
:searchConditionApi="'/ProfileWorklistList/getLayoutOfSearch'"
|
|
20
20
|
:searchCategoryApi="'/ProfileWorklistList/getLayoutOfSearchCategory'"
|
|
21
21
|
:searchDataApi="'/ProfileWorklistList/getListOfSearchModel'"
|
|
22
22
|
:searchStatsApi="'/ProfileWorklistList/getListStats'">
|
|
23
|
-
</ct-searchlist>
|
|
23
|
+
</ct-searchlist>
|
|
24
24
|
|
|
25
25
|
<!-- <ct-searchlist :apiParam="para"
|
|
26
26
|
:searchConditionApi="'/RightValueList/getLayoutOfSearch'"
|
|
@@ -272,7 +272,7 @@
|
|
|
272
272
|
<div class="t-item">
|
|
273
273
|
<span class="i" :class="'operation' + col.flagKey" :style="{ color: col.descColor }">{{ col.desc }}</span>
|
|
274
274
|
</div>
|
|
275
|
-
<div class="t-item" style="min-height: 50px">
|
|
275
|
+
<div class="t-item" style="min-height: 50px;min-width: 120px;">
|
|
276
276
|
<component
|
|
277
277
|
v-for="(router, routerIndex) in col.routers"
|
|
278
278
|
:key="routerIndex"
|
|
@@ -1601,7 +1601,6 @@ export default {
|
|
|
1601
1601
|
align-items: center;
|
|
1602
1602
|
justify-content: space-between;
|
|
1603
1603
|
.list-item {
|
|
1604
|
-
// width: 33.3%;
|
|
1605
1604
|
width: 120px;
|
|
1606
1605
|
height: 62px;
|
|
1607
1606
|
font-size: 14px;
|
|
@@ -1624,8 +1623,7 @@ export default {
|
|
|
1624
1623
|
.operation-table {
|
|
1625
1624
|
padding: 0;
|
|
1626
1625
|
.table-box {
|
|
1627
|
-
display:
|
|
1628
|
-
// align-items: center;
|
|
1626
|
+
display: flex;
|
|
1629
1627
|
border-bottom: 1px solid #e0e0e0;
|
|
1630
1628
|
.t-item {
|
|
1631
1629
|
padding: 5px 8px;
|
|
@@ -1637,18 +1635,11 @@ export default {
|
|
|
1637
1635
|
align-items: flex-start;
|
|
1638
1636
|
border-right: 1px solid #e0e0e0;
|
|
1639
1637
|
justify-content: center;
|
|
1640
|
-
|
|
1641
|
-
// position: absolute;
|
|
1642
|
-
// top: 50%;
|
|
1643
|
-
// left: 50%;
|
|
1644
|
-
// transform: translateY(-50%);
|
|
1645
|
-
}
|
|
1638
|
+
min-width: 0;
|
|
1646
1639
|
.t-but {
|
|
1647
1640
|
font-size: 12px;
|
|
1648
1641
|
margin-left: 0;
|
|
1649
|
-
width: 104px;
|
|
1650
|
-
// height: 100%;
|
|
1651
|
-
// margin: 12px 16px 0 16px;
|
|
1642
|
+
width: 104px;
|
|
1652
1643
|
margin-top: 8px;
|
|
1653
1644
|
padding: 0;
|
|
1654
1645
|
}
|
|
@@ -274,7 +274,7 @@
|
|
|
274
274
|
<div class="t-item">
|
|
275
275
|
<span class="i" :class="'operation' + col.flagKey" :style="{ color: col.descColor }">{{ col.desc }}</span>
|
|
276
276
|
</div>
|
|
277
|
-
<div class="t-item" style="min-height: 50px">
|
|
277
|
+
<div class="t-item" style="min-height: 50px;min-width: 120px;">
|
|
278
278
|
<component v-for="(router, routerIndex) in col.routers" :key="routerIndex"
|
|
279
279
|
:is="router.is" :vmodel="router" :api="model.optionApi"
|
|
280
280
|
@click="fieldClickHandler(router, $event)"
|
|
@@ -1615,7 +1615,6 @@ export default {
|
|
|
1615
1615
|
align-items: center;
|
|
1616
1616
|
justify-content: space-between;
|
|
1617
1617
|
.list-item {
|
|
1618
|
-
// width: 33.3%;
|
|
1619
1618
|
width:120px;
|
|
1620
1619
|
height: 62px;
|
|
1621
1620
|
font-size: 14px;
|
|
@@ -1638,8 +1637,7 @@ export default {
|
|
|
1638
1637
|
.operation-table {
|
|
1639
1638
|
padding: 0;
|
|
1640
1639
|
.table-box {
|
|
1641
|
-
display:
|
|
1642
|
-
// align-items: center;
|
|
1640
|
+
display: flex;
|
|
1643
1641
|
border-bottom: 1px solid #e0e0e0;
|
|
1644
1642
|
.t-item {
|
|
1645
1643
|
padding: 5px 8px;
|
|
@@ -1651,18 +1649,12 @@ export default {
|
|
|
1651
1649
|
align-items: flex-start;
|
|
1652
1650
|
border-right: 1px solid #e0e0e0;
|
|
1653
1651
|
justify-content: center;
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
// top: 50%;
|
|
1657
|
-
// left: 50%;
|
|
1658
|
-
// transform: translateY(-50%);
|
|
1659
|
-
}
|
|
1652
|
+
min-width: 0;
|
|
1653
|
+
|
|
1660
1654
|
.t-but {
|
|
1661
1655
|
font-size: 12px;
|
|
1662
1656
|
margin-left: 0;
|
|
1663
1657
|
width: 104px;
|
|
1664
|
-
// height: 100%;
|
|
1665
|
-
// margin: 12px 16px 0 16px;
|
|
1666
1658
|
margin-top: 8px;
|
|
1667
1659
|
padding: 0;
|
|
1668
1660
|
}
|
|
@@ -101,10 +101,15 @@
|
|
|
101
101
|
labelShow=this.vmodel.labelValue+this.vmodel.code2;
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
|
+
else if(this.vmodel.type===4){
|
|
105
|
+
if(this.vmodel.name1){
|
|
106
|
+
labelShow=this.vmodel.name1;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
104
109
|
return labelShow;
|
|
105
110
|
},
|
|
106
111
|
},
|
|
107
|
-
template: '<div :class="getClass()" :style="{\'color\':getFontColor()}"
|
|
112
|
+
template: '<div :class="getClass()" :style="{\'color\':getFontColor()}" v-html="getLableShow()"></div>'
|
|
108
113
|
}
|
|
109
114
|
|
|
110
115
|
export default {
|
|
@@ -115,10 +115,12 @@ export default {
|
|
|
115
115
|
this.max = data.max ? data.max : 99999;
|
|
116
116
|
this.model = data;
|
|
117
117
|
this.photoList = data.fileList;
|
|
118
|
+
this.selfValidExcute("valid");
|
|
118
119
|
},
|
|
119
120
|
handleRemove(item,index) {
|
|
120
121
|
this.model.delete(item,index);
|
|
121
122
|
this.photoList.splice(index, 1);
|
|
123
|
+
this.selfValidExcute("valid");
|
|
122
124
|
},
|
|
123
125
|
handleOpen() {
|
|
124
126
|
var self = this;
|
|
@@ -138,7 +140,7 @@ export default {
|
|
|
138
140
|
self.photoList.forEach((n) => {
|
|
139
141
|
chooseList.push(n);
|
|
140
142
|
});
|
|
141
|
-
|
|
143
|
+
|
|
142
144
|
var dialogOption = {
|
|
143
145
|
title: "选择图片",
|
|
144
146
|
pane: self.$common.getParentPane(self),
|
|
@@ -175,7 +177,7 @@ export default {
|
|
|
175
177
|
}
|
|
176
178
|
self.model.setfileSourceList(photoList);
|
|
177
179
|
self.photoList = photoList;
|
|
178
|
-
|
|
180
|
+
self.selfValidExcute("valid");
|
|
179
181
|
self.$common.closeDialog(dialogOption.dialog);
|
|
180
182
|
});
|
|
181
183
|
},
|
|
@@ -210,6 +212,7 @@ export default {
|
|
|
210
212
|
});
|
|
211
213
|
item.flagDefault = true;
|
|
212
214
|
self.model.setfileSourceList(list);
|
|
215
|
+
self.selfValidExcute("valid");
|
|
213
216
|
},
|
|
214
217
|
//不能共用的数据校验
|
|
215
218
|
selfValidExcute: function (eventName) {
|
|
@@ -67,16 +67,16 @@ const PhotoSelect = function (source, fileSourceList, router, optionApi,sourceLi
|
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
|
-
fileSourceList = [...newfileList
|
|
70
|
+
fileSourceList = [...newfileList, ...pushArr];
|
|
71
71
|
},
|
|
72
|
-
delete(delitem,
|
|
72
|
+
delete(delitem,i) {
|
|
73
73
|
let newVal = true;
|
|
74
74
|
let item = null;
|
|
75
75
|
|
|
76
76
|
let sourceIndex = sourceList.findIndex(v => v.mediaID === delitem.mediaID);
|
|
77
|
-
let
|
|
77
|
+
let index = fileSourceList.findIndex(v => v.mediaID === delitem.mediaID);
|
|
78
78
|
if (sourceIndex === -1) {
|
|
79
|
-
fileSourceList.splice(
|
|
79
|
+
fileSourceList.splice(index, 1);
|
|
80
80
|
}
|
|
81
81
|
else {
|
|
82
82
|
fileSourceList[index].flagDefault = false;
|
package/src/main.js
CHANGED
|
@@ -14,8 +14,8 @@ Vue.use(ElementUI, { size: 'mini'});
|
|
|
14
14
|
// 关闭生产模式下给出的提示
|
|
15
15
|
Vue.config.productionTip = false;
|
|
16
16
|
Vue.use(centaline, {
|
|
17
|
-
|
|
18
|
-
baseUrl: "http://10.6.1.163:9000/max-uplink-api/v1/form/router",
|
|
17
|
+
baseUrl: "http://10.88.22.46:7070/max-uplink-api/v1/form/router",
|
|
18
|
+
// baseUrl: "http://10.6.1.163:9000/max-uplink-api/v1/form/router",
|
|
19
19
|
// baseUrl: "http://10.25.10.67:9999/service-api/v1/form/router",
|
|
20
20
|
// baseUrl: "http://10.25.10.67:8080/",
|
|
21
21
|
// baseUrl: "http://10.88.22.42:9999/v1/form/router",
|
|
@@ -50,8 +50,8 @@ Vue.use(centaline, {
|
|
|
50
50
|
// 获取请求头
|
|
51
51
|
getRequestHeaders: function () {
|
|
52
52
|
return {
|
|
53
|
-
oldToken: '
|
|
54
|
-
token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.
|
|
53
|
+
oldToken: '1ae3431d-8b29-4c75-9913-4b757dc2b2db',
|
|
54
|
+
token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjr0OgkAQhN9laza5n727XTtugcaHIBAgwcoIJBrju4tRO3u_YoqvmJk7LFsPB6i4NKSNR61dQKpSwLJJjFmZTXbJU-ZWPuCP-NJaS5JsrLGUpEiRPLJVRqWo1FS111xBAeP1DAcb2ZMzRqiAuVvfYie-xLaMl-N4-8e50zrvs8QSTHKCybkByU1hL-s7NJIMB6EwTAKPJwAAAP__.XDp1uvqZXzcBbrTwxD17-Og6ryO6IJ9eJQg56GMN3a0',
|
|
55
55
|
|
|
56
56
|
originalRequestURL: 'http://10.88.22.67:8080',
|
|
57
57
|
EstateInfo: '{"estateId":"201703020943128D8A8FCF463E4016D6","estateName":"%E4%B8%87%E7%A7%91%E4%BA%91%E5%9F%8E"}',
|