doway-coms 2.11.9 → 2.11.11

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": "doway-coms",
3
- "version": "2.11.9",
3
+ "version": "2.11.11",
4
4
  "description": "doway组件库",
5
5
  "author": "dowaysoft",
6
6
  "main": "packages/index.js",
@@ -49,7 +49,7 @@
49
49
  </template>
50
50
 
51
51
  <script>
52
- import { objectAuditLogApi } from "../../utils/api";
52
+ import {objectAuditLogApi, objectAuditLogReadApi, objectAuditLogTApi} from "../../utils/api";
53
53
  export default {
54
54
  name: "AuditsList",
55
55
  props: {
@@ -111,15 +111,7 @@ export default {
111
111
  },
112
112
  sorts: [["createTime", "asc"]]
113
113
  };
114
- objectAuditLogApi(postData).then(res => {
115
- res.content.forEach(item => {
116
- try {
117
- item.logData = JSON.parse(item.logData);
118
- } catch (e) {
119
- console.debug(e)
120
- }
121
-
122
- });
114
+ objectAuditLogTApi(postData).then(res => {
123
115
  this.historyList = res.content;
124
116
  });
125
117
  },
@@ -97,6 +97,13 @@ export function objectAuditLogApi(data) {
97
97
  })
98
98
  }
99
99
 
100
+ export function objectAuditLogTApi(data) {
101
+ return request({
102
+ url: store.getters.baseUrl + '/v1/objectAuditLog/searchT',
103
+ method: 'post',
104
+ data: data
105
+ })
106
+ }
100
107
  export function objectAuditLogReadApi(data) {
101
108
  return request({
102
109
  url: store.getters.baseUrl + '/v1/objectAuditLog/read',