直转审核状态判断

This commit is contained in:
hongchao 2025-09-27 16:02:54 +08:00
parent 7b2d9b3972
commit 962b75b125
3 changed files with 6 additions and 9 deletions

View File

@ -278,12 +278,12 @@ onLoad(async(options) => {
}
}
})
const initPageData = () => {
const initPageData = async () => {
console.log(queryParams.value)
getReviewInfo(queryParams.value.taskId)
fetchAuditInfo()
await getReviewInfo(queryParams.value.taskId)
await fetchAuditInfo()
//
getNodeAuditStatus()
await getNodeAuditStatus()
}
const getConfig = async () => {
@ -336,7 +336,7 @@ const fetchAuditInfo = async () => {
const getNodeAuditStatus = async () => {
try {
// API
const res = await getNodeAuditStatusAPI({taskId:queryParams.value.taskId})
const res = await getNodeAuditStatusAPI({taskId:queryParams.value.taskId,taskTypeId:16})
console.log('🚀 ~ getNodeAuditStatus ~ res:', res)
if(res.data){
auditStatus.value = res.data.auditStatus

View File

@ -217,9 +217,6 @@ const onReview = (item) => {
}
const handleItemxxxx = (item) => {
console.log('itemxxxxxxxxxxxxxxxxxxxxxxxxxx', item)
}
// change
const onChangeDate = (val) => {

View File

@ -312,7 +312,7 @@ const fetchAuditInfo = async () => {
const getNodeAuditStatus = async () => {
try {
// API
const res = await getNodeAuditStatusAPI({taskId:queryParams.value.taskId})
const res = await getNodeAuditStatusAPI({taskId:queryParams.value.taskId,taskTypeId:19})
console.log('🚀 ~ getNodeAuditStatus ~ res:', res)
if(res.data){
auditStatus.value = res.data.auditStatus