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>
<Menu @click="handleMenuClick">
<MenuItem key="profile" :text="t('layout.header.accountCenter')" icon="ion:person-outline" />
<MenuItem
v-if="getShowDoc" key="doc" :text="t('layout.header.dropdownItemDoc')"
icon="ion:document-text-outline"
/>
<MenuDivider v-if="getShowDoc" />
<!--12-26隐藏文档按钮-->
<!-- <MenuItem-->
<!-- v-if="getShowDoc" key="doc" :text="t('layout.header.dropdownItemDoc')"-->
<!-- icon="ion:document-text-outline"-->
<!-- />-->
<!-- <MenuDivider v-if="getShowDoc" />-->
<MenuItem
v-if="getUseLockPage" key="lock" :text="t('layout.header.tooltipLock')"
icon="ion:lock-closed-outline"

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

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

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

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

Loading…
Cancel
Save