|
@@ -55,7 +55,7 @@ import { onMounted, ref, getCurrentInstance } from "vue";
|
|
import { useRoute } from "vue-router";
|
|
import { useRoute } from "vue-router";
|
|
import { columns } from "./config";
|
|
import { columns } from "./config";
|
|
import { Message, Notification } from '@arco-design/web-vue'
|
|
import { Message, Notification } from '@arco-design/web-vue'
|
|
-import { dataPlanList } from "@/api/path/lotCard.api"
|
|
|
|
|
|
+import { getDataPlanList } from "@/api/path/lotCard.api"
|
|
import NewDataPackageForm from './NewDataPackageForm.vue';
|
|
import NewDataPackageForm from './NewDataPackageForm.vue';
|
|
import { useI18n } from 'vue-i18n';
|
|
import { useI18n } from 'vue-i18n';
|
|
import { enum_dict } from "@/hooks/enum";
|
|
import { enum_dict } from "@/hooks/enum";
|
|
@@ -97,7 +97,7 @@ const intData = async () => {
|
|
size: pagination.value.pageSize,
|
|
size: pagination.value.pageSize,
|
|
...searchForm.value,
|
|
...searchForm.value,
|
|
}
|
|
}
|
|
- const { data } = await dataPlanList(param)
|
|
|
|
|
|
+ const { data } = await getDataPlanList(param)
|
|
dataSource.value = (data?.records || []).map((item, index) => {
|
|
dataSource.value = (data?.records || []).map((item, index) => {
|
|
const dictList = JSON.parse(window.localStorage.getItem('dictList')) ?? []
|
|
const dictList = JSON.parse(window.localStorage.getItem('dictList')) ?? []
|
|
const periodName = (dictList.filter((dicVal) => dicVal.type_key == enum_dict.FLOW_PERIOD) || []).find(val => val.value == item.period)?.label
|
|
const periodName = (dictList.filter((dicVal) => dicVal.type_key == enum_dict.FLOW_PERIOD) || []).find(val => val.value == item.period)?.label
|
|
@@ -134,6 +134,7 @@ const intData = async () => {
|
|
|
|
|
|
const evChangePage = (page) => {
|
|
const evChangePage = (page) => {
|
|
pagination.value.current = page
|
|
pagination.value.current = page
|
|
|
|
+ intData()
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|