自测问题修复
This commit is contained in:
parent
7c255da26a
commit
bf5c2aba8b
|
|
@ -148,8 +148,8 @@ const token = memberStore?.token
|
|||
|
||||
// 查询条件
|
||||
const queryParams = ref({
|
||||
pageNum: 1,
|
||||
pageSize: 10,
|
||||
page: 1,
|
||||
limit: 10,
|
||||
keyWord: '',
|
||||
})
|
||||
|
||||
|
|
@ -162,7 +162,7 @@ const getCoordinatePhotoListData = async (isTap = false) => {
|
|||
'',
|
||||
queryParams.value,
|
||||
)
|
||||
const { data: res } = await getCoordinatePhotoListApi(queryParams.value)
|
||||
const res = await getCoordinatePhotoListApi(queryParams.value)
|
||||
|
||||
console.log(
|
||||
'%c🔍 获取安全违章上传记录出参 %c',
|
||||
|
|
@ -178,7 +178,7 @@ const getCoordinatePhotoListData = async (isTap = false) => {
|
|||
// 点击搜索时,直接替换数据
|
||||
coordinatePhotosList.value = res?.data || []
|
||||
// 重置页码
|
||||
queryParams.value.pageNum = 1
|
||||
queryParams.value.page = 1
|
||||
} else {
|
||||
// 下拉加载时,追加数据
|
||||
if (res?.data && res?.data.length > 0) {
|
||||
|
|
@ -216,7 +216,7 @@ getCoordinatePhotoListData()
|
|||
const onScrollTolower = debounce(() => {
|
||||
// 判断是否还有更多数据
|
||||
if (coordinatePhotosList.value.length < total.value) {
|
||||
queryParams.value.pageNum++
|
||||
queryParams.value.page++
|
||||
getCoordinatePhotoListData(false)
|
||||
}
|
||||
}, 500)
|
||||
|
|
|
|||
|
|
@ -89,8 +89,8 @@ const token = memberStore?.token
|
|||
|
||||
// 查询条件
|
||||
const queryParams = ref({
|
||||
pageNum: 1,
|
||||
pageSize: 10,
|
||||
page: 1,
|
||||
limit: 10,
|
||||
keyWord: '',
|
||||
})
|
||||
|
||||
|
|
@ -103,7 +103,7 @@ const getImportantMattersListData = async (isTap = false) => {
|
|||
'',
|
||||
queryParams.value,
|
||||
)
|
||||
const { data: res } = await getImportantMattersListApi(queryParams.value)
|
||||
const res = await getImportantMattersListApi(queryParams.value)
|
||||
|
||||
console.log(
|
||||
'%c🔍 获取重要事项及宣传类上传记录出参 %c',
|
||||
|
|
@ -119,7 +119,7 @@ const getImportantMattersListData = async (isTap = false) => {
|
|||
// 点击搜索时,直接替换数据
|
||||
importantMattersList.value = res?.data || []
|
||||
// 重置页码
|
||||
queryParams.value.pageNum = 1
|
||||
queryParams.value.page = 1
|
||||
} else {
|
||||
// 下拉加载时,追加数据
|
||||
if (res?.data && res?.data.length > 0) {
|
||||
|
|
@ -145,7 +145,7 @@ getImportantMattersListData()
|
|||
const onScrollTolower = debounce(() => {
|
||||
// 判断是否还有更多数据
|
||||
if (importantMattersList.value.length < total.value) {
|
||||
queryParams.value.pageNum++
|
||||
queryParams.value.page++
|
||||
getImportantMattersListData(false)
|
||||
}
|
||||
}, 500)
|
||||
|
|
|
|||
|
|
@ -93,8 +93,8 @@ const token = memberStore?.token
|
|||
|
||||
// 查询条件
|
||||
const queryParams = ref({
|
||||
pageNum: 1,
|
||||
pageSize: 10,
|
||||
page: 1,
|
||||
limit: 10,
|
||||
keyWord: '',
|
||||
})
|
||||
|
||||
|
|
@ -107,7 +107,7 @@ const getSafetyMeasureListData = async (isTap = false) => {
|
|||
'',
|
||||
queryParams.value,
|
||||
)
|
||||
const { data: res } = await getSafetyMeasureListApi(queryParams.value)
|
||||
const res = await getSafetyMeasureListApi(queryParams.value)
|
||||
|
||||
console.log(
|
||||
'%c🔍 获取安全违章上传记录出参 %c',
|
||||
|
|
@ -123,7 +123,7 @@ const getSafetyMeasureListData = async (isTap = false) => {
|
|||
// 点击搜索时,直接替换数据
|
||||
safetyMeasureList.value = res?.data || []
|
||||
// 重置页码
|
||||
queryParams.value.pageNum = 1
|
||||
queryParams.value.page = 1
|
||||
} else {
|
||||
// 下拉加载时,追加数据
|
||||
if (res?.data && res?.data.length > 0) {
|
||||
|
|
@ -148,7 +148,7 @@ getSafetyMeasureListData()
|
|||
const onScrollTolower = debounce(() => {
|
||||
// 判断是否还有更多数据
|
||||
if (safetyMeasureList.value.length < total.value) {
|
||||
queryParams.value.pageNum++
|
||||
queryParams.value.page++
|
||||
getSafetyMeasureListData(false)
|
||||
}
|
||||
}, 500)
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ const iconList_1 = ref([
|
|||
},
|
||||
{
|
||||
jumpPath: '/pages/safetyMeasure/index',
|
||||
title: '安全措施落实',
|
||||
title: '安全措施',
|
||||
iconUrl: icon_3,
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -9,8 +9,8 @@ export default defineConfig({
|
|||
// 在此处编写代理规则
|
||||
'/api': {
|
||||
// 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.137:11997', // 方亮
|
||||
target: 'http://192.168.0.60:11997', // 赵福海
|
||||
// target: 'http://192.168.0.39:11997', // 陈长文
|
||||
changeOrigin: true,
|
||||
rewrite: (path) => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue