Browse Source

Merge pull request 'dev-xjf' (#107) from dev-xjf into master

Reviewed-on: http://120.26.116.243:3000/root/alert-front/pulls/107
pull/108/head
xiaojinfei 2 weeks ago
parent
commit
ce3441abd8
  1. 11
      src/layouts/default/header/components/user-dropdown/index.vue
  2. 5
      src/layouts/default/header/index.vue
  3. 4
      src/views/run/instant/instant.data.ts

11
src/layouts/default/header/components/user-dropdown/index.vue

@ -94,11 +94,12 @@ function handleMenuClick(e: MenuInfo) {
<template #overlay> <template #overlay>
<Menu @click="handleMenuClick"> <Menu @click="handleMenuClick">
<MenuItem key="profile" :text="t('layout.header.accountCenter')" icon="ion:person-outline" /> <MenuItem key="profile" :text="t('layout.header.accountCenter')" icon="ion:person-outline" />
<MenuItem <!--12-26隐藏文档按钮-->
v-if="getShowDoc" key="doc" :text="t('layout.header.dropdownItemDoc')" <!-- <MenuItem-->
icon="ion:document-text-outline" <!-- v-if="getShowDoc" key="doc" :text="t('layout.header.dropdownItemDoc')"-->
/> <!-- icon="ion:document-text-outline"-->
<MenuDivider v-if="getShowDoc" /> <!-- />-->
<!-- <MenuDivider v-if="getShowDoc" />-->
<MenuItem <MenuItem
v-if="getUseLockPage" key="lock" :text="t('layout.header.tooltipLock')" v-if="getUseLockPage" key="lock" :text="t('layout.header.tooltipLock')"
icon="ion:lock-closed-outline" icon="ion:lock-closed-outline"

5
src/layouts/default/header/index.vue

@ -109,12 +109,13 @@ const getMenuMode = computed(() => {
<!-- action --> <!-- action -->
<div :class="`${prefixCls}-action`"> <div :class="`${prefixCls}-action`">
<AppSearch v-if="getShowSearch" :class="`${prefixCls}-action__item search-item`" /> <AppSearch v-if="getShowSearch" :class="`${prefixCls}-action__item search-item`" />
<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`" /> <!-- 12.26隐藏掉站内信-->
<!-- <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`" />

4
src/views/run/instant/instant.data.ts

@ -153,7 +153,7 @@ export function getSearchFormSchema(showAlgorithm = true): FormSchema[] {
label: '模型实例名称', label: '模型实例名称',
field: 'mpName', field: 'mpName',
component: 'Input', component: 'Input',
labelWidth: 100, labelWidth: 120,
defaultValue: '', defaultValue: '',
colProps: { span: 5 }, colProps: { span: 5 },
}, },
@ -161,7 +161,7 @@ export function getSearchFormSchema(showAlgorithm = true): FormSchema[] {
label: '算法', label: '算法',
field: 'algorithmId', field: 'algorithmId',
component: 'Select', component: 'Select',
labelWidth: 40, labelWidth: 50,
componentProps: { componentProps: {
placeholder: '全部算法', placeholder: '全部算法',
options: [ options: [

Loading…
Cancel
Save