|
|
@@ -199,7 +199,7 @@ const initCompany = () => {
|
|
|
//数据查询
|
|
|
function findpage() {
|
|
|
let query = {...formInline}
|
|
|
- query.companyId = query.companyId[query.companyId.length - 1]
|
|
|
+ query.companyId = query.companyId?.[query.companyId.length - 1]
|
|
|
api.agreementApi.agreementList({ pages: pageInfo.value.pageNum, size: pageInfo.value.pageSize, ...query }).then((res: any) => {
|
|
|
if (res.code == '200') {
|
|
|
tableData.value = res.data.records;
|