|
@@ -0,0 +1,29 @@
|
|
|
|
|
+<template>
|
|
|
|
|
+ <CommonListPage
|
|
|
|
|
+ title="政策法规"
|
|
|
|
|
+ itemType="image-large-2"
|
|
|
|
|
+ showTotal
|
|
|
|
|
+ :dropDownNames="dropdownNames"
|
|
|
|
|
+ :load="loadData"
|
|
|
|
|
+ />
|
|
|
|
|
+ <!-- -->
|
|
|
|
|
+</template>
|
|
|
|
|
+
|
|
|
|
|
+<script setup lang="ts">
|
|
|
|
|
+import { ref } from 'vue';
|
|
|
|
|
+import CommonListPage, { type DropDownNames } from '@/pages/article/common/CommonListPage.vue';
|
|
|
|
|
+import { GetContentListParams } from '@/api/CommonContent';
|
|
|
|
|
+import PolicyContent from '@/api/introduction/PolicyContent';
|
|
|
|
|
+
|
|
|
|
|
+const dropdownNames = ref<DropDownNames[]>([]);
|
|
|
|
|
+
|
|
|
|
|
+async function loadData(
|
|
|
|
|
+ page: number,
|
|
|
|
|
+ pageSize: number,
|
|
|
|
|
+ searchText: string,
|
|
|
|
|
+ dropDownValues: number[],
|
|
|
|
|
+ tabSelect: number,
|
|
|
|
|
+) {
|
|
|
|
|
+ return await PolicyContent.getContentList(new GetContentListParams().setKeywords(searchText), page, pageSize);
|
|
|
|
|
+}
|
|
|
|
|
+</script>
|