From e242e86acd4291cd46aba9a75d42fa78f0591ee9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E9=99=8C?= Date: Tue, 21 Nov 2023 19:05:35 +0800 Subject: [PATCH] no message --- src/components/xTable/columnItem.vue | 18 +++++++++--------- src/components/xTable/index.vue | 18 +++++++++--------- src/layout/index.vue | 2 +- src/views/system/table/index.vue | 24 ++++++++++++------------ 4 files changed, 31 insertions(+), 31 deletions(-) diff --git a/src/components/xTable/columnItem.vue b/src/components/xTable/columnItem.vue index 44ff10d..a94db4e 100644 --- a/src/components/xTable/columnItem.vue +++ b/src/components/xTable/columnItem.vue @@ -31,7 +31,7 @@ :size="op.size || 'small'" :link="op.link" :icon="op.icon" - :circle="op.circle || false" + :circle="op.circle || false" v-if="value === row[item.name]"> {{ op.label }} @@ -39,17 +39,17 @@

- {{ row[item.name] }}

- + {{ item.columntype=='select' && item.options && item.options.items ? getNameByValue( row[item.name], item.options.items ) : row[item.name] }} @@ -73,7 +73,7 @@ // 打开编辑层 else if (item.update && (item.update.url || item.update.name)) { this.$emit('xtableupdate', row, { - name:item.update.name || item.name, + name:item.update.name || item.name, remoteurl: item.update.url || 'table/getUpdate?name='+item.update.name }, item.update.type || 'dialog', 'update'); return ; @@ -81,7 +81,7 @@ // 打开表格 else if (item.table && (item.table.url || item.table.name)) { this.$emit('xtableupdate', row, { - name:item.table.name || item.name, + name:item.table.name || item.name, remoteurl: item.table.url || 'table/get?name='+item.table.name }, item.table.type || 'dialog', 'table'); return ; diff --git a/src/components/xTable/index.vue b/src/components/xTable/index.vue index 57fd5df..a2e0501 100644 --- a/src/components/xTable/index.vue +++ b/src/components/xTable/index.vue @@ -6,14 +6,14 @@