This commit is contained in:
AN 2025-05-30 17:28:44 +08:00
commit 3629c7a9dd
3 changed files with 3 additions and 11 deletions

View File

@ -1,4 +1,3 @@
#set($scrollX = $columns.size() * 120 + 242)
<script setup lang="tsx">
import { NDivider } from 'naive-ui';
import { jsonClone } from '@sa/utils';
@ -57,12 +56,6 @@ const {
align: 'center',
width: 48
},
{
key: 'index',
title: $t('common.index'),
align: 'center',
width: 64
},
#foreach ($column in $columns)
#if($column.list)
{
@ -208,7 +201,7 @@ function handleExport() {
size="small"
:indent="32"
:flex-height="!appStore.isMobile"
:scroll-x="$scrollX"
:scroll-x="962"
:loading="loading"
remote
:row-key="row => row.#foreach($column in $columns)#if($column.isPk == '1')$column.javaField#end#end"

View File

@ -1,4 +1,3 @@
#set($scrollX = $columns.size() * 120 + 242)
<script setup lang="tsx">
import { NDivider } from 'naive-ui';
import { fetchBatchDelete${BusinessName}, fetchGet${BusinessName}List } from '@/service/api/${moduleName}/${businessName}';
@ -171,7 +170,7 @@ function handleExport() {
:data="data"
size="small"
:flex-height="!appStore.isMobile"
:scroll-x="$scrollX"
:scroll-x="962"
:loading="loading"
remote
:row-key="row => row.#foreach($column in $columns)#if($column.isPk == '1')$column.javaField#end#end"

View File

@ -135,7 +135,7 @@ const {
text
type="primary"
icon="material-symbols:database"
tooltipContent="数据范权限"
tooltipContent="数据范权限"
onClick={() => handleDataScope(row)}
/>
);