|
@@ -11,7 +11,8 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
- <a-table :data="dataSource" :columns="columns" :scroll="{ x: 'auto' }">
|
|
|
+ <a-table :data="dataSource" :columns="columns" :scroll="{ x: 'auto' }" :pagination="pageData"
|
|
|
+ @page-change="evChangePage">
|
|
|
<template #operation="{ record }">
|
|
|
<a class="a-link" href="javascript:;" style="margin: 0 1rem;" @click="dictShowModel(2, record)">修改</a>
|
|
|
<a-popconfirm :content="`是否确认删除字典编号为 ${record.id} 的数据项?`" @ok="deleteChange(record.id)" type="warning">
|
|
@@ -193,6 +194,12 @@ const resetForm = () => {
|
|
|
remark: '',
|
|
|
});
|
|
|
}
|
|
|
+
|
|
|
+const evChangePage = (page) => {
|
|
|
+ pageData.value.current = page
|
|
|
+ intData()
|
|
|
+}
|
|
|
+
|
|
|
// 重置
|
|
|
const resetSelectData = () => {
|
|
|
formData.value.type_key = "";
|