禅道bug修复

This commit is contained in:
BianLzhaoMin 2025-04-17 17:33:28 +08:00
parent ce82e83f28
commit 104f98ed59
4 changed files with 25 additions and 3 deletions

View File

@ -395,9 +395,10 @@ const onHandleSeniorSearch = () => {
const onHandleSearch = () => {
queryParams.value.searchType = 3
queryParams.value.keyWord = innerKeyWord.value
queryParams.value.pageNum = 1
getImgListData(true)
rightPopupShow.value = false
resetForm()
// resetForm()
}
//
@ -506,7 +507,7 @@ const getImgListData = async (isTap = false) => {
const res = await getImgListApi(queryParamsNew)
//
total.value = res.data.total
total.value = res?.data?.total
console.log(
'%c🔍 获取照片列表出参 %c',
'background: linear-gradient(90deg, #FF6B6B, #4ECDC4); color: white; padding: 5px 10px; border-radius: 5px; font-weight: bold;',

View File

@ -32,6 +32,7 @@
text="修改"
type="primary"
@tap="onHandleEditRecord(item.id)"
v-if="!isExpire(item.rectDate)"
/>
</view>
</view>
@ -178,6 +179,15 @@ const onHandleViewDetails = (id) => {
})
}
const isExpire = (rectDate) => {
const targetDate = new Date(rectDate)
const currentDate = new Date()
//
targetDate.setHours(0, 0, 0, 0)
currentDate.setHours(0, 0, 0, 0)
return targetDate < currentDate
}
//
const onClickSwiper = (e) => {}

View File

@ -32,6 +32,7 @@
text="修改"
type="primary"
@tap="onHandleEditRecord(item.id)"
v-if="!isExpire(item.rectDate)"
/>
</view>
</view>
@ -185,6 +186,15 @@ const onClickSwiper = (e) => {}
//
const onHandleBackTop = () => {}
const isExpire = (rectDate) => {
const targetDate = new Date(rectDate)
const currentDate = new Date()
//
targetDate.setHours(0, 0, 0, 0)
currentDate.setHours(0, 0, 0, 0)
return targetDate < currentDate
}
</script>
<style lang="scss" scoped>

View File

@ -8,10 +8,11 @@ export default defineConfig({
proxy: {
// 在此处编写代理规则
'/api': {
target: 'http://192.168.0.133:11997', // 梁超
// target: 'http://192.168.0.133:11997', // 梁超
// target: 'http://192.168.0.137:11997', // 方亮
// target: 'http://192.168.0.60:11997', // 赵福海
// target: 'http://192.168.0.39:11997', // 陈长文
target: 'http://192.168.0.14:11997', // 测试环境
changeOrigin: true,
rewrite: (path) => {
return path.replace(/\/api/, '')