centaline-data-driven 1.5.39 → 1.5.41
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 +31 -1
- package/src/SearchList.vue +5 -4
- package/src/centaline/css/ccai.css +2 -0
- package/src/centaline/dynamicContact/src/dynamicContact.vue +0 -1
- package/src/centaline/dynamicDetail/src/dynamicCustomerSimpleDetail.vue +25 -14
- package/src/centaline/dynamicDetail/src/dynamicEstateSimpleDetail.vue +1 -1
- package/src/centaline/dynamicDetail/src/dynamicPropertySimpleDetailRET.vue +1 -1
- package/src/centaline/dynamicForm/src/dynamicForm.vue +19 -18
- package/src/centaline/dynamicRepeat/src/dynamicRepeat.vue +354 -143
- package/src/centaline/dynamicSearchList/src/dynamicSearchList.vue +5 -1
- package/src/centaline/dynamicSearchList/src/dynamicSearchScreen.vue +27 -21
- package/src/centaline/dynamicSearchList/src/dynamicSearchTable.vue +29 -20
- package/src/centaline/dynamicSearchListTab/src/dynamicSearchListOne.vue +5 -1
- package/src/centaline/dynamicTree/src/dynamicTree.vue +3 -1
- package/src/centaline/formData/index.js +2 -2
- package/src/centaline/loader/src/ctl/Form.js +2 -2
- package/src/centaline/loader/src/ctl/Repeat.js +126 -19
- package/src/centaline/loader/src/ctl/SearchTable.js +1 -1
- package/src/centaline/progress/src/progress.vue +9 -4
- package/src/main.js +4 -4
- package/wwwroot/static/centaline/centaline-data-driven.js +490 -154
- package/wwwroot/static/centaline/centaline-data-driven.js.map +1 -1
package/package.json
CHANGED
package/release-log.md
CHANGED
|
@@ -1,10 +1,40 @@
|
|
|
1
|
+
## v1.5.41
|
|
2
|
+
2023-07-25
|
|
1
3
|
|
|
2
|
-
|
|
4
|
+
优化
|
|
5
|
+
|
|
6
|
+
tree组件搜索不存在时优化
|
|
7
|
+
|
|
8
|
+
Repeat组件优化
|
|
9
|
+
|
|
10
|
+
zip文件导出优化
|
|
11
|
+
|
|
12
|
+
客户侧边栏详情
|
|
13
|
+
|
|
14
|
+
右侧详情页tab高度计算优化
|
|
15
|
+
|
|
16
|
+
合并行更新优化
|
|
17
|
+
|
|
18
|
+
列表刷新行后,侧边栏需要刷新
|
|
19
|
+
|
|
20
|
+
列表查询按钮后面的插件没有支持自定义宽度
|
|
21
|
+
|
|
22
|
+
## v1.5.40
|
|
23
|
+
2023-07-19
|
|
24
|
+
|
|
25
|
+
bug修复
|
|
26
|
+
|
|
27
|
+
form表单固定按钮位置优化,兼容ccai
|
|
28
|
+
|
|
29
|
+
## v1.5.39
|
|
3
30
|
2023-07-19
|
|
4
31
|
|
|
5
32
|
bug修复
|
|
6
33
|
|
|
7
34
|
表格表头刷新时闪动问题修复
|
|
35
|
+
|
|
36
|
+
图片编辑打开不显示图片兼容性修复
|
|
37
|
+
|
|
8
38
|
## v1.5.38
|
|
9
39
|
2023-07-18
|
|
10
40
|
|
package/src/SearchList.vue
CHANGED
|
@@ -13,6 +13,9 @@
|
|
|
13
13
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/api/finance/tran-commission-allocate/process-layout'" :searchDataApi="'/api/finance/tran-commission-allocate/process-list'"></ct-searchlist> -->
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/filemanage/batchdownlist/getLayoutOfSearch'" :searchDataApi="'/filemanage/batchdownlist/getList'"></ct-searchlist> -->
|
|
17
|
+
|
|
18
|
+
|
|
16
19
|
<!-- <ct-searchlist :apiParam="para"
|
|
17
20
|
:searchConditionApi="'/api/transaction/adjustRecord/getLayoutOfSearch'"
|
|
18
21
|
:searchDataApi="'/api/transaction/adjustRecord/getTableList'">
|
|
@@ -64,17 +67,15 @@
|
|
|
64
67
|
:searchStatsApi="'/PropertyOFIList/getListStats'">
|
|
65
68
|
</ct-searchlist> -->
|
|
66
69
|
|
|
67
|
-
<!-- <ct-searchlist :searchConditionApi="'/CustomerList/getLayoutOfSearch'" :searchStatsApi="'/CustomerList/getListStats'" :searchDataApi="'/CustomerList/getListOfSearchModel'"></ct-searchlist> -->
|
|
68
|
-
|
|
69
70
|
<!-- <ct-searchlist :searchConditionApi="'/EstateList/getLayoutOfSearch'" :searchDataApi="'/EstateList/getListOfSearchModel'"></ct-searchlist> -->
|
|
70
71
|
|
|
71
72
|
<!-- <ct-searchlist :searchConditionApi="'/EstateBuildingList/getLayoutOfSearch'" :searchDataApi="'/EstateBuildingList/getListOfSearchModel'"></ct-searchlist> -->
|
|
72
73
|
|
|
73
74
|
<!-- <ct-searchlist :searchConditionApi="'/DistrictList/getLayoutOfSearch'" :searchDataApi="'/DistrictList/getListOfSearchModel'"></ct-searchlist> -->
|
|
74
75
|
|
|
75
|
-
|
|
76
|
+
<ct-searchlist :searchConditionApi="'/CustomerImportList/getLayoutOfSearch'" :searchDataApi="'/CustomerImportList/getListOfSearchModel'"></ct-searchlist>
|
|
76
77
|
|
|
77
|
-
<ct-searchlist :searchConditionApi="'/CustomerList/getLayoutOfSearch'" :searchStatsApi="'/CustomerList/getListStats'" :searchDataApi="'/CustomerList/getListOfSearchModel'"></ct-searchlist>
|
|
78
|
+
<!-- <ct-searchlist :searchConditionApi="'/CustomerList/getLayoutOfSearch'" :searchStatsApi="'/CustomerList/getListStats'" :searchDataApi="'/CustomerList/getListOfSearchModel'"></ct-searchlist> -->
|
|
78
79
|
|
|
79
80
|
<!-- <ct-searchlist :searchConditionApi="'/CallTaskList/getLayoutOfSearch'" :searchDataApi="'/CallTaskList/getListOfSearchModel'"></ct-searchlist> -->
|
|
80
81
|
|
|
@@ -19,8 +19,7 @@
|
|
|
19
19
|
alt="" style="width: 26px;height: 26px;vertical-align: bottom;margin-right:8px;cursor: pointer">
|
|
20
20
|
<div v-if="!model.flagAppMode && showIndex < 4" class="el-icon-close cursor" style="padding-top: 5px;" @click="closeSideHandler">
|
|
21
21
|
</div>
|
|
22
|
-
<span v-if="model.flagAppMode ||showIndex > 3 " :slot="showIndex > 0 ? 'reference' : ''" class="more" style="margin-right: 10px;"
|
|
23
|
-
@click="drawer = true"></span>
|
|
22
|
+
<span v-if="model.flagAppMode ||showIndex > 3 " :slot="showIndex > 0 ? 'reference' : ''" class="more" style="margin-right: 10px;" @click="drawer = true"></span>
|
|
24
23
|
<el-drawer title="更多操作" :visible.sync="drawer" direction="ttb" :modal="false" class="drawerMore" size="30%" style="position: absolute;">
|
|
25
24
|
<div style="display: flex;flex-flow:row wrap ">
|
|
26
25
|
<component v-for="(router, index) in model.actionRoutersSimple.slice(showIndex)" :key="index"
|
|
@@ -37,9 +36,8 @@
|
|
|
37
36
|
<div style="font-weight: Bold;font-size: 16px;color: #333333;display: flex;">
|
|
38
37
|
<img v-if="model.actionRouterFavorite" :src="model.actionRouterFavorite.imgUrl" alt="" @click="fieldClickHandler(model.actionRouterFavorite, $event)" class="Simplecollection" />
|
|
39
38
|
<span>{{ model.fields1Dic.CustName.value }}</span>
|
|
40
|
-
<div style="border: 1px solid #E0E0E0;font-size: 12px;color: #333333;padding-top: 3px;
|
|
41
|
-
|
|
42
|
-
{{ model.fields1Dic.StatusName.value }}
|
|
39
|
+
<div style="border: 1px solid #E0E0E0;font-size: 12px;color: #333333;padding-top: 3px; width: 68px;height: 26px;border-radius: 6px;text-align: center;margin-left: auto;">
|
|
40
|
+
{{ model.fields1Dic.OwnerShipName.value }}
|
|
43
41
|
</div>
|
|
44
42
|
</div>
|
|
45
43
|
<div v-if="model.fields1Dic.DistrictName" style="font-size: 12px;color: #999999;margin-top: 7px;">
|
|
@@ -60,7 +58,11 @@
|
|
|
60
58
|
<div v-if="model.flagHiddenSensitiveInfo" style="display: flex;align-items: center;justify-content: center;margin-top: 50%;height: 0px;">
|
|
61
59
|
<div v-html="model.hiddenSensitiveInfoReason"></div>
|
|
62
60
|
</div>
|
|
63
|
-
<div v-if="!model.flagHiddenSensitiveInfo" class="areaValue">
|
|
61
|
+
<div ref="sensitiveInfo" v-if="!model.flagHiddenSensitiveInfo" class="areaValue">
|
|
62
|
+
<div style="width: 33.33%;">
|
|
63
|
+
<div class="areaValuetile">{{ model.fields1Dic.BusinessUnit.label.replace(':', '') }}</div>
|
|
64
|
+
<div class="areaValueRed">{{ model.fields1Dic.BusinessUnit.value }}</div>
|
|
65
|
+
</div>
|
|
64
66
|
<div style="width: 33.33%;">
|
|
65
67
|
<div class="areaValuetile">{{ model.fields1Dic.Area.label.replace(':', '') }}</div>
|
|
66
68
|
<div class="areaValueRed"> {{ model.fields1Dic.Area.value }}{{ model.fields1Dic.Area.unitName }}</div>
|
|
@@ -69,10 +71,6 @@
|
|
|
69
71
|
<div class="areaValuetile">{{ model.fields1Dic.Price.label.replace(':', '') }}</div>
|
|
70
72
|
<div class="areaValueRed"><span v-html="model.fields1Dic.Price.value"></span><span>{{ model.fields1Dic.Price.unitName }}</span></div>
|
|
71
73
|
</div>
|
|
72
|
-
<div style="width: 33.33%;">
|
|
73
|
-
<div class="areaValuetile">{{ model.fields1Dic.BusinessUnit.label.replace(':', '') }}</div>
|
|
74
|
-
<div class="areaValueRed">{{ model.fields1Dic.BusinessUnit.value }}</div>
|
|
75
|
-
</div>
|
|
76
74
|
</div>
|
|
77
75
|
<div ref="contact" id="contact" style="margin-top: 16px;"
|
|
78
76
|
v-if="!model.flagHiddenSensitiveInfo && model.contactApiRouter !== null">
|
|
@@ -96,12 +94,11 @@
|
|
|
96
94
|
<div v-if="!model.flagHiddenSensitiveInfo" class="tablist-info base-box">
|
|
97
95
|
<div class="details-tabs-box">
|
|
98
96
|
<el-tabs :value="model.activeIndex1" @tab-click="handleSelect">
|
|
99
|
-
<el-tab-pane v-for="(col, index) in model.tags1" :key="col.appID" :index="index.toString()"
|
|
100
|
-
:name="index.toString()">
|
|
97
|
+
<el-tab-pane v-for="(col, index) in model.tags1" :key="col.appID" :index="index.toString()" :name="index.toString()">
|
|
101
98
|
<div slot="label" v-html="col.appName"></div>
|
|
102
99
|
</el-tab-pane>
|
|
103
100
|
</el-tabs>
|
|
104
|
-
<ct-searchlist ref="searchlist" v-if="model.searchConditionApiTags1"
|
|
101
|
+
<ct-searchlist ref="searchlist" v-if="model.searchConditionApiTags1" :from="'simpleDetail'"
|
|
105
102
|
:key="'list' + listKey.toString() + refershKey" :apiParam="model.paramDataTags1" :flagFocus="false"
|
|
106
103
|
:searchConditionApi="model.searchConditionApiTags1" :searchDataApi="model.searchDataApiTags1"
|
|
107
104
|
:flagAppMode="model.flagAppMode"></ct-searchlist>
|
|
@@ -109,6 +106,8 @@
|
|
|
109
106
|
</div>
|
|
110
107
|
</div>
|
|
111
108
|
<div v-if="isLoading" v-loading="isLoading" :style="{'height': loadingHeight+'px',}"></div>
|
|
109
|
+
<div v-if="model !== null && model.fields1Dic.StatusName" v-html="model.fields1Dic.StatusName.value"
|
|
110
|
+
:style="{'position': 'absolute','font-size': '12px','top':statusTop+'px','right':statusRight+'px'}"></div>
|
|
112
111
|
</div>
|
|
113
112
|
</template>
|
|
114
113
|
|
|
@@ -149,6 +148,8 @@ export default {
|
|
|
149
148
|
drawer: false,
|
|
150
149
|
isLoading:true,
|
|
151
150
|
loadingHeight:0,
|
|
151
|
+
statusTop:0,
|
|
152
|
+
statusRight:0,
|
|
152
153
|
}
|
|
153
154
|
},
|
|
154
155
|
watch: {
|
|
@@ -216,7 +217,17 @@ export default {
|
|
|
216
217
|
let self = this;
|
|
217
218
|
this.$nextTick(() => {
|
|
218
219
|
if (this.$refs.main) {
|
|
219
|
-
this.
|
|
220
|
+
if(this.model.routerForQRCode){
|
|
221
|
+
this.topWidth = this.$refs.main.clientWidth - 140;
|
|
222
|
+
}
|
|
223
|
+
else{
|
|
224
|
+
this.topWidth = this.$refs.main.clientWidth - 100;
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
if(this.$refs.sensitiveInfo){
|
|
229
|
+
this.statusTop=this.$refs.sensitiveInfo.offsetTop;
|
|
230
|
+
this.statusRight=23;
|
|
220
231
|
}
|
|
221
232
|
|
|
222
233
|
let totalWidth = 0;
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
<div slot="label" v-html="col.appName"></div>
|
|
121
121
|
</el-tab-pane>
|
|
122
122
|
</el-tabs>
|
|
123
|
-
<ct-searchlist ref="searchlist" v-if="model.searchConditionApiTags1"
|
|
123
|
+
<ct-searchlist ref="searchlist" v-if="model.searchConditionApiTags1" :from="'simpleDetail'"
|
|
124
124
|
:key="'list' + listKey.toString() + refershKey" :apiParam="model.paramDataTags1" :flagFocus="false"
|
|
125
125
|
:searchConditionApi="model.searchConditionApiTags1" :searchDataApi="model.searchDataApiTags1"
|
|
126
126
|
:flagAppMode="model.flagAppMode"></ct-searchlist>
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
<div slot="label" v-html="col.appName"></div>
|
|
126
126
|
</el-tab-pane>
|
|
127
127
|
</el-tabs>
|
|
128
|
-
<ct-searchlist ref="searchlist" v-if="model.searchConditionApiTags1"
|
|
128
|
+
<ct-searchlist ref="searchlist" v-if="model.searchConditionApiTags1" :from="'simpleDetail'"
|
|
129
129
|
:key="'list' + listKey.toString() + refershKey" :apiParam="model.paramDataTags1" :flagFocus="false"
|
|
130
130
|
:searchConditionApi="model.searchConditionApiTags1" :searchDataApi="model.searchDataApiTags1"
|
|
131
131
|
:flagAppMode="model.flagAppMode"></ct-searchlist>
|
|
@@ -649,33 +649,33 @@
|
|
|
649
649
|
}
|
|
650
650
|
else {
|
|
651
651
|
if (field.action.indexOf("http://") === 0 || field.action.indexOf("https://") === 0) {
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
if (field.action.indexOf("?") > -1) {
|
|
655
|
-
self.downloadUrl = field.action + "&" + Math.random();
|
|
652
|
+
if(field.action.indexOf(".zip") > -1){
|
|
653
|
+
window.location.href = encodeURI(field.action);
|
|
656
654
|
}
|
|
657
|
-
else
|
|
658
|
-
|
|
655
|
+
else{
|
|
656
|
+
if (field.action.indexOf("?") > -1) {
|
|
657
|
+
self.downloadUrl = field.action + "&" + Math.random();
|
|
658
|
+
}
|
|
659
|
+
else {
|
|
660
|
+
self.downloadUrl = field.action + "?" + Math.random();
|
|
661
|
+
}
|
|
659
662
|
}
|
|
660
|
-
// document.body.addEventListener('click', function() {
|
|
661
|
-
// window.open(field.action, "_blank");
|
|
662
|
-
// });
|
|
663
663
|
}
|
|
664
664
|
else {
|
|
665
665
|
field.doAction(submitData, (data) => {
|
|
666
666
|
if (data.content) {
|
|
667
667
|
if (data.content.indexOf("http://") === 0 || data.content.indexOf("https://") === 0) {
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
if (data.content.indexOf("?") > -1) {
|
|
671
|
-
self.downloadUrl = data.content + "&" + Math.random();
|
|
668
|
+
if(data.action.indexOf(".zip") > -1){
|
|
669
|
+
window.location.href = encodeURI(data.action);
|
|
672
670
|
}
|
|
673
|
-
else
|
|
674
|
-
|
|
671
|
+
else{
|
|
672
|
+
if (data.content.indexOf("?") > -1) {
|
|
673
|
+
self.downloadUrl = data.content + "&" + Math.random();
|
|
674
|
+
}
|
|
675
|
+
else {
|
|
676
|
+
self.downloadUrl = data.content + "?" + Math.random();
|
|
677
|
+
}
|
|
675
678
|
}
|
|
676
|
-
// document.body.addEventListener('click', function() {
|
|
677
|
-
// window.open(data.content, "_blank");
|
|
678
|
-
// });
|
|
679
679
|
}
|
|
680
680
|
else {
|
|
681
681
|
}
|
|
@@ -1150,6 +1150,7 @@
|
|
|
1150
1150
|
/* bottom: 6px; */
|
|
1151
1151
|
bottom: 0;
|
|
1152
1152
|
left: 0;
|
|
1153
|
+
right: 0;
|
|
1153
1154
|
border-radius: 0 0 4px 4px;
|
|
1154
1155
|
position: absolute;
|
|
1155
1156
|
line-height: 34px;
|