提交 c96ae8ca authored 作者: taojinlong's avatar taojinlong

feat: 去掉暫未支持的按鈕

上级 1bdc6454
package io.dataease.commons.constants;
public enum APITestStatus {
Saved, Starting, Running, Reporting, Completed, Debug, Error, Success,Underway
}
package io.dataease.commons.constants;
public enum ApiImportPlatform {
Metersphere, Postman, Swagger2, Plugin
}
package io.dataease.commons.constants;
public enum ApiRunMode {
RUN, DEBUG, DEFINITION, SCENARIO, API_PLAN, JENKINS_API_PLAN, JENKINS, SCENARIO_PLAN, API, SCHEDULE_API_PLAN, SCHEDULE_SCENARIO_PLAN, SCHEDULE_PERFORMANCE_TEST
}
package io.dataease.commons.constants;
public enum LoopConstants {
LOOP_COUNT, WHILE, FOREACH
}
package io.dataease.commons.constants;
public enum MsRequestBodyType {
KV("KeyValue"), FORM_DATA("Form Data"), RAW("Raw");
private String value;
MsRequestBodyType(String value) {
this.value = value;
}
public String value() {
return this.value;
}
}
package io.dataease.commons.constants;
public enum MsTestElementConstants {
LoopController,SCENARIO,REF
}
package io.dataease.commons.constants;
public enum PerformanceTestStatus {
Saved, Starting, Running, Reporting, Completed, Error
}
package io.dataease.commons.constants;
public enum PostmanRequestBodyMode {
RAW("raw"), FORM_DATA("formdata"), URLENCODED("urlencoded"), FILE("file");
private String value;
PostmanRequestBodyMode(String value) {
this.value = value;
}
public String value() {
return this.value;
}
}
package io.dataease.commons.constants;
import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;
public class TestCaseConstants {
public static final int MAX_NODE_DEPTH = 8;
public enum Type {
Functional("functional"), Performance("performance"), Aapi("api");
private String value;
Type(String value) {
this.value = value;
}
public String getValue() {
return this.value;
}
public static List<String> getValues() {
List<Type> types = Arrays.asList(Type.values());
return types.stream().map(Type::getValue).collect(Collectors.toList());
}
}
public enum Method {
Manual("manual"), Auto("auto");
private String value;
Method(String value) {
this.value = value;
}
public String getValue() {
return this.value;
}
public static List<String> getValues() {
List<Method> types = Arrays.asList(Method.values());
return types.stream().map(Method::getValue).collect(Collectors.toList());
}
}
}
package io.dataease.commons.constants;
public enum TestCaseReviewStatus {
Prepare, Underway, Completed
}
package io.dataease.commons.constants;
public enum TestPlanReportStatus {
RUNNING, COMPLETED, SUCCESS, FAILED
}
package io.dataease.commons.constants;
public enum TestPlanTestCaseStatus {
Prepare, Pass, Failure, Blocking, Skip, Underway
}
package io.dataease.commons.constants;
public enum TestReviewCaseStatus {
Prepare, Pass, UnPass
}
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
<div ref="rightPanel" :class="{show:show}" class="rightPanel-container"> <div ref="rightPanel" :class="{show:show}" class="rightPanel-container">
<div class="rightPanel-background" /> <div class="rightPanel-background" />
<div class="rightPanel"> <div class="rightPanel">
<div class="handle-button" :style="{'top':buttonTop+'px','background-color':theme}" @click="show=!show"> <!-- <div class="handle-button" :style="{'top':buttonTop+'px','background-color':theme}" @click="show=!show">-->
<i :class="show?'el-icon-close':'el-icon-setting'" /> <!-- <i :class="show?'el-icon-close':'el-icon-setting'" />-->
</div> <!-- </div>-->
<div class="rightPanel-items"> <div class="rightPanel-items">
<slot /> <slot />
</div> </div>
......
...@@ -23,13 +23,13 @@ ...@@ -23,13 +23,13 @@
<div class="right-menu"> <div class="right-menu">
<template> <template>
<el-tooltip content="项目文档" effect="dark" placement="bottom"> <!-- <el-tooltip content="项目文档" effect="dark" placement="bottom">-->
<doc class="right-menu-item hover-effect" /> <!-- <doc class="right-menu-item hover-effect" />-->
</el-tooltip> <!-- </el-tooltip>-->
<el-tooltip content="全屏缩放" effect="dark" placement="bottom"> <!-- <el-tooltip content="全屏缩放" effect="dark" placement="bottom">-->
<screenfull id="screenfull" class="right-menu-item hover-effect" /> <!-- <screenfull id="screenfull" class="right-menu-item hover-effect" />-->
</el-tooltip> <!-- </el-tooltip>-->
<!-- <el-tooltip :content="$t('navbar.size')" effect="dark" placement="bottom"> <!-- <el-tooltip :content="$t('navbar.size')" effect="dark" placement="bottom">
<size-select id="size-select" class="right-menu-item hover-effect" /> <size-select id="size-select" class="right-menu-item hover-effect" />
...@@ -61,11 +61,6 @@ ...@@ -61,11 +61,6 @@
<el-dropdown-item divided @click.native="logout"> <el-dropdown-item divided @click.native="logout">
<span style="display:block;">退出</span> <span style="display:block;">退出</span>
</el-dropdown-item> </el-dropdown-item>
<!-- <el-dropdown-item>黄金糕</el-dropdown-item>
<el-dropdown-item>狮子头</el-dropdown-item>
<el-dropdown-item>螺蛳粉</el-dropdown-item>
<el-dropdown-item disabled>双皮奶</el-dropdown-item>
<el-dropdown-item divided>蚵仔煎</el-dropdown-item> -->
</el-dropdown-menu> </el-dropdown-menu>
</el-dropdown> </el-dropdown>
<!-- <el-dropdown class="avatar-container" trigger="click"> <!-- <el-dropdown class="avatar-container" trigger="click">
...@@ -102,8 +97,8 @@ import { mapGetters } from 'vuex' ...@@ -102,8 +97,8 @@ import { mapGetters } from 'vuex'
import AppLink from './Sidebar/Link' import AppLink from './Sidebar/Link'
import variables from '@/styles/variables.scss' import variables from '@/styles/variables.scss'
import { isExternal } from '@/utils/validate' import { isExternal } from '@/utils/validate'
import Doc from '@/components/Doc' // import Doc from '@/components/Doc'
import Screenfull from '@/components/Screenfull' // import Screenfull from '@/components/Screenfull'
// import SizeSelect from '@/components/SizeSelect' // import SizeSelect from '@/components/SizeSelect'
import LangSelect from '@/components/LangSelect' import LangSelect from '@/components/LangSelect'
import { getSysUI } from '@/utils/auth' import { getSysUI } from '@/utils/auth'
...@@ -111,10 +106,10 @@ export default { ...@@ -111,10 +106,10 @@ export default {
name: 'Topbar', name: 'Topbar',
components: { components: {
AppLink, AppLink,
Screenfull, // Screenfull,
// SizeSelect, // SizeSelect,
LangSelect, LangSelect,
Doc // Doc
}, },
data() { data() {
return { return {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论