diff --git a/src/i18n/locales/en-US.ts b/src/i18n/locales/en-US.ts
index 4287c962..a7d24215 100644
--- a/src/i18n/locales/en-US.ts
+++ b/src/i18n/locales/en-US.ts
@@ -34,7 +34,6 @@ export default {
unableNull:' Cannot be empty',
moreText: 'More',
searchBarText: 'Search bar',
- tableStripedText: 'Form Zebra',
reloadText: 'Refresh',
columnSetText: 'Column Setting',
columnSetTitle: 'Column Display / Sorting',
diff --git a/src/i18n/locales/zh-CN.ts b/src/i18n/locales/zh-CN.ts
index 3f4e865d..1763374e 100644
--- a/src/i18n/locales/zh-CN.ts
+++ b/src/i18n/locales/zh-CN.ts
@@ -34,7 +34,6 @@ export default {
unableNull:'不能为空',
moreText: '更多',
searchBarText: '搜索栏',
- tableStripedText: '表格斑马纹',
reloadText: '刷新',
columnSetText: '列设置',
columnSetTitle: '列展示/排序',
diff --git a/src/views/dashboard/amfUE/index.vue b/src/views/dashboard/amfUE/index.vue
index 19db80de..7903d76e 100644
--- a/src/views/dashboard/amfUE/index.vue
+++ b/src/views/dashboard/amfUE/index.vue
@@ -76,8 +76,6 @@ type TabeStateType = {
loading: boolean;
/**紧凑型 */
size: SizeType;
- /**斑马纹 */
- striped: boolean;
/**搜索栏 */
seached: boolean;
/**记录数据 */
@@ -90,7 +88,6 @@ type TabeStateType = {
let tableState: TabeStateType = reactive({
loading: false,
size: 'middle',
- striped: false,
seached: true,
data: [],
selectedRowKeys: [],
@@ -175,11 +172,6 @@ function fnTableSize({ key }: MenuInfo) {
tableState.size = key as SizeType;
}
-/**表格斑马纹 */
-function fnTableStriped(_record: unknown, index: number): any {
- return tableState.striped && index % 2 === 1 ? 'table-striped' : undefined;
-}
-
/**表格多选 */
function fnTableSelectedRowKeys(keys: (string | number)[]) {
tableState.selectedRowKeys = keys;
@@ -471,15 +463,6 @@ onUnmounted(() => {
size="small"
/>
-
- {{ t('common.tableStripedText') }}
-
-
{{ t('common.reloadText') }}
@@ -522,7 +505,6 @@ onUnmounted(() => {
:data-source="tableState.data"
:size="tableState.size"
:pagination="tablePagination"
- :row-class-name="fnTableStriped"
:scroll="{ x: tableColumns.length * 120, y: 'calc(100vh - 480px)' }"
:row-selection="{
type: 'checkbox',
@@ -658,10 +640,6 @@ onUnmounted(() => {
-./components/useNeOptions
diff --git a/src/views/neUser/auth/index.vue b/src/views/neUser/auth/index.vue
index 31270ecf..f4c9f30f 100644
--- a/src/views/neUser/auth/index.vue
+++ b/src/views/neUser/auth/index.vue
@@ -64,8 +64,6 @@ type TabeStateType = {
loading: boolean;
/**紧凑型 */
size: SizeType;
- /**斑马纹 */
- striped: boolean;
/**搜索栏 */
seached: boolean;
/**记录数据 */
@@ -78,7 +76,6 @@ type TabeStateType = {
let tableState: TabeStateType = reactive({
loading: false,
size: 'small',
- striped: false,
seached: true,
data: [],
selectedRowKeys: [],
@@ -166,11 +163,6 @@ function fnTableSize({ key }: MenuInfo) {
tableState.size = key as SizeType;
}
-/**表格斑马纹 */
-function fnTableStriped(_record: unknown, index: number): any {
- return tableState.striped && index % 2 === 1 ? 'table-striped' : undefined;
-}
-
/**表格分页、排序、筛选变化时触发操作, 排序方式,取值为 ascend descend */
function fnTableChange(pagination: any, filters: any, sorter: any, extra: any) {
const { field, order } = sorter;
@@ -902,15 +894,6 @@ onMounted(() => {
size="small"
/>
-
- {{ t('common.zebra') }}
-
-
{{ t('common.reloadText') }}
@@ -957,7 +940,6 @@ onMounted(() => {
:loading="tableState.loading"
:data-source="tableState.data"
:size="tableState.size"
- :row-class-name="fnTableStriped"
:pagination="tablePagination"
:scroll="{ y: 'calc(100vh - 480px)' }"
@change="fnTableChange"
@@ -1398,14 +1380,6 @@ onMounted(() => {
diff --git a/src/views/neUser/ims/index.vue b/src/views/neUser/ims/index.vue
index 3a3e2377..dd8a05ff 100644
--- a/src/views/neUser/ims/index.vue
+++ b/src/views/neUser/ims/index.vue
@@ -47,8 +47,6 @@ type TabeStateType = {
loading: boolean;
/**紧凑型 */
size: SizeType;
- /**斑马纹 */
- striped: boolean;
/**搜索栏 */
seached: boolean;
/**记录数据 */
@@ -61,7 +59,6 @@ type TabeStateType = {
let tableState: TabeStateType = reactive({
loading: false,
size: 'middle',
- striped: false,
seached: true,
data: [],
selectedRowKeys: [],
@@ -142,11 +139,6 @@ function fnTableSize({ key }: MenuInfo) {
tableState.size = key as SizeType;
}
-/**表格斑马纹 */
-function fnTableStriped(_record: unknown, index: number): any {
- return tableState.striped && index % 2 === 1 ? 'table-striped' : undefined;
-}
-
/**查询列表, pageNum初始页数 */
function fnGetList(pageNum?: number) {
if (tableState.loading) return;
@@ -273,15 +265,6 @@ onMounted(() => {
size="small"
/>
-
- {{ t('common.zebra') }}
-
-
{{ t('common.reloadText') }}
@@ -323,7 +306,6 @@ onMounted(() => {
:loading="tableState.loading"
:data-source="tableState.data"
:size="tableState.size"
- :row-class-name="fnTableStriped"
:pagination="tablePagination"
:scroll="{ x: 1200, y: 400 }"
>
diff --git a/src/views/neUser/n3iwf/index.vue b/src/views/neUser/n3iwf/index.vue
index 0b4bb142..b70eb8f4 100644
--- a/src/views/neUser/n3iwf/index.vue
+++ b/src/views/neUser/n3iwf/index.vue
@@ -36,8 +36,6 @@ type TabeStateType = {
loading: boolean;
/**紧凑型 */
size: SizeType;
- /**斑马纹 */
- striped: boolean;
/**搜索栏 */
seached: boolean;
/**记录数据 */
@@ -50,7 +48,6 @@ type TabeStateType = {
let tableState: TabeStateType = reactive({
loading: false,
size: 'small',
- striped: false,
seached: true,
data: [],
selectedRowKeys: [],
@@ -90,11 +87,6 @@ function fnTableSize({ key }: MenuInfo) {
tableState.size = key as SizeType;
}
-/**表格斑马纹 */
-function fnTableStriped(_record: unknown, index: number): any {
- return tableState.striped && index % 2 === 1 ? 'table-striped' : undefined;
-}
-
/**查询列表, pageNum初始页数 */
function fnGetList() {
if (tableState.loading) return;
@@ -205,21 +197,6 @@ onMounted(() => {
size="small"
/>
-
-
- {{
- tableState.striped
- ? t('common.switch.show')
- : t('common.switch.hide')
- }}
-
-
-
{{ t('common.reloadText') }}
@@ -261,7 +238,6 @@ onMounted(() => {
:loading="tableState.loading"
:data-source="tableState.data"
:size="tableState.size"
- :row-class-name="fnTableStriped"
:pagination="false"
:scroll="{ y: 'calc(100vh - 480px)' }"
>
@@ -271,7 +247,4 @@ onMounted(() => {
diff --git a/src/views/neUser/nssf/index.vue b/src/views/neUser/nssf/index.vue
index 2a943dd6..b85da043 100644
--- a/src/views/neUser/nssf/index.vue
+++ b/src/views/neUser/nssf/index.vue
@@ -20,8 +20,6 @@ type TabeStateType = {
loading: boolean;
/**紧凑型 */
size: SizeType;
- /**斑马纹 */
- striped: boolean;
/**搜索栏 */
seached: boolean;
/**记录数据 */
@@ -34,7 +32,6 @@ type TabeStateType = {
let tableState: TabeStateType = reactive({
loading: false,
size: 'middle',
- striped: false,
seached: true,
data: [],
selectedRowKeys: [],
@@ -67,11 +64,6 @@ function fnTableSize({ key }: MenuInfo) {
tableState.size = key as SizeType;
}
-/**表格斑马纹 */
-function fnTableStriped(_record: unknown, index: number): any {
- return tableState.striped && index % 2 === 1 ? 'table-striped' : undefined;
-}
-
/**查询列表, pageNum初始页数 */
function fnGetList(pageNum?: number) {
if (tableState.loading) return;
@@ -113,15 +105,6 @@ onMounted(() => {
size="small"
/>
-
- {{ t('common.zebra') }}
-
-
{{ t('common.reloadText') }}
@@ -163,7 +146,6 @@ onMounted(() => {
:loading="tableState.loading"
:data-source="tableState.data"
:size="tableState.size"
- :row-class-name="fnTableStriped"
:pagination="false"
:scroll="{ x: 1200, y: 400 }"
>
diff --git a/src/views/neUser/nssfAmf/index.vue b/src/views/neUser/nssfAmf/index.vue
index 9c73b66b..ec6c7e52 100644
--- a/src/views/neUser/nssfAmf/index.vue
+++ b/src/views/neUser/nssfAmf/index.vue
@@ -20,8 +20,6 @@ type TabeStateType = {
loading: boolean;
/**紧凑型 */
size: SizeType;
- /**斑马纹 */
- striped: boolean;
/**搜索栏 */
seached: boolean;
/**记录数据 */
@@ -34,7 +32,6 @@ type TabeStateType = {
let tableState: TabeStateType = reactive({
loading: false,
size: 'middle',
- striped: false,
seached: true,
data: [],
selectedRowKeys: [],
@@ -61,11 +58,6 @@ function fnTableSize({ key }: MenuInfo) {
tableState.size = key as SizeType;
}
-/**表格斑马纹 */
-function fnTableStriped(_record: unknown, index: number): any {
- return tableState.striped && index % 2 === 1 ? 'table-striped' : undefined;
-}
-
/**查询列表, pageNum初始页数 */
function fnGetList(pageNum?: number) {
if (tableState.loading) return;
@@ -109,15 +101,6 @@ onMounted(() => {
size="small"
/>
-
- {{ t('common.zebra') }}
-
-
{{ t('common.reloadText') }}
@@ -159,7 +142,6 @@ onMounted(() => {
:loading="tableState.loading"
:data-source="tableState.data"
:size="tableState.size"
- :row-class-name="fnTableStriped"
:pagination="false"
:scroll="{ x: 1200, y: 400 }"
>
diff --git a/src/views/neUser/pcf/index.vue b/src/views/neUser/pcf/index.vue
index 838ecc70..30c47a78 100644
--- a/src/views/neUser/pcf/index.vue
+++ b/src/views/neUser/pcf/index.vue
@@ -56,8 +56,6 @@ type TabeStateType = {
loading: boolean;
/**紧凑型 */
size: SizeType;
- /**斑马纹 */
- striped: boolean;
/**搜索栏 */
seached: boolean;
/**记录数据 */
@@ -70,7 +68,6 @@ type TabeStateType = {
let tableState: TabeStateType = reactive({
loading: false,
size: 'small',
- striped: false,
seached: true,
data: [],
selectedRowKeys: [],
@@ -187,11 +184,6 @@ function fnTableSize({ key }: MenuInfo) {
tableState.size = key as SizeType;
}
-/**表格斑马纹 */
-function fnTableStriped(_record: unknown, index: number): any {
- return tableState.striped && index % 2 === 1 ? 'table-striped' : undefined;
-}
-
/**表格多选 */
function fnTableSelectedRowKeys(keys: (string | number)[]) {
tableState.selectedRowKeys = keys;
@@ -735,21 +727,6 @@ onMounted(() => {
size="small"
/>
-
-
- {{
- tableState.striped
- ? t('common.switch.show')
- : t('common.switch.hide')
- }}
-
-
-
{
:loading="tableState.loading"
:data-source="tableState.data"
:size="tableState.size"
- :row-class-name="fnTableStriped"
:pagination="tablePagination"
:scroll="{ y: 'calc(100vh - 480px)' }"
@resizeColumn="(w:number, col:any) => (col.width = w)"
@@ -1154,8 +1130,4 @@ onMounted(() => {
.table :deep(.ant-pagination) {
padding: 0 24px;
}
-
-.table :deep(.table-striped) td {
- background-color: #fafafa;
-}
diff --git a/src/views/neUser/sub/index.vue b/src/views/neUser/sub/index.vue
index 588b7a41..b8e2358a 100644
--- a/src/views/neUser/sub/index.vue
+++ b/src/views/neUser/sub/index.vue
@@ -67,8 +67,6 @@ type TabeStateType = {
loading: boolean;
/**紧凑型 */
size: SizeType;
- /**斑马纹 */
- striped: boolean;
/**搜索栏 */
seached: boolean;
/**记录数据 */
@@ -81,7 +79,6 @@ type TabeStateType = {
let tableState: TabeStateType = reactive({
loading: false,
size: 'small',
- striped: false,
seached: true,
data: [],
selectedRowKeys: [],
@@ -204,11 +201,6 @@ function fnTableSize({ key }: MenuInfo) {
tableState.size = key as SizeType;
}
-/**表格斑马纹 */
-function fnTableStriped(_record: unknown, index: number): any {
- return tableState.striped && index % 2 === 1 ? 'table-striped' : undefined;
-}
-
/**表格分页、排序、筛选变化时触发操作, 排序方式,取值为 ascend descend */
function fnTableChange(pagination: any, filters: any, sorter: any, extra: any) {
const { field, order } = sorter;
@@ -1379,15 +1371,6 @@ onMounted(() => {
size="small"
/>
-
- {{ t('common.zebra') }}
-
-
{{ t('common.reloadText') }}
@@ -1434,7 +1417,6 @@ onMounted(() => {
:loading="tableState.loading"
:data-source="tableState.data"
:size="tableState.size"
- :row-class-name="fnTableStriped"
:pagination="tablePagination"
:scroll="{ y: 'calc(100vh - 480px)' }"
@change="fnTableChange"
@@ -2606,8 +2588,4 @@ onMounted(() => {
.table :deep(.ant-pagination) {
padding: 0 24px;
}
-
-.table :deep(.table-striped) td {
- background-color: #fafafa;
-}
diff --git a/src/views/neUser/ue/index.vue b/src/views/neUser/ue/index.vue
index 88ef3e4a..c2d16379 100644
--- a/src/views/neUser/ue/index.vue
+++ b/src/views/neUser/ue/index.vue
@@ -47,8 +47,6 @@ type TabeStateType = {
loading: boolean;
/**紧凑型 */
size: SizeType;
- /**斑马纹 */
- striped: boolean;
/**搜索栏 */
seached: boolean;
/**记录数据 */
@@ -61,7 +59,6 @@ type TabeStateType = {
let tableState: TabeStateType = reactive({
loading: false,
size: 'middle',
- striped: false,
seached: true,
data: [],
selectedRowKeys: [],
@@ -161,11 +158,6 @@ function fnTableSize({ key }: MenuInfo) {
tableState.size = key as SizeType;
}
-/**表格斑马纹 */
-function fnTableStriped(_record: unknown, index: number): any {
- return tableState.striped && index % 2 === 1 ? 'table-striped' : undefined;
-}
-
/**对话框对象信息状态类型 */
type ModalStateType = {
/**详情框是否显示 */
@@ -351,15 +343,6 @@ onMounted(() => {
size="small"
/>
-
- {{ t('common.zebra') }}
-
-
{{ t('common.reloadText') }}
@@ -401,7 +384,6 @@ onMounted(() => {
:loading="tableState.loading"
:data-source="tableState.data"
:size="tableState.size"
- :row-class-name="fnTableStriped"
:pagination="tablePagination"
:scroll="{ x: 1000, y: 400 }"
>
@@ -486,8 +468,4 @@ onMounted(() => {
.table :deep(.ant-pagination) {
padding: 0 24px;
}
-
-.table :deep(.table-striped) td {
- background-color: #fafafa;
-}
diff --git a/src/views/system/config/index.vue b/src/views/system/config/index.vue
index d5432259..0c8d1740 100644
--- a/src/views/system/config/index.vue
+++ b/src/views/system/config/index.vue
@@ -74,8 +74,6 @@ type TabeStateType = {
loading: boolean;
/**紧凑型 */
size: SizeType;
- /**斑马纹 */
- striped: boolean;
/**搜索栏 */
seached: boolean;
/**记录数据 */
@@ -88,7 +86,6 @@ type TabeStateType = {
let tableState: TabeStateType = reactive({
loading: false,
size: 'middle',
- striped: false,
seached: false,
data: [],
selectedRowKeys: [],
@@ -177,11 +174,6 @@ function fnTableSize({ key }: MenuInfo) {
tableState.size = key as SizeType;
}
-/**表格斑马纹 */
-function fnTableStriped(_record: unknown, index: number): any {
- return tableState.striped && index % 2 === 1 ? 'table-striped' : undefined;
-}
-
/**表格多选 */
function fnTableSelectedRowKeys(keys: (string | number)[]) {
tableState.selectedRowKeys = keys;
@@ -612,15 +604,6 @@ onMounted(() => {
size="small"
/>
-
- {{ t('common.tableStripedText') }}
-
-
{{ t('common.reloadText') }}
@@ -662,7 +645,6 @@ onMounted(() => {
:loading="tableState.loading"
:data-source="tableState.data"
:size="tableState.size"
- :row-class-name="fnTableStriped"
:pagination="tablePagination"
:scroll="{ x: tableColumns.length * 120 }"
:row-selection="{
@@ -876,10 +858,6 @@ onMounted(() => {
diff --git a/src/views/system/dict/data.vue b/src/views/system/dict/data.vue
index f570c561..8959b006 100644
--- a/src/views/system/dict/data.vue
+++ b/src/views/system/dict/data.vue
@@ -122,8 +122,6 @@ type TabeStateType = {
loading: boolean;
/**紧凑型 */
size: SizeType;
- /**斑马纹 */
- striped: boolean;
/**搜索栏 */
seached: boolean;
/**记录数据 */
@@ -136,7 +134,6 @@ type TabeStateType = {
let tableState: TabeStateType = reactive({
loading: false,
size: 'middle',
- striped: false,
seached: true,
data: [],
selectedRowKeys: [],
@@ -226,11 +223,6 @@ function fnTableSize({ key }: MenuInfo) {
tableState.size = key as SizeType;
}
-/**表格斑马纹 */
-function fnTableStriped(_record: unknown, index: number): any {
- return tableState.striped && index % 2 === 1 ? 'table-striped' : undefined;
-}
-
/**表格多选 */
function fnTableSelectedRowKeys(keys: (string | number)[]) {
tableState.selectedRowKeys = keys;
@@ -630,15 +622,6 @@ onMounted(() => {
size="small"
/>
-
- {{ t('common.tableStripedText') }}
-
-
{{ t('common.reloadText') }}
@@ -680,7 +663,6 @@ onMounted(() => {
:loading="tableState.loading"
:data-source="tableState.data"
:size="tableState.size"
- :row-class-name="fnTableStriped"
:scroll="{ x: tableColumns.length * 120 }"
:pagination="tablePagination"
:row-selection="{
@@ -1022,10 +1004,6 @@ onMounted(() => {
diff --git a/src/views/system/post/index.vue b/src/views/system/post/index.vue
index 8db9aeb4..58bf6afb 100644
--- a/src/views/system/post/index.vue
+++ b/src/views/system/post/index.vue
@@ -63,8 +63,6 @@ type TabeStateType = {
loading: boolean;
/**紧凑型 */
size: SizeType;
- /**斑马纹 */
- striped: boolean;
/**搜索栏 */
seached: boolean;
/**记录数据 */
@@ -77,7 +75,6 @@ type TabeStateType = {
let tableState: TabeStateType = reactive({
loading: false,
size: 'middle',
- striped: false,
seached: false,
data: [],
selectedRowKeys: [],
@@ -166,11 +163,6 @@ function fnTableSize({ key }: MenuInfo) {
tableState.size = key as SizeType;
}
-/**表格斑马纹 */
-function fnTableStriped(_record: unknown, index: number): any {
- return tableState.striped && index % 2 === 1 ? 'table-striped' : undefined;
-}
-
/**表格多选 */
function fnTableSelectedRowKeys(keys: (string | number)[]) {
tableState.selectedRowKeys = keys;
@@ -543,15 +535,6 @@ onMounted(() => {
size="small"
/>
-
- {{ t('common.zebra') }}
-
-
{{ t('common.reloadText') }}
@@ -593,7 +576,6 @@ onMounted(() => {
:loading="tableState.loading"
:data-source="tableState.data"
:size="tableState.size"
- :row-class-name="fnTableStriped"
:pagination="tablePagination"
:scroll="{ x: tableColumns.length * 120 }"
:row-selection="{
@@ -823,10 +805,6 @@ onMounted(() => {