#
Junjie
2024-09-20 b9498279476a649fe8a6861b7b6032bbd9ff7b7a
zy-asrs-admin/src/views/base/cacheSite/index.vue
@@ -32,6 +32,13 @@
const columns = [
        {
    title: formatMessage('db.man_cache_site.channel', '通道'),
    dataIndex: 'channel',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('channel'),
  },
  {
            title: formatMessage('db.man_cache_site.site_no', '站点编号'),
            dataIndex: 'siteNo',
            width: 140,
@@ -59,27 +66,27 @@
            ellipsis: true,
            ...getColumnSearchProps('orderNo'),
        },
        {
            title: formatMessage('db.man_cache_site.status', '状态'),
            dataIndex: 'status$',
            width: 140,
            ellipsis: true,
            ...getColumnSearchProps('status$'),
        },
        {
            title: formatMessage('db.man_cache_site.create_time', '添加时间'),
            dataIndex: 'createTime$',
            width: 140,
            ellipsis: true,
            ...getColumnSearchProps('createTime$'),
        },
        {
            title: formatMessage('db.man_cache_site.create_by', '添加人员'),
            dataIndex: 'createBy$',
            width: 140,
            ellipsis: true,
            ...getColumnSearchProps('createBy$'),
        },
  // {
  //   title: formatMessage('db.man_cache_site.status', '状态'),
  //   dataIndex: 'status$',
  //   width: 140,
  //   ellipsis: true,
  //   ...getColumnSearchProps('status$'),
  // },
  // {
  //   title: formatMessage('db.man_cache_site.create_time', '添加时间'),
  //   dataIndex: 'createTime$',
  //   width: 140,
  //   ellipsis: true,
  //   ...getColumnSearchProps('createTime$'),
  // },
  // {
  //   title: formatMessage('db.man_cache_site.create_by', '添加人员'),
  //   dataIndex: 'createBy$',
  //   width: 140,
  //   ellipsis: true,
  //   ...getColumnSearchProps('createBy$'),
  // },
        {
            title: formatMessage('db.man_cache_site.update_time', '修改时间'),
            dataIndex: 'updateTime$',
@@ -224,7 +231,8 @@
    <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" @resizeColumn="handleResizeColumn" :loading="state.loading">
      :scroll="{ y: 768, scrollToFirstRowOnChange: true }" :columns="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;">