Sfoglia il codice sorgente

备注限制200字符,超出长度缩略显示

zouzs 1 settimana fa
parent
commit
079b7536e8

+ 9 - 1
src/views/ipAccount/index.vue

@@ -124,6 +124,9 @@ const dialogTitle = computed(() => (state.isCreate ? "新增" : "编辑"));
 const tableConfig: PlusColumn[] = [
   {
     label: "账户号",
+    tableColumnProps: {
+      showOverflowTooltip: true
+    },
     prop: "accNo"
   },
   {
@@ -150,6 +153,9 @@ const tableConfig: PlusColumn[] = [
   {
     label: "备注",
     prop: "remark",
+    tableColumnProps: {
+      showOverflowTooltip: true
+    },
     hideInSearch: true
   },
   {
@@ -217,7 +223,9 @@ const columns: PlusColumn[] = [
     valueType: "input",
     fieldProps: {
       type: "textarea",
-      rows: 3
+      rows: 3,
+      maxlength: 200,
+      showWordLimit: true
     }
   }
 ];

+ 9 - 1
src/views/ipAccount/ipAccountInterface.vue

@@ -150,6 +150,9 @@ const tableConfig: PlusColumn[] = [
     label: "账户号",
     prop: "accNo",
     valueType: "input",
+    fieldProps: {
+      showOverFlowTooltip: true
+    },
     hideInTable: true
   },
   {
@@ -195,6 +198,9 @@ const tableConfig: PlusColumn[] = [
   {
     label: "备注",
     prop: "remark",
+    fieldProps: {
+      showOverFlowTooltip: true
+    },
     hideInSearch: true
   },
   {
@@ -400,7 +406,9 @@ const columns: PlusColumn[] = [
     valueType: "input",
     fieldProps: {
       type: "textarea",
-      rows: 3
+      rows: 3,
+      maxlength: 200,
+      showWordLimit: true
     },
     colProps: {
       span: 12

+ 6 - 1
src/views/ipInterface/index.vue

@@ -169,6 +169,9 @@ const tableConfig: PlusColumn[] = [
   {
     label: "备注",
     prop: "remark",
+    tableColumnProps: {
+      showOverflowTooltip: true
+    },
     hideInSearch: true
   },
   {
@@ -273,7 +276,9 @@ const columns: PlusColumn[] = [
     prop: "remark",
     valueType: "textarea",
     fieldProps: {
-      rows: 4
+      rows: 4,
+      maxlength: 200,
+      showWordLimit: true
     }
   }
 ];