#
Junjie
2024-09-10 a54f85deb9d8c8778ec77ae115b8db4cabc934be
zy-asrs-admin/src/views/out/wave/index.vue
@@ -19,6 +19,12 @@
const editChild = ref(null)
const orderOutMergePreviewChild = ref(null);
const state = reactive({
  selectedRowKeys: [],
  loading: false,
  columns: [],
});
let tableData = ref([]);
getPage();
@@ -37,12 +43,6 @@
    rowSpan: count,
  };
}
const state = reactive({
  selectedRowKeys: [],
  loading: false,
  columns: [],
});
state.columns = [
  {
@@ -118,6 +118,8 @@
};
function getPage() {
  state.loading = true;
  post('/api/wave/page', {
    current: currentPage,
    pageSize: pageSize,
@@ -152,7 +154,7 @@
      tableDataColSpan = colSpan;
      tableData.value = tmp;
      console.log(tmp);
      state.loading = false;
    } else if (result.code === 401) {
      message.error(result.msg);
@@ -309,7 +311,7 @@
      </div> -->
    </div>
    <a-table :data-source="tableData" :defaultExpandAllRows="false" :key="TABLE_KEY" rowKey="index"
      :scroll="{ y: 768, scrollToFirstRowOnChange: true }" :columns="state.columns" @resizeColumn="handleResizeColumn">
      :scroll="{ y: 768, scrollToFirstRowOnChange: true }" :columns="state.columns" @resizeColumn="handleResizeColumn" :loading="state.loading">
      <template #bodyCell="{ column, text, record }">
        <template v-if="column.dataIndex === 'oper'">
          <div style="display: flex;justify-content: space-evenly;">