centaline-data-driven-v3 0.1.27 → 0.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-v3",
3
- "version": "0.1.27",
3
+ "version": "0.1.28",
4
4
  "private": false,
5
5
  "description": "centaline-data-driven-v3",
6
6
  "main": "dist/centaline-data-driven-v3.umd.js",
@@ -32,6 +32,7 @@ const props = defineProps({
32
32
  })
33
33
  const detailSearchlist=ref()
34
34
 
35
+
35
36
  function submit(modelForm, responseData) {
36
37
  emit('submit', modelForm, responseData);
37
38
  }
@@ -780,6 +780,13 @@ function rolRouterClickHandler(field, rowData, rowindex, visible, columnName, co
780
780
  model.value.flagSideBar = true;
781
781
  model.value.isPageInSideBar = true;
782
782
  model.value.sideBarWidth = field.pageWidth;
783
+ var clientX = event.clientX;
784
+ setTimeout(() => {
785
+ if (window.innerWidth - 40 - field.pageWidth < clientX) {
786
+ refTableParent.value.scrollLeft = refTableParent.value.scrollLeft + (clientX - (window.innerWidth - 40 - field.pageWidth)) + 100;
787
+ }
788
+ }, 100);
789
+
783
790
  emit("loaded");
784
791
  return;
785
792
  }
@@ -32,7 +32,7 @@
32
32
  @clickPrevHandler="clickPrevHandler" @simpleRouterclickHandler="simpleRouterclickHandler"
33
33
  @closeSideHandler="closeSideHandler" @submit="submitHandler"></SearchSideRight>
34
34
  <SearchSideMenu ref="refSideMenu" :sideBarMenuRight="sideBarMenuRight" :sideBarStatus="sideBarStatus"
35
- @sideMenuClickHandler="sideMenuClickHandler" :key="reloadKey"></SearchSideMenu>
35
+ @sideMenuClickHandler="sideMenuClickHandler"></SearchSideMenu>
36
36
  </div>
37
37
  </div>
38
38
  </template>
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div id="app-search" style="width:100%;height:100%;position: fixed;">
3
- <ct-searchlist :apiParam="apiParam" :searchConditionApi="'http://10.88.22.13:7070/onecard-api/EmployeeWorkLogList/ind/getLayoutOfSearch'"
4
- :searchDataApi="'http://10.88.22.13:7070/onecard-api/EmployeeWorkLogList/ind/getListOfSearchModel'"></ct-searchlist>
3
+ <ct-searchlist :apiParam="apiParam" :searchConditionApi="'https://kq-api-gz.centaline.com.cn/onecard-api/EmployeeWorkLogList/ind/getLayoutOfSearch'"
4
+ :searchDataApi="'https://kq-api-gz.centaline.com.cn/onecard-api/EmployeeWorkLogList/ind/getListOfSearchModel'"></ct-searchlist>
5
5
 
6
6
  <!-- <ct-searchlist :apiParam="apiParam" :searchConditionApi="'/EmployeeMaternityList/getLayoutOfSearch'"
7
7
  :searchDataApi="'/EmployeeMaternityList/getListOfSearchModel'"></ct-searchlist> -->