Przeglądaj źródła

企业列表优化

zouzexu 1 dzień temu
rodzic
commit
46a8aa3cf4
1 zmienionych plików z 3 dodań i 8 usunięć
  1. 3 8
      src/views/toBManage/user-firm/index.vue

+ 3 - 8
src/views/toBManage/user-firm/index.vue

@@ -169,19 +169,17 @@ const contentConfig: IContentConfig<UserFirmPageQuery> = reactive({
   // 表格列配置
   cols: [
     { type: "selection", width: 50, align: "center" },
-    { label: "用户ID", prop: "userId", width: 80 },
-    { label: "手机号", prop: "phone", width: 120 },
+    { label: "用户ID", prop: "userId" },
+    { label: "手机号", prop: "phone" },
     { label: "所属企业", prop: "firmName" },
     {
       label: "身份",
       prop: "type",
-      width: 120,
       templet: "custom",
     },
     {
       label: "当前余额",
       prop: "balance",
-      width: 110,
       sortable: "custom",
       templet: "custom",
       slotName: "balance",
@@ -189,7 +187,6 @@ const contentConfig: IContentConfig<UserFirmPageQuery> = reactive({
     {
       label: "累计消费",
       prop: "totalConsumption",
-      width: 110,
       sortable: "custom",
       templet: "custom",
       slotName: "totalConsumption",
@@ -197,16 +194,14 @@ const contentConfig: IContentConfig<UserFirmPageQuery> = reactive({
     {
       label: "欠费情况",
       prop: "amountOwed",
-      width: 110,
       sortable: "custom",
       templet: "custom",
       slotName: "amountOwed",
     },
-    { label: "创建时间", prop: "createTime", width: 160 },
+    { label: "创建时间", prop: "createTime" },
     {
       label: "操作",
       prop: "operation",
-      width: 120,
       templet: "tool",
       operat: ["edit", "delete"],
     },