refactor: 删除无用的前端组件
This commit is contained in:
parent
7d877f7750
commit
338817aebc
|
@ -147,7 +147,6 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import MsCreateBox from '../../../../settings/CreateBox';
|
||||
import MsTablePagination from '../../../../../components/common/pagination/TablePagination';
|
||||
import MsTableHeader from "../../../../common/components/MsTableHeader";
|
||||
import MsDialogFooter from "../../../../common/components/MsDialogFooter";
|
||||
|
@ -177,7 +176,7 @@ export default {
|
|||
TestReportTemplateList,
|
||||
PlanStageTableItem,
|
||||
PlanStatusTableItem,
|
||||
MsTableOperator, MsTableOperatorButton, MsDialogFooter, MsTableHeader, MsCreateBox, MsTablePagination, EnvPopover
|
||||
MsTableOperator, MsTableOperatorButton, MsDialogFooter, MsTableHeader, MsTablePagination, EnvPopover
|
||||
},
|
||||
props: {
|
||||
row: Set,
|
||||
|
|
|
@ -99,7 +99,6 @@ import MsDeleteConfirm from "@/business/components/common/components/MsDeleteCon
|
|||
import MsMainContainer from "@/business/components/common/components/MsMainContainer";
|
||||
import MsContainer from "@/business/components/common/components/MsContainer";
|
||||
import MsTableOperator from "@/business/components/common/components/MsTableOperator";
|
||||
import MsCreateBox from "@/business/components/settings/CreateBox";
|
||||
import MsTablePagination from "@/business/components/common/pagination/TablePagination";
|
||||
import MsTableHeader from "@/business/components/common/components/MsTableHeader";
|
||||
import MsDialogFooter from "@/business/components/common/components/MsDialogFooter";
|
||||
|
@ -117,7 +116,7 @@ export default {
|
|||
MsTableOperatorButton,
|
||||
MsDeleteConfirm,
|
||||
MsMainContainer,
|
||||
MsContainer, MsTableOperator, MsCreateBox, MsTablePagination, MsTableHeader, MsDialogFooter
|
||||
MsContainer, MsTableOperator, MsTablePagination, MsTableHeader, MsDialogFooter
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
|
|
@ -85,7 +85,6 @@
|
|||
import MsRolesTag from "@/business/components/common/components/MsRolesTag";
|
||||
import MsTableOperator from "@/business/components/common/components/MsTableOperator";
|
||||
import MsTablePagination from "@/business/components/common/pagination/TablePagination";
|
||||
import MsCreateBox from "@/business/components/settings/CreateBox";
|
||||
import MsTableHeader from "@/business/components/common/components/MsTableHeader";
|
||||
import MsDialogFooter from "@/business/components/common/components/MsDialogFooter";
|
||||
import MsTableHeaderSelectPopover from "@/business/components/common/components/table/MsTableHeaderSelectPopover";
|
||||
|
@ -105,7 +104,6 @@ export default {
|
|||
MsRolesTag,
|
||||
MsTableOperator,
|
||||
MsTablePagination,
|
||||
MsCreateBox,
|
||||
MsTableHeader,
|
||||
MsDialogFooter,
|
||||
MsTableHeaderSelectPopover,
|
||||
|
|
|
@ -1,26 +0,0 @@
|
|||
<template>
|
||||
<span class="box">
|
||||
<el-tooltip class="item" effect="dark" :content="tips" placement="right">
|
||||
<el-button @click="exec()" type="primary" size="mini" circle>
|
||||
<font-awesome-icon :icon="['fas', 'plus']"/>
|
||||
</el-button>
|
||||
</el-tooltip>
|
||||
</span>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "MsCreateBox",
|
||||
props: {
|
||||
tips: String,
|
||||
exec: Function
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.box {
|
||||
margin-left: 5px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
</style>
|
|
@ -152,7 +152,6 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import MsCreateBox from "../CreateBox";
|
||||
import {Message} from "element-ui";
|
||||
import MsTablePagination from "../../common/pagination/TablePagination";
|
||||
import MsTableHeader from "../../common/components/MsTableHeader";
|
||||
|
@ -173,7 +172,6 @@ export default {
|
|||
name: "MsSystemWorkspace",
|
||||
components: {
|
||||
MsDeleteConfirm,
|
||||
MsCreateBox,
|
||||
MsTablePagination,
|
||||
MsTableHeader,
|
||||
MsRolesTag,
|
||||
|
|
|
@ -230,7 +230,6 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import MsCreateBox from "../CreateBox";
|
||||
import MsTablePagination from "../../common/pagination/TablePagination";
|
||||
import MsTableHeader from "../../common/components/MsTableHeader";
|
||||
import MsTableOperator from "../../common/components/MsTableOperator";
|
||||
|
@ -240,7 +239,7 @@ import BatchAddResource from "@/business/components/settings/system/components/B
|
|||
|
||||
export default {
|
||||
name: "MsTestResourcePool",
|
||||
components: {BatchAddResource, MsCreateBox, MsTablePagination, MsTableHeader, MsTableOperator, MsDialogFooter},
|
||||
components: {BatchAddResource, MsTablePagination, MsTableHeader, MsTableOperator, MsDialogFooter},
|
||||
data() {
|
||||
return {
|
||||
result: {},
|
||||
|
|
|
@ -107,7 +107,6 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import MsCreateBox from "../CreateBox";
|
||||
import MsTablePagination from "../../common/pagination/TablePagination";
|
||||
import MsTableHeader from "../../common/components/MsTableHeader";
|
||||
import MsTableOperator from "../../common/components/MsTableOperator";
|
||||
|
@ -141,7 +140,6 @@ export default {
|
|||
WorkspaceCascader,
|
||||
GroupCascader,
|
||||
EditUser,
|
||||
MsCreateBox,
|
||||
MsTablePagination,
|
||||
MsTableHeader,
|
||||
MsTableOperator,
|
||||
|
|
|
@ -251,7 +251,6 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import MsCreateBox from "../CreateBox";
|
||||
import {Message} from "element-ui";
|
||||
import MsTablePagination from "../../common/pagination/TablePagination";
|
||||
import MsTableHeader from "../../common/components/MsTableHeader";
|
||||
|
@ -295,7 +294,7 @@ export default {
|
|||
MsTableOperatorButton,
|
||||
MsDeleteConfirm,
|
||||
MsMainContainer, MsRolesTag,
|
||||
MsContainer, MsTableOperator, MsCreateBox, MsTablePagination, MsTableHeader, MsDialogFooter,
|
||||
MsContainer, MsTableOperator, MsTablePagination, MsTableHeader, MsDialogFooter,
|
||||
AddMember
|
||||
},
|
||||
inject: [
|
||||
|
|
|
@ -93,7 +93,6 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import MsCreateBox from "../CreateBox";
|
||||
import MsTablePagination from "../../common/pagination/TablePagination";
|
||||
import MsTableHeader from "../../common/components/MsTableHeader";
|
||||
import MsRolesTag from "../../common/components/MsRolesTag";
|
||||
|
@ -125,7 +124,7 @@ export default {
|
|||
name: "MsMember",
|
||||
components: {
|
||||
BatchToProjectGroupCascader, GroupCascader,
|
||||
AddMember, MsCreateBox, MsTablePagination, MsTableHeader, MsRolesTag, MsTableOperator, MsDialogFooter,
|
||||
AddMember, MsTablePagination, MsTableHeader, MsRolesTag, MsTableOperator, MsDialogFooter,
|
||||
MsTableHeaderSelectPopover, UserCascader, ShowMoreBtn
|
||||
},
|
||||
data() {
|
||||
|
|
|
@ -203,7 +203,6 @@
|
|||
|
||||
<script>
|
||||
|
||||
import MsCreateBox from '../../../settings/CreateBox';
|
||||
import MsTableHeaderSelectPopover from "@/business/components/common/components/table/MsTableHeaderSelectPopover";
|
||||
import TestCaseImport from '../components/TestCaseImport';
|
||||
import TestCaseExport from '../components/TestCaseExport';
|
||||
|
@ -266,7 +265,6 @@ export default {
|
|||
MethodTableItem,
|
||||
TypeTableItem,
|
||||
PriorityTableItem,
|
||||
MsCreateBox,
|
||||
TestCaseImport,
|
||||
TestCaseExport,
|
||||
MsTablePagination,
|
||||
|
|
|
@ -282,7 +282,6 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import MsCreateBox from '../../../settings/CreateBox';
|
||||
import MsTablePagination from '../../../../components/common/pagination/TablePagination';
|
||||
import MsTableHeader from "../../../common/components/MsTableHeader";
|
||||
import MsDialogFooter from "../../../common/components/MsDialogFooter";
|
||||
|
@ -329,7 +328,7 @@ export default {
|
|||
PlanStatusTableItem,
|
||||
MsTestPlanScheduleMaintain,
|
||||
MsTableOperator, MsTableOperatorButton,
|
||||
MsDialogFooter, MsTableHeader, MsCreateBox,
|
||||
MsDialogFooter, MsTableHeader,
|
||||
MsTablePagination, PlanRunModeWithEnv, MsTaskCenter
|
||||
},
|
||||
data() {
|
||||
|
|
|
@ -137,7 +137,6 @@ import MsTableOperator from "../../../common/components/MsTableOperator";
|
|||
import MsTableOperatorButton from "../../../common/components/MsTableOperatorButton";
|
||||
import MsDialogFooter from "../../../common/components/MsDialogFooter";
|
||||
import MsTableHeader from "../../../common/components/MsTableHeader";
|
||||
import MsCreateBox from "../../../settings/CreateBox";
|
||||
import MsTablePagination from "../../../common/pagination/TablePagination";
|
||||
import {getCurrentProjectID, getCurrentUser, getCurrentWorkspaceId} from "@/common/js/utils";
|
||||
import {_filter, _sort, deepClone, getLabel, getLastTableSortField,saveLastTableSortField} from "@/common/js/tableUtils";
|
||||
|
@ -159,7 +158,6 @@ export default {
|
|||
MsTableOperatorButton,
|
||||
MsDialogFooter,
|
||||
MsTableHeader,
|
||||
MsCreateBox,
|
||||
MsTablePagination,
|
||||
PlanStatusTableItem
|
||||
},
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 433c1b7e4dcf67ada7ca75219c10fdaaacd8c83a
|
||||
Subproject commit 3c4b3019861281c13d50dce7d1ebee65cfab4ce7
|
Loading…
Reference in New Issue