centaline-data-driven 1.1.66 → 1.1.67
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
CHANGED
package/src/SearchList.vue
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<div id="app-search" style="height:100%;position: fixed;">
|
|
3
3
|
<!-- <ct-searchlist :searchConditionApi="'/api/third-dept-tran/tran-list/layout'" :searchDataApi="'/api/third-dept-tran/tran-list'"></ct-searchlist> -->
|
|
4
4
|
|
|
5
|
-
<ct-searchlist :searchConditionApi="'/PropertyRETList/getLayoutOfSearch'" :searchDataApi="'/PropertyRETList/getListOfSearchModel'" :searchCategoryApi="'/PropertyRETList/getLayoutOfSearchCategory'"></ct-searchlist>
|
|
5
|
+
<!-- <ct-searchlist :searchConditionApi="'/PropertyRETList/getLayoutOfSearch'" :searchDataApi="'/PropertyRETList/getListOfSearchModel'" :searchCategoryApi="'/PropertyRETList/getLayoutOfSearchCategory'"></ct-searchlist> -->
|
|
6
6
|
<!-- <ct-searchlist :searchConditionApi="'/WorklistList/getLayoutOfSearch'" :searchDataApi="'/WorklistList/getListOfSearchModel'" :searchCategoryApi="'/WorklistList/getLayoutOfSearchCategory'"></ct-searchlist> -->
|
|
7
7
|
|
|
8
8
|
<!-- <ct-searchlist :searchConditionApi="'/PropertyRETList/getLayoutOfSearch'"
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
></ct-searchlist> -->
|
|
13
13
|
|
|
14
14
|
<!--<ct-searchlist :searchConditionApi="'/api/invoice-info/search-condition'" :searchDataApi="'/api/invoice-info/list'" :searchDataStatisticsApi="'api/ContractList/GetLayoutOfStatisticsTool'" :apiParam="para"></ct-searchlist>-->
|
|
15
|
+
<ct-searchlist :searchConditionApi="'/PropertyStatusList/getLayoutOfSearch'" :searchDataApi="'/PropertyStatusList/getListOfSearchModel'" :apiParam="para"></ct-searchlist>
|
|
15
16
|
<ct-dialog-list></ct-dialog-list>
|
|
16
17
|
</div>
|
|
17
18
|
</template>
|
|
@@ -23,7 +24,8 @@
|
|
|
23
24
|
data() {
|
|
24
25
|
return {
|
|
25
26
|
//para: { agentId: "1424932685198864386", estateId: "L201402181627000007233", estateName: "271医院宿舍区", pageOnly: "true", pageTitle: "销控房源列表" }
|
|
26
|
-
para: {}
|
|
27
|
+
// para: {}
|
|
28
|
+
para: {paramKey: "PropertyStatusID", code: "002.001", name: "盘源状态", paramName: "盘源状态"}
|
|
27
29
|
}
|
|
28
30
|
},
|
|
29
31
|
mounted() {
|
|
@@ -147,8 +147,8 @@
|
|
|
147
147
|
height:6px;
|
|
148
148
|
}
|
|
149
149
|
.ct-selectOptionVertical::-webkit-scrollbar {
|
|
150
|
-
width:
|
|
151
|
-
height:
|
|
150
|
+
width: 2px!important;
|
|
151
|
+
height:2px!important;
|
|
152
152
|
background-color: #f1f1f1!important;
|
|
153
153
|
display: block!important;
|
|
154
154
|
}
|
|
@@ -222,7 +222,7 @@
|
|
|
222
222
|
.details-content .ct-search-list .ct-searchtable .ct-table-content{
|
|
223
223
|
padding: 0;
|
|
224
224
|
}
|
|
225
|
-
.ct-unitname {
|
|
225
|
+
.lableinput .ct-unitname {
|
|
226
226
|
display: contents;
|
|
227
227
|
}
|
|
228
228
|
.hyperLinkList .el-button + .el-button{
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="field-top">
|
|
3
|
-
<div style="width:100%;display:flex" v-if="model !== null" class="ct-Seg" :class="[model.attrs.size?'ct-Seg-'+model.attrs.size:''
|
|
4
|
-
]">
|
|
3
|
+
<div style="width:100%;display:flex" v-if="model !== null" class="ct-Seg" :class="[model.attrs.size?'ct-Seg-'+model.attrs.size:'']">
|
|
5
4
|
<div style="flex:1;" :class="[model.showLabel?'el-input-group el-input-group--prepend':'',!valid?'inputError':'']">
|
|
6
5
|
<div v-if="model.showLabel && model.label" class="el-input-group__prepend" :class="[model.labelClass]">
|
|
7
6
|
{{model.label}}
|
|
@@ -38,7 +37,7 @@
|
|
|
38
37
|
},
|
|
39
38
|
mounted() {
|
|
40
39
|
var self = this;
|
|
41
|
-
this.$nextTick(function () {
|
|
40
|
+
this.$nextTick(function () {
|
|
42
41
|
if (self.vmodel) {
|
|
43
42
|
self.load(self.vmodel);
|
|
44
43
|
self.$emit('loaded');
|
|
@@ -61,16 +60,14 @@
|
|
|
61
60
|
},
|
|
62
61
|
clearClickHandle: function (event) {
|
|
63
62
|
this.model.value = '';
|
|
64
|
-
//this.$emit('input', this.model.value);
|
|
65
|
-
//this.$emit('change', this.model.value);
|
|
66
63
|
this.inputHandler(this.model.value);
|
|
67
64
|
this.changeHandler(this.model.value);
|
|
65
|
+
if(this.model.autoSearch) this.$emit('click');
|
|
68
66
|
},
|
|
69
67
|
changeHandler1: function (event) {
|
|
70
|
-
//this.$emit('input', this.model.value);
|
|
71
|
-
//this.$emit('change', this.model.value);
|
|
72
68
|
this.inputHandler(this.model.value);
|
|
73
69
|
this.changeHandler(this.model.value);
|
|
70
|
+
if(this.model.autoSearch) this.$emit('click');
|
|
74
71
|
}
|
|
75
72
|
}
|
|
76
73
|
}
|
|
@@ -75,6 +75,13 @@ const LibFunction = {
|
|
|
75
75
|
else if (field.controlType === Enum.ControlType.NumericRange) {
|
|
76
76
|
field.width = field.width || 280;
|
|
77
77
|
}
|
|
78
|
+
else if (field.controlType === Enum.ControlType.RadioButton) {
|
|
79
|
+
if(!field.displayLabelAfterSelected){
|
|
80
|
+
showLabel = false;
|
|
81
|
+
}
|
|
82
|
+
field.width = field.width || 300;
|
|
83
|
+
field.placeholder1 = field.placeholder1 || field.controlLabel || '';
|
|
84
|
+
}
|
|
78
85
|
else {
|
|
79
86
|
showLabel = false;
|
|
80
87
|
field.width = field.width || 200;
|
|
@@ -288,7 +295,7 @@ const LibFunction = {
|
|
|
288
295
|
item = HyperLink(field, moreActionRouter);
|
|
289
296
|
item.is = 'ct-hyperLink';
|
|
290
297
|
break;
|
|
291
|
-
|
|
298
|
+
case Enum.ControlType.HyperlinkListWithLabel://带标签的超链接列表
|
|
292
299
|
item = HyperLinkList(field);
|
|
293
300
|
item.is = 'ct-hyperLinkList';
|
|
294
301
|
break;
|