diff --git a/src/hooks/usePaging.ts b/src/hooks/usePaging.ts index faea5b3..0a533c4 100644 --- a/src/hooks/usePaging.ts +++ b/src/hooks/usePaging.ts @@ -37,7 +37,7 @@ export function usePaging(options: Options) { (item: Object) => (item as any)[column.property] ); const maxLength = list.reduce((max, str) => { - return Math.max(max, str.length); + return Math.max(max, String(str).length); }, 0); const columnWidth = maxLength * 14 + 24; column.width = Math.max(columnWidth, propWidth); diff --git a/src/views/bid_bidding_decision/index.vue b/src/views/bid_bidding_decision/index.vue index 40e92be..1eb738e 100644 --- a/src/views/bid_bidding_decision/index.vue +++ b/src/views/bid_bidding_decision/index.vue @@ -46,19 +46,17 @@ - - - + + + - + - + - + diff --git a/src/views/bid_buy_bidding_document/index.vue b/src/views/bid_buy_bidding_document/index.vue index bc330e4..335da67 100644 --- a/src/views/bid_buy_bidding_document/index.vue +++ b/src/views/bid_buy_bidding_document/index.vue @@ -9,8 +9,7 @@ - + @@ -20,8 +19,7 @@ placeholder="请输入招标公司名称" /> - + 查询 @@ -41,13 +39,12 @@ - + - - - - + + + + 删除 - + 详情 diff --git a/src/views/bid_document_examination/index.vue b/src/views/bid_document_examination/index.vue index 602136a..cc86d16 100644 --- a/src/views/bid_document_examination/index.vue +++ b/src/views/bid_document_examination/index.vue @@ -34,15 +34,19 @@ - - - - - - + + + + + + + - - @@ -55,8 +59,7 @@ @click="handleDelete(row.id)"> 删除 - + 详情 diff --git a/src/views/bid_document_examination_detail/index.vue b/src/views/bid_document_examination_detail/index.vue index 67c570f..0af0713 100644 --- a/src/views/bid_document_examination_detail/index.vue +++ b/src/views/bid_document_examination_detail/index.vue @@ -31,11 +31,11 @@ - + - - - + + + diff --git a/src/views/contract/index.vue b/src/views/contract/index.vue index 9ea90b0..adb40d5 100644 --- a/src/views/contract/index.vue +++ b/src/views/contract/index.vue @@ -38,52 +38,34 @@ 删除 -
+
- - - - - - + + + + + - - - - - - - - - - - + + - + - - + - diff --git a/src/views/custom_service/index.vue b/src/views/custom_service/index.vue index 54f3454..d8f79ce 100644 --- a/src/views/custom_service/index.vue +++ b/src/views/custom_service/index.vue @@ -59,7 +59,7 @@ - + diff --git a/src/views/project/index.vue b/src/views/project/index.vue index 48a83e2..3820d06 100644 --- a/src/views/project/index.vue +++ b/src/views/project/index.vue @@ -82,7 +82,7 @@ - + diff --git a/src/views/project_follow_up/index.vue b/src/views/project_follow_up/index.vue index ee4c588..61c0124 100644 --- a/src/views/project_follow_up/index.vue +++ b/src/views/project_follow_up/index.vue @@ -16,8 +16,7 @@ - + @@ -43,8 +42,7 @@ - + @@ -70,7 +68,8 @@ - + @@ -99,7 +98,7 @@ diff --git a/src/views/quotation/index.vue b/src/views/quotation/index.vue index 719cebf..fd890dc 100644 --- a/src/views/quotation/index.vue +++ b/src/views/quotation/index.vue @@ -40,7 +40,7 @@ - + @@ -52,8 +52,7 @@