refactor(sj_1.1.0-beta3): 优化任务下拉列表
This commit is contained in:
parent
736effaa26
commit
07cbf6ca8f
@ -117,6 +117,7 @@ const jobTaskChange = (_: string, option: { label: string; value: number }) => {
|
|||||||
<NFormItem path="jobTask.jobId" label="所属任务" placeholder="请选择任务">
|
<NFormItem path="jobTask.jobId" label="所属任务" placeholder="请选择任务">
|
||||||
<NSelect
|
<NSelect
|
||||||
v-model:value="form.jobTask!.jobId"
|
v-model:value="form.jobTask!.jobId"
|
||||||
|
filterable
|
||||||
:options="
|
:options="
|
||||||
jobList.map(job => {
|
jobList.map(job => {
|
||||||
return {
|
return {
|
||||||
|
@ -64,7 +64,7 @@ const href = (url: string) => {
|
|||||||
<GlobalSearch />
|
<GlobalSearch />
|
||||||
<ButtonIcon
|
<ButtonIcon
|
||||||
v-if="!appStore.isMobile"
|
v-if="!appStore.isMobile"
|
||||||
class="color-#c71d23"
|
class="color-#c71d23 xl:block sm:hidden"
|
||||||
tooltip-content="Gitee"
|
tooltip-content="Gitee"
|
||||||
icon="simple-icons:gitee"
|
icon="simple-icons:gitee"
|
||||||
@click="href('https://gitee.com/aizuda/snail-job')"
|
@click="href('https://gitee.com/aizuda/snail-job')"
|
||||||
@ -72,7 +72,7 @@ const href = (url: string) => {
|
|||||||
<ButtonIcon
|
<ButtonIcon
|
||||||
v-if="!appStore.isMobile"
|
v-if="!appStore.isMobile"
|
||||||
tooltip-content="Github"
|
tooltip-content="Github"
|
||||||
class="color-#010409 dark:color-#e6edf3"
|
class="color-#010409 xl:block sm:hidden dark:color-#e6edf3"
|
||||||
icon="simple-icons:github"
|
icon="simple-icons:github"
|
||||||
@click="href('https://github.com/aizuda/snail-job')"
|
@click="href('https://github.com/aizuda/snail-job')"
|
||||||
/>
|
/>
|
||||||
@ -83,14 +83,14 @@ 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" :full="isFullscreen" @click="toggle" />
|
<FullScreen v-if="!appStore.isMobile" class="xl:block sm:hidden" :full="isFullscreen" @click="toggle" />
|
||||||
<LangSwitch :lang="appStore.locale" :lang-options="appStore.localeOptions" @change-lang="appStore.changeLocale" />
|
<LangSwitch :lang="appStore.locale" :lang-options="appStore.localeOptions" @change-lang="appStore.changeLocale" />
|
||||||
<ThemeSchemaSwitch
|
<ThemeSchemaSwitch
|
||||||
:theme-schema="themeStore.themeScheme"
|
:theme-schema="themeStore.themeScheme"
|
||||||
:is-dark="themeStore.darkMode"
|
:is-dark="themeStore.darkMode"
|
||||||
@switch="themeStore.toggleThemeScheme"
|
@switch="themeStore.toggleThemeScheme"
|
||||||
/>
|
/>
|
||||||
<ThemeButton v-if="!appStore.isMobile" />
|
<ThemeButton v-if="!appStore.isMobile" class="xl:block sm:hidden" />
|
||||||
<UserAvatar />
|
<UserAvatar />
|
||||||
</div>
|
</div>
|
||||||
</DarkModeContainer>
|
</DarkModeContainer>
|
||||||
|
Loading…
Reference in New Issue
Block a user