|
@@ -434,17 +434,17 @@ const authBtnTabdata = ref([
|
|
|
{ key: '3', name: '业主抽检' },
|
|
|
])
|
|
|
const authBtnTabClick = (item) => {
|
|
|
+ tableData.value = []
|
|
|
if (item.key !== authBtnTabKey.value && item.key < 3) {
|
|
|
authBtnTabKey.value = item.key
|
|
|
searchForm.value.type = item.key
|
|
|
searchForm.value.current = 1
|
|
|
getTableData()
|
|
|
- }
|
|
|
- if (item.key === '3') {
|
|
|
+ } else if (item.key === '3') {
|
|
|
authBtnTabKey.value = item.key
|
|
|
searchForm.value.type = item.key
|
|
|
searchForm.value.current = 1
|
|
|
- tableData.value = []
|
|
|
+ getTableData()
|
|
|
}
|
|
|
}
|
|
|
//contractType, 1施工,2监理, 3业主
|