centaline-data-driven 1.2.45 → 1.2.46

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.2.45",
3
+ "version": "1.2.46",
4
4
  "description": "ccai",
5
5
  "author": "hjc <3226136347@qq.com>",
6
6
  "private": false,
@@ -324,7 +324,7 @@ html {
324
324
  height:initial;
325
325
  }
326
326
  .st-serach-screen .el-input__icon {
327
- line-height:initial!important;
327
+ line-height:26px;
328
328
  }
329
329
  .ct-checkbox .cover-list-item-span{
330
330
  line-height: initial!important;
@@ -111,6 +111,7 @@
111
111
  this.reloadKeyTable='t'+this.reloadKey;
112
112
  },
113
113
  search(btn) {
114
+ debugger
114
115
  if (this.$refs.table.model) {
115
116
  this.pageDisabled=true;
116
117
  this.$refs.table.getPage(1);
@@ -121,24 +122,7 @@
121
122
 
122
123
  this.$refs.table.loadStats();
123
124
  },
124
- tableLoaded(table) {
125
- if(table.model.listData.length>0){
126
- this.flagSideBar=table.model.flagSideBar;
127
- this.flagDefaultDisplaySideBar=table.model.flagDefaultDisplaySideBar;
128
- this.sideBarWidth=table.model.sideBarWidth;
129
- if(this.flagSideBar){
130
- this.searchWidth=this.$refs.main.clientWidth-this.sideBarWidth;
131
- this.sideBarMenuRight=this.sideBarWidth-2;
132
- }
133
- if(this.flagDefaultDisplaySideBar){
134
- this.sideBarSide='right';
135
- }
136
- else{
137
- this.sideBarSide='left';
138
- }
139
- }
140
- },
141
- searchComplate(table) {
125
+ searchComplate() {
142
126
  this.pageDisabled=false;
143
127
  },
144
128
  toolbarClickHandler(field, submitData) {
@@ -167,6 +151,27 @@
167
151
  this.showTitle=this.$refs.screen.model.flagShowTitle;
168
152
  }
169
153
  },
154
+ tableLoaded(table) {
155
+ if(table.model.listData.length>0){
156
+ this.flagSideBar=table.model.flagSideBar;
157
+ this.flagDefaultDisplaySideBar=table.model.flagDefaultDisplaySideBar;
158
+ this.sideBarWidth=table.model.sideBarWidth;
159
+ if(this.flagSideBar){
160
+ if(this.flagDefaultDisplaySideBar){
161
+ this.sideBarSide='right';
162
+ this.sideBarRight=0;
163
+ this.searchWidth=this.$refs.main.clientWidth-this.sideBarWidth;
164
+ this.sideBarMenuRight=this.sideBarWidth-2;
165
+ }
166
+ else{
167
+ this.sideBarSide='left';
168
+ this.sideBarRight=-this.sideBarWidth;
169
+ this.searchWidth=0;
170
+ this.sideBarMenuRight=0;
171
+ }
172
+ }
173
+ }
174
+ },
170
175
  sideMenuClickHandler(v) {
171
176
  if(v=='right'){
172
177
  this.sideBarSide ='left';