#
Junjie
2024-07-30 9870b9e10e1d0abcbc91fa2840c9ed6cc2854b68
zy-asrs-admin/src/components/order/index.vue
@@ -28,6 +28,7 @@
const {
  getColumnSearchProps,
  handleResizeColumn,
} = useTableSearch();
const columns = [
@@ -185,7 +186,9 @@
}
const handleExport = async (intl) => {
  postBlob('/api/order/export', {}).then(result => {
  postBlob('/api/order/export', {
    ioModel: props.ioModel
  }).then(result => {
    const blob = new Blob([result.data], { type: 'application/vnd.ms-excel' });
    window.location.href = window.URL.createObjectURL(blob);
    return true;
@@ -229,7 +232,7 @@
    <a-table :row-selection="{ selectedRowKeys: state.selectedRowKeys, onChange: onSelectChange }"
      :data-source="tableData.records" :defaultExpandAllRows="false" :key="TABLE_KEY" rowKey="id"
      :pagination="{ total: tableData.total, onChange: onPageChange }"
      :scroll="{ y: 768, scrollToFirstRowOnChange: true }" :columns="columns">
      :scroll="{ y: 768, scrollToFirstRowOnChange: true }" :columns="columns" @resizeColumn="handleResizeColumn">
      <template #bodyCell="{ column, text, record }">
        <template v-if="column.dataIndex === 'oper'">
          <div style="display: flex;justify-content: space-evenly;">