Compare commits

...

2 Commits

  1. 9
      jeecgboot-vue3-master/src/layouts/default/header/index.vue
  2. 2
      jeecgboot-vue3-master/src/settings/projectSetting.ts
  3. 17
      jeecgboot-vue3-master/src/views/cms/admin/subweside/SubwesideList.vue

@ -24,19 +24,12 @@
<!-- action --> <!-- action -->
<div :class="`${prefixCls}-action`"> <div :class="`${prefixCls}-action`">
<AppSearch :class="`${prefixCls}-action__item `" v-if="getShowSearch" /> <AppSearch :class="`${prefixCls}-action__item `" v-if="getShowSearch" />
<ErrorAction v-if="getUseErrorHandle" :class="`${prefixCls}-action__item error-action`" /> <ErrorAction v-if="getUseErrorHandle" :class="`${prefixCls}-action__item error-action`" />
<Notify v-if="getShowNotice" :class="`${prefixCls}-action__item notify-item`" /> <Notify v-if="getShowNotice" :class="`${prefixCls}-action__item notify-item`" />
<FullScreen v-if="getShowFullScreen" :class="`${prefixCls}-action__item fullscreen-item`" /> <FullScreen v-if="getShowFullScreen" :class="`${prefixCls}-action__item fullscreen-item`" />
<LockScreen v-if="getUseLockPage" /> <LockScreen v-if="getUseLockPage" />
<!-- <AppLocalePicker v-if="getShowLocalePicker" :reload="true" :showText="false" :class="`${prefixCls}-action__item`" />-->
<AppLocalePicker v-if="getShowLocalePicker" :reload="true" :showText="false" :class="`${prefixCls}-action__item`" />
<UserDropDown :theme="getHeaderTheme" /> <UserDropDown :theme="getHeaderTheme" />
<SettingDrawer v-if="getShowSetting" :class="`${prefixCls}-action__item`" /> <SettingDrawer v-if="getShowSetting" :class="`${prefixCls}-action__item`" />
</div> </div>
</Header> </Header>

@ -73,7 +73,7 @@ const setting: ProjectConfig = {
// 主题 // 主题
theme: ThemeEnum.LIGHT, theme: ThemeEnum.LIGHT,
// 开启锁屏功能 // 开启锁屏功能
useLockPage: true, useLockPage: false,
// 显示全屏按钮 // 显示全屏按钮
showFullScreen: true, showFullScreen: true,
// 显示文档按钮 // 显示文档按钮

@ -30,7 +30,7 @@
</template> </template>
<!--操作栏--> <!--操作栏-->
<template #action="{ record }"> <template #action="{ record }">
<TableAction :actions="getTableAction(record)" :dropDownActions="getDropDownAction(record)"/> <TableAction :actions="getTableAction(record)" />
</template> </template>
<!--字段回显插槽--> <!--字段回显插槽-->
<template #htmlSlot="{text}"> <template #htmlSlot="{text}">
@ -155,13 +155,24 @@
label: '编辑', label: '编辑',
onClick: handleEdit.bind(null, record), onClick: handleEdit.bind(null, record),
}, },
{
label: '删除',
popConfirm: {
title: '是否确认删除',
confirm: handleDelete.bind(null, record),
}
},
{
label: '详情',
onClick: handleDetail.bind(null, record),
}
]; ];
} }
/** /**
* 下拉操作栏 * 下拉操作栏
*/ */
function getDropDownAction(record) { /* function getDropDownAction(record) {
return [ return [
{ {
label: '详情', label: '详情',
@ -174,7 +185,7 @@
} }
} }
] ]
} }*/
/** /**
* 查询 * 查询

Loading…
Cancel
Save