|
@@ -20,7 +20,6 @@ import searchConfig from './config/search.config';
|
|
|
import pageSearch from '@/components/components/pageSearch.vue';
|
|
import pageSearch from '@/components/components/pageSearch.vue';
|
|
|
import useSystemStore from '@/store/main';
|
|
import useSystemStore from '@/store/main';
|
|
|
import { outTypeList } from '@/libs/commonMeth';
|
|
import { outTypeList } from '@/libs/commonMeth';
|
|
|
-import { getPageDetail } from '@/api/main';
|
|
|
|
|
|
|
|
|
|
const allNotificationStatus = outTypeList('bj_notify_os'); // 通报整体状态
|
|
const allNotificationStatus = outTypeList('bj_notify_os'); // 通报整体状态
|
|
|
const bj_notification_type = outTypeList('bj_notification_type'); //通报类型
|
|
const bj_notification_type = outTypeList('bj_notification_type'); //通报类型
|
|
@@ -44,11 +43,10 @@ import usePageModal from '@/components/components/hooks/usePageDetails';
|
|
|
const { modalRef, handleNewDataClick, handleEditDataClick, handleCheckDataClick, handlePageDetail } =
|
|
const { modalRef, handleNewDataClick, handleEditDataClick, handleCheckDataClick, handlePageDetail } =
|
|
|
usePageModal();
|
|
usePageModal();
|
|
|
|
|
|
|
|
-const handleDetails = async (id: string) => {
|
|
|
|
|
- const response = await getPageDetail(contentConfig.pageName, id);
|
|
|
|
|
|
|
+const handleDetails = async (releasedId: string) => {
|
|
|
router.push({
|
|
router.push({
|
|
|
name: 'noticeInfoInquiryDetail',
|
|
name: 'noticeInfoInquiryDetail',
|
|
|
- query: { type: 'detail', info: JSON.stringify(response.data) },
|
|
|
|
|
|
|
+ query: { type: 'detail', releasedId: releasedId },
|
|
|
});
|
|
});
|
|
|
};
|
|
};
|
|
|
|
|
|