BUG修改

This commit is contained in:
a0049873 2022-11-15 16:17:25 +08:00
parent f094da8cd5
commit e60f697325
1 changed files with 5 additions and 4 deletions

View File

@ -773,8 +773,9 @@
contentList.data = res.data.data.list contentList.data = res.data.data.list
total.value = res.data.data.total total.value = res.data.data.total
initNum() initNum()
console.log('typeIndex', typeIndex.value)
switch (typeIndex.value) { switch (typeIndex.value) {
case 2: case 1:
contentList.data.map((val) => { contentList.data.map((val) => {
nengliziyuanshangjiaapply(val.businessKey).then((res1) => { nengliziyuanshangjiaapply(val.businessKey).then((res1) => {
console.log('上架===========>', res1.data.data) console.log('上架===========>', res1.data.data)
@ -784,7 +785,7 @@
}) })
}) })
break break
case 3: case 2:
contentList.data.map((val) => { contentList.data.map((val) => {
selectOneDel(val.businessKey).then((res1) => { selectOneDel(val.businessKey).then((res1) => {
console.log('下架===========>', res1.data.data) console.log('下架===========>', res1.data.data)
@ -794,7 +795,7 @@
}) })
}) })
break break
case 4: case 3:
contentList.data.map((val) => { contentList.data.map((val) => {
getDemandForm(val.businessKey).then((res1) => { getDemandForm(val.businessKey).then((res1) => {
console.log('需求===========>', res1.data.data) console.log('需求===========>', res1.data.data)
@ -805,7 +806,7 @@
}) })
}) })
break break
case 5: case 4:
contentList.data.map((val) => { contentList.data.map((val) => {
demandComment(val.businessKey).then((res1) => { demandComment(val.businessKey).then((res1) => {
console.log('评论===========>', res1.data.data) console.log('评论===========>', res1.data.data)