update code

prv
haha 2024-04-09 00:54:37 +08:00
parent 320afd6d2b
commit 088e453c82
1 changed files with 2 additions and 6 deletions

View File

@ -272,12 +272,8 @@ export default {
queryDataList(nav, t) { queryDataList(nav, t) {
let postData = { let postData = {
projectId: this.projectInfo.id, projectId: this.projectInfo.id,
} dataTypeLvl2:nav
if(t=='a'){ }
postData.dataTypeLvl1=nav;
}else{
postData.dataTypeLvl2=nav;
}
this.$api.projectChecking.queryProjectCheckingList(1, 20, postData).then(d => { this.$api.projectChecking.queryProjectCheckingList(1, 20, postData).then(d => {
if (t == "a") { if (t == "a") {
this.dataList1 = d.rows || []; this.dataList1 = d.rows || [];