2 lines
30 KiB
JavaScript
2 lines
30 KiB
JavaScript
webpackJsonp([26],{J373:function(e,t){},NHnr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("7+uW"),a={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[this.isRouterAlive?t("router-view"):this._e()],1)},staticRenderFns:[]};var u=n("VU/8")({name:"App",provide:function(){return{reload:this.reload}},data:function(){return{isRouterAlive:!0}},methods:{reload:function(){this.isRouterAlive=!1,this.$nextTick(function(){this.isRouterAlive=!0})}}},a,!1,function(e){n("eS+p")},null,null).exports,o=n("/ocq");r.default.use(o.a);var s=new o.a({mode:"history",routes:[{path:"/",name:"login",component:function(){return n.e(7).then(n.bind(null,"ook+"))}},{path:"/home",name:"home",component:function(){return Promise.all([n.e(0),n.e(4)]).then(n.bind(null,"j7e0"))},meta:{title:"首页"},children:[{path:"/welcome",name:"welcome",component:function(){return n.e(10).then(n.bind(null,"NjT6"))}},{path:"/item",name:"item",component:function(){return n.e(16).then(n.bind(null,"bYW/"))},meta:{superTitle:"项目管理",title:"测试项目"}},{path:"/function",name:"function",component:function(){return Promise.all([n.e(0),n.e(2)]).then(n.bind(null,"gy1J"))},meta:{superTitle:"测试管理",title:"功能测试"}},{path:"/interface",name:"interface",component:function(){return Promise.all([n.e(0),n.e(1)]).then(n.bind(null,"E1AH"))},meta:{superTitle:"测试管理",title:"接口测试"}},{path:"/performance",name:"performance",component:function(){return Promise.all([n.e(0),n.e(9)]).then(n.bind(null,"+76J"))},meta:{superTitle:"测试管理",title:"性能测试"}},{path:"/user",name:"user",component:function(){return n.e(15).then(n.bind(null,"FTz3"))},meta:{superTitle:"系统管理",title:"用户管理"}},{path:"/param",name:"param",component:function(){return n.e(5).then(n.bind(null,"p+yv"))},meta:{superTitle:"系统管理",title:"参数设置"}},{path:"/dict",name:"dict",component:function(){return n.e(23).then(n.bind(null,"V74S"))},meta:{superTitle:"系统管理",title:"数据字典"}},{path:"/role",name:"role",component:function(){return n.e(14).then(n.bind(null,"Deyj"))},meta:{superTitle:"系统管理",title:"角色管理"}},{path:"/menu",name:"menu",component:function(){return n.e(13).then(n.bind(null,"iEjd"))},meta:{superTitle:"系统管理",title:"菜单管理"}},{path:"/log",name:"log",component:function(){return n.e(6).then(n.bind(null,"zX1F"))},meta:{superTitle:"系统管理",title:"日志管理"}},{path:"/document",name:"document",component:function(){return n.e(12).then(n.bind(null,"1/AB"))},meta:{superTitle:"资产管理",title:"文档管理"}},{path:"/device",name:"device",component:function(){return Promise.all([n.e(0),n.e(21)]).then(n.bind(null,"WYal"))},meta:{superTitle:"资产管理",title:"设备管理"}},{path:"/server",name:"server",component:function(){return n.e(22).then(n.bind(null,"uizM"))},meta:{superTitle:"资产管理",title:"服务器管理"}},{path:"/version",name:"version",component:function(){return n.e(11).then(n.bind(null,"q+hK"))},meta:{superTitle:"项目管理",title:"版本管理"}},{path:"/modules",name:"modules",component:function(){return n.e(19).then(n.bind(null,"eWk3"))},meta:{title:"模块管理"}},{path:"/task",name:"task",component:function(){return n.e(17).then(n.bind(null,"aoBN"))},meta:{superTitle:"任务管理",title:"测试任务"}},{path:"/interfaceData",name:"interfaceData",component:function(){return Promise.all([n.e(0),n.e(3)]).then(n.bind(null,"P+qo"))},meta:{superTitle:"数据管理",title:"接口数据"}},{path:"/functionData",name:"functionData",component:function(){return n.e(20).then(n.bind(null,"IMph"))},meta:{superTitle:"数据管理",title:"功能数据"}},{path:"/performanceData",name:"performanceData",component:function(){return n.e(24).then(n.bind(null,"ThE0"))},meta:{superTitle:"数据管理",title:"性能数据"}},{path:"/apolloGovernment",name:"apolloGovernment",component:function(){return n.e(8).then(n.bind(null,"Pc8e"))},meta:{superTitle:"环境治理",title:"配置Apollo"}},{path:"/sqlGovernment",name:"sqlGovernment",component:function(){return Promise.all([n.e(0),n.e(18)]).then(n.bind(null,"lPJ6"))},meta:{superTitle:"环境治理",title:"配置SQL"}}]}]}),i=o.a.prototype.push,l=o.a.prototype.replace;o.a.prototype.push=function(e){return i.call(this,e).catch(function(e){return e})},o.a.prototype.replace=function(e){return l.call(this,e).catch(function(e){return e})};var c=n("//Fk"),d=n.n(c),f=n("mtWM"),p=n.n(f),g=n("zL8q"),m=n.n(g),y=null,I=p.a.create({headers:{"Content-Type":"application/json"},baseURL:"http://192.168.16.17:19527/api",timeout:6e4}),T=null;var M=0;function q(){0===M&&(T=g.Loading.service({fullscreen:!0,text:"拼命加载中...",background:"rgba(0, 0, 0, 0.4)"})),M++}function v(){M<=0||0===--M&&T.close()}I.interceptors.request.use(function(e){return localStorage.getItem("token")&&(e.headers.common.token=localStorage.getItem("token")),q(),e},function(e){return v(),g.Message.error({message:"请求超时!"}),d.a.reject(e)}),I.interceptors.response.use(function(e){if(v(),e.data)return 200==e.data.code&&200==e.status||0==e.data.errcode&&200==e.status?d.a.resolve(e):(y&&y.close(),y=(e.data.msg,Object(g.Message)({type:"error",message:e.data.msg,center:!0})),d.a.reject(e))},function(e){var t=e.response;return 401==t.status?(y&&y.close(),y=Object(g.Message)({type:"error",message:t.data.message,center:!0}),s.replace({path:"/",query:{redirect:s.currentRoute.fullPath}})):(y&&y.close(),y=Object(g.Message)({type:"error",message:t.data.message,center:!0})),v(),d.a.reject(t)});var A=I,h={item:{queryAllItem:function(e){return A.post("/itemManager/queryAllTestItem",e)},addItem:function(e){return A.post("/itemManager/addTestItem",e)},deleteItem:function(e){return A.get("/itemManager/delTestItemById/"+e)},updateItem:function(e){return A.post("/itemManager/updateTestItem",e)},queryItemById:function(e){return A.get("/itemManager/queryTestItemById/"+e)},queryAllItemIdAndItemName:function(){return A.get("/itemManager/queryAllTestItemForIdAndItemName")},placeOnFileItemById:function(e){return A.get("/itemManager/placeOnFileItemById/"+e)},placeOffFileItemById:function(e){return A.get("/itemManager/placeOffFileItemById/"+e)},queryJiraItemByItemName:function(e){return A.post("/itemManager/queryJiraItemByItemName",e)}},user:{signIn:function(e){return A.post("/login",e)},signUp:function(e){return A.post("/user/register",e)},logout:function(e){return A.delete("/logout",e)},queryAllUser:function(e){return A.post("/userManager/queryAllUser",e)},addUser:function(e){return A.post("/userManager/addUser",e)},delUserById:function(e){return A.get("/userManager/delUserById/"+e)},editUser:function(e){return A.post("/userManager/editUser",e)},queryUserById:function(e){return A.get("/userManager/queryUserById/"+e)},checkPassword:function(e){return A.post("/userManager/checkPassword",e)},editPassword:function(e){return A.post("/userManager/editPassword",e)},editPassword2:function(e){return A.post("/userManager/editPassword2",e)},forgetPassword:function(e){return A.post("/userManager/checkUserIsExistByUsername",e)},queryAllUserInfo:function(){return A.get("/userManager/queryAllUserInfo")}},test:{queryAllFunctionTestCase:function(e){return A.post("/testManager/queryAllFunctionTestCase",e)},addFunctionTestCase:function(e){return A.post("/testManager/addFunctionTestCase",e)},delFunctionTestCaseById:function(e){return A.get("/testManager/deleteFunctionTestCaseById/"+e)},editFunctionTestCase:function(e){return A.post("/testManager/updateFunctionTestCase",e)},updateFunctionTestCaseStatus:function(e){return A.post("/testManager/updateFunctionTestCaseStatus",e)},queryFunctionTestCaseById:function(e){return A.get("/testManager/queryFunctionTestCaseById/"+e)},generFunctionTestCase:function(e){return A.post("/testManager/generTestCase",e)},importFunctionTestCaseByExcel:function(e){return A.post("/testManager/importFunctionTestCaseByExcel",e)},exportAllFunctionTestCaseToExcel:function(e){return A.post("/testManager/exportAllFunctionTestCaseToExcel",e)},batchExportFunctionTestCaseToExcel:function(e){return A.post("/testManager/batchExportFunctionTestCaseToExcel",e)},importFunctionTestCaseByXmind:function(e){return A.post("/testManager/importFunctionTestCaseByXmind",e)},batchDeleteFunctionTestCase:function(e){return A.post("/testManager/batchDeleteFunctionTestCase",e)},queryAllTestItemCaseNum:function(){return A.get("/testManager/queryAllTestItemCaseNum")},queryAllInterfaceTestItem:function(){return A.get("/testManager/interfaceTest/queryAllInterfaceTestItem")},interfaceTestRequest:function(e){return A.post("/testManager/interfaceTest/singleInterfaceRequest",e)},batchInterfaceRequest:function(e){return A.post("/testManager/interfaceTest/batchInterfaceRequest",e)},queryAllInterfaceTestCase:function(e){return A.post("/testManager/interfaceTest/queryAllInterfaceCase",e)},queryInterfaceTestCaseById:function(e){return A.get("/testManager/interfaceTest/queryInterfaceTestCaseById/"+e)},addInterfaceTestCase:function(e){return A.post("/testManager/interfaceTest/addInterfaceTestCase",e)},deleteInterfaceTestCaseById:function(e){return A.get("/testManager/interfaceTest/deleteInterfaceTestCaseById/"+e)},batchDeleteInterfaceTestCase:function(e){return A.post("/testManager/interfaceTest/batchDeleteInterfaceTestCase",e)},exportAllInterfaceTestCaseToExcel:function(e){return A.post("/testManager/interfaceTest/exportAllInterfaceTestCaseToExcel",e)},batchExportInterfaceTestCaseToExcel:function(e){return A.post("/testManager/interfaceTest/batchExportInterfaceTestCaseToExcel",e)},importInterfaceTestCaseByExcel:function(e){return A.post("/testManager/interfaceTest/importInterfaceTestCaseByExcel",e)},requestAllInterface:function(e){return A.get("/testManager/interfaceTest/requestAllInterface/"+e)},requestBatchInterface:function(e){return A.post("/testManager/interfaceTest/requestBatchInterface",e)},updateInterfaceTestCase:function(e){return A.post("/testManager/interfaceTest/updateInterfaceTestCase",e)},updateInterfaceTestCaseStatus:function(e){return A.post("/testManager/interfaceTest/updateInterfaceTestCaseStatus",e)},updateInterfaceTestCaseDefaultExecLevel:function(e){return A.post("/testManager/interfaceTest/updateInterfaceTestCaseDefaultExecLevel",e)},cycleInterfaceRequest:function(e){return A.post("/testManager/interfaceTest/cycleInterfaceRequest",e)},getInterfaceRequestResult:function(){return A.get("/testManager/interfaceTest/getInterfaceRequestResult")},getYapiProjectList:function(e){return A.get("/yApi/project/list/"+e)},getYapiInterfaceListMenu:function(e){return A.get("/yApi/interface/list_menu/"+e)},getYapiInterfaceList:function(e){return A.get("/yApi/interface/list/"+e)},addPerformanceTestCase:function(e){return A.post("/addPerformanceTestCase",e)},deletePerformanceTestCaseById:function(e){return A.get("/deletePerformanceTestCaseById/"+e)},queryAllPerformanceCase:function(e){return A.post("/queryAllPerformanceCase",e)},queryPerformanceTestCaseById:function(e){return A.get("/queryPerformanceTestCaseById/"+e)},runPerformanceTestCase:function(e){return A.get("/runPerformanceTestCase/"+e)},updatePerformanceTestCase:function(e){return A.post("/updatePerformanceTestCase",e)},uploadPerformancescript:function(e){return A.post("/uploadFile",e)}},system:{querySysParamById:function(e){return A.get("/SystemParamManager/querySystemParamById/"+e)},updatePerformanceParam:function(e){return A.post("/SystemParamManager/updatePerformanceParam",e)},updateInterfaceParam:function(e){return A.post("/SystemParamManager/updateInterfaceParam",e)},updateSystemParam:function(e){return A.post("/SystemParamManager/updateSystemParam",e)}},role:{editRole:function(e){return A.post("/roleManager/editRole",e)},addRole:function(e){return A.post("/roleManager/addRole",e)},queryAllRoleInfo:function(e){return A.post("/roleManager/queryAllRoleInfo",e)},queryRoleById:function(e){return A.get("/roleManager/queryRoleById/"+e)},deleteRoleById:function(e){return A.get("/roleManager/deleteRoleById/"+e)},queryRoleByRoleId:function(e){return A.get("/roleManager/queryRoleByRoleId/"+e)},queryAllRole:function(e){return A.get("/roleManager/queryAllRole")}},comm:{uploadFile:function(e){return A.post("/uploadFile",e)},uploadFiles:function(e){return A.post("/uploadFiles",e)},downloadFile:function(e){return A.get("/downloadFile/"+e)},uploadImg:function(e){return A.post("/uploadImg",e)},deleteFile:function(e){return A.get("/deleteFile/"+e)},deletejmxFile:function(e){return A.get("/deletejmxFile/"+e)}},plan:{queryAllPlan:function(e){return A.post("/testPlanManager/queryAllPlan",e)},addTestPlan:function(e){return A.post("/testPlanManager/addTestPlan",e)},delFunctionTestPlan:function(e){return A.get("/testPlanManager/delFunctionTestPlan/"+e)},updateTestPlan:function(e){return A.post("/testPlanManager/updateTestPlan",e)},queryTestPlanById:function(e){return A.get("/testPlanManager/queryTestPlanById/"+e)},batchDeleteFunctionPlan:function(e){return A.post("/testPlanManager/batchDeleteTestPlan",e)},queryAllPlanName:function(){return A.get("/testPlanManager/queryAllPlanName")},queryEnv:function(){return A.get("/testPlanManager/queryEnv")},updateTestPlanStatus:function(e){return A.get("/testPlanManager/updateTestPlanStatus?id="+e.planId+"&status="+e.status)},copyTestPlan:function(e){return A.post("/testPlanManager/copyTestPlan",e)},getPlanName:function(e){return A.get("/testPlanManager/getPlanName?id="+e)}},planrelation:{queryAllTestCaseByTestPlanId:function(e){return A.post("/testPlanRelation/queryAllTestCaseByTestPlanId",e)},caseJoinTestPlan:function(e){return A.post("/testPlanRelation/caseJoinTestPlan",e)},updateCaseTestResultByPlanIdAndCaseId:function(e){return A.post("/testPlanRelation/updateCaseTestResultByPlanIdAndCaseId",e)},delCaseJoinedTestPlan:function(e){return A.post("/testPlanRelation/delCaseJoinedTestPlan",e)},queryAllTestPlanExecCondition:function(){return A.get("/testPlanRelation/queryAllTestPlanExecCondition")},queryTestCaseExecConditionByPlanId:function(e){return A.get("/testPlanRelation/queryTestCaseExecConditionByPlanId/"+e)},queryTestResultByPlanIdAndCaseId:function(e){return A.get("/testPlanRelation/queryTestResultByPlanIdAndCaseId?planId="+e.planId+"&caseId="+e.caseId)},queryAllExcutor:function(){return A.get("/testPlanRelation/queryAllExcutor")},queryTestPlanNamebyCaseId:function(e){return A.get("/testPlanRelation/queryTestPlanNamebyCaseId/"+e)}},asset:{queryAllDocument:function(e){return A.post("/documentManager/queryAllDocument",e)},addDocument:function(e){return A.post("/documentManager/addDocument",e)},delDocumentById:function(e){return A.get("/documentManager/delDocumentById/"+e)},editDocument:function(e){return A.post("/documentManager/editDocument",e)},queryDocumentById:function(e){return A.get("/documentManager/queryDocumentById/"+e)}},device:{queryAllDevice:function(e){return A.post("/deviceManager/queryAllTestDevice",e)},queryDeviceById:function(e){return A.get("/deviceManager/queryTestDeviceById/"+e)},addDevice:function(e){return A.post("/deviceManager/addTestDevice",e)},updateDevice:function(e){return A.post("/deviceManager/updateTestDevice",e)},deleteDevice:function(e){return A.get("/deviceManager/delTestDeviceById/"+e)},returnDevice:function(e){return A.post("/deviceManager/returnTestDevice",e)},borrowDevice:function(e){return A.post("/deviceManager/borrowTestDevice",e)},getPlatformOptions:function(){return A.get("/deviceManager/getPlatformOptions")},getBrandOptions:function(){return A.get("/deviceManager/getBrandOptions")},getClassificationOptions:function(){return A.get("/deviceManager/getClassificationOptions")},getBelongOptions:function(){return A.get("/deviceManager/getBelongOptions")},batchExportDeviceListToExcel:function(e){return A.post("/deviceManager/batchExportDeviceListToExcel",e)},exportAllDeviceListToExcel:function(e){return A.post("/deviceManager/exportAllDeviceListToExcel",e)}},dict:{addFatherDataDict:function(e){return A.post("/DataDict/addFatherDataDict",e)},updateFatherDataDict:function(e){return A.post("/DataDict/updateFatherDataDict",e)},deleteFatherDataDictByDictCode:function(e){return A.get("/DataDict/deleteFatherDataDictByDictCode/"+e)},queryFatherDataDictById:function(e){return A.get("/DataDict/queryFatherDataDictById/"+e)},queryAllFatherDataDict:function(e){return A.post("/DataDict/queryAllFatherDataDict",e)},addSubDataDict:function(e){return A.post("/DataDict/addSubDataDict",e)},updateSubDataDict:function(e){return A.post("/DataDict/updateSubDataDict",e)},queryAllSubDataDictByFatherId:function(e){return A.get("/DataDict/queryAllSubDataDictByFatherId/"+e)},queryAllSubDataDictByFatherDictValue:function(e){return A.get("/DataDict/queryAllSubDataDictByFatherDictValue/"+e)},queryAllDataDict:function(){return A.get("/DataDict/queryAllDataDict")}},menu:{queryAllMenuInfo:function(e){return A.get("/menuManager/queryAllMenuInfo")},addMenu:function(e){return A.post("/menuManager/addMenu",e)},editMenu:function(e){return A.post("/menuManager/editMenu",e)},deleteMenuByMenuId:function(e){return A.get("/menuManager/deleteMenuByMenuId/"+e)},queryMenuByMenuId:function(e){return A.get("/menuManager/queryMenuByMenuId/"+e)},queryAllMenuIdAndMenuName:function(e){return A.get("/menuManager/queryAllMenuIdAndMenuName")}},log:{queryAllLogInfo:function(e){return A.post("/logManager/queryAllLogInfo",e)}},review:{queryAllTestReviewInfo:function(e){return A.post("/testReviewInfo/queryAllTestReviewInfo/",e)},queryTestReviewInfoById:function(e){return A.get("/testReviewInfo/queryTestReviewInfoById/"+e)},addTestReviewInfo:function(e){return A.post("/testReviewInfo/addTestReviewInfo",e)},updateTestReviewInfo:function(e){return A.post("/testReviewInfo/updateTestReviewInfo",e)},deleteTestReviewInfoById:function(e){return A.get("/testReviewInfo/deleteTestReviewInfoById/"+e)}},server:{queryAllServer:function(e){return A.post("/serverManager/queryAllServer",e)},addServer:function(e){return A.post("/serverManager/addServer",e)},delserver:function(e){return A.get("/serverManager/deleteServer/"+e)},updateServer:function(e){return A.post("/serverManager/updateServer",e)},queryServerById:function(e){return A.get("/serverManager/queryServerById/"+e)},queryAllServerIp:function(){return A.get("/serverManager/queryAllServerIp")}},version:{queryAllVersion:function(e){return A.post("/versionManager/queryAllTestVersion",e)},addVersion:function(e){return A.post("/versionManager/addTestVersion",e)},deleteVersion:function(e){return A.get("/versionManager/delTestVersionById/"+e)},updateVersion:function(e){return A.post("/versionManager/updateTestVersion",e)},queryVersionById:function(e){return A.get("/versionManager/queryTestVersionById/"+e)},queryAllVersionIdAndVersionName:function(){return A.get("/versionManager/queryAllTestVersionForIdAndVersionName")},queryVersionObjByItemId:function(e){return A.get("/versionManager/queryVersionObjByItemId/"+e)}},task:{queryAllTaskManagerInfo:function(e){return A.post("/taskManager/queryAllTaskManagerInfo",e)},queryTaskManagerById:function(e){return A.get("/taskManager/queryTaskManagerById/"+e)},addTaskManager:function(e){return A.post("/taskManager/addTaskManager",e)},deleteTaskManagerById:function(e){return A.get("/taskManager/deleteTaskManagerById/"+e)},updateTaskManager:function(e){return A.post("/taskManager/updateTaskManager",e)},batchDeleteTaskManager:function(e){return A.post("/taskManager/batchDeleteTaskManager",e)},updateTaskManagerStatus:function(e){return A.post("/taskManager/updateTaskManagerStatus",e)},updateTaskRunEnvironment:function(e){return A.post("/taskManager/updateTaskRunEnvironment",e)}},taskrelation:{interfaceCaseBatchJoinTestTask:function(e){return A.post("/testTaskRelation/interfaceCaseBatchJoinTestTask",e)},queryInterfaceTestTaskCase:function(e){return A.post("/testTaskRelation/queryInterfaceTestTaskCase",e)},updateInterfaceTestTaskCaseExecLevelAndDomainAndPort:function(e){return A.post("/testTaskRelation/updateInterfaceTestTaskCaseExecLevelAndDomainAndPort",e)},delJoinedTestTaskCaseByTaskIdAndCaseId:function(e){return A.post("/testTaskRelation/delJoinedTestTaskCaseByTaskIdAndCaseId",e)},delAllJoinedTestTaskCaseByTaskId:function(e){return A.get("/testTaskRelation/delAllJoinedTestTaskCaseByTaskId/"+e)}},userrelation:{queryAllDevPersonCaseNum:function(){return A.get("/userRelation/queryAllDevPersonCaseNum")}},testresult:{addInterfaceTestResult:function(e){return A.post("/testManager/interfaceTestResult/addInterfaceTestResult",e)},deleteInterfaceTestResultById:function(e){return A.get("/testManager/interfaceTestResult/deleteInterfaceTestResultById/"+e)},exportInterfaceTestResultToExcel:function(e){return A.post("/testManager/interfaceTestResult/exportInterfaceTestResultToExcel",e)},queryAllInterfaceTestResult:function(e){return A.post("/testManager/interfaceTestResult/queryAllInterfaceTestResult",e)},queryInterfaceTestResult:function(e){return A.post("/testManager/interfaceTestResult/queryInterfaceTestResult",e)},queryInterfaceTestCaseExecCountAndSuccessNumAndFailNum:function(){return A.get("/testManager/interfaceTestResult//queryInterfaceTestCaseExecCountAndSuccessNumAndFailNum")},queryInterfaceTestCaseNumGroupByItemName:function(){return A.get("/testManager/interfaceTest/queryInterfaceTestCaseNumGroupByItemName")}},testvariable:{queryNotTaskVariableInfo:function(){return A.get("/testVariable/queryNotTaskVariableInfo")},queryTaskVariableInfoByTaskId:function(e){return A.get("/testVariable/queryTaskVariableInfoByTaskId/"+e)},updateTestVariableInfo:function(e){return A.post("/testVariable/updateTestVariableInfo",e)}},testdata:{queryAllInterfaceTestData:function(e){return A.post("/dataManager/interfaceTestData/queryAllInterfaceTestData",e)},queryInterfaceTestDataById:function(e){return A.get("/dataManager/interfaceTestData/queryInterfaceTestDataById/"+e)},insertInterfaceTestData:function(e){return A.post("/dataManager/interfaceTestData/insertInterfaceTestData",e)},updateInterfaceTestData:function(e){return A.post("/dataManager/interfaceTestData/updateInterfaceTestData",e)},delInterfaceTestDataById:function(e){return A.get("/dataManager/interfaceTestData/delInterfaceTestDataById/"+e)},queryAllInterfaceTestDataByTaskIdAndEnvCode:function(e){return A.post("/dataManager/interfaceTestData/queryAllInterfaceTestDataByTaskIdAndEnvCode",e)},importTestCaseDataByExcel:function(e){return A.post("/dataManager/interfaceTestData/importTestCaseDataByExcel",e)}},jira:{getProjectByProjectName:function(e){return A.get("/jiraManager/getProjectByProjectName/"+e)},createBug:function(e){return A.post("/jiraManager/createBug",e)},getProject:function(){return A.get("/jiraManager/getProject")}},modules:{queryAllmodule:function(e){return A.post("/moduleManager/queryAllTestmodule",e)},addmodule:function(e){return A.post("/moduleManager/addTestmodule",e)},deletemodule:function(e){return A.get("/moduleManager/delTestmoduleById/"+e)},updatemodule:function(e){return A.post("/moduleManager/updateTestmodule",e)},querymoduleById:function(e){return A.get("/moduleManager/queryTestmoduleById/"+e)},queryAllmoduleIdAndmoduleName:function(){return A.get("/moduleManager/queryAllTestmoduleForIdAndmoduleName")},querymoduleObjByItemId:function(e){return A.get("/moduleManager/querymoduleObjByItemId/"+e)},batchAddModToJira:function(e){return A.post("/jiraModule/batchCreateJiraModule",e)},createJiraModule:function(e){return A.post("/jiraModule/createJiraModule",e)}},apollo:{queryAllApolloItem:function(e){return A.get("/apolloManager/queryAllApolloItem?env="+e)},queryApolloItemKeys:function(e){return A.get("/apolloManager/queryApolloItemKeys?env="+e.env+"&appId="+e.appId)},addApolloItem:function(e){return A.post("/apolloManager/addApolloItem",e)},deleteApolloItem:function(e){return A.post("/apolloManager/deleteApolloItem",e)},releasesApolloItem:function(e){return A.post("/apolloManager/releasesApolloItem",e)},editApolloItem:function(e){return A.post("/apolloManager/editApolloItem",e)},queryAllApolloConfigHistoryInfo:function(e){return A.post("/apolloManager/queryAllApolloConfigHistoryInfo",e)},insertApolloConfigHistoryInfo:function(e){return A.post("/apolloManager/insertApolloConfigHistoryInfo",e)},deleteApolloConfigHistoryInfoById:function(e){return A.get("/apolloManager/deleteApolloConfigHistoryInfoById/"+e)},updateApolloConfigHistoryInfo:function(e){return A.post("/apolloManager/updateApolloConfigHistoryInfo",e)},selectApolloConfigHistoryInfoById:function(e){return A.get("/apolloManager/selectApolloConfigHistoryInfoById/"+e)}},sql:{insertSqlConfigHistoryInfo:function(e){return A.post("/sqlManager/insertSqlConfigHistoryInfo",e)},queryAllSqlData:function(e){return A.post("/sqlManager/queryAllSqlData",e)},queryAllDbName:function(e){return A.get("/sqlManager/queryAllDbName")},selectSqlConfigHistoryInfoById:function(e){return A.get("/sqlManager/selectSqlConfigHistoryInfoById/"+e)},deleteSqlStatementById:function(e){return A.get("/sqlManager/deleteSqlStatementById/"+e)}}},D=(n("tvR6"),n("XLwt")),C=n("Vi3T"),B=n.n(C);r.default.use(g.Button),r.default.use(g.Form),r.default.use(g.FormItem),r.default.use(g.Input),r.default.use(g.Container),r.default.use(g.Aside),r.default.use(g.Main),r.default.use(g.Header),r.default.use(g.Menu),r.default.use(g.MenuItem),r.default.use(g.MenuItemGroup),r.default.use(g.Submenu),r.default.use(g.Breadcrumb),r.default.use(g.BreadcrumbItem),r.default.use(g.Card),r.default.use(g.Row),r.default.use(g.Col),r.default.use(g.Table),r.default.use(g.TableColumn),r.default.use(g.Switch),r.default.use(g.Tooltip),r.default.use(g.Pagination),r.default.use(g.Dialog),r.default.use(g.Select),r.default.use(g.Option),r.default.use(g.DatePicker),r.default.use(g.Tabs),r.default.use(g.TabPane),r.default.use(g.Radio),r.default.use(g.RadioGroup),r.default.use(g.Upload),r.default.use(g.Loading),r.default.use(g.Checkbox),r.default.use(g.CheckboxGroup),r.default.use(g.Tag),r.default.use(g.Image),r.default.use(g.Tree),r.default.use(g.Dropdown),r.default.prototype.$confirm=g.MessageBox.confirm,r.default.prototype.$message=g.Message;n("J373");var P={downloadFiles:function(e){var t=new Blob([],{type:"application/excel; charset=utf-8"}),n=document.createElement("a");window.URL.createObjectURL(t);n.href="http://192.168.16.17:19527/api/downloadFile/"+e,document.body.appendChild(n),n.click(),document.body.removeChild(n)},deleteFiles:function(e){},setCookie:function(e,t,n){var r=new Date;r.setTime(r.getTime()+60*n*1e3),document.cookie=e+"="+escape(t)+(null==n?"":";expires="+r.toGMTString())},getCookie:function(e){if(document.cookie.length>0){var t=document.cookie.indexOf(e+"=");if(-1!=t){t=t+e.length+1;var n=document.cookie.indexOf(";",t);return-1==n&&(n=document.cookie.length),unescape(document.cookie.substring(t,n))}}return""},delCookie:function(e){var t=new Date;t.setTime(t.getTime()-1);var n=this.getCookie(e);null!=n&&(document.cookie=e+"="+n+";expires="+t.toGMTString())},setSessionStorage:function(e,t){sessionStorage.setItem(e,t)},setLocalStorage:function(e,t){localStorage.setItem(e,t)},getSessionStorage:function(e){return sessionStorage.getItem(e)},getLocalStorage:function(e){return localStorage.getItem(e)},delSessionStorage:function(e){sessionStorage.removeItem(e)},delLocalStorage:function(e){localStorage.removeItem(e)},delAllSessionStorage:function(){sessionStorage.clear()},delAllLocalStorage:function(){localStorage.clear()},delAllStorage:function(){localStorage.clear(),sessionStorage.clear()},transTimestamp:function(e){return new Date(e)},getCurrentMonth:function(){var e=new Date,t=e.getFullYear(),n=e.getMonth()+1;return n=n<10?"0"+n:n,t.toString()+"-"+n.toString()},getMonthAllDayList:function(e){var t=[];if(e){for(var n=e.split("-"),r=n[0],a=n[1],u=new Date(r,a,0),o=parseInt(u.getDate()),s=1;s<=o;s++)t.push(r+"-"+a+"-"+s);return t}},getLastMonthsList:function(e){for(var t=[],n=1;n<=e;n++){var r=new Date;r.setMonth(r.getMonth()-n);var a=r.getFullYear(),u=r.getMonth()+1;u=u<10?"0"+u:u,t.push(a.toString()+"-"+u.toString())}return t},getCurrentDateTime:function(){var e=new Date;function t(e){return e<10?"0"+e:e}return e.getFullYear()+"-"+t(e.getMonth()+1)+"-"+t(e.getDate())+" "+t(e.getHours())+":"+t(e.getMinutes())+":"+t(e.getSeconds())},getArrDifference:function(e,t){return e.concat(t).filter(function(e,t,n){return n.indexOf(e)===n.lastIndexOf(e)})},getArrSame:function(e,t){for(var n=[],r=0;r<t.length;r++)for(var a=0;a<e.length;a++)e[a]===t[r]&&n.push(e[a]);return n},getArrObjDifferenceValue:function(e,t){for(var n=[],r=0;r<t.length;r++){for(var a=t[r],u=a.id,o=!1,s=0;s<e.length;s++){if(e[s].id==u){o=!0;break}}o&&n.push(a)}return n},getArrObjSameValue:function(e,t){for(var n=[],r=0;r<t.length;r++){for(var a=t[r],u=a.id,o=!1,s=0;s<e.length;s++){if(e[s].id==u){o=!0;break}}o||n.push(a)}return n}},b=n("mvHQ"),S=n.n(b),R=n("BO1k"),k=n.n(R),F=n("NYxO");r.default.use(F.a);var x=new F.a.Store({state:{tabList:[{name:"welcome",label:"首页",path:"/welcome"}],activeTab:"welcome"},mutations:{closeTab:function(e,t){var n=this,r=e.tabList;r.forEach(function(e,a){e.name==t&&(r.splice(a,1),n.commit("judgeClose",a),t.split("-").length>1&&n.commit("removeSession",t))})},judgeClose:function(e,t){var n=e.tabList,r=e.activeTab,a=!0,u=!0,o=!1,s=void 0;try{for(var i,l=k()(n);!(u=(i=l.next()).done);u=!0){if(i.value.name==r){a=!1;break}}}catch(e){o=!0,s=e}finally{try{!u&&l.return&&l.return()}finally{if(o)throw s}}a&&(e.activeTab=t-1>-1?n[t-1].name:n[t].name)},removeSession:function(e,t){var n=t.split("-"),r=JSON.parse(sessionStorage.getItem(n[0]));for(var a in r)if(r[a].name==t){r.splice(a,1);break}r=sessionStorage.setItem(n[0],S()(r))},addTab:function(e,t){var n=t.name,r=JSON.parse(sessionStorage.getItem(n));if(r){var a=!0,u=!0,o=!1,s=void 0;try{for(var i,l=k()(r);!(u=(i=l.next()).done);u=!0){if(i.value.name==t.name){a=!1;break}}}catch(e){o=!0,s=e}finally{try{!u&&l.return&&l.return()}finally{if(o)throw s}}a&&r.push(t)}else r=[t];sessionStorage.setItem(n,S()(r));var c=e.tabList;c.find(function(e){return e.name==t.name})||c.push(t),e.activeTab=t.name},updateActiveTab:function(e,t){e.activeTab=t}}});r.default.prototype.$echarts=D,r.default.prototype.$notify=g.Notification,r.default.prototype.$api=h,r.default.prototype.$common=P,r.default.prototype.$store=x,r.default.config.productionTip=!1,r.default.use(m.a,{locale:B.a}),new r.default({el:"#app",router:s,components:{App:u},template:"<App/>"})},"eS+p":function(e,t){},tvR6:function(e,t){}},["NHnr"]);
|
|
//# sourceMappingURL=app.6621844c69fe3ef2d42a.js.map
|