diff --git a/.env.development b/.env.development index 8388384..3391337 100644 --- a/.env.development +++ b/.env.development @@ -5,8 +5,8 @@ VITE_APP_TITLE = 煤科建管平台 VITE_APP_ENV = 'development' # 开发环境 -VITE_APP_BASE_API = 'http://192.168.110.209:8899' -# VITE_APP_BASE_API = 'http://58.17.134.85:8899' +# VITE_APP_BASE_API = 'http://192.168.110.180:8899' +VITE_APP_BASE_API = 'http://58.17.134.85:8899' # GO开发环境 VITE_APP_BASE_API_GO = 'http://xny.yj-3d.com:7464' # VITE_APP_BASE_API_GO = 'http://192.168.110.188:8919' diff --git a/src/views/progress/plan/component/createDailyRate.vue b/src/views/progress/plan/component/createDailyRate.vue index c5a17bb..bbbd05d 100644 --- a/src/views/progress/plan/component/createDailyRate.vue +++ b/src/views/progress/plan/component/createDailyRate.vue @@ -112,7 +112,7 @@ - + />
@@ -199,10 +199,10 @@ const state = reactive<{ }; detialList: any[]; detailTotal: number; - // detailQueryParams: { - // pageSize: number; - // pageNum: number; - // }; + detailQueryParams: { + pageSize: number; + pageNum: number; + }; loading1: boolean; loading2: boolean; typeList: ('info' | 'warning' | 'success' | 'danger')[]; @@ -238,10 +238,10 @@ const state = reactive<{ }, detialList: [], detailTotal: 0, - // detailQueryParams: { - // pageSize: 10, - // pageNum: 1 - // }, + detailQueryParams: { + pageSize: 10, + pageNum: 1 + }, loading1: false, loading2: false, typeList: ['info', 'warning', 'success', 'danger'], @@ -275,7 +275,7 @@ const { formDetail, detialList, detailTotal, - // detailQueryParams, + detailQueryParams, loading1, loading2, typeList, @@ -327,7 +327,8 @@ const resetForm = (bool: boolean) => { const getPvModuleList = () => { loading1.value = true; pvModuleList({ - id: formDetail.value.id + id: formDetail.value.id, + ...detailQueryParams.value }).then((res: any) => { loading1.value = false; if (res.code === 200) { diff --git a/src/views/progress/plan/index.vue b/src/views/progress/plan/index.vue index 254bbcf..411bcd7 100644 --- a/src/views/progress/plan/index.vue +++ b/src/views/progress/plan/index.vue @@ -1,14 +1,12 @@