centaline-data-driven-v3 0.1.25 → 0.1.26

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.25",
3
+ "version": "0.1.26",
4
4
  "private": false,
5
5
  "description": "centaline-data-driven-v3",
6
6
  "main": "dist/centaline-data-driven-v3.umd.js",
@@ -173,7 +173,7 @@ function voiceEndedHandler() {
173
173
  listenSeconds.value = -1;
174
174
  }
175
175
  function onShow() {
176
- emit('mouseenter', props.router, props.rowData, props.rowindex, null, props.columnName, function (data) {
176
+ emit('mouseenter', props.router, props.rowData, props.rowindex, null, props.columnName, props.columnGroupId,function (data) {
177
177
  if (data.height) {
178
178
  data.height = (parseInt(data.height.replace('px', '')) + 50) + 'px';
179
179
  }
@@ -64,7 +64,7 @@ function loadSearchTableModel(source, searchModel, defaultSearchData, action, se
64
64
  toolbarKey: 0,
65
65
  downloadUrl: '',
66
66
  _scripts: null,
67
- OriginalColumns:JSON.parse(JSON.stringify(source.content.columns)),
67
+ OriginalColumns:source.content.columns?JSON.parse(JSON.stringify(source.content.columns)):[],
68
68
  get scripts() {
69
69
  if (rtn._scripts !== null) {
70
70
  return rtn._scripts;
package/src/main.js CHANGED
@@ -21,11 +21,11 @@ for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
21
21
  }
22
22
 
23
23
  app.use(centaline, {
24
- //baseUrl: "http://10.88.22.13:7070/onecard-api/",
24
+ baseUrl: "http://10.88.22.13:7070/onecard-api/",
25
25
  //baseUrl:"http://10.88.22.13:7070/onecard-api/",
26
26
  //baseUrl: "https://kq-api.centaline.com.cn/onecard-api/",
27
27
  //baseUrl: "http://10.88.22.13:6060/onecard-api/",
28
- baseUrl: "http://10.88.22.66/IBS.Mvc/api/",
28
+ //baseUrl: "http://10.88.22.66/IBS.Mvc/api/",
29
29
  //baseUrl: "http://10.1.245.50:38735/max-uplink-api/",
30
30
  //baseUrl: "http://10.1.245.111:38028/",
31
31
 
@@ -65,10 +65,10 @@ app.use(centaline, {
65
65
  //获取请求头
66
66
  getRequestHeaders: function () {
67
67
  return {
68
- //authobject: '{token:"jiangzf-1977901360645029888",platform:"WEB"}',
68
+ authobject: '{token:"wufw-1980431367841927168",platform:"WEB"}',
69
69
  //oldToken: 'd92d4a3b-2274-42e8-96f0-100ffb579b6e',
70
70
  //authObject: '{token:"jiangzf-1958445358178844672",platform:"WEB"}',
71
- authObject: '{EmpID:"Token_4e09499b-4b76-46df-9ce5-5498d48ed062",MachineCode:"ae184643-f8e2-453c-a752-ba82612b592f",SSO_Token:"SSOToken_4e09499b-4b76-46df-9ce5-5498d48ed062",Platform:"WEB"}',
71
+ //authObject: '{EmpID:"Token_4e09499b-4b76-46df-9ce5-5498d48ed062",MachineCode:"ae184643-f8e2-453c-a752-ba82612b592f",SSO_Token:"SSOToken_4e09499b-4b76-46df-9ce5-5498d48ed062",Platform:"WEB"}',
72
72
  };
73
73
  },
74
74
  getToken() {
@@ -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/getLayoutOfSearch'"
4
- :searchDataApi="'http://10.88.22.13:7070/onecard-api/EmployeeWorkLogList/getListOfSearchModel'"></ct-searchlist>
3
+ <ct-searchlist :apiParam="apiParam" :searchConditionApi="'/ReportPersonAttendanceList/getLayoutOfSearch'"
4
+ :searchDataApi="'ReportPersonAttendanceList/getListOfSearchModel'"></ct-searchlist>
5
5
 
6
6
  <!-- <ct-searchlist :apiParam="apiParam" :searchConditionApi="'/EmployeeMaternityList/getLayoutOfSearch'"
7
7
  :searchDataApi="'/EmployeeMaternityList/getListOfSearchModel'"></ct-searchlist> -->
@@ -15,6 +15,6 @@
15
15
 
16
16
  <script lang="ts" setup>
17
17
  import { ref, nextTick } from 'vue'
18
- const apiParam = {"rowGUID":"{7AE0A3FB-2D6C-4E51-8B10-71EAFA2D269A}","code":"KD01","name":"中原(中国)物业顾问有限公司","deptID":"{7AE0A3FB-2D6C-4E51-8B10-71EAFA2D269A}","path":"KD01","checkBillLeftHours":"1","rightEdit":"1"}
18
+ const apiParam = {}
19
19
 
20
20
  </script>