zouyu
15 小时以前 32f10392ab00b07e85c0b4229037c30af7c3f28e
src/views/personnelManagement/contractManagement/filesDia.vue
@@ -30,10 +30,16 @@
          :isSelection="true"
          @selection-change="handleSelectionChange"
          height="500"
          @pagination="paginationSearch"
          :total="page.total"
      >
      </PIMTable>
      <pagination
          style="margin: 10px 0"
          v-show="total > 0"
          @pagination="paginationSearch"
          :total="total"
          :page="page.current"
          :limit="page.size"
      />
      <template #footer>
        <div class="dialog-footer">
          <el-button @click="closeDia">取消</el-button>
@@ -90,8 +96,8 @@
  },
]);
const page = reactive({
   current: 1,
   size: 100,
  current: 1,
  size: 100,
});
const total = ref(0);
const tableData = ref([]);
@@ -111,14 +117,14 @@
  getList()
}
const paginationSearch = (obj) => {
   page.current = obj.page;
   page.size = obj.limit;
   getList();
  page.current = obj.page;
  page.size = obj.limit;
  getList();
};
const getList = () => {
  fileListPage({accountId: currentId.value,accountType:accountType.value, ...page}).then(res => {
    tableData.value = res.data.records;
      total.value = res.data.total;
    total.value = res.data.total;
  })
}
// 表格选择数据
@@ -193,4 +199,4 @@
<style scoped>
</style>
</style>