feat: 去掉暫未支持的按鈕

This commit is contained in:
taojinlong 2021-05-17 15:18:20 +08:00
parent 1bdc6454c7
commit c96ae8caf2
15 changed files with 13 additions and 149 deletions

View File

@ -1,5 +0,0 @@
package io.dataease.commons.constants;
public enum APITestStatus {
Saved, Starting, Running, Reporting, Completed, Debug, Error, Success,Underway
}

View File

@ -1,5 +0,0 @@
package io.dataease.commons.constants;
public enum ApiImportPlatform {
Metersphere, Postman, Swagger2, Plugin
}

View File

@ -1,5 +0,0 @@
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
}

View File

@ -1,5 +0,0 @@
package io.dataease.commons.constants;
public enum LoopConstants {
LOOP_COUNT, WHILE, FOREACH
}

View File

@ -1,17 +0,0 @@
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;
}
}

View File

@ -1,5 +0,0 @@
package io.dataease.commons.constants;
public enum MsTestElementConstants {
LoopController,SCENARIO,REF
}

View File

@ -1,5 +0,0 @@
package io.dataease.commons.constants;
public enum PerformanceTestStatus {
Saved, Starting, Running, Reporting, Completed, Error
}

View File

@ -1,16 +0,0 @@
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;
}
}

View File

@ -1,48 +0,0 @@
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());
}
}
}

View File

@ -1,5 +0,0 @@
package io.dataease.commons.constants;
public enum TestCaseReviewStatus {
Prepare, Underway, Completed
}

View File

@ -1,5 +0,0 @@
package io.dataease.commons.constants;
public enum TestPlanReportStatus {
RUNNING, COMPLETED, SUCCESS, FAILED
}

View File

@ -1,5 +0,0 @@
package io.dataease.commons.constants;
public enum TestPlanTestCaseStatus {
Prepare, Pass, Failure, Blocking, Skip, Underway
}

View File

@ -1,5 +0,0 @@
package io.dataease.commons.constants;
public enum TestReviewCaseStatus {
Prepare, Pass, UnPass
}

View File

@ -2,9 +2,9 @@
<div ref="rightPanel" :class="{show:show}" class="rightPanel-container">
<div class="rightPanel-background" />
<div class="rightPanel">
<div class="handle-button" :style="{'top':buttonTop+'px','background-color':theme}" @click="show=!show">
<i :class="show?'el-icon-close':'el-icon-setting'" />
</div>
<!-- <div class="handle-button" :style="{'top':buttonTop+'px','background-color':theme}" @click="show=!show">-->
<!-- <i :class="show?'el-icon-close':'el-icon-setting'" />-->
<!-- </div>-->
<div class="rightPanel-items">
<slot />
</div>

View File

@ -23,13 +23,13 @@
<div class="right-menu">
<template>
<el-tooltip content="项目文档" effect="dark" placement="bottom">
<doc class="right-menu-item hover-effect" />
</el-tooltip>
<!-- <el-tooltip content="项目文档" effect="dark" placement="bottom">-->
<!-- <doc class="right-menu-item hover-effect" />-->
<!-- </el-tooltip>-->
<el-tooltip content="全屏缩放" effect="dark" placement="bottom">
<screenfull id="screenfull" class="right-menu-item hover-effect" />
</el-tooltip>
<!-- <el-tooltip content="全屏缩放" effect="dark" placement="bottom">-->
<!-- <screenfull id="screenfull" class="right-menu-item hover-effect" />-->
<!-- </el-tooltip>-->
<!-- <el-tooltip :content="$t('navbar.size')" effect="dark" placement="bottom">
<size-select id="size-select" class="right-menu-item hover-effect" />
@ -61,11 +61,6 @@
<el-dropdown-item divided @click.native="logout">
<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 disabled>双皮奶</el-dropdown-item>
<el-dropdown-item divided>蚵仔煎</el-dropdown-item> -->
</el-dropdown-menu>
</el-dropdown>
<!-- <el-dropdown class="avatar-container" trigger="click">
@ -102,8 +97,8 @@ import { mapGetters } from 'vuex'
import AppLink from './Sidebar/Link'
import variables from '@/styles/variables.scss'
import { isExternal } from '@/utils/validate'
import Doc from '@/components/Doc'
import Screenfull from '@/components/Screenfull'
// import Doc from '@/components/Doc'
// import Screenfull from '@/components/Screenfull'
// import SizeSelect from '@/components/SizeSelect'
import LangSelect from '@/components/LangSelect'
import { getSysUI } from '@/utils/auth'
@ -111,10 +106,10 @@ export default {
name: 'Topbar',
components: {
AppLink,
Screenfull,
// Screenfull,
// SizeSelect,
LangSelect,
Doc
// Doc
},
data() {
return {