update code

prv
haha 2024-04-09 00:27:31 +08:00
parent 390c0db928
commit 320afd6d2b
1 changed files with 7 additions and 3 deletions

View File

@ -272,7 +272,11 @@ 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") {