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

纪实数据接口调试

parent e5843857
......@@ -136,22 +136,30 @@ export default {
this.tableData = []
if (id) this.tableId = id
const params = {
pageFrom: this.tablePagination.currentPage,
pageSize: this.tablePagination.pageSize,
indices: ['ScanCodeRecord'],
searchItems: {
items: [
'pageFrom': 1,
'pageSize': 10,
'searchItems': {
'children': [],
'items': [
{
fieldName: 'keyID',
operator: 'EQ',
'fieldName': 'extSupportingItemId',
'operator': 'EQ',
// 'value': 205728631245000
value: this.tableId
}
],
operator: 'AND'
'operator': 'AND'
},
'openProps': [],
'sortItem': [
{
'fieldName': 'modifyTime',
'sortOrder': 'desc'
}
]
}
// 发送请求
post('/ScanCodeRecord/listByKeyId', params)
post('/ExtScanCodeRecord/search', params)
.then((res) => {
this.tableData = res.items.content || []
this.tablePagination.total = res.items.totalElements
......
......@@ -271,7 +271,7 @@ export default {
},
rowClick(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