董国庆
2026-03-31 0635b11f366b643969c8b420e0ffca9cbecc2359
refactor(table): 移除多表格列配置中的resizable属性

统一移除多个视图组件中DataTable列配置的resizable属性,简化表格列定义。同时修复热修复页面日期选择器的确认逻辑和布局间距。
14个文件已修改
34 ■■■■■ 已修改文件
src/views/assetManagement/fleetManagement/index.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/assetManagement/vehicleManagement/inventoryVehicle/index.vue 1 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/assetManagement/vehicleManagement/operatingVehicle/index.vue 1 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/businessOperations/cruise/parade-plan/index.vue 1 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/businessOperations/geofenceManagement/index.vue 1 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/businessOperations/openCity/index.vue 1 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/businessOperations/pointManagement/list.vue 1 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operations/attendance/statistics/detail.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/service/ticket/feedback/index.vue 1 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/service/ticket/workOrder/index.vue 1 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/accountPermission/roleManagement/detail.vue 1 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/appVersion/hotfix/index.vue 19 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/transaction/order/evaluationRecord/index.vue 1 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/userContent/whitelistManagement/whitelistLog/index.vue 1 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/assetManagement/fleetManagement/index.vue
@@ -118,7 +118,6 @@
    key: 'createTime',
    width: 200,
    ellipsis: true,
    resizable: true,
    render: (row) => {
      return row.createTime ? dayjs(row.createTime).format('YYYY/MM/DD HH:mm:ss') : '-'
    },
@@ -129,7 +128,6 @@
    key: 'actions',
    width: 100,
    fixed: 'right',
    resizable: true,
    render: (row) => {
      return (
        <NSpace>
src/views/assetManagement/vehicleManagement/inventoryVehicle/index.vue
@@ -279,7 +279,6 @@
    align: 'left',
    width: 160,
    key: 'warehousingTime',
    resizable: true,
    render: row => row.warehousingTime ? dayjs(row.warehousingTime).format('YYYY/MM/DD HH:mm') : '-',
  },
  {
src/views/assetManagement/vehicleManagement/operatingVehicle/index.vue
@@ -261,7 +261,6 @@
    key: 'remarks',
    width: 180,
    ellipsis: true,
    resizable: true,
    render: row => row.remarks || '-',
  },
  {
src/views/businessOperations/cruise/parade-plan/index.vue
@@ -149,7 +149,6 @@
    key: 'vehicleNum',
    width: 140,
    align: 'left',
    resizable: true,
    ellipsis: true,
  },
  {
src/views/businessOperations/geofenceManagement/index.vue
@@ -170,7 +170,6 @@
    key: 'createTime',
    ellipsis: true,
    sorter: true,
    resizable: true,
    render: row => <span>{dayjs(row.createTime).format('YYYY/MM/DD HH:mm') || '-'}</span>,
    width: 200,
    renderSorterIcon({ order }) {
src/views/businessOperations/openCity/index.vue
@@ -70,7 +70,6 @@
    key: 'status',
    align: 'left',
    width: 140,
    resizable: true,
    render: (row) => {
      return (
        <NTag
src/views/businessOperations/pointManagement/list.vue
@@ -214,7 +214,6 @@
    width: columnWidths.createTime,
    align: 'left',
    ellipsis: true,
    resizable: true,
    render(row) {
      return row.createTime ? dayjs(row.createTime).format('YYYY/MM/DD HH:mm') || '-' : '-'
    },
src/views/operations/attendance/statistics/detail.vue
@@ -151,7 +151,7 @@
      )
    }
  },
  { title: '打卡地址', key: 'clockInLocation', width: 320, align: 'left', ellipsis: { tooltip: true }, resizable: true }
  { title: '打卡地址', key: 'clockInLocation', width: 320, align: 'left', ellipsis: { tooltip: true }}
])
async function getList() {
src/views/service/ticket/feedback/index.vue
@@ -122,7 +122,6 @@
    title: t("ticket.feedback.feedbackTime"),
    key: "createTime",
    width: 160,
    resizable: true,
    render: (row) => row.createTime ? dayjs(row.createTime).format("YYYY/MM/DD HH:mm") || "-" : "-",
  },
]);
src/views/service/ticket/workOrder/index.vue
@@ -187,7 +187,6 @@
    title: t("workOrder.actions"),
    key: "actions",
    width: 140,
    resizable: true,
    render: (row) => {
      return (
        <div class="flex items-center gap-2">
src/views/system/accountPermission/roleManagement/detail.vue
@@ -292,7 +292,6 @@
    align: 'center',
    key: 'remarks',
    width: 200,
    resizable: true,
    ellipsis: true,
  },
])
src/views/system/appVersion/hotfix/index.vue
@@ -12,6 +12,7 @@
const formRef = ref<FormInst | null>(null)
const startTimeRef = ref<any>(null)
const endTimeRef = ref<any>(null)
const isFetching = ref(false)
const formModel = ref<FormModel>({
@@ -124,7 +125,7 @@
<template>
  <div class="w-full h-full relative content">
    <div class="p-24px">
    <div class="p-12px">
      <div class="box mb-12px">
        <div class="head">
          系统维护
@@ -150,12 +151,20 @@
                placeholder="请选择日期"
                style="width: 240px;"
                clearable
                :actions="[]" :update-value-on-close="true" :close-on-select="true"
                :time-picker-props="{
                        onConfirm: (val) => {
                          formModel.startTime = val
                          startTimeRef?.handlePanelClose()
                        },
                      }"
                :actions="[]"
                :update-value-on-close="true" :close-on-select="true"
              />
            </n-form-item>
            <n-form-item label="预计结束时间" path="endTime">
              <n-date-picker
                ref="endTimeRef"
                v-model:value="formModel.endTime"
                type="datetime"
                format="yyyy/MM/dd HH:mm:ss"
@@ -163,6 +172,12 @@
                style="width: 240px;"
                :actions="[]" :update-value-on-close="true" :close-on-select="true"
                clearable
                :time-picker-props="{
                        onConfirm: (val) => {
                          formModel.endTime = val
                          endTimeRef?.handlePanelClose()
                        },
                      }"
              />
            </n-form-item>
          </n-space>
src/views/transaction/order/evaluationRecord/index.vue
@@ -81,7 +81,6 @@
  {
    title: '关联订单号',
    key: 'orderNumber',
    resizable: true,
    ellipsis: true,
    render(row) {
      return (
src/views/userContent/whitelistManagement/whitelistLog/index.vue
@@ -152,7 +152,6 @@
    key: 'createTime',
    width: 160,
    ellipsis: true,
    resizable: true,
    render: row => (
      <span>
        {row.createTime ? dayjs(row.createTime).format('YYYY/MM/DD HH:mm') : '-'}