feat: 增加AI审核关闭
parent
e3659f9f11
commit
21c125646e
|
|
@ -9,8 +9,8 @@
|
||||||
</virtual-list>
|
</virtual-list>
|
||||||
</div>
|
</div>
|
||||||
<div class="h-[16rpx] bg-[#f8f8f8]"></div>
|
<div class="h-[16rpx] bg-[#f8f8f8]"></div>
|
||||||
<div class="grid grid-cols-2 gap-[18rpx] items-center pb-safe px-[32rpx] pt-[32rpx]">
|
<div :class="`grid ${aiFlag?'grid-cols-2':'grid-cols-1'} gap-[18rpx] items-center pb-safe px-[32rpx] pt-[32rpx]`">
|
||||||
<button class="flex items-center justify-center text-[#1580FF] text-[32rpx] font-normal rounded-[8rpx] font-normal border border-[#1580FF] h-[80rpx] bg-[#fff]" @click="handleReport">
|
<button v-show="aiFlag" class="flex items-center justify-center text-[#1580FF] text-[32rpx] font-normal rounded-[8rpx] font-normal border border-[#1580FF] h-[80rpx] bg-[#fff]" @click="handleReport">
|
||||||
<img src="https://api.static.ycymedu.com/images/btn-bottom.png" class="w-[52rpx] h-[52rpx] mr-[8rpx]" alt="report">
|
<img src="https://api.static.ycymedu.com/images/btn-bottom.png" class="w-[52rpx] h-[52rpx] mr-[8rpx]" alt="report">
|
||||||
AI解读志愿
|
AI解读志愿
|
||||||
</button>
|
</button>
|
||||||
|
|
@ -78,6 +78,19 @@
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const aiFlag = ref(true)
|
||||||
|
const showAi = () =>{
|
||||||
|
api.get(`https://api.v3.ycymedu.com/api/sysDictData/dicStatus`,{ id: 619330547859525 },(resp:any)=>{
|
||||||
|
console.log(resp);
|
||||||
|
if(resp.code === 200){
|
||||||
|
aiFlag.value = resp.result.status !== 1
|
||||||
|
}
|
||||||
|
|
||||||
|
},(error:any)=>{
|
||||||
|
console.log(error);
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
const handleReport = () => {
|
const handleReport = () => {
|
||||||
uni.navigateTo({ url: `/aiService-sub/index/index?fileId=${vId.value}&locationCode=${locationCode.value}` })
|
uni.navigateTo({ url: `/aiService-sub/index/index?fileId=${vId.value}&locationCode=${locationCode.value}` })
|
||||||
}
|
}
|
||||||
|
|
@ -99,6 +112,7 @@
|
||||||
locationCode.value = _mapParams.location;
|
locationCode.value = _mapParams.location;
|
||||||
|
|
||||||
getWishList();
|
getWishList();
|
||||||
|
showAi();
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue