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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "centaline-data-driven",
3
- "version": "1.1.27",
3
+ "version": "1.1.28",
4
4
  "description": "ccai",
5
5
  "author": "hjc <3226136347@qq.com>",
6
6
  "private": false,
@@ -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="'/PropertyOFIList/getLayoutOfSearch'" :searchDataApi="'/PropertyOFIList/getList'"></ct-searchlist>
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>
@@ -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: 0px !important;
106
- border-bottom-left-radius: 0px !important;
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 0px 0 0px;
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: #FFF; /*白色*/
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>付费</span><span>各付各税</span></div>
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:15px" v-bind="model.attrs" class="el-date-editor el-range-editor el-input__inner el-date-editor--daterange"
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" @mouseover="mouseOverHandle('input1','value')" @mouseout="mouseOutHandle('input1')">
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('input1','value')" @focus="focusHandler" @blur="blurHandler('value','decimals')"
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" @mouseover="mouseOverHandle('input2','value1')" @mouseout="mouseOutHandle('input2')">
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','value1')" @focus="focusHandler" @blur="blurHandler('value1','decimals1')"
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
- <span class="el-input__suffix el-input--mini" v-if="showClear.input2">
29
- <span class="el-input__suffix-inner ct-close">
30
- <i class="el-select__caret el-input__icon el-icon-circle-close is-show-close" @click="clearClickHandle($event,'input2','value1')"></i>
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
- </span>
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,valName) {
122
-
123
- this.model[valName] ='';
124
- this.isShowClear(id,valName);
121
+ clearClickHandle: function (event,id) {
122
+ this.model['value'] ='';
123
+ this.model['value1'] ='';
124
+ this.isShowClear(id);
125
125
  },
126
- mouseOverHandle: function (id,valName) {
127
- if (this.model[valName] !== '' && this.model.clearable) {
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,valName)
134
+ isShowClear(id)
135
135
  {
136
- if (this.model[valName] !== '' && this.model.clearable) {
136
+ if ((this.model['value'] !== '' || this.model['value1'] !== '') && this.model.clearable) {
137
137
  this.showClear[id]=true;
138
- }else
139
- {
138
+ }
139
+ else {
140
140
  this.showClear[id]=false;
141
141
  }
142
142
  },
@@ -44,7 +44,7 @@
44
44
  width:100%;
45
45
  position:relative;
46
46
  float:left;
47
- padding:0 15px 10px 15px;
47
+ padding:0 5px 10px 15px;
48
48
  background-color:#fff;
49
49
  border-radius: 6px;
50
50
  }
@@ -222,7 +222,6 @@
222
222
  }
223
223
  },
224
224
  selectOption(value) {
225
- debugger;
226
225
  if (this.model.value === value) {
227
226
  //this.model.value = '';
228
227
  this.$set(this, 'showDrop', false);
@@ -238,6 +238,10 @@ const Base = function (source) {
238
238
  }
239
239
  return null;
240
240
  },
241
+ /*选择搜索条件后是否默认显示标签*/
242
+ get dlfs() {
243
+ return source.dlfs;
244
+ },
241
245
  };
242
246
 
243
247
  return rtn;
@@ -20,7 +20,7 @@ const Iti = function (source) {
20
20
  },
21
21
 
22
22
  get value1() {
23
- return source.code2;
23
+ return source.code2||'';
24
24
  },
25
25
  set value1(v) {
26
26
  source.code2 = v;
@@ -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';