centaline-data-driven 1.1.27 → 1.1.28
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 +12 -1
- package/src/centaline/dynamicDetail/src/dynamicPropertyDetailOFI.vue +1 -1
- package/src/centaline/dynamicIti/src/dynamicIti.vue +23 -23
- package/src/centaline/dynamicSearchList/src/dynamicTableToolbar.vue +1 -1
- package/src/centaline/dynamicSos/src/dynamicSos.vue +0 -1
- package/src/centaline/loader/src/ctl/Base.js +4 -0
- package/src/centaline/loader/src/ctl/Iti.js +1 -1
- package/src/centaline/loader/src/ctl/So.js +2 -3
- package/src/centaline/loader/src/ctl/Sos.js +1 -1
- 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-iti .ct-input_inner {
|
|
105
|
+
border-top-left-radius: 6px !important;
|
|
106
|
+
border-bottom-left-radius: 6px !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,12 @@
|
|
|
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-iti .el-input-group--prepend .el-input__inner{
|
|
153
|
+
border-top-left-radius: 6px !important;
|
|
154
|
+
border-bottom-left-radius: 6px !important;
|
|
155
|
+
text-align: left !important;
|
|
156
|
+
}
|
|
@@ -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('
|
|
14
|
+
v-model="model.value" @change="changeHandler($event)" @input="onInputHandler($event);isShowClear('input2')" @focus="focusHandler" @blur="blurHandler('value','decimals')"
|
|
15
15
|
:class="model.lock ? 'ct-is-disabled' : ''" :disabled="model.lock" />
|
|
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'
|
|
26
|
+
v-model="model.value1" @change="changeHandler($event);" @input="onInputHandler($event);isShowClear('input2')" @focus="focusHandler" @blur="blurHandler('value1','decimals1')"
|
|
27
27
|
:class="model.lock ? 'ct-is-disabled' : ''" :disabled="model.lock" />
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
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,25 +118,25 @@
|
|
|
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
|
},
|
|
@@ -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 && source.dlfs) {
|
|
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 && source.dlfs) {
|
|
12
12
|
return rtn.attrs.placeholder + ":" + source.name1;
|
|
13
13
|
}
|
|
14
14
|
return source.name1;
|
|
@@ -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';
|