Commit 3ea85d34 authored by “lixuyan”'s avatar “lixuyan”

纪实数据接口调试

parent e5843857
...@@ -136,22 +136,30 @@ export default { ...@@ -136,22 +136,30 @@ export default {
this.tableData = [] this.tableData = []
if (id) this.tableId = id if (id) this.tableId = id
const params = { const params = {
pageFrom: this.tablePagination.currentPage, 'pageFrom': 1,
pageSize: this.tablePagination.pageSize, 'pageSize': 10,
indices: ['ScanCodeRecord'], 'searchItems': {
searchItems: { 'children': [],
items: [ 'items': [
{ {
fieldName: 'keyID', 'fieldName': 'extSupportingItemId',
operator: 'EQ', 'operator': 'EQ',
// 'value': 205728631245000
value: this.tableId value: this.tableId
} }
], ],
operator: 'AND' 'operator': 'AND'
},
'openProps': [],
'sortItem': [
{
'fieldName': 'modifyTime',
'sortOrder': 'desc'
} }
]
} }
// 发送请求 // 发送请求
post('/ScanCodeRecord/listByKeyId', params) post('/ExtScanCodeRecord/search', params)
.then((res) => { .then((res) => {
this.tableData = res.items.content || [] this.tableData = res.items.content || []
this.tablePagination.total = res.items.totalElements this.tablePagination.total = res.items.totalElements
......
...@@ -271,7 +271,7 @@ export default { ...@@ -271,7 +271,7 @@ export default {
}, },
rowClick(row) { rowClick(row) {
this.rowData = row this.rowData = row
// this.$parent.$parent.$parent.$refs.footer.getTableData(this.rowData.id) this.$parent.$parent.$parent.$refs.footer.getTableData(this.rowData.id)
}, },
/** /**
* 胶漆使用申请 * 胶漆使用申请
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment