centaline-data-driven 1.3.20 → 1.3.21

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.
@@ -14,7 +14,7 @@
14
14
 
15
15
  <ct-searchtable ref="table" :api="searchDataApi" :searchStatsApi="searchStatsApi" :from="from" @loaded="tableLoaded"
16
16
  @toolbarClick="toolbarClickHandler" @refreshParent="refreshParentHandler" :key="reloadKeyTable" @searchComplate="searchComplate"
17
- @rowClickHandle="rowClickHandle" @scrollHandle="scrollHandle"
17
+ @rowClickHandle="rowClickHandle" @scrollHandle="scrollHandle" @refreshRowHandle="refreshRowHandle"
18
18
  @showTitle="showTitleHandler"></ct-searchtable>
19
19
  </div>
20
20
  <div ref="sidebar" v-if="flagSideBar && flagSideBarOfData"
@@ -231,6 +231,10 @@
231
231
  self.detailKey = self.detailKey+1;
232
232
  }
233
233
  },
234
+ refreshRowHandle(){
235
+ this.selectIndex=-1;
236
+ this.rowClickHandle();
237
+ },
234
238
  sideMenuClickHandler(v) {
235
239
  let popoverCallTels=document.getElementsByClassName('el-popoverCallTel');
236
240
  if(v=='open'){
@@ -270,9 +274,9 @@
270
274
  this.$refs.table.rowKeyDownHandle(null,-1);
271
275
  },
272
276
  simpleRouterclickHandler(field,data) {
277
+ this.$refs.table.refreshFromSimple(field,data);
273
278
  this.selectIndex=-1;
274
279
  this.rowClickHandle();
275
- this.$refs.table.refreshFromSimple(field,data);
276
280
  },
277
281
  saveShortcut(){
278
282
  this.$refs.table.getPage(1);