refactor(layout): 调整工作流节点和全局头部组件- 修改工作流节点组件中的条件判断逻辑
- 在全局头部组件中注释掉部分按钮以隐藏其功能 - 调整主题设置中的底部栏可见性
This commit is contained in:
parent
55c9130d18
commit
8a9b1ce813
@ -132,7 +132,7 @@ const detailDrawer = ref<boolean[]>([]);
|
|||||||
|
|
||||||
const showDetail = (node: Workflow.ConditionNodeType, detailIndex: number) => {
|
const showDetail = (node: Workflow.ConditionNodeType, detailIndex: number) => {
|
||||||
detailIds.value = [];
|
detailIds.value = [];
|
||||||
if (store.type === 4) {
|
if (store.type === 2) {
|
||||||
node.jobBatchList
|
node.jobBatchList
|
||||||
?.sort((a, b) => a.taskBatchStatus - b.taskBatchStatus)
|
?.sort((a, b) => a.taskBatchStatus - b.taskBatchStatus)
|
||||||
.forEach(item => {
|
.forEach(item => {
|
||||||
|
@ -45,6 +45,7 @@ const href = (url: string) => {
|
|||||||
<div class="h-full flex-y-center justify-end">
|
<div class="h-full flex-y-center justify-end">
|
||||||
<NamespaceSelect />
|
<NamespaceSelect />
|
||||||
<GlobalSearch />
|
<GlobalSearch />
|
||||||
|
<!--
|
||||||
<ButtonIcon
|
<ButtonIcon
|
||||||
v-if="!appStore.isMobile"
|
v-if="!appStore.isMobile"
|
||||||
class="color-#c71d23 xl:block sm:hidden"
|
class="color-#c71d23 xl:block sm:hidden"
|
||||||
@ -66,6 +67,7 @@ const href = (url: string) => {
|
|||||||
icon="material-symbols:unknown-document-outline"
|
icon="material-symbols:unknown-document-outline"
|
||||||
@click="href('https://snailjob.opensnail.com/')"
|
@click="href('https://snailjob.opensnail.com/')"
|
||||||
/>
|
/>
|
||||||
|
-->
|
||||||
<FullScreen v-if="!appStore.isMobile" class="xl:block sm:hidden" :full="isFullscreen" @click="toggle" />
|
<FullScreen v-if="!appStore.isMobile" class="xl:block sm:hidden" :full="isFullscreen" @click="toggle" />
|
||||||
<LangSwitch
|
<LangSwitch
|
||||||
v-if="themeStore.header.multilingual.visible"
|
v-if="themeStore.header.multilingual.visible"
|
||||||
|
@ -48,7 +48,7 @@ export const themeSettings: App.Theme.ThemeSetting = {
|
|||||||
mixChildMenuWidth: 200
|
mixChildMenuWidth: 200
|
||||||
},
|
},
|
||||||
footer: {
|
footer: {
|
||||||
visible: true,
|
visible: false,
|
||||||
fixed: false,
|
fixed: false,
|
||||||
height: 48,
|
height: 48,
|
||||||
right: true
|
right: true
|
||||||
|
Loading…
Reference in New Issue
Block a user