|
@@ -166,7 +166,7 @@ const currentOption = reactive({
|
|
|
total: 0,
|
|
|
page: 1,
|
|
|
limit: 10,
|
|
|
- pageSizes: [10],
|
|
|
+
|
|
|
});
|
|
|
const showStatus = ref(true);
|
|
|
const tableData = ref([]);
|
|
@@ -212,10 +212,7 @@ const toRuler = (row) => {
|
|
|
router.push({ name: "SPCrules" });
|
|
|
};
|
|
|
const getData = async (obj) => {
|
|
|
- if (obj) {
|
|
|
- currentOption.page = obj.page;
|
|
|
- currentOption.limit = obj.limit;
|
|
|
- }
|
|
|
+
|
|
|
const { data, code } = await getTableData({
|
|
|
...searchRef.value.searchForm,
|
|
|
pageNo: currentOption.page,
|