refactor(权限设置): 去掉 checkoutTestManagerOrTestUser
This commit is contained in:
parent
cc4d07918b
commit
d026c17a81
|
@ -73,7 +73,7 @@ import MsContainer from "@/business/components/common/components/MsContainer";
|
||||||
import MsAsideContainer from "@/business/components/common/components/MsAsideContainer";
|
import MsAsideContainer from "@/business/components/common/components/MsAsideContainer";
|
||||||
import MsMainContainer from "@/business/components/common/components/MsMainContainer";
|
import MsMainContainer from "@/business/components/common/components/MsMainContainer";
|
||||||
import MsApiScenarioList from "@/business/components/api/automation/scenario/ApiScenarioList";
|
import MsApiScenarioList from "@/business/components/api/automation/scenario/ApiScenarioList";
|
||||||
import {checkoutTestManagerOrTestUser, getCurrentUser, getUUID} from "@/common/js/utils";
|
import {getCurrentUser, getUUID} from "@/common/js/utils";
|
||||||
import MsApiScenarioModule from "@/business/components/api/automation/scenario/ApiScenarioModule";
|
import MsApiScenarioModule from "@/business/components/api/automation/scenario/ApiScenarioModule";
|
||||||
import MsEditApiScenario from "./scenario/EditApiScenario";
|
import MsEditApiScenario from "./scenario/EditApiScenario";
|
||||||
|
|
||||||
|
@ -100,7 +100,7 @@ import MsEditApiScenario from "./scenario/EditApiScenario";
|
||||||
return redirectParam;
|
return redirectParam;
|
||||||
},
|
},
|
||||||
isReadOnly() {
|
isReadOnly() {
|
||||||
return !checkoutTestManagerOrTestUser();
|
return false;
|
||||||
},
|
},
|
||||||
projectId() {
|
projectId() {
|
||||||
return this.$store.state.projectId
|
return this.$store.state.projectId
|
||||||
|
|
|
@ -19,7 +19,6 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {checkoutTestManagerOrTestUser} from "@/common/js/utils";
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "MsApiReportViewHeader",
|
name: "MsApiReportViewHeader",
|
||||||
|
@ -38,9 +37,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
if (!checkoutTestManagerOrTestUser()) {
|
|
||||||
this.isReadOnly = true;
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handleExport(name) {
|
handleExport(name) {
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {checkoutTestManagerOrTestUser, exportPdf} from "@/common/js/utils";
|
import {exportPdf} from "@/common/js/utils";
|
||||||
import html2canvas from 'html2canvas';
|
import html2canvas from 'html2canvas';
|
||||||
import EnvPopover from "../../scenario/EnvPopover";
|
import EnvPopover from "../../scenario/EnvPopover";
|
||||||
|
|
||||||
|
|
|
@ -144,7 +144,6 @@ import MsTableOperatorButton from "../../../../common/components/MsTableOperator
|
||||||
import MsTableOperator from "../../../../common/components/MsTableOperator";
|
import MsTableOperator from "../../../../common/components/MsTableOperator";
|
||||||
import PlanStatusTableItem from "../../../../track/common/tableItems/plan/PlanStatusTableItem";
|
import PlanStatusTableItem from "../../../../track/common/tableItems/plan/PlanStatusTableItem";
|
||||||
import PlanStageTableItem from "../../../../track/common/tableItems/plan/PlanStageTableItem";
|
import PlanStageTableItem from "../../../../track/common/tableItems/plan/PlanStageTableItem";
|
||||||
import {checkoutTestManagerOrTestUser} from "@/common/js/utils";
|
|
||||||
import TestReportTemplateList from "../../../../track/plan/view/comonents/TestReportTemplateList";
|
import TestReportTemplateList from "../../../../track/plan/view/comonents/TestReportTemplateList";
|
||||||
import TestCaseReportView from "../../../../track/plan/view/comonents/report/TestCaseReportView";
|
import TestCaseReportView from "../../../../track/plan/view/comonents/report/TestCaseReportView";
|
||||||
import MsDeleteConfirm from "../../../../common/components/MsDeleteConfirm";
|
import MsDeleteConfirm from "../../../../common/components/MsDeleteConfirm";
|
||||||
|
@ -207,7 +206,7 @@ export default {
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.projectId = this.$route.params.projectId;
|
this.projectId = this.$route.params.projectId;
|
||||||
this.isTestManagerOrTestUser = checkoutTestManagerOrTestUser();
|
this.isTestManagerOrTestUser = true;
|
||||||
this.initTableData();
|
this.initTableData();
|
||||||
this.setScenarioSelectRows(this.row);
|
this.setScenarioSelectRows(this.row);
|
||||||
this.getWsProjects();
|
this.getWsProjects();
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {checkoutTestManagerOrTestUser, getCurrentUser, listenGoBack, removeGoBackListener} from "@/common/js/utils";
|
import {getCurrentUser, listenGoBack, removeGoBackListener} from "@/common/js/utils";
|
||||||
import Crontab from "@/business/components/common/cron/Crontab";
|
import Crontab from "@/business/components/common/cron/Crontab";
|
||||||
import CrontabResult from "@/business/components/common/cron/CrontabResult";
|
import CrontabResult from "@/business/components/common/cron/CrontabResult";
|
||||||
import {cronValidate} from "@/common/js/cron";
|
import {cronValidate} from "@/common/js/cron";
|
||||||
|
|
|
@ -158,7 +158,7 @@ import MsRunTestHttpPage from "./components/runtest/RunTestHTTPPage";
|
||||||
import MsRunTestTcpPage from "./components/runtest/RunTestTCPPage";
|
import MsRunTestTcpPage from "./components/runtest/RunTestTCPPage";
|
||||||
import MsRunTestSqlPage from "./components/runtest/RunTestSQLPage";
|
import MsRunTestSqlPage from "./components/runtest/RunTestSQLPage";
|
||||||
import MsRunTestDubboPage from "./components/runtest/RunTestDubboPage";
|
import MsRunTestDubboPage from "./components/runtest/RunTestDubboPage";
|
||||||
import {checkoutTestManagerOrTestUser, getCurrentUser, getUUID} from "@/common/js/utils";
|
import {getCurrentUser, getUUID} from "@/common/js/utils";
|
||||||
import MsApiModule from "./components/module/ApiModule";
|
import MsApiModule from "./components/module/ApiModule";
|
||||||
import ApiCaseSimpleList from "./components/list/ApiCaseSimpleList";
|
import ApiCaseSimpleList from "./components/list/ApiCaseSimpleList";
|
||||||
|
|
||||||
|
@ -180,7 +180,7 @@ export default {
|
||||||
return routeParam;
|
return routeParam;
|
||||||
},
|
},
|
||||||
isReadOnly() {
|
isReadOnly() {
|
||||||
return !checkoutTestManagerOrTestUser();
|
return false;
|
||||||
},
|
},
|
||||||
projectId() {
|
projectId() {
|
||||||
return this.$store.state.projectId;
|
return this.$store.state.projectId;
|
||||||
|
|
|
@ -39,7 +39,6 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {
|
import {
|
||||||
checkoutTestManagerOrTestUser,
|
|
||||||
getCurrentProjectID,
|
getCurrentProjectID,
|
||||||
getCurrentUser,
|
getCurrentUser,
|
||||||
listenGoBack,
|
listenGoBack,
|
||||||
|
@ -225,7 +224,7 @@ export default {
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
isTesterPermission() {
|
isTesterPermission() {
|
||||||
return checkoutTestManagerOrTestUser();
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -57,7 +57,6 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {checkoutTestManagerOrTestUser} from "@/common/js/utils";
|
|
||||||
import MsTag from "@/business/components/common/components/MsTag";
|
import MsTag from "@/business/components/common/components/MsTag";
|
||||||
export default {
|
export default {
|
||||||
name: "MsRunningTaskList",
|
name: "MsRunningTaskList",
|
||||||
|
@ -79,7 +78,7 @@ export default {
|
||||||
|
|
||||||
computed:{
|
computed:{
|
||||||
isReadOnly(){
|
isReadOnly(){
|
||||||
return !checkoutTestManagerOrTestUser();
|
return false;
|
||||||
},
|
},
|
||||||
projectId() {
|
projectId() {
|
||||||
return this.$store.state.projectId
|
return this.$store.state.projectId
|
||||||
|
|
|
@ -15,8 +15,6 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {checkoutTestManagerOrTestUser} from "../../../../common/js/utils";
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "MsApiReportViewHeader",
|
name: "MsApiReportViewHeader",
|
||||||
props: ['report'],
|
props: ['report'],
|
||||||
|
@ -31,9 +29,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
if (!checkoutTestManagerOrTestUser()) {
|
|
||||||
this.isReadOnly = true;
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handleExport(name) {
|
handleExport(name) {
|
||||||
|
|
|
@ -77,7 +77,7 @@ import MsApiScenarioConfig from "./components/ApiScenarioConfig";
|
||||||
import {Scenario, Test} from "./model/ScenarioModel"
|
import {Scenario, Test} from "./model/ScenarioModel"
|
||||||
import MsApiReportStatus from "../report/ApiReportStatus";
|
import MsApiReportStatus from "../report/ApiReportStatus";
|
||||||
import MsApiReportDialog from "./ApiReportDialog";
|
import MsApiReportDialog from "./ApiReportDialog";
|
||||||
import {checkoutTestManagerOrTestUser, downloadFile, getCurrentProjectID, getUUID} from "@/common/js/utils";
|
import {downloadFile, getCurrentProjectID, getUUID} from "@/common/js/utils";
|
||||||
import MsScheduleConfig from "../../common/components/MsScheduleConfig";
|
import MsScheduleConfig from "../../common/components/MsScheduleConfig";
|
||||||
import ApiImport from "./components/import/ApiImport";
|
import ApiImport from "./components/import/ApiImport";
|
||||||
import {ApiEvent, LIST_CHANGE} from "@/business/components/common/head/ListEvent";
|
import {ApiEvent, LIST_CHANGE} from "@/business/components/common/head/ListEvent";
|
||||||
|
@ -121,7 +121,7 @@ export default {
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
init() {
|
init() {
|
||||||
this.isReadOnly = !checkoutTestManagerOrTestUser();
|
this.isReadOnly = false;
|
||||||
|
|
||||||
if (this.id) {
|
if (this.id) {
|
||||||
this.create = false;
|
this.create = false;
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {checkoutTestManagerOrTestUser, getCurrentUser, listenGoBack, removeGoBackListener} from "@/common/js/utils";
|
import {getCurrentUser, listenGoBack, removeGoBackListener} from "@/common/js/utils";
|
||||||
import Crontab from "../cron/Crontab";
|
import Crontab from "../cron/Crontab";
|
||||||
import CrontabResult from "../cron/CrontabResult";
|
import CrontabResult from "../cron/CrontabResult";
|
||||||
import {cronValidate} from "@/common/js/cron";
|
import {cronValidate} from "@/common/js/cron";
|
||||||
|
@ -194,7 +194,7 @@ export default {
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
isTesterPermission() {
|
isTesterPermission() {
|
||||||
return checkoutTestManagerOrTestUser();
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,8 +27,6 @@
|
||||||
<script>
|
<script>
|
||||||
import MsTableButton from "./MsTableButton";
|
import MsTableButton from "./MsTableButton";
|
||||||
import MsTipButton from "./MsTipButton";
|
import MsTipButton from "./MsTipButton";
|
||||||
import {checkoutTestManagerOrTestUser, hasRoles} from "../../../../common/js/utils";
|
|
||||||
import {ROLE_TEST_MANAGER, ROLE_TEST_USER} from "../../../../common/js/constants";
|
|
||||||
export default {
|
export default {
|
||||||
name: "MsTableOperatorButton",
|
name: "MsTableOperatorButton",
|
||||||
components: {MsTipButton, MsTableButton},
|
components: {MsTipButton, MsTableButton},
|
||||||
|
|
|
@ -23,7 +23,6 @@
|
||||||
<script>
|
<script>
|
||||||
import MsContainer from "@/business/components/common/components/MsContainer";
|
import MsContainer from "@/business/components/common/components/MsContainer";
|
||||||
import MsMainContainer from "@/business/components/common/components/MsMainContainer";
|
import MsMainContainer from "@/business/components/common/components/MsMainContainer";
|
||||||
import {checkoutTestManagerOrTestUser} from "@/common/js/utils";
|
|
||||||
import OverviewCompareCard from "@/business/components/performance/report/components/OverviewCompareCard";
|
import OverviewCompareCard from "@/business/components/performance/report/components/OverviewCompareCard";
|
||||||
import MsChart from "@/business/components/common/chart/MsChart";
|
import MsChart from "@/business/components/common/chart/MsChart";
|
||||||
import LoadCompareCard from "@/business/components/performance/report/components/LoadCompareCard";
|
import LoadCompareCard from "@/business/components/performance/report/components/LoadCompareCard";
|
||||||
|
@ -37,7 +36,7 @@ export default {
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
isReadOnly() {
|
isReadOnly() {
|
||||||
return !checkoutTestManagerOrTestUser();
|
return false;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
|
|
|
@ -27,8 +27,6 @@
|
||||||
import MsReportRequestStatistics from './components/RequestStatistics';
|
import MsReportRequestStatistics from './components/RequestStatistics';
|
||||||
import MsReportTestOverview from './components/TestOverview';
|
import MsReportTestOverview from './components/TestOverview';
|
||||||
|
|
||||||
import {checkoutTestManagerOrTestUser} from "@/common/js/utils";
|
|
||||||
import MsPerformanceReportExport from "./PerformanceReportExport";
|
|
||||||
import MsReportTitle from "../../common/components/report/MsReportTitle";
|
import MsReportTitle from "../../common/components/report/MsReportTitle";
|
||||||
import MsReportExportTemplate from "../../common/components/report/MsReportExportTemplate";
|
import MsReportExportTemplate from "../../common/components/report/MsReportExportTemplate";
|
||||||
|
|
||||||
|
|
|
@ -76,7 +76,6 @@
|
||||||
<el-tooltip effect="dark" :content="$t('project.upload_file_again')" placement="bottom">
|
<el-tooltip effect="dark" :content="$t('project.upload_file_again')" placement="bottom">
|
||||||
<el-button circle
|
<el-button circle
|
||||||
type="success"
|
type="success"
|
||||||
:disabled="!checkoutTestManagerOrTestUser()"
|
|
||||||
icon="el-icon-upload"
|
icon="el-icon-upload"
|
||||||
@click="handleEdit(scope.row)"
|
@click="handleEdit(scope.row)"
|
||||||
size="mini"/>
|
size="mini"/>
|
||||||
|
@ -103,7 +102,7 @@
|
||||||
<script>
|
<script>
|
||||||
import MsDialogFooter from "@/business/components/common/components/MsDialogFooter";
|
import MsDialogFooter from "@/business/components/common/components/MsDialogFooter";
|
||||||
import MsTablePagination from "@/business/components/common/pagination/TablePagination";
|
import MsTablePagination from "@/business/components/common/pagination/TablePagination";
|
||||||
import {checkoutTestManagerOrTestUser, getCurrentProjectID} from "@/common/js/utils";
|
import {getCurrentProjectID} from "@/common/js/utils";
|
||||||
import {findThreadGroup} from "@/business/components/performance/test/model/ThreadGroup";
|
import {findThreadGroup} from "@/business/components/performance/test/model/ThreadGroup";
|
||||||
import MsTableButton from "@/business/components/common/components/MsTableButton";
|
import MsTableButton from "@/business/components/common/components/MsTableButton";
|
||||||
import axios from "axios";
|
import axios from "axios";
|
||||||
|
@ -136,7 +135,6 @@ export default {
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
checkoutTestManagerOrTestUser,
|
|
||||||
open(loadType) {
|
open(loadType) {
|
||||||
this.loadFileVisible = true;
|
this.loadFileVisible = true;
|
||||||
this.loadType = loadType;
|
this.loadType = loadType;
|
||||||
|
|
|
@ -59,7 +59,6 @@
|
||||||
<el-tooltip effect="dark" :content="$t('project.upload_file_again')" placement="bottom">
|
<el-tooltip effect="dark" :content="$t('project.upload_file_again')" placement="bottom">
|
||||||
<el-button circle
|
<el-button circle
|
||||||
type="success"
|
type="success"
|
||||||
:disabled="!checkoutTestManagerOrTestUser()"
|
|
||||||
icon="el-icon-upload"
|
icon="el-icon-upload"
|
||||||
@click="handleEdit(scope.row)"
|
@click="handleEdit(scope.row)"
|
||||||
size="mini"/>
|
size="mini"/>
|
||||||
|
@ -84,7 +83,7 @@
|
||||||
import MsTablePagination from "@/business/components/common/pagination/TablePagination";
|
import MsTablePagination from "@/business/components/common/pagination/TablePagination";
|
||||||
import MsTableButton from "@/business/components/common/components/MsTableButton";
|
import MsTableButton from "@/business/components/common/components/MsTableButton";
|
||||||
import MsDialogFooter from "@/business/components/common/components/MsDialogFooter";
|
import MsDialogFooter from "@/business/components/common/components/MsDialogFooter";
|
||||||
import {checkoutTestManagerOrTestUser, getCurrentProjectID} from "@/common/js/utils";
|
import {getCurrentProjectID} from "@/common/js/utils";
|
||||||
import MsTableOperatorButton from "@/business/components/common/components/MsTableOperatorButton";
|
import MsTableOperatorButton from "@/business/components/common/components/MsTableOperatorButton";
|
||||||
import {Message} from "element-ui";
|
import {Message} from "element-ui";
|
||||||
import MsTableHeader from "@/business/components/common/components/MsTableHeader";
|
import MsTableHeader from "@/business/components/common/components/MsTableHeader";
|
||||||
|
@ -117,7 +116,6 @@ export default {
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
checkoutTestManagerOrTestUser,
|
|
||||||
open(project) {
|
open(project) {
|
||||||
this.projectId = project.id;
|
this.projectId = project.id;
|
||||||
this.loadFileVisible = true;
|
this.loadFileVisible = true;
|
||||||
|
|
|
@ -110,7 +110,7 @@
|
||||||
import MsAsideContainer from "@/business/components/common/components/MsAsideContainer";
|
import MsAsideContainer from "@/business/components/common/components/MsAsideContainer";
|
||||||
import ProjectSwitch from "@/business/components/common/head/ProjectSwitch";
|
import ProjectSwitch from "@/business/components/common/head/ProjectSwitch";
|
||||||
import SearchList from "@/business/components/common/head/SearchList";
|
import SearchList from "@/business/components/common/head/SearchList";
|
||||||
import {checkoutTestManagerOrTestUser, downloadFile, getCurrentProjectID} from "@/common/js/utils";
|
import {downloadFile, getCurrentProjectID} from "@/common/js/utils";
|
||||||
import EnvironmentImport from "@/business/components/settings/project/EnvironmentImport";
|
import EnvironmentImport from "@/business/components/settings/project/EnvironmentImport";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
@ -150,8 +150,6 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.isTesterPermission = checkoutTestManagerOrTestUser();
|
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
activated() {
|
activated() {
|
||||||
|
|
|
@ -110,7 +110,7 @@
|
||||||
import MsAsideContainer from "@/business/components/common/components/MsAsideContainer";
|
import MsAsideContainer from "@/business/components/common/components/MsAsideContainer";
|
||||||
import ProjectSwitch from "@/business/components/common/head/ProjectSwitch";
|
import ProjectSwitch from "@/business/components/common/head/ProjectSwitch";
|
||||||
import SearchList from "@/business/components/common/head/SearchList";
|
import SearchList from "@/business/components/common/head/SearchList";
|
||||||
import {checkoutTestManagerOrTestUser, downloadFile} from "@/common/js/utils";
|
import {downloadFile} from "@/common/js/utils";
|
||||||
import EnvironmentImport from "@/business/components/settings/project/EnvironmentImport";
|
import EnvironmentImport from "@/business/components/settings/project/EnvironmentImport";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
@ -150,7 +150,6 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.isTesterPermission = checkoutTestManagerOrTestUser();
|
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -104,7 +104,7 @@ import SelectMenu from "../common/SelectMenu";
|
||||||
import MsContainer from "../../common/components/MsContainer";
|
import MsContainer from "../../common/components/MsContainer";
|
||||||
import MsAsideContainer from "../../common/components/MsAsideContainer";
|
import MsAsideContainer from "../../common/components/MsAsideContainer";
|
||||||
import MsMainContainer from "../../common/components/MsMainContainer";
|
import MsMainContainer from "../../common/components/MsMainContainer";
|
||||||
import {checkoutTestManagerOrTestUser, getUUID} from "../../../../common/js/utils";
|
import {getUUID} from "../../../../common/js/utils";
|
||||||
import TestCaseNodeTree from "../common/TestCaseNodeTree";
|
import TestCaseNodeTree from "../common/TestCaseNodeTree";
|
||||||
|
|
||||||
import MsTabButton from "@/business/components/common/components/MsTabButton";
|
import MsTabButton from "@/business/components/common/components/MsTabButton";
|
||||||
|
@ -275,9 +275,6 @@ export default {
|
||||||
let path = route.path;
|
let path = route.path;
|
||||||
if (path.indexOf("/track/case/edit") >= 0 || path.indexOf("/track/case/create") >= 0) {
|
if (path.indexOf("/track/case/edit") >= 0 || path.indexOf("/track/case/create") >= 0) {
|
||||||
this.testCaseReadOnly = false;
|
this.testCaseReadOnly = false;
|
||||||
if (!checkoutTestManagerOrTestUser()) {
|
|
||||||
this.testCaseReadOnly = true;
|
|
||||||
}
|
|
||||||
let caseId = this.$route.params.caseId;
|
let caseId = this.$route.params.caseId;
|
||||||
if (!this.projectId) {
|
if (!this.projectId) {
|
||||||
this.$warning(this.$t('commons.check_project_tip'));
|
this.$warning(this.$t('commons.check_project_tip'));
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import ReviewCommentItem from "@/business/components/track/review/commom/ReviewCommentItem";
|
import ReviewCommentItem from "@/business/components/track/review/commom/ReviewCommentItem";
|
||||||
import {checkoutTestManagerOrTestUser, getUUID} from "@/common/js/utils";
|
import {getUUID} from "@/common/js/utils";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "TestCaseComment",
|
name: "TestCaseComment",
|
||||||
|
@ -45,7 +45,7 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.isReadOnly = !checkoutTestManagerOrTestUser();
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
open() {
|
open() {
|
||||||
|
|
|
@ -121,7 +121,6 @@
|
||||||
import {TokenKey, WORKSPACE_ID} from '@/common/js/constants';
|
import {TokenKey, WORKSPACE_ID} from '@/common/js/constants';
|
||||||
import MsDialogFooter from '../../../common/components/MsDialogFooter'
|
import MsDialogFooter from '../../../common/components/MsDialogFooter'
|
||||||
import {
|
import {
|
||||||
checkoutTestManagerOrTestUser,
|
|
||||||
getCurrentUser,
|
getCurrentUser,
|
||||||
getNodePath,
|
getNodePath,
|
||||||
handleCtrlSEvent,
|
handleCtrlSEvent,
|
||||||
|
@ -281,9 +280,6 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
if (!checkoutTestManagerOrTestUser()) {
|
|
||||||
this.readOnly = true;
|
|
||||||
}
|
|
||||||
this.getSelectOptions();
|
this.getSelectOptions();
|
||||||
if (this.type === 'edit' || this.type === 'copy') {
|
if (this.type === 'edit' || this.type === 'copy') {
|
||||||
this.open(this.currentTestCaseInfo)
|
this.open(this.currentTestCaseInfo)
|
||||||
|
|
|
@ -92,7 +92,7 @@ import MsRichText from "@/business/components/track/case/components/MsRichText";
|
||||||
import {TEST} from "@/business/components/api/definition/model/JsonData";
|
import {TEST} from "@/business/components/api/definition/model/JsonData";
|
||||||
import TestCaseAttachment from "@/business/components/track/case/components/TestCaseAttachment";
|
import TestCaseAttachment from "@/business/components/track/case/components/TestCaseAttachment";
|
||||||
import TestCaseIssueRelate from "@/business/components/track/case/components/TestCaseIssueRelate";
|
import TestCaseIssueRelate from "@/business/components/track/case/components/TestCaseIssueRelate";
|
||||||
import {checkoutTestManagerOrTestUser, enableModules} from "@/common/js/utils";
|
import {enableModules} from "@/common/js/utils";
|
||||||
import FormRichTextItem from "@/business/components/track/case/components/FormRichTextItem";
|
import FormRichTextItem from "@/business/components/track/case/components/FormRichTextItem";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
@ -117,9 +117,6 @@ export default {
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
isTesterPermission() {
|
isTesterPermission() {
|
||||||
if (!checkoutTestManagerOrTestUser()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -86,7 +86,6 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {checkoutTestManagerOrTestUser} from "../../../../common/js/utils";
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "MsNodeTree",
|
name: "MsNodeTree",
|
||||||
|
@ -134,7 +133,7 @@ export default {
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
disabled() {
|
disabled() {
|
||||||
return this.type != 'edit' || !checkoutTestManagerOrTestUser();
|
return this.type !== 'edit';
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
|
@ -94,7 +94,7 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {checkoutTestManagerOrTestUser, getCurrentUser, listenGoBack, removeGoBackListener} from "@/common/js/utils";
|
import {getCurrentUser, listenGoBack, removeGoBackListener} from "@/common/js/utils";
|
||||||
import Crontab from "@/business/components/common/cron/Crontab";
|
import Crontab from "@/business/components/common/cron/Crontab";
|
||||||
import CrontabResult from "@/business/components/common/cron/CrontabResult";
|
import CrontabResult from "@/business/components/common/cron/CrontabResult";
|
||||||
import {cronValidate} from "@/common/js/cron";
|
import {cronValidate} from "@/common/js/cron";
|
||||||
|
@ -370,7 +370,7 @@ export default {
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
isTesterPermission() {
|
isTesterPermission() {
|
||||||
return checkoutTestManagerOrTestUser();
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -237,7 +237,6 @@ import MsTableOperatorButton from "../../../common/components/MsTableOperatorBut
|
||||||
import MsTableOperator from "../../../common/components/MsTableOperator";
|
import MsTableOperator from "../../../common/components/MsTableOperator";
|
||||||
import PlanStatusTableItem from "../../common/tableItems/plan/PlanStatusTableItem";
|
import PlanStatusTableItem from "../../common/tableItems/plan/PlanStatusTableItem";
|
||||||
import PlanStageTableItem from "../../common/tableItems/plan/PlanStageTableItem";
|
import PlanStageTableItem from "../../common/tableItems/plan/PlanStageTableItem";
|
||||||
import {checkoutTestManagerOrTestUser} from "@/common/js/utils";
|
|
||||||
import TestReportTemplateList from "../view/comonents/TestReportTemplateList";
|
import TestReportTemplateList from "../view/comonents/TestReportTemplateList";
|
||||||
import TestCaseReportView from "../view/comonents/report/TestCaseReportView";
|
import TestCaseReportView from "../view/comonents/report/TestCaseReportView";
|
||||||
import MsDeleteConfirm from "../../../common/components/MsDeleteConfirm";
|
import MsDeleteConfirm from "../../../common/components/MsDeleteConfirm";
|
||||||
|
@ -309,7 +308,7 @@ export default {
|
||||||
if (!this.projectId) {
|
if (!this.projectId) {
|
||||||
this.projectId = this.$store.state.projectId;
|
this.projectId = this.$store.state.projectId;
|
||||||
}
|
}
|
||||||
this.isTestManagerOrTestUser = checkoutTestManagerOrTestUser();
|
this.isTestManagerOrTestUser = true;
|
||||||
this.initTableData();
|
this.initTableData();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
@ -339,10 +338,12 @@ export default {
|
||||||
item.tags = JSON.parse(item.tags);
|
item.tags = JSON.parse(item.tags);
|
||||||
}
|
}
|
||||||
item.passRate = item.passRate + '%';
|
item.passRate = item.passRate + '%';
|
||||||
this.$get("user/info/" + item.creator, response => {
|
if (item.creator) {
|
||||||
let name = response.data.name;
|
this.$get("user/info/" + item.creator, response => {
|
||||||
item.createUser = name;
|
let name = response.data.name;
|
||||||
});
|
item.createUser = name;
|
||||||
|
});
|
||||||
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
getLabel(this, TEST_PLAN_LIST);
|
getLabel(this, TEST_PLAN_LIST);
|
||||||
|
|
|
@ -264,7 +264,7 @@ import {
|
||||||
TokenKey,
|
TokenKey,
|
||||||
WORKSPACE_ID
|
WORKSPACE_ID
|
||||||
} from "@/common/js/constants";
|
} from "@/common/js/constants";
|
||||||
import {checkoutTestManagerOrTestUser, hasRoles} from "@/common/js/utils";
|
import {hasRoles} from "@/common/js/utils";
|
||||||
import PriorityTableItem from "../../../../common/tableItems/planview/PriorityTableItem";
|
import PriorityTableItem from "../../../../common/tableItems/planview/PriorityTableItem";
|
||||||
import StatusTableItem from "../../../../common/tableItems/planview/StatusTableItem";
|
import StatusTableItem from "../../../../common/tableItems/planview/StatusTableItem";
|
||||||
import TypeTableItem from "../../../../common/tableItems/planview/TypeTableItem";
|
import TypeTableItem from "../../../../common/tableItems/planview/TypeTableItem";
|
||||||
|
@ -419,7 +419,7 @@ export default {
|
||||||
this.$refs.testPlanTestCaseEdit.openTestCaseEdit(row);
|
this.$refs.testPlanTestCaseEdit.openTestCaseEdit(row);
|
||||||
});
|
});
|
||||||
this.refreshTableAndPlan();
|
this.refreshTableAndPlan();
|
||||||
this.isTestManagerOrTestUser = checkoutTestManagerOrTestUser();
|
this.isTestManagerOrTestUser = true;
|
||||||
this.getMaintainerOptions();
|
this.getMaintainerOptions();
|
||||||
},
|
},
|
||||||
beforeDestroy() {
|
beforeDestroy() {
|
||||||
|
@ -526,9 +526,6 @@ export default {
|
||||||
},
|
},
|
||||||
handleEdit(testCase, index) {
|
handleEdit(testCase, index) {
|
||||||
this.isReadOnly = false;
|
this.isReadOnly = false;
|
||||||
if (!checkoutTestManagerOrTestUser()) {
|
|
||||||
this.isReadOnly = true;
|
|
||||||
}
|
|
||||||
this.$refs.testPlanTestCaseEdit.openTestCaseEdit(testCase);
|
this.$refs.testPlanTestCaseEdit.openTestCaseEdit(testCase);
|
||||||
},
|
},
|
||||||
handleDelete(testCase) {
|
handleDelete(testCase) {
|
||||||
|
|
|
@ -83,7 +83,7 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
import {checkoutTestManagerOrTestUser, exportPdf} from "@/common/js/utils";
|
import {exportPdf} from "@/common/js/utils";
|
||||||
import html2canvas from 'html2canvas';
|
import html2canvas from 'html2canvas';
|
||||||
import {Message} from "element-ui";
|
import {Message} from "element-ui";
|
||||||
import MsPerformanceReportExport from "@/business/components/performance/report/PerformanceReportExport";
|
import MsPerformanceReportExport from "@/business/components/performance/report/PerformanceReportExport";
|
||||||
|
|
|
@ -47,7 +47,7 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {checkoutTestManagerOrTestUser, exportPdf, jsonToMap, mapToJson} from "../../../../../../../common/js/utils";
|
import {exportPdf, jsonToMap, mapToJson} from "../../../../../../../common/js/utils";
|
||||||
import BaseInfoComponent from "./TemplateComponent/BaseInfoComponent";
|
import BaseInfoComponent from "./TemplateComponent/BaseInfoComponent";
|
||||||
import TestResultChartComponent from "./TemplateComponent/TestResultChartComponent";
|
import TestResultChartComponent from "./TemplateComponent/TestResultChartComponent";
|
||||||
import TestResultComponent from "./TemplateComponent/TestResultComponent";
|
import TestResultComponent from "./TemplateComponent/TestResultComponent";
|
||||||
|
@ -90,7 +90,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.isTestManagerOrTestUser = checkoutTestManagerOrTestUser();
|
this.isTestManagerOrTestUser = true;
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
listenGoBack() {
|
listenGoBack() {
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {checkoutTestManagerOrTestUser, exportPdf, jsonToMap, mapToJson} from "../../../../../../../../common/js/utils";
|
import {exportPdf, jsonToMap, mapToJson} from "../../../../../../../../common/js/utils";
|
||||||
import BaseInfoComponent from "../TemplateComponent/BaseInfoComponent";
|
import BaseInfoComponent from "../TemplateComponent/BaseInfoComponent";
|
||||||
import TestResultChartComponent from "../TemplateComponent/TestResultChartComponent";
|
import TestResultChartComponent from "../TemplateComponent/TestResultChartComponent";
|
||||||
import TestResultComponent from "../TemplateComponent/TestResultComponent";
|
import TestResultComponent from "../TemplateComponent/TestResultComponent";
|
||||||
|
@ -80,7 +80,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.isTestManagerOrTestUser = checkoutTestManagerOrTestUser();
|
this.isTestManagerOrTestUser = true;
|
||||||
this.getReport();
|
this.getReport();
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
|
|
@ -66,7 +66,6 @@ import MsTablePagination from '../../../../components/common/pagination/TablePag
|
||||||
import MsTableHeader from "@/business/components/common/components/MsTableHeader";
|
import MsTableHeader from "@/business/components/common/components/MsTableHeader";
|
||||||
import MsTableOperatorButton from "../../../common/components/MsTableOperatorButton";
|
import MsTableOperatorButton from "../../../common/components/MsTableOperatorButton";
|
||||||
import MsTableOperator from "../../../common/components/MsTableOperator";
|
import MsTableOperator from "../../../common/components/MsTableOperator";
|
||||||
import {checkoutTestManagerOrTestUser} from "@/common/js/utils";
|
|
||||||
import {TEST_PLAN_REPORT_CONFIGS} from "../../../common/components/search/search-components";
|
import {TEST_PLAN_REPORT_CONFIGS} from "../../../common/components/search/search-components";
|
||||||
import TestPlanReportView from "@/business/components/track/report/components/TestPlanReportView";
|
import TestPlanReportView from "@/business/components/track/report/components/TestPlanReportView";
|
||||||
import ReportTriggerModeItem from "@/business/components/common/tableItem/ReportTriggerModeItem";
|
import ReportTriggerModeItem from "@/business/components/common/tableItem/ReportTriggerModeItem";
|
||||||
|
@ -134,7 +133,7 @@ export default {
|
||||||
if (!this.projectId) {
|
if (!this.projectId) {
|
||||||
this.projectId = this.$store.state.projectId;
|
this.projectId = this.$store.state.projectId;
|
||||||
}
|
}
|
||||||
this.isTestManagerOrTestUser = checkoutTestManagerOrTestUser();
|
this.isTestManagerOrTestUser = true;
|
||||||
this.initTableData();
|
this.initTableData();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {checkoutTestManagerOrTestUser, exportPdf, jsonToMap, mapToJson} from "@/common/js/utils";
|
import {exportPdf, jsonToMap, mapToJson} from "@/common/js/utils";
|
||||||
import BaseInfoComponent
|
import BaseInfoComponent
|
||||||
from "@/business/components/track/plan/view/comonents/report/TemplateComponent/BaseInfoComponent";
|
from "@/business/components/track/plan/view/comonents/report/TemplateComponent/BaseInfoComponent";
|
||||||
import TestResultChartComponent
|
import TestResultChartComponent
|
||||||
|
@ -93,7 +93,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.isTestManagerOrTestUser = checkoutTestManagerOrTestUser();
|
this.isTestManagerOrTestUser = true;
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
reportComponents() {
|
reportComponents() {
|
||||||
|
|
|
@ -39,7 +39,6 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import ReviewCommentItem from "./ReviewCommentItem";
|
import ReviewCommentItem from "./ReviewCommentItem";
|
||||||
import {checkoutTestManagerOrTestUser} from "@/common/js/utils";
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "ReviewComment",
|
name: "ReviewComment",
|
||||||
|
@ -58,7 +57,7 @@ export default {
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.isReadOnly = !checkoutTestManagerOrTestUser();
|
this.isReadOnly = false;
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
sendComment() {
|
sendComment() {
|
||||||
|
|
|
@ -120,7 +120,7 @@ import MsDialogFooter from "../../../common/components/MsDialogFooter";
|
||||||
import MsTableHeader from "../../../common/components/MsTableHeader";
|
import MsTableHeader from "../../../common/components/MsTableHeader";
|
||||||
import MsCreateBox from "../../../settings/CreateBox";
|
import MsCreateBox from "../../../settings/CreateBox";
|
||||||
import MsTablePagination from "../../../common/pagination/TablePagination";
|
import MsTablePagination from "../../../common/pagination/TablePagination";
|
||||||
import {checkoutTestManagerOrTestUser, getCurrentWorkspaceId} from "@/common/js/utils";
|
import {getCurrentWorkspaceId} from "@/common/js/utils";
|
||||||
import {_filter, _sort, deepClone, getLabel} from "@/common/js/tableUtils";
|
import {_filter, _sort, deepClone, getLabel} from "@/common/js/tableUtils";
|
||||||
import PlanStatusTableItem from "../../common/tableItems/plan/PlanStatusTableItem";
|
import PlanStatusTableItem from "../../common/tableItems/plan/PlanStatusTableItem";
|
||||||
import {Test_Case_Review} from "@/business/components/common/model/JsonData";
|
import {Test_Case_Review} from "@/business/components/common/model/JsonData";
|
||||||
|
@ -172,7 +172,7 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.isTestManagerOrTestUser = checkoutTestManagerOrTestUser();
|
this.isTestManagerOrTestUser = true;
|
||||||
this.initTableData();
|
this.initTableData();
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|
|
@ -201,7 +201,7 @@ import MsTableButton from "../../../../common/components/MsTableButton";
|
||||||
import ShowMoreBtn from "../../../case/components/ShowMoreBtn";
|
import ShowMoreBtn from "../../../case/components/ShowMoreBtn";
|
||||||
import BatchEdit from "../../../case/components/BatchEdit";
|
import BatchEdit from "../../../case/components/BatchEdit";
|
||||||
import MsTablePagination from '../../../../common/pagination/TablePagination';
|
import MsTablePagination from '../../../../common/pagination/TablePagination';
|
||||||
import {checkoutTestManagerOrTestUser, hasRoles} from "../../../../../../common/js/utils";
|
import {hasRoles} from "../../../../../../common/js/utils";
|
||||||
import {TEST_CASE_CONFIGS} from "../../../../common/components/search/search-components";
|
import {TEST_CASE_CONFIGS} from "../../../../common/components/search/search-components";
|
||||||
import {ROLE_TEST_MANAGER, ROLE_TEST_USER, TEST_CASE_REVIEW_CASE_LIST} from "../../../../../../common/js/constants";
|
import {ROLE_TEST_MANAGER, ROLE_TEST_USER, TEST_CASE_REVIEW_CASE_LIST} from "../../../../../../common/js/constants";
|
||||||
import TestReviewTestCaseEdit from "./TestReviewTestCaseEdit";
|
import TestReviewTestCaseEdit from "./TestReviewTestCaseEdit";
|
||||||
|
@ -311,7 +311,7 @@ export default {
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.refreshTableAndReview();
|
this.refreshTableAndReview();
|
||||||
this.isTestManagerOrTestUser = checkoutTestManagerOrTestUser();
|
this.isTestManagerOrTestUser = true;
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
customHeader() {
|
customHeader() {
|
||||||
|
@ -402,9 +402,6 @@ export default {
|
||||||
},
|
},
|
||||||
handleEdit(testCase, index) {
|
handleEdit(testCase, index) {
|
||||||
this.isReadOnly = false;
|
this.isReadOnly = false;
|
||||||
if (!checkoutTestManagerOrTestUser()) {
|
|
||||||
this.isReadOnly = true;
|
|
||||||
}
|
|
||||||
this.$refs.testReviewTestCaseEdit.openTestCaseEdit(testCase);
|
this.$refs.testReviewTestCaseEdit.openTestCaseEdit(testCase);
|
||||||
},
|
},
|
||||||
handleDelete(testCase) {
|
handleDelete(testCase) {
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 5b479f6e7a0314e266ba75647f6f51302df0a7dd
|
Subproject commit 236818facb9d5c17d46bfced77d31a834ba2dc2b
|
|
@ -58,8 +58,6 @@ Vue.directive('roles', roles);
|
||||||
|
|
||||||
Vue.directive('xpack', xpack);
|
Vue.directive('xpack', xpack);
|
||||||
|
|
||||||
Vue.directive('tester', tester);
|
|
||||||
|
|
||||||
Vue.directive('modules', modules);
|
Vue.directive('modules', modules);
|
||||||
|
|
||||||
//支持左右拖拽
|
//支持左右拖拽
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
import router from './components/common/router/router';
|
import router from './components/common/router/router';
|
||||||
import {TokenKey} from '@/common/js/constants';
|
import {TokenKey} from '@/common/js/constants';
|
||||||
import {
|
import {
|
||||||
checkoutTestManagerOrTestUser,
|
|
||||||
enableModules,
|
enableModules,
|
||||||
hasLicense,
|
hasLicense,
|
||||||
hasPermissions,
|
hasPermissions,
|
||||||
|
@ -13,14 +12,6 @@ const whiteList = ['/login']; // no redirect whitelist
|
||||||
|
|
||||||
NProgress.configure({showSpinner: false}); // NProgress Configuration
|
NProgress.configure({showSpinner: false}); // NProgress Configuration
|
||||||
|
|
||||||
function checkTestManagerOrTestUser(el, binding) {
|
|
||||||
let v = checkoutTestManagerOrTestUser();
|
|
||||||
|
|
||||||
if (!v) {
|
|
||||||
el.parentNode && el.parentNode.removeChild(el);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function checkLicense(el, binding, type) {
|
function checkLicense(el, binding, type) {
|
||||||
let v = hasLicense();
|
let v = hasLicense();
|
||||||
|
|
||||||
|
@ -73,12 +64,6 @@ export const xpack = {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
export const tester = {
|
|
||||||
inserted(el, binding) {
|
|
||||||
checkTestManagerOrTestUser(el, binding);
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
export const modules = {
|
export const modules = {
|
||||||
inserted(el, binding) {
|
inserted(el, binding) {
|
||||||
checkModule(el, binding);
|
checkModule(el, binding);
|
||||||
|
|
Loading…
Reference in New Issue