centaline-data-driven 1.4.88 → 1.4.90
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/SearchListTab.vue +63 -0
- package/src/SearchTree.vue +3 -3
- package/src/centaline/common/index.js +3 -0
- package/src/centaline/css/max.css +2 -0
- package/src/centaline/dynamicCb/src/dynamicCb.vue +2 -2
- package/src/centaline/dynamicDetail/src/dynamicPropertyDetailOFI.vue +8 -6
- package/src/centaline/dynamicDetail/src/dynamicPropertyDetailRET.vue +8 -6
- package/src/centaline/dynamicDetail/src/dynamicPropertySimpleDetailRET.vue +33 -3
- package/src/centaline/dynamicLayout/src/dynamicLayoutLabel.vue +3 -0
- package/src/centaline/dynamicSearchList/src/dynamicSearchListTab.vue +406 -0
- package/src/centaline/dynamicSearchList/src/dynamicSearchTable.vue +55 -1
- package/src/centaline/dynamicTimeSelect/src/dynamicTimeSelect.vue +8 -16
- package/src/centaline/loader/src/ctl/SearchTable.js +3 -0
- package/src/centaline/loader/src/ctl/TimeSelect.js +18 -4
- package/src/centaline/loader/src/ctl/lib/LibFunction.js +4 -5
- package/src/centaline/templateControls/src/dynamicTableCurrency.vue +7 -1
- package/src/main.js +10 -8
- package/src/router/index.js +6 -0
- package/wwwroot/static/centaline/centaline-data-driven.js +3 -3
- package/wwwroot/static/centaline/centaline-data-driven.js.map +1 -1
package/package.json
CHANGED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div id="app-search" style="width:100%;height:100%;position: fixed;">
|
|
3
|
+
<!-- <ct-searchlistTab :apiParam="para"
|
|
4
|
+
:searchConditionApi="'/ProfileWorklistList/getLayoutOfSearch'"
|
|
5
|
+
:searchCategoryApi="'/ProfileWorklistList/getLayoutOfSearchCategory'"
|
|
6
|
+
:searchDataApi="'/ProfileWorklistList/getListOfSearchModel'"
|
|
7
|
+
:searchStatsApi="'/ProfileWorklistList/getListStats'">
|
|
8
|
+
</ct-searchlistTab> -->
|
|
9
|
+
|
|
10
|
+
<!-- <ct-searchlistTab
|
|
11
|
+
:searchCategoryApi="'/PropertyPublishList/getLayoutOfSearchCategory'"
|
|
12
|
+
:searchConditionApi="'/PropertyPublishList/getLayoutOfSearchForRET'"
|
|
13
|
+
:searchDataApi="'/PropertyPublishList/getListOfSearchModelForRET'">
|
|
14
|
+
</ct-searchlistTab> -->
|
|
15
|
+
|
|
16
|
+
<!-- <ct-searchlistTab :searchConditionApi="'/PropertyRETList/getLayoutOfSearch'"
|
|
17
|
+
:searchDataApi="'/PropertyRETList/getListOfSearchModel'"
|
|
18
|
+
:searchCategoryApi="'/PropertyRETList/getLayoutOfSearchCategory'"
|
|
19
|
+
:searchStatsApi="'/PropertyRETList/getListStats'">
|
|
20
|
+
</ct-searchlistTab> -->
|
|
21
|
+
|
|
22
|
+
<ct-searchlistTab :searchConditionApi="'/PropertyOFIList/getLayoutOfSearch'"
|
|
23
|
+
:searchDataApi="'/PropertyOFIList/getListOfSearchModel'"
|
|
24
|
+
:searchCategoryApi="'/PropertyOFIList/getLayoutOfSearchCategory'"
|
|
25
|
+
:searchStatsApi="'/PropertyOFIList/getListStats'">
|
|
26
|
+
</ct-searchlistTab>
|
|
27
|
+
|
|
28
|
+
<ct-dialog-list></ct-dialog-list>
|
|
29
|
+
</div>
|
|
30
|
+
</template>
|
|
31
|
+
|
|
32
|
+
<script>
|
|
33
|
+
import Vue from 'vue'
|
|
34
|
+
export default {
|
|
35
|
+
name: 'DataDrivenSearchTab',
|
|
36
|
+
data() {
|
|
37
|
+
return {
|
|
38
|
+
para:{
|
|
39
|
+
chanceID: "1569617379699331072"
|
|
40
|
+
},
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
mounted() {
|
|
44
|
+
},
|
|
45
|
+
created() {
|
|
46
|
+
//模拟客户端自定义方法
|
|
47
|
+
Vue.prototype.$clientScript = {
|
|
48
|
+
open: function (data) {
|
|
49
|
+
window.open("http://wwww.baidu.com?test1=" + data.vContractID + "&test2=" + data.vReportNo, "_blank");
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
}
|
|
54
|
+
</script>
|
|
55
|
+
<style>
|
|
56
|
+
body {
|
|
57
|
+
height:100%;
|
|
58
|
+
overflow:hidden;
|
|
59
|
+
}
|
|
60
|
+
html {
|
|
61
|
+
height:100%;
|
|
62
|
+
}
|
|
63
|
+
</style>
|
package/src/SearchTree.vue
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div id="app-Tree" style="height:100%;position: fixed;width:100%">
|
|
3
|
-
<ct-treelist :flagsearch="true" :apiParam="apiParam" :leftWidth="'
|
|
4
|
-
:searchConditionApi="'/
|
|
5
|
-
:searchDataApi="'/
|
|
3
|
+
<ct-treelist :flagsearch="true" :apiParam="apiParam" :leftWidth="'280'"
|
|
4
|
+
:searchConditionApi="'/system/menulist/getTreeLayoutOfSearch'"
|
|
5
|
+
:searchDataApi="'/system/menulist/getTreeList'" @loaded="loaded"></ct-treelist>
|
|
6
6
|
<ct-dialog-list></ct-dialog-list>
|
|
7
7
|
</div>
|
|
8
8
|
</template>
|
|
@@ -339,6 +339,9 @@ const common = {
|
|
|
339
339
|
else if (parent.$options.name === 'DataDrivenSearch') {
|
|
340
340
|
return parent;
|
|
341
341
|
}
|
|
342
|
+
else if (parent.$options.name === 'DataDrivenSearchTab') {
|
|
343
|
+
return parent;
|
|
344
|
+
}
|
|
342
345
|
else if (parent.$options.name === 'DataDrivenForm') {
|
|
343
346
|
return parent;
|
|
344
347
|
}
|
|
@@ -133,6 +133,7 @@
|
|
|
133
133
|
display: inline-block;
|
|
134
134
|
float: left;
|
|
135
135
|
margin-right: 2px;
|
|
136
|
+
margin-left: -8px;
|
|
136
137
|
}
|
|
137
138
|
.max-fold{
|
|
138
139
|
background: url(../../assets/max-fold.png)no-repeat;
|
|
@@ -142,6 +143,7 @@
|
|
|
142
143
|
display: inline-block;
|
|
143
144
|
float: left;
|
|
144
145
|
margin-right: 2px;
|
|
146
|
+
margin-left: -8px;
|
|
145
147
|
}
|
|
146
148
|
|
|
147
149
|
.ct-tableParent::-webkit-scrollbar-thumb{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="field-top">
|
|
3
|
-
<div v-if="model !== null" class="ct-checkbox">
|
|
3
|
+
<div v-if="model !== null" class="ct-checkbox checkboxHeight">
|
|
4
4
|
<div :class="[model.showLabel?'el-input-group el-input-group--prepend':'',!valid?'inputError':'']">
|
|
5
5
|
<div v-if="model.showLabel && model.label" class="el-input-group__prepend line-feed" :class="[model.labelClass]">
|
|
6
6
|
{{model.label}}
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
.ct-checkbox .ct-radios .el-checkbox {
|
|
78
78
|
min-width: 0px;
|
|
79
79
|
}
|
|
80
|
-
.ct-form .
|
|
80
|
+
.ct-form .checkboxHeight {
|
|
81
81
|
height: 1px;
|
|
82
82
|
min-height: 28px;
|
|
83
83
|
}
|
|
@@ -1594,7 +1594,8 @@ export default {
|
|
|
1594
1594
|
align-items: center;
|
|
1595
1595
|
justify-content: space-between;
|
|
1596
1596
|
.list-item {
|
|
1597
|
-
width: 33.3%;
|
|
1597
|
+
// width: 33.3%;
|
|
1598
|
+
width: 120px;
|
|
1598
1599
|
height: 62px;
|
|
1599
1600
|
font-size: 14px;
|
|
1600
1601
|
text-align: center;
|
|
@@ -1628,11 +1629,12 @@ export default {
|
|
|
1628
1629
|
flex-flow: column;
|
|
1629
1630
|
align-items: flex-start;
|
|
1630
1631
|
border-right: 1px solid #e0e0e0;
|
|
1632
|
+
justify-content: center;
|
|
1631
1633
|
.i {
|
|
1632
|
-
position: absolute;
|
|
1633
|
-
top: 50%;
|
|
1634
|
+
// position: absolute;
|
|
1635
|
+
// top: 50%;
|
|
1634
1636
|
// left: 50%;
|
|
1635
|
-
transform: translateY(-50%);
|
|
1637
|
+
// transform: translateY(-50%);
|
|
1636
1638
|
}
|
|
1637
1639
|
.t-but {
|
|
1638
1640
|
font-size: 12px;
|
|
@@ -1640,11 +1642,11 @@ export default {
|
|
|
1640
1642
|
width: 104px;
|
|
1641
1643
|
// height: 100%;
|
|
1642
1644
|
// margin: 12px 16px 0 16px;
|
|
1643
|
-
margin-top:
|
|
1645
|
+
margin-top: 8px;
|
|
1644
1646
|
padding: 0;
|
|
1645
1647
|
}
|
|
1646
1648
|
.t-but:nth-last-child(1) {
|
|
1647
|
-
margin-bottom:
|
|
1649
|
+
margin-bottom: 8px;
|
|
1648
1650
|
}
|
|
1649
1651
|
}
|
|
1650
1652
|
.t-item:nth-last-child(1) {
|
|
@@ -1607,7 +1607,8 @@ export default {
|
|
|
1607
1607
|
align-items: center;
|
|
1608
1608
|
justify-content: space-between;
|
|
1609
1609
|
.list-item {
|
|
1610
|
-
width: 33.3%;
|
|
1610
|
+
// width: 33.3%;
|
|
1611
|
+
width:120px;
|
|
1611
1612
|
height: 62px;
|
|
1612
1613
|
font-size: 14px;
|
|
1613
1614
|
text-align: center;
|
|
@@ -1641,11 +1642,12 @@ export default {
|
|
|
1641
1642
|
flex-flow: column;
|
|
1642
1643
|
align-items: flex-start;
|
|
1643
1644
|
border-right: 1px solid #e0e0e0;
|
|
1645
|
+
justify-content: center;
|
|
1644
1646
|
.i {
|
|
1645
|
-
position: absolute;
|
|
1646
|
-
top: 50%;
|
|
1647
|
+
// position: absolute;
|
|
1648
|
+
// top: 50%;
|
|
1647
1649
|
// left: 50%;
|
|
1648
|
-
transform: translateY(-50%);
|
|
1650
|
+
// transform: translateY(-50%);
|
|
1649
1651
|
}
|
|
1650
1652
|
.t-but {
|
|
1651
1653
|
font-size: 12px;
|
|
@@ -1653,11 +1655,11 @@ export default {
|
|
|
1653
1655
|
width: 104px;
|
|
1654
1656
|
// height: 100%;
|
|
1655
1657
|
// margin: 12px 16px 0 16px;
|
|
1656
|
-
margin-top:
|
|
1658
|
+
margin-top: 8px;
|
|
1657
1659
|
padding: 0;
|
|
1658
1660
|
}
|
|
1659
1661
|
.t-but:nth-last-child(1) {
|
|
1660
|
-
margin-bottom:
|
|
1662
|
+
margin-bottom: 8px;
|
|
1661
1663
|
}
|
|
1662
1664
|
}
|
|
1663
1665
|
.t-item:nth-last-child(1) {
|
|
@@ -37,6 +37,7 @@
|
|
|
37
37
|
<div style="padding-left: 20px;padding-right: 20px;">
|
|
38
38
|
<div ref="title" style="margin-top: 18px;">
|
|
39
39
|
<div style="font-weight: Bold;font-size: 16px;color: #333333;display: flex;">
|
|
40
|
+
<img v-if="model.actionRouterFavorite" :src="model.actionRouterFavorite.imgUrl" alt="" @click="fieldClickHandler(model.actionRouterFavorite, $event)" class="Simplecollection" />
|
|
40
41
|
<span class="cursorLink" @click="fieldClickHandler(model.actionRouterEstate, $event)">{{model.fields1Dic.EstateName.value}}</span>
|
|
41
42
|
<span>{{model.fields1Dic.BuildingName.value}}</span>
|
|
42
43
|
<span>{{model.fields1Dic.RoomNo.value}}</span>
|
|
@@ -56,7 +57,7 @@
|
|
|
56
57
|
</div>
|
|
57
58
|
</div>
|
|
58
59
|
<div v-if="model.fields1Dic.PropertyDepict && model.fields1Dic.PropertyDepict.value !== ''" v-html="model.fields1Dic.PropertyDepict.value"
|
|
59
|
-
|
|
60
|
+
style="font-weight: bold;font-size: 13px; margin-top: 10px;background: rgb(236, 249, 255); flex: 1;align-items: center;padding: 5px;border-radius: 5px; word-break: break-all;">
|
|
60
61
|
</div>
|
|
61
62
|
</div>
|
|
62
63
|
<div v-if="model.flagHiddenSensitiveInfo" style="display: flex;align-items: center;justify-content: center;margin-top: 50%;height: 0px;">
|
|
@@ -293,6 +294,9 @@
|
|
|
293
294
|
loadBaseInfo() {
|
|
294
295
|
this.model.loadBaseInfo();
|
|
295
296
|
},
|
|
297
|
+
loadFavorite() {
|
|
298
|
+
this.model.loadFavorite();
|
|
299
|
+
},
|
|
296
300
|
loadqrCode() {
|
|
297
301
|
this.model.loadqrCode();
|
|
298
302
|
},
|
|
@@ -320,7 +324,6 @@
|
|
|
320
324
|
if(field == null || field==undefined){
|
|
321
325
|
return;
|
|
322
326
|
}
|
|
323
|
-
|
|
324
327
|
var self = this;
|
|
325
328
|
self.handleClose();
|
|
326
329
|
var callBack=null;
|
|
@@ -344,6 +347,11 @@
|
|
|
344
347
|
});
|
|
345
348
|
callBack="loadOperation";
|
|
346
349
|
}
|
|
350
|
+
if (router == undefined && this.model.actionRouterFavorite) {
|
|
351
|
+
if (field.id === this.model.actionRouterFavorite.id) {
|
|
352
|
+
router = this.model.actionRouterFavorite;
|
|
353
|
+
}
|
|
354
|
+
}
|
|
347
355
|
if (router == undefined && this.model.routerForQRCode) {
|
|
348
356
|
if (field.id === this.model.routerForQRCode.id) {
|
|
349
357
|
router = this.model.routerForQRCode;
|
|
@@ -374,6 +382,9 @@
|
|
|
374
382
|
if(router.id=="PropertyEdit"){
|
|
375
383
|
callBack="loadBaseInfo"
|
|
376
384
|
}
|
|
385
|
+
else if (router.id == "Favorite") {
|
|
386
|
+
callBack = "loadFavorite"
|
|
387
|
+
}
|
|
377
388
|
else if (router.id == "qrCode") {
|
|
378
389
|
callBack = "loadqrCode"
|
|
379
390
|
}
|
|
@@ -386,6 +397,9 @@
|
|
|
386
397
|
else if(callBack=='loadBaseInfo'){
|
|
387
398
|
this.routerClickHandler(router, submitData, self.loadBaseInfo);
|
|
388
399
|
}
|
|
400
|
+
else if (callBack == 'loadFavorite') {
|
|
401
|
+
this.routerClickHandler(router, submitData, self.loadFavorite);
|
|
402
|
+
}
|
|
389
403
|
else if (callBack == 'loadqrCode') {
|
|
390
404
|
self.loadqrCode();
|
|
391
405
|
}
|
|
@@ -465,7 +479,9 @@
|
|
|
465
479
|
callBack();
|
|
466
480
|
}
|
|
467
481
|
self.$common.closeDialog(dialogOption.dialog);
|
|
468
|
-
|
|
482
|
+
if (field.id != "Favorite") {
|
|
483
|
+
self.$emit('simpleRouterclickHandler', field, ev);
|
|
484
|
+
}
|
|
469
485
|
}
|
|
470
486
|
}
|
|
471
487
|
}]
|
|
@@ -493,6 +509,11 @@
|
|
|
493
509
|
});
|
|
494
510
|
});
|
|
495
511
|
self.$common.closeDialog(dialogOption.dialog);
|
|
512
|
+
},
|
|
513
|
+
closeDialog(ev) {
|
|
514
|
+
if (field.id == "Favorite" && callBack) {
|
|
515
|
+
callBack();
|
|
516
|
+
}
|
|
496
517
|
}
|
|
497
518
|
}
|
|
498
519
|
}]
|
|
@@ -677,6 +698,15 @@ color: #fff;
|
|
|
677
698
|
.drawerMore .el-icon-close:before {
|
|
678
699
|
content: "\E6DB";
|
|
679
700
|
}
|
|
701
|
+
.Simplecollection {
|
|
702
|
+
font-size: 18px;
|
|
703
|
+
margin-right: 10px;
|
|
704
|
+
cursor: pointer;
|
|
705
|
+
vertical-align: -2.85px;
|
|
706
|
+
width: 18px;
|
|
707
|
+
height: 18px;
|
|
708
|
+
margin-top: 2px;
|
|
709
|
+
}
|
|
680
710
|
</style>
|
|
681
711
|
|
|
682
712
|
|