centaline-data-driven 1.1.27 → 1.1.31
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/SearchList.vue +1 -1
- package/src/SearchTree.vue +1 -1
- package/src/centaline/css/common.css +10 -7
- package/src/centaline/css/max.css +42 -1
- package/src/centaline/dynamicDetail/src/dynamicPropertyDetailOFI.vue +1 -1
- package/src/centaline/dynamicIti/src/dynamicIti.vue +28 -25
- package/src/centaline/dynamicMo/src/dynamicMo.vue +1 -0
- package/src/centaline/dynamicSearchList/src/dynamicTableToolbar.vue +1 -1
- package/src/centaline/dynamicSo/src/dynamicSo.vue +1 -1
- package/src/centaline/dynamicSos/src/dynamicSos.vue +1 -2
- package/src/centaline/dynamicT/src/dynamicT.vue +5 -1
- package/src/centaline/dynamicTags/src/dynamicTags.vue +1 -1
- package/src/centaline/loader/src/ctl/Base.js +15 -1
- package/src/centaline/loader/src/ctl/Iti.js +2 -11
- package/src/centaline/loader/src/ctl/SearchScreen.js +6 -0
- package/src/centaline/loader/src/ctl/So.js +2 -3
- package/src/centaline/loader/src/ctl/Sos.js +1 -2
- package/src/centaline/loader/src/ctl/lib/LibFunction.js +3 -4
- package/wwwroot/static/centaline/centaline-data-driven.js +1 -1
- package/wwwroot/static/centaline/centaline-data-driven.js.map +1 -1
package/package.json
CHANGED
package/src/SearchList.vue
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
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
|
-
<ct-searchlist :searchConditionApi="'/
|
|
4
|
+
<ct-searchlist :searchConditionApi="'/PropertyRETList/getLayoutOfSearch'" :searchDataApi="'/PropertyRETList/getList'"></ct-searchlist>
|
|
5
5
|
<!--<ct-searchlist :searchConditionApi="'/api/invoice-info/search-condition'" :searchDataApi="'/api/invoice-info/list'" :searchDataStatisticsApi="'api/ContractList/GetLayoutOfStatisticsTool'" :apiParam="para"></ct-searchlist>-->
|
|
6
6
|
<ct-dialog-list></ct-dialog-list>
|
|
7
7
|
</div>
|
package/src/SearchTree.vue
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div id="app-Tree" style="height:100%;position: fixed;">
|
|
3
3
|
<el-container style="height: 100vh;width:100vw; border: 1px solid #eee">
|
|
4
|
-
<el-aside width="200px" style="background-color: rgb(238, 241, 246)">
|
|
4
|
+
<el-aside width="200px" style="background-color: rgb(238, 241, 246);border-radius:6px;">
|
|
5
5
|
<ct-tree :flagsearch="true" :searchConditionApi="'/SystemParameterCatalogList/getLayoutOfSearch'" :searchDataApi="'/SystemParameterCatalogList/getList'" @loaded="loaded"></ct-tree>
|
|
6
6
|
</el-aside>
|
|
7
7
|
<el-main v-if="isShowSearchlist">
|
|
@@ -101,9 +101,9 @@ html {
|
|
|
101
101
|
|
|
102
102
|
.ct-tags .showLabel .ct-input_inner, .ct-so .showLabel .ct-input_inner, .ct-iti-editor input,
|
|
103
103
|
.ct-date-editor input, .ct-mt .el-input-group--prepend textarea, .ct-text .showLabel input, .ct-Dtd .ct-datepicker.showLabel .el-range-input,
|
|
104
|
-
.ct-Seg .showLabel.ct-radios, .ct-so .showLabel .ct-input_inner {
|
|
105
|
-
border-top-left-radius:
|
|
106
|
-
border-bottom-left-radius:
|
|
104
|
+
.ct-Seg .showLabel.ct-radios, .ct-so .showLabel .ct-input_inner,.ct-Dtd .el-input__inner {
|
|
105
|
+
border-top-left-radius: 4px !important;
|
|
106
|
+
border-bottom-left-radius: 4px !important;
|
|
107
107
|
text-align: left !important;
|
|
108
108
|
}
|
|
109
109
|
.ct-Seg .showLabel.ct-radios {
|
|
@@ -565,7 +565,7 @@ html {
|
|
|
565
565
|
|
|
566
566
|
.ct-searchtable{
|
|
567
567
|
margin-top: 10px;
|
|
568
|
-
padding: 20px
|
|
568
|
+
padding: 20px 10px 0 0px;
|
|
569
569
|
background: #fff;
|
|
570
570
|
-webkit-box-sizing: border-box;
|
|
571
571
|
border-radius:6px;
|
|
@@ -596,13 +596,13 @@ html {
|
|
|
596
596
|
}
|
|
597
597
|
|
|
598
598
|
.el-input-group__append, .el-input-group__prepend {
|
|
599
|
-
background-color:
|
|
599
|
+
background-color: initial!important; /*无色*/
|
|
600
600
|
vertical-align: middle;
|
|
601
601
|
display: table-cell;
|
|
602
602
|
position: relative;
|
|
603
|
-
border: 0px solid #DCDFE6; /*无边框*/
|
|
603
|
+
border: 0px solid #DCDFE6!important; /*无边框*/
|
|
604
604
|
border-radius: 4px;
|
|
605
|
-
padding: 0 5px;
|
|
605
|
+
padding: 0 5px!important;
|
|
606
606
|
width: 1px;
|
|
607
607
|
white-space: nowrap;
|
|
608
608
|
text-align: right;
|
|
@@ -713,4 +713,7 @@ html {
|
|
|
713
713
|
.ct-table-content{
|
|
714
714
|
padding: 0 15px;
|
|
715
715
|
}
|
|
716
|
+
.el-card.is-always-shadow{
|
|
717
|
+
box-shadow: none!important;
|
|
718
|
+
}
|
|
716
719
|
|
|
@@ -66,6 +66,9 @@
|
|
|
66
66
|
border-top-left-radius: 6px;
|
|
67
67
|
border-bottom-left-radius: 6px;
|
|
68
68
|
line-height: 24px;
|
|
69
|
+
border: none;
|
|
70
|
+
background-color: initial;
|
|
71
|
+
padding: 0 10px;
|
|
69
72
|
}
|
|
70
73
|
.max-flex-div{
|
|
71
74
|
display: flex;
|
|
@@ -142,4 +145,42 @@
|
|
|
142
145
|
}
|
|
143
146
|
.max-cover-list-item .el-input__icon{
|
|
144
147
|
line-height: 40px!important;
|
|
145
|
-
}
|
|
148
|
+
}
|
|
149
|
+
.el-card{
|
|
150
|
+
border: none;
|
|
151
|
+
}
|
|
152
|
+
.ct-tags .showLabel .ct-input_inner, .ct-so .showLabel .ct-input_inner, .ct-iti-editor input,
|
|
153
|
+
.ct-date-editor input, .ct-mt .el-input-group--prepend textarea, .ct-text .showLabel input, .ct-Dtd .ct-datepicker.showLabel .el-range-input,
|
|
154
|
+
.ct-Seg .showLabel.ct-radios, .ct-so .showLabel .ct-input_inner,.ct-Dtd .el-input__inner {
|
|
155
|
+
border-top-left-radius: 6px !important;
|
|
156
|
+
border-bottom-left-radius: 6px !important;
|
|
157
|
+
text-align: left !important;
|
|
158
|
+
}
|
|
159
|
+
.ct-iti .el-input-group--prepend .el-input__inner{
|
|
160
|
+
border-top-left-radius: 6px !important;
|
|
161
|
+
border-bottom-left-radius: 6px !important;
|
|
162
|
+
text-align: left !important;
|
|
163
|
+
}
|
|
164
|
+
/* 重置input默认颜色 选中文字颜色 */
|
|
165
|
+
.ct-search-list input::-webkit-input-placeholder{
|
|
166
|
+
color: #666666!important;
|
|
167
|
+
}
|
|
168
|
+
.ct-search-list .el-date-editor .el-range-input,.ct-search-list .el-input__inner{
|
|
169
|
+
color: #409eff;
|
|
170
|
+
}
|
|
171
|
+
.ct-so .ct-input_inner {
|
|
172
|
+
color: #409eff!important;
|
|
173
|
+
}
|
|
174
|
+
.cover-list-item .el-checkbox__input.is-checked + .el-checkbox__label,.cover-list-item .el-checkbox__input.is-checked .el-checkbox__inner{
|
|
175
|
+
color: #409eff;
|
|
176
|
+
}
|
|
177
|
+
.cover-list-item .el-checkbox__input.is-checked .el-checkbox__inner{
|
|
178
|
+
background-color:#409eff;
|
|
179
|
+
border-color: #409eff;
|
|
180
|
+
}
|
|
181
|
+
.ct-search-list .el-input-group__append, .el-input-group__prepend{
|
|
182
|
+
color: #666666!important;
|
|
183
|
+
}
|
|
184
|
+
.ct-so .ct-input_inner,.el-input__inner{
|
|
185
|
+
border-radius: 6px!important;
|
|
186
|
+
}
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
<div class="row-i"><span>产权:</span><span>公司</span></div>
|
|
129
129
|
<div class="row-i"><span>产权状况:</span><span>拍卖</span></div>
|
|
130
130
|
<div class="row-i"><span>现状:</span><span>空房</span></div>
|
|
131
|
-
<div class="row-i"><span
|
|
131
|
+
<div class="row-i"><span>付费:</span><span>各付各税</span></div>
|
|
132
132
|
<div class="row-i"><span>佣金:</span><span>600元</span></div>
|
|
133
133
|
</div>
|
|
134
134
|
</div>
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="field-top">
|
|
3
|
-
<div style="width:100%;display:flex" class="ct-iti" :class="[model.attrs.size?'ct-iti-'+model.attrs.size:'']">
|
|
3
|
+
<div style="width:100%;display:flex" class="ct-iti" :class="[model.attrs.size?'ct-iti-'+model.attrs.size:'']" @mouseover="mouseOverHandle('input2')">
|
|
4
4
|
<div :class="[model.showLabel?'el-input-group el-input-group--prepend':'',!valid?'inputError':'']" style="flex:1">
|
|
5
5
|
<div v-if="model.showLabel && model.label" class="el-input-group__prepend" :class="[model.labelClass]">
|
|
6
6
|
{{model.label}}
|
|
7
7
|
</div>
|
|
8
|
-
<div style="padding-left:
|
|
8
|
+
<div style="padding-left:5px" v-bind="model.attrs" class="el-date-editor el-range-editor el-input__inner el-date-editor--daterange"
|
|
9
9
|
v-bind:class="[model.attrs.size?'el-range-editor--'+model.attrs.size:'',
|
|
10
10
|
model.showLabel?'ct-iti-editor':'',isFocus?'isfocus':'',model.lock ? 'ct-is-disabled' : '']">
|
|
11
11
|
|
|
12
|
-
<div style="width:39%" class="ct-position-relative" @
|
|
12
|
+
<div style="width:39%" class="ct-position-relative" @mouseout="mouseOutHandle('input2')">
|
|
13
13
|
<input style="text-align:left;width:100%" class="el-range-input" :placeholder="model.attrs.placeholder1"
|
|
14
|
-
v-model="model.value" @change="changeHandler($event)" @input="onInputHandler($event);isShowClear('
|
|
15
|
-
:class="model.lock ? 'ct-is-disabled' : ''" :disabled="model.lock" />
|
|
14
|
+
v-model="model.value" @change="changeHandler($event)" @input="onInputHandler($event);isShowClear('input2')" @focus="focusHandler" @blur="blurHandler('value','decimals')"
|
|
15
|
+
:class="model.lock ? 'ct-is-disabled' : ''" :disabled="model.lock" @keyup.enter="search()"/>
|
|
16
16
|
|
|
17
|
-
<span class="el-input__suffix el-input--mini" v-if="showClear.input1">
|
|
17
|
+
<!-- <span class="el-input__suffix el-input--mini" v-if="showClear.input1">
|
|
18
18
|
<span class="el-input__suffix-inner ct-close">
|
|
19
19
|
<i class="el-select__caret el-input__icon el-icon-circle-close is-show-close" @click="clearClickHandle($event,'input1','value')"></i>
|
|
20
20
|
</span>
|
|
21
|
-
</span>
|
|
21
|
+
</span> -->
|
|
22
22
|
</div>
|
|
23
23
|
<span style="width:5%" class="el-range-separator">-</span>
|
|
24
|
-
<div style="width:39%" class="ct-position-relative" @
|
|
24
|
+
<div style="width:39%" class="ct-position-relative" @mouseout="mouseOutHandle('input2')">
|
|
25
25
|
<input style="text-align:left;width:100%;" class="el-range-input" :placeholder="model.attrs.placeholder2"
|
|
26
|
-
v-model="model.value1" @change="changeHandler($event);" @input="onInputHandler($event);isShowClear('input2'
|
|
27
|
-
:class="model.lock ? 'ct-is-disabled' : ''" :disabled="model.lock" />
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
26
|
+
v-model="model.value1" @change="changeHandler($event);" @input="onInputHandler($event);isShowClear('input2')" @focus="focusHandler" @blur="blurHandler('value1','decimals1')"
|
|
27
|
+
:class="model.lock ? 'ct-is-disabled' : ''" :disabled="model.lock" @keyup.enter="search()"/>
|
|
28
|
+
</div>
|
|
29
|
+
<span class="el-input__suffix el-input--mini" v-if="showClear.input2">
|
|
30
|
+
<span class="el-input__suffix-inner ct-close" style="display: flex;">
|
|
31
|
+
<i class="el-select__caret el-input__icon el-icon-circle-close is-show-close" @click="clearClickHandle($event,'input2')"></i>
|
|
31
32
|
</span>
|
|
32
|
-
|
|
33
|
+
</span>
|
|
33
34
|
<span v-if="model.unitName" class="ct-unitname el-input__suffix el-input__suffix-inner">{{model.unitName}}</span>
|
|
34
|
-
</div>
|
|
35
35
|
</div>
|
|
36
36
|
</div>
|
|
37
37
|
<span v-if="model.sufLabel" class="spanMessage ct-flex-div-span">{{model.sufLabel}}</span>
|
|
@@ -118,28 +118,31 @@
|
|
|
118
118
|
}
|
|
119
119
|
return true;
|
|
120
120
|
},
|
|
121
|
-
clearClickHandle: function (event,id
|
|
122
|
-
|
|
123
|
-
this.model[
|
|
124
|
-
this.isShowClear(id
|
|
121
|
+
clearClickHandle: function (event,id) {
|
|
122
|
+
this.model['value'] ='';
|
|
123
|
+
this.model['value1'] ='';
|
|
124
|
+
this.isShowClear(id);
|
|
125
125
|
},
|
|
126
|
-
mouseOverHandle: function (id
|
|
127
|
-
if (this.model[
|
|
126
|
+
mouseOverHandle: function (id) {
|
|
127
|
+
if ((this.model['value'] !== '' || this.model['value1'] !== '') && this.model.clearable) {
|
|
128
128
|
this.showClear[id]=true;
|
|
129
129
|
}
|
|
130
130
|
},
|
|
131
131
|
mouseOutHandle: function (id) {
|
|
132
132
|
this.showClear[id]=false;
|
|
133
133
|
},
|
|
134
|
-
isShowClear(id
|
|
134
|
+
isShowClear(id)
|
|
135
135
|
{
|
|
136
|
-
if (this.model[
|
|
136
|
+
if ((this.model['value'] !== '' || this.model['value1'] !== '') && this.model.clearable) {
|
|
137
137
|
this.showClear[id]=true;
|
|
138
|
-
}
|
|
139
|
-
{
|
|
138
|
+
}
|
|
139
|
+
else {
|
|
140
140
|
this.showClear[id]=false;
|
|
141
141
|
}
|
|
142
142
|
},
|
|
143
|
+
search() {
|
|
144
|
+
if(this.model.autoSearch) this.$emit('click');
|
|
145
|
+
},
|
|
143
146
|
}
|
|
144
147
|
}
|
|
145
148
|
</script>
|
|
@@ -152,6 +152,7 @@
|
|
|
152
152
|
}
|
|
153
153
|
this.inputHandler(self.model.value);
|
|
154
154
|
this.changeHandler(self.model.value);
|
|
155
|
+
if(this.model.autoSearch) this.$emit('click');
|
|
155
156
|
},
|
|
156
157
|
focusHandle: function () {
|
|
157
158
|
this.$refs['ct-input'].focus();
|
|
@@ -212,7 +213,6 @@
|
|
|
212
213
|
},
|
|
213
214
|
selectOption(value) {
|
|
214
215
|
if (this.model.value === value) {
|
|
215
|
-
//this.model.value = '';
|
|
216
216
|
this.$set(this, 'showDrop', false);
|
|
217
217
|
return;
|
|
218
218
|
}
|
|
@@ -158,6 +158,7 @@
|
|
|
158
158
|
}
|
|
159
159
|
this.inputHandler(self.model.value);
|
|
160
160
|
this.changeHandler(self.model.value);
|
|
161
|
+
if(this.model.autoSearch) this.$emit('click');
|
|
161
162
|
},
|
|
162
163
|
focusHandle: function () {
|
|
163
164
|
this.$set(this, 'focus', true);
|
|
@@ -222,9 +223,7 @@
|
|
|
222
223
|
}
|
|
223
224
|
},
|
|
224
225
|
selectOption(value) {
|
|
225
|
-
debugger;
|
|
226
226
|
if (this.model.value === value) {
|
|
227
|
-
//this.model.value = '';
|
|
228
227
|
this.$set(this, 'showDrop', false);
|
|
229
228
|
return;
|
|
230
229
|
}
|
|
@@ -7,7 +7,8 @@
|
|
|
7
7
|
</div>
|
|
8
8
|
<el-input :title="model.lock?model.value:''" :type="model.inputType" v-model="model.value" v-bind="model.attrs" @input="inputHandler($event);isShowClear()" @change="changeHandler($event)"
|
|
9
9
|
class="ct-flex-div-input max-input" :class="[model.showLabel?'showLabel':'',!valid?'inputError':'']" :disabled="model.lock" :rows="model.rows"
|
|
10
|
-
:readonly="model.readonly" :show-password="model.isPassword" autocomplete="on" :maxlength="model.max" :show-word-limit="model.showWordLimit"
|
|
10
|
+
:readonly="model.readonly" :show-password="model.isPassword" autocomplete="on" :maxlength="model.max" :show-word-limit="model.showWordLimit"
|
|
11
|
+
@keyup.enter.native="search()">
|
|
11
12
|
<span slot="suffix" v-if="model.unitName" class="ct-unitname">{{model.unitName}}</span>
|
|
12
13
|
|
|
13
14
|
<span slot="suffix" class="el-input__suffix el-input--mini" v-if="showClear" :class="model.unitName?'ct-right-10':'ct-right-0'">
|
|
@@ -69,6 +70,9 @@
|
|
|
69
70
|
this.$set(this, 'showClear', false);
|
|
70
71
|
}
|
|
71
72
|
},
|
|
73
|
+
search() {
|
|
74
|
+
if(this.model.autoSearch) this.$emit('click');
|
|
75
|
+
},
|
|
72
76
|
},
|
|
73
77
|
}</script>
|
|
74
78
|
<style>
|
|
@@ -173,9 +173,9 @@
|
|
|
173
173
|
else {
|
|
174
174
|
this.model.text = [];
|
|
175
175
|
}
|
|
176
|
-
//this.$emit('change', this.model.value);
|
|
177
176
|
this.inputHandler(self.model.value);
|
|
178
177
|
this.changeHandler(self.model.value);
|
|
178
|
+
if(this.model.autoSearch) this.$emit('click');
|
|
179
179
|
},
|
|
180
180
|
focusHandle: function () {
|
|
181
181
|
this.$set(this, 'focus', true);
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import Enum from '../ctl/lib/Enum';
|
|
1
2
|
const Base = function (source) {
|
|
2
3
|
let rtn = {
|
|
3
4
|
collapseName: -1,
|
|
@@ -155,7 +156,12 @@ const Base = function (source) {
|
|
|
155
156
|
searchObj:{
|
|
156
157
|
get dataType() { return source.dearchDataTyp; },
|
|
157
158
|
get fieldName1() { return source.fieldName1; },
|
|
158
|
-
get fieldName2() {
|
|
159
|
+
get fieldName2() {
|
|
160
|
+
if(source.controlType === Enum.ControlType.NumericRange){
|
|
161
|
+
if(!source.fieldName2) return source.fieldName1;
|
|
162
|
+
}
|
|
163
|
+
return source.fieldName2;
|
|
164
|
+
},
|
|
159
165
|
get groupName() { return source.groupName || source.fieldName1; },
|
|
160
166
|
get operation() { return source.searchOperation; },
|
|
161
167
|
get searchDataType() { return source.searchDataType; } ,
|
|
@@ -238,6 +244,14 @@ const Base = function (source) {
|
|
|
238
244
|
}
|
|
239
245
|
return null;
|
|
240
246
|
},
|
|
247
|
+
/*选择搜索条件后是否默认显示标签*/
|
|
248
|
+
get displayLabelAfterSelected() {
|
|
249
|
+
return source.displayLabelAfterSelected==undefined? false:source.displayLabelAfterSelected;
|
|
250
|
+
},
|
|
251
|
+
/*选择搜索条件后是否触发搜索*/
|
|
252
|
+
get autoSearch() {
|
|
253
|
+
return source.autoSearch==undefined? false:source.autoSearch;
|
|
254
|
+
},
|
|
241
255
|
};
|
|
242
256
|
|
|
243
257
|
return rtn;
|
|
@@ -3,7 +3,6 @@ import Base from './Base';
|
|
|
3
3
|
import valid from '../../../validate/index';
|
|
4
4
|
const Iti = function (source) {
|
|
5
5
|
var rtn = {
|
|
6
|
-
|
|
7
6
|
get clearable() {
|
|
8
7
|
if (typeof source.clear === 'undefined'&&!source.locked) {
|
|
9
8
|
return true;
|
|
@@ -17,10 +16,9 @@ const Iti = function (source) {
|
|
|
17
16
|
},
|
|
18
17
|
set clearable(v) {
|
|
19
18
|
source.clear = v;
|
|
20
|
-
},
|
|
21
|
-
|
|
19
|
+
},
|
|
22
20
|
get value1() {
|
|
23
|
-
return source.code2;
|
|
21
|
+
return source.code2||'';
|
|
24
22
|
},
|
|
25
23
|
set value1(v) {
|
|
26
24
|
source.code2 = v;
|
|
@@ -60,13 +58,6 @@ const Iti = function (source) {
|
|
|
60
58
|
set min1(v) {
|
|
61
59
|
source.minValue2 = v;
|
|
62
60
|
},
|
|
63
|
-
//searchObj: {
|
|
64
|
-
// get searchValue() {
|
|
65
|
-
// if (source.code1 || source.code2) {
|
|
66
|
-
// return source.code1 + '^' + source.code2;
|
|
67
|
-
// }
|
|
68
|
-
// }
|
|
69
|
-
//},
|
|
70
61
|
getFormObj() {
|
|
71
62
|
var rtnFormObj = {};
|
|
72
63
|
Object.defineProperty(rtnFormObj, source.fieldName1, {
|
|
@@ -67,6 +67,9 @@ const SearchScreen = function (source, callBack, screenPara) {
|
|
|
67
67
|
});
|
|
68
68
|
|
|
69
69
|
rtnscreens = this.initScreen(screens);
|
|
70
|
+
rtnscreens.forEach((v)=>{
|
|
71
|
+
v.action='search';
|
|
72
|
+
});
|
|
70
73
|
this._screen = rtnscreens;
|
|
71
74
|
return rtnscreens;
|
|
72
75
|
},
|
|
@@ -106,6 +109,9 @@ const SearchScreen = function (source, callBack, screenPara) {
|
|
|
106
109
|
return advIndex !== -1 && i > advIndex;
|
|
107
110
|
});
|
|
108
111
|
rtnscreens = this.initScreen(screens);
|
|
112
|
+
rtnscreens.forEach((v)=>{
|
|
113
|
+
v.action='search';
|
|
114
|
+
});
|
|
109
115
|
this._highScreen = rtnscreens;
|
|
110
116
|
return rtnscreens;
|
|
111
117
|
},
|
|
@@ -7,9 +7,8 @@ import Vue from 'vue';
|
|
|
7
7
|
const So = function (source, moreActionRouter) {
|
|
8
8
|
var rtn = {
|
|
9
9
|
options: [{ code: source.code1, name: source.name1 }],
|
|
10
|
-
get text() {
|
|
11
|
-
|
|
12
|
-
if (source.isList && source.name1 && rtn.attrs.placeholder) {
|
|
10
|
+
get text() {
|
|
11
|
+
if (source.isList && source.name1 && rtn.attrs.placeholder && rtn.displayLabelAfterSelected) {
|
|
13
12
|
return rtn.attrs.placeholder + ":" + source.name1;
|
|
14
13
|
}
|
|
15
14
|
return source.name1;
|
|
@@ -8,7 +8,7 @@ const Sos = function (source, moreActionRouter) {
|
|
|
8
8
|
var rtn = {
|
|
9
9
|
options: [{ code: source.code1, name: source.name1 }],
|
|
10
10
|
get text() {
|
|
11
|
-
if (source.isList && source.name1 && rtn.attrs.placeholder) {
|
|
11
|
+
if (source.isList && source.name1 && rtn.attrs.placeholder && rtn.displayLabelAfterSelected) {
|
|
12
12
|
return rtn.attrs.placeholder + ":" + source.name1;
|
|
13
13
|
}
|
|
14
14
|
return source.name1;
|
|
@@ -31,7 +31,6 @@ const Sos = function (source, moreActionRouter) {
|
|
|
31
31
|
get parentName() {
|
|
32
32
|
return source.parentField;
|
|
33
33
|
},
|
|
34
|
-
|
|
35
34
|
reset() {
|
|
36
35
|
this.value = this.defaultValue;
|
|
37
36
|
this.text = this.defaultText;
|
|
@@ -69,6 +69,9 @@ const LibFunction = {
|
|
|
69
69
|
field.controlType === Enum.ControlType.ButtonAdvancedSearch) {
|
|
70
70
|
field.width = '';
|
|
71
71
|
}
|
|
72
|
+
else if (field.controlType === Enum.ControlType.NumericRange) {
|
|
73
|
+
field.width = field.width || 280;
|
|
74
|
+
}
|
|
72
75
|
else {
|
|
73
76
|
showLabel = false;
|
|
74
77
|
field.width = field.width || 200;
|
|
@@ -145,10 +148,6 @@ const LibFunction = {
|
|
|
145
148
|
item = Sw(field);
|
|
146
149
|
item.is = 'ct-sw';
|
|
147
150
|
break;
|
|
148
|
-
//case 'Time'://时间控件
|
|
149
|
-
// item = TimeSelect(field, false);
|
|
150
|
-
// item.is = 'ct-time-select';
|
|
151
|
-
// break;
|
|
152
151
|
case Enum.ControlType.TimeRange://时间区间
|
|
153
152
|
item = TimeSelect(field, true, 'time');
|
|
154
153
|
item.is = 'ct-time-select';
|