|
|
@ -66,7 +66,15 @@ export const tableFormBlurVer = async (headerItem, val, row, index, routeName, f |
|
|
|
filters.push({ |
|
|
|
action: searchCondition[i].action || '==', |
|
|
|
column: searchCondition[i].key, |
|
|
|
value: formRef.formModel[searchCondition[i].value] |
|
|
|
value: formRef.formModel[ |
|
|
|
searchCondition[i].value |
|
|
|
] |
|
|
|
? formRef.formModel[searchCondition[i].value] |
|
|
|
: detailData |
|
|
|
? detailData[searchCondition[i].value] |
|
|
|
: row |
|
|
|
? row[searchCondition[i].value] |
|
|
|
: '' |
|
|
|
}) |
|
|
|
} else if (searchCondition[i].isTableRowValue) { |
|
|
|
if (searchCondition[i].required) { |
|
|
@ -807,10 +815,9 @@ export const getListByBottonInput = async (headerItem, val, row, routeName, form |
|
|
|
console.log(999, verificationParams) |
|
|
|
if (verificationParams && verificationParams.length > 0) { |
|
|
|
for (let i = 0; i < verificationParams.length; i++) { |
|
|
|
if (verificationParams[i].key == 'code') { |
|
|
|
verificationParams[i].key = 'codes' |
|
|
|
} |
|
|
|
params.value[verificationParams[i].key] = val |
|
|
|
console.log(54565, verificationParams[i].key) |
|
|
|
verificationParams[i].key1 = verificationParams[i].key +'s' |
|
|
|
params.value[verificationParams[i].key1] = val |
|
|
|
} |
|
|
|
} |
|
|
|
await tableFormSchemaObj.verificationPage(params.value).then(async (res) => { |
|
|
@ -828,10 +835,10 @@ export const getListByBottonInput = async (headerItem, val, row, routeName, form |
|
|
|
let repeatCode = [] |
|
|
|
if (tableData.length > 0) { |
|
|
|
tableData.forEach((item) => { |
|
|
|
const findIndex = arr1.findIndex(valItem => valItem == item[field]) |
|
|
|
const findIndex = arr1.findIndex(valItem => valItem == item[headerItem.field]) |
|
|
|
if (findIndex > -1) { |
|
|
|
arr1.splice(findIndex, 1) |
|
|
|
repeatCode.push(item[field]) |
|
|
|
repeatCode.push(item[headerItem.field]) |
|
|
|
} |
|
|
|
}) |
|
|
|
} |
|
|
|